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.

Cannot connect botA and botB

General support and discussion of Eggdrop bots.
Post Reply
M
MunX
Voice
Posts: 2
Joined: Sun Jun 02, 2024 3:01 pm

Cannot connect botA and botB

Post by MunX »

Botnet connection between bots botA and botB is not working. I don't know how to fix or trobleshoot this problem. Both bots are v. 1.9.5.

botA in serverA.

Code: Select all

[16:43:01] Telnet connection: serverB.net/40923
[16:43:01] EOF ident connection
[16:43:01] [b<-botB] botB
[16:43:01] Challenging botB...
[16:43:01] [b<-botB] digest a5153.......039a
[16:43:01] [b<-botB] version 1090502 32 eggdrop v1.9.5 <IRCnet>
[16:43:01] Linked to botB.
[16:43:01] [b<-botB] tb botB
[16:43:01] [b<-botB] j !botB UserName A *X telnet@serverB.net
[16:43:01] [b<-botB] i botB X Bt
[16:43:01] [b<-botB] el
[16:43:01] {b<-botB} uy exempts invites
[16:43:01] Creating resync buffer for botB
[16:43:01] Sending user file send request to botB
[16:43:01] {b<-botB} e Can't connect to you!
[16:43:01] Ending sharing with botB (Can't connect to you!).
[16:43:01] (Userlist transmit aborted.)
[16:43:01] Lost bot: botB (lost 1 bot and 1 user).
telnet to botB (serverB.net) works.


botB in serverB:

Code: Select all

[13:42:01] Telnet connection: serverA.com/21641
[13:42:01] Received challenge from botA... sending response ...
[13:42:01] Lost connection while identing [serverA.com/21641]
[13:42:01] Linked to botA.
[13:42:01] Downloading user file from botA
[13:42:01] Asynchronous connection failed!
[13:42:01] Dropped bot: botA (lost 3 bots and 0 users).
[13:42:01] (Userlist download aborted.)
telnet to botA (serverA.com) works.

After while botB starts printing error about socket limits. You cannot connect to bot anymore. I have raised max-socks from 100 to 200.

Code: Select all

[14:10:59] Maximum socket limit reached. Consider raising max-socks.
[14:10:59] Maximum socket limit reached. Consider raising max-socks.
[14:10:59] Maximum socket limit reached. Consider raising max-socks.
[14:10:59] Maximum socket limit reached. Consider raising max-socks.
[14:10:59] Maximum socket limit reached. Consider raising max-socks.
and botA prints.

Code: Select all

[22:37:27] Lost telnet connection to telnet@serverB/43015
[22:37:27] [b<-botB] Sorry, too many connections already.
[22:37:27] Lost Bot: botB
Last edited by MunX on Mon Jun 03, 2024 4:58 am, edited 1 time in total.
M
MunX
Voice
Posts: 2
Joined: Sun Jun 02, 2024 3:01 pm

Re: Cannot connect botA and botB

Post by MunX »

botB with .console +thd

Code: Select all

[19:48:00] net: connect! sock 3
[19:48:00] triggering bind bop_reqop
[19:48:00] triggered bind bop_reqop, user 0.191ms sys 0.076ms
[19:48:00] net: open_telnet_raw(): idx 4 host <ip serverA> ip <ip serverA> port 52315
[19:48:01] Telnet connection: serverA.com/38763
[19:48:01] Received challenge from botA... sending response ...
[19:48:01] net: eof!(read) socket 7
[19:48:01] Lost connection while identing [serverA.com/38763]
[19:48:01] Linked to botA.
[19:48:01] triggering bind bop_linkop
[19:48:01] triggered bind bop_linkop, user 0.060ms sys 0.025ms
[19:48:01] triggering bind bop_linkop
[19:48:01] triggered bind bop_linkop, user 0.029ms sys 0.012ms
[19:48:01] triggering bind bop_linkop
[19:48:01] triggered bind bop_linkop, user 0.018ms sys 0.008ms
[19:48:01] Downloading user file from botA
[19:48:02] net: attempted socket connection refused: <ip serverA>:23789
[19:48:02] Asynchronous connection failed!
[19:48:02] Dropped bot: botA (lost 3 bots and 0 users).
[19:48:02] (Userlist download aborted.)
[19:48:02] net: attempted socket connection refused: <ip serverA>:23789

On serverA port 23789 is blocked! How can I define the ip addresses which are used for userfile transfer?

# If you want all dcc file transfers to use a particular portrange either
# because you're behind a firewall, or for other security reasons, set it
# here.
#set reserved-portrange 2010:2020
https://github.com/eggheads/eggdrop/blo ... gdrop.conf
Post Reply