Racoon site-to site

David DeSimone fox at verio.net
Fri Dec 11 08:33:47 PST 2009


Jon Otterholm <jon.otterholm at ide.resurscentrum.se> wrote:
>
> If I restart racoon or wait approximately 30 min the connection is
> re-established.

Since this is approximately ½of the phase 2 lifetime, you are probably
running into lifetime negotiation issues, or PFS issues.

> What would be the obvious way to debug this?  Any suggestions on what
> to tweak appreciated. 

I would turn up the debugging on racoon to get more information around
the time that the tunnel fails.

> sainfo  (address 192.168.1.0/24 any address 192.168.100.0/24 any)
> {
>     pfs_group       1;
>     lifetime        time    3600 sec;
>     encryption_algorithm    des;
>     authentication_algorithm        hmac_md5,hmac_sha1;
>     compression_algorithm   deflate;
> }

My hunch is that you have a PFS mismatch, so that the first tunnel
negotiates, but the second SA negotiation fails, then the third
succeeds, etc.

-- 
David DeSimone == Network Admin == fox at verio.net
  "I don't like spinach, and I'm glad I don't, because if I
   liked it I'd eat it, and I just hate it." -- Clarence Darrow


This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free.  Thank you.


More information about the freebsd-net mailing list