Support for infinite eviction on self-hosted interactsh-server #422
Labels
Status: Completed
Nothing further to be done with this issue. Awaiting to be closed.
Type: Enhancement
Most issues will probably ask for additions or changes.
Milestone
Please describe your feature request:
New option to support:
-ne, -no-eviction int disable periodic data eviction from memory
README.md for interactsh-server says:
There should be a way to specify an infinite eviction (i.e. disable the purging of sessions and interaction data)
Describe the use case of this feature:
Someone with a self-hosted interactsh-server may want to do very long-running polling of a session. For example:
notify
With the default eviction of 30 days, my understanding is that the long-running interactsh-client started on day 0 will silently stop receiving events after 30 days. The interactsh-client will stay connected and will keep polling, will not get any errors, but will not receive events.
Alternative solution:
A user of interactsh-server can do
-e 999999
to get an essentially infinite eviction time :) but this is not very cleanRisks
There might be an accidental or malicious DoS risk to an interactsh-server that is configured to never evict sessions
See also
Discussion re: this issue at https://discord.com/channels/695645237418131507/837760016822829147/1050207078393856020
The text was updated successfully, but these errors were encountered: