Skip to content

docs: add troubleshooting steps for naabu (libpcap-dev required)#425

Closed
Elmi108 wants to merge 2 commits into
projectdiscovery:mainfrom
Elmi108:docs/naabu-prereqs
Closed

docs: add troubleshooting steps for naabu (libpcap-dev required)#425
Elmi108 wants to merge 2 commits into
projectdiscovery:mainfrom
Elmi108:docs/naabu-prereqs

Conversation

@Elmi108
Copy link
Copy Markdown

@Elmi108 Elmi108 commented Nov 4, 2025

Adds a Troubleshooting section explaining how to fix the naabu build error
"pcap.h: No such file or directory" when pdtm builds from source.

Includes install commands for Debian/Ubuntu/Kali, Fedora, and Arch.
Tested on Kali (Go 1.24.9, pdtm v0.1.3); installing libpcap-dev fixes the build.

Comment thread README.md Outdated
-disable-changelog, -dc disable release changelog in output


### Troubleshooting: `naabu` build fails with `pcap.h: No such file or directory`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move this under Installation section? https://github.com/Elmi108/pdtm/tree/docs/naabu-prereqs?tab=readme-ov-file#installation Also, let's make sure the format is correct. Thanks!

@Mzack9999
Copy link
Copy Markdown
Member

Thanks for putting this together, and sorry for the slow turnaround. The reason I'm going to close this is that the premise no longer holds: libpcap is recommended for SYN scan but it's not required anymore. If it's missing, naabu automatically falls back to connect scan instead of failing, so documenting it as a hard requirement would be misleading to users. Appreciate the effort regardless, and please keep the contributions coming.

@Mzack9999 Mzack9999 closed this Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants