mIRC Home    About    Download    Register    News    Help

Print Thread
IP Ban #15072 12/03/03 09:15 PM
Joined: Dec 2002
Posts: 17
P
princessamanda Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: Dec 2002
Posts: 17
How do I ban someones ip address?

Re: IP Ban #15073 12/03/03 09:23 PM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/mode #channel +b 123.213.132.123



Code:
//if ( khaled isgod ) echo yes | else echo no
Re: IP Ban #15074 13/03/03 02:43 AM
Joined: Dec 2002
Posts: 17
P
princessamanda Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: Dec 2002
Posts: 17
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

Re: IP Ban #15075 13/03/03 02:50 AM
Joined: Feb 2003
Posts: 20
D
dragonslayere Offline
Ameglian cow
Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 20
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...

Re: IP Ban #15076 13/03/03 02:58 AM
Joined: Dec 2002
Posts: 17
P
princessamanda Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: Dec 2002
Posts: 17
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.

Re: IP Ban #15077 13/03/03 03:08 AM
Joined: Dec 2002
Posts: 332
C
Cheech Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
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

Last edited by Cheech; 13/03/03 03:18 AM.
Re: IP Ban #15078 13/03/03 04:21 AM
Joined: Dec 2002
Posts: 1,237
T
The_Game Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
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...

Re: IP Ban #15079 13/03/03 03:57 PM
Joined: Dec 2002
Posts: 843
P
Poppy Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
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

Last edited by Poppy; 13/03/03 03:59 PM.

Never compare yourself to others - they're more screwed up than you think.
Re: IP Ban #15080 13/03/03 04:01 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato
Re: IP Ban #15081 14/03/03 12:17 AM
Joined: Dec 2002
Posts: 1,237
T
The_Game Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
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...

Re: IP Ban #15082 14/03/03 12:18 AM
Joined: Dec 2002
Posts: 1,237
T
The_Game Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
I am aware of this method thank you for the brief crash course though LOL wink

Re: IP Ban #15083 17/03/03 04:17 PM
Joined: Mar 2003
Posts: 1
N
Nighthawk Offline
Mostly harmless
Offline
Mostly harmless
N
Joined: Mar 2003
Posts: 1
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?