Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. Re: [PATCH] dhcp: Bind to interface when sending
      (Joakim Lotseng?rd)
   2. Re: [PATCH] dhcp: Bind to interface when sending (Daniel Wagner)


----------------------------------------------------------------------

Message: 1
Date: Mon, 16 Sep 2019 08:51:52 +0000
From: Joakim Lotseng?rd <[email protected]>
To: Daniel Wagner <[email protected]>, "[email protected]"
        <[email protected]>
Subject: Re: [PATCH] dhcp: Bind to interface when sending
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hi Daniel,

On 2019-09-02 08:48, Daniel Wagner wrote:
> On 8/26/19 4:41 PM, Joakim Lotseng?rd wrote:
>> Having two interfaces and one goes down, ConnMan previously sent a
>> DHCP-release only bound to srcIP (via bind), and dstIP, (via connect).
>> If an interface goes down, the Linux kernel will try to route the
>> packet any means possible. Effect was that it routed it out on the
>> other available interface. It might even SNAT the srcIP due to connman
>> NATing setup.
>>
>> The result was a very strange DHCP-release. A dstIP of an DHCP-server
>> that the incorect interface probably could not reach. A srcIP that
>> seemed correct (due to SNAT rule). An included address to release
>> inside the DHCP-release that was not the same as the srcIP, but rather
>> the actual IP to release.
>>
>> This fixes this via setsockopt(.., SO_BINDTODEVICE, ...) which binds
>> the socket to the specific interface name, and packets are not seen on
>> the incorrect interface anymore.
> 
> Patch applied.
> 

I can't see the patch (nor other patches that got answer "Patch 
applied") on 
https://git.kernel.org/pub/scm/network/connman/connman.git/. Latest 
change is 2019-08-19. Did you forget to push your local tree? Or have I 
missed something else?

--
Best regards,
Joakim Lotseng?rd


------------------------------

Message: 2
Date: Mon, 16 Sep 2019 11:33:55 +0200
From: Daniel Wagner <[email protected]>
To: Joakim Lotseng?rd <[email protected]>,
        "[email protected]" <[email protected]>
Subject: Re: [PATCH] dhcp: Bind to interface when sending
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Joakim,

On 16.09.19 10:51, Joakim Lotseng?rd wrote:
>> Patch applied.
> 
> I can't see the patch (nor other patches that got answer "Patch
> applied") on
> https://git.kernel.org/pub/scm/network/connman/connman.git/. Latest
> change is 2019-08-19. Did you forget to push your local tree? Or have I
> missed something else?

Yeah, I forgot to push. Sorry about that. I don't have access to this 
machine till Friday. Conference saison...

Thanks,
Daniel


------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 47, Issue 8
**************************************

Reply via email to