egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New to botnet

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
kny
Voice


Joined: 14 Apr 2009
Posts: 14

PostPosted: Mon Nov 08, 2010 5:37 pm    Post subject: New to botnet Reply with quote

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:
[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
Back to top
View user's profile Send private message
kny
Voice


Joined: 14 Apr 2009
Posts: 14

PostPosted: Tue Nov 09, 2010 5:30 pm    Post subject: Reply with quote

Hi folks...

..anyone?
Back to top
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Mon Nov 15, 2010 12:16 pm    Post subject: Reply with quote

Show us the result of:
on innit: .whois safe
on safe: .whois innit
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
kny
Voice


Joined: 14 Apr 2009
Posts: 14

PostPosted: Tue Nov 16, 2010 3:31 am    Post subject: Reply with quote

Thanks a lot for your reply and offer of help.

On innit:-
.whois safe
Code:
.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:
.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

Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Nov 16, 2010 2:53 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
kny
Voice


Joined: 14 Apr 2009
Posts: 14

PostPosted: Thu Nov 18, 2010 5:19 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
kny
Voice


Joined: 14 Apr 2009
Posts: 14

PostPosted: Tue Nov 23, 2010 2:12 pm    Post subject: Reply with quote

Hi folks, any further ideas?

Thanks a lot.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Nov 23, 2010 2:46 pm    Post subject: Reply with quote

Did updating the bot records to match the selected ports yield any different result?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
kny
Voice


Joined: 14 Apr 2009
Posts: 14

PostPosted: Tue Nov 23, 2010 3:34 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Nov 23, 2010 3:41 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
kny
Voice


Joined: 14 Apr 2009
Posts: 14

PostPosted: Tue Nov 23, 2010 3:59 pm    Post subject: Reply with quote

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

.botaddr isn't giving me much in party.


Cheers.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Nov 23, 2010 4:27 pm    Post subject: Reply with quote

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

and
Code:
.chaddr safe 10.0.0.200:2222

_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber