by adrien » Dec 12 03 6:34 pm
I just checked, and the banlist rule for server ip is honoured correctly.
I think the problem lies in your IP address definition. You probably need to take out the leading zeroes, since the IP is converted to a string, then a string comparison is made with the IP you specify. Since conversion to a string does not include leading zeroes, then the string comparison would fail.
However
policies in the ENS are slightly different to policies in a proxy for instance.
With the ENS, particularly for TCP connections, the way the policies work, is that the initial packet which creates the connection (remembered in the ENS as a "hash entry") is forwarded unless denied by the port security settings.
The policies on the other hand are applied once the connection is notified to the wingate engine, which is after the first packet has been transmitted through the NAT. If the new NAT session (which is created as a result of this notification) fails the policies, then the session is terminated in the engine, and notification sent to the ENS to destroy the hash entry, which sends FIN packets to each end. This closes the connection.
So, what you will see if you ban something in the policies in the ENS, is that the connection will appear to succeed, then be terminated.
The timing between when a connection is set up then torn down again is dependent on loading on the server, so normally this is an effective block over 99% of the time. It would only be under heavily loaded systems on high speed connections talking to servers with low latency that more than a couple of packets would make it through the connection before it was terminated.
This means that some packets will come through.
However I don't think this is significant in your case, since you said when you removed the additional recipient, it behaved as you expected.
That means the problem lies in this additional recipient you created, since with it gone, it behaves as it should, and with it there, it doesn't. So I would check the way you have defined IP addresses.
Adrien