Previous Thread
Next Thread
Print Thread
Hop To
Adding comments to banned IP's list #202143 11/29/2007 6:33 PM
Joined: Aug 2006
Posts: 1,356
Yarpâ„¢ Offline OP
veteran
OP Offline
veteran
Joined: Aug 2006
Posts: 1,356
Okay, we have a list with IP's. And it's been there since 7,5 years, growing slow, I don't have a clue on what's what, it would be really nice if we could add a comment to the lines.


[Linked Image from siemons.org]
Re: Adding comments to banned IP's list [Re: Yarpâ„¢] #202146 11/29/2007 7:16 PM
Joined: Dec 2006
Posts: 1,236
ScriptKeeper Offline
veteran
Offline
veteran
Joined: Dec 2006
Posts: 1,236
Have you tried:

123.4.56.789 # bad bot

This works in my .htaccess file but I haven't tried it in the ban list.

Code
order allow,deny
deny from 64.92.199	#thenewpush
allow from all

Re: Adding comments to banned IP's list [Re: ScriptKeeper] #202933 12/10/2007 12:17 PM
Joined: Jul 2006
Posts: 4,062
Mark S Offline
Offline
Joined: Jul 2006
Posts: 4,062
Keeping the info together works for me, but a dont block any IP's


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Re: Adding comments to banned IP's list [Re: Yarpâ„¢] #202969 12/10/2007 2:48 PM
Joined: Apr 2007
Posts: 120
Island Piper Offline
member
Offline
member
Joined: Apr 2007
Posts: 120
That would be nice to have. Another feature that I would like to see is the ability to add a subnet in CIDR notation, ie;

172.168.1/28 or whatever.

As I understand it now, you would have to list each IP in a subnet individually, with the exception of a class C address which you could then do the wildcard % bit.


Re: Adding comments to banned IP's list [Re: Island Piper] #202976 12/10/2007 6:37 PM
Joined: Jun 2006
Posts: 15,860
Likes: 1
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,860
Likes: 1
You can use % with more than a class C:
xxx.xxx.xxx.%
xxx.xxx.%
xxx.%


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Adding comments to banned IP's list [Re: Gizmo] #202978 12/10/2007 6:46 PM
Joined: Apr 2007
Posts: 120
Island Piper Offline
member
Offline
member
Joined: Apr 2007
Posts: 120
Originally Posted by Gizmo
You can use % with more than a class C:
xxx.xxx.xxx.%
xxx.xxx.%
xxx.%

Well yes, but I don't think many admins will be banning entire class B and A netblocks.

I guess my point was having a shorthand method to ban class-c subnets.


Re: Adding comments to banned IP's list [Re: Island Piper] #202999 12/10/2007 11:38 PM
Joined: Apr 2007
Posts: 3,938
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,938
using underscore allows you to wildcard a single character place

Re: Adding comments to banned IP's list [Re: SD] #203046 12/11/2007 1:45 PM
Joined: Apr 2007
Posts: 120
Island Piper Offline
member
Offline
member
Joined: Apr 2007
Posts: 120
Originally Posted by Sirdude
using underscore allows you to wildcard a single character place

I'm not following... do you mean "192.168.1.16_" and that would match .160 --> .169 ?

I guess that would cut down on some of the entries, but say you had a /28 subnet you wanted to block.

If you could just enter 64.119.5.176/28 instead of:

64.119.5.177
64.119.5.178
64.119.5.179
64.119.5.18_
64.119.5.190

That would, to me, make much more sense. Plus you know the IP's should be treated as a group, not single entries.

If CIDR notation is an issue, then maybe:

64.119.5.176 255.255.255.240


Re: Adding comments to banned IP's list [Re: Island Piper] #203050 12/11/2007 3:18 PM
Joined: Apr 2007
Posts: 3,938
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,938
yes.. _ will match 0 thru 9 for that character position.. that's as good as it gets for now wink


Link Copied to Clipboard
Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Subscriptions Question
by Ruben - 01/14/2020 12:11 PM
Page won't load after 7.7.3 Update
by Jim0421 - 01/08/2020 11:11 AM
Ubb 7.7.3 winkey emoji shortcut issue
by Ruben - 01/07/2020 4:04 PM
testing winkey emoji shortcut
by Ruben - 01/06/2020 2:36 PM
Very strange problem
by Baldeagle - 01/05/2020 1:22 PM
Who's Online Now
0 members (), 71 guests, and 381 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200106)