| View previous topic :: View next topic |
| Author |
Message |
rem Voice
Joined: 12 Apr 2007 Posts: 4
|
Posted: Thu Apr 12, 2007 2:53 am Post subject: no ident ban but with exceptions |
|
|
Hello,
I searched and found scripts close to what I need but not quite. I just need a script that will ban users with broken ident but allowing me to add exceptions manually, because there are a few legit users in chan that I do not wish to ban with broken idents and for some reason or another can not get identd running. Thank you. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Apr 12, 2007 3:45 am Post subject: |
|
|
BadIdban.Tcl - 22/12/2004 Chino_^ Will detect users who use a disagreeable IDENT, banning them from the channel for a specified length of time. Will not punish users with the flags +ofm.
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1095
Basically, just add a banmask with ~*!*@* in it, and the people you want to exempt, give the appropriate user flags.
Edit: BTW, ident is a useless protocol. It's easily spoofed and proves nothing about the connection (it was useful about 20-25 yrs ago when it could be reasonably assumed that system administrators were legit. Nowdays anyone can fiddle with identd's responses.) |
|
| Back to top |
|
 |
rem Voice
Joined: 12 Apr 2007 Posts: 4
|
Posted: Thu Apr 12, 2007 5:22 am Post subject: |
|
|
Thank you, but that just seems to ban specific words, and it's all in Spanish. I need one that bans no ident. I realize ident can be spoofed but that doesn't really matter to me right now. Lately there has been an idiot with a drone net flooding my channel. Since the drones are on compromised machines none of them have ident.
Example:
Joins: ab557 (~zne@ip68-230-168-86.mc.at.cox.net)
Joins: ab172 (~c7ylwz@ip68-230-168-86.mc.at.cox.net)
Joins: ab8628 (~qjeh@user-0ceid4m.cable.mindspring.com)
Joins: ab8473 (~qckgvj@ip24-250-114-133.dc.dc.cox.net)
Joins: ab32318 (~ctym@c-71-235-138-114.hsd1.ct.comcast.net)
These are some of the actual drones. I'll ban them all and he just uses different drones. I am using a channel limiter script but its effectiveness is negligible at best. If there is a better way of handling this situation I'm open to any suggestions. Thanks again. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Apr 12, 2007 6:06 am Post subject: |
|
|
| Plenty of scripts for banning clones/drones/etc.. Check the archive. |
|
| Back to top |
|
 |
rem Voice
Joined: 12 Apr 2007 Posts: 4
|
Posted: Thu Apr 12, 2007 6:30 am Post subject: |
|
|
| Well, thank you for giving me an example and reading my first post. Like I said, I already searched and could not find what I need. There is "All protection" and "xchannel", but that is not what I'm after, my bot is already using enough resources as it is. I just need a script for my bot to ban non ident users with the ability to add exceptions. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Apr 12, 2007 7:36 am Post subject: |
|
|
Do you know if the irc network you use support server-side exempts?
In case you got a limited number of friends with broken idents, that might be a (crude) solution. Other than that, it's just a battle to write more and more intelligent filters to spot those pesky drones.. And in many cases, the drones are on the winning side :/
One way that would effectively stop them, but would be abit troublesome for your users, would be to set the channel invite-only, and have a few bots on "invite-duty"; ie. message these bots to get an invite, use some "doorway channel", etc. It works, but it'll make things quite annoying for those members that hav'nt been told about it, or new visitors _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Apr 12, 2007 3:02 pm Post subject: |
|
|
| Code: | bind join - {% *!\~*@*} noident:kick
proc noident:kick {nick uhost hand chan} {
if {[matchattr $hand f|f $chan]} {return 0}
putquick "mode $chan +b *!*@[lindex [split $uhost @] 1]"
putquick "kick $chan $nick :Unresolved ident"
} |
If you want it to work on only 1 channel then replace % with your #channel (The bot will exempt +f users). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Apr 12, 2007 3:17 pm Post subject: |
|
|
Might be a good idea to use newchanban for the banning, in case the banlist get filled. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
rem Voice
Joined: 12 Apr 2007 Posts: 4
|
Posted: Thu Apr 12, 2007 6:56 pm Post subject: |
|
|
Sir_Fz, you are awesome. That worked like a charm. Thank you.
nml375, yeah, I considered server-side exempts but I would rather my bot handle this. |
|
| Back to top |
|
 |
|