- Joined
- Dec 16, 2010
- Messages
- 460
- Reaction score
- 166
The only solution to fix the crash problem is to modify the bins.There is no other way.
There's a client side fix..The only solution to fix the crash problem is to modify the bins.There is no other way.
clear
service iptables stop
IPTABLE="/sbin/iptables"
$IPTABLE -F
$IPTABLE -Z
$IPTABLE -X
#Cabal Secure Ports
#DBAgent ,GlobalMgrSvr,AuthDBAgent,RockAndRollITS,EventDBAgent
#CashDBAgent ,PCBangDBAgent,EventMgrSvr,GlobalDBAgent,PartySvr
SecPorts="32080,38190,38181,37110,38171,38180,38170,38201,38140,32001"
#Cabal Open Ports
lPort="38101" #LoginSvr Port
cPort="38121" #ChatNode Port
aPort="38151" #AgentShop Port
#WorldSvr Ports
Port1="38111"
Port2="38112"
Port3="38113"
Port4="38114"
Port5="38115"
Port6="38116"
Port7="38117"
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp -m multiport --dports $SecPorts -j DROP
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $lPort -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $cPort -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $aPort -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $Port1 -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $Port2 -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $Port3 -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $Port4 -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $Port5 -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $Port6 -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
$IPTABLE -A INPUT ! -s 127.0.0.1 -p tcp --dport $Port7 -m string --hex-string '|0000e2b7|' --algo bm -j REJECT --reject-with tcp-reset
service iptables save
service iptables start
If you are talking about direct packet sending without cabalmain.exe, then I guess the iptables script above can block it.People can crash your channels without a client too. They just need to send you the bad packet and your channel is down![]()
Yes.. because crashtool.exe manipulate the enter channel opcode..That script is not really helpful, can still crash channel using crash tool.
Worldsvr > baotou bytes to change it, perfect to solve collision, don't need to do other, worldsvr > bytes, this has been solved, but no one is released! Believe that will be released soon! We work together
![]()
edit WorldSvr.bin
my idea
iptables -A INPUT -p tcp -m tcp --tcp-flags PSH,ACK PSH,ACK -m length --length 52 -m state --state ESTABLISHED -j DROP