Help! ipsec not talking IKE
From: Colin McKinnon (colin.deletethis_at_andthis.mms3.com)
Date: 11/15/04
- Next message: Gandalf Parker: "Re: How do I eliminate "password is based on dictionary" message"
- Previous message: General Schvantzkoph: "Re: SSH vs encrypted passwords"
- Next in thread: erik: "Re: Help! ipsec not talking IKE"
- Reply: erik: "Re: Help! ipsec not talking IKE"
- Reply: Gregory W Zill: "Re: Help! ipsec not talking IKE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 15 Nov 2004 15:21:58 +0000
Hi All,
I'm trying to get ipsec working (TOTAL ipsec newbie). I'm trying to get a
host-to-host setup, with a PSK going as a test/proof of concept. Both
machines are on the same subnet, but to avoid interfering with what's
happenning currently, I've setup aliases on the two machines on a new
subnet (ifconfig eth0:1 netmask 255.255.255.0 192.168.2.1 and ....2).
Before I startup ipsec, I can ping and ssh across the link so traffic seems
to be moving OK. But when I start ipsec on both ends, it does not seem able
to negotiate keys.
I've tried switching off the firewall at both ends to no avail, both
machines are listening on port 500.
Anybody any ideas?
(full details below)
TIA,
C.
Error message is:
Nov 15 13:27:45 glasgow ipsec__plutorun: 031 "test" #1: max number of
retransmissions (2) reached STATE_MAIN_I1. No acceptable response to our
first IKE message
Nov 15 13:27:45 glasgow ipsec__plutorun: 000 "test" #1: starting keying
attempt 2 of at most 5, but releasing whack
Nov 15 13:27:45 glasgow ipsec__plutorun: ...could not start conn "test"
Nov 15 13:28:55 glasgow pluto[21461]: "test" #4: max number of
retransmissions (2) reached STATE_MAIN_I1. No acceptable response to our
first IKE message
Nov 15 13:28:55 glasgow pluto[21461]: "test" #4: starting keying attempt 3
of at most 5
Nov 15 13:28:55 glasgow pluto[21461]: "test" #5: initiating Main Mode to
replace #4
ipsec.conf is as follows:
config setup
interfaces="ipsec0=eth0:1"
klipsdebug=none
plutodebug=all
plutoload=%search
plutostart=%search
uniqueids=yes
conn test
type=transport
right=192.168.2.1
rightid=192.168.2.1
left=192.168.2.2
leftid=192.168.2.2
leftnexthop=%direct
keyexchange=ike
keylife=8h
keyingtries=5
pfs=yes
rekeymargin=20m
rekeyfuzz=30%
auth=esp
authby=secret
auto=start
----------
I've not setup anything specific in DNS (my understanding is that this is
not needed for PSK).
Both machines have the following at the end of /etc/ipsec.secrets (after
unique RSA stuff):
192.168.2.2 192.168.2.1: PSK "MyTestSecret"
Both ends are running SuSE with Freeswan 1.99_0.9.34-93
- Next message: Gandalf Parker: "Re: How do I eliminate "password is based on dictionary" message"
- Previous message: General Schvantzkoph: "Re: SSH vs encrypted passwords"
- Next in thread: erik: "Re: Help! ipsec not talking IKE"
- Reply: erik: "Re: Help! ipsec not talking IKE"
- Reply: Gregory W Zill: "Re: Help! ipsec not talking IKE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|