mIRC Homepage
Posted By: princessamanda IP Ban - 12/03/03 09:15 PM
How do I ban someones ip address?
Posted By: theRat Re: IP Ban - 12/03/03 09:23 PM
/mode #channel +b 123.213.132.123

Posted By: princessamanda Re: IP Ban - 13/03/03 02:43 AM
Ok, I have a couple of questions. Does this ban the person's IP permanently? And where you have 123.213.132.123 what do I put there if i'm putting it in my alias? So that I can like right click on the nickname, and click on ban ip or something like that, there's quite a few people that like to come in and flood my room so I would really like something like this to ban the ip.
Thanks
Posted By: dragonslayere Re: IP Ban - 13/03/03 02:50 AM
er..alias? i think u meant popups
-------------------------------------------------------------
Ban ip:/ban $address( $nick,1) 2
--------------------------------------------------------------
put that in popups the only draw back is u can only ban ip at a time...
Posted By: princessamanda Re: IP Ban - 13/03/03 02:58 AM
yeah, I meant popups lol. so I just put that in popups, and it will ban ip's permanently? thanks alot grin
Oh yeah and there was something else I forgot to ask, is there also a way to ban ip's without them being in the room, to keep them from coming in there? sorry so many questions, lol.
Posted By: Cheech Re: IP Ban - 13/03/03 03:08 AM
the easiest way to simply ban the ip address is to type in the currently active window or make a simple popup and do

/ban nickname 2


that will ban only the ip not the nick
The available types are:

0: *!user@host
1: *!*user@host
2: *!*@host
3: *!*user@*.host
4: *!*@*.host
5: nick!user@host
6: nick!*user@host
7: nick!*@host
8: nick!*user@*.host
9: nick!*@*.host


to ban an ip that isnt in the room assuming you know the ip you would just type

/mode #chanel +b *!*@ipaddress
or a simple method of doing a popup would be

.ban *!*@IP:/set %bnick2 $$?="IP:" | /mode $active +b *!*@ $+ %bnick2
Posted By: The_Game Re: IP Ban - 13/03/03 04:21 AM
Just remember not all bans are permanent (even the permanent ones) because if someone actually knows what they are doing, they can and will find a way around a ban. Why they even call it a permanent ban is beyond me. Any ban is just a temporary solution to some of the most common problems. Just thought I'd keep ya informed is all...
Posted By: Poppy Re: IP Ban - 13/03/03 03:57 PM
On some networks that have ChanServ, there is a way to permanently ban an ip - as long as the offender uses that ip they won't be able to get into the channel. The command is
/chanserv akick #channel add *!*@ip.here - this will ensure that the person stays banned even after a netsplit, as ChanServ will kick/ban that ip automatically as soon as it enters the channel. Remember to take the nick off the autovoice (vop) list first, otherwise they'll be able to invite themselves in. The only people that can add to /akick are channel founders and SOps. Also, if your network supports it, you could set the channel mode to +R (this means that only registered nicks can join the channel). Hope this helps. smile
Posted By: KingTomato Re: IP Ban - 13/03/03 04:01 PM
About the non-perminant ban--they are perminant..if that mode, and only that mode is set on the nick.. You are right, there are ways around it, but the ban itself does work..

Just make sure the user doesn't ave exception on thier name/mask smirk
Posted By: The_Game Re: IP Ban - 14/03/03 12:17 AM
I didn't say that the bans wouldn't work...they do but they are only a temporary solution. As I said there are ways around them. I was just stating that so that the person is aware of it is all...
Posted By: The_Game Re: IP Ban - 14/03/03 12:18 AM
I am aware of this method thank you for the brief crash course though LOL wink
Posted By: Nighthawk Re: IP Ban - 17/03/03 04:17 PM
What am I missing.... blush
Allright.... I'm also littlebit newbe with this.... crazy
When I do the:
/mode #channel +b 123.213.132.123

I'm receiving the message

123.123.123.123 Bad value specified

(but then ofcourse with the real ip-address)

Is there somewhere a faq to find about exactly how te resolve the ip from a user in the box etc?
© mIRC Discussion Forums