cvs commit: src/sys/netinet ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c

Luigi Rizzo luigi at FreeBSD.org
Sun Jun 22 10:33:20 PDT 2003


luigi       2003/06/22 10:33:19 PDT

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_fw2.c 
    sbin/ipfw            ipfw.8 ipfw2.c 
  Log:
  Add support for multiple values and ranges for the "iplen", "ipttl",
  "ipid" options. This feature has been requested by several users.
  On passing, fix some minor bugs in the parser.  This change is fully
  backward compatible so if you have an old /sbin/ipfw and a new
  kernel you are not in trouble (but you need to update /sbin/ipfw
  if you want to use the new features).
  
  Document the changes in the manpage.
  
  Now you can write things like
  
          ipfw add skipto 1000 iplen 0-500
  
  which some people were asking to give preferential treatment to
  short packets.
  
  The 'MFC after' is just set as a reminder, because I still need
  to merge the Alpha/Sparc64 fixes for ipfw2 (which unfortunately
  change the size of certain kernel structures; not that it matters
  a lot since ipfw2 is entirely optional and not the default...)
  
  PR: bin/48015
  
  MFC after: 1 week
  
  Revision  Changes    Path
  1.123     +32 -18    src/sbin/ipfw/ipfw.8
  1.26      +59 -11    src/sbin/ipfw/ipfw2.c
  1.31      +29 -12    src/sys/netinet/ip_fw2.c


More information about the cvs-src mailing list