MyBB Community Forums

Full Version: ban by IP - range syntax
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there

what is the syntax to use in order to specifiy a range of IPs in 'ban by IP' setting group ?

Thanx
For instance, if you want to ban anyone within your localhost network: 12.7.0.0. and leave off the ending one. It just works like php's strpos function.
ok thanx, I just had a look at strpos description

What if i want to bann all IPs between 127.0.0.45 and 127.0.0.76 ?

would it be 127.0.0.45-76 or 127.0.0.45-127.0.0.76 or even something else ?

This is a wild example, I admit it Toungue
Currently there is no way to do that except list each and every ip
oh, ok

thanx a lot for a quick reply, as usual in here.

Long live to MyBB :°)
What about this syntax:

127.*.*.*,192.168.*.*, in baning by IP options?
DamYan Wrote:What about this syntax:

127.*.*.*,192.168.*.*, in baning by IP options?
That's not supported in MyBB 1.2, but it will be in 1.4.