Erstmal ein dickes Respekt an dieses klasse Howto!!!
Super gut beschrieben und funzt auch =).
Jedoch habe ich ein problem beim koordinieren des porttraffics.
Im internet gabs dazu auch kein passendes howto bzw beschreibung.
WIE trage ich jetzt ein, dass port 4444 z.B. nen bnc ist, port 5656 ist nen game etc =)
Code: Select all
class Chains:
free, service, other = "free of charge", "internet services", "other traffic (unspecified)"
categories = [free, service, other]
_default = (service, "")
names = {"local" : (free, "local network"),
"intevation" : (free, "Intevation office"),
"ftp" : (service, "FTP (without passive data)"),
"ip_local_port_range": (service, "probably FTP"),
"www" : (service, "http/https/caudium"),
"cvs" : (service, "grass-cvs"),
"mail" : (service, "smtp"),
"misc" : (service, "ssh, dns, identd"),
"outgoing" : (service, "without other listed services"),
"rsync" : (service, "rsync server (not backup)"),
"related" : (other, "related connections"),
"fragment" : (other, "fragmented packets"),
"unknown" : (other, "not in any chain")}
rates = {free : [(1.0 / 1024 / 1024, "%.1f MB"), (0.00, "%.2f DM")],
service : [(1.0 / 1024 / 1024, "%.1f MB"), (0.05, "%.2f DM")],
other : [(1.0 / 1024 / 1024, "%.1f MB"), (0.05, "%.2f DM")]}
Greetz
Mathis