cvs commit: src/sys/sys param.h src/sys/netinet ip_fw2.c ip_icmp.h
    Brooks Davis 
    brooks at FreeBSD.org
       
    Tue Apr 26 11:10:21 PDT 2005
    
    
  
brooks      2005-04-26 18:10:21 UTC
  FreeBSD src repository
  Modified files:
    sys/sys              param.h 
    sys/netinet          ip_fw2.c ip_icmp.h 
  Log:
  Introduce a struct icmphdr which contains the type, code, and cksum
  fields of an ICMP packet.
  
  Use this to allow ipfw to pullup only these values since it does not use
  the rest of the packet and it was failed on ICMP packets because they
  were not long enough.
  
  struct icmp should probably be modified to use these at some point, but
  that will break a fair bit of code so it can wait for another day.
  
  On the off chance that adding this struct breaks something in ports,
  bump __FreeBSD_version.
  
  Reported by:    Randy Bush <randy at psg dot com>
  Tested by:      Randy Bush <randy at psg dot com>
  
  Revision  Changes    Path
  1.96      +5 -9      src/sys/netinet/ip_fw2.c
  1.25      +11 -0     src/sys/netinet/ip_icmp.h
  1.237     +1 -1      src/sys/sys/param.h
    
    
More information about the cvs-src
mailing list