Bug 250027 - net/ngrep: Does not work with ipv6 packets
Summary: net/ngrep: Does not work with ipv6 packets
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-01 14:31 UTC by Laurent Frigault
Modified: 2020-10-02 03:37 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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