LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-18-2006, 01:14 AM   #1
hegdeshashi
Member
 
Registered: Dec 2005
Posts: 73
Blog Entries: 3

Rep: Reputation: 15

Hi friends,



for my ipsec policy configaration ,I am using racoon.
I am getting the problem after ping6ing from one to another.( It is ping ing properly)But the key is not generating.
Here I am using ipv6 .and setting the policy by setkey option for transport mode.

here is racoon.log
==============
tail -f /var/log/racoon.log
2006-09-15 14:28:41: INFO: 127.0.0.1[500] used as isakmp port (fd=5)
2006-09-15 14:28:41: INFO: fe80::1%lo0[500] used as isakmp port (fd=6)
2006-09-15 14:28:41: INFO: ::1[500] used as isakmp port (fd=7)
2006-09-15 14:28:41: INFO: 192.168.1.220[500] used as isakmp port (fd=8)
2006-09-15 14:28:41: INFO: fe80::250:baff:fe8d:3866%rl0[500] used as isakmp port (fd=9)
2006-09-15 14:29:05: INFO: 127.0.0.1[500] used as isakmp port (fd=5)
2006-09-15 14:29:05: INFO: fe80::1%lo0[500] used as isakmp port (fd=6)
2006-09-15 14:29:05: INFO: ::1[500] used as isakmp port (fd=7)
2006-09-15 14:29:05: INFO: 192.168.1.220[500] used as isakmp port (fd=8)
2006-09-15 14:29:05: INFO: fe80::250:baff:fe8d:3866%rl0[500] used as isakmp port (fd=9)
======================


racoon.conf
==========
path pre_shared_key "/usr/local/etc/racoon2/psk.txt";
log notify;

padding
{
maximum_length 20;
randomize off;
strict_check off;
exclusive_tail off;
}
remote anonymous
{
exchange_mode aggressive;
doi ipsec_doi;
situation identity_only;

nonce_size 16;
lifetime time 55 min;
initial_contact on;
support_proxy on;
proposal_check obey;

proposal
{
encryption_algorithm 3des;
hash_algorithm md5;
authentication_method pre_shared_key ;
dh_group 2 ;
}
}

sainfo anonymous
{
pfs_group 1;
lifetime time 36000 sec;
encryption_algorithm 3des,des,cast128,blowfish ;
authentication_algorithm hmac_sha1,hmac_md5;
compression_algorithm deflate ;
}
=========================
psk.txt
==========
fe80::2e0:4cff:fee7:dc61 1234567890098765
=========================

Can any one help me out to solve this..
 
Old 09-19-2006, 12:34 AM   #2
hegdeshashi
Member
 
Registered: Dec 2005
Posts: 73

Original Poster
Blog Entries: 3

Rep: Reputation: 15
racoon configaration for IPv6

Hi friends,

Can any one tell me how to configure racoon for IPv6?
Is it the same as IPv4? or is it different?


Here is my racoon.conf
=========================
racoon.conf
==========
path pre_shared_key "/usr/local/etc/racoon2/psk.txt";
log notify;

padding
{
maximum_length 20;
randomize off;
strict_check off;
exclusive_tail off;
}
remote anonymous
{
exchange_mode aggressive;
doi ipsec_doi;
situation identity_only;

nonce_size 16;
lifetime time 55 min;
initial_contact on;
support_proxy on;
proposal_check obey;

proposal
{
encryption_algorithm 3des;
hash_algorithm md5;
authentication_method pre_shared_key ;
dh_group 2 ;
}
}

sainfo anonymous
{
pfs_group 1;
lifetime time 36000 sec;
encryption_algorithm 3des,des,cast128,blowfish ;
authentication_algorithm hmac_sha1,hmac_md5;
compression_algorithm deflate ;
}
================================


thanks in advance
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPsec : Problem with racoon HaPagan Linux - Security 1 11-30-2005 12:23 AM
Problems w. Racoon/Pluto Interoperability Furbo Linux - Networking 0 01-17-2005 06:23 AM
problem with racoon nitinkhanna Linux - Security 0 10-28-2004 05:28 AM
Problems with 'racoon' and certificates ... sankeny Linux - Security 0 09-01-2004 04:29 PM
Sound configaration in linux souvik Linux - Software 1 07-06-2001 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration