|
|
 |
Published by Peter Moore
Click here for more information about this publisher...
|
 |
|
Date Posted: |
January 27th, 2003
|
|
|
Last Updated: |
January 27th, 2003
|
|
|
License: |
Other Open Source License |
|
|
Downloads: |
205 total; 1 recently |
|
|
Page Views: |
4,813 total |
|
|
User Rating: |
awaiting 10 votes |
 |
|
Jump to the Downloads section |
|
 |
 |
About ngrep:
ngrep - Network Grep for BeOS BONE
ngrep is similar to tcpdump and snoop but you can use pattern matching like you would if you were using normal grep in a command line shell.
From the home page "ngrep strives to provide most of GNU grep's common features, applying them to the network layer. ngrep is a pcap-aware tool that will allow you to specify extended regular or hexadecimal expressions to match against data payloads of packets.
It currently recognizes TCP, UDP and ICMP across Ethernet, PPP, SLIP, FDDI, Token Ring and null interfaces, and understands bpf filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop."
Example usage:
- ngrep
No arguments. Shows all traffic going through the default network card.
- ngrep -qd eth1 'HTTP' tcp port 80
Be quiet, look only at tcp packets with either source or dest port 80 on interface eth1, look for anything matching 'HTTP'.
- ngrep -qd le0 port 53
Watch all tcp and udp port 53 (nameserver) traffic on interface le0. Be quiet.
- ngrep 'USER|PASS' tcp port 21
Look only at tcp packets with either source or dest port 21, look for anything resembling an FTP login.
- ngrep -wiA 2 'user|pass' tcp port 21
Alternatively, match either 'user' or 'pass' case insensitively, and dump the next 2 packets following (that match the bpf filter).
There's also a manfile included which explains the usage in more detail.
I didn't write this, just compiled it.
Enjoy!
|
 |
|
 |
Latest Version |
 |
|
 |
| |
 |
|
Details about this version:
first compile on BeOS BONE.
|
| |
 |
|
Intel Version - requires R5 (67 KB) |
205 downloads |
|
 |
|
 |
 |
| |
  |
[rating: 10] |
|
 |
www.loved.com (Australia) |
|
|
| Add Additional Location |
 |
|
 |
|
| Source Available |
 |
 |
 |
 |
 |
Like this app? Have questions or comments?
Why not tell the author? Use the "e-mail publisher" link to get in touch with the publisher; they usually love getting feedback.
|
|
|