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] [day] [month] [year] [list]
Message-Id: <20080625.050445.30187899.yoshfuji@linux-ipv6.org>
Date:	Wed, 25 Jun 2008 05:04:45 +0900 (JST)
From:	YOSHIFUJI Hideaki / 吉藤英明 
	<yoshfuji@...ux-ipv6.org>
To:	nooiwa@...aclelinux.com
Cc:	netdev@...r.kernel.org, usagi-users@...ux-ipv6.org,
	yoshfuji@...ux-ipv6.org
Subject: Re: ping6 is sent out from wrong interface

In article <485B0B1D.5000603@...aclelinux.com> (at Fri, 20 Jun 2008 10:42:53 +0900), Naohiro Ooiwa <nooiwa@...aclelinux.com> says:

> The ping packets were sent out from "eth0"(00:19:d1:19:23:af),
> but IPv6 address was "eth1"(2001:2c0:418:2::2).
> Why is interface "eth0".  Isn't it bug ?
> 
> The following is additional information.
> 
>     # ifconfig eth0
>     eth0      Link encap:Ethernet  HWaddr 00:19:D1:19:23:AF
>               inet addr:10.1.0.161  Bcast:10.1.255.255  Mask:255.255.0.0
>               inet6 addr: 2001:2c0:418:1::1/64 Scope:Global
>               inet6 addr: fe80::219:d1ff:fe19:23af/64 Scope:Link
>               ::::::
>     # ifconfig eth1
>     eth1      Link encap:Ethernet  HWaddr 00:10:18:0E:0C:B4
>               inet addr:172.16.255.200  Bcast:172.16.255.255  Mask:255.255.0.0
>               inet6 addr: 2001:2c0:418:2::2/64 Scope:Global
>               inet6 addr: fe80::210:18ff:fe0e:cb4/64 Scope:Link
>               ::::::

-I does not specify interface strictly but source address.
Which means, if you just specify an address, interface is unspecified.
You can give "-I eth1", too.

BTW, we should accept '-I fe80::1%eth0', maybe.

--yoshfuji
--
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