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.

Linking bots locally on a box with a NAT

Old posts that have not been replied to for several years.
Locked
User avatar
Aron
Halfop
Posts: 86
Joined: Sat Mar 15, 2003 8:35 am

Linking bots locally on a box with a NAT

Post by Aron »

Hi, I never tried linking bots through a NAT before, and I have tried pretty much everything I can think off, but just can not get them to link.

I set nat-ip to the external IP, uncommented my-ip.

I tried linking the bots with the following addresses:

localhost
127.0.0.1
external ip address
external hostname
nat ip address


None of these seem to work. The ports are also open.

This is the exact error message I get when the leaf tries to connect:

Code: Select all

[22:39] Telnet connection: 192.168.1.1/52204
[22:39] Timeout/EOF ident connection
[22:39] Refused telnet@192.168.1.1 (non-bot)
[22:39] Lost Bot: statz0r
Any ideas?
The best way to start learning is to start helping.
d
dollar
Op
Posts: 178
Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands

Post by dollar »

Add that host to the leaf? .help +host
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
User avatar
Aron
Halfop
Posts: 86
Joined: Sat Mar 15, 2003 8:35 am

Post by Aron »

Already did that.

Also, when linking, there is no indication at all on the bot being linked to.

When linking from leaf to hub, it shows:

Code: Select all

[11:00] Telnet connection: 192.168.1.1/53856
[11:00] Timeout/EOF ident connection
[11:00] Refused telnet@192.168.1.1 (non-bot)
[11:00] Lost Bot: bot1
...immediately after trying to link.

When trying to link from hub to leaf, I get this:

Code: Select all

[10:58] Linking to bot2 at 192.168.1.1:17100 ...
...and after a while:

Code: Select all

[10:59] Failed link to bot2
[10:59] Lost connection while resolving hostname [192.168.1.1/53850]
The best way to start learning is to start helping.
User avatar
j0n
Op
Posts: 140
Joined: Wed May 07, 2003 5:31 pm
Location: sjn.nb.ca
Contact:

Post by j0n »

No.

[11:00] Refused telnet@192.168.1.1 (non-bot)
[22:39] Lost Bot: statz0r

It does not recognize a "bot".
Make sure the set-botnick is the same as the .+bot botnick
You may have added .+bot nick (online nick) instead of what the conf has.

Also, lookover the ports for users/bots or all
User avatar
Aron
Halfop
Posts: 86
Joined: Sat Mar 15, 2003 8:35 am

Post by Aron »

Alright, thanks. I was stupid enough to use upercase in the botnet nick while I added it with lowercase.

I've got a new problem now though. When I link the bots I get this:

Hub:

Code: Select all

[10:49] Challenging leaf...
[10:49] Linked to leaf.
*** Linked to leaf
[10:49] Creating resync buffer for leaf
[10:49] Sending user file send request to leaf
[10:49] Disconnected from: leaf. No reason (lost 1 bot and 1 user)
*** Disconnected from: leaf. No reason (lost 1 bot and 1 user)
[10:49] (Userlist transmit aborted.)
Leaf:

Code: Select all

[10:50] Received challenge from Hub... sending response ...
[10:50] Linked to Hub.
*** Linked to Hub
[10:50] Downloading user file from Hub
[10:50] Lost userfile transfer from Hub; aborting.
*** Hub
[10:50] (Userlist download aborted.)

The hub flags on the leaf bot are +ghp.
The leaf flags on the hub are +gls.

My-ip is set to the EXTERNAL ip address on both bots.
Nat-ip is set to the INTERNAL one. So are the addresses in the userfile.
Hostmasks have been added through +host on both bots.
Portranges are reserved on both bots.

Any ideas?
The best way to start learning is to start helping.
User avatar
Aron
Halfop
Posts: 86
Joined: Sat Mar 15, 2003 8:35 am

Post by Aron »

... still have not figured it out.
The best way to start learning is to start helping.
User avatar
j0n
Op
Posts: 140
Joined: Wed May 07, 2003 5:31 pm
Location: sjn.nb.ca
Contact:

Post by j0n »

I had problems with the resync-buffer a few times, just remove it completely.
It's in the transfer mod (conf)
Locked