FS#27225 - [ngrep] ipv6 support broken
Attached to Project:
Community Packages
Opened by Geert Hendrickx (ghen) - Tuesday, 22 November 2011, 10:46 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 25 February 2012, 12:08 GMT
Opened by Geert Hendrickx (ghen) - Tuesday, 22 November 2011, 10:46 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 25 February 2012, 12:08 GMT
|
Details
Description:
ngrep incorrectly calculates the payload size for ipv6 packets, therefor doesn't display ipv6 packets correctly (hash marks only, no text). Steps to reproduce: There's a patch in the following Ubuntu bugreport which fixes the problem for me: https://bugs.launchpad.net/ubuntu/+source/ngrep/+bug/567286 --- PKGBUILD 2011-11-22 06:14:52.000000000 +0100 +++ PKGBUILD 2011-11-22 11:40:42.481768322 +0100 @@ -13,12 +13,14 @@ depends=('libpcap>=1.0.0') # Fix build failure when using "-j" ( options=(!makeflags) -source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2") -md5sums=('bc8150331601f3b869549c94866b4f1c') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2" "ngrep-fix-ipv6-support.patch") +md5sums=('bc8150331601f3b869549c94866b4f1c' + 'b2ee6bdfeca1019eed4ba8392d2a63bb') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i "$srcdir/ngrep-fix-ipv6-support.patch" ./configure --prefix=/usr --with-pcap-includes=/usr/include/pcap --enable-ipv6 make } Please consider including this. |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Saturday, 25 February 2012, 12:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.45-9.
Saturday, 25 February 2012, 12:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.45-9.
And since you mentioned upstream is dead, patching locally seems like to only option for now...
For convenience:
PKGBUILD: http://sprunge.us/GHSD
PCRE patch: http://sprunge.us/XAGA
IPv6 patch: http://sprunge.us/FCIB