LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-04-2014, 03:14 PM   #1
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Rep: Reputation: 3
How do you deal with unreliable peers?


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.

Thanks,
OH
 
Old 07-04-2014, 05:46 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 09-14-2014, 02:09 PM   #3
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by dijetlo View Post
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.

Thanks,
OH
 
Old 09-14-2014, 02:37 PM   #4
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by dijetlo View Post
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.
 
  


Reply

Tags
ntpq



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending messages to peers. imagine_me2 Linux - Newbie 1 12-24-2009 12:58 PM
LXer: The Fourth ‘Patent Deal’ was with Europe… and the Sixth Deal That Won’t be LXer Syndicated Linux News 0 10-24-2007 03:40 PM
Azureus can't connect to seeds or peers EUIX Linux - Software 2 02-23-2006 01:01 PM
Sending messages to Windoze peers?? funkymunky Linux - General 8 03-11-2005 11:43 PM
FreeSwan: patch for Windows peers claeseke Linux - Networking 0 01-17-2003 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration