Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 17:29:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ipfw@FreeBSD.org
Subject:   [Bug 200169] ipfw table list uses IPv6 format for zero IPv4 addresses
Message-ID:  <bug-200169-7515-IKhHREMNb4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200169-7515@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200169-7515@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200169

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: melifaro
Date: Fri Sep 18 17:29:25 UTC 2015
New revision: 287963
URL: https://svnweb.freebsd.org/changeset/base/287963

Log:
  MFC r266310

    Fix wrong formatting of 0.0.0.0/X table records in ipfw(8).

    Add `flags` u16 field to the hole in ipfw_table_xentry structure.
    Kernel has been guessing address family for supplied record based
    on xent length size.
    Userland, however, has been getting fixed-size ipfw_table_xentry structures
    guessing address family by checking address by IN6_IS_ADDR_V4COMPAT().

    Fix this behavior by providing specific IPFW_TCF_INET flag for IPv4
records.

  PR:        bin/189471,kern/200169

Changes:
_U  stable/10/
  stable/10/sbin/ipfw/ipfw2.c
  stable/10/sys/netinet/ip_fw.h
  stable/10/sys/netpfil/ipfw/ip_fw_table.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200169-7515-IKhHREMNb4>