Public bug reported:

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/psk.txt";

remote 192.168.0.1
{
        exchange_mode main;
        proposal {
                encryption_algorithm 3des;
                hash_algorithm sha1;
                authentication_method pre_shared_key;
                dh_group modp1024;
        }
        generate_policy off;
}

sainfo address 192.168.1.2 any address 0.0.0.0/0 any
{
        pfs_group modp1024;
        encryption_algorithm rijndael, blowfish, 3des;
        authentication_algorithm hmac_sha1, hmac_md5;
        compression_algorithm deflate;
}

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/192.168.1.2-192.168.0.1/use;
spdadd 0.0.0.0/0[67] 192.168.1.2[68] any -P in ipsec
  esp/tunnel/192.168.0.1-192.168.1.2/use;
spdadd 192.168.1.2 0.0.0.0/0 any -P out ipsec
  esp/tunnel/192.168.1.2-192.168.0.1/require;
spdadd 0.0.0.0/0 192.168.1.2 any -P in ipsec
  esp/tunnel/192.168.0.1-192.168.1.2/require;


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.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
setkey makes program not running anymore
https://bugs.launchpad.net/bugs/147118
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to