From: Brian S. <sch...@gm...> - 2007-01-23 19:16:00
|
I am using the 0.7 CVS tag of ipsec-utils, and when I try to establish a connection to a Cisco VPN 3000 Concentrator Version 4.1.7.E, and when it gets to the xauth Username and Password part racoon seg faults. Is this a known bug, or can anyone tell me what I am doing wrong? Here are my configs... racoon.conf... path pre_shared_key "/etc/racoon/psk.txt"; listen { adminsock "/usr/local/var/racoon/racoon.sock" ; } remote xxx.xxx.xxx.xxx { exchange_mode aggressive; my_identifier user_fqdn "group_name"; xauth_login "username"; mode_cfg on; dpd_delay 20; script "/etc/racoon/script.pl" phase1_up; proposal { encryption_algorithm 3des; hash_algorithm md5; authentication_method xauth_psk_client; dh_group 2; } } sainfo anonymous { encryption_algorithm 3des; authentication_algorithm hmac_md5; compression_algorithm deflate; } Here is my psk.txt... xxx.xxx.xxx.xxx group_password group_name group_password username password Here is the end of the log when I start racoon as 'racoon -d -d -d -f /etc/racoon/racoon.conf'... an 23 14:00:11 localhost racoon: DEBUG: Configuration exchange type mode config REQUEST Jan 23 14:00:11 localhost racoon: DEBUG: Short attribute XAUTH_TYPE = 0 Jan 23 14:00:11 localhost racoon: DEBUG: Attribute XAUTH_USER_NAME, len 0 Jan 23 14:00:11 localhost racoon: DEBUG: Attribute XAUTH_USER_PASSWORD, len 0 Jan 23 14:00:11 localhost racoon: DEBUG: Attribute XAUTH_MESSAGE, len 28 Jan 23 14:00:11 localhost racoon: NOTIFY: XAUTH Message: 'Enter Username and Password.'. Here is the important part of the output of a strace (I edited the psk.txtinfo out of here)... rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 geteuid32() = 0 getuid32() = 0 geteuid32() = 0 stat64("/etc/racoon/psk.txt", {st_mode=S_IFREG|0600, st_size=62, ...}) = 0 getuid32() = 0 open("/etc/racoon/psk.txt", O_RDONLY) = 9 fstat64(9, {st_mode=S_IFREG|0600, st_size=62, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 read(9, "xxx.xxx.xxx.xxx\psk\nsomethingelse"..., 4096) = 62 <-edited close(9) = 0 munmap(0x40018000, 4096) = 0 time([1169578811]) = 1169578811 rt_sigaction(SIGPIPE, {0x4025fa70, [], 0}, {SIG_DFL}, 8) = 0 send(3, "<31>Jan 23 14:00:11 racoon: DEBU"..., 67, 0) = 67 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 time([1169578811]) = 1169578811 rt_sigaction(SIGPIPE, {0x4025fa70, [], 0}, {SIG_DFL}, 8) = 0 send(3, "<30>Jan 23 14:00:11 racoon: NOTI"..., 83, 0) = 83 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Process 2119 detached |