This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Channel bans not working in 1.6.7 on DALnet

Old posts that have not been replied to for several years.
M
MajorMalfunction

Post by MajorMalfunction »

Going from a 1.4.2 bot to 1.6.7, I've noticed on a large DALnet chan it's in that .kickban only kicks the users, and .+ban won't add the ban in the channel, just in the bot and the banee gets kicked over and over if they have an auto-join on their script. I've kept the same channel settings in the new 1.6.7 I compiled. net type is set to 3, etc etc.. What am I missing that's causing it to not set bans? Thanks!
E
Evil-Dragon

Post by Evil-Dragon »

Check the config file for the maximum number of bans that can be set on a channel and increase the number from about 20 to about 50 and see if it helps.

Evil-Dragon
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

As stated, there is a limit to how many bans, a IRC server will allow on a channel.

I am unsure about dalnet, but some irc networks use a restricted connections. These connections, allow the user/bot to be oped, but they can only kick, change the topic and a few other bits. It also prevents the user from opping others. I am unsure, but this may prevent them from setting modes.

You should check these possibilities out.
M
MajorMalfunction

Post by MajorMalfunction »

Thanks for the suggestions/ideas. I set bans way up to 100. There's only usually 20-30 in the chan, though. DALnet allows 60. 1.6.7 doesn't seem in my case to want to talk to chanserv to set or unset bans when they time out. I did notice in eggdrop.h the handle length was only 9 and I changed it to 32, and re-compiled, but that didn't fix it. Any other ideas would be welcome!
a
ascension

Post by ascension »

>Going from a 1.4.2 bot to 1.6.7, I've >noticed on a large DALnet chan it's in >that .kickban only kicks the users, >and .+ban won't add the ban in the channel, >just in the bot and the banee gets kicked >over and over if they have an auto-join on >their script. I've kept the same channel >settings in the new 1.6.7 I compiled. net >type is set to 3, etc etc.. What am I >missing that's causing it to not set bans? >Thanks!

Eggdrop 1.6.X won't place bans, if the user is in the ban list, but only kick them
This 'error' or whatever you want to call it
occurs only on DALnet as far as I know, your bots would work fine on efnet though :D I've tested out my botnets on efnet and dalnet, and yeah for some reason they f**k up on dal

>Check the config file for the maximum
>number of bans that can be set on a channel >and increase the number from about 20 to >about 50 and see if it helps.

The dal.net ircd, globally (all server links) should allow 100 max bans (MAXBANS=100)

>These connections, allow the user/bot to be >oped, but they can only kick, change the >topic and a few other bits. It also >prevents the user from opping others. I am >unsure, but this may prevent them from >setting modes.

The bots set modes fine, like enforcing certain modes (mode restriction), and banning users that trigger eggdrops default flood protection, I've just had trouble with the .+ban nick!user@host, it will just kick them repeatedly w/o banning, there is definately some bug that prevents them from setting the ban, the only thing that would prevent the bot from setting bans is a full ban list, and yeah my ban lists were empty..

>Thanks for the suggestions/ideas. I set >bans way up to 100. There's only usually 20->30 in the chan, though. DALnet allows 60.
60?

>1.6.7 doesn't seem in my case to want to >talk to chanserv to set or unset bans when >they time out. I did notice in eggdrop.h >the handle length was only 9 and I changed >it to 32, and re-compiled, but that didn't >fix it. Any other ideas would be welcome!

chanserv can't assume how to "set" or "unset"
bans unless you have a tcl which can do so,
but if you meant when bans expire the bot doesn't remove the bans, this has happened to me as well :/ what would changing the handle length do to make the bot set bans?
Hopefully, someone can figure out what's wrong an release a patch/fix for those of us running bots on dal.net (bahamut)

.ascension.
a
ascension

Post by ascension »

I've tested the ban function all over DALnet, in small rooms it will properly set manual bans that I enter from the console, example .+ban guest*!*@*, in most rooms that are small the ban will be set properly if anyone matches that nick in the room at the time, or decides to join later, but in the other rooms my bots are in, 390-400+ user rooms, they will just kick anyone matching the nick guest that is in the room at the time, and kick them if they join again repeatedly, no bans ARE ever set, and YES the ban list WAS clear. Also bans the bot places, for eggdrops internal flood checker, work when it is activated the first time, any time after that when the user joins, they will be kicked, and never banned... so yes THERE is an error in the eggdrop banning module, I've talked to many botnet owners on dal.net and they've had troubles with eggdrop banning, basically all of them have the same problem for eggdrop placing bans it set on it's own (join flood protection), and any that ran similar botnets in the rooms I am in also have the problem with users being banned, so yes THERE is a bug/error with compliance on dal.net and maybe all irc networks? Anyone here in a 400+ user room on efnet or any network for that matter, if so does your bot ban properly? Someone please figure out what's wrong, and get a fix released - i just e-mailed the eggdrop bug report list, hopefully they can figure out what's wrong
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

