Could some one help in pointing out the error here



Hi All,

I was not able to set a remote server's leap. It looks like the NTP
packets from the query is not generated at all. Though the "sendpkt"
procedure is being called "sendrequest", I am not able to see the
packet reaching the other side. I guess that I am missing something as
there is a error reported with authentication.
Could someone help me in pointing out the error I made..

ntpq> asso
ind assID status conf reach auth condition last_event cnt
===========================================================
1 17284 f614 yes yes ok sys.peer reachable 1
2 17285 c000 yes yes bad reject
ntpq> writevar 17284 leap=1
Keyid: 64
MD5 Password:
***Server disallowed request (authentication?)

The configs are:
authenticate yes
keys /etc/ntp.keys
trustedkey 1234
requestkey 61
controlkey 64
server 10.8.26.34 key 1234

The key file:
1234 M pass
61 M pass1
64 M pass2

Is this possible to work without authentication. Please help.

Thanks,
Remo

.



Relevant Pages

  • Re: servers address in ntp payload?
    ... >> I have take a look at ntp_request.h and I found that ntp doesn't put ... >> address of the remote server being used in the request. ... the clock or sending out its own spurious packets. ... validate once you have an agreed-upon authentication. ...
    (comp.protocols.time.ntp)
  • Could someone help me in pointing out the error I made..
    ... packets from the query is not generated at all. ... ***Server disallowed request ... Is this possible to work without authentication. ...
    (comp.protocols.time.ntp)
  • Re: SSH connection hangs after authentication completes successfully
    ... open an SSH connection from A to some remote box B (running whatever SSH ... as long as everything happens in the authentication phase. ... client's traces) the corresponding authentication failure packets. ... more, when A is the server and B is the client, the same behavior takes ...
    (comp.security.ssh)
  • Re: Unauthenticated Broadcast Client Drops Authenticated Server Packets.
    ... I have got a broadcast server that sends broadcast messages ... There is a broadcast client that has no ... dropped due to authentication failure. ... The reason is that ANYBODY with the proper software can broadcast NTP packets on your network. ...
    (comp.protocols.time.ntp)
  • Re: Diagnose co-location networking problem
    ... it was from the client. ... Actually there's significant indication of lost packets and clues that ... 540 retransmit timeouts ... are you using any packetfiltering on the server? ...
    (freebsd-net)