#13 don't bind multiple times to the same IP

closed
nobody
None
5
2014-01-04
2006-06-07
Anonymous
No

Racoon doesn't check for the case when there are
multiple network interfaces with the same IP address
on a host and tries to bind to the address as many
times as there are the interfaces with that address.
Obviously only the first attempt may succeed, the
others are reported as "failed to bind" errors.
This patch makes racoon to disregard multiple
occurences of an IP address and in consequence to try
to bind to every single IP address only once and thus
to avoid unnecessary "failed to bind" errors.
Michal Ruzicka
mruza@tiscali.cz

Discussion

  • Aidas Kasparas
    Aidas Kasparas
    2006-06-08

    Logged In: YES
    user_id=39627

    Michal,

    In what situation box can have the same ip address on
    several interfaces?

     
  • Logged In: YES
    user_id=851214

    when you configure VPN according to FreeBSD handbook
    http://www.freebsd.org/doc/en_US.ISO8859-
    1/books/handbook/ipsec.html

    the gif inetrfaces will have such an addresses. For example
    below is couple of interfaces of my box:

    vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
    mtu 1500
    inet 192.168.10.1 netmask 0xffffff00 broadcast
    192.168.10.255

    ...
    gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1440
    tunnel inet A.B.C.D --> E.F.G.H
    inet 192.168.10.1 --> 192.168.20.1 netmask
    0xffffffff

     
  • Timo Teras
    Timo Teras
    2009-01-16

    Closing all sourceforge.net bugs. If this issue has not been cared for please submit a new bug report to https://trac.ipsec-tools.net/ issue tracker. Thank you.

     
  • Timo Teras
    Timo Teras
    2009-01-16

    • status: open --> closed