ppp with dynamic IPs and ipfw "me"
Don Lewis
truckman at FreeBSD.org
Sat Jun 19 22:27:21 GMT 2004
On 17 Jun, Brad Knowles wrote:
> At 11:36 AM +0200 2004-06-17, Oliver Fromme wrote:
>
>> I'm not sure if this is related to your problem, but you
>> have to kill and restart ntpd every time you get a new IP.
>> That's because ntpd binds to every IP address it finds upon
>> startup explicitely, not just to "*".
>
> BIND does the same thing. If you're using UDP communications,
> you almost always need to make sure that you send the response packet
> on the same interface that you got the query from, and it's not
> possible to tell which interface a packet comes in on if you just
> listen to INADDR_ANY.
We should encourage the the appropriate parties to use the
IP_SENDSRCADDR feature (see ip(4)) in the FreeBSD ports of their
software.
More information about the freebsd-current
mailing list