this is really cool. BTW, snoopy is an interesting piece of code in and of itself. A very capable packet sniffer/filter/printer tool in 6585 lines of code, which is pretty amazing. tcpdump clocks in at 93000 lines. snoopy also has a very clean architecture for adding new protocols.
ron On Thu, Sep 22, 2016 at 11:54 AM Barret Rhoden <[email protected]> wrote: > On 2016-09-15 at 20:20 ron minnich <[email protected]> wrote: > > github.com:akaros/snoopy > > > > builds, not tested. > > > > builds, fixed up, tested, and works pretty damn well. you'll need my > latest brho/net branch to use it (including glibc rebuilds). > > one of the things i added was the ability to snoop on loopback. so > for example, you can listen on the loopback and dump the file in pcap > format, which you can then analyze with tcpdump, if you like: > > (akaros) $ snoopy -D /net/ipifc/1 > loop.pcap & > (linux ) $ scp my_machine:loop.pcap . > (linux ) $ tcpdump -r loop.pcap -nve -X > > for more info: > http://plan9.bell-labs.com/magic/man2html/8/snoopy > > i tested it on ether0 (default) and ipifc/1 (loopback). i think it > won't work on ipifc/0, due to the ethermedium code. i tried -d, -D, > -t, -N and -M. i added '0' as an option to -N to show everything. for > more info, checkout the commit log in akaros/snoopy. > > barret > > -- > You received this message because you are subscribed to the Google Groups > "Akaros" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
