Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 6, 2002
  1. revised the case that the reported path MTU is less than the minimum

    jinmei authored
    MTU (1280);
    just use the minimum MTU instead of the reported one.
    from now on, the RTV_MTU flag will never be used for IPv6 routes.
  2. comment wording

    jinmei authored
  3. typo

    jinmei authored
Commits on Apr 5, 2002
  1. temporarily disabled cached route management, because this version

    jinmei authored
    seems too aggressive.
  2. typo

    jinmei authored
  3. temporarliy disabled cached route management, because this version

    jinmei authored
    seems too aggressive.
  4. (a forced commit)

    jinmei authored
    oops, I meant, of course,
    "freebsd45 can *now* prevent ptmutd dos while preventing a local DoS."
  5. 2002-04-06 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>

    jinmei authored
    	* kame/sys/netinet6/nd6.c (nd6_lookup): specified RTF_CACHE for a
    	newly created route so that the route entry would be subject to
    	cached route management.
    
    2002-04-06  JINMEI, Tatuya  <jinmei@isl.rdc.toshiba.co.jp>
    	* kame/sys/netinet6/nd6.c (nd6_rtdrain): added as the callback
    	function for each ND entry as a cached route, and decides
    	whether the entry should really be removed based on the ND state.
    	Entries which are reachable, delay or probe will not be removed.
    	An ND cache to a default route will not be removed either.
    	[FreeBSD4 only]
    
    2002-04-06  JINMEI, Tatuya  <jinmei@isl.rdc.toshiba.co.jp>
    	* freebsd4/sys/net/route.c (rtredirect): set RTF_CACHE before
    	calling rtrequest() so that routes created by redirect will be
    	subject to management of cached routes.
    
    2002-04-06  JINMEI, Tatuya  <jinmei@isl.rdc.toshiba.co.jp>
    	* freebsd4/sys/net/route.c: made cached route management more
    	refined:
    	- we now have 3 parameters to limit the cache; max, hiwat, and
    	  lowat, all of which are configured automatically based on the
    	  kernel memory limit.
    	- rt_draincache() is called when the number of entries are being
    	  beyond "hiwat", and the function tries to keep the entries
    	  between "lowat" and "hiwat".
    	- do not regard static routes as cache.
    	- allow ifa_rtrequest() functions to add a timer entry so that
    	  they can set a refined cleanup function.
  6. in nd6_lookup(), specified RTF_CACHE for a newly created route

    jinmei authored
    so that the route entry will be subject to cached route management.
    
    This will prevent, for example, local-link DoS by sending vogus redirects
    that tell the victim a massive number of "on-link" destinations.
  7. (forgot to comment this)

    jinmei authored
    in rtredirect(), set RTF_CACHE before calling rtrequest() so that routes
    created by redirect will be subject to management of cached routes.
  8. [freebsd4 only]

    jinmei authored
    added a new function nd6_rtdrain().
    this is a callback function for each ND entry as a cached route, and decides
    whether the entry should really be removed based on the ND state
    (entries which are reachable, delay or probe will not be removed).
  9. made cached route management more refined:

    jinmei authored
      - we now have 3 parameters to limit the cache; max, hiwat, lowat
      - rt_draincache() is called when the number of entries are being beyond
        "hiwat", and the function tries to keep the number between "lowat" and
        "hiwat"
      - do not regard static routes as cache
      - allow ifa_rtrequest() functions to add a timer entry so that they can
        set a refined cleanup function
Commits on Apr 4, 2002
  1. - included kernel.h for time variable.

    keiichi authored
  2. fix the vr driver problem.

    kjc authored
    don't use POLL and DEQUEUE since vr_encap() copies and
    frees the original mbuf so that the original mbuf isn't
    valid after vr_encap().
    from OpenBSD. (NetBSD doesn't have this problem.)
Commits on Apr 3, 2002
  1. grammar

    jinmei authored
  2. y.tab.h

    itojun authored
  3. typo in comment

    k-sugyou authored
  4. HZ -> hz

    kjc authored
    from NetBSD
  5. remove __P() from the altq kernel files.

    kjc authored
    also, update the copyright year while I'm here.
  6. make it compile on NetBSD-current

    itojun authored
  7. typo

    itojun authored
  8. make it compile on netbsd-current

    itojun authored
  9. cfparse.h MUST not be in the repository

    itojun authored
  10. initialize if_softc.

    kjc authored
  11. make it compile on NetBSD 1.5.2.

    itojun authored
    XXX uses yacc/lex version dependent macro, thus it won't compile on NetBSD 1.6
Commits on Apr 2, 2002
  1. lynx-current -> lynx

    sumikawa authored
  2. mozilla+ipv6 was removed.

    sumikawa authored
  3. IPv6 patch was merged in python-2.2.

    sumikawa authored
  4. - allowed the case of rt_refcnt < 0 in rt_draincache(), just followin…

    jinmei authored
    …g the
    
      convention
    - removed each rttimer entry in rt_draincache() itself.
Something went wrong with that request. Please try again.