[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: Ident-Stuff included in bans



On Sat, Jul 14, 2001 at 07:49:19PM +1000, Peter Zelezny wrote:
> Stefan Scholl <stefan.scholl@web.de> wrote:
> > Currently the ident stuff (~, +, ...) in the username is removed
> > and a "*" is set in front of all usernames in the ban mask.
> > I know, this was my fault. I've provided the patch for this. But
> > it's no good idea. Don't know why nobody has complaint really
> > loud.

> Isn't it better how it is? Now a user could join another server without
> identd and avoid the ban.

Most of the servers use the same configuration and/or policy. If
you want to make a ban more permanently you have to write the
ban mask by hand.

There are two main problems with the current version:

1.) More and more people think they are very funny and use _1_
character as a username. Banning *!*x@*.dip.t-dialin.net isn't a
good idea.

2.) Some networks (or all?) have limits. IRCNet is sometimes
called SplitNet. And sometimes I like to call it LimitNet (eg:
topics are limited to 80 characters). Usernames can be 10
characters long (correct me if I'm wrong).

test!masterofde@p0815.dialin.blah joins the channel. Banmask (ban
type 2) would be *!*masterofde@*.dialin.blah but IRCNet only uses
the 1st 10 characters ==>  *!*masterofd@*.dialin.bla is the
banmask.


2 possible solutions:

1.) make it the old behavior. Without prepadding *.

2.) Find out the maximum size of a username in the current
network. Write some code which cuts the mask corresponding to
this size (eg: *!*asterofde@*.dialin.blah). Use the old behavior
for short usernames (eg: *!~x@*.dip.t-dialin.net insted of
*!*x@*.dip.t-dialin.net).


***Stefan

-- 
## Stefan Scholl <stesch@linux.de> ## SS10115-RIPE ##
-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/
Posted By:     Stefan Scholl <stefan.scholl@web.de>