What's new in ngrep 1.45
Sep 30, 2008
- fixed bug bug where setting the snaplen smaller than the minimum necessary to read full headers would cause garbage to be fed into the pattern matcher
- fixed unreported bug in IPv6/TCP packet length calculation
- relocated the privilege-dropping routine to be invoked right before entering the packet processing loop, to prevent interference with necessary permissions to read or write dumpfiles/etc.
- fixed integer overflow with the snaplen that resulted from an implicit signed/unsigned conversion
- minor change to compensate for some broken compiler optimizers
- fixed double-free race condition during ngrep termination
- reworked packet length calculation in the main processing loop, improving performance and readability
- simplified regex build logic in configure and Makefile
- updated Win32 version to use config.h for preprocessor definitions instead of the Visual Studio project files, making manual tweaking and config of ngrep for Win32 consistent with *NIX and more obvious
- changed third-party Makefiles to properly clean up after themselves
- added support for radiotap (IEEE802_11_RADIO)
- changed ``-s 0'' invocation to mimic the equivalent of tcpdump