[Bug 217292] ipfw lookup on fields other than IP source and destination address doesn't work for IPv6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 5 23:49:21 UTC 2017


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

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

Author: ae
Date: Sun Mar  5 23:48:24 UTC 2017
New revision: 314716
URL: https://svnweb.freebsd.org/changeset/base/314716

Log:
  Add IPv6 support to O_IP_DST_LOOKUP opcode.

  o check the size of O_IP_SRC_LOOKUP opcode, it can not exceed the size of
    ipfw_insn_u32;
  o rename ipfw_lookup_table_extended() function into ipfw_lookup_table() and
    remove old ipfw_lookup_table();
  o use args->f_id.flow_id6 that is in host byte order to get DSCP value;
  o add SCTP ports support to 'lookup src/dst-port' opcode;
  o add IPv6 support to 'lookup src/dst-ip' opcode.

  PR:           217292
  Reviewed by:  melifaro
  MFC after:    2 weeks
  Sponsored by: Yandex LLC
  Differential Revision:        https://reviews.freebsd.org/D9873

Changes:
  head/sys/netpfil/ipfw/ip_fw2.c
  head/sys/netpfil/ipfw/ip_fw_private.h
  head/sys/netpfil/ipfw/ip_fw_sockopt.c
  head/sys/netpfil/ipfw/ip_fw_table.c

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


More information about the freebsd-ipfw mailing list