From: Roman Zilka <rzilka@gvid.cz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] proper proxy syntax to synchronize time via rdate
Date: Sun, 2 Sep 2007 13:44:33 +0200 [thread overview]
Message-ID: <20070902134433.10554091.rzilka@gvid.cz> (raw)
In-Reply-To: <68b1e2610709010722l46315975sf2ded6f9c041fb9f@mail.gmail.com>
Hi Liviu,
it seems you're only allowed to access web, FTP and rsync services on
the Internet through your proxy. Both rsync and NTP use their own ports
and protocols, different from HTTP/FTP/rsync. Firstly, you need a proxy
server (or some other form of tunnel) that will allow for rdate/NTP
traffic between your computer and Internet.
Secondly, you have to configure rdate/NTP to make use of the proxy, but
AFAIK there's nothing like ntp_proxy or rdate_proxy env. variables
these programs would honor. Instead, timeserver proxies are more common
in the form of a local timeserver which sync's with an external
timesource and offers its services to the local network via standard
protocols. You would then sync time using this proxy directly, e.g.
"rdate -s timeproxy.localaddress.dom". Try asking around if there's such
a service available in your local network.
-Roman
> Hello everyone,
>
> I'm trying to synchronize the system time with the help of rdate
> (openNTPD is on the list in case of failure). I have one problem,
> though: I connect to the Internet through a proxy server. I have set
> up the necessary environment, but I doubt that rdate listens to it:
>
> localhost init.d # env | grep -i proxy
> http_proxy=proxy.address.dom:port
> ftp_proxy=proxy.address.dom:port
> rsync_proxy=proxy.address.dom:port
> https_proxy=proxy.address.dom:port
>
> localhost init.d # rdate pool.ntp.org
> rdate: couldn't connect to host pool.ntp.org: Connection refused
>
> Please advise on how to correctly specify the proxy server in the NTP
> server address. I am wondering if there is a syntax similar to
> proxy.address.dom:port@pool.ntp.org. Alternatively, how can I make
> rdate honour the proxy settings?
>
> Regards,
> Liviu
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-09-02 11:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-01 14:22 [gentoo-user] proper proxy syntax to synchronize time via rdate Liviu Andronic
2007-09-02 11:44 ` Roman Zilka [this message]
2007-09-02 12:17 ` Arturo 'Buanzo' Busleiman
2007-09-02 12:17 ` Arturo 'Buanzo' Busleiman
2007-09-03 8:00 ` Liviu Andronic
2007-09-03 10:01 ` Neil Bothwick
2007-09-03 10:56 ` Liviu Andronic
2007-09-03 18:48 ` Liviu Andronic
2007-09-03 19:32 ` Arturo 'Buanzo' Busleiman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070902134433.10554091.rzilka@gvid.cz \
--to=rzilka@gvid.cz \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox