<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tunnel IPsec comprendre les logs debug]]></title><description><![CDATA[<p dir="auto">Bonjour,<br />
Je dois faire un Tunnel IPsec avec un fournisseur en acces distant j'ai suivis la procedure qu'une équipe du forum a partagé dans un dossier PDF.<br />
Cependant je n'arrive pas a comprendre les logs.</p>
<pre><code>Jun 10 19:15:21 	racoon: INFO: @(#)ipsec-tools 0.8.0 (http://ipsec-tools.sourceforge.net)
Jun 10 19:15:21 	racoon: INFO: @(#)This product linked OpenSSL 0.9.8n 24 Mar 2010 (http://www.openssl.org/)
Jun 10 19:15:21 	racoon: INFO: Reading configuration from "/var/etc/racoon.conf"
Jun 10 19:15:21 	racoon: DEBUG: call pfkey_send_register for AH
Jun 10 19:15:21 	racoon: DEBUG: call pfkey_send_register for ESP
Jun 10 19:15:21 	racoon: DEBUG: call pfkey_send_register for IPCOMP
Jun 10 19:15:21 	racoon: DEBUG: reading config file /var/etc/racoon.conf
Jun 10 19:15:21 	racoon: DEBUG: no check of compression algorithm; not supported in sadb message.
Jun 10 19:15:21 	racoon: DEBUG: getsainfo params: loc='172.24.64.136/29' rmt='172.24.192.136/29' peer='NULL' client='NULL' id=1
Jun 10 19:15:21 	racoon: DEBUG: open /var/db/racoon/racoon.sock as racoon management.
Jun 10 19:15:21 	racoon: [Self]: INFO: 94.103.130.125[4500] used for NAT-T
Jun 10 19:15:21 	racoon: [Self]: INFO: 94.103.130.125[4500] used as isakmp port (fd=16)
Jun 10 19:15:21 	racoon: [Self]: INFO: 94.103.130.125[500] used for NAT-T
Jun 10 19:15:21 	racoon: [Self]: INFO: 94.103.130.125[500] used as isakmp port (fd=17)
Jun 10 19:15:21 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:21 	racoon: DEBUG: got pfkey X_SPDDUMP message
Jun 10 19:15:21 	racoon: DEBUG: pfkey X_SPDDUMP failed: No such file or directory
Jun 10 19:15:21 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:21 	racoon: DEBUG: got pfkey REGISTER message
Jun 10 19:15:21 	racoon: INFO: unsupported PF_KEY message REGISTER
Jun 10 19:15:21 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:21 	racoon: DEBUG: got pfkey X_SPDADD message
Jun 10 19:15:21 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:21 	racoon: DEBUG: got pfkey X_SPDADD message
Jun 10 19:15:21 	racoon: DEBUG: sub:0xbfbfe754: 10.0.0.0/8[0] 10.0.0.252/32[0] proto=any dir=in
Jun 10 19:15:21 	racoon: DEBUG: db :0x28548148: 10.0.0.252/32[0] 10.0.0.0/8[0] proto=any dir=out
Jun 10 19:15:21 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:21 	racoon: DEBUG: got pfkey X_SPDADD message
Jun 10 19:15:21 	racoon: DEBUG: sub:0xbfbfe754: 172.24.64.136/29[0] 172.24.192.136/29[0] proto=any dir=out
Jun 10 19:15:21 	racoon: DEBUG: db :0x28548148: 10.0.0.252/32[0] 10.0.0.0/8[0] proto=any dir=out
Jun 10 19:15:21 	racoon: DEBUG: sub:0xbfbfe754: 172.24.64.136/29[0] 172.24.192.136/29[0] proto=any dir=out
Jun 10 19:15:21 	racoon: DEBUG: db :0x28548288: 10.0.0.0/8[0] 10.0.0.252/32[0] proto=any dir=in
Jun 10 19:15:21 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:21 	racoon: DEBUG: got pfkey X_SPDADD message
Jun 10 19:15:21 	racoon: DEBUG: sub:0xbfbfe754: 172.24.192.136/29[0] 172.24.64.136/29[0] proto=any dir=in
Jun 10 19:15:21 	racoon: DEBUG: db :0x28548148: 10.0.0.252/32[0] 10.0.0.0/8[0] proto=any dir=out
Jun 10 19:15:21 	racoon: DEBUG: sub:0xbfbfe754: 172.24.192.136/29[0] 172.24.64.136/29[0] proto=any dir=in
Jun 10 19:15:21 	racoon: DEBUG: db :0x28548288: 10.0.0.0/8[0] 10.0.0.252/32[0] proto=any dir=in
Jun 10 19:15:21 	racoon: DEBUG: sub:0xbfbfe754: 172.24.192.136/29[0] 172.24.64.136/29[0] proto=any dir=in
Jun 10 19:15:21 	racoon: DEBUG: db :0x285483c8: 172.24.64.136/29[0] 172.24.192.136/29[0] proto=any dir=out
Jun 10 19:15:32 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:32 	racoon: DEBUG: got pfkey X_SPDDUMP message
Jun 10 19:15:32 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:32 	racoon: DEBUG: got pfkey X_SPDDUMP message
Jun 10 19:15:32 	racoon: DEBUG: sub:0xbfbfe734: 172.24.192.136/29[0] 172.24.64.136/29[0] proto=any dir=in
Jun 10 19:15:32 	racoon: DEBUG: db :0x28548148: 10.0.0.0/8[0] 10.0.0.252/32[0] proto=any dir=in
Jun 10 19:15:32 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:32 	racoon: DEBUG: got pfkey X_SPDDUMP message
Jun 10 19:15:32 	racoon: DEBUG: sub:0xbfbfe734: 10.0.0.252/32[0] 10.0.0.0/8[0] proto=any dir=out
Jun 10 19:15:32 	racoon: DEBUG: db :0x28548148: 10.0.0.0/8[0] 10.0.0.252/32[0] proto=any dir=in
Jun 10 19:15:32 	racoon: DEBUG: sub:0xbfbfe734: 10.0.0.252/32[0] 10.0.0.0/8[0] proto=any dir=out
Jun 10 19:15:32 	racoon: DEBUG: db :0x28548288: 172.24.192.136/29[0] 172.24.64.136/29[0] proto=any dir=in
Jun 10 19:15:32 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:32 	racoon: DEBUG: got pfkey X_SPDDUMP message
Jun 10 19:15:32 	racoon: DEBUG: sub:0xbfbfe734: 172.24.64.136/29[0] 172.24.192.136/29[0] proto=any dir=out
Jun 10 19:15:32 	racoon: DEBUG: db :0x28548148: 10.0.0.0/8[0] 10.0.0.252/32[0] proto=any dir=in
Jun 10 19:15:32 	racoon: DEBUG: sub:0xbfbfe734: 172.24.64.136/29[0] 172.24.192.136/29[0] proto=any dir=out
Jun 10 19:15:32 	racoon: DEBUG: db :0x28548288: 172.24.192.136/29[0] 172.24.64.136/29[0] proto=any dir=in
Jun 10 19:15:32 	racoon: DEBUG: sub:0xbfbfe734: 172.24.64.136/29[0] 172.24.192.136/29[0] proto=any dir=out
Jun 10 19:15:32 	racoon: DEBUG: db :0x28548508: 10.0.0.252/32[0] 10.0.0.0/8[0] proto=any dir=out
Jun 10 19:15:32 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:32 	racoon: DEBUG: pk_recv: retry[1] recv()
Jun 10 19:15:32 	racoon: DEBUG: pk_recv: retry[2] recv()
Jun 10 19:15:32 	racoon: DEBUG: reading config file /var/etc/racoon.conf
Jun 10 19:15:32 	racoon: DEBUG: no check of compression algorithm; not supported in sadb message.
Jun 10 19:15:32 	racoon: DEBUG: getsainfo params: loc='172.24.64.136/29' rmt='172.24.192.136/29' peer='NULL' client='NULL' id=1
Jun 10 19:15:32 	racoon: DEBUG: pk_recv: retry[0] recv()
Jun 10 19:15:32 	racoon: DEBUG: got pfkey REGISTER message
Jun 10 19:15:32 	racoon: INFO: unsupported PF_KEY message REGISTER
</code></pre>
<p dir="auto">Déjà qu'est-ce que <strong>racoon</strong> ?<br />
Puis comment teste que mon tunnel est bien fonctionnel ?<br />
Est-ce qu'en mettant l'adresse ip du tunnel a une machine virtuelle et en essayant de me connecter via telnet cela fonctionne ? Car je me vois mal téléphoner a mon fournisseur pour lui demande d'effectuer des tests a chaque changement de configuration dans la configuration du parefeu .</p>
<p dir="auto">En vous remerciant .<br />
Oni'</p>
]]></description><link>https://forum.netgate.com/topic/34560/tunnel-ipsec-comprendre-les-logs-debug</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 11:28:51 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/34560.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Jun 2011 16:22:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tunnel IPsec comprendre les logs debug on Wed, 22 Jun 2011 07:44:51 GMT]]></title><description><![CDATA[<p dir="auto">Oui je suis en train de rédiger quelque chose de plus ou moins correct .</p>
]]></description><link>https://forum.netgate.com/post/284035</link><guid isPermaLink="true">https://forum.netgate.com/post/284035</guid><dc:creator><![CDATA[Onitsha]]></dc:creator><pubDate>Wed, 22 Jun 2011 07:44:51 GMT</pubDate></item><item><title><![CDATA[Reply to Tunnel IPsec comprendre les logs debug on Tue, 21 Jun 2011 21:18:59 GMT]]></title><description><![CDATA[<p dir="auto">Une explication pour ceux qui auraient un pb similaire ?</p>
]]></description><link>https://forum.netgate.com/post/283986</link><guid isPermaLink="true">https://forum.netgate.com/post/283986</guid><dc:creator><![CDATA[aabadie]]></dc:creator><pubDate>Tue, 21 Jun 2011 21:18:59 GMT</pubDate></item><item><title><![CDATA[Reply to Tunnel IPsec comprendre les logs debug on Tue, 21 Jun 2011 07:25:03 GMT]]></title><description><![CDATA[<p dir="auto">Merci le soucis est résolu :]</p>
]]></description><link>https://forum.netgate.com/post/283905</link><guid isPermaLink="true">https://forum.netgate.com/post/283905</guid><dc:creator><![CDATA[Onitsha]]></dc:creator><pubDate>Tue, 21 Jun 2011 07:25:03 GMT</pubDate></item><item><title><![CDATA[Reply to Tunnel IPsec comprendre les logs debug on Mon, 20 Jun 2011 15:20:34 GMT]]></title><description><![CDATA[<p dir="auto">http://doc.pfsense.org/index.php/IPsec_Troubleshooting</p>
]]></description><link>https://forum.netgate.com/post/283836</link><guid isPermaLink="true">https://forum.netgate.com/post/283836</guid><dc:creator><![CDATA[ccnet]]></dc:creator><pubDate>Mon, 20 Jun 2011 15:20:34 GMT</pubDate></item><item><title><![CDATA[Reply to Tunnel IPsec comprendre les logs debug on Tue, 21 Jun 2011 07:24:53 GMT]]></title><description><![CDATA[<p dir="auto">Resolu</p>
]]></description><link>https://forum.netgate.com/post/283817</link><guid isPermaLink="true">https://forum.netgate.com/post/283817</guid><dc:creator><![CDATA[Onitsha]]></dc:creator><pubDate>Tue, 21 Jun 2011 07:24:53 GMT</pubDate></item><item><title><![CDATA[Reply to Tunnel IPsec comprendre les logs debug on Mon, 20 Jun 2011 09:54:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/onitsha">@<bdi>Onitsha</bdi></a>:</p>
<blockquote>
<p dir="auto">Puis comment teste que mon tunnel est bien fonctionnel ?</p>
</blockquote>
<p dir="auto">ping ? :D</p>
]]></description><link>https://forum.netgate.com/post/283791</link><guid isPermaLink="true">https://forum.netgate.com/post/283791</guid><dc:creator><![CDATA[chocoboss]]></dc:creator><pubDate>Mon, 20 Jun 2011 09:54:04 GMT</pubDate></item><item><title><![CDATA[Reply to Tunnel IPsec comprendre les logs debug on Fri, 17 Jun 2011 21:22:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/onitsha">@<bdi>Onitsha</bdi></a>:</p>
<blockquote>
<p dir="auto">Déjà qu'est-ce que <strong>racoon</strong> ?</p>
</blockquote>
<p dir="auto">"service" qui gère le cryptage Ipsec sur freebsd</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/onitsha">@<bdi>Onitsha</bdi></a>:</p>
<blockquote>
<p dir="auto">Puis comment teste que mon tunnel est bien fonctionnel ?</p>
</blockquote>
<p dir="auto">Pour commencer, il faudrait savoir à quoi va servir le tunnel ?</p>
]]></description><link>https://forum.netgate.com/post/283595</link><guid isPermaLink="true">https://forum.netgate.com/post/283595</guid><dc:creator><![CDATA[aabadie]]></dc:creator><pubDate>Fri, 17 Jun 2011 21:22:48 GMT</pubDate></item><item><title><![CDATA[Reply to Tunnel IPsec comprendre les logs debug on Wed, 15 Jun 2011 17:34:41 GMT]]></title><description><![CDATA[<p dir="auto">Les liens utiles :</p>
<ul>
<li>http://fr.wikipedia.org/wiki/IPsec (assez général mais les bonnes rfc)</li>
<li>http://www.frameip.com/ipsec/ (pédagogique, attention chaque mot compte !)</li>
</ul>
<p dir="auto">Il est notable que, pour Ipsec, il est important de bien regarder la connexion entre les 2 points Ipsec : présence ou non de routeurs NAT !</p>
<p dir="auto">Attention : la virtualisation complique la perception des réalités réseaux !!</p>
]]></description><link>https://forum.netgate.com/post/283296</link><guid isPermaLink="true">https://forum.netgate.com/post/283296</guid><dc:creator><![CDATA[jdh]]></dc:creator><pubDate>Wed, 15 Jun 2011 17:34:41 GMT</pubDate></item></channel></rss>