against bots

User avatar
GottZ
50+ Posts
50+ Posts
Posts: 51
Joined: Mon Jan 17, 2011 12:04 pm

against bots

Post by GottZ »

@ant & nick
http://sapphiremands.com/forum/viewtopic.php?f=22&t=565
the content of the spoiler simply fits into a file called .htaccess wich can be put into the root of your server.

voila.. lots of root server ip ranges banned.

there is not such thing like a perfect ban table. at least i've tryed creating one on my own :/

oh and please tell me ip's of active spambots within this forum so i could add their ranges to that list.
whut i got: Steam, -[SaD]- Admin, Sapph Admin, Respect
what do you got?
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: against bots

Post by ant_8490 »

For now ive been banning in the phpbb3 ip ban area. Similar to the htaccess file, but just for this /forums space. But now im probably gonna just add it to the htaccess file since it would take too long to convert all ur IPs to ranges/wildcard format (which is how phpbb3 wants it).

Heres whats in there so far:
Deny from 46.17.96.0/21
Deny from 46.109.0.0/16
Deny from 84.19.0.0/16
Deny from 91.201.64.0/22
Deny from 95.79.192.0/21
Deny from 113.0.0.0/8
Deny from 118.0.0.0/8
Deny from 188.0.0.0/8
Deny from 193.107.16.0/22
Deny from 195.150.80.0/21
Deny from 195.162.68.0/23
Deny from 211.24.0.0/15
Deny from 213.5.64.0/21
Deny from 222.64.0.0/12
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
User avatar
GottZ
50+ Posts
50+ Posts
Posts: 51
Joined: Mon Jan 17, 2011 12:04 pm

Re: against bots

Post by GottZ »

*added your list to mine

sure. could have banned em through phpbb but in my opinion using htaccess is more efficient.
if you want to i can write a simple converter from Deny from CIDR to phpbb ban ranges / wildcards

Image
i wanna add a cidr to range converter to this, so it would be not much work

edit:

new one. just right now registred on sapph:
NetRange: 199.15.232.0 - 199.15.239.255
CIDR: 199.15.232.0/21

edit:
ant you should enable recaptcha within this forum.

edit:
new one:
NetRange: 207.204.224.0 - 207.204.255.255
CIDR: 207.204.224.0/19
whut i got: Steam, -[SaD]- Admin, Sapph Admin, Respect
what do you got?
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: against bots

Post by ant_8490 »

I am using htaccess now. Also add 178.0.0.0/8
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
User avatar
GottZ
50+ Posts
50+ Posts
Posts: 51
Joined: Mon Jan 17, 2011 12:04 pm

Re: against bots

Post by GottZ »

hm nico told me he cannot view this forum anymore.
his current ip is 109.193.136.154 wich does not match to my htaccess content :/

anyways.. do you think its a good idea to block isp's?
cause thats what you did with 178.0.0.0/8 (Arcor Germany) xD
whut i got: Steam, -[SaD]- Admin, Sapph Admin, Respect
what do you got?
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: against bots

Post by ant_8490 »

Nico should be unbanned now, and ill block the whole ISP block if its from Russia or China, cuz thats where most of this shit is coming from.

Edit: reCAPTURA added on here also.
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: against bots

Post by Nicdel »

Thanks :D
Ingame: -[SaD]- Nico

Image
Ryan
Former Server Admin
Posts: 1163
Joined: Fri Apr 23, 2010 2:56 am
Location: United Kingdom

Re: against bots

Post by Ryan »

Me and Gordon appear to be banned too, for spam. (on my phone)
User avatar
GottZ
50+ Posts
50+ Posts
Posts: 51
Joined: Mon Jan 17, 2011 12:04 pm

Re: against bots

Post by GottZ »

so get your ip and write it here so we can deal with unbaning you.

newly registred in sapph:
62.87.128.0/17
91.212.226.0/24
74.117.56.0/21
212.25.32.0/19
195.39.210.0/24
91.76.0.0/14
whut i got: Steam, -[SaD]- Admin, Sapph Admin, Respect
what do you got?
User avatar
GottZ
50+ Posts
50+ Posts
Posts: 51
Joined: Mon Jan 17, 2011 12:04 pm

Re: against bots

Post by GottZ »

more ranges. most from ukraine and china

46.118.0.0/15
58.22.0.0/15
94.74.64.0/18
94.231.64.0/20
109.169.64.0/19
119.152.0.0/13
208.176.0.0/15
216.131.64.0/18
whut i got: Steam, -[SaD]- Admin, Sapph Admin, Respect
what do you got?
User avatar
GottZ
50+ Posts
50+ Posts
Posts: 51
Joined: Mon Jan 17, 2011 12:04 pm

Re: against bots

Post by GottZ »

please remove 178.0.0.0/8
behind it is an isp for mobile internet in britain

edit: and ban this: 93.126.64.0/18

edit: one of my friends from poland fits into this range:
62.87.128.0/17
so please remove it too if you have it added already.
whut i got: Steam, -[SaD]- Admin, Sapph Admin, Respect
what do you got?
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: against bots

Post by ant_8490 »

i made the unban request forum "by approval only" since there was so many ads. Also there seems to be a TON from 109.0.0.0/8 but some ppl from my group are in that range.
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
User avatar
GottZ
50+ Posts
50+ Posts
Posts: 51
Joined: Mon Jan 17, 2011 12:04 pm

Re: against bots

Post by GottZ »

62.122.208.0/21
78.8.4.0/24
208.43.0.0/16

wuyah. some new.
but some ppl from my group are in that range.
i check every range by hand to figure out if its hosted somewhere or if it is an isp.
if it is an isp i ban it only if it comes from the ukraine, china or russia.

edit: i should also note that banning /8 results often in banning multiple country ranges.

edit:
a new russian range: 93.80.0.0/16
whut i got: Steam, -[SaD]- Admin, Sapph Admin, Respect
what do you got?
User avatar
GottZ
50+ Posts
50+ Posts
Posts: 51
Joined: Mon Jan 17, 2011 12:04 pm

Re: against bots

Post by GottZ »

yo ant and nick and all other forum admins wich may know what this is about :D

i've hereby removed all ip range bans from sapph since i was sick about unbanning ppl cause they fit into some of theese ranges.

finaly i came to the decision to do this:

http://www.phpbb.com/kb/article/custom- ... mmer-tool/

i also changed some things within the forum:
http://sapphiremands.com/forum/viewtopi ... t=10#p4528

guests and newly registred ppl now need to get their posts activated.
newly registred ppl need to get a post limit of 5 activated posts before they turn into usual members automated.

well with theese simple changes sapph's forum did not got ANY new registred spammer since around 26 hours now. this is an achievement. we had around 200 a week before.

i would suggest doing the same here since it works :D
whut i got: Steam, -[SaD]- Admin, Sapph Admin, Respect
what do you got?
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: against bots

Post by ant_8490 »

Yep this seems to have worked. No spam accounts created so far. Thanks Gottz.
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10