freets3.ovh
Active Member
- Sep 19, 2015
- 150
- 105
- 85
Anyway, I love this version
./AccountingServerEmulator-Linux start
127.0.0.1 accounting.teamspeak.com
127.0.0.1 backupaccounting.teamspeak.com
127.0.0.1 blacklist.teamspeak.com
127.0.0.1 ipcheck.teamspeak.com
127.0.0.1 weblist.teamspeak.com #(only if you dont want to be on the weblist)
[/B]
aptitude install iptables iptables-persistent fail2ban
service fail2ban stop
iptables -F
iptables -X
#DENY
iptables -N DENY
iptables -A DENY -p tcp -m tcp -m limit --limit 30/sec --limit-burst 100 -m comment --comment "Anti-DoS" -j REJECT --reject-with tcp-reset
iptables -A DENY -m limit --limit 30/sec --limit-burst 100 -m comment --comment "Anti-DoS" -j REJECT --reject-with icmp-proto-unreachable
iptables -A DENY -p tcp ! --syn -m state --state NEW -j DROP
iptables -A DENY -f -j DROP
iptables -A DENY -p tcp --tcp-flags ALL ALL -j DROP
iptables -A DENY -p tcp --tcp-flags ALL NONE -j DROP
iptables -A DENY -p icmp --icmp-type echo-request -m limit --limit 1/s -m comment --comment "Limit Ping Flood" -j ACCEPT
#iptables -A DENY -j LOG --log-prefix "PORT DENIED: " --log-level 5 --log-ip-options --log-tcp-options --log-tcp-sequence
iptables -A DENY -p tcp --tcp-flags ALL NONE -m limit --limit 1/h -m comment --comment "Anti-Portscan" -j ACCEPT
iptables -A DENY -p tcp --tcp-flags ALL ALL -m limit --limit 1/h -m comment --comment "Anti-Portscan2" -j ACCEPT
#Drop unusual flags
iptables -A DENY -p tcp --tcp-flags ALL FIN,URG,PSH -j DROP
iptables -A DENY -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j DROP
iptables -A DENY -p tcp --tcp-flags ALL NONE -j DROP
iptables -A DENY -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP
iptables -A DENY -p tcp --tcp-flags SYN,RST SYN,RST -j DROP
iptables -A DENY -m comment --comment "Ignore everything else" -j DROP
#BLOCKED
iptables -N BLOCKED
#ALLOWED
iptables -N ALLOWED
#iptables -A ALLOWED -s <YOUR IP HERE> -j ACCEPT ###EDIT AND UNCOMMENT THIS LINE!
#SERVICES
iptables -N SERVICES
iptables -A SERVICES -p tcp -m tcp --dport 53 -m comment --comment "Allow: DNS" -j ACCEPT
iptables -A SERVICES -p udp -m udp --dport 53 -m comment --comment "Allow: DNS" -j ACCEPT
iptables -A SERVICES -p tcp -m tcp --dport 22 -m comment --comment "Allow: SSH-Access" -j ACCEPT
iptables -A SERVICES -p tcp -m multiport --dports 80,8080,443 -m comment --comment "Allow: Webserver" -j ACCEPT
iptables -A SERVICES -j RETURN
#TEAMSPEAK
iptables -N TEAMSPEAK
#iptables -A TEAMSPEAK -p tcp -m tcp --dport 2008 -m comment --comment "Allow: TeamSpeak Accounting" -j ACCEPT
iptables -A TEAMSPEAK -p tcp -m tcp --dport 10011 -m comment --comment "Allow: TeamSpeak ServerQuery" -j ACCEPT
iptables -A TEAMSPEAK -p tcp -m multiport --dports 30033 -m comment --comment "Allow: TeamSpeak FileTransfer" -j ACCEPT
iptables -A TEAMSPEAK -p tcp -m tcp --dport 41144 -m comment --comment "Allow: TeamSpeak TSDNS" -j ACCEPT
iptables -A TEAMSPEAK -p udp -m udp --dport 1:65535 -m comment --comment "Allow: TeamSpeak Voiceports" -j ACCEPT
iptables -A TEAMSPEAK -j RETURN
#INPUT
iptables -A INPUT -m comment --comment "Allow Whitelisted IP's" -j ALLOWED
iptables -A INPUT -m comment --comment "Block Blacklisted IP's" -j BLOCKED
iptables -A INPUT -i lo -m comment --comment "Allow: Loopback" -j ACCEPT
iptables -A INPUT -m state --state RELATED,ESTABLISHED -m comment --comment "Allow: Related and Established Connections" -j ACCEPT
iptables -A INPUT -m comment --comment "Allow Default Services" -j SERVICES
iptables -A INPUT -m comment --comment "Allow TeamSpeak Services" -j TEAMSPEAK
iptables -A INPUT -p icmp -m comment --comment "Allow: ICMP" -j ACCEPT
iptables -A INPUT -m comment --comment "Ignore everything else" -j DENY
iptables -P INPUT DROP
/etc/init.d/iptables-persistent save
service fail2ban start
clear
iptables -L
[B]
i 3 Server testing Debian jessie 8.0 and 8.2. linux. And 111 error but no crash online 18 hourYou did how AJO sayd and you escape of this error 111 ?
i tested . i have 3 ts Server. 2 online. 1 testing serverWell i don't care . I remove it . i have just 2 ts3 and most of the time are for me .. so yeah it fix it for me.
5531 root 20 0 964 432 320 S 0.0 0.0 0:00.35 AccountingServe
2016-02-21 05:20:47.386116|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.0.12.2 (2016-02-15 14:51:38)
2016-02-21 05:20:47.386617|INFO |ServerLibPriv | |SystemInformation: Windows 10 (10586) x64 (AMD or Intel) Binary: 64bit
2016-02-21 05:20:47.386617|INFO |ServerLibPriv | |Using hardware aes
2016-02-21 05:20:47.388120|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
2016-02-21 05:20:47.388120|INFO |DatabaseQuery | |dbPlugin version: 3.8.0.2
2016-02-21 05:20:47.388120|INFO |DatabaseQuery | |checking database integrity (may take a while)
2016-02-21 05:20:48.636474|ERROR | | |TS3ANetwork::Connect failed error: 10061
2016-02-21 05:20:48.636474|ERROR | | |Unable to connect to primary address, trying secondary
2016-02-21 05:20:49.638078|ERROR | | |TS3ANetwork::Connect failed error: 10061
2016-02-21 05:20:49.642087|ERROR |Accounting | |Unable to connect to accounting server
2016-02-21 05:20:49.642087|INFO |Accounting | |Licensing Information
2016-02-21 05:20:49.642087|INFO |Accounting | |licensed to : MESMERiZE
2016-02-21 05:20:49.642087|INFO |Accounting | |type : Hoster
2016-02-21 05:20:49.642087|INFO |Accounting | |starting date : Fri Jan 1 00:00:00 2010
2016-02-21 05:20:49.642087|INFO |Accounting | |ending date : Wed Jan 1 00:00:00 2025
2016-02-21 05:20:49.642087|INFO |Accounting | |max virtualservers: 65535
2016-02-21 05:20:49.642087|INFO |Accounting | |max slots : 16776960
2016-02-21 05:20:51.071071|INFO | | |Puzzle precompute time: 1404
2016-02-21 05:20:51.074076|INFO |FileManager | |listening on 0.0.0.0:30033
2016-02-21 05:20:51.149453|INFO |CIDRManager | |updated query_ip_whitelist ips: 127.0.0.1,
2016-02-21 05:20:51.149954|INFO |Query | |listening on 0.0.0.0:10011
2016-02-21 05:20:52.206738|ERROR | | |TS3ANetwork::Connect failed error: 10061
2016-02-21 05:20:52.206738|ERROR | | |Unable to connect to primary address, trying secondary
2016-02-21 05:20:53.292471|ERROR | | |TS3ANetwork::Connect failed error: 10061
2016-02-21 06:21:35.735662|ERROR | | |TS3ANetwork::Connect failed error: 10061
2016-02-21 06:21:35.735662|ERROR | | |Unable to connect to primary address, trying secondary
2016-02-21 06:21:36.766778|ERROR | | |TS3ANetwork::Connect failed error: 10061
2016-02-21 07:00:46.600059|INFO |Query | |query from 1 127.0.0.1:64546 issued: login with account "serveradmin"(serveradmin)
2016-02-21 07:01:19.524484|INFO |Query | |query from 2 127.0.0.1:64551 issued: login with account "serveradmin"(serveradmin)
2016-02-21 07:02:39.636988|INFO |Query | |query from 3 127.0.0.1:64558 issued: login with account "serveradmin"(serveradmin)
2016-02-21 07:02:49.624874|INFO |Query | |query from 1 127.0.0.1:64546 issued: login with account "serveradmin"(serveradmin)
2016-02-21 07:22:33.192368|ERROR | | |TS3ANetwork::Connect failed error: 10061
2016-02-21 07:22:33.192368|ERROR | | |Unable to connect to primary address, trying secondary
2016-02-21 07:22:34.292319|ERROR | | |TS3ANetwork::Connect failed error: 10061
2016-02-21 07:22:34.292319|ERROR |Accounting | |Could not connect to accounting server after multiple attempts, shutting down server
|Accounting | |Unable to connect to accounting server
./AccountingServerEmulator-Linux start
Segmentation fault
./futs start
Segmentation fault
./futs
Segmentation fault
3.0.12.2 work fine without any error.Still got the same error of running AccServ:
version 3.0.11.4 works good, but 3.0.12.2 AccServ cant running.
AccServ is damaged? or WTF?
2016-02-22 06:35:04.451081|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.0.12.2 (2016-02-15 14:51:38)
2016-02-22 06:35:04.451306|INFO |ServerLibPriv | |SystemInformation: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 Binary: 64bit
2016-02-22 06:35:04.451377|INFO |ServerLibPriv | |Using hardware aes
2016-02-22 06:35:04.454691|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
2016-02-22 06:35:04.454801|INFO |DatabaseQuery | |dbPlugin version: 3.8.6
2016-02-22 06:35:04.456349|INFO |DatabaseQuery | |checking database integrity (may take a while)
2016-02-22 06:35:04.490253|INFO |SQL | |db_CreateTables() tables created
2016-02-22 06:35:08.868021|INFO |Accounting | |Licensing Information
2016-02-22 06:35:08.868123|INFO |Accounting | |licensed to : MESMERiZE
2016-02-22 06:35:08.868176|INFO |Accounting | |type : Hoster
2016-02-22 06:35:08.868230|INFO |Accounting | |starting date : Fri Jan 1 00:00:00 2010
2016-02-22 06:35:08.868271|INFO |Accounting | |ending date : Wed Jan 1 00:00:00 2025
2016-02-22 06:35:08.868310|INFO |Accounting | |max virtualservers: 65535
2016-02-22 06:35:08.868342|INFO |Accounting | |max slots : 16776960
2016-02-22 06:35:11.199352|INFO | | |Puzzle precompute time: 2296
2016-02-22 06:35:11.202136|INFO |FileManager | |listening on 0.0.0.0:30033
2016-02-22 06:35:11.204096|INFO |VirtualSvrMgr | |executing monthly interval
2016-02-22 06:35:11.204519|INFO |VirtualSvrMgr | |reset virtualserver traffic statistics
2016-02-22 06:35:11.247326|INFO |CIDRManager | |updated query_ip_whitelist ips: 127.0.0.1,
2016-02-22 06:35:11.247716|INFO |Query | |listening on 0.0.0.0:1001
This doesn't have the problem of shutting down every 2 hours if you know how to install it. (If you follow instructions lol)Does the emu-less have the same problem in terms of shutting down every 2 hours?