Software/OS: WinGate v5.2.0 on Windows 2000 SP4, with KAV plugin v1.2.1/4.0.2.22
WinGate config: NAT, transparent proxy, firewall and KAV plugin enabled.
Traffic to port 80 is being redirected to an internal web server.
What happened: The WinGate server suddenly became unresponsive. Only reacted to a ping.
When I unplugged the internet connection (without a reboot), the server was responsive
again. WINGATE.EXE had allocated almost 1 GB of RAM (although according to the Task
Manager it was only using 10 MB or so), and written more than 230 thousand lines in
the NAT log! A server reboot was still needed to get everything working again.
Some snippets from the logs:
WWW PROXY LOG:
...
12/02/03 18:14:17 192.168.1.13 Guest 0000030854 Requested: http://www.promise.com/images/home/bg.gif
12/02/03 18:14:17 192.168.1.13 Guest 0000030849 Traffic 2082 309 253 2082 1s
12/02/03 18:14:17 192.168.1.13 Guest 0000030851 Traffic 752 316 260 752 1s
12/02/03 18:14:17 192.168.1.13 Guest 0000030854 Traffic 391 306 250 391 0s
12/02/03 18:14:59 192.168.1.13 Guest 0000030853 Traffic 5315 316 260 5315 42s
12/02/03 18:15:19 192.168.1.8 Guest 0000030856 Error: Malformed Request
12/02/03 18:15:24 192.168.1.13 Guest 0000030855 Traffic 0 0 0 0 26s
12/02/03 18:15:24 192.168.1.8 Guest 0000030856 Traffic 336 557 0 0 21s
12/02/03 18:15:34 192.168.1.13 Guest 0000030857 Requested: http://www.promise.com/
12/02/03 18:15:34 192.168.1.13 Guest 0000030858 Requested: http://www.promise.com/Products/FastTra ... _Sheet.pdf
12/02/03 18:15:34 192.168.1.8 Guest 0000030859 Error: Malformed Request
12/02/03 18:15:34 192.168.1.8 Guest 0000030859 Traffic 336 199 0 0 8s
12/02/03 18:15:57 192.168.1.13 Guest 0000030857 Error: Caught socket exception in CWWWSession::HTTPProcessRequest() Connection to Remote Host timed out - terminating
12/02/03 18:15:57 192.168.1.13 Guest 0000030858 Error: Caught socket exception in CWWWSession::HTTPProcessRequest() Connection to Remote Host timed out - terminating
12/02/03 18:16:00 192.168.1.13 Guest 0000030857 Traffic 215 254 0 0 51s
12/02/03 18:16:00 192.168.1.13 Guest 0000030858 Traffic 215 230 0 0 41s
... no other entries until the reboot (30 minutes later)
NAT LOG:
...
12/02/03 18:11:34 192.168.1.8 Guest 0000030600 Requested: NAT: UDP 192.168.1.8:2592 <-> 131.x.x.x:123
12/02/03 18:12:05 192.168.1.8 Guest 0000030598 Traffic 0 76 76 0 31s
12/02/03 18:12:05 192.168.1.8 Guest 0000030600 Traffic 76 76 76 76 31s
12/02/03 18:12:10 192.168.1.8 Guest 0000030599 Traffic 124 63 63 124 36s
12/02/03 18:14:19 Authorisation failure: NAT STATUS: firewall relay: TCP src 64.x.x.x:0 dst 213.x.x.x:80
12/02/03 18:14:19 Authorisation failure: NAT STATUS: firewall relay: TCP src 64.x.x.x:0 dst 213.x.x.x:80
12/02/03 18:14:19 Authorisation failure: NAT STATUS: firewall relay: TCP src 64.x.x.x:0 dst 213.x.x.x:80
... more than 230 thousand lines in less than 2 minutes! ...
12/02/03 18:16:11 Authorisation failure: NAT STATUS: firewall relay: TCP src 64.x.x.x:0 dst 213.x.x.x:80
... no other entries until the reboot (30 minutes later)
Although this may look like a DOS-attack, I think these authorisation failures are
probably being caused by some sort of infinite loop or other problem in WinGate.
Possibly triggered by a single malicious or corrupt packet.
This happened within a day after updating WinGate v5.0.9 to v5.2. So far it only
happened once, but I'm afraid this problem may occur again.
Any ideas? Perhaps there's a setting I can try?