Rana Bhattacharyya wrote:
Hi,Can we define the IP restrictor interface to handle this? In future we may have other requirements based for example date. We can change the IP restrictor to address this. What do you think?
It would certainly be good with a generic restrictor interface that could be used for implementing generics checks. The IpRestrictor is called at the wrong time (when accepting the socket) for this specific check.
If you don't disagree, I'll commit Tonys patch for now and we can revisit the need for a generic restrictor in the future?
/niklas
