[ntp:bugs] [Bug 715] Multicast issues on Linux
bugzilla at ntp.isc.org
bugzilla at ntp.isc.org
Mon Oct 2 20:48:41 UTC 2006
http://bugs.ntp.isc.org/715
----------------------------------------------------------------------------
Additional Comments From peter.pramberger at 1012surf.net (Peter Pramberger)
Submitted on 2006-10-02 20:48
In the meantime I'm looking into the ttl issue: If I specify no ttl at all on
the broadcast line, packets are sent with ttl=0; setting it to eg. 4 results in
packets with ttl=128.
If I look at transmit() in ntpd/ntp_proto.c, it always calls sendpkt() with
"sys_ttl[peer->ttl]", but sys_ttl looks like this:
--- ntpd debug (modified) ---
init_proto: sys_ttl[0]=0 sys_ttlmax=0
init_proto: sys_ttl[1]=32 sys_ttlmax=1
init_proto: sys_ttl[2]=64 sys_ttlmax=2
init_proto: sys_ttl[3]=96 sys_ttlmax=3
init_proto: sys_ttl[4]=128 sys_ttlmax=4
init_proto: sys_ttl[5]=160 sys_ttlmax=5
init_proto: sys_ttl[6]=192 sys_ttlmax=6
init_proto: sys_ttl[7]=224 sys_ttlmax=7
-----------------------------
This shows why the packets are sent with ttl=128, when I specify ttl 4 on the
broadcast line. Shouldn't this be just "peer->ttl"?
--
Peter Pramberger <peter.pramberger at 1012surf.net>
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the bugs
mailing list