View Issue Details

IDProjectCategoryView StatusLast Update
0002880unrealircdpublic2006-04-27 18:38
ReporterBricker Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Product Version3.2.5 
Summary0002880: Channel Version Ban
DescriptionStealth came up with the idea for a module, but I think it would be a good channel mode in 3.2.5



Example:
+b ~v:*mIRC* Would ban all mIRC users from the channel
+be ~v:* ~v:*mIRC* Only people using mIRC would be able to join the channel

This would be great for channels made for a specific client (MSChat), as well as to keep unwanted clients out (XDCC Catchers)
Additional Informationany questions you know where to find me ;P
3rd party modules

Activities

Bricker

2006-04-10 15:13

reporter   ~0011526

extended bantypes ;P my bad

Nazzy

2006-04-10 15:48

reporter   ~0011527

um, how exactly to you intend to enforce this? irc doesn't have an enforced version policy ... most clients will let you suppress or change the version reply to be what ever the heck you like ... even those that don't can be run through bnc's that will change it.

Stealth

2006-04-10 18:55

reporter   ~0011528

IRC may not have an enforced version policy, but Unreal has one (somewhat)... The idea is to only allow such clients in, if they don't have a version reply, sucks for them.

The idea is based off the ban version in Unreal, just per-channel.

aquanight

2006-04-11 00:37

reporter   ~0011531

Here's the problem: you can't asynchronously decide to return "banned" or not. It has to be decided when the ban is checked which means you can't hold the version off until then. You'd pretty much have to version all locals on module load (sendto_match_butone(NULL, &me, me.name, MATCH_SERVER, ":IRC!IRC@%s PRIVMSG $%s :\x01VERSION\x01", me.name, me.name) would do it), and then to each user on connect (or somehow catch the version reply requested for ban version - you'll need to override notice: a usermsg hook won't work I think). Then, if and only if you have a version reply (and you have to somehow keep people from screwing it up by doing things like: /ctcpreply IRC VERSION Someotherversionhere) that matches the string you allow/deny entry or whatever.

syzop

2006-04-27 18:38

administrator   ~0011622

rejected ;p.

First, I... no.. WE have always hated banning non-versionreply-people, as stated numerous times on the forums.
Second, I don't think this should be in the core ircd, it's possible in a module however (hint: do version on-connect and catch the version reply, save it, etc...), so if someone really wants it he/she can write a 3rd party mod.

Issue History

Date Modified Username Field Change
2006-04-10 15:12 Bricker New Issue
2006-04-10 15:13 Bricker Note Added: 0011526
2006-04-10 15:48 Nazzy Note Added: 0011527
2006-04-10 18:55 Stealth Note Added: 0011528
2006-04-11 00:37 aquanight Note Added: 0011531
2006-04-27 18:38 syzop Status new => closed
2006-04-27 18:38 syzop Note Added: 0011622
2006-04-27 18:38 syzop Resolution open => no change required