Bug 79067 - Ntpd does not work with non-fixed interfaces
Ntpd does not work with non-fixed interfaces
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: ntp (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-05 05:12 EST by Jos Vos
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-12-05 05:12:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jos Vos 2002-12-05 05:12:26 EST
Description of Problem:
Ntpd seems to look only once, at startup time, to the local addresses for
binding purposes.  This means that you run into trouble with for example
ADSL/cable/dial-up PPP interfaces and with VPN tunnels, of which the interface
and address is available after ntpd startup.  NTP packets will then be generated
using a wrong source address (e.g., this might be a private address), which
might not work, either because of routing issues or by firewall blocks.

Version-Release number of selected component (if applicable):
4.1.1a-9 (applies to all versions I know).

Steps to Reproduce:
1. Set up a system with an 192.168.x.y address.
2. Do not enable masquerading.
3. Start ntpd.
4. Make a PPP connection with a default route.
5. Let ntpd talk to a public NTP server.

Actual Results:
Packets will be sent out with a 192.168.x.y address.

Expected Results:
Packats are sent out with the external PPP address.
Comment 1 Harald Hoyer 2002-12-05 05:19:31 EST
how about /sbin/service ntp restart in /etc/ppp/ip-up.local ??
I will not fix this. Please mail this "Request for Extension" to bugs@ntp.org, thx.
Comment 2 Jos Vos 2002-12-05 05:29:08 EST
Your ip-up.local hint is what already I did (as well as in
/etc/cipe/ip-up.local), although I used "condrestart" ;-).  But a more
structural solution would be better. Anyway, I will post the bug to bugs@ntp.org.

Note You need to log in before you can comment on or make changes to this bug.