SSL Labs ScoreSecurityHeaders.io Score

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

Block a quaded IP (e.g. 192.168.254.0/24)

More
8 months 4 weeks ago - 8 months 4 weeks ago #2499 by rherder
rherder created the topic: Block a quaded IP (e.g. 192.168.254.0/24)
Hi,

Does the plug-in accept to enter a quaded IP (like 123.456.0/24) within the blacklist ?
And does it work?

Thanks.

Regards,
Rein
Last Edit: 8 months 4 weeks ago by rherder.

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago #2534 by cedric186
cedric186 replied the topic: Block a quaded IP (e.g. 192.168.254.0/24)
Hi, i had the same problem before but its all fix now try this link its helped me fix the issue. quaded IP

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago - 7 months 3 weeks ago #2535 by michael
michael replied the topic: Block a quaded IP (e.g. 192.168.254.0/24)
Yes, all of my extensions that use white/black lists are built to accept CIDR notation
Last Edit: 7 months 3 weeks ago by michael.

Please Log in or Create an account to join the conversation.

More
7 months 3 weeks ago - 7 months 3 weeks ago #2537 by rherder
rherder replied the topic: Block a quaded IP (e.g. 192.168.254.0/24)
Hi,

Hi, i had the same problem before but its all fix now try this link its helped me fix the issue. quaded IP


I visited the site, but didn't find the right solution... sorry.
Can you explain how to use it within AdminExile exactly?
Thanks.
Last Edit: 7 months 3 weeks ago by rherder.

Please Log in or Create an account to join the conversation.

More
7 months 2 weeks ago - 7 months 2 weeks ago #2538 by michael
michael replied the topic: Block a quaded IP (e.g. 192.168.254.0/24)
Yeah, the thing you want to research is called CIDR (Classless Inter-Domain Routing) notation.

You can block a single IPv4 address by using /32, masking all 32 bits of the address. /24 means the first 24 bit of the address are masked, leaving the remaining 8 bits to match - so 192.168.254.0/24 is equivalent to 192.168.254.0 with a netmask of 255.255.255.0 or to show it another way, 192.168.254.0 through 192.168.254.254

You can mask anything from /1 to /32

en.wikipedia.org/wiki/Classless_Inter-Domain_Routing

Any of my extensions that support IPv4/6 white or black listing use this notation because it's so powerful.
Last Edit: 7 months 2 weeks ago by michael.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Kunena Forum