Help - Search - Members - Calendar
Full Version: Development - Libpcap, Tcpdump, Nmap
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
realm
I've been attempting to get tcpdump and nmap to work, I got libpcap 3.8.3 compiled using
./configure --with-pcap=linux --enable-ipv6. after downgrading bison to 1.75 from 1.85 to fix a broken pipe error compiling libpcap.

when I run nmap i get:
pcap_open_live: live packet capture not supported on this system.
and tcpdump only captures local traffic i generate.

any idea what i'm doing wrong? The only thing to go on i've found so far is that packet_socket may not be enabled in the kernel. I've had a hard time trying to find the source and config file for the kernel in rc5. if that is the problem and someone points me in the right direction i'd be happy to post it and the network utils for people to grab.

Thanks in advance for any help.
chrisd
IPv6 isn't enabled in the kernel. Maybe that's causing your problem. Try compiling it without ipv6 support. I'd like to see ipv6 enabled in the kernel, but that's an other matter.
conundrum
I was considering trying to compile pcap as well, but until I figure out pine I've decided to hold off. Epic was easy enough, but so much effort...just for pico. wink.gif
rgrep
QUOTE(conundrum @ Dec 23 2004, 02:49 PM)
I was considering trying to compile pcap as well, but until I figure out pine I've decided to hold off. Epic was easy enough, but so much effort...just for pico. wink.gif

If you're after an editor like pico then I suggest you try nano instead. It's a pico clone with enhancements and saves you having to compile the entire pine package! smile.gif
conundrum
Well, with patience and some time I was able to compile pico, and am happy to report that it works just fine. I wiped out the other binaries and moved it to /bin (I compiled on my SD card for ext2 purposes). For anyone else, make sure its on an ext2 mount and use ./build slx smile.gif

I think maybe I will tackle tcpdump and libpcap over christmas break. wink.gif

EDIT: I only use pico for simple text editing, when I don't want to do anything but get in, change something and be done. Otherwise I would use something more robust like vim or nano. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.