ngrep - grep for network traffic

Property Value
Distribution Ubuntu 19.04 (Disco Dingo)
Repository Ubuntu Universe amd64
Package filename ngrep_1.47+ds1-1_amd64.deb
Package name ngrep
Package version 1.47+ds1
Package release 1
Package architecture amd64
Package type deb
Category universe/net
License -
Maintainer Ubuntu Developers <>
Download size 31.73 KB
Installed size 72.00 KB
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 expressions to match
against data payloads of packets.  It currently recognizes TCP, UDP
and ICMP across Ethernet, PPP, SLIP and null interfaces, and
understands bpf filter logic in the same fashion as more common
packet sniffing tools, such as tcpdump and snoop.


Package Version Architecture Repository
ngrep_1.47+ds1-1_i386.deb 1.47+ds1 i386 Ubuntu Universe
ngrep - - -


Name Value
libc6 >= 2.7
libnet1 >=
libpcap0.8 >= 0.9.8
libpcre3 -


Type URL
Binary Package ngrep_1.47+ds1-1_amd64.deb
Source Package ngrep

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ngrep deb package:
    # sudo apt-get install ngrep




2018-01-01 - Romain Francoise <>
ngrep (1.47+ds1-1) unstable; urgency=medium
* New upstream release:
+ Drop all Debian patches, they have all been merged upstream.
+ Add new patch fixing a typo in which prevents configuring
with the system PCRE.
+ Add new patch to check for `libnet_init' in
+ Configure with new flag --enable-tcpkill.
+ Stop overriding dh_installchangelogs.
* Update upstream homepage URL to the Github project page.
* Rewrite debian/watch to get new upstream version from Github.
* Switch to debhelper compatibility level 11.
* Use new URLs on for Vcs-* fields.
* Bump Standards-Version to 4.1.2.
2016-09-17 - Romain Francoise <>
ngrep (1.45.ds2-14) unstable; urgency=medium
* Use dh-autoreconf.
* Call dh_auto_configure in override target.
* Use Alioth cgit URL in Vcs-Browser.
* Bump Standards-Version to 3.9.8.
2014-04-12 - Romain Francoise <>
ngrep (1.45.ds2-13) unstable; urgency=low
* Add debian/watch file (thanks, bartm).
* Bump Standards-Version to 3.9.5.
* Use canonical locations in Vcs-* fields.
2012-03-03 - Romain Francoise <>
ngrep (1.45.ds2-12) unstable; urgency=low
* Fix handling of CPPFLAGS in upstream makefile to avoid losing
* Bump Standards-Version to 3.9.3.
2011-12-19 - Romain Francoise <>
ngrep (1.45.ds2-11) unstable; urgency=low
* Use Linux target code on hurd-i386 to fix FTBFS.
* Fix (harmless) -Wformat warnings in tcpkill patch.
2011-12-18 - Romain Francoise <>
ngrep (1.45.ds2-10) unstable; urgency=low
* Enable hardening via dpkg-buildflags.
* Bump Standards-Version to 3.9.2.
* Cherry-pick commit ca90da66ac from upstream Git to fix dumping of IPv6
traffic (closes: #615138) (LP: #567286).
2010-01-04 - Romain Francoise <>
ngrep (1.45.ds2-9) unstable; urgency=low
* debian/control: Build-depend on hardening-includes.
* debian/rules: Use hardening.make.
2009-11-08 - Romain Francoise <>
ngrep (1.45.ds2-8) unstable; urgency=low
* Switch to 3.0 (quilt) source format:
+ Drop build-depends on quilt.
+ Remove patch/unpatch logic from debian/rules.
+ Remove README.source.
+ Refresh all patches.
* Use dh(1):
+ debian/compat: Bump to 7.
+ debian/control: Build-depend on debhelper (>= 7.0.50~).
+ debian/rules: Simplify.
+ debian/ngrep.dirs: Removed.
2009-09-14 - Romain Francoise <>
ngrep (1.45.ds2-7) unstable; urgency=low
* debian/rules: Change pcap includes location so that can
find bpf.h in the correct pcap.h, thanks to Cristian Constantin
(closes: #546596).
2009-09-10 - Romain Francoise <>
ngrep (1.45.ds2-6) unstable; urgency=low
* debian/patches/10_kfreebsd.diff: New patch, fixes FTBFS on kfreebsd.
Thanks to Cyril Brulebois <> (closes: #545912).
* debian/patches/series: Update.

See Also

Package Description
ngspice-dev_30.2-1_amd64.deb Spice circuit simulator - development files for ngspice and tclspice
ngspice-doc_30.2-1_all.deb Documentation for the NGspice circuit simulator
ngspice_30.2-1_amd64.deb Spice circuit simulator
nheko_0.4.2-1_amd64.deb desktop IM client for the Matrix protocol
niceshaper_1.2.4-1_amd64.deb Dynamic Traffic Shaper
nickle_2.84-1build1_amd64.deb desk calculator language
nicotine_1.2.16+dfsg-1.1_all.deb graphical client for the SoulSeek peer-to-peer system
nicovideo-dl_0.0.20190126-1_all.deb Download videos from
nictools-pci_1.3.8-2build1_amd64.deb Diagnostic tools for many PCI Ethernet cards
nield_0.6.1-2_amd64.deb generate logs related to network interfaces
nifti-bin_2.0.0-3_amd64.deb tools shipped with the NIfTI library
nifti2dicom-data_0.4.11-1ubuntu8_all.deb data files for nifti2dicom
nifti2dicom_0.4.11-1ubuntu8_amd64.deb convert 3D medical images to DICOM 2D series
nigiri_1.4.0+git20160822+dfsg-4.1_all.deb D-Bus-based IRC suite (terminal client)
nik4_1.6-5_amd64.deb Mapnik to image export