Home/Support/Support Forum/tcpdump or pcap for embedded linux
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

tcpdump or pcap for embedded linux

0 votes
I have been digging and digging and I can't seem to find what I am looking for. I need a packet capture library/tool that works in the confined memory space of embedded linux on the 9210. Does this exist?
asked Sep 8, 2009 in Linux by joshobrien77 New to the Community (6 points)

Please log in or register to answer this question.

1 Answer

0 votes
according to NS9210 hardware reference manual:
the processor has controlling bits to run ethernet in promiscous mode.

A look into the Linux ethernet driver:
linux/drivers/net/ns9xxx-eth.c search for ETH_SAF_PRO shows that those bits can be set, so its implemented in the driver.

next step would be to port/cross compile tcpdump for ARM and try to run it on the NS9210, presumed the package will not be to big to run from the Connect ME 9210 flash or RAM.

If its too big, maybe you could get a "tiny" version for busybox or similar thing. see e.g.:
answered Feb 7, 2011 by User143 Community Contributor (118 points)