News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Guest access and htaccess

Started by truongcoi, August 08, 2021, 09:25:37 AM

Previous topic - Next topic

truongcoi

Hello,

For a couple of weeks now our forum has been seeing the same IP range (France) trying access in large numbers every day. The access try probably comes from a bot as it stops with guest access and viewing the first page, never trying to register.

An htaccess file entry placed on the server which should result in an access error message to the other party has no effect, athough in other cases they ceased coming.

My question is, is it normal that the SMF 'Who's online' still shows the IPs of the bot(s) despite the htaccess file preventing access? Is there any way they could get around it if the whole range is blocked?

Thanks.

LiroyvH

Quote
An htaccess file entry placed on the server which should result in an access error message to the other party has no effect, athough in other cases they ceased coming.

My question is, is it normal that the SMF 'Who's online' still shows the IPs of the bot(s) despite the htaccess file preventing access? Is there any way they could get around it if the whole range is blocked?

Depends on what you've set the time to and when they last visited. If you've set it very high, such as "active in the past 24 hours" and you've added the htaccess entry 1 hour ago: then yeah, they could still appear. If more time has elapsed than your threshold, then no it shouldn't show and I'd double check if your htaccess rule is setup properly and is actually working. (Eg: replace with your own IP and see if it actually blocks you.)
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

Advertisement: