[prev in list] [next in list] [prev in thread] [next in thread]
List: systemd-devel
Subject: Re: [systemd-devel] Why contacting a 'random address' is necessary
From: "Harry G. Coin" <hgcoin () gmail ! com>
Date: 2021-04-23 14:29:03
Message-ID: d9c40b06-6a9d-1de7-4134-6eba1d320090 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On 4/22/21 11:00 AM, Mantas Mikul=C4=97nas wrote:
> ...
> I'm curious about what brought this problem into existence in the
> first place. Why *is* it necessary to contact a random address within
> the network? (If it's to check that the physical interface is working,
> then just the fact that you somehow acquired a lease would be enough. n=
o?)
>
The only non-destructive way I've found to test whether a real or
virtual nic interface computes packet checksums properly is to send a
small packet to a random address temporarily added to the suspect
interface.=C2=A0 If a bad udp checksum is detected, invert
tx-checksum-ip-generic.
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 4/22/21 11:00 AM, Mantas Mikulėnas
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPWNY8X_ZRsQd6ijH+um+FnfWRV5BrFA-SawxRydEAzWuZDQvA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_quote">...<br>
<div>I'm curious about what brought this problem into
existence in the first place. Why *is* it necessary to
contact a random address within the network? (If it's to
check that the physical interface is working, then just the
fact that you somehow acquired a lease would be enough. no?)</div>
</div>
<div><br>
</div>
</div>
</blockquote>
<p>The only non-destructive way I've found to test whether a real or
virtual nic interface computes packet checksums properly is to
send a small packet to a random address temporarily added to the
suspect interface. If a bad udp checksum is detected, invert
tx-checksum-ip-generic.</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic