Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

UNIX is many things to many people, but it's never been everything to anybody.


devel / comp.protocols.time.ntp / Specify IP for outgoing sync

SubjectAuthor
* Specify IP for outgoing syncBlažej Krajňák
`- Re: Specify IP for outgoing syncDavid Woolley

1
Specify IP for outgoing sync

<b7f70ec0-eae0-4ca2-b82f-9ff6e5643ea4n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=441&group=comp.protocols.time.ntp#441

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ac8:7dd3:0:b0:35c:c054:de8e with SMTP id c19-20020ac87dd3000000b0035cc054de8emr9208qte.194.1664403240331;
Wed, 28 Sep 2022 15:14:00 -0700 (PDT)
X-Received: by 2002:a05:620a:254e:b0:6c9:cc85:c41a with SMTP id
s14-20020a05620a254e00b006c9cc85c41amr219164qko.260.1664403240137; Wed, 28
Sep 2022 15:14:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Wed, 28 Sep 2022 15:13:59 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:6ca3:800:0:7d06:5400:d31d:dc23;
posting-account=i9CwBAgAAABOUvYol03US8_cWl-Rby9L
NNTP-Posting-Host: 2a02:6ca3:800:0:7d06:5400:d31d:dc23
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b7f70ec0-eae0-4ca2-b82f-9ff6e5643ea4n@googlegroups.com>
Subject: Specify IP for outgoing sync
From: blazej.krajnak@gmail.com (Blažej Krajňák)
Injection-Date: Wed, 28 Sep 2022 22:14:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1502
 by: Blažej Krajňák - Wed, 28 Sep 2022 22:13 UTC

Hi there,

I read the documentation a few times but can not find if it's possible to spcify IP for outgoing connections?

I have server with multiple IP addresses and I need to specify the concrete one to be used to sync with servers/peers. For now, ntpd selects one of the listening interfaces (still the same one, but I can not determine why this one).

Thanks,
Blažej

Re: Specify IP for outgoing sync

<th3pji$kpg4$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=443&group=comp.protocols.time.ntp#443

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: david@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Specify IP for outgoing sync
Date: Thu, 29 Sep 2022 10:47:29 +0100
Organization: No affiliation
Lines: 13
Message-ID: <th3pji$kpg4$1@dont-email.me>
References: <b7f70ec0-eae0-4ca2-b82f-9ff6e5643ea4n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Thu, 29 Sep 2022 09:47:30 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="dd125f680a14312af42cebb22d1c265a";
logging-data="681476"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NXo2/4Y6LPVB45he6+gEhLaTGxLyg+Z4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Cancel-Lock: sha1:HQqSRYM2rHLCcv15RKzen9u7/ew=
Content-Language: en-GB
In-Reply-To: <b7f70ec0-eae0-4ca2-b82f-9ff6e5643ea4n@googlegroups.com>
 by: David Woolley - Thu, 29 Sep 2022 09:47 UTC

On 28/09/2022 23:13, Blažej Krajňák wrote:
>
> I read the documentation a few times but can not find if it's possible to spcify IP for outgoing connections?
NTP uses UDP, which is connectionless.
>
> I have server with multiple IP addresses and I need to specify the concrete one to be used to sync with servers/peers. For now, ntpd selects one of the listening interfaces (still the same one, but I can not determine why this one).
I would imagine you could do it at the OS level, by ensuring you have
(static) routes to the remote address via specific interfaces. I can't
think why ntpd would bind to anything other than 0.0.0.0.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor