|
|
Bind Address
Hi.
I use debian (sarge) ntpd. I installed it and it work ok, but I have a small problem with configuration.
By default ntpd listen on all aviable interfaces.
Netstat show:
# netstat -at |grep time
tcp 0 0 *:time *:* LISTEN
How I can change it ?
I have a few ethX card and I want to set up ntpd only to eth0 ip address and lo interface.
--
I greet
Wieslaw
|
|
0
|
|
|
|
Reply
|
Wiesiek
|
9/13/2004 10:00:47 AM |
|
On 2004-09-13, Wiesiek <roxik@op.pl> wrote:
>
>I use debian (sarge) ntpd.
This version?
||/ Name Version Description
+++-==============-==============-============================================
ii ntp 4.2.0a-11 Network Time Protocol: network utilities
> By default ntpd listen on all aviable interfaces.
This can't be changed at this time.
> I have a few ethX card and I want to set up ntpd only to eth0 ip
> address and lo interface.
Use restrict lines in your /etc/ntp.conf to control access.
--
Steve Kostecke <kostecke@ntp.org>
|
|
0
|
|
|
|
Reply
|
Steve
|
9/13/2004 2:04:20 PM
|
|
Wiesiek <roxik@op.pl> wrote in message news:<mailman.21.1095082389.26599.questions@ntp.org>...
> Hi.
>
> I use debian (sarge) ntpd. I installed it and it work ok, but I have a small problem with configuration.
>
> By default ntpd listen on all aviable interfaces.
> Netstat show:
> # netstat -at |grep time
> tcp 0 0 *:time *:* LISTEN
>
> How I can change it ?
> I have a few ethX card and I want to set up ntpd only to eth0 ip address and lo interface.
Well you could start by actually looking at the right port. You shouldn't
be looking at time (port 37) you should be looking at ntp (port 123).
ntpd does not use TCP, it only uses UDP.
Right now there is no way to limit the interfaces being used. That's
a feature on our list of things to be done.
Danny
|
|
0
|
|
|
|
Reply
|
mayer
|
9/14/2004 4:41:46 AM
|
|
> This version?
[...]
> ii ntp 4.2.0a-11 Network Time Protocol: network utilities
Yes. This version.
> > By default ntpd listen on all aviable interfaces.
> This can't be changed at this time.
Is a some chance to add this feature in next version ?
> Use restrict lines in your /etc/ntp.conf to control access.
Yes of course. I restrict right now be iptables rules.
But, this deamon is only one listen on all interfaces.
Thanks for answer.
--
I greet
Wieslaw
|
|
0
|
|
|
|
Reply
|
Wiesiek
|
9/14/2004 6:58:32 AM
|
|
> Is a some chance to add this feature in next version ?
If it's more important for you than most other features of ntpd,
you can try OpenNTPd. It's a minimalist ntp server, still very young and
with much less sophisticated time-tracking algorithms.
It only binds to the interfaces you tell it to bind to.
Stefan
|
|
0
|
|
|
|
Reply
|
Stefan
|
9/14/2004 1:39:03 PM
|
|
Stefan Monnier <monnier@iro.umontreal.ca> wrote in message news:<jwvpt4pq8e4.fsf-monnier+comp.protocols.time.ntp@gnu.org>...
> > Is a some chance to add this feature in next version ?
>
> If it's more important for you than most other features of ntpd,
> you can try OpenNTPd. It's a minimalist ntp server, still very young and
> with much less sophisticated time-tracking algorithms.
> It only binds to the interfaces you tell it to bind to.
>
Just a warning here. It is not really an ntp server. You might call
it an sntp server at best, but it has none of the built in careful
checking that the ntp server does. All it does is serve up it's own
time to other systems.
Danny
>
> Stefan
|
|
0
|
|
|
|
Reply
|
mayer
|
9/15/2004 2:36:46 AM
|
|
|
5 Replies
315 Views
(page loaded in 0.055 seconds)
Similiar Articles: Bind Address - comp.protocols.time.ntpHi. I use debian (sarge) ntpd. I installed it and it work ok, but I have a small problem with configuration. By default ntpd listen on all aviable i... bind: Address already in use - comp.unix.solarisinetd is trying to bind to a port, but some application is already bound to those ports. Check your inetd.conf and comment out these things (time and telnet) if you ... i need help fixing a "cannot bind to address" error - comp ...hi! I desperately need help fixing this error! When i run apache as a console, it closes in a few seconds and i couldn't catch the message. i then ... Bind to port 22 on 0.0.0.0 failed: Address already in use - comp ...I have a few dozen servers at work that reboot every week. On one of them, sshd could not start. Feb 28 00:04:51 WORK_SERVER_NAME sshd[5465]: S... why there is still bind error:address already in use - comp.unix ...i write a program with socket. and i have used the function setsockopt(listenfd , SOL_SOCKET , SO_REUSEADDR , &opt , sizeof(opt)), but there is still ... bind ntpd to a specific adress - comp.protocols.time.ntp ...Hi, I am trying to set up a jail environment on one of my FreeBSD Servers and I am asking if it is possible to bind ntpd to a specific IP address ???... can not received broadcast message in linux 7.1 - comp.unix ...If I bind the address with INADDR_ANY, I can receive the broadcast message. But if I bind with ipaddess with my netcard with the ip 192.168.0.33, then I can not receive ... IPv6 addresses in mysql databases - comp.databases.mysql ...change mysql from localhost to host name - comp.databases.mysql ..... 77-osx10.4-powerpc/data tmpdir =3D /tmp language =3D /usr/share/mysql/English bind-address ... Getting an available port number[Newbie] - comp.unix.solaris ...Most of the time, you probably don't want to bind the local address at all; that lets the system pick the appropriate one in case there are multiple interfaces. How can I get the IP address from domain?Is any C/C++ API for it ...How can I get the IP address from domain?Is any C/C++ API for it? Follow ... compilers.lcc It determines if there are any IP options ... // Get the bind address ... Bind: Address Already in Use - Harvard UniversityBind: Address Already in Use Or How to Avoid this Error when Closing TCP Connections Normal Closure In order for a network connection to close, both ends have to send ... 7/24/2012 3:07:48 PM
|
|
|
|
|
|
|
|
|