(racoon2 84) Could you please teach PSK file syntax to us?

Kohki Ohhira <[email protected]> Tue, 06 Mar 2007 17:21:08 +0900 (LMT)
Newsgroups gmane.network.ipv6.kame.racoon
Message-ID <[email protected]>
Dear all,

My name is Kohki Ohhira.


Now, I'm trying to use racoon2.
However, I can't understand usage of PSK file.
I want to a question about PSK file.
Could you please answer to my question ?


For instance, threre are two computers as below.

Host A IP address ... 192.168.1.1
HOst B IP address ... 192.168.1.2

We want to communicate ISACMP between them.
We want to set their PSK as `ipsec'.


When we use the racoon v1, we should set PSK file as below.

Host A PSK file:
    192.168.1.2   ipsec

Host B PSK file:
    192.168.1.1   ipsec

That mean, all PSK files should be set as below.

    Peer comuper's IP address   PSK string


However, the PSK file syntax in racoon2 is difference.

In racoon2, we can communicate with below PSK files.

Host A PSK file:
    192.168.1.2   ipsec
Host B PSK file:
    192.168.1.2   ipsec

OR

Host A PSK file:
    192.168.1.1   ipsec
Host B PSK file:
    192.168.1.1   ipsec


Is this behavior correct?

If this behavior is correct, could you teach the mean of IP address?
We have disunderstanded that, IP address in PSK file is peer's IP address.

--
Kohki Ohhira