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.

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
b
bombshellz
Voice
Posts: 1
Joined: Sat Apr 30, 2011 1:06 pm

Drones

Post by bombshellz »

I have a interesting behavior and I am not quite sure how to fix it?

I have user on my channel who comes in with a specific Nick get's kick'd from the channel.

Code: Select all

 qhubekela [qhubekela@bombshellz/user/...]
qhubekela was kicked from #bombshellz by BattleStar [Possible random drone detected. (*qh*) :: [Sat Apr 30
          11:45:48 2011] - Banned 0 minutes ·43·]
However, I had put an exempt in configuration:

Code: Select all

#
## 21 ## Random drones.
#

# Use .chanset #channel ap:drones + <btime> <pmeth> <btype> (in DCC to enable)
# Set default value here: (+ enabled, - disabled)
# If you set <pmeth> to a positive-integer then the bot will only kick the drone once.
# So if the drone rejoins within this amount of seconds it won't be kicked again.
lappend ap:udefs {ap:drones "+ 180 45 2"}

# Random drones: What masks to exempt? (remember to change these or remoce them)
set droneexempts(global) { *!*@bombshellz/user/* *!*@*.bombshellz.net }

set drone(kmsg) "Possible random drone detected. $kckcount(form)"

set drone(wmsg) "Warning: You've triggered random drones protection, change your nick now."

## Edit the following only if you choose a punish method above 5 (oper commands):
It's not exempting drones as expected?
t
tappy
Voice
Posts: 1
Joined: Tue May 31, 2011 4:44 pm

Post by tappy »

Hello,
Love this script great job on this. I am having a problem with it crashing the bot each time color codes it seems. Users connect to the channel thru a site using mibbit. So using these codes are very easy. Here is the debug info that I found in the bot dir.

solved it by using a different system. The install must of been bad.
R
Razor
Voice
Posts: 17
Joined: Thu Nov 19, 2009 5:49 am

Post by Razor »

giantpanda wrote:Every time I make the bot joined to a channel, I got this kind of error
[13:31:57] * Last context: stats:tclstats.c/66 []
[13:31:57] * Please REPORT this BUG!
[13:31:57] * Check doc/BUG-REPORT on how to do so.
[13:31:57] * Wrote DEBUG
[13:31:57] * SEGMENT VIOLATION -- CRASHING!
Connection closed by foreign host.
it's happen if I added AllProtection.tcl to my eggdrop.
and this one the DEBUG file.
Debug (eggdrop v1.6.20) written Wed Apr 27 15:00:00 2011
Full Patch List:
Tcl library: /usr/local/lib/tcl8.5
Tcl version: 8.5.6 (header version 8.4.9)
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: touch
Context: stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/255, []
stats:tclstats.c/66 []

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
3 CCBCD916 17777 (telnet) * lstn 17777
4 00000000 0 (dns) dns (ready)
5 DEADF00D 8036 livestats * lstn port

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 5 (listen), 7 (file), done.
I used AllProtection version 4.7 stable one.

If someone have a solution?
Thank you
Bump.

I seem to have the same issue. I'm currently on FreeBSD 8.2 (64bit version) - Is there something to do with the libraries on the system being all new and stuff or could it be that it's incompatibile with the compiler(s)?

Kindly advice.

./eggdrop eggdrop.conf
Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[06:11:16] --- Loading eggdrop v1.6.20 (Mon Jun 13 2011)
[06:11:16] Listening at telnet port 6969 (all).
[06:11:16] Module loaded: blowfish
[06:11:16] Module loaded: dns
[06:11:16] Module loaded: channels
[06:11:16] Module loaded: server
[06:11:16] Module loaded: ctcp
[06:11:16] Module loaded: irc
[06:11:16] Module loaded: notes (with lang support)
[06:11:16] Module loaded: console (with lang support)
[06:11:16] Module loaded: wire (with lang support)
[06:11:16] Module loaded: uptime
[06:11:16] Loading dccwhois.tcl...
[06:11:16] Loaded dccwhois.tcl
[06:11:16] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[06:11:16] use '.help userinfo' for commands.
[06:11:16] * Last context: tclhash.c/242 []
[06:11:16] * Please REPORT this BUG!
[06:11:16] * Check doc/BUG-REPORT on how to do so.
[06:11:16] * Wrote DEBUG
[06:11:16] * SEGMENT VIOLATION -- CRASHING!
Segmentation fault: 11 (core dumped)
Debug (eggdrop v1.6.20) written Mon Jun 13 04:44:00 2011
Full Patch List:
Tcl library: /usr/local/lib/tcl8.5
Tcl version: 8.5.9 (header version 8.5.9)
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: touch
Context: main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
tclhash.c/218, []
tclhash.c/242 []

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
3 43155A09 6969 (telnet) * lstn 6969
4 00000000 0 (dns) dns (ready)

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 6 (file), done.
\dev\null
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

The best way to answer those questions, are to recompile your eggdrop with extended debugging (make debug && make install), and follow the instructions in the doc/BUG-REPORT file.

In order to dump a core-file, you might have to use the ulimit command to raise the maximum core file size prior starting your eggdrop. 10Mb should be sufficient...
NML_375
R
Razor
Voice
Posts: 17
Joined: Thu Nov 19, 2009 5:49 am

Post by Razor »

My issue has be resolved. This is due to (FreeBSD on) 64-bit. All I had to do was to download "eggdrop1.6-64bit.patch" and patch it before compiling the eggdrop-core script (Btw, I used the CVS version for this).

Once the eggdrop is patched and compiled, I was told to use "env MALLOC_OPTIONS='Dm' ./eggdrop eggdrop.conf" to start the eggdrop, as the traditional "./eggdrop eggdrop.conf" was giving me the same error mentioned above even after patching.

The eggdrop 64-bit patch can be found here: http://trac.eggheads.org/attachment/tic ... 4bit.patch

CVS version (snapshot): ftp://ftp.eggheads.org/pub/eggdrop/sour ... hot.tar.gz

Credits to: pseudo.
\dev\null
g
gasak
Halfop
Posts: 45
Joined: Mon Aug 09, 2010 11:09 pm

Bugs

Post by gasak »

Hi Opposing,

I got this bug on the ALL PROTECTION 4.7 TCL:

Code: Select all

Debug (eggdrop v1.6.20) written Tue Jun 14 18:26:57 2011
Full Patch List:
Tcl library: /usr/local/lib/tcl8.5
Tcl version: 8.5.6 (header version 8.4.9)
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H  
Link flags: gcc
Strip flags: touch
Context: tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *chon:notes, param:  $_chonof1 $_chonof2]
         tclhash.c/721, []
         tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *chon:channels:chon, param:  $_chonof1 $_chonof2]
         tclhash.c/721, []
         tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *dcc:notes, param:  $_dcc1 $_dcc2 $_dcc3]
         tclhash.c/721, []
         tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *dcc:+chan, param:  $_dcc1 $_dcc2 $_dcc3]
         tclhash.c/721, []
         tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *raw:irc:join, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/706, []
         tclhash.c/710 [Tcl proc: ::AllProtection::joins clones, param:  $_jp1 $_jp2 $_jp3 $_jp4]

SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
3    CCBCD94D 20202 (telnet)  *                 lstn  20202
4    00000000     0 (dns)                       dns   (ready)
7    D063C182  6667 (server)  swiftco.dal.net   serv  (lag: 0)

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 7 (inbuf: 01C8), 8, 9 (file), done.
Please help,
Thanks
Learning Knows No Boundaries!!
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

gazak:
Like the previous issues, this is not a bug related to the AllProtection script, but a bug in the eggdrop core. Please see my previous post for details on a proper bug-report.
NML_375
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Re: Drones

Post by Sir_Fz »

bombshellz wrote:I have a interesting behavior and I am not quite sure how to fix it?

I have user on my channel who comes in with a specific Nick get's kick'd from the channel.

...

However, I had put an exempt in configuration:
...
Please use the .ap:add command to add to the exempt list. Adding them directly into the script will NOT update the lists unless the script is loaded for the first time.
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

speechles wrote:

Code: Select all

# AntiSpamBot basic settings
# You can edit all these settings as you wish
# example: set antispam(nick) AntiSpamBot
set antispam(nick) $altnick
set antispam(altnick) ${altnick}1 
# ADD HERE
set antispam(nicks) {
nick1
nick2
nick3
}
... 
putlog "\002AP\002: AntiSpamBot: Cycling $c..."
putdcc $antispam(idx) "part $c"
# ADD:
putdcc $antispam(idx) "nick [lindex $antispam(nicks) [rand [llength $antispam(nicks)]]"
# REPLACE: putdcc $antispam(idx) "join $c" WITH:
timer 5 [list putdcc $antispam(idx) "join $c"] 
Try this.. ;)
It will part, then change nickname randomly, then wait the 5 minutes to rejoin with it's new randomly selected nickname. In this way users in the channel don't witness the event.
The antispam bot just change the nick once after that it wil stuck on that nick. Help please... :(
f
fremd
Voice
Posts: 1
Joined: Thu Aug 18, 2011 4:47 pm

Post by fremd »

Hello

i have installed allprotect the first time. Some Questions:

1. How can i setup the Bantime and Bantype for a badword ban?
2. When a User sets manuell a Ban for a User the Bot dont kick the User with the Manuell Ban.

Sorry for my bad English
^
^CJ^
Voice
Posts: 12
Joined: Sat Sep 10, 2005 10:09 am

Post by ^CJ^ »

Hi,

we are running your script and it works perfectly on most channels. However, on chans with underscores in the channel name (e.g. #chat_german), it does not react. Is there any way this could be fixed?

Thank you!
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

^CJ^ wrote:Hi,

we are running your script and it works perfectly on most channels. However, on chans with underscores in the channel name (e.g. #chat_german), it does not react. Is there any way this could be fixed?

Thank you!
Hi ^CJ^, I can't see why an underscore (or any other character) could cause a problem. Please check the AP settings on those channels (.chaninfo) and try to test the script. If there are any error messages, please share them.
x
xddddd
Voice
Posts: 5
Joined: Sun Sep 04, 2011 4:32 am

Post by xddddd »

Hi...

Sorry my bad english...
I
'm on a 1000 user channel and there are some nicks random in caps lock, everytime an user uses the nick completion with tab to that user, gets warned by my egg (if is configured in ap:caps 50:12 for example). All that I want is the script determines if is a NiCK in the list in caps (and don't send a warning or a punishment who is using nick completion or writting manual from nick list) or is real caps (not in the nicklist)

Thanks
B
BlackDragon
Voice
Posts: 15
Joined: Fri Sep 09, 2005 11:36 pm
Location: Greece - Salonika
Contact:

weird thing....

Post by BlackDragon »

warning messages don't show up :S

[03:42:53am] <DraGoNeTi> [20:45:00] AP: Warned warnednick on #darknet: Warning: You've triggered adverting protection, advertisements are not allowed.


but on nick warnednick i get nothing :/
B
BlackDragon
Voice
Posts: 15
Joined: Fri Sep 09, 2005 11:36 pm
Location: Greece - Salonika
Contact:

Post by BlackDragon »

*bump*
Post Reply