nbs-system / naxsi

NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX
GNU General Public License v3.0
4.8k stars 606 forks source link

Add a "peer" filter to nxapi #533

Closed gbwebdev closed 11 months ago

gbwebdev commented 4 years ago

Hi,

Thanks a lot for naxsi and nxapi.

It would be very nice to add a "peer" filter to nxapi. I have a static IP address at home, and I'am absolutly sure that all requests coming from this IP are safe. So it would be nice to be able to filter on this IP when generating whitlists.

Thanks !

wargio commented 4 years ago

Hi, yes this could be a nice improvement. in the meantime i suggest as workaround to just use cat <mylogfile.log> | grep -v "1\.2\.3\.4" > mynewlogfile.log

gbwebdev commented 4 years ago

Thank you for the workaround ! And again, thanks for the great work.