Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

converting tcpdump output

by RnC (Sexton)
on May 16, 2005 at 01:28 UTC ( [id://457321]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        tr/\x1F-\x7E\r\n//cd;
        $packet .= $_;
    }
    
  2. or download this
    root@iceblue:~# perl sn
    tcpdump: verbose output suppressed, use -v or -vv for full protocol de
    +code
    ...
    192.168.0.249 -> 209.197.123.153        GET /ima P.......GET./ima
    192.168.0.249 -> 209.197.79.97          GET /i/p P.......GET./i/p
    192.168.0.249 -> 66.39.54.27            GET /ima P...;...GET./ima
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://457321]
Approved by kvale
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-29 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found