• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

block user by IP

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible to block user by IP (ipd range) if so how.
thank you
[originally posted on jforum.net by alexny20]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So... finally at the "correct" topic...

I don't think that JForum has this option.
You could implement if you can/want!
It's open source... ;)

[ ]'s
[originally posted on jforum.net by leandro_salvador]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
[originally posted on jforum.net by alexny20]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depending on your application server you can also use it instead to block an IP. For example, in Tomcat there is the concept of a "valve" that would allow you to block a single IP or a range of IP's. You'd add something like:



I know that WebLogic contains a similar thing.
[originally posted on jforum.net by stdunbar]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same in jetty with proxy.xml example
[originally posted on jforum.net by redhand]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we're getting spammed on our jforum board by some idiot - if we IP block, then he just comes back 12 hours later with a new IP. Any ideas how we can block at the MAC address level? This guy is crushing our boards

Thanks, Sean
[originally posted on jforum.net by seadine]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no way to block at a MAC level as that is going to be coming from the connected device that you are running on.

A couple of things i would suggest is finding out the ISP of where the IP is coming from and report it. Most likely a TOS violation for them. Then see if the IP addresses are coming from a small range such as a /25 or higher. If so block at the subnet level in the firewall.

If you need any further help with this on the networking side let me know and i would be glad to help.

Thanks
Nate
[originally posted on jforum.net by natedmac]
 
Catch Ernie! Catch the egg! And catch this tiny ad too:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!