specific interface (from: recvfrom(0.0.0.0) fd=51: Connection refused)

specific interface (from: recvfrom(0.0.0.0) fd=51: Connection refused)

Post by Frank Kard » Wed, 13 Sep 2006 21:18:53


Harlan Stenn < XXXX@XXXXX.COM > writes:

Maybe lines 101-105 in ntpd/cmd_args.c in ntp-stable ?
The code/option seems to serve two purposes (explicative suggested here).

A plain -L with no arg disables listening to virtual interfaces. If another
arg follows that is taken additionally as the interface to listen to.

Beautiful semantics!

Or, mm I looking at the wrong thing ?


Frank
 
 
 

specific interface (from: recvfrom(0.0.0.0) fd=51: Connection refused)

Post by Harlan Ste » Thu, 14 Sep 2006 07:12:26

Ah, it was not documented and I missed it in the converison.

I am perfectly happy separating this functionality into different switches.

H
Frank> In the stable distribution this is enabled with the -L argument.
Frank> Harlan, is there a reason why this was re-named ?

H> By my read it has not changed. -L means "Do not listen to virtual IPs"
H> and does not take an argument.

H> What am I missing?

Frank> Maybe lines 101-105 in ntpd/cmd_args.c in ntp-stable ? The
Frank> code/option seems to serve two purposes (explicative suggested here).

Frank> A plain -L with no arg disables listening to virtual interfaces. If
Frank> another arg follows that is taken additionally as the interface to
Frank> listen to.

Frank> Beautiful semantics!

Frank> Or, mm I looking at the wrong thing ?

 
 
 

specific interface (from: recvfrom(0.0.0.0) fd=51: Connection refused)

Post by maye » Thu, 14 Sep 2006 21:53:39


I thought you had done that. If that behavior is still on the -L switch
it should be put back to the old behavior (no arguments) and the -I
switch being the new option with a single argument.

Danny
_______________________________________________
questions mailing list
XXXX@XXXXX.COM
https://lists.ntp.isc.org/mailman/listinfo/questions