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

Julian Elischer julian at FreeBSD.org
Thu Aug 17 22:49:51 UTC 2006


julian      2006-08-17 22:49:50 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_fw.h ip_fw2.c 
    sbin/ipfw            ipfw.8 ipfw2.c 
  Log:
  Allow ipfw to forward to a destination that is specified by a table.
  for example:
    fwd tablearg ip from any to table(1)
  where table 1 has entries of the form:
  1.1.1.0/24 10.2.3.4
  208.23.2.0/24 router2
  
  This allows trivial implementation of a secondary routing table implemented
  in the firewall layer.
  
  I expect more work (under discussion with Glebius) to follow this to clean
  up some of the messy parts of ipfw related to tables.
  
  Reviewed by:    Glebius
  MFC after:      1 month
  
  Revision  Changes    Path
  1.192     +16 -2     src/sbin/ipfw/ipfw.8
  1.93      +44 -9     src/sbin/ipfw/ipfw2.c
  1.107     +2 -0      src/sys/netinet/ip_fw.h
  1.143     +23 -7     src/sys/netinet/ip_fw2.c


More information about the cvs-src mailing list