net/ngrep 1.48.3_1 FreeBSD
Network grep
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
ef87fb63d5- License
- BSD4CLAUSE
- Categories
- net, security
- Package size
- 31.8 KiB, 64.8 KiB installed
Description
ngrep is like GNU grep applied to the network layer.
It's a PCAP-based tool that allows you to specify an extended regular or hexadecimal expression to match against data payloads of packets. It understands many kinds of protocols, including IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw, across a wide variety of interface types, and understands BPF filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop.
In the other systems
Install
Binary package:
pkg install ngrep
From the ports tree:
cd /usr/ports/net/ngrep/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ngrep>0:net/ngrep
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.48.3 | 1.48.3_1 | 1.45_4 | 1.45_5 | 1.48.3_1 |
| FreeBSD:14:quarterly | 1.48.3 | 1.48.3_1 | n/a | 1.45_5 | 1.48.3_1 |
| FreeBSD:15:latest | 1.48.3_1 | 1.48.3_1 | n/a | 1.45_5 | 1.45_5 |
| FreeBSD:15:quarterly | 1.48.3 | 1.48.3_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.48.3 | 1.48.3_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 9
Run dependencies 1
No port depends on this one.
Configuration
Options name: net_ngrep
| Option | Default | Description |
|---|---|---|
| CAPSICUM | on | Build with capsicum if kernel supports it |
| DOCS | off | Build and/or install documentation |
| IPV6 | off | IPv6 protocol support |
| PCRE | on | Use PCRE2 instead of GNU regex |
| PORTS_PCAP | off | Use ports PCAP instead of system PCAP |
- USES
- autoreconf gmake
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ngrep/v1.48.3%20source%20code.tar.gz | 297828 | 1900038c313412661693a55d75135ab527529c863a8611e0b8dda838af5b63c9 |
Master sites 1
- SF/ngrep/v1.48.3/