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.

Eggdrop 1.8.0 latest CVS

General support and discussion of Eggdrop bots.
Post Reply
S
Slaktarn
Halfop
Posts: 44
Joined: Wed May 02, 2007 1:48 am

Eggdrop 1.8.0 latest CVS

Post by Slaktarn »

Hay i try to link two bots together, when i do it whit 1.6.21 it works fine whitout any problem at all, what more can i tell that is importent to now for you ppl to track down whats wrong.

I use it behind a firewall but all bots are running on same computer so it shuld not matter anyways i try to connect them to "127.0.0.1"


Hub
[15:23:00] Telnet connection: 127.0.0.1/55437
[15:23:00] Sent STARTTLS to BOT-1...
[15:23:00] Challenging BOT-1...
[15:24:03] Lost dcc connection to BOT-1 (Slaktarn@127.0.0.1/55437)
BOT-1
[15:23:00] Got STARTTLS from Hub. Replying...
[15:23:00] Received challenge from Hub... sending response ...
[15:24:03] Timeout: bot link to Hub at 127.0.0.1:1600

/Mvh Slaktarn
s
squeege
Voice
Posts: 10
Joined: Fri Jan 13, 2012 11:14 am

Post by squeege »

You need to make sure you have followed what it details in the Conf regarding SSL certificates.
Do what that tells you and you should be ok.
S
Slaktarn
Halfop
Posts: 44
Joined: Wed May 02, 2007 1:48 am

Post by Slaktarn »

squeege wrote:You need to make sure you have followed what it details in the Conf regarding SSL certificates.
Do what that tells you and you should be ok.
Ummm im not sure i fallow, What has SSL to do whit my bot linking, espect if i not will use SSL and set it to use it, But i havent, So i don´t see how that make any sense at all

/ Slaktarn
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Post by pseudo »

1.8's botnet uses SSL by default, unless the bot is compiled without TLS. If you do not setup a certificate on your hub, the bots will not link.
Hope this clarifies the situation. How exactly to do it, is documented in doc/TLS
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

One question, what is the latest 1.8 snapshot? I want to know if I am using the latest and if there's any official place anyone can check for new releases. (I already know about the nightly snapshots)

Maybe an ftp link?

Thanks. :)
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
S
Slaktarn
Halfop
Posts: 44
Joined: Wed May 02, 2007 1:48 am

Post by Slaktarn »

pseudo wrote:1.8's botnet uses SSL by default, unless the bot is compiled without TLS. If you do not setup a certificate on your hub, the bots will not link.
Hope this clarifies the situation. How exactly to do it, is documented in doc/TLS
I don´t agree whit that, Lets check how the config looks

Code: Select all

##### BOTNET/DCC/TELNET #####

# Settings in this section should be unimportant for you until you deal
# with botnets (multiple Eggdrops connected together to maximize efficiency).
# You should read doc/BOTNET before modifying these settings.

# If you want to use a different nickname on the botnet than you use on
# IRC (i.e. if you're on an un-trusted botnet), un-comment the next line
# and set it to the nick you would like to use.
set botnet-nick "${network}"

# This opens a telnet port by which you and other bots can interact with the
# Eggdrop by telneting in.
#
# There are more options for the listen command in doc/tcl-commands.doc. Note
# that if you are running more than one bot on the same machine, you will want
# to space the telnet ports at LEAST 5 apart, although 10 is even better.
#
# Valid ports are typically anything between 1025 and 65535 assuming the
# port is not already in use.
#
# If you would like the bot to listen for users and bots in separate ports,
# use the following format:
#
#   listen 3333 bots
#   listen 4444 users
#
# If you wish to use only one port, use this format:
#
#   listen 3333 all
#
# You can setup a SSL port by prepending a plus sign to it:
#
#   listen +5555 all
#
# You need to un-comment this line and change the port number in order to open
# the listen port. You should not keep this set to 3333.
listen 1600 all
It looks quite clear to me that its not using SSL? Or have i relly missed something here? as it says it need a + to work whit SSL

/ Slaktarn
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Post by pseudo »

Having written the code myself, I insist on what I said. The explanation is in doc/TLS:

