If you are running your servers in Amazon, it's possible that your VPC doesn't permit access to external NTP peers. In this case, you may follow directions to set up your own NTP server. These were the exact directions my sys admin predecessor followed for the VPC I inherited at my current job.
As it turns out, every one of the servers in our VPC needs external internet access and we configure that to route through a NAT. So, other than the security considerations of allowing traffic over port 123, there was no good reason to not rely on the public NTP peers. Great! So, that meant we could kill our internal NTP and save time and money by not hosting it.
So, how do you safely stop and shutdown your NTP server?
First up, the basics:
- Run a loop across all your servers and `grep 'server' /etc/ntp.conf | grep <ip|name>`. I just used a bash for-loop.
- If you have any matches. Use a similar bash loop to replace the conf file and `sudo service ntpd stop; sudo service ntpd stop`.
- Then run `ntpq -p` to confirm connections could be established with upstream peers.
- Check your image and the scripts that build them. If necessary, rebuild those.
Now you can feel pretty confident that everything you know about is configured properly. ...but what about what you don't know about?? Here's what I did:
- ssh ntp-server
- sudo service ntpd stop
- screen
- sudo nc -vulk -w 1 123
This sets up a dumb netcat UDP listener on NTP port 123. It will log all connections to the console. The `-w 1` is the only way I could contrive prevent the first connection from commandeering the process. It will time out the connection after 1 second; then combined with `-k`, it will keep listening for new connections. The screen is simply for the safety of knowing that this will keep running when I close my laptop, a.k.a. screen daemon.
Let this run for a day and if you see any traffic in there, you'll know the IP address of the server trying to get at you for NTP info.
Its a nice post.
ReplyDeleteBest Oracle Training in Bangalore
IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes. IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble.Final Year Projects for CSE
DeleteSpring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining .
Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai
The Angular Training covers a wide range of topics including Angular Directives, Angular Services, and Angular programmability.Angular Training
Nice article.
ReplyDeleteDigital Marketing Training In Bangalore
The author has so wonderfully enthralled the consideration of group of onlookers by this radiant blog.
ReplyDeleteResumeyard
myTectra Placement Portal is a Web based portal brings Potentials Employers and myTectra Candidates on a common platform for placement assistance
ReplyDeletevery useful info, and please keep updating........
ReplyDeletesobha dream gardens
ReplyDeleteNice blog..! I really loved reading through this article. Thanks for sharing such a
amazing post with us and keep blogging... iot training in chennai | iot training in chennai quora | iot training and placement in chennai | iot training center in chennai | best iot training centre in chennai
ReplyDeleteThe post good and really helpful for more stuff click on the link below.
shriram earth
Very nice post here thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
ReplyDeleteCheck out : Machine learning training in chennai
machine learning with python course in chennai
machine learning course in chennai
best training insitute for machine learning
Really useful information. Thank you so much for sharing.It will help everyone.Keep Post. RPA training in chennai | RPA Uipath training in chennai | RPA training in Chennai with placement
ReplyDeleteThank you for sharing your article. Great efforts put it to find the list of articles which is very useful to know, Definitely will share the same to other forums.
ReplyDeletebest openstack training in chennai | openstack certification training in chennai | linux openstack training in chennai | openstack training in chennai | Openstack certification course in chennai | best Openstack certification training in chennai | openstack course fees in chennai | openstack certification in chennai
Nice blog..! I really loved reading through this article. Thanks for sharing such a
ReplyDeleteamazing post with us and keep blogging... best angularjs training institute in chennai | angularjs training in omr | angular 4 training in chennai | angularjs training in omr
Having read this I thought it was really informative. I appreciate you spending some time and effort to put this content together. I once again find myself personally spending a lot of time both reading and commenting. But so what, it was still worth it!
ReplyDeleteAdvanced Java Institute In Marathahalli
Best Core Java Training in Bangalore
Best Selenium Training Institute in Bangalore
ReplyDeleteGet the most advanced Hadoop Course by Professional expert. Just attend a FREE Demo session.
call us @ 9884412301 | 9600112302
Hadoop training in chennai | Hadoop training in velachery
For security reasons, all possible measures must be taken in order to ensure the full operation of all the necessary parameters.
ReplyDeleteWhen using the right method, you will be able to follow all rules correctly. Thanks for the algoritm. We are waiting for the next piece.
ReplyDeleteNice post I have been searching for a useful post like this on salesforce course details, it is highly helpful for me and I have a great experience with this
ReplyDeleteSalesforce Training Chennai
nice article data-science training
ReplyDeleteHey, thanks for this great article I really like this post and I love your blog and also Check machine learning course in hyderabad at 360DIGITMG.
ReplyDelete360Digitmg machine learning course in hyderabad
Your blog is quite helpful to me and i am sure to others too. I appreciate your post, it is usually nice and contains useful information
ReplyDeleteHome elevators
Home lifts
Seen your gamer friends discussing dedicated game servers? Most serious games have considered investing in game servers at point or another. ark server hosting
ReplyDeleteMany homework on the continual hunt along with offstage on the road to winning. Definitely not attached, simple to-fall as a result of wayside; And not investigation, afterward into a path travel toward the black. https://serverbrowse.com/
ReplyDeleteYou've completed in excellent work. t suggest to my frtends ind personilly wtll certitnly dtgtt. t'm conftdent they'll be gitned from thts webstte. https://serverbrowse.com/
ReplyDeleteI have read your blog it is very helpful for us. I couldn't find any knowledge on this matter prior to. I would like to thanks for sharing this article here. please Do keep sharing more blogs like this.
ReplyDeleteIELTS Coaching in chennai
German Classes in Chennai
GRE Coaching Classes in Chennai
TOEFL Coaching in Chennai
spoken english classes in chennai | Communication training
Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
ReplyDeleteArtificial Intelligence Training in Chennai
Ai Training in Chennai
Artificial Intelligence training in Bangalore
Ai Training in Bangalore
Artificial Intelligence Training in Hyderabad | Certification | ai training in hyderabad
Artificial Intelligence Online Training
Ai Online Training
Blue Prism Training in Chennai
Really an informative blog...Thanks for sharing informative article with us...
ReplyDeleteIonic Training in Chennai
Ionic Training in Chennai
Blockchain Training in Chennai
iot training in bangalore
IoT Training in Chennai
Nice post. Thanks for sharing! I want people to know just how good this information is in your article. It’s interesting content and Great work. nice to read.
ReplyDeleteselenium training in chennai
selenium training in chennai
selenium online training in chennai
selenium training in bangalore
selenium training in hyderabad
selenium training in coimbatore
selenium online training
selenium training
super post and well notes
ReplyDeleteSoftware Testing Training in Chennai | Certification | Online
Courses
Software Testing Training in Chennai
Software Testing Online Training in Chennai
Software Testing Courses in Chennai
Software Testing Training in Bangalore
Software Testing Training in Hyderabad
Software Testing Training in Coimbatore
Software Testing Training
Software Testing Online Training
This is a wonderful article, Given so much info in it, Thanks for sharing. acte offers courses in new technologies and makes sure students understand the flow of work from each and every perspective in a Real-Time environment.PHP Training in Chennai
ReplyDeletePHP Online Training in Chennai
Machine Learning Training in Chennai
iOT Training in Chennai
Blockchain Training in Chennai
Open Stack Training in Chennai
Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.
ReplyDeleteoracle training in chennai
oracle training institute in chennai
oracle training in bangalore
oracle training in hyderabad
oracle training
oracle online training
hadoop training in chennai
hadoop training in bangalore
Nice blog..! I really loved reading through this article. Thanks for sharing such a
ReplyDeleteamazing post with us and keep blogging...
AWS Course in Chennai
AWS Course in Bangalore
AWS Course in Hyderabad
AWS Course in Coimbatore
AWS Course
AWS Certification Course
AWS Certification Training
AWS Online Training
AWS Training
Nice post I have been searching for a useful post like this on salesforce course details, it is highly helpful for me and I have a great experience with this.
ReplyDeleteacte reviews
acte velachery reviews
acte tambaram reviews
acte anna nagar reviews
acte porur reviews
acte omr reviews
acte chennai reviews
acte student reviews
its totaly depends upon you. if have good knowledge of OOPs then you can easily learn java and but if you you want to learn complete java course in 1 month and give only one hour to it then its littile bit diffcult. you should learn java from good sources.
ReplyDeleteJava Training in Chennai
Java Training in Bangalore
Java Training in Hyderabad
Java Training in Coimbatore
Java Training
[url=https://www.acte.in/java-training-in-chennai]Java Training in Chennai[\url]
thank you for the information
ReplyDeleteangular js course in chennai
angular course in chennai
angular js online course in chennai
angular js course in bangalore
angular js course in hyderabad
angular js course in coimbatore
angular js course
angular js online course
Nice article i found some useful information
ReplyDeleteCyber Security Training Course in Chennai | Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course |
CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course
Airlines are using it to predict weather condition and possible delays and to keep the passengers informed accordingly, while logistics companies like FedEx can discover best routes and best modes of transport to increase cost efficiency. data science course syllabus
ReplyDeleteWow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also.
ReplyDeletedata science course in India
You might comment on the order system of the blog. You should chat it's splendid. Your blog audit would swell up your visitors. I was very pleased to find this site.I wanted to thank you for this great read!!
ReplyDeleteArtificial Intelligence Course
Python training in bangalore
ReplyDeleteMachine learning course in bangalore
Data Science Online Course in Bangalore
Learn Storage Automation (Using Python) in Bangalore BTM
Cloud Computing Training in Bangalore BTM