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.

Botnet problem...

Old posts that have not been replied to for several years.
Locked
B
BigSjedow
Voice
Posts: 21
Joined: Sun Nov 16, 2003 7:23 am

Botnet problem...

Post by BigSjedow »

I have 2 bots on the same host. Trying to setup a botnet with those 2.

Bots are called BS-Bot (hub) and BS-A (leaf).

At the hub i did:

.+bot BS-A localhost:3334
.chattr BS-A +fo
.botattr +gs


and at the leaf:

.+bot BS-Bot localhost:3333
.chattr BS-Bot +fo
.botattr +ghp




at both bots in the confige file i set in the global chanset:
+shared

and the modules:

loadmodule transfer
set max-dloads 3
set copy-to-tmp 1
set xfer-timeout 30

loadmodule share

now.. the problem is:
This is what i get at the leafbot:

[13:19] Received challenge from BS-Bot... sending response ...
[13:19] Linked to BS-Bot.
*** Linked to BS-Bot
[13:19] Downloading user file from BS-Bot
[13:19] Failed connection; aborted userfile transfer.
[13:19] Disconnected from: BS-Bot. No reason (lost 1 bot and 1 user)
*** Disconnected from: BS-Bot. No reason (lost 1 bot and 1 user)


and this i get at the hubbot:

[13:19] Creating resync buffer for BS-A
[13:19] Sending user file send request to BS-A
[13:19] Timeout on userfile transfer.
*** Disconnected BS-A (timed-out userfile transfer)



Can someone help me with this problem ?????

Thx in advance

BigSjedow
Last edited by BigSjedow on Sun Nov 16, 2003 10:34 am, edited 1 time in total.
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

Post by Kimmi »

If the bots are on the same box, maybe U should try some different ports like "3111 and 9111" on the bots. Been so long since I have gotten that problem my self. Forgoten how I fixed it... but if your running them on a privat box, that might have a firewall blocking.

just some sugestions...
Kimmi@EFnet
B
BigSjedow
Voice
Posts: 21
Joined: Sun Nov 16, 2003 7:23 am

Post by BigSjedow »

Hey kimmi,

thx for awnsering so soon.
Gonna try some other ports. the box doesn't have a firewall. its just my own test server. have ircd running on it and the eggdrops...

Grz..

BigSjedow
B
BigSjedow
Voice
Posts: 21
Joined: Sun Nov 16, 2003 7:23 am

Post by BigSjedow »

nope, didn't work.

:( any other ideas ???

doesn't it matter i use localhost:<port>

instead of <ip>:<port> ???
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

dunno but just try it out :)
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Do you have router/firewall ?
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

allways use the exterenal ip

when i did localhost / 127.0.0.1 it didnt work too
B
BigSjedow
Voice
Posts: 21
Joined: Sun Nov 16, 2003 7:23 am

Post by BigSjedow »

yes i do have a router, but only connecting via private lan...

till now. cause i gonne try GodOfSuicides idea..
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Yep, if you have router, your bot cant be hub, it can be just leaf, because he cant send userfile, chanfile...next.Find some friend which have pc always on, and ask him, if he can run but, and then he will run hub, and you will link other bots on it...
B
BigSjedow
Voice
Posts: 21
Joined: Sun Nov 16, 2003 7:23 am

Post by BigSjedow »

]kami[,

idd, i now setup de port redirection (NAT) on my router, and use my external ip as GodOfSuicide said and he does come further but not transfering the file:

hub:

[00:22] Telnet connection: <my isp hostname>/33859
[00:22] Timeout/EOF ident connection
[00:22] Challenging BS-A...
[00:22] Linked to BS-A.
*** Linked to BS-A
[00:22] Creating resync buffer for BS-A
[00:22] Sending user file send request to BS-A

and at the leaf:

[00:22] Received challenge from BS-Bot... sending response ...
[00:22] Linked to BS-Bot.
*** Linked to BS-Bot
[00:22] Downloading user file from BS-Bot
[00:22] Timeout on userfile transfer.
[00:22] Disconnected from: BS-Bot. No reason (lost 1 bot and 1 user)
*** Disconnected from: BS-Bot. No reason (lost 1 bot and 1 user)


....

can u explane to me why this doesn't work if i'm behind a router ?? maybe i can figgure out an other solution :)
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

I told you, even if you open port if wont work, i have opend ports to, but not working, bot cant send file..
B
BigSjedow
Voice
Posts: 21
Joined: Sun Nov 16, 2003 7:23 am

Post by BigSjedow »

:s k..

thx for you help.. Gonna have to search for a shell to run the hub ;)

Grz.

BigSjedow
B
BigSjedow
Voice
Posts: 21
Joined: Sun Nov 16, 2003 7:23 am

Post by BigSjedow »

mmm... redirected all posts to my linux box where i have the bots running on and it works :) hehe

so there must b a port which the hub nedds. gonna look for it. when i find it , i will let u know about it :)

Grz.. BigSjedow
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

hmm bots on same comp.. behind a gateway.. correct?
if this is the case.. heres what i suggest..
set my-ip "LAN ip"
set nat-ip "WAN ip"
set reserved portrange .. a small range you will forward ( the file transfer will happen on these ports)

then when you go to link the bots.. use the LAN address to link them ( keep it inside the network) all the rest of the stuff i said is more or less so people will be able to dcc your bot from outside the network..(forward the bots listen port) You can play with my-ip setting without nat-ip and try and get it working first.. use nat-ip as a last resort.. often it is needed tho.. i have a few bots on a network sharing and the setup i said works fine for me
a.k.a. hellios
T
Tbone86

Post by Tbone86 »

[ignore]
Locked