Groups | Search | Server Info | Login | Register


Groups > comp.security.unix > #260

Re: Blocking faux broswers in nginx

From Marco Moock <mm+usenet-es@dorfdsl.de>
Newsgroups comp.infosystems.www.servers.unix, comp.security.unix, comp.security.misc
Subject Re: Blocking faux broswers in nginx
Date 2025-02-24 10:12 +0100
Organization A noiseless patient Spider
Message-ID <20250224101205.7fc11abf@ryz.dorfdsl.de> (permalink)
References <vpgsnl$1f7u$2@gallifrey.nk.ca>

Cross-posted to 3 groups.

Show all headers | View raw


On 24.02.2025 04:31 Uhr The Doctor wrote:

> How do I do a universal block on bogus browsers on nginx?

You can only block on the User-Agent header that can be changed to
whatever the attacker wants.

To block it at the nginx:
https://stackoverflow.com/questions/22144092/how-to-block-a-specific-user-agent-in-nginx-config

I also recommend banning the source IP using fail2ban.

-- 
kind regards
Marco

Send spam to 1740367909muell@stinkedores.dorfdsl.de

Back to comp.security.unix | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Blocking faux broswers in nginx doctor@doctor.nl2k.ab.ca (The Doctor) - 2025-02-24 04:31 +0000
  Re: Blocking faux broswers in nginx Marco Moock <mm+usenet-es@dorfdsl.de> - 2025-02-24 10:12 +0100
    Re: Blocking faux broswers in nginx doctor@doctor.nl2k.ab.ca (The Doctor) - 2025-02-24 16:47 +0000
      Re: Blocking faux broswers in nginx Colin Paul de Glouceſter <Master_Fontaine_is_dishonest@Strand_in_London.Gov.UK> - 2025-03-05 23:12 +0100

csiph-web