OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Development - Libpcap, Tcpdump, Nmap, when i compile libpcap its broken
realm
post Dec 21 2004, 08:26 AM
Post #1





Group: Members
Posts: 79
Joined: 5-July 04
Member No.: 3,923



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.
Go to the top of the page
 
+Quote Post
chrisd
post Dec 22 2004, 02:27 PM
Post #2





Group: Members
Posts: 18
Joined: 24-November 04
Member No.: 5,606



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.
Go to the top of the page
 
+Quote Post
conundrum
post Dec 22 2004, 06:49 PM
Post #3





Group: Members
Posts: 102
Joined: 11-December 04
From: Connecticut, USA
Member No.: 5,891



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
Go to the top of the page
 
+Quote Post
rgrep
post Dec 22 2004, 07:20 PM
Post #4





Group: Members
Posts: 149
Joined: 19-July 03
From: New Zealand
Member No.: 268



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
Go to the top of the page
 
+Quote Post
conundrum
post Dec 22 2004, 09:18 PM
Post #5





Group: Members
Posts: 102
Joined: 11-December 04
From: Connecticut, USA
Member No.: 5,891



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th December 2014 - 08:32 AM