From 6ebab10a37264f536fe66cf28fda5e172ecc0aa1 Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Wed, 28 Jan 2009 23:14:12 +0100 Subject: [PATCH] [gen_confs/autostatus] Traceroute icmp plutot que tcp Apparemment, www.free.fr ne repond pas aux paquets TCP de traceroute, ce qui ralentit monstrueusement generate. darcs-hash:20090128221412-ffbb2-0ab0e3844de58a447adbc848049b3222af4a3134.gz --- gestion/gen_confs/autostatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/autostatus.py b/gestion/gen_confs/autostatus.py index 20c75943..18189240 100755 --- a/gestion/gen_confs/autostatus.py +++ b/gestion/gen_confs/autostatus.py @@ -245,7 +245,7 @@ class autostatus(gen_config) : ######################## inform(u"Récupération de la route vers l'extérieur") # on récupère la route vers l'extérieur - traceroute = commands.getoutput("/usr/bin/traceroute www.free.fr 2> /dev/null | sed 's/\*//g' | sed 's/ */ /g' | sed 's/^ //g' | sed 's/[(,)]//g' | cut -d ' ' -f 2,3").split("\n") + traceroute = commands.getoutput("/usr/bin/traceroute -I www.free.fr 2> /dev/null | sed 's/\*//g' | sed 's/ */ /g' | sed 's/^ //g' | sed 's/[(,)]//g' | cut -d ' ' -f 2,3").split("\n") inform(u"Analyse de la route") # initialisation des variables in_renater = 0