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.

Sentinel Suggestion

Old posts that have not been replied to for several years.
c
chrone

Sentinel Suggestion

Post by chrone »

Hi!

Yo slennox can you build your sentinel tcl to make a server ban not a bot ban list? it will help us much on server such DALnet. So if the host is ban once the bot won't kick the host again whenever s/he/it rejoin the channel after the ban removed.

One more thing about how to set the number:number on join-part flood on a big active join part channel which contains around 1000 users or above at the maximum peak and around 100 users or below at its miminum peak.

I wish you could add quit msg flood both on long text and exceeded control code on quit messege.

Best regards,

/chrone
F
Fluffybunny

Post by Fluffybunny »

I'd also love to see the quit-flood option, I'm on dalnet too, seems the flooders have gotten wise to the otherwise excellent flood prot on sentinel, getting the bots to recognise a /notice flood would be good too :)
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

I'd love to see server admins do something about the constant disconnecting and reconnecting that is required to perform an aggressive join-quit flood.

The problem with join-quit floods is that there's no way to tell the difference between such a flood and a bunch of netsplits. A pattern to match a typical netsplit, like "*.* *.*", could be used, but then flooders would simply put a fake netsplit message in their quit message. On some networks it may be possible to tell if a netsplit quit message is genuine (e.g. user quits may be preceded with a certain string), but I'm not willing to look at this unless it's possible on several major networks (that is, not just DALnet, as I'm tired of DALnet users wanting people like me who don't even use DALnet to fix DALnet's problems :evil:) :D

chrone, regarding the server ban only, I'm afraid this won't be possible. The next version of sentinel.tcl relies quite significantly on the bot's internal ban list for processing of bans. As for the join-part setting, simply make it less sensitive.. I don't have any plans to make flood settings that adjust themselves as the channel size varies :D
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

If you're working on a new version, PLEASE consider per-channel settings. I can't even use the script due to a certian very-high traffic channel my bots are opped in.

Wcc
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

You're going to hate me for this, but http://www.egghelp.org/faq.htm#206 :lol:

Configuring the settings based on the most active channel would be my standard recommendation.
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Yeah, I've read that before :\.. The traffic in that channel is almost equivilent to that of a medium-intensity flood. If I set it high enough not to trigger in there, it doesn't do anything for the other channels. Disabling on a channel would work for my needs, as this channel does not need flood protection to begin with.

Wcc
[
[MaSteR]

A ignore user would be very nice feature.

Post by [MaSteR] »

It would be nice if we could ignore a user with a certain flag from "flooding" that would help since normally +f flag would let you do the trick but since sentinel ignores such flags it makes it rather impossible to tell all the users to get ops through the bot. Also in certain cases a user isn't allowed to have ops but helps people out in the channel therefor causing a flood, which +f should be allowed to flood in my opinion. Yes I understand your point also why the user should be oped since that will put down on the protection but still some type of ignore should fit well. Thanks for making these scripts. :) /me kicks wcc sup man.
c
chrone

Post by chrone »

oh well slennox, thanks anyway. lol since you allow your tcl be used by public even for DALnet users. :p

oh yeah, i found my bot often flooded with multiple private messages. is sentinel do protect the bot itself from that kind of flood? i mean this private msg flooder use different ip address. :(

well keep on the nice job slennox. i'll be waiting for your new sentinel.tcl and keep editing those ban into server ban. :p

*tee hee

/chrone
c
chrone

Post by chrone »

oh yeah one more thing. i am just curious with that Voice and Master bellow your nick in this community.

What is Voice in here? and What is Master in here? are they a status you give yourself or by the admin of this php?

Thanks. :)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

It is base don the amount of posts you make to the forum.

The posts required for each level used to be available int eh FAQ, but this changed with the upgrade of the forum.

My post count got that high, I had to Kindly Request that a new one be added :P
c
chrone

Post by chrone »

oh okies thanks ppslim. :)
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

Chrone you can still make your Bot set itself as mode +R (on DALnet) as soon as it connects. To do this simply add the following line to the .conf file

Code: Select all

set init-server { putserv "MODE $botnick +iR-ws" }
Now only flooders with registered nicks can reach your bot (hopefully the number of reg. flooder nicks is considerably less that the unreg. ones).

The only problem this creates for you is that, when you're not identified you will have to connect to your bot through Telnet (using Putty for example) since the bot won't accept DCC requests from unidentified nicks on irc.

I do that and it works fine for me, my bots have never been flooded by private messages or notices so far :)
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

slennox wrote:I'd love to see server admins do something about the constant disconnecting and reconnecting that is required to perform an aggressive join-quit flood.

The problem with join-quit floods is that there's no way to tell the difference between such a flood and a bunch of netsplits. A pattern to match a typical netsplit, like "*.* *.*", could be used, but then flooders would simply put a fake netsplit message in their quit message. On some networks it may be possible to tell if a netsplit quit message is genuine (e.g. user quits may be preceded with a certain string), but I'm not willing to look at this unless it's possible on several major networks (that is, not just DALnet, as I'm tired of DALnet users wanting people like me who don't even use DALnet to fix DALnet's problems :evil:) :D

chrone, regarding the server ban only, I'm afraid this won't be possible. The next version of sentinel.tcl relies quite significantly on the bot's internal ban list for processing of bans. As for the join-part setting, simply make it less sensitive.. I don't have any plans to make flood settings that adjust themselves as the channel size varies :D
At least on DALnet, all *quits* are prefixed with "Quit:". You might could take advantage of that for networks that support it. As for the netsplits triggering it, the sign bind shouldn't trigger on netsplit until after split-wait or whatever that setting is. You could compare a raw quit bind to a sign bind to determine if the quit occurred at the same time as when the sign bind occurred. Just a thought..

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

Post by ppslim »

Wcc wrote: At least on DALnet, all *quits* are prefixed with "Quit:". You might could take advantage of that for networks that support it.
I believe that the following applies, in regard to this.

Unless the big 4 (Dalnet, Efnet, Undernet and IRCnet) all support it, it will not be implimented.

Code should be consistant, to the point, that it works on all 4 networks, without using per network settings. (IE, 4 peice of code, one for each netowrk, and it depends what server you are on, as too which one is used)
Wcc wrote: As for the netsplits triggering it, the sign bind shouldn't trigger on netsplit until after split-wait or whatever that setting is.
Very true, however, each of the big 4 do not use the same method of displaying netsplits.

Due to this, a netsplit happens, but is not registered by eggdrop. Thus, making this addition usless.
Wcc wrote: You could compare a raw quit bind to a sign bind to determine if the quit occurred at the same time as when the sign bind occurred. Just a thought..
Again, as above.

On top of this, it's simple to fake a netsplit on some networks.

This leaves two major situations.
On one hand, genuine netsplits are not detected.
On the other, fake netsplits are detected.
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

It's easy enough to add a config variable, like "set user_quit_prefix {Quit:}" and then on networks that don't have one, set it to blank {}.

Also, an easy way to accomplish some of the other requests, like protecting certain flags and doing server bans, would be to have a single proc that does the actual banning. Pass it the nick, uhost, hand, chan, msg, etc of the person you are banning. For the vanilla version, it would just pass it directly on to newchanban or whatever. But it would be easy to add a line that says "if {[matchattr $hand +f]} {return 0}" and ignore it. Also one could replace newchanban with putserv to make it a server ban.

Just a thought from the abstract programming department :)
Locked