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 

DCC session closed

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


Joined: 07 May 2008
Posts: 138

PostPosted: Thu May 08, 2008 5:15 am    Post subject: DCC session closed Reply with quote

I don't understand why but I cannot connect through DCC to my Bot.

Code:
DCC Chat session
-
Client: Botnick (82.98.86.170)
-
Acknowledging chat request...
-
Unable to connect!
-
DCC session closed


Here is my situation:

I have an ADSL with external and internal IP (212.0.XXX.XXX/192.168.1.1)

My personal comp. (Win XP) IP: 192.168.1.2
Linux Server IP: 192.168.1.50

Gateway offcourse is: 192.168.1.1 for both computers.

Now I don't get any reply from my bot.

But I can connect with putty to the Bot in my LAN:
Like this: 192.168.1.50:3338

This is what I see in putty:
[13:23] CTCP CHAT: from Me (~Me@Myusername.users.undernet.org)
...no response in Mirc.


I cannot connect with putty outside my LAN the provider configured so,
I connot connect from outside to the 212.0.XXX.XXX (ADSL).

But I can connect to other bots through DCC.

P.S. The Linux Server doesn't have any Firewall, iptables is stoped.


Here is the conf for DCC:

Code:

#set my-hostname "nothin/comment"
#set my-ip "nothin/comment"

##### BOTNET/DCC/TELNET #####

listen 3338 all

set remote-boots 2

set share-unlinks 1

set protect-telnet 0

set dcc-sanitycheck 0

set ident-timeout 10

set require-p 0

set open-telnets 0

set stealth-telnets 0

set use-telnet-banner 0

set connect-timeout 15

set dcc-flood-thr 3

set telnet-flood 5:60

set paranoid-telnet-flood 1

set resolve-timeout 15


If I cannot connect with putty from outside my LAN,
at least I want to connect using DCC.
Help pls, what I do wrong ?!
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu May 08, 2008 7:18 am    Post subject: Reply with quote

This is because when you initiate a dcc-connection, you tell your bot to connect to your client. If your client is setup to use your external ip, you'd need proper port forwarding (which, you said, your ISP blocks).

Your best option would be to use /ctcp chat, which basically makes your bot dcc-chat you using either nat-ip, my-ip/my-hostname, or the ip of the host system (192.168.1.50). Other options would be to reconfigure your client to use your local ip rather than the one retrieved from your irc-server, this will break dcc's to any client/bot outside your local network however.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Thu May 08, 2008 7:55 am    Post subject: Reply with quote

I found out how to port forward for my ADSL.

http://portforward.com/english/routers/port_forwarding/Huawei/SMARTAX-MT-800/BitTorrent.htm

I will try it Monday.
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