Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 09:20:30 +0400
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        gnn@FreeBSD.org
Cc:        net@FreeBSD.org
Subject:   Re: route entries after ICMP redirect
Message-ID:  <425A091E.1000207@FreeBSD.org>
In-Reply-To: <m2u0met85m.wl%gnn@neville-neil.com>
References:  <42590AB3.3070106@FreeBSD.org> <m2u0met85m.wl%gnn@neville-neil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
gnn@FreeBSD.org wrote:

> If you want to handle this in a more clever way than a cron job you
> could write a small daemon which reads routing messages and does "the
> right thing" for whatever your situation is.

I've explore a code and found I can do quite easy addition for dynamic 
routes - fill an expire field, check it periodicaly and remove expired 
entries (just like for arp entries).

I think to do a sysctl variable for indication what time will set as 
expire values and set it to zero by default (no expires).

-- 
Sem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425A091E.1000207>