setkey makes program not running anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Since the las few days I have a problem with Gutsy (amd64)
When using setkey and racoon to set up an ipsec connection to a wifi network, after loading the ipsec.conf file, I am unable to run _any_ other program, meaning that I am unable to log on TTY1 (unable to run a shell) but the programs that were running are still running and responding.
Here is my configuration for ipsec :
racoon.conf :
path pre_shared_key "/etc/racoon/
remote 192.168.0.1
{
proposal {
}
}
sainfo address 192.168.1.2 any address 0.0.0.0/0 any
{
pfs_group modp1024;
}
ipsec.conf
#!/usr/sbin/setkey -f
spdflush;
spdadd 192.168.1.2[68] 0.0.0.0/0[67] any -P out ipsec
esp/tunnel/
spdadd 0.0.0.0/0[67] 192.168.1.2[68] any -P in ipsec
esp/tunnel/
spdadd 192.168.1.2 0.0.0.0/0 any -P out ipsec
esp/tunnel/
spdadd 0.0.0.0/0 192.168.1.2 any -P in ipsec
esp/tunnel/
and here are the command I used to type in order to initiate the tunnel :
modprobe esp4
setkey -F
setkey -P -F
dhclient eth1
setkey -f /etc/ipsec.conf
/etc/init.d/racoon restart
The problem now occurs just after the line setkey -f /etc/ipsec.conf
I know that there is probably a lot of information missing, but now I just don'nt know where to seek for it, event thought I would suspect a problem in the kernel.
I think I have a similar problem, but I've discovered it in a different way. My specific problem is related to KVpnc and using it to connect to my company vpn. The problem is that the authentication method "hmac_sha1" is now (in Gutsy) no longer available (from where ever). In the code posted, I notice that you are attempting to use the same authentication method.