PDA

View Full Version : blowfish pb with dZSbot and NEWDIR


foutchman
03-04-2004, 07:14 PM
I have a little problem while using blowfish encryption in a channel

I can't use encrypted commands in the channel, on both , newdir and dzsbot.
Only regular dzsbot cmds are interpreted or only newdir commands are interpreted

for example, if !new works in the chan , !bw will not work
or if !bw works , the !new cmd don't react
depend of the order I was using in eggdrop.conf :

source scripts/newdir.tcl
source scripts/dZSbot.tcl
= !new not working and !bw works

source scripts/dZSbot.tcl
source scripts/newdir.tcl
= !new works and !bw don't work

I use this config on both :
## BLOWFISH
# set the blowfish encrytion key (empty = no encryption)
set newdir(KEY) "here_comes_my_pass"
# set the blowfish header tag
set newdir(HEADER) "mcps"

So , I have to deactivate the blowfish encryption, just to type !new .
is there a way to have dzsbot and newdir , interpreting together the blowfish encryption ?


thanx.

ioFTPD 5-8-4r - dZSbot 1.12 - NEWDIR 3.5.0 - Eggdrop 1.6.13+SSL - ioA 1.1.0 - PHP_pSio 0.1.4

foutchman
03-05-2004, 01:38 AM
apparently that's about '+OK' and 'mpcs' prefix
both can't use same prefix , or i've missed something !

when newdir and dzsbot config ,

# set the blowfish header tag
set newdir(HEADER) "mcps"

# set the blowfish header tag
set blfs(HEADER) "mcps"

are like that , the 1st one reply on 'mpcs' prefix , and the other on '+OK' prefix

foutchman
03-05-2004, 08:29 PM
oki oki !
found a script that can be useful for other paranoid freaks like me
use this script with your eggdrop and all its outputs, private-query-chan messages will be encrypted .
just deactivate 'newdir' and 'dzsbot' blowfish and setup tcleggdrop_mcpsfuncs.tcl
http://mircryption.sourceforge.net/Extras/tcleggdrop_mcpsfuncs.tcl

bounty
03-29-2004, 07:19 AM
Originally posted by foutchman
apparently that's about '+OK' and 'mpcs' prefix
both can't use same prefix , or i've missed something !

when newdir and dzsbot config ,

# set the blowfish header tag
set newdir(HEADER) "mcps"

# set the blowfish header tag
set blfs(HEADER) "mcps"

are like that , the 1st one reply on 'mpcs' prefix , and the other on '+OK' prefix

you are right, there is a problem between newdir & dzsbot when both use blowfish

binding 2 procs on the same trigger don't seems work ;)

i'll check it when i've time ;)
thx for the report

bounty

bounty
04-02-2004, 05:24 PM
ok problems seems to be solved in latest dzsbot 1.14 with newdir 3.5.1

have fun
bounty

foutchman
04-06-2004, 11:20 AM
many thx Bounty
I'll install the update soon

:)

bart
04-07-2004, 12:22 PM
what can i say - it dont runs by me. i have all newer versions.
im confused.

foutchman
04-08-2004, 09:53 AM
works fine now for me, good job bounty.
bart , you probably made some mistakes in your setup files,
you have to edit them another time !!

ioFTPD 5-8-5r - dZSbot 1.14 - Eggdrop 1.6.13+SSL - ioA 1.1.3 - NewDir 3.5.1

bart
04-09-2004, 03:41 AM
hmm i getn't it to run wright.
when i set the pass in newdir and dzsbot it dont decrypt anything.
when i take the tcleggdrop_mcpsfuncs.tcl script it works fine with bw, who ect but not with newdir and deldir ect, im totally confused what i make wrong.
its only to set the pass in dzsbot and perhaps in newdir.tcl - but it dont works for me.

help help help plz!!!!!!

bart
04-09-2004, 05:52 AM
i debug it and it seems it dont run too: proc proc_decryptcmd {nick uhost hand chan arg}. why?
can it to be this is not correct working for me: bind pub -|- [set blfs(HEADER)] proc_decryptcmd??

bounty
04-09-2004, 06:23 AM
i really don't understand why ppl want debug in the code

you don't need to edit the code except if you have good tcl knowledge

your problem seems to be a config problem
code have been tested so i don't think your probs come from it

if you find a real bug (not a config probs) just report it and i'll fix it

have fun
bounty

bart
04-09-2004, 08:46 AM
thx for your super help.