par NeoKoD » 10 Juin 2003 11:40
Bonjour à tous,
<BR>
<BR>J'ai mis le script WonderShaper sur mon IPCop 1.3
<BR>J'ai configurer le script et il arrive parfois à fonctionner correctement,
<BR>mais pas toujours :/
<BR>J'ai un xmule qui tourne à toute blinde sur une machine de mon LAN, mais grâce à WonderShaper (quand il marche) je ping google à 200 ms au lieu de 1500 ms sans WonderShaper.
<BR>Idem quand il est marche je surf beaucoup plus rapidement, bref ce script est INDISPENSABLE a tous je vous le conseille ! <IMG SRC="images/smiles/icon_smile.gif">
<BR>
<BR>Le problème, c'est que j'ai l'impression qu'il fonctionne quelques minutes puis merdouille, pourtant quand je fais un wshaper status il est bien actif :
<BR>
<BR>------------------------------------
<BR><!-- BBcode auto-mailto start --><a href="mailto:root@firewall:~">root@firewall:~</a><!-- BBCode auto-mailto end --> # wshaper status
<BR>qdisc ingress ffff:
<BR> Sent 39114115 bytes 57239 pkts (dropped 0, overlimits 0)
<BR>
<BR> qdisc sfq 30: quantum 1500b perturb 10sec
<BR> Sent 8065010 bytes 14386 pkts (dropped 0, overlimits 0)
<BR> backlog 27p
<BR>
<BR> qdisc sfq 20: quantum 1500b perturb 10sec
<BR> Sent 574195 bytes 2732 pkts (dropped 0, overlimits 0)
<BR>
<BR> qdisc sfq 10: quantum 1500b perturb 10sec
<BR> Sent 1757612 bytes 38743 pkts (dropped 0, overlimits 0)
<BR> backlog 1p
<BR>
<BR> qdisc cbq 1: rate 10Mbit (bounded,isolated) prio no-transmit
<BR> Sent 10396857 bytes 55862 pkts (dropped 0, overlimits 117168)
<BR> backlog 28p
<BR> borrowed 0 overactions 0 avgidle 624 undertime 0
<BR>
<BR> class cbq 1: root rate 10Mbit (bounded,isolated) prio no-transmit
<BR> Sent 40 bytes 1 pkts (dropped 0, overlimits 0)
<BR> borrowed 0 overactions 0 avgidle 624 undertime 0
<BR>class cbq 1:10 parent 1:1 leaf 10: rate 100Kbit prio 1
<BR> Sent 1757696 bytes 38744 pkts (dropped 0, overlimits 6264)
<BR> borrowed 0 overactions 2559 avgidle -4466 undertime 9398
<BR>class cbq 1:1 parent 1: rate 100Kbit (bounded,isolated) prio 5
<BR> Sent 10370222 bytes 55835 pkts (dropped 0, overlimits 0)
<BR> borrowed 12496 overactions 0 avgidle -72144 undertime 74961
<BR>class cbq 1:20 parent 1:1 leaf 20: rate 90Kbit prio 2
<BR> Sent 574195 bytes 2732 pkts (dropped 0, overlimits 2207)
<BR> borrowed 0 overactions 219 avgidle 624 undertime 0
<BR>class cbq 1:30 parent 1:1 leaf 30: rate 80Kbit prio 2
<BR> Sent 8038331 bytes 14359 pkts (dropped 0, overlimits 120672)
<BR> backlog 28p
<BR> borrowed 12496 overactions 1339 avgidle -188076 undertime 273004
<BR>--------------------------------------
<BR>
<BR>De plus, j'ai beau tenté de faire un "wshaper stop" puis un "wshaper start" et cela ne marche plus du tout <IMG SRC="images/smiles/icon_frown.gif">
<BR>Dès fois ca marche, mais dès fois non, c'est plutot étrange..
<BR>
<BR>
<BR>1) Est-ce que quelqu'un pourrait m'expliquer les informations du status ? je ne comprend vraiment rien <IMG SRC="images/smiles/icon_frown.gif">
<BR>
<BR>2) Au niveau de ma conf, je pense pas que ca soit ça qui $%#&! puisque une fois lancée, tout fonctionne comme je le demande, mais si quelqu'un voit une erreur :
<BR>
<BR>DOWNLINK=500
<BR>UPLINK=100
<BR>DEV=ppp0
<BR>NOPRIOHOSTSRC="10.0.0.4"
<BR>NOPRIOHOSTDST=
<BR>NOPRIOPORTSRC="21 4662 4661"
<BR>NOPRIOPORTDST="21 4662 4661"
<BR>
<BR>3) Pour être sûr de ce que je pense avoir compris, les NOPRIO*SRC représente le traffic GREEN vers RED et NOPRIO*DST représente le traffic RED vers GREEN ?
<BR>
<BR>4) En lisant les différents posts du forum sur le sujet, j'ai vu qu'une personne avait réussi a mettre une reconnection automatique de wshaper en ajoutant une ligne perl dans le script /etc/rc.d/rc.red :
<BR>(...)
<BR> # Lancement de WonderShaper
<BR> system ("/usr/bin/wshaper");
<BR>}
<BR>elsif ($ARGV[0] eq 'stop')
<BR>{
<BR>(...)
<BR>
<BR>Malheureusement ca ne marche pas, apres avoir redémarrer la machine, un wshaper status n'affichait rien <IMG SRC="images/smiles/icon_frown.gif">
<BR>
<BR>5) La version 1.3.1 d'IPCop sort t-elle bientot ? y aura t-il une interface pour gérer wshaper ?
<BR>
<BR>