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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0609150833170.19096@yvahk01.tjqt.qr>
Date:	Fri, 15 Sep 2006 08:36:09 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Sven-Haegar Koch <haegar@...net.de>
cc:	xixi lii <xixi.limeng@...il.com>,
	Linux-Kernel-Mailinglist <linux-kernel@...r.kernel.org>
Subject: Re: UDP question.


>> bind socket1.network adapter1...
>> bind socket2 network adapter2

> I am not really sure, but I think the bind to an adapter under linux only
> chooses the source ip, not really the adapter used to send the packets.

To explicitly send things through a specific interface, you need to use 
some magic, like PF_RAW. ping for example is one program that will do 
this (-I option).

> Did you check that the two destination ips have routes through different
> interfaces, and not go out through the same one?

One cannot have the same subnet on multiple interfaces, because ARP 
queries will only be sent through the first one. You need br0 (or bond0 
- depending on how you plan to plan your network) to make them one 
interface.


Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