MontFerret / worker

Containerized Ferret worker
Apache License 2.0
14 stars 7 forks source link

feat(api): return Server IP #8

Closed PierreBrisorgueil closed 4 years ago

PierreBrisorgueil commented 4 years ago

Hello, it might be interesting to return the execution ip of the request for tracking / debugging on regular scraps.

This can allow you to be aware of spam from an IP address, to understand if it is banned etc ...

ziflex commented 4 years ago

You mean correlation id?

PierreBrisorgueil commented 4 years ago

@ziflex hello, No, but that could be interesting too.

I am really thinking of the public IP adress which could end up in a fail2ban or other, due to poor management of docker API for example, it can be interesting then to understand that this only blocks on a specific IP / environment link to a specific scrap / url.

But it may be too specific to a usecase use of x instances.