egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop 1.8.0 latest CVS

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Slaktarn
Halfop


Joined: 02 May 2007
Posts: 44

PostPosted: Wed Feb 01, 2012 10:30 am    Post subject: Eggdrop 1.8.0 latest CVS Reply with quote

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"



Quote:
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)


Quote:
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
Back to top
View user's profile Send private message
squeege
Voice


Joined: 13 Jan 2012
Posts: 10

PostPosted: Tue Feb 07, 2012 2:40 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Slaktarn
Halfop


Joined: 02 May 2007
Posts: 44

PostPosted: Wed Feb 08, 2012 7:32 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Wed Feb 08, 2012 11:03 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Sat Feb 11, 2012 9:10 pm    Post subject: Reply with quote

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. Smile
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Slaktarn
Halfop


Joined: 02 May 2007
Posts: 44

PostPosted: Sun Feb 12, 2012 4:55 am    Post subject: Reply with quote

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:

##### 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
Back to top
View user's profile Send private message
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Mon Feb 13, 2012 11:36 am    Post subject: Reply with quote

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

Code:

    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. Smile
Back to top
View user's profile Send private message Visit poster's website
Slaktarn
Halfop


Joined: 02 May 2007
Posts: 44

PostPosted: Tue Feb 14, 2012 3:26 am    Post subject: Reply with quote

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

Code:

    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. Smile


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
Back to top
View user's profile Send private message
pseudo
Halfop


Joined: 23 Nov 2009
Posts: 88
Location: Bulgaria

PostPosted: Wed Feb 15, 2012 6:30 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Slaktarn
Halfop


Joined: 02 May 2007
Posts: 44

PostPosted: Wed Feb 15, 2012 1:16 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Thu Aug 23, 2012 3:05 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Sat Sep 22, 2012 3:02 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sat Sep 22, 2012 8:32 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Mon Sep 24, 2012 10:57 am    Post subject: Reply with quote

oh thanks a lot Smile
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber