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.

New to botnet

General support and discussion of Eggdrop bots.
Post Reply
k
kny
Voice
Posts: 14
Joined: Tue Apr 14, 2009 4:50 pm

New to botnet

Post by kny »

Hi folks,

Avid user and admin of eggdrops for a long time, currently running 3 on my own OS X machine connected to my own locally hosted IRC server.

I've never tried to tinker with linking them before, so thought I'd give it a whirl. I must be missing something, though, as I'm getting an error or two - maybe you can help?

I've followed the guide at http://www.egghelp.org/enhance.htm - gone over it 3, 4 maybe even 5 times again just to make sure, but unfortunately I must be cocking something else up!

At the point of 'safe' (leaf) trying to connect to 'innit' (hub) I'm getting the following in safe's console:

Code: Select all

[21:31:00] <safe> [21:31] net: connect! sock 8
[21:31:00] <safe> [21:31] DNS resolve failed for 10.0.0.200
[21:31:00] <safe> [21:31] Telnet connection: 10.0.0.200/52773
[21:31:00] <safe> [21:31] net: eof!(write) socket 18 (Broken pipe,32)
[21:31:00] <safe> [21:31] Timeout/EOF ident connection
[21:31:00] <safe> [21:31] Refused telnet@10.0.0.200 (invalid handle: safe)
[21:31:00] <safe> [21:31] net: eof!(read) socket 16
[21:31:00] <safe> [21:31] Lost Bot: innit
Can anyone help advise what I may be doing wrong?


Thanks a lot in advance, guys.
kny
k
kny
Voice
Posts: 14
Joined: Tue Apr 14, 2009 4:50 pm

Post by kny »

Hi folks...

..anyone?
User avatar
CrazyCat
Revered One
Posts: 1296
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Show us the result of:
on innit: .whois safe
on safe: .whois innit
k
kny
Voice
Posts: 14
Joined: Tue Apr 14, 2009 4:50 pm

Post by kny »

Thanks a lot for your reply and offer of help.

On innit:-
.whois safe

Code: Select all

.whois safe
HANDLE    PASS NOTES FLAGS           LAST
safe      no       0 b               08 Nov (#safe)
  BOT FLAGS: gs
  HOSTS: *!safe@10.0.0.200, safe@10.*, safe@myserver.com
         *!safe@myserver.com
  ADDRESS: 
     users: 3333, bots: 3333

On safe:-
.whois innit

Code: Select all

.whois innit
[07:27] tcl: builtin dcc call: *dcc:whois cheef 15 innit
[07:27] #cheef# whois innit
HANDLE    PASS NOTES FLAGS           LAST
innit     no       0 bflo            never (nowhere)
  HOSTS: *!innit@3F757843.43B0B996.966AB40D.IP
         *!innit@myserver.com, *!innit@10.*
  BOT FLAGS: ghp
  ADDRESS: 10.0.0.200
     users: 3333, bots: 3333

n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Since you are running both bots on the same host, they have to use different ports. Try to make sure these are atleast 20 numbers apart.

* Edit your config-files, and change the listen commands so that each bot has it's own listening port.
* Alter the bot records to match the ports you selected above.
NML_375
k
kny
Voice
Posts: 14
Joined: Tue Apr 14, 2009 4:50 pm

Post by kny »

Hi there,

Thanks for this. It's interesting, as doing a .whois safe from innit, it's showing safe's listen port as 3333, but in safe's config...

listen 2222 all

Seems like this could be my problem? With a .whois innit from safe, that too shows 3333 but innit's config is...

listen 1111 all
k
kny
Voice
Posts: 14
Joined: Tue Apr 14, 2009 4:50 pm

Post by kny »

Hi folks, any further ideas?

Thanks a lot.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Did updating the bot records to match the selected ports yield any different result?
NML_375
k
kny
Voice
Posts: 14
Joined: Tue Apr 14, 2009 4:50 pm

Post by kny »

Hi,

The bot configs do actually state different ports, as per my previous post. It's strange why the .whois results on both bots state the ports as 3333. They're not set as 3333 in their configs.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

The .whois information shows the information stored within the bot record, not the port your eggdrop listens to..
Use the .botaddr command to update this information accordingly.
NML_375
k
kny
Voice
Posts: 14
Joined: Tue Apr 14, 2009 4:50 pm

Post by kny »

Any chance you can elaborate on that? I'm not entirely sure.

.botaddr isn't giving me much in party.


Cheers.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Sorry, had the commands mixed up. That should've been .chaddr
If I read your posts correctly, this should do the trick:

Code: Select all

.chaddr innit 10.0.0.200:1111
and

Code: Select all

.chaddr safe 10.0.0.200:2222
NML_375
Post Reply