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.

Lost connection while resolving hostname when linking bots

Old posts that have not been replied to for several years.
Locked
N
NickieNonstop

Lost connection while resolving hostname when linking bots

Post by NickieNonstop »

Hi ya guys,

I searched the forum, but didn't find a topic with a solution to my problem. Most of them were about problems AFTER linking. But I think I'm a noob with this so maybe you can help me out.

My situation:

I want to test a botnet with two bots on the same ip address (they're both running on my machine). Just to get familiar with it for setting up a bigger botnet with eggdrops from different machines/locations.
I'm behind a router, but my machine is setup with DMZ. So all ports are open. I don't have problems with dcc'ing to my bots.
When I try to link botA to botB I get the following error:

Lost connection while resolving hostname [213.84.31.65/2438]

And eventually the error that it couldn't link to the bot.

I added both bots to eachother user file with the ipadress and the port I defined in the conf file. They got eachothers hostmask from the channel they were in.

Beneath the botnet section of one of the conf files:

listen 8881 all
set remote-boots 2
set share-unlinks 1
set protect-telnet 1
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 1
set open-telnets 0
set stealth-telnets 1
set use-telnet-banner 0
set connect-timeout 10
set dcc-flood-thr 3
set telnet-flood 5:45
set paranoid-telnet-flood 1
set resolve-timeout 15


I also tried to use a different port in each conf file, but this would'nt help.
Here's a part of the dcc-chat with a few entries of the userfile of one of the bots:

[02:36] <FOR-Mat> HANDLE PASS NOTES FLAGS LAST
[02:36] <FOR-Mat> yourhost no 0 abfo never (nowhere)
[02:36] <FOR-Mat> HOSTS: *!YourHost@213.84.31.65
[02:36] <FOR-Mat> ADDRESS: 213.84.31.65
[02:36] <FOR-Mat> users: 8882, bots: 8882


"Yourhost" is the other bot as you can see.


I hope you guys can help me out on this one,


Thanx in advance,

Nick
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

is 213.84.31.65 your public address?
If yes, and if no NAT is done to transfert it to your local address, you need to use "set my-ip" and set it to your local ip. Then, your link must be to your local ip and not to your public ip.
N
NickieNonstop

Post by NickieNonstop »

that worked! I actually did had set my NAT ip on, but I disabled it and set my ipaddress. The can link!

Thanx man!
Locked