< Home - < Back

ngrep


Information about the package, ngrep, which is shipped with common Linux distributions. The ngrep package is designed for, Network layer grep tool.


Package Name:

ngrep

Summary:

Network layer grep tool

Description:

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, ICMP, IGMP and Raw protocols across Ethernet, PPP, SLIP, FDDI, Token Ring, 802.11 and null interfaces, and understands bpf filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop.

Architecture:

x86_64

Version:

1.45

Release:

8.git20131221.16ba99a.el6

Size:

47 k

Repository:

installed

From Repository:

epel

Licence:

BSD with advertising



Handy Yum Commands for ngrep


Control the ngrep package with the following handy commands outlined below.


Command

Description of Command

yum install ngrep

This command will install ngrep on the server.

yum remove ngrep

This command will un-install ngrep on the server. When you run this command, you will be asked if you are sure that you want to remove ngrep, so you have to manually confirm that you want to do this.

yum -y remove ngrep

This command will un-install ngrep on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ngrep when using the -y flag.

yum update ngrep

This command will update ngrep to the latest version. When you run this command, you will be asked if you are sure that you want to remove ngrep, so you have to manually confirm that you want to do this.

yum -y update ngrep

This command will update ngrep to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ngrep when using the -y flag.

yum info ngrep

This command will show you core information about the ngrep package.

yum deplist ngrep

This command will show you the dependencies for ngrep. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update ngrep

This command will check if there is an update waiting on ngrep. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.