SCIENTIFIC-LINUX-USERS Archives

June 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Fabien Wernli <[log in to unmask]>
Reply To:
Date:
Thu, 23 Jun 2005 09:43:07 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
On Thu, Jun 23, 2005 at 01:12:50PM +1000, Michael Mansour wrote:
> Hi,
> 
> When I run ntpd on SL3/4 and it listens on port 123 on all my interfaces,
> including virtual interfaces.
> 
> How can I tell it to only listen on a certain IP/certain interface only?
> 
> I've googled for this but can't find anything relevant.
> 
> Thanks.
> 
> Michael.

1) "geez my ntpd is listening on all interfaces. I don't like that. What can
   I do?"

#!/bin/bash

[ -f ~/mycoolfunctions] && . ~/mycoolfunctions

man ntpd >/dev/null

case $? in
	0) man ntpd;;
	*) echo "damn no man page eek I'll have to google then"
	   links http://www.google.com;;
esac

2) "geez found nothing on google"

echo "How can I tell ntp to only listen on a certain IP/certain interface \
only please" | mail -s ntpd\ listen\ on [log in to unmask]

ATOM RSS1 RSS2