summaryrefslogtreecommitdiff
path: root/net/ngrep (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch to using GNU make. If PCRE was disabled, it would not build withAnders Nordby2008-05-281-0/+1
| | | | | | | | | | | | FreeBSD make. Noticed by: Andreas Blaaflaadt Cc: andreas@blaafladt.no Approved by: maintainer Notes: svn path=/head/; revision=213795
* - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptRong-En Fan2007-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run Notes: svn path=/head/; revision=196111
* Update to 1.45Edwin Groothuis2006-12-073-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v1.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 Notes: svn path=/head/; revision=179109
* [patch] net/ngrep segfaults at startup on amd64Edwin Groothuis2006-05-032-0/+11
| | | | | | | | | | | | # ngrep Segmentation fault: 11 (core dumped) [ etc :-) ] PR: ports/95612 Submitted by: Vasil Dimov <vd@FreeBSD.org> Notes: svn path=/head/; revision=161243
* - Fix build using OPTIONS PORTS_PCAP. libpcap.so.2 are not installed by ↵Marcus Alves Grando2006-04-151-1/+7
| | | | | | | | | | | default, use libpcap.a. PR: 94217 Notified by: Chris St Denis <chris___ctgameinfo.com> Approved by: maintainer timeout, 38 days Notes: svn path=/head/; revision=159650
* Add SHA256 checksums to the distinfo files.Edwin Groothuis2005-11-081-0/+1
| | | | Notes: svn path=/head/; revision=147643
* Update port: net/ngrep to 1.44Edwin Groothuis2005-09-112-14/+25
| | | | | | | | | | | | - Update to 1.44 - Use OPTIONS - Add IPv6 support PR: ports/85965 Submitted by: Marcus Alves Grando <marcus@corp.grupos.com.br> Notes: svn path=/head/; revision=142424
* Make net/ngrep work with an installed net/libpcap and WITH_PORTS_PCAP=1.Edwin Groothuis2005-07-251-0/+7
| | | | | | | Submitted by: Jeremie Le Hen <jeremie@le-hen.org>, Florent Thoumie <flz@xbsd.org> Notes: svn path=/head/; revision=140042
* Upgrade to version 1.43Edwin Groothuis2005-02-244-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v1.43 o healed the win32 code fork: ngrep now builds from the same source tree for all platforms including Windows o re-wrote the privilege revocation logic after problems were reported with the SPC version, and removed non-root drop_privs capability altogether o fix off-by-one bug which caused ngrep to exit 1 packet early when ``-A'' as invoked o Fixed problematic configtest for old broken-redhat-glibc UDP header o ngrep now sets a pcap filter "ip" by default, if one is not specified o header offset fix to 802.11 processing o support IGMP and Raw (unknown IP protocol) type packets o support for latest versions of libpcap (0.8.3) and winpcap (3.1 beta 4) o updated configure to autoconf 2.59, and config.guess and config.sub to latest versions o updated PCRE from 3.4 to 5.0 o and various minor changes and updates to improve ngrep Notes: svn path=/head/; revision=129643
* When running ngrep as non-root, the program tried to drop theEdwin Groothuis2004-04-171-1/+4
| | | | | | | priveleges too. This is now disabled via a configure option. Notes: svn path=/head/; revision=107381
* swap net/bpf.h and pcap.h since it gives strange results when having theEdwin Groothuis2004-04-091-0/+12
| | | | | | | net/libpcap installed. Notes: svn path=/head/; revision=106532
* fix portdocs while we're at it. (sorry should have been done earlier)Edwin Groothuis2004-03-291-1/+1
| | | | Notes: svn path=/head/; revision=105576
* Upgrade of net/ngrep to version 1.42Edwin Groothuis2004-03-292-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes for v1.42 o 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. o improved privilege dropping code and added more options to configure to govern its behaviour o added flag to turn off privilege revocation logic o added multiline match as default and ability to enforce previous default single-line match (bugfix + feature) o added ability to read bpf filter expression from file o added ability to force the column width to a certain size o 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. o added ability to specify alternate nonprintable character (default is ``.''). o made ``-q'' effects more consistent and usable for scenarios where ``-I'' and/or ``-O'' are being employed o documentation updated Notes: svn path=/head/; revision=105575
* Add size data.Trevor Johnson2004-03-181-0/+1
| | | | | | | Approved by: maintainers Notes: svn path=/head/; revision=104360
* Fix problems which where there during running of the program:Edwin Groothuis2004-02-284-64/+4
| | | | | | | | | | | | | | - checked on 4.8 - checked on 5.2.1 with standard libpcap - checked on 5.2.1 with net/libpcap Commands checked: - ngrep -d fxp1 - ngrep -d fxp1 port 80 - ngrep -d fxp1 GET port 80 Notes: svn path=/head/; revision=102379
* move the check for the necessarity for the additional patchesEdwin Groothuis2003-11-181-1/+1
| | | | | | | | | | regarding the changes in libpcap to 501110 and higher versions of the FreeBSD operating system Submitted by: Emanuel Haupt <emanuel.haupt@cablecom.ch> Notes: svn path=/head/; revision=94239
* Unbreak build on -stable while keep it buildable on -current.Edwin Groothuis2003-11-113-2/+8
| | | | | | | Noticed by: quite a lot of people. Notes: svn path=/head/; revision=93758
* Fix build on -current, thanks to a patch from walt <wa1ter@myrealbox.com>Edwin Groothuis2003-11-084-12/+46
| | | | | | | Use PORTDOCS fully. Notes: svn path=/head/; revision=93449
* De-pkg-comment.Akinori MUSHA2003-02-212-1/+1
| | | | Notes: svn path=/head/; revision=76041
* Pass maintainership to Edwin Groothuis <edwin@mavetju.org> from ports@Pete Fritchman2002-03-011-1/+1
| | | | | | | Submitted by: Edwin Groothuis <edwin@mavetju.org> on -ports Notes: svn path=/head/; revision=55387
* Update to version 1.40.1.David E. O'Brien2002-02-282-3/+3
| | | | | | | | PR: 33428 Submitted by: Edwin Groothuis <edwin@mavetju.org> Notes: svn path=/head/; revision=55325
* Update to 1.40.David E. O'Brien2001-08-226-32/+29
| | | | | | | | | | | | | | | - update mastersite - install more docs, use DOCSDIR - properly support NOPORTDOCS in pkg-plist - sync pkg-descr with current features - update ngrep.c (the t->tm_mon+1 change has been integrated in 1.40) - remove patch-Makefile.in (no longer necessary) PR: 29588 Submitted by: Pete Fritchman <petef@databits.net> Notes: svn path=/head/; revision=46651
* "Fix a small nit that corrects an oversight in one of our newer features..."David E. O'Brien2000-08-271-3/+24
| | | | | | | Submitted by: Dan Frasnelli <dfrasnel@corewar.com> (ngrep developer) Notes: svn path=/head/; revision=32014
* Remove useless GNU make'ism.David E. O'Brien2000-08-131-0/+5
| | | | Notes: svn path=/head/; revision=31618
* Update to version 1.38.David E. O'Brien2000-08-093-19/+7
| | | | | | | Reported by: Chris D. Faulhaber <jedgar@fxp.org> Notes: svn path=/head/; revision=31440
* Remove directory on deinstallKris Kennaway2000-07-031-0/+1
| | | | | | | Noticed by: bento Notes: svn path=/head/; revision=30099
* Portlint COMMENT's.Akinori MUSHA2000-04-141-1/+1
| | | | | | | | | | Everybody should read the Handbook again! PR: ports/18008 Submitted by: tkato@prontomail.ne.jp Notes: svn path=/head/; revision=27537
* Update with the new PORTNAME/PORTVERSION variablesChris Piazza2000-04-091-2/+2
| | | | Notes: svn path=/head/; revision=27423
* Restore useless version required comments.David E. O'Brien2000-03-221-0/+1
| | | | Notes: svn path=/head/; revision=26941
* Remove the "version required" line.David E. O'Brien2000-03-201-1/+0
| | | | Notes: svn path=/head/; revision=26835
* Style nits in the ports I maintain.David E. O'Brien2000-02-131-2/+2
| | | | Notes: svn path=/head/; revision=25734
* GNU configure is setting up PCAP_RESTART to use yyrestart. yyrestart in theDavid E. O'Brien2000-01-311-0/+19
| | | | | | | | | pcap library requires a FILE * argument, ngrep is called it with none. Submitted by: Barry Lustig <barry@lustig.com> Notes: svn path=/head/; revision=25362
* ngrep strives to provide most of GNU grep's common features, applyingDavid E. O'Brien2000-01-025-0/+40
them to the network layer. ngrep somewhat replaces tcpdump. {DESCR,COMMENT} Obtained from: NetBSD [after I started making this port, I realized NetBSD had a port if it] Notes: svn path=/head/; revision=24349