Class IpLists
java.lang.Object
org.frontcache.guard.IpLists
The address lists under
conf/lists/ - the ones that change while the node runs. A client-ip:@lists/...
predicate reads its list through here rather than copying it at load: a plugin's PluginContext.writeList
replaces the list in place, and every rule naming it - in guard-rules.conf and bots.conf alike - sees the new
content at once, with no reload.
Two things differ from any other client-ip:@file, because a list here is somebody's moving output: a
missing file is an empty list (a WARN, not a refused rule - the plugin that writes it may not have run yet),
and an empty list is legal. A rule load re-reads a file whose size or modification time changed since it was read,
so an operator's own cron writing here is picked up by the next reload, as before.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne list as the rules read it. -
Field Summary
Fields -
Method Summary
-
Field Details
-
DIRECTORY
The directory underconf/, with its slash:@lists/banned.txt.- See Also:
-
-
Method Details
-
isLive
Whether a@filename is a live list. -
publish
-