Commit graph

4 commits

Author SHA1 Message Date
fartwhif
762dd072ec
fixed bug allowing a corrupt or malformed packet to crash the server when the fragment parser tries to read past the end of the data (#2903)
simplified CryptoSystem
removed unused counter from ISAAC
simplified client packet CRC verification call stack
2020-04-11 12:54:25 -04:00
fartwhif
2b606d505c Removing unused pattern from CryptoSystem for slightly better performance. (#2398)
* Adding .NET IDisposable pattern to CryptoSystem
Removing unused pattern from CryptoSystem for better performance.
Slightly improved CryptoSystem documentation

* convert IDisposable pattern to custom function
add cleanup for stream cipher
2019-12-21 08:29:05 -05:00
fartwhif
90e328660c move order-insensitive items earlier in packet processing pipeline (#1647)
* moved order-insensitive "half-processing" earlier in packet processing pipeline
added adaptive resiliency to CryptoSystem

* undo untested assumption
2019-04-06 00:52:07 -05:00
fartwhif
10498076d0 network stability (#1511)
* fixed bug causing disconnects due to NAK requests being dropped.
added asynchronous verification of encrypted CRCs
added checksum caching to ClientPacket
removed "generational ISAAC" debugging tools
fixed a bug causing session to enter an unspecified state when the connect request packet sent to the client was corrupted in transit
added handling of trusted packet with ClientSentNetErrorDisconnect flag
fixed bug during handshake causing defunct session to linger
fixed AccountSelectCallback was being called in both the try and catch sections of a try/catch block leading to crashes whenever a bad handshake occurs
implemented parsing of optional "flow" header data
added more network logging

* added packetLog to WorldManager
removed pre-processor definition NETDIAG and directives
2019-03-10 17:40:23 -04:00