NTP Authen Problem


 
Thread Tools Search this Thread
Operating Systems Solaris NTP Authen Problem
# 1  
Old 10-17-2006
NTP Authen Problem

Dear All

I'm solaris user . I need to setup NTP authentication for my office server but I have some question for ntp setting up. I need to know if i set authen NTP the client that doesn't set for authen key can sync time from authen ntp server or not ?? when i setup the authen at ntp server why the simple ntp can sync my authen time server ? Below is my config file


ntpserver

(ntp.conf)

server 127.127.1.0 prefer key 4
#fudge 127.127.XType.0 stratum 0

#broadcast 224.0.1.1 key 4 ttl 4

enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable

keys /etc/inet/ntp.keys
trustedkey 4
#requestkey 0
#controlkey 0

(ntp.keys)

4 M DonTTelL
6 M hElloWorld
22 M ImASecret



ntpclient

(ntp.conf)

#driftfile /var/ntp/drift
server 192.168.109.11 prefer key 4
#multicastclient 224.0.1.1 key 4
keys /etc/inet/ntp.keys
trustedkey 4


(ntp.keys)

4 M DonTTelL
6 M hElloWorld
22 M ImASecret


Could you please check it for me , what wrong with my config file .


Best regards,

Sontas J
# 2  
Old 10-17-2006
more information below

this ntpq output of ntp client that set authen key

root@sol9_e250 # ntpq
ntpq> pe
remote refid st t when poll reach delay offset disp
==============================================================================
*sol9_11 LOCAL(0) 4 u 18 64 377 0.81 -8.976 2.09
ntpq> as
ind assID status conf reach auth condition last_event cnt
===========================================================
1 20676 f614 yes yes ok sys.peer reachable 1


And this is ntpq output from ntp client that's not set key authen

sol9_55(root):[/etc/init.d] # ntpq
ntpq> pe
remote refid st t when poll reach delay offset disp
==============================================================================
sol9_11 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
ntpq> as
ind assID status conf reach auth condition last_event cnt
===========================================================
1 16100 c000 yes no


But all of ntp client can sync time . I don't know why . My opinion it should be sync only ntp client that set key authen , isn't it ??

who has information or recommend please help me .

Thank

Sontas J.
(sorry about my english )
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

NTP synchronised problem in our Centos 7.6 node

Someone, please help on this issue:- Note : for security reason i didn't mention hostnames and ips. ============================================================================== # ntpstat unsynchronised polling server every 1024 s Ntpstat showing unsynchronised. ... (29 Replies)
Discussion started by: shanmugaraj
29 Replies

2. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies

3. AIX

NTP time problem

I got an ntp time problem on AIX server. os version is AIX7.1 OS LEVEL 7.1.0.0 i got below output,when i run the below command bash-3.2# ntpdate -dv XXXXXXXXXXXXXXXXXXXXXXXX 4 Dec 12:50:49 ntpdate: 3.4y transmit(xxxxxxxxx) receive(xxxxxxxxx) transmit(xxxxxxxx) receive(xxxxxxxxx)... (9 Replies)
Discussion started by: murali969
9 Replies

4. Emergency UNIX and Linux Support

DNS and NTP strange problem

Hi, I'm having problem with my DNS and NTP. For the DNS: I'm using RHEL4, Bonding and heartbeat. Bond0 IP address: 192.168.1.10 Heartbeat or Bond0:0: 192.168.1.50 Currently, I use my heartbeat ip address for my DNS or in named.conf Everytime I reboot my server, it says that dns/named... (3 Replies)
Discussion started by: flekzout
3 Replies

5. UNIX for Advanced & Expert Users

NTP Problem

Hello every one i want to setup a ntp on sco unix 5.0.6 and i don't have any time server how can i do this with local time (1 Reply)
Discussion started by: kaydream
1 Replies

6. Solaris

NTP problem.

Hi, I have edited the /etc/inet/ntp.conf file to point to a new time server. When I restart ntp on Solaris 10 using 'svcadm disable/enable ntp' it still points to the old ntp server when I run a 'ntpq -p'. Any ideas? Thanks. Sparcman (4 Replies)
Discussion started by: sparcman
4 Replies

7. Red Hat

NTP sync problem

Hi, I have 4 machines and all are NTP configured with same ntp.conf file. But 3 machines are in sync with Time server and 4th machine is not contacting & sync with the NTP server. Please see the below details. # service ntpd stop Stopping ntpd: ... (0 Replies)
Discussion started by: uday123
0 Replies

8. AIX

NTP Client problem

Hello everybody! When I run command "ntpdate" the following error occures "ksh: ntpdate: 0403-006 Execute permission denied. " # oslevel -s 5300-08-06-0918 oslevel -r 5300-08 eny suggestion friends? :-) (3 Replies)
Discussion started by: wwwzviadi
3 Replies

9. UNIX for Dummies Questions & Answers

NTP problem

All - i tried to sysn the clock from our server to get the timing and the server IP has been added in the ntp.conf file and i have some problems here. if some1 help me to solve this problem. 1. i can ping server 2. i was unable to ntpq -p (time out, no response from remote server, it looks... (2 Replies)
Discussion started by: March_2007
2 Replies

10. HP-UX

NTP problem

Hi, I have a problem using NTP. We have a setup as following : client --> HP Server(NTP) --> DMZ server --> DMZ server --> Internet Only some clients and our HP server is using NTP, the others are using different software. Now I get an error every day : Oct 1 13:17:15 nlunx1n1 xntpd:... (4 Replies)
Discussion started by: davidg
4 Replies
Login or Register to Ask a Question