lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 4 Apr 2014 18:42:29 +0400
From:	"Ilya V. Matveychikov" <i.matveychikov@...uritycode.ru>
To:	David Miller <davem@...emloft.net>, <matvejchikov@...il.com>
CC:	<netdev@...r.kernel.org>
Subject: Re: [RFC PATCH] veth: keep peers MTU values synchronized

On 04.04.2014 18:25, David Miller wrote:
> From: "Ilya V. Matveychikov" <matvejchikov@...il.com>
> Date: Fri, 04 Apr 2014 01:33:04 +0400
> 
>> Keep peers MTU values synchronized. That prevent dropping packets
>> while
>> forwarding as diffirent MTU values prevent skb moving from one peer's
>> device to another (is_skb_forwardable returns false).
>>
>> Signed-off-by: Ilya V. Matveychikov <i.matveychikov@...uritycode.ru>
> 
> Such side effects on another device when changing the configuration
> of one are strongly discouraged.
> 

Devices are paired. It means that one depends on another. Is there any case
where this "side" effect wouldn't be helpful?

> Furthermore, when the veth peer is created, no attempt is made to
> synchronize the MTUs.

Peers are created at once and ether_setup used for the configuration so MTU
values equals.

> 
> Let it therefore be the admins responsibility to keep them in sync
> just as it would be on a real network.
> 
> 

Different MTU values for the veth pairs are meaningless as if so we can't do the
communication between the namespaces at all. So, is it correct to shift all the
configuration problems to admins?

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