[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #60607] IP traffic "leaks" between netifs

From: Patrik Lantto
Subject: [lwip-devel] [bug #60607] IP traffic "leaks" between netifs
Date: Mon, 17 May 2021 07:23:00 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.56

Follow-up Comment #4, bug #60607 (project lwip):

[comment #2 comment #2:]
> This is standard IP stack behaviour. Keep in mind the same happens for all
outgoing packets.

I realize now I should have read RFC 1122 before stating that this was a
"faulty behaviour" - it is as you say standard for "weak host model" stacks.
It was me that expected the "strong host model", and it is rather a feature
request to support this model.

Perhaps the best way forward here is to add a setting LWIP_STRONG_HOST_MODEL
(defaulting to 0) and put that around parts of the code netif search code in
ip4_input as well as for the routing (which would now be src aware routing if
I understand correctly).

If your patchset would be available, that would obviously help - otherwise I
can volunteer creating a patch for review.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]