I've tested the ban function all over DALnet, in small rooms it will properly set manual bans that I enter from the console, example .+ban guest*!*@*, in most rooms that are small the ban will be set properly if anyone matches that nick in the room at the time, or decides to join later, but in the other rooms my bots are in, 390-400+ user rooms, they will just kick anyone matching the nick guest that is in the room at the time, and kick them if they join again repeatedly, no bans ARE ever set, and YES the ban list WAS clear. Also bans the bot places, for eggdrops internal flood checker, work when it is activated the first time, any time after that when the user joins, they will be kicked, and never banned... so yes THERE is an error in the eggdrop banning module, I've talked to many botnet owners on dal.net and they've had troubles with eggdrop banning, basically all of them have the same problem for eggdrop placing bans it set on it's own (join flood protection), and any that ran similar botnets in the rooms I am in also have the problem with users being banned, so yes THERE is a bug/error with compliance on dal.net and maybe all irc networks? Anyone here in a 400+ user room on efnet or any network for that matter, if so does your bot ban properly? Someone please figure out what's wrong, and get a fix released - i just e-mailed the eggdrop bug report list, hopefully they can figure out what's wrong
/me *nods* in affirmation.
This has always been happening with me, but i always thought 'mebbe i screwed up somewhere'.. It sometimes happens that once a spammer gets bkicked, and he has his autorejoin on, he keeps coming back, and he keeps getting a _KICK_ not a ban, its sorta kickflood which happens. and yes, the bots are on DALnet, and the banlist isnt full :smile:


Dormant egghead.
t
tc666248

Post by tc666248 »

yep. It was happened where my bot staying on channel(300-400 users). It doesnt ban but just kicked.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Interesting.

It would be handy to see if some1 can reproduce this in test comditions (new channel, 40 odd bans, and a matching client).

While doing this, log the command typed to produce it, and the server input and output (time to enable the settings).

I am interested if this is a internal eggdrop issue, or somthing the IRCD has against 1 client setting too many bans.
M
MajorMalfunction

Post by MajorMalfunction »

Here's something interesting ... I compiled the 12.30.2001 daily snapshot of 1.6.8 that's working thru testing right now. Exactly the same setup, conf file settings, etc, and it's working and setting channel bans as well as kicking, even when the number of bans is way close to the current DALnet limit of 100. I have the max bans set at 99, wasn't sure if the code would allow three digit max bans length ( > 100 ). I'm going to try a few more things and see if I can find what's going on.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

After looking a the updates file, I see no changes that could effect this.

This looks like one of those hidden bugs. The type that has allways been there, but doesn't show until you least expect it.
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

This aint one of those bugs which works like a tru bug, it just shows up when it wants, and sometimes worx just fine .. but then im sure its a bug, it generates a HUGE kick flood sometimes!

My hand's up for a patch request!
Dormant egghead.
a
ascension

Post by ascension »

There was never a bug to begin with!

>Here's something interesting ... I compiled >the 12.30.2001 daily snapshot of 1.6.8 >that's working thru testing right now. >Exactly the same setup, conf file settings, >etc, and it's working and setting channel >bans as well as kicking, even when the >number of bans is way close to the current >DALnet limit of 100. I have the max bans >set at 99, wasn't sure if the code would >allow three digit max bans length ( > >100 ). I'm going to try a few more things >and see if I can find what's going on.

Exerpt from "eggdrop 1.6.8 relase notes"

- max-modes and max-bans are now set when using net-type (Dalnet people should enjoy this)

The problem was that max-modes was not set at 100, which prevented the bot from banning users if set at a lower limit. Max-modes does not mean, actual maximum modes allowed to be set in a channel, "MODES=6", which is what I thought. Setting max-modes to 100 fixed the banning problem. cheers

.aScension.
[
[Mystic]

Post by [Mystic] »

I haev a room with 200+ people, I have the same problem and can reproduce the error easy. email me if your intrested xirc@ihug.co.nz
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

On 2002-01-03 21:00, [Mystic] wrote:
I haev a room with 200+ people, I have the same problem and can reproduce the error easy. email me if your intrested xirc@ihug.co.nz
Have you updated to eggdrop1.6.8. It now includes a fix for this issue.
Locked