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

Danny Mayer mayer at gis.net
Sun Nov 20 03:27:22 UTC 2005


Ulisses wrote:
> Hi Danny
> 
> On Fri, Nov 18, 2005 at 09:24:34AM -0500, Danny Mayer wrote:
> 
>>Ulisses wrote:
> 
> [...]
> 
>>>The usefulness I wanted with it is to try getting the
>>>loopback address of ntp servers running on routers
>>>
>>
>>That's confusing me. Do you really mean the loopback addresss -
>>127.0.0.1 and ::1 or did you mean an address bound to the interface?
> 
> 
> many (all?) routers wich run a routing protocol have an special address
> that's called "loopback address" which is not 127.0.0.1
> 
> I wanted to check what address returned the ntp process on routers 
> (if it was possible) in the ntp header, in hope to obtain the
> loopback address I mention.
> 

If you want this done in ntpd then it does everything it has to. If you
just want to do this on your own, read the UDP header.

Danny



More information about the questions mailing list