Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        $ip->{'src_ip'}, ":", $tcp->{'src_port'}, " -> ",
        $ip->{'dest_ip'}, ":", $tcp->{'dest_port'}, "\n";
    }
    
  2. or download this
    Use of uninitialized value in unpack at /usr/lib/perl5/site_perl/5.8.0
    +/NetPacket/TCP.pm line 138.
    57.24.4.3:260 -> 0.0.100.0:33412
    ...
    3.37.90.0:0 -> 0.0.100.0:5
    5.37.90.0:0 -> 0.0.100.0:5
    3.0.0.0:1 -> 8.6.0.1:2560