Code: Select all

    Botnet links between TLS-enabled bots will automatically switch to SSL.
    In this case however, the nickname and password will be sent before SSL
    negotiation takes place (the password is not send as cleartext anyway).
    If one of the bots doesn't support TLS, the connection will fall back to
    plain text. To require SSL explicitly, you need to open a ssl telnet
    port on your hub and prefix the port number with + when adding it on your leafs.
Hope it's clear this way. I think you should read doc/TLS in addition to the config file. But if you'd like to suggest a change to the config in order to explain it better, feel free to tell us. :)
S
Slaktarn
Halfop
Posts: 44
Joined: Wed May 02, 2007 1:48 am

Post by Slaktarn »

pseudo wrote:Having written the code myself, I insist on what I said. The explanation is in doc/TLS:

Code: Select all

    Botnet links between TLS-enabled bots will automatically switch to SSL.
    In this case however, the nickname and password will be sent before SSL
    negotiation takes place (the password is not send as cleartext anyway).
    If one of the bots doesn't support TLS, the connection will fall back to
    plain text. To require SSL explicitly, you need to open a ssl telnet
    port on your hub and prefix the port number with + when adding it on your leafs.
Hope it's clear this way. I think you should read doc/TLS in addition to the config file. But if you'd like to suggest a change to the config in order to explain it better, feel free to tell us. :)
Yeh i think i got it clear Pseudo, if i got it clear and understand everything right so is the only way to link over botnet whitout SSL to not build eggdrop whit SSL,

I can not whit other words just use the SSL when i connect to the server, as the client will force me to also use it on botnet, witch quite stupid way code it and in my eyes shuld be optional,

I mean if i need to connect to an SSL server thats good if i can do that, but thats relly not means i need to have botnet whit SSL and in my case the bots are on localhost so why shuld i need to have SSL for that.

/Slaktarn
p
pseudo
Halfop
Posts: 88
Joined: Mon Nov 23, 2009 4:52 am
Location: Bulgaria
Contact:

Post by pseudo »

You just need to read few lines of documentation and issue a command or two to get yourself a certificate and a key. Then it will work. That simple.

It's obviously not necessary to encrypt the botnet on localhost, but we just decided to enable encryption always when possible instead of relying on random factors.

Why does it bother you anyway? Let it work and forget how it works.
S
Slaktarn
Halfop
Posts: 44
Joined: Wed May 02, 2007 1:48 am

Post by Slaktarn »

pseudo wrote:You just need to read few lines of documentation and issue a command or two to get yourself a certificate and a key. Then it will work. That simple.

It's obviously not necessary to encrypt the botnet on localhost, but we just decided to enable encryption always when possible instead of relying on random factors.

Why does it bother you anyway? Let it work and forget how it works.
Hmmm everythings sloved, finally i just have one question left.
My bots are just allowed to have botnicks whit max lenght of 9chars how do i make it to allow up to 32 chars?

I sloved that one two, if anyone have problem whit it, just move
set nick-len 32, to the start of the conf file

Thanks alot for all help

/ Slaktarn
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

For some reason even when I have .console +p flag on:

Set your console to #channel: mpjkcobxs (msgs, public, joins, kicks/modes, cmds, misc, bots, files, server).

...the public messages in the channel are not displayed in the party line. I think that this could be a bug.
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

spithash wrote:For some reason even when I have .console +p flag on:

Set your console to #channel: mpjkcobxs (msgs, public, joins, kicks/modes, cmds, misc, bots, files, server).

...the public messages in the channel are not displayed in the party line. I think that this could be a bug.

Anyone on this?
I also noticed that only actions in the channel are shown when in +p console mode. Nothing else.

(I am running eggdrop v1.8.0+stripmoar, on Linux 2.6.32-5-686.)
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

spithash wrote: ....

Anyone on this?
I also noticed that only actions in the channel are shown when in +p console mode. Nothing else.
...
Could it be a script that is causing it?

Check out:
http://forum.egghelp.org/viewtopic.php?t=17254
and
http://forum.egghelp.org/viewtopic.php?t=12824
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

oh thanks a lot :)
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Post Reply