Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Help with IIS8 IP Address and Domain restrictions

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
bobby131313 Posted - 09 December 2020 : 22:47:25
So, I have this rogue bot from Germany that doesn't identify itself. It spoofs the user agent pretends to be a normal user. Unfortunately it's also clicking ads. The block is always 185.220.*.*

So best i can tell googling, I've added it correctly.....



However as you can see it still gets in (been several days since I added it)...



Any ideas what I might have done wrong?
7   L A T E S T    R E P L I E S    (Newest First)
Carefree Posted - 16 February 2021 : 21:05:03
If the IP address block always starts with 185.220, you can stop it in ASP if you wish. In inc_header.asp, just above the line:

if strshowtimer = 1

Add this, they'll get sent back to their own computer every time they connect:

If Left(Request.ServerVariables("Remote_Addr"), 7) = "185.220" Then Response.Redirect "http://127.0.0.1"
bobby131313 Posted - 21 December 2020 : 19:35:21
I checked Event Viewer and there is no history of it ever being restarted. I just did it. We'll see. Thank you.
HuwR Posted - 21 December 2020 : 17:58:34
No idea, but worth a try
bobby131313 Posted - 21 December 2020 : 13:47:43
No I didn't. I take it that' required?
HuwR Posted - 21 December 2020 : 08:28:18
looks ok to me, did you restart IIS after making the change?
bobby131313 Posted - 20 December 2020 : 19:56:08
Thanks Hu.

But how is it still getting in when it's supposed to be blocked? Did I do it wrong?
HuwR Posted - 11 December 2020 : 18:27:53
This IP is owpned by the torproject

https://stackoverflow.com/questions/9780038/is-it-possible-to-block-tor-users

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000 Version 3.4.07