Hi,

It seems the script has a typo and a missing definition for UDP part. I
am sending the patch.

-- 
Oguz Yarimtepe
http://www.loopbacking.info
--- argus2picviz-changed.sh	2009-04-17 22:53:56.000000000 +0300
+++ argus2picviz.sh	2009-04-17 23:02:18.000000000 +0300
@@ -63,7 +63,6 @@
         	gsub(/FIN/, "\"7000\" [color=\"darkblue\"]", $11);
         	gsub(/RST/, "\"8000\" [color=\"darkblue\"]", $11);
         	gsub(/TIM/, "\"9000\" [color=\"darkblue\"]", $11);
-        	gsub(/RSP/, "\"10000\" [color=\"darkblue\"]", $11);
 		}
 	else if ( $2 ~ /icmp/ ) {
 		gsub(//, "0", $4);
@@ -105,7 +104,7 @@
         	gsub(/NDR/, "\"64000\" [color=\"green\"]", $11);
         	gsub(/PTB/, "\"65000\" [color=\"green\"]", $11); 
 		}
-		printf "stime=\"%s\", proto=\"%s\", saddr=\"%s\", sport=\"%s\", spkts=\"%s\", sbytes=\"%s\", daddr=\"%s\", dport=\"%s\", dpkts=\"%s\", dbytes=\"%s\", state=%s; \n", $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11; 
+		printf "stime=\"%s\", proto=\"%s\", saddr=\"%s\", sport=\"%s\", spkts=\"%s\", sbytes=\"%s\", daddr=\"%s\", dport=\"%s\", dpkts=\"%s\", dbytes=\"%s\", state=%s\; \n", $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11; 
 }' $1  	
 
 	printf "}\n";
_______________________________________________
Picviz mailing list
Picviz@wallinfire.net
http://www.wallinfire.net/cgi-bin/mailman/listinfo/picviz

Reply via email to