Checking if your kit is complete... Looks good Writing Makefile for Sniffer::HTTP cp lib/Sniffer/HTTP.pm blib/lib/Sniffer/HTTP.pm cp lib/Sniffer/Connection/HTTP.pm blib/lib/Sniffer/Connection/HTTP.pm cp lib/Sniffer/Connection.pm blib/lib/Sniffer/Connection.pm cp lib/Net/Pcap/FindDevice.pm blib/lib/Net/Pcap/FindDevice.pm Manifying blib/man3/Sniffer::HTTP.3 Manifying blib/man3/Sniffer::Connection::HTTP.3 Manifying blib/man3/Sniffer::Connection.3 Manifying blib/man3/Net::Pcap::FindDevice.3 PERL_DL_NONLAZY=1 /Users/cpanrun/build/5.8.8/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/01-find_device........1..12 # Pcap lib_version is libpcap version 0.8.3 # You're not running the tests as root - they might fail ok 1 - use Net::Pcap::FindDevice; ok 2 - No error looking for devices ok 3 - Found a device ok 4 - find_device returns the same device if one is given ok 5 - Found a device ok 6 - Found the same device as before ok 7 - Found a device ok 8 - Found the same device as before ok 9 - Can look up IP address of 'en0' # en0 has IP address 192.168.69.0 # Interface is 'lo0' ok 10 - Found a device for localhost ok 11 - find_device is idempotent for localhost device ok 12 - Found the same device as before ok t/01-use................1..1 ok 1 - use Sniffer::HTTP; ok t/02-chunked............1..5 ok 1 - use Sniffer::HTTP; # Creating connection 2537:80, sequence start at 779081851 # Got header # Request header and content are ready (0 bytes) # Got chunksize 0, reporting response # Removing 2537:80 ok 2 - Got the expected requests ok 3 - Got the expected responses ok 4 - No stale connections ok 5 - All connections were closed ok t/03-libpcap_dump.......1..8 ok 1 - use Sniffer::HTTP; # Creating connection 2929:80, sequence start at 4158002222 # Got header # Request header and content are ready (0 bytes) # Got chunksize 0, reporting response # Got header # Request header and content are ready (0 bytes) # Got chunksize 0, reporting response ok 2 - Got the expected requests ok 3 - Got the expected responses ok 4 - No stale connections back in time ok 5 - One connection is open ok 6 - One stale connection now ok 7 - No live connections now ok 8 - 11 stale connections/packets detected. ok t/04-other_port.........1..8 ok 1 - use Sniffer::HTTP; # Creating connection 4345:8888, sequence start at 2872133876 # Got header # Request header and content are ready (0 bytes) # Got chunksize 0, reporting response # Got header # Request header and content are ready (0 bytes) # Got chunksize 0, reporting response ok 2 - Got the expected requests ok 3 - Got the expected responses ok 4 - No stale connections at a certain point back in time ok 5 - One connection was open back in time ok 6 - One stale connection now ok 7 - No live connections now ok 8 - 13 stale connections/packets detected. ok t/05-capture_to_file....1..5 # Using libpcap version 0.8.3 # We are not root. find_device() might be unreliable and tests might fail. # *** Doing live capture of an LWP request to http://www.cpan.org/ # *** If that is blocked or you live behind a proxy, this test will fail. # *** The dump-to-file feature is untested then. ok 1 - use Sniffer::HTTP; # Using device 'en0' ok 2 - No error looking for device # Launching request to 'http://www.cpan.org/' # Couldn't sniff: Unable to create packet capture on device 'en0' - (no devices found) /dev/bpf0: Permission denied at /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Sniffer-HTTP/blib/lib/Sniffer/HTTP.pm line 350. # Are you sure you have the proper permissions? # Maybe you need to be root to get the proper permissions. Your user id is 504 ok 3 # skip Couldn't sniff: Unable to create packet capture on device 'en0' - (no devices found) /dev/bpf0: Permission denied at /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Sniffer-HTTP/blib/lib/Sniffer/HTTP.pm line 350. # ok 4 # skip Couldn't sniff: Unable to create packet capture on device 'en0' - (no devices found) /dev/bpf0: Permission denied at /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Sniffer-HTTP/blib/lib/Sniffer/HTTP.pm line 350. # ok 5 # skip Couldn't sniff: Unable to create packet capture on device 'en0' - (no devices found) /dev/bpf0: Permission denied at /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Sniffer-HTTP/blib/lib/Sniffer/HTTP.pm line 350. # # Child done. ok 3/5 skipped: various reasons t/99-manifest...........1..8 ok 1 - MANIFEST exists ok 2 - No empty lines in MANIFEST ok 3 - No whitespace-only lines in MANIFEST ok 4 - No trailing whitespace on lines in MANIFEST ok 5 - MANIFEST.skip exists ok 6 - No empty lines in MANIFEST.skip ok 7 - No whitespace-only lines in MANIFEST.skip ok 8 - No trailing whitespace on lines in MANIFEST.skip ok t/99-pod................1..4 ok 1 - POD test for blib/lib/Net/Pcap/FindDevice.pm ok 2 - POD test for blib/lib/Sniffer/Connection.pm ok 3 - POD test for blib/lib/Sniffer/HTTP.pm ok 4 - POD test for blib/lib/Sniffer/Connection/HTTP.pm ok t/99-todo...............1..4 ok 1 - Looking for XXXes in blib/lib/Net/Pcap/FindDevice.pm ok 2 - Looking for XXXes in blib/lib/Sniffer/Connection.pm ok 3 - Looking for XXXes in blib/lib/Sniffer/HTTP.pm ok 4 - Looking for XXXes in blib/lib/Sniffer/Connection/HTTP.pm ok t/99-unix-text..........1..4 ok 1 - 'blib/lib/Net/Pcap/FindDevice.pm' contains no windows newlines ok 2 - 'blib/lib/Sniffer/Connection.pm' contains no windows newlines ok 3 - 'blib/lib/Sniffer/HTTP.pm' contains no windows newlines ok 4 - 'blib/lib/Sniffer/Connection/HTTP.pm' contains no windows newlines ok t/99-versions...........# Checking for $VERSION = '0.17'; ok 1 - blib/lib/Net/Pcap/FindDevice.pm ok 2 - blib/lib/Sniffer/Connection.pm ok 3 - blib/lib/Sniffer/HTTP.pm ok 4 - blib/lib/Sniffer/Connection/HTTP.pm 1..4 ok All tests successful, 3 subtests skipped. Files=11, Tests=63, 4 wallclock secs ( 1.43 cusr + 0.44 csys = 1.87 CPU) Installing /Users/cpanrun/build/5.8.8/html/site/lib/Net/Pcap/FindDevice.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Sniffer/Connection.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Sniffer/HTTP.html Installing /Users/cpanrun/build/5.8.8/html/site/lib/Sniffer/Connection/HTTP.html Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Net/Pcap/FindDevice.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Sniffer/Connection.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Sniffer/HTTP.pm Installing /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/Sniffer/Connection/HTTP.pm Installing /Users/cpanrun/build/5.8.8/man/man3/Net::Pcap::FindDevice.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Sniffer::Connection.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Sniffer::Connection::HTTP.3 Installing /Users/cpanrun/build/5.8.8/man/man3/Sniffer::HTTP.3 Appending installation info to /Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/perllocal.pod