Bug 250027

Summary: net/ngrep: Does not work with ipv6 packets
Product: Ports & Packages Reporter: Laurent Frigault <freebsdbugzilla>
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed FIXED    
Severity: Affects Many People CC: logan
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description Laurent Frigault 2020-10-01 14:31:17 UTC
% uname -a
FreeBSD obelix.bergerie.agneau.org 12.1-RELEASE-p8 FreeBSD 12.1-RELEASE-p8 GENERIC  amd64

ngrep-1.45_3 (from pkg) does not catch ipv6 packets?


To reproduce:
ngrep -d lo0 '' 'host ::1'

and send packets to a local web/smtp/pop/imap  server responding on ::1

Works as expected with ipv4 .

tcpdump works fine with both ipv4 and ipv6
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-10-01 14:42:51 UTC
A commit references this bug:

Author: bapt
Date: Thu Oct  1 14:42:39 UTC 2020
New revision: 550840
URL: https://svnweb.freebsd.org/changeset/ports/550840

Log:
  Fix ipv6

  Incorporate a patch from debian/ubuntu

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615138
  https://bugs.launchpad.net/ubuntu/+source/ngrep/+bug/567286

  PR:		250027
  Submitted by:	Laurent Frigault <freebsdbugzilla@agneau.org>

Changes:
  head/net/ngrep/Makefile
  head/net/ngrep/files/patch-fix-ipv6
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2020-10-02 03:37:04 UTC
^Triage: Assign to committer that resolved