<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=FR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:windowtext'>Bonjour Geneviève,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>Merci pour ta réponse&nbsp;:)<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>- J&#8217;utilise bien la
dernière version (20090925) trouvée sur sourceforge.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>- J&#8217;ai bien les
dépendances (pour être sûr, j&#8217;ai reflashé un firmware, réinstallé les
dépendances une par une, et réinstallé wifidog 20090925).<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>Effectivement, je suis
rassuré pour les erreurs, vu le ticket 519, merci&nbsp;!<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>La dernière version de
wifidog fonctionne bien (hormis les erreurs sus-citées), par contre, j&#8217;ai
une erreur supplémentaire lorsque j&#8217;essaie de bloquer l&#8217;accès au
réseau WAN à partir du wifi&nbsp;:<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>iptables: Invalid argument<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>[3][Fri Feb  6 05:37:01
2009][2168](fw_iptables.c:116) iptables command failed(1): iptables -t nat -A
WiFiDog_br-lan_Global -d 192.168.0.0/16 -j REJECT<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>Pour t&#8217;expliquer ma
config&nbsp;:<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>- j&#8217;ai mon réseau LAN
en 192.168.2.x<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>- j&#8217;ai mon réseau WAN
en 192.168.0.x<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>Sur le LAN, rien n&#8217;est
connecté, donc pas besoin de blocages.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>Sur le WAN par contre, je
suis connecté sur un routeur xDSL, sur lequel il y a une interface web d&#8217;administration
et d&#8217;autres PC connectés, et je souhaite empecher les utilisateurs wifi
de se connecter sur les machines du WAN (donc 192.168.0.x).<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:windowtext'>C&#8217;est pourquoi j&#8217;ai
mis «&nbsp;</span>FirewallRule block to 192.168.0.0/16&nbsp;» dans
wifidog.conf, mais qui déclenche cette erreur.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>As-tu une idée&nbsp;?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Merci par avance et bonne journée&nbsp;:)<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Thomas<o:p></o:p></p>

<p class=MsoNormal><span style='color:windowtext'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>De&nbsp;:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> wifidog-bounces@listes.ilesansfil.org
[mailto:wifidog-bounces@listes.ilesansfil.org] <b>De la part de</b> Genevieve
Bastien<br>
<b>Envoyé&nbsp;:</b> lundi 7 décembre 2009 14:11<br>
<b>À&nbsp;:</b> WiFiDog Captive Portal<br>
<b>Objet&nbsp;:</b> Re: [isf-wifidog] Blocage réseau local 192.168.1.x<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Bonjour Thomas,<br>
<br>
D'abord assure-toi que toutes les dépendances sont installées.&nbsp; Sur
kamikaze il en manquait quelques-unes par défaut: <br>
<br>
iptables-mod-extra <br>
iptables-mod-ipopt <br>
iptables-mod-nat <br>
iptables-mod-nat-extra <br>
libpthread<br>
<br>
Quant aux iptables command failed, celles que tu mentionnes ne sont pas
réellement des erreurs (voir <a href="http://dev.wifidog.org/ticket/519">http://dev.wifidog.org/ticket/519</a>),
ces erreurs seront d'ailleurs éliminées de la prochaine version de wifidog pour
ne laisser que les VRAIES erreurs.&nbsp; Peux-tu détailler s'il y a d'autres
erreurs que celles mentionnées dans le ticket qui n'en sont pas?<br>
<br>
Et as-tu essayé d'installer la dernière version la 20090925 trouvées sur
sourceforge?<br>
<br>
Bonne journée<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal>-- <br>
Geneviève Bastien <o:p></o:p></p>

</div>

<p class=MsoNormal><br>
<br>
Thomas Bergerot wrote: <o:p></o:p></p>

<p class=MsoNormal>Bonjour à toutes et à tous,<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>J&#8217;utilise Wifidog sur un openwrt kamikaze 8.09, et je
souhaiterai empêcher les utilisateurs connectés en wifi à accéder au réseau
local.<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>J&#8217;ai pour cela mis une règle dans la rule set
«&nbsp;global&nbsp;», comme suit&nbsp;:<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>FirewallRule block to 192.168.0.0/16<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>Mais cela ne fonctionne pas&nbsp;: lorsque je lance wifidog
pour tester (/etc/init.d/wifidog start), il me met une erreur
«&nbsp;iptables&nbsp;: Invalid argument&nbsp;», et se lance quand même, mais à
partir d&#8217;un poste en wifi j&#8217;arrive à me connecter sur une machine
du réseau local.<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>La version de wifidog que j&#8217;utilise est celle des
packages de kamikaze 8.09, à savoir 1.1.5-2.<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>J&#8217;ai essayé d&#8217;installer le package compilé de la
dernière version, mais il ne fonctionne pas&nbsp;: quand je le lance
(/etc/init.d/wifidog start), j&#8217;obtiens un nombre important
d&#8217;erreurs «&nbsp;iptables command failed(1)&nbsp;» comme
suit&nbsp;(j&#8217;en ai détaillé deux, mais il y en a à priori pour toutes les
règles)&nbsp;:<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>[3][Mon Dec&nbsp; 7 09:30:20 2009][3525](fw_iptables.c:116)
iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Locked<o:p></o:p></p>

<p class=MsoNormal>[3][Mon Dec&nbsp; 7 09:30:20 2009][3525](fw_iptables.c:116)
iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Global<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>Avez-vous une piste pour ces deux problèmes&nbsp;?<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>Merci par avance pour votre aide, et excellente journée à
toutes et à tous.<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>Thomas<o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre style='text-align:center'>

<hr size=4 width="100%" align=center>

</pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>WiFiDog mailing list<o:p></o:p></pre><pre><a
href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a><o:p></o:p></pre><pre><a
href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><o:p></o:p></pre>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>