Networking Forums

Networking Forums > Computer Networking > Linux Networking > error with multiple SAs (and a Cisco router)

Reply
Thread Tools Display Modes

error with multiple SAs (and a Cisco router)

 
 
Edu
Guest
Posts: n/a

 
      12-10-2006, 10:14 AM
Hi all,

When racoon initiates, the tunnel is successfully established and
everything works OK, but when soft time expires, racoon establishes a
new SA, keeping the old one active (state:dying during the rest of hard
time). The
other end (a Cisco router) uses the new SA, so its packets are
successfully received, but the Linux router sends frames with the old
SA, and they are ignored at the Cisco router (as I suspect; I don't
have admin access to the Cisco router).

Cisco sends frames with the new spi, and at the same time, sends:
4.3.2.1.500 > 1.2.3.4.500: isakmp: phase 2/others ? inf[E]
in response to the frames the linux sends with the old spi. Afterwards
(and before hard
time expires) the router starts sending frames with the new SA and it
works again.


Is there something wrong in my configuration? (I use ipsec-tools 0.6.6)

racoon.conf ------------------------------
listen {
isakmp 1.2.3.4 [500];
isakmp_natt 1.2.3.4 [4500];
}

remote 4.3.2.1 {
exchange_mode main;
peers_identifier address;
my_identifier address;
nat_traversal on;
passive off;
proposal {
encryption_algorithm des;
hash_algorithm md5;
authentication_method pre_shared_key;
dh_group 1;
lifetime time 10000 sec;
}
}

sainfo address 1.2.3.4/32[any] any address 4.3.2.1/32[any] any {
lifetime time 3600 sec;
encryption_algorithm des;
authentication_algorithm hmac_md5;
compression_algorithm deflate;
}

ipsec-tools.conf--------------
spdadd 1.2.3.4 4.3.2.1 any -P out ipsec esp/transport//unique;
spdadd 4.3.2.1 1.2.3.4 any -P in ipsec esp/transport//unique;


another question: Should I set explicitly a fwd policy for packets
forwarded to the tunnel? (I realized that fwd policies for packets
FROM the tunnel are automatically generated)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: Cisco AP 1131 -- "Unsupported device type" error in Cisco NetworkAssistant x13 Wireless Internet 2 12-02-2007 07:54 PM
Cisco BR-350 Bridge setup -- Any Help with Error Messages - Associations?? ,, thanks Bob Smith Wireless Internet 4 09-15-2006 01:12 AM
Adding a wireless router to an existing network with Cisco router Michael Erb Wireless Internet 12 04-05-2006 01:26 AM
Multiple defalut gateways error while changing IP address trueman Windows Networking 7 11-03-2005 08:01 AM
Multiple subnets over Cisco Wireless Bridge - BR350's Josh Gasber Wireless Internet 2 03-05-2004 02:15 AM



1 2 3 4 5 6 7 8 9 10 11