Hallo,
ich habe zu diesem Thema schon viel gesucht und getüftelt, bis jetzt hab ich aber noch nix gefunden was passen würde.
Ich habe bei meiner Freundin auf dem Server (suSE 9.1) einen Teamspeak-Server laufen. Nun will ich den Traffic dieses Servers messen. Mir gehts nicht drum was dieser an Bandbreite klaut sondern nur darum was ich in nem Monat an MB über die Leitung jage.
Gibts da nicht ein einfaches Tool? mrtg, IAM und ipag-ng hab ich schon probiert, ich scheitere aber schon an der Config.
Gibts da nicht was einfacheres?
Gruß
Daniel
Trafficmessung für Teamspeak-Server
Re: Trafficmessung für Teamspeak-Server
Wenn der TS-Server nicht neu gestartet wird, kannst du ja auch im TS nachschauen...
Oben unter "Info" -> "Server Connection Info"
MfG
FliegenKLATSCH
Oben unter "Info" -> "Server Connection Info"
MfG
FliegenKLATSCH
Re: Trafficmessung für Teamspeak-Server
Sorry, aber bei mir gibts kein Info. Jedenfalls nicht im Admin-Menu auf dem Server.
AUÃ?erdem wärs eben ganz nett wenn man das auch nach nem Reboot nochj sehen könnte. Ich muss dem Menschen ja auch irgendwie was berechnen wenn er über den freien Traffic kommt.
AUÃ?erdem wärs eben ganz nett wenn man das auch nach nem Reboot nochj sehen könnte. Ich muss dem Menschen ja auch irgendwie was berechnen wenn er über den freien Traffic kommt.
Re: Trafficmessung für Teamspeak-Server
Wo hakt es denn? Also zumindest ipac-ng ist kinderleicht zu konfigurieren.Daniel26 wrote:Gibts da nicht ein einfaches Tool? mrtg, IAM und ipag-ng hab ich schon probiert, ich scheitere aber schon an der Config.
Gibts da nicht was einfacheres?
Regards,
jhl
Re: Trafficmessung für Teamspeak-Server
Naja, ich muss da ja irgendwie ne DB anlegen. Ich hab nur keinen Plan wie.
Gibts da irgendwo ein vernünftiges HowTo? Hab nur eins für Debian gefunden, und das passt auf keinem Auge
Gibts da irgendwo ein vernünftiges HowTo? Hab nur eins für Debian gefunden, und das passt auf keinem Auge
Re: Trafficmessung für Teamspeak-Server
aehm? .. ne DB?
nicht das ich wuesste ... bei mir stehen die ipac-ng Rules in einem einfachen config file
da liegt das bei mir, und es ist selbtserklaerend ;) ...
und natuerlich solltest Du einfach in der die DB Sektion ausdokumentiert lassen ;)
GreetZ
Cat
nicht das ich wuesste ... bei mir stehen die ipac-ng Rules in einem einfachen config file
Code: Select all
/etc/ipac-ng/rules.confund natuerlich solltest Du einfach in der
Code: Select all
/etc/ipac-ng/ipac.confGreetZ
Cat
-
gabberbert
- Posts: 49
- Joined: 2004-04-14 13:59
Re: Trafficmessung für Teamspeak-Server
So sieht meine conf aus:
# This is the main ipac-ng configuration file. It contains the
# configuration directives that give the ipac-ng its instructions.
# Install as /etc/ipac-ng/ipac.conf
## accouting agent. iptables and ipchains available now.
account agent = iptables
## storage. gdbm, postgre and files supported. (files is not recommended)
#storage = postgre
## rules file
rules file = /etc/ipac-ng/rules.conf
# dont store lines contains only zeroes to speedup processing and to save space
drop zero lines = yes
## This parameters controls database location
## 'db host', 'db port' can be left blank for a local database
## as now, both databasess (access and storage) configured by these parameters
#db host = localhost
#db port = 5432
## ATTENTION: no underscore '_' in the following parameters allowed!
iund so meine Rules:
# Example config file with accounting rules for iptables
# Install as /etc/ipac-ng/rules.conf
#
# Format:
# Name of rule|direction|interface|protocol|source|destination|extension|
# WARNING!!!! spaces are not allowed before and after '|'.
#
# where
# Name of rule Any string to identify this rule
# direction ipac~fi - forward in
# ipac~fo - forward out
# ipac~i - outgoing from machine with ipac-ng to other h
ost(/net)
# (or incoming to otherhost)
# ipac~o - incoming to machine with ipac-ng
# (or outgoing from otherhost)
#
# interface interface name, '+' means all interfaces (dont try to us
e ip numbers here!)
# protocol tcp | udp | icmp | all
# source
# destination both as described in ipfwadm(8), or empty
#
#
# W A R N I N G ! ! !
#
# Don't use symbols other than '0-9A-z[space]' in rules names. You may encounter
# some strange troubles.
#Total Traffic
#all
Incoming Total System|ipac~o|eth0|all||||
Incoming Total System|ipac~fi|eth0|all||||
Outgoing Total System|ipac~i|eth0|all||||
Outgoing Total System|ipac~fo|eth0|all||||
#
# Verbindungen von diesem Rechner zu ....
#
# ftp (port 20 und 21)
incomming in ftp|ipac~i|+|tcp|0/0 20 21|0/0
incomming out ftp|ipac~o|+|tcp|0/0|0/0 20/21
# ssh (port 22 )
incomming in ssh|ipac~i|+|tcp|0/0 22|0/0
incomming out ssh|ipac~o|+|tcp|0/0|0/0 22
# smtp (port 53, TCP und UDP)
incomming in dns|ipac~i|+|tcp|0/0 53|0/0
incomming out dns|ipac~o|+|tcp|0/0|0/0 53
incomming in dns|ipac~i|+|udp|0/0 53|0/0
incomming out dns|ipac~o|+|udp|0/0|0/0 53
# http (port 80)
incomming in http|ipac~i|+|tcp|0/0 80|0/0
incomming out http|ipac~o|+|tcp|0/0|0/0 80
# pop3 (port 110)
incomming in pop3|ipac~i|+|tcp|0/0 110|0/0
incomming out pop3|ipac~o|+|tcp|0/0|0/0 110
# https (port 443)
incomming in ftp|ipac~i|+|tcp|0/0 443|0/0
incomming out ftp|ipac~o|+|tcp|0/0|0/0 443
# Teamspeak (port 8767)
incomming in Teamspeak|ipac~i|+|udp|0/0 8767|0/0
incomming out Teamspeak|ipac~o|+|udp|0/0|0/0 8767
#
#Verbindungen von außen auf diesen Rechner
#
#
# ftp (port 20 und 21)
incomming in ftp|ipac~i|+|tcp|0/0|0/0 20 21
incomming out ftp|ipac~o|+|tcp|0/0 20 21|0/0
# ssh (port 22 )
incomming in ssh|ipac~i|+|tcp|0/0|0/0 22
incomming out ssh|ipac~o|+|tcp|0/0 22|0/0
# smtp (port 53, TCP und UDP)
incomming in dns|ipac~i|+|tcp|0/0|0/0 53
incomming out ftp|ipac~o|+|tcp|0/0 53|0/0
incomming in dns|ipac~i|+|udp|0/0|0/0 53
incomming out ftp|ipac~o|+|udp|0/0 53|0/0
# http (port 80)
incomming in http|ipac~i|+|tcp|0/0|0/0 80
incomming out http|ipac~o|+|tcp|0/0 80|0/0
# pop3 (port 110)
incomming in pop3|ipac~i|+|tcp|0/0|0/0 110
incomming out pop3|ipac~o|+|tcp|0/0 110|0/0
# https (port 443)
incomming in ftp|ipac~i|+|tcp|0/0|0/0 443
incomming out ftp|ipac~o|+|tcp|0/0 443|0/0
# Teamspeak (port 8767)
incomming in Teamspeak|ipac~i|+|udp|0/0|0/0 8767
incomming out Teamspeak|ipac~o|+|udp|0/0 8767|0/0
Wenn ich jetzt nen fetchipac -S starte bkomme ich nen Segmentation Fault
# This is the main ipac-ng configuration file. It contains the
# configuration directives that give the ipac-ng its instructions.
# Install as /etc/ipac-ng/ipac.conf
## accouting agent. iptables and ipchains available now.
account agent = iptables
## storage. gdbm, postgre and files supported. (files is not recommended)
#storage = postgre
## rules file
rules file = /etc/ipac-ng/rules.conf
# dont store lines contains only zeroes to speedup processing and to save space
drop zero lines = yes
## This parameters controls database location
## 'db host', 'db port' can be left blank for a local database
## as now, both databasess (access and storage) configured by these parameters
#db host = localhost
#db port = 5432
## ATTENTION: no underscore '_' in the following parameters allowed!
iund so meine Rules:
# Example config file with accounting rules for iptables
# Install as /etc/ipac-ng/rules.conf
#
# Format:
# Name of rule|direction|interface|protocol|source|destination|extension|
# WARNING!!!! spaces are not allowed before and after '|'.
#
# where
# Name of rule Any string to identify this rule
# direction ipac~fi - forward in
# ipac~fo - forward out
# ipac~i - outgoing from machine with ipac-ng to other h
ost(/net)
# (or incoming to otherhost)
# ipac~o - incoming to machine with ipac-ng
# (or outgoing from otherhost)
#
# interface interface name, '+' means all interfaces (dont try to us
e ip numbers here!)
# protocol tcp | udp | icmp | all
# source
# destination both as described in ipfwadm(8), or empty
#
#
# W A R N I N G ! ! !
#
# Don't use symbols other than '0-9A-z[space]' in rules names. You may encounter
# some strange troubles.
#Total Traffic
#all
Incoming Total System|ipac~o|eth0|all||||
Incoming Total System|ipac~fi|eth0|all||||
Outgoing Total System|ipac~i|eth0|all||||
Outgoing Total System|ipac~fo|eth0|all||||
#
# Verbindungen von diesem Rechner zu ....
#
# ftp (port 20 und 21)
incomming in ftp|ipac~i|+|tcp|0/0 20 21|0/0
incomming out ftp|ipac~o|+|tcp|0/0|0/0 20/21
# ssh (port 22 )
incomming in ssh|ipac~i|+|tcp|0/0 22|0/0
incomming out ssh|ipac~o|+|tcp|0/0|0/0 22
# smtp (port 53, TCP und UDP)
incomming in dns|ipac~i|+|tcp|0/0 53|0/0
incomming out dns|ipac~o|+|tcp|0/0|0/0 53
incomming in dns|ipac~i|+|udp|0/0 53|0/0
incomming out dns|ipac~o|+|udp|0/0|0/0 53
# http (port 80)
incomming in http|ipac~i|+|tcp|0/0 80|0/0
incomming out http|ipac~o|+|tcp|0/0|0/0 80
# pop3 (port 110)
incomming in pop3|ipac~i|+|tcp|0/0 110|0/0
incomming out pop3|ipac~o|+|tcp|0/0|0/0 110
# https (port 443)
incomming in ftp|ipac~i|+|tcp|0/0 443|0/0
incomming out ftp|ipac~o|+|tcp|0/0|0/0 443
# Teamspeak (port 8767)
incomming in Teamspeak|ipac~i|+|udp|0/0 8767|0/0
incomming out Teamspeak|ipac~o|+|udp|0/0|0/0 8767
#
#Verbindungen von außen auf diesen Rechner
#
#
# ftp (port 20 und 21)
incomming in ftp|ipac~i|+|tcp|0/0|0/0 20 21
incomming out ftp|ipac~o|+|tcp|0/0 20 21|0/0
# ssh (port 22 )
incomming in ssh|ipac~i|+|tcp|0/0|0/0 22
incomming out ssh|ipac~o|+|tcp|0/0 22|0/0
# smtp (port 53, TCP und UDP)
incomming in dns|ipac~i|+|tcp|0/0|0/0 53
incomming out ftp|ipac~o|+|tcp|0/0 53|0/0
incomming in dns|ipac~i|+|udp|0/0|0/0 53
incomming out ftp|ipac~o|+|udp|0/0 53|0/0
# http (port 80)
incomming in http|ipac~i|+|tcp|0/0|0/0 80
incomming out http|ipac~o|+|tcp|0/0 80|0/0
# pop3 (port 110)
incomming in pop3|ipac~i|+|tcp|0/0|0/0 110
incomming out pop3|ipac~o|+|tcp|0/0 110|0/0
# https (port 443)
incomming in ftp|ipac~i|+|tcp|0/0|0/0 443
incomming out ftp|ipac~o|+|tcp|0/0 443|0/0
# Teamspeak (port 8767)
incomming in Teamspeak|ipac~i|+|udp|0/0|0/0 8767
incomming out Teamspeak|ipac~o|+|udp|0/0 8767|0/0
Wenn ich jetzt nen fetchipac -S starte bkomme ich nen Segmentation Fault