10-22-2025, 07:09 AM
|
#41 (permalink)
|
|
Master EcoModder
Join Date: Aug 2022
Location: South Africa
Posts: 1,341
Thanks: 553
Thanked 604 Times in 508 Posts
|
@ the site admin:
(who-ever that may be? Why's it a 'state secret' anyway??)
This seems to be one of the new security apps making waves amongst web server admins:
Fail2Ban: ban hosts that cause multiple authentication errors
Fail2Ban scans log files like /var/log/auth.log and bans IP addresses conducting too many failed login attempts. It does this by updating system firewall rules to reject new connections from those IP addresses, for a configurable amount of time. Fail2Ban comes out-of-the-box ready to read many standard log files, such as those for sshd and Apache, and is easily configured to read any log file of your choosing, for any error you wish.
|
|
|
|
Today
|
|
|
|
Other popular topics in this forum...
|
|
|
|
10-22-2025, 12:38 PM
|
#42 (permalink)
|
|
Human Environmentalist
Join Date: Aug 2010
Location: Oregon
Posts: 13,473
Thanks: 4,504
Thanked 4,701 Times in 3,621 Posts
|
The issue isn't caused by login attempts, but crawling the pages as a guest. There's no way to block that when many IP addresses are used because we don't know which are users and which are the bots.
|
|
|
|
10-23-2025, 12:50 AM
|
#43 (permalink)
|
|
Too many cars
Join Date: Oct 2009
Location: New York State
Posts: 1,660
Thanks: 1,441
Thanked 859 Times in 511 Posts
|
Quote:
Originally Posted by Logic
@ the site admin:
(who-ever that may be? Why's it a 'state secret' anyway??)
|
Secret?
https://ecomodder.com/forum/showgroups.php
__________________
2000 Honda Insight
2000 Honda Insight
2000 Honda Insight
2006 Honda Insight (parts car)
1988 Honda CRXFi
1994 Geo Metro
|
|
|
|
|
The Following User Says Thank You to Gasoline Fumes For This Useful Post:
|
|
10-24-2025, 04:30 PM
|
#44 (permalink)
|
|
Master EcoModder
Join Date: Aug 2022
Location: South Africa
Posts: 1,341
Thanks: 553
Thanked 604 Times in 508 Posts
|
Quote:
Originally Posted by redpoint5
The issue isn't caused by login attempts, but crawling the pages as a guest. There's no way to block that when many IP addresses are used because we don't know which are users and which are the bots.
|
Same thought crossed my mind, but that came up in a number of places discussing 'why slow' sites, including endless-sphere.
So I assume it has more buttons to press and dials to twiddle than just that...?
|
|
|
|
10-24-2025, 04:37 PM
|
#45 (permalink)
|
|
Master EcoModder
Join Date: Aug 2012
Location: northwest of normal
Posts: 30,440
Thanks: 8,686
Thanked 9,381 Times in 7,739 Posts
|
My landline phone is under a DOS attack (Medicare re-enrollment period). It's running 10-5 calls an hour right now. I've invested in an answering machine as a firewall.
__________________
.
..Without freedom of speech we wouldn't know who all the idiots are. -- anonymous poster
___________________
.
..I before E, except after C -- trust the Science
|
|
|
|
|
The Following User Says Thank You to freebeard For This Useful Post:
|
|
10-24-2025, 04:38 PM
|
#46 (permalink)
|
|
Master EcoModder
Join Date: Aug 2012
Location: northwest of normal
Posts: 30,440
Thanks: 8,686
Thanked 9,381 Times in 7,739 Posts
|
edit: (10-15 calls)
__________________
.
..Without freedom of speech we wouldn't know who all the idiots are. -- anonymous poster
___________________
.
..I before E, except after C -- trust the Science
|
|
|
|
10-25-2025, 02:19 PM
|
#47 (permalink)
|
|
Master EcoModder
Join Date: Aug 2022
Location: South Africa
Posts: 1,341
Thanks: 553
Thanked 604 Times in 508 Posts
|
@ the admins:
(PMs sent. Another way to get their attention..??)
On setting up Fail2ban, by neptronix of Endless-Sphere, post # 24:
NB that Endless-Sphere is NOT slow...
How it works ( in order ):
- some lines of apache configuration that write a filtered web log, excluding hits that don't really generate a CPU load such as images, javascript files, css, etc. This is our first pass filter that makes the next steps perform better. It also helps control web server log size.
Example ( apache )
SetEnvIf Request_URI ^/.*\.(css|gif|jpg|jpeg|png|js|woff|woff2|ico|otf|tt f|eot|json|svg|CSS|GIF|JPG|JPEG|PNG|JS)$ dontlog
CustomLog ${APACHE_LOG_DIR}/access-filtered.log combined env=!dontlog
CustomLog ${APACHE_LOG_DIR}/access.log combined #remove this line if you don't want the unfiltered logs
- some lines of apache configuration that divert certain URLs and paths to specific logs so that we can put fail2ban rate limiters on specific URLs ( bots will hit these URLs a lot )
Example for adding brute force protection to a login page ( apache )
#addon to write just the POSTs for a seperate brute force protection on logins
SetEnvIfExpr "%{REQUEST_METHOD} = 'POST' && %{REQUEST_URI} =~ m#^/site/login/login-form#i" loginposts
SetEnvIfExpr "%{REQUEST_METHOD} = 'POST' && %{REQUEST_URI} =~ m#^/site/admin.php\?.login#i" loginposts
CustomLog ${APACHE_LOG_DIR}/login-posts.log combined env=loginposts
etc-etc...
Last edited by Logic; 10-25-2025 at 02:25 PM..
|
|
|
|
10-25-2025, 03:32 PM
|
#48 (permalink)
|
|
Human Environmentalist
Join Date: Aug 2010
Location: Oregon
Posts: 13,473
Thanks: 4,504
Thanked 4,701 Times in 3,621 Posts
|
The problem is I already fail the Turing test. Apparently I disagree what constitutes images containing a motorcycle or a signal light.
|
|
|
|
10-26-2025, 10:20 PM
|
#49 (permalink)
|
|
Master EcoModder
Join Date: Aug 2012
Location: northwest of normal
Posts: 30,440
Thanks: 8,686
Thanked 9,381 Times in 7,739 Posts
|
At this time in this location... It's no slow, it's either there or not. Intermittently.
__________________
.
..Without freedom of speech we wouldn't know who all the idiots are. -- anonymous poster
___________________
.
..I before E, except after C -- trust the Science
|
|
|
|
10-27-2025, 05:36 AM
|
#50 (permalink)
|
|
Master EcoModder
Join Date: Aug 2022
Location: South Africa
Posts: 1,341
Thanks: 553
Thanked 604 Times in 508 Posts
|
Quote:
Originally Posted by freebeard
At this time in this location... It's no slow, it's either there or not. Intermittently.
|
Endless-Sphere has zero issues. Neptronix knows his stuff!
Tried to PM the admins to have a look but they never went through.
How to get their attention??
|
|
|
|
|
The Following User Says Thank You to Logic For This Useful Post:
|
|
|