dietsniff is a network debugging-tool like tcpdump or ethereal. The difference to those powerful tools however is that dietsniff is linked against the dietlibc by Felix von Leitner and doesn't require the libpcap.
Therefore it's really small while being static. ATM however the smaller size is also induced by the lack of features compared to those tools.
In fact it's a fast hack as I needed to analyze traffic on a Astaro 4-box which hasn't neither tcpdump nor libpcap installed.
So I hacked together this fine little tool which helped me to find the problem so I guess it might help you too. Any feedback/patches/bugreports are strongly welcome!
Here are some key features of "dietsniff":
· Linux, tested with 2.4 and 2.6
· dietlibc, tested with 0.28
· libowfat, tested with 0.22
What's New in This Release: [ read full changelog ]
· Byte-order bugs in PCAP code were fixed and some small features were added.