Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I ran lynis 1.5.6 and got the following log message.
Code:
[07:39:52] Performing test ID TIME-3120 (Check unreliable NTP peers)
[07:39:52] Test: Checking unreliable ntp peers
[07:39:52] Result: Found one or more unreliable peers (marked with a minus or dash sign)
[07:39:52] Unreliable peer: 50.7.96.4
[07:39:52] Suggestion: Check ntpq peers output for unreliable ntp peers and correct/replace them [TIME-3120]
I ran
Code:
sudo ntpq -i
and it gives the commands explained here. However, it does not say how to correct or replace a peer.
I normally add a local loopback to avoid having NTPD flip out
Quote:
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
The rest depends on whether you're using a regional pool (in which case, that's probably the best that's available in your area) or are you specifying individual time servers (in which case, I'd switch to the regional pool) or perhaps it's your network connection, in which case the best is probably the loopback.
Take a look here
I normally add a local loopback to avoid having NTPD flip out
The rest depends on whether you're using a regional pool (in which case, that's probably the best that's available in your area) or are you specifying individual time servers (in which case, I'd switch to the regional pool) or perhaps it's your network connection, in which case the best is probably the loopback.
Take a look here
Thank you for your reply and sorry about the delay. I missed your reply for some reason. Could have been when early lynis suggestion were causing me problems. I will check your link out.
I normally add a local loopback to avoid having NTPD flip out
The rest depends on whether you're using a regional pool (in which case, that's probably the best that's available in your area) or are you specifying individual time servers (in which case, I'd switch to the regional pool) or perhaps it's your network connection, in which case the best is probably the loopback.
Take a look here
I made the changes at the link you suggested but still get the lynis suggestion. I looked in /var/log/ntpstats and there was nothing there. I did give the unreliable peer as 50.7.0.147 which is Abovenet Communications according to isc.sans.edu.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.