DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Eggdrop not logging encrypted conversations  (Read 9,812 times)

gogo_hr

  • Participant
  • Joined in 2007
  • *
  • Posts: 1
Eggdrop not logging encrypted conversations
« on: September 13, 2007, 04:32 PM »
Hello,
I've just installed tcleggdrop_mcpsfuncs.tcl to my Eggdrop 1.6.18 with SSL patch. I configured everything and the bot accepts crypted commands from the channels. But it doesn't log the conversations in the channels. I tried configuring another channel, with plain text, and the logging worked like a charm. I use the following in the .conf file:
Code
logfile jpk #channel "logs/chan.log"
Any ideas what I am doing wrong? Thanks in advance... And sorry for my bad English :)

soehest

  • Participant
  • Joined in 2007
  • *
  • Posts: 2
Re: Eggdrop not logging encrypted conversations
« Reply #1 on: October 21, 2007, 10:52 AM »
Hello,
I've just installed tcleggdrop_mcpsfuncs.tcl to my Eggdrop 1.6.18 with SSL patch. I configured everything and the bot accepts crypted commands from the channels. But it doesn't log the conversations in the channels. I tried configuring another channel, with plain text, and the logging worked like a charm. I use the following in the .conf file:
Code
logfile jpk #channel "logs/chan.log"
Any ideas what I am doing wrong? Thanks in advance... And sorry for my bad English :)

Actually you are in a sense answering the question yourself. The point of this type of encryption is that decrypting takes place on the clients in the encrypted channel (data needs to be send encrypted or there would be no point in doing this at all) and not on the box which is running the eggdrop itself. There would be nothing to log (except encrypted lines which wouldn't do you much good anyway. Hope this makes sense :-)

Regards

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Eggdrop not logging encrypted conversations
« Reply #2 on: October 21, 2007, 04:34 PM »
soehest is right about the fact that the data would be encrypted if your eggdrop logged it so wouldn't be readable.

however, it really should still be logging the encrypted text since it shouldn't know the difference between encrypted and non-encrypted text.  so an important question is are you really saying it's not logging the encrypted text, or are you saying it's logging it but the text is all garbled.

if it's the latter, and you are using tcleggdrop_mcpsfuncs.tcl then you should be able to add your own logging code to your eggdrop.  you might be able to do that by simply installing a 3rd party logging script from egghelp and making it sure it loads below the mcpsfuncs.tcl script.

Original address: https://www.donationcoder.com/forum/index.php?topic=9978.0