[7.851][BUG][OPEN] ntp server running even disable

Hello Friends !

please cheack the log 

ntp service is disable in Network Service>>NTP>disable 

there it was able to detect computer on network !

thanks
Parents
  • With the NTP service disabled, if you query NTP on the Astaro from a local PC, do you get a response?

    Do you have anything in 'Management >> System Settings' 'Time and Date' tab 'Synchronize time with internet server'?

    If you get no response, and there's an NTP server listed, then my guess is that you're seeing the Astaro checking the time instead of serving it.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Hello Sir,

    How do   i /where do i put asg box ntp server ip/name in windows to test 
    yes its enable  "'Management >> System Settings' 'Time and Date' tab 'Synchronize time with internet server' "

    yes here if i say test server it work 

    my question is i have not configure ntp for networks still how does it detect  lan's ip pptp's ip and show in log 


    2009:12:25-06:28:39 acenn postgres[5519]: [2-1] LOG:  unexpected EOF on client connection
    2009:12:25-06:29:44 acenn ntpd[4738]: ntpd exiting on signal 15
    2009:12:25-06:29:45 acenn ntpd[5783]: ntpd 4.2.4p8@1.1612 Fri Dec 11 15:49:08 UTC 2009 (1)
    2009:12:25-06:29:45 acenn ntpd[5784]: precision = 1.000 usec
    2009:12:25-06:29:45 acenn ntpd[5784]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #1 wildcard, ::#123 Disabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #2 lo, ::1#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #3 lo, 127.0.0.1#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #4 eth0, 192.168.2.100#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #5 eth0, 192.168.1.29#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #6 eth1, 192.168.1.125#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #7 tun0, 10.242.2.1#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: kernel time sync status 0040
    2009:12:25-06:29:45 acenn ntpd[5784]: frequency initialized -15.105 PPM from /var/ntp.drift
    2009:12:25-06:29:56 acenn ntpd[5784]: synchronized to 120.88.46.10, stratum 2
    2009:12:25-06:29:56 acenn ntpd[5784]: kernel time sync status change 0001
    2009:12:25-06:30:00 acenn postgres[5788]: [2-1] LOG:  unexpected EOF on client connection


    thanks
Reply
  • Hello Sir,

    How do   i /where do i put asg box ntp server ip/name in windows to test 
    yes its enable  "'Management >> System Settings' 'Time and Date' tab 'Synchronize time with internet server' "

    yes here if i say test server it work 

    my question is i have not configure ntp for networks still how does it detect  lan's ip pptp's ip and show in log 


    2009:12:25-06:28:39 acenn postgres[5519]: [2-1] LOG:  unexpected EOF on client connection
    2009:12:25-06:29:44 acenn ntpd[4738]: ntpd exiting on signal 15
    2009:12:25-06:29:45 acenn ntpd[5783]: ntpd 4.2.4p8@1.1612 Fri Dec 11 15:49:08 UTC 2009 (1)
    2009:12:25-06:29:45 acenn ntpd[5784]: precision = 1.000 usec
    2009:12:25-06:29:45 acenn ntpd[5784]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #1 wildcard, ::#123 Disabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #2 lo, ::1#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #3 lo, 127.0.0.1#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #4 eth0, 192.168.2.100#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #5 eth0, 192.168.1.29#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #6 eth1, 192.168.1.125#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: Listening on interface #7 tun0, 10.242.2.1#123 Enabled
    2009:12:25-06:29:45 acenn ntpd[5784]: kernel time sync status 0040
    2009:12:25-06:29:45 acenn ntpd[5784]: frequency initialized -15.105 PPM from /var/ntp.drift
    2009:12:25-06:29:56 acenn ntpd[5784]: synchronized to 120.88.46.10, stratum 2
    2009:12:25-06:29:56 acenn ntpd[5784]: kernel time sync status change 0001
    2009:12:25-06:30:00 acenn postgres[5788]: [2-1] LOG:  unexpected EOF on client connection


    thanks
Children
  • I haven't checked but I think this is the default behavior for even the older versions of astaro. When a daemon is initialized, it listens on all the interfaces and then access is granted or denied based on netfilter rules. This way you don't have to tinker with each daemon individually. Since everything is denied by default in astaro, access is only granted when something is specifically enabled.

    So in your case, ntp daemon is listening on all interfaces but I bet it is being blocked by netfilter unless you enable ntp server in webadmin[:)]