Commit graph

15 commits

Author SHA1 Message Date
adam
3e2ec42d4a Changes 1.45:
o fixed bug where setting the snaplen smaller than the minimum
          necessary to read the full headres would cause garbage to be
          fed into the pattern matcher
        o fixed unreported bug in IPv6/TCP packet length calculation
        o 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.
        o fixed integer overflow with the snaplen that resulted from
          an implicit signed/unsigned conversion
        o minor change to compensate for some broken compiler
          optimizers
        o fixed double-free race condition during ngrep termination
        o reworked packet length calculation in the main processing
          loop, improving performance and readability
        o simplified regex build logic in configure and Makefile
        o 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
        o changed third-party Makefiles to properly clean up after
          themselves
        o added support for radiotap (IEEE802_11_RADIO)
        o changed ``-s 0'' invocation to mimic the equivalent of tcpdump
2006-11-29 10:28:48 +00:00
rillig
81f29989fa Fixed the path to the manual pages. 2006-10-07 07:24:49 +00:00
rillig
222a9f9808 Fixed "test ==". 2006-10-07 06:54:37 +00:00
joerg
cd947f3a22 Add DragonFly support. 2006-03-14 02:36:12 +00:00
adam
b57efaa660 Changes 1.43:
* healed the win32 code fork: ngrep now builds from the same
  source tree for all platforms including Windows
* re-wrote the privilege revocation logic after problems were
  reported with the SPC version, and removed non-root
  drop_privs capability altogether
* fix off-by-one bug which caused ngrep to exit 1 packet early
  when ``-A'' as invoked
* Fixed problematic configtest for old broken-redhat-glibc UDP header
* ngrep now sets a pcap filter "ip" by default, if one is not specified
* header offset fix to 802.11 processing
* support IGMP and Raw (unknown IP protocol) type packets
* support for latest versions of libpcap (0.8.3) and winpcap (3.1 beta 4)
* updated configure to autoconf 2.59, and config.guess and
  config.sub to latest versions
* updated PCRE from 3.4 to 5.0
* and various minor changes and updates to improve ngrep
2005-02-25 09:23:40 +00:00
hubertf
2f6fd86193 Add a patch to fix privilege handling.
Contributed by Steve Rumble in private mail, and mailed back to the
ngrep author by him.  Bump the pkg to nb2.
2004-07-05 21:42:46 +00:00
adam
4783b0fcc7 Changes 1.42:
* rewrote the entire configure.in/config.h.in to autoconf 2.57
  to be more consistent with normal autoconf'd programs.
  corrects bugs around packaging impediments and typos.

* improved privilege dropping code and added more options to
  configure to govern its behaviour

* added flag to turn off privilege revocation logic

* added multiline match as default and ability to enforce
  previous default single-line match (bugfix + feature)

* added ability to read bpf filter expression from file

* added ability to force the column width to a certain size

* added two new output modes: ``byline'', whose output
  respects embedded carriage returns (useful for http dumps),
  and ``none'', which prints out each dump as a single line no
   matter what.

* added ability to specify alternate nonprintable character
  (default is ``.'').

* made ``-q'' effects more consistent and usable for scenarios
  where ``-I'' and/or ``-O'' are being employed

* documentation updated
2004-04-13 13:50:05 +00:00
adam
1d34ecf4ce Changes 1.41:
* improved support for a few OSes
* 802.11 support
Changes 1.40:
* OpenBSD tun device support
* MacOS X support
* ISDN (SLL) support
* fixed bug from not considering caplen in payload length calculations
2004-01-30 14:36:09 +00:00
cjep
9bf9be94a8 Add RCS tag. 2002-11-26 21:45:40 +00:00
cjep
7d4a1518cd Patch in the NetBSD/arm targets to one of the config.guess files in
ngrep's source tree. This is not strictly the Right Way, but the patch
can be fed back to the maintainer of ngrep.
2002-06-06 22:49:19 +00:00
wiz
fbcc34458b Use libpcap buildlink.mk. pkg/13919 by Stoned Elipot. 2001-09-14 23:05:42 +00:00
hubertf
2b68f5a999 Forgot to remove this in last pkg update - it's now part of the pkg 2001-03-08 12:42:14 +00:00
hubertf
16af3a52a3 Update ngrep to 1.39. Changes:
* Moved to sourceforge
 * UNIX: Now ngrep compiles with the GPL'd GNU regex library, or the more
   license-friendly PCRE library under the Artistic License
 * UNIX: Recognition of window size changes
   Annoyed when you maximize your term program and ngrep doesn't take
   advantage of all the new space? Now ngrep catches the change
   when in a non-hexadecimal display mode and adjusts the output accordingly.
 * Minor bugfix in time printing with -t
   When run with the '-t' option, ngrep would display the previous month as
   the current date.
2001-03-05 14:39:08 +00:00
hubertf
b8848e6155 Upgrade to 1.33. Changes: Now handles fragments. Also fixed a few minor bugs. 1999-07-15 00:44:03 +00:00
agc
402b3ba47a Make this package work on Solaris. 1999-07-02 10:26:02 +00:00