The (quite complex) revision history for Net-Pcap
2005.10.05 - 0.08 - Sebastien Aperghis-Tramoni (SAPER)
- [BUGFIX] RT#6320: loop() conflicts with alarm(). Thanks to Rafaƫl Garcia-Suarez
for the patch. Also applied to dispatch() and next().
- [BUGFIX] setnonblock() and getnonblock() now checks that $err is a reference.
- [BUGFIX] Merged Jean-Louis Morel patch: modification of the detection code in
Makefile.PL for Win32; fixes for compiling with Microsoft compiler;
simplification of lookupdev().
- [BUGFIX] Restored compatibility with Perl 5.6, 5.5 and 5.4
- [BUGFIX] Fixed memory leak in lookupdev().
- [BUGFIX] Some XS wrappers (compile(), dispatch(), stats()) now resets the error
string before calling the underlying functions.
- [FEATURE] Now tries to use XSLoader if available, then falls back to DynaLoader.
- [FEATURE] Improved findalldevs(). See documentation.
- [FEATURE] Added wrapper for freecode(), dump_flush(), dump_file().
- [DIST] Improved detection code in Makefile.PL.
- [TESTS] Updated t/05-dump.t, t/12-next.t in order to increase code coverage (94%).
What remains uncovered is cargo-cult defensive, hence untestable, code.
- [TESTS] Updated t/01-api.t, t/05-dump.t, t/08-filter.t, t/10-fileno.t,
t/13-dispatch.t, t/16-setnonblock.t
- [TESTS] Updated all test scripts in order to suppress warnings.
- [TESTS] Moved the the check whether pcap can be used in t/CheckAuth.pm and
added Win32 specific code, supplied by Jean-Louis Morel.
- [TESTS] Added t/rt-6320.t for checking the bugfix of RT#6320.
- [TESTS] Added t/distchk.t
2005.09.23 - 0.07 - Sebastien Aperghis-Tramoni (SAPER)
- [BUGFIX] RT#7455: Memory corruption when using Net::Pcap::Compile()
- [BUGFIX] Merged Win32 fix to pcap_lookupdev() from JLM/0.04.02
- [FEATURE] Added wrappers for lib_version(), open_dead(), set_datalink(),
datalink_name_to_val(), datalink_val_to_name(), datalink_val_to_description()
- [FEATURE] Added support for all DLT_*, MODE_*, PCAP_* and useful BPF_*
numeric macros using ExtUtils::Constant.
- [FEATURE] Added const qualifiers when appropriate.
- [FEATURE] Added ppport.h
- [DIST] Added libpcap detection using have_library() from XML::LibXML::Common
- [TESTS] Fixed scripts t/10-fileno.t,
- [TESTS] Added t/17-lib_version.t, t/18-open_dead.t, 19-breakloop.t
- [TESTS] Updated t/14-datalink.t
- [DOC] Updated documentation.
2005.09.15 - 0.06 - Sebastien Aperghis-Tramoni (SAPER)
- [FEATURE] RT#7594: added pcap_setnonblock() and pcap_getnonblock(). Thanks
to Ernesto Domat for the patch.
- [FEATURE] Changed the warning returned by stats() in order to be uniform
with other similar warnings
- [TESTS] Completely rewrote the tests suite using Test::More and better
(and portable) methods to skip tests when appropriate.
- [TESTS] Added t/podcover.t, t/pod.t, t/portfs.t
- [TESTS] Added t/15-is_swapped.t, t/16-setnonblock.t
- [DIST] Updated Makefile.PL
- [DOC] RT#7671: documentation typo
- [DOC] Updated the documentation.
2003.09.03 - 0.04.02 - Jean-Louis Morel (JLMOREL) [BASED ON 0.04, NOT RELEASED ON CPAN]
- includes fixes for WinPcap
- added wrappers for several new libpcap functions
- added several WinPcap specific functions
2003.06.16 - 0.05 - Marco Carnut (KCARNUT)
- includes fixes for Cygwin and WinPcap (see http://winpcap.polito.it/
and install the SDK)
- added wrapper for findalldevs()
- lookupdev() returns the first item from findalldevs()
- tests now pass under Cygwin by disabling the root user check
2000.05.17 - 0.04 - Tim Potter (TIMPOTTER)
- now compiles and works with Perl 5.6.0
1999.03.24 - 0.03 - Tim Potter (TIMPOTTER)
- complete rewrite using XS
- all pcap library functions fully implemented
- packet header and statistical information passed as Perl hashes
- added Pod documentation
1998.12.06 - 0.02 - Bo Adler (BOADLER) [NOT RELEASED ON CPAN]
- update to make it work with libpcap 0.4
- fixed problem in stats() method call
- changed the arguments of the loop()/dispatch() callback to include
the pcap_hdr struct
1997.08.27 - 0.01 - Peter Lister (PLISTER)
- initial implementation using SWIG