Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-12 Thread antlists
On 12/01/2021 17:11, the...@sys-concept.com wrote: I wish they design blocking by country easier. Unfortunately, IPv4 in particular, blocking by country is pretty much impossible because - due to demand pressure - addresses are scattered pretty much randomly. Especially with class A or B

Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-12 Thread J. Roeleveld
On 12 January 2021 18:11:34 CET, the...@sys-concept.com wrote: >On 1/11/21 11:32 PM, J. Roeleveld wrote: >[snip] >> If you blocked the IP in the firewall, it shouldn't show in the log. >> >> Add iptables to the webserver and block that IP. >> Personally, I would block the whole range

Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-12 Thread thelma
On 1/11/21 11:32 PM, J. Roeleveld wrote: [snip] > If you blocked the IP in the firewall, it shouldn't show in the log. > > Add iptables to the webserver and block that IP. > Personally, I would block the whole range (45.93.201.0/24), which is either > linked to Cyprus or Russia (according to

Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-12 Thread mad . scientist . at . large
--"Fascism begins the moment a ruling class, fearing the people may use their political democracy to gain economic democracy, begins to destroy political democracy in order to retain its power of exploitation and special privilege." Tommy Douglas Jan 11, 2021, 17:09 by

Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-11 Thread J. Roeleveld
On Tuesday, January 12, 2021 5:22:20 AM CET the...@sys-concept.com wrote: > On 1/11/21 9:15 PM, mad.scientist.at.la...@tutanota.com wrote: > > --"Fascism begins the moment a ruling class, fearing the people may use > > their political democracy to gain economic democracy, begins to destroy > >

Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-11 Thread thelma
On 1/11/21 9:15 PM, mad.scientist.at.la...@tutanota.com wrote: > > > --"Fascism begins the moment a ruling class, fearing the people may use their > political democracy to gain economic democracy, begins to destroy political > democracy in order to retain its power of exploitation and

Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-11 Thread thelma
On 1/11/21 5:00 PM, the...@sys-concept.com wrote: > On 1/11/21 4:41 PM, Michael wrote: >> On Monday, 11 January 2021 23:05:55 GMT the...@sys-concept.com wrote: >>> I've one persistent user (Russian IP) that is populating my apache log >>> files. >>> >>> I tried 00_mod_log_config.conf >>> >>>

Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-11 Thread thelma
On 1/11/21 4:41 PM, Michael wrote: > On Monday, 11 January 2021 23:05:55 GMT the...@sys-concept.com wrote: >> I've one persistent user (Russian IP) that is populating my apache log >> files. >> >> I tried 00_mod_log_config.conf >> >> SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog >> CustomLog

Re: [gentoo-user] preventing some IP's from from being logged in apache

2021-01-11 Thread Michael
On Monday, 11 January 2021 23:05:55 GMT the...@sys-concept.com wrote: > I've one persistent user (Russian IP) that is populating my apache log > files. > > I tried 00_mod_log_config.conf > > SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog > CustomLog /var/log/apache2/deflate_log deflate

[gentoo-user] preventing some IP's from from being logged in apache

2021-01-11 Thread thelma
I've one persistent user (Russian IP) that is populating my apache log files. I tried 00_mod_log_config.conf SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog CustomLog /var/log/apache2/deflate_log deflate env=!dontlog CustomLog /var/log/apache2/access_log common env=!dontlog But I still see this