ngrep-lib is a packet filtering library based on ngrep. It provides easy interface. Instead of having to worry about pcap, options, syntax, processing of IP packets, etc. you can just initialize and run, letting callback functions handle the rest.
| Tags | Communications Internet Software Development Libraries Networking |
|---|---|
| Licenses | BSD Original |
| Operating Systems | POSIX BSD FreeBSD Linux |
| Implementation | C |
Recent releases


Changes: Incorperates changes from ngrep-1.40.1.


Changes: arp-callback function added. Packets are checked to contain real IPv4/IPv6 or ARP requests where possible (currently only for Ethernet/SLIP and PPP).


Changes: This release fixes a problem with parsing arguments from the command line.
- All comments
Recent commentsprobs compiling on mandrake...
Anyone have probs compiling this on mandrake??
tried it on 8.0 and 8.1 and get same errors..
I am prob missing a devel rpm looks like its related
to a different/newer getopt as well as some
IP V6 code...
looks like fatal errors are..
ngrep-lib.c 217 optreset undeclared
ngrep-lib.c 544 ETHERTYPE_IPV6 undeclared
(checked the system .h files related and of course
neither of those 2 are in there.)
Thought I would check here first before reinventing
the wheel 8^)