The Forum has been Updated
        The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
    
                        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?
                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?
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        This IP is owpned by the torproject
https://stackoverflow.com/questions/9780038/is-it-possible-to-block-tor-users
                                https://stackoverflow.com/questions/9780038/is-it-possible-to-block-tor-users
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        Thanks Hu.
But how is it still getting in when it's supposed to be blocked? Did I do it wrong?
                                But how is it still getting in when it's supposed to be blocked? Did I do it wrong?
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        looks ok to me, did you restart IIS after making the change?
                                        
                                    
                                
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        No I didn't. I take it that' required?
                                        
                                    
                                
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        No idea, but worth a try 
                                        
                                    
                                
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        I checked Event Viewer and there is no history of it ever being restarted. I just did it. We'll see. Thank you.
                                        
                                    
                                
                                Last edited by bobby131313 on 21 December 2020, 19:51
                                
                            
                        
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        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"
                                        
                                    
                                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"
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
                    
                    Loading...