[ntp:questions] Is there something with greater detail on "interface" besides the manpage?

Harlan Stenn stenn at ntp.org
Mon Feb 10 22:13:32 UTC 2014


Rick Jones writes:
> Rick Jones <rick.jones2 at hp.com> wrote:
> 
> > In particular, I have a situation with a system with a Very Large
> > (tm) and dynamic number of interfaces, which I think is causing the
> > ntpd to become Quite Unhappy (tm) (perhaps running out of
> > filedescriptors - 1024 being the current ulimit but that is just a
> > guess).  It simply goes "poof" without anything particularly
> > descriptive in syslog.
> 
> > Anyway, I really don't need/want it trying to listen on > 99% of
> > them, but I also have multiple systems whereon the name(s) of the
> > interfaces I do want ntpd to listen on may not be the same and a
> > Strong Desire (tm) to have the same config file everywhere.  They do
> > though share a common prefix and I was wondering if something like
> > "interface listen foo*" could be used.  Or, for that matter
> > "interface ignore bar*"
> 
> One thing I left-out, because it didn't dawn on me to mention it, is
> that almost all these interfaces are virtual.  Someone else
> pointed-out the -L option, which I have tried with success.

Rick,

-L only works on a few OSes and I'm inclined to deprecate it after we
release 4.2.8.

The ntp.conf file "interface" directive is the better choice.

It may not do a "pattern match" but that shouldn't be that hard to fix,
should a volunteer  feel like doing that.

H


More information about the questions mailing list