----- Original Message -----
From: <[EMAIL PROTECTED]>

> I'd just like to know if James somehow supports a feature often called
"Tarpitting", or if someone is working on such support.
>..
> If that feature isn't available, I'll try to implement it myself.

This feature isn't available yet. Hopefully soon going by your last patch.
:-)

>
> What do you think would be the best approach ?

It may be a good idea to collect statistics at mailet level and override
connection listener to implement blocking logic based on a statisitics
collection.
Statistics Collector could be in memory or persistent based on if you want
single or multiple instances of mail server or if you want another process
monitor stats and trigger blocking logic in firewall.

Take a look at  server-sockets in 'Socket Manager Block' in config.xml. It
will point you to the class and abstractions.

>
> Is there already a Timer class in the framework to register TimerTasks
with ?

There is time scheduler block used by POP3 Mail Fetcher and watchdog
abstraction used by protocol handlers, but if you want to block connections
from an aggressive client, a statistical feedback from mailet could be
sufficient.

Harmeet


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to