I have FreeBSD 6.3 installed, a PPPoE connection and the latest nmap from the ports tree. If I run nmap as normal user all is fine, even if I run nmap as the root user but with connect scan (full TCP scan). But if I use nmap as the root user and want to make a SYN scan for instance (to send raw packets), I'm getting the following error:
# nmap -PN -vv -T4 http://www.freebsd.org
Starting Nmap 4.76 ( http://nmap.org ) at 2008-11-24 21:52 EET
WARNING: Unable to find appropriate interface for system route to 10.0.0.1
nexthost: failed to determine route to 69.147.83.33
QUITTING!
This occurs only if I'm trying to send raw packets.
I made some research and I found similar problems on other forums, mailing lists, here are some of them:
http://www.daemonnews.org/mailinglists/FreeBSD/freebsd-stable/msg37054.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-September/131768.html
http://blogs.securiteam.com/index.php/archives/264 (here read the user comment at the bottom of the page)
I really don't know how to fix this issue (though I searched a lot for a solution, but nothing found yet). If somebody else experienced the same problem, and maybe has a good hint or workaround, then please let me know
# nmap -PN -vv -T4 http://www.freebsd.org
Starting Nmap 4.76 ( http://nmap.org ) at 2008-11-24 21:52 EET
WARNING: Unable to find appropriate interface for system route to 10.0.0.1
nexthost: failed to determine route to 69.147.83.33
QUITTING!
This occurs only if I'm trying to send raw packets.
I made some research and I found similar problems on other forums, mailing lists, here are some of them:
http://www.daemonnews.org/mailinglists/FreeBSD/freebsd-stable/msg37054.html
http://lists.freebsd.org/pipermail/freebsd-questions/2006-September/131768.html
http://blogs.securiteam.com/index.php/archives/264 (here read the user comment at the bottom of the page)
I really don't know how to fix this issue (though I searched a lot for a solution, but nothing found yet). If somebody else experienced the same problem, and maybe has a good hint or workaround, then please let me know