[Bug 223208] [pf] pf.conf syntax (:peer) rules load incorrectly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 15 12:27:24 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223208

--- Comment #13 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kp
Date: Wed Nov 15 12:27:02 UTC 2017
New revision: 325850
URL: https://svnweb.freebsd.org/changeset/base/325850

Log:
  pfctl: teach route-to to deal with interfaces with multiple addresses

  The route_host parsing code set the interface name, but only for the first
  node_host in the list. If that one happened to be the inet6 address and the
  rule wanted an inet address it'd get removed by remove_invalid_hosts() later
  on, and we'd have no interface name.

  We must set the interface name for all node_host entries in the list, not
just
  the first one.

  PR:           223208
  MFC after:    2 weeks

Changes:
  head/sbin/pfctl/parse.y

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


More information about the freebsd-pf mailing list