[ntp:questions] Re: server's address in ntp payload?

Danny Mayer mayer at ntp.isc.org
Fri Nov 25 20:11:15 UTC 2005


David Schwartz wrote:

> 
>>I would therefore contend
>>that a protocol
>>that has this requirement gratuitiously is flawed.
> 
> 
>     Right, so NTP is flawed because it does not put the IP address in the 
> payload, thus requiring you to get it from the kernel if you need it. (I 
> don't agree with your premises, but they lead inexorably to this 
> conclusion.)
> 

As long as you don't receive packets on the wildcard addresses your
response will go out using the same address as the packet was received
on. It's the wildcard addresses that cause the problem and you cannot
know which address the kernel may choose.

Danny





More information about the questions mailing list