[ee122] hw #2 problem #6

Josh Hunt joshua.hunt at berkeley.edu
Wed Sep 26 23:48:51 PDT 2007


That works =)
thanks!

On 9/26/07, Lisa Fowler <fowler at eecs.berkeley.edu> wrote:
>
> Slide 16 in the Wireshark ppt (check my section page for a link) has
> info on the special tcpdump that you should be using:
>
> /share/b/ee122/tcpdump
>
> This worked for me.  As you can see, running just "tcpdump" isn't the
> same as the special one that we need....
>
> c199 [1] ~ > which tcpdump
> /share/b/ee122/sun4u/bin/tcpdump
>
> c199 [2] ~ > /share/b/ee122/tcpdump
> tcpdump.sun4u: verbose output suppressed, use -v or -vv for full protocol
> decode
> listening on qfe0, link-type EN10MB (Ethernet), capture size 68 bytes
> 23:38:53.014188 IP c199.1022 > ping.EECS.Berkeley.EDU.nfsd: P
> 4264839987:4264840111(124) ack 431900584 win 49640
> 23:38:53.014595 IP ping.EECS.Berkeley.EDU.nfsd > cory.EECS.
> ......
>
> Let me know if you have any problems with this...
>
> -Lisa
>
> On 9/26/07, Josh Hunt <joshua.hunt at berkeley.edu> wrote:
> > I'm trying to use tcpdump on the inst machines for problem #6, but I
> can't
> > seem to get access to the ethernet devices.  I thought it was supposed
> to
> > have the setuid bit set but it is not.  Here's what I get when I try to
> run
> > tcpdump:
> >
> > c199 [32] ~ > tcpdump -i qfe0
> > tcpdump: /dev/qfe: Permission denied
> >
> > c199 [33] ~ > tcpdump
> > tcpdump: no suitable device found
> >
> > c199 [34] ~ > tcpdump -w tracefile host mx2.eecs.berkeley.edu and port
> 25
> > tcpdump: no suitable device found
> >
> > c199 [39] /share/b/ee122/sun4u/pkg/tcpdump-3.9.7/sbin > ls
> > -al
> > total 1400
> > drwxr-xr-x   2 root     root        4096 Sep 10 11:15 ./
> > drwxr-xr-x   4 root     root        4096 Sep 10 11:14 ../
> > -rwxr-xr-x   1 root     root      703960 Sep 10 11:15 tcpdump*
> >
> > Please let me know what I'm doing wrong.  Also, I tried to run wireshark
> and
> > was getting similar errors about access to the device.
> >
> > thx
> > Josh
> >
> > _______________________________________________
> > ee122 mailing list
> > ee122 at mailman.ICSI.Berkeley.EDU
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/ee122/attachments/20070926/274e2af6/attachment.html 


More information about the ee122 mailing list