[chrony-dev] Re: chrony 3.4+ on multihomed machines forces wrong interface |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] Re: chrony 3.4+ on multihomed machines forces wrong interface
- From: Arkadiusz Miśkiewicz <arekm@xxxxxxxx>
- Date: Tue, 28 Apr 2020 11:57:31 +0200
- Autocrypt: addr=arekm@xxxxxxxx; keydata= xsDiBDeGM8wRBACW2q58aSCXXgb1PSVOGSFAiQkh0J8mZO+eSawdkogv/J0W8fNWhtNuEYob czQUMZBe7GRD9KkeDROQx34agK7qWAhs3U5U1sPlczrxbwrsD0DbfKzCflEVxWL3QNy9IWZU ydHaoDSELvj55kIim+sVo1A2JeO1gZXDqYHOuZdTRwCg2u70NYS27Vks8MFroCHht6oeSo0D /02tBomjVzEluOQjGVG+Rg43y8vaMET8mHdc/aF4YMAv8VOgPQM6ztq68l2ze2t9Cx2g6klR laAFtECw8XtNlsZ3PH0ORfjqnNJ0gmMqUAcBVuZiTKh1E6J9aQVgf1ea6LPtu+YSKvLYTuYe YhQzVOsisYwT0eEMXfU5ywN8AQRnBACI7athvJ5mCyb10S/LoWguM7qIc2GxiDbKO+LCDIYr kIBDn6ElQUgBnBUeHoyMNWBQjR1JLY54gTj7SiOREAEmhS25edDuRmSjQQmWVFoMPzzfenHE CE36uBKVKG+PJitWfxNApSiaAWcKfOEiqfU8GQvMzflin/VB5MVJI4+SNs0lQXJrYWRpdXN6 IE1pc2tpZXdpY3ogPGFyZWttQG1hdmVuLnBsPsJgBBMRAgAgBQJHDIO6AhsDBgsJCAcDAgQV AggDBBYCAwECHgECF4AACgkQDKKLJD2xm71zowCgritIRHeLNGhqaEuOhfOXbpRGwLMAn2Se yUO91zgcK9Cr+bD4hYAL6OjyzsNNBEcMn/EQEAClMXJwoqfmUGD4uxv81dbgpIYbArGCsEfZ 7guiFI35HPcKNohtfttwywulHmM9i04yUAylBLuAq8HN08zJ2s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+wbYnKscy5O2ErHAA308thjsth4AH9 3W72+L7vGJuAEcyG2d+s8pV6y2qVD6NIa7vCAMmcfqmF/Q1bzuhnUqt021agMfq4FihrKRfS z99SsNIFV8L209GMiWxeaQ6tWsA5nq1iizjmevpAsuM6V1Taxz4XNXd+uDkoS1gvUf7Nns2b 4bmT4a/mWWx1HgBp8L2T+0FJcnSZz9slWL1LjAt3DJPCSQQYEQIACQUCRwyf8QIbDAAKCRAM ooskPbGbveW8AKCg16mRAW7pWxVNifB32ebrtfrbOwCcCN1QEiO9ipQVIGQPN0UJdZvzvzQ=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maven.pl; s=maven; h=subject:from:to:references:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vHBc5ZphAIY3of3D2JhLkwSBP3p2WZ3pMwOASyoQfTc=; b=CD+9utqvvXFeDfph//moSRZh1u/qYPHKWVEwVGSOerwa4l0EFGwgw2pBqP4xmqbTDd e3NQAYqdSA3Sopmd++nqdVmU+x8sZOFf0aONTsTd3LttetP3//gUCxBr4cf5SOPaHjqf /GMw25+D9m+pwlrBuoX3Eki1WVRxXud6Ho42w=
On 28/04/2020 11:43, Arkadiusz Miśkiewicz wrote:
> Now why kernel discards such sendmsg() without immediate error - no idea.
This is about similar problem and explains things
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781732
Anyway forcing interface index looks to be wrong (bypasses routing
table) solution to problem which that commit tried to fix.
>
> 5fc7674e366fa1bfda162bdaba57243cff0a55a7 is the first bad commit
> commit 5fc7674e366fa1bfda162bdaba57243cff0a55a7
> Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
> Date: Wed Aug 29 10:56:14 2018 +0200
>
> ntp: set interface index in IP*_PKTINFO when responding
>
> When a server with multiple interfaces in the same network is sending a
> response, setting the ipi_spec_dst/ipi6_addr field of the IP*_PKTINFO
> control message selects the source address, but not necessarily the
> interface. The packet has the expected source address, but it may be
> sent by an interface that doesn't have the address.
>
> Set the ipi_ifindex/ipi6_ifindex field to respond on the same interface
> as the request was received from to avoid asymmetries in delay and
> timestamping.
>
> ntp_io.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.