cvs commit: src/sbin/ipfw ipfw2.c src/sbin/natd natd.c src/sys/netinet ip_fw.h ip_fw2.c

Roman Kurakin rik at FreeBSD.org
Tue Sep 23 10:39:59 UTC 2008


rik         2008-09-23 10:36:37 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sbin/ipfw            ipfw2.c 
    sbin/natd            natd.c 
    sys/netinet          ip_fw.h ip_fw2.c 
  Log:
  SVN rev 183293 on 2008-09-23 10:36:37Z by rik
  
  MFH: 182818, 182823, 182825, 183012 - IPFW_DEFAULT_RULE related fixes.
  
   New Revision: 182818
   URL: http://svn.freebsd.org/changeset/base/182818
  
   Log:
    Export the IPFW_DEFAULT_RULE outside ip_fw2.c.  This number in not only
    the default rule number but also the maximum rule number.  User space
    software such as ipfw and natd should be aware of its value.  The
    software that already includes ip_fw.h should use the defined value.  All
    other a expected to use sysctl (as discussed on net@).
  
    MFC after: 5 days.
    Discussed on: net@
  
   Modified:
    head/sys/netinet/ip_fw.h
    head/sys/netinet/ip_fw2.c
  
   New Revision: 182823
   URL: http://svn.freebsd.org/changeset/base/182823
  
   Log:
    Use IPFW_DEFAULT_RULE instead of hardcoded value since now it is
    available.
  
    MFC after:    5 days.
  
   Modified:
    head/sbin/ipfw/ipfw2.c
  
   New Revision: 182825
   URL: http://svn.freebsd.org/changeset/base/182825
  
   Log:
    Check rule numbers against maximum value to avoid rules cleanup due
    to overflow.
  
    MFC after:    5 days.
  
   Modified:
    head/sbin/natd/natd.c
  
   New Revision: 183012
   URL: http://svn.freebsd.org/changeset/base/183012
  
   Log:
    Make the commet for the default rule number more clear.
  
    Submitted by:    yar@
  
   Modified:
    head/sys/netinet/ip_fw.h
  
  Approved by:    re (kensmith)
  
  Revision    Changes    Path
  1.108.2.10  +9 -8      src/sbin/ipfw/ipfw2.c
  1.50.2.1    +24 -0     src/sbin/natd/natd.c
  1.110.2.5   +8 -0      src/sys/netinet/ip_fw.h
  1.175.2.10  +2 -1      src/sys/netinet/ip_fw2.c


More information about the cvs-src mailing list