rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: slasherx on August 15, 2009, 08:22:50 AM

Title: selective ban replies
Post by: slasherx on August 15, 2009, 08:22:50 AM
can we get an option to no reply for some ips that we ban, but also allow reply for some ip's we ban.
Title: selective ban replies
Post by: maverick on August 15, 2009, 12:16:06 PM
can we get an option to no reply for some ips that we ban, but also allow reply for some ip's we ban.

That option is already available.  At the time you ban an IP you have the option to either leave a comment or not.
Title: selective ban replies
Post by: slasherx on August 16, 2009, 04:01:00 AM
can we get an option to no reply for some ips that we ban, but also allow reply for some ip's we ban.

That option is already available.  At the time you ban an IP you have the option to either leave a comment or not.

nope, what i mean is i want to have an option to not allow reply for some banned ips i choose, and some that i ban i want them to be able to get a reply from server.
Title: Re: selective ban replies
Post by: rejetto on August 17, 2009, 08:52:57 AM
if you meant something like the "disconnect with no reply" option already available, then yes, you can do it with a simple script.

just disable that option, and use this event script (UNTESTED!)

[+request]
{.if|{.match address|{.$ban-list.}|%ip%.}|{:{.disconnect.}:}.}

[ban-list]
151.123.232.2;10.0.0.*
Title: Re: selective ban replies
Post by: slasherx on August 19, 2009, 10:57:44 AM
thanks working great.