Class AccessFilter

java.lang.Object
net.i2p.i2ptunnel.access.AccessFilter
All Implemented Interfaces:
IncomingConnectionFilter, StatefulConnectionFilter

class AccessFilter
extends Object
implements StatefulConnectionFilter
A filter for incoming connections which can be configured based on access list rules. It keeps a track of known destinations - those defined in existing access lists and unknown ones - those who are not defined in such lists but have recently attempted to connect to us. Every SYNC_INTERVAL seconds the access lists are reloaded from disk if they have changed according to file modification time. This allows the user to edit them. Also, if any recorders are defined in the access rules, they will write to disk at such interval if there have been any new breaches.
Since:
0.9.40