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-next>] [day] [month] [year] [list]
Date:	Thu, 02 May 2013 20:31:59 +0200
From:	Juliusz Chroboczek <jch@....jussieu.fr>
To:	netdev@...r.kernel.org
Subject: RTA_SRC doesn't work?

Dear all,

We're trying to get RTA_SRC to work, and failing, both in IPv4 and
IPv6.  (We tried with Debian's kernels 3.2 and 3.8).  There are good
reasons why we want to avoid using multiple routing tables, so we'd
really like it to work, at least for v6.

In v4, RTA_SRC appears to be completely ignored:

  $ sudo ip route add default from 172.23.36.54/32 dev eth0
  RTNETLINK answers: File exists
  $

In v6, RTA_SRC appears to be passed to the kernel, but these routes
appear to be unused by the kernel:

  $ sudo ip -6 addr add fd51:92c5:dd08:0::1 dev eth0
  $ sudo ip -6 route add default from fd51:92c5:dd08::/48 dev eth0 via fe80::ea11:32ff:fecf:2dc2
  $ ip -6 route show default
  default from fd51:92c5:dd08::/48 via fe80::ea11:32ff:fecf:2dc2 dev eth0  metric 1024 
  $ telnet 2a00:1450:4007:809::1014
  Trying 2a00:1450:4007:809::1014...
  telnet: Unable to connect to remote host: Network is unreachable

Has anyone been able to make this work?  Any help?

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