Bug 189878 - Racoon uses incorrect source address on interfaces with multiple addresses
Summary: Racoon uses incorrect source address on interfaces with multiple addresses
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: ipsec-tools
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steve Conklin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-25 14:13 UTC by Matt Dainty
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-19 18:44:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to fix behaviour (496 bytes, patch)
2006-04-25 14:13 UTC, Matt Dainty
no flags Details | Diff

Description Matt Dainty 2006-04-25 14:13:43 UTC
Description of problem:

The bug and behaviour is documented here:

http://sourceforge.net/mailarchive/message.php?msg_id=9638641

The patch was accepted and the change is still present in the latest 0.6.5 release.

Applying the patch and rebuilding 0.2.5-0.7 fixed this exact same issue for me
where racoon was using the wrong address on an interface with multiple addresses
configured. This broke identity protection ("verify_identifier yes" in
racoon.conf) which was using the IP address as the identifier.

I'll attach the patch for completeness.

Version-Release number of selected component (if applicable):

0.2.5-0.7
(0.3.3-6 in RHEL4 doesn't contain the fix either so I suspect is also vulnerable)

How reproducible:

Always on a particular machine, although some machines weren't affected,
possibly due to the order the addresses were configured on the interface. Not
entirely sure.

Steps to Reproduce:
1. Assign multiple addresses to an interface used by racoon to establish IPSEC
connection, preferably with identify protection enabled
2. Watch UDP/500 packets leave the interface
  
Actual results:
Packets have an incorrect source address which leads to them not matching any
known configuration on the remote peer, which can cause identify protection to fail.

Expected results:
Packets should have the correct source address

Additional info:

Comment 1 Matt Dainty 2006-04-25 14:13:43 UTC
Created attachment 128202 [details]
Patch to fix behaviour

Comment 2 Red Hat Bugzilla 2007-07-20 00:43:10 UTC
change the owner of ipsec-tools

Comment 3 RHEL Program Management 2007-10-19 18:44:59 UTC
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
 
For more information of the RHEL errata support policy, please visit:
http://www.redhat.com/security/updates/errata/
 
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.


Note You need to log in before you can comment on or make changes to this bug.