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.

DCC session closed

General support and discussion of Eggdrop bots.
Post Reply
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

DCC session closed

Post by eXtremer »

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

Code: Select all

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: Select all

#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 ?!
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
e
eXtremer
Op
Posts: 138
Joined: Wed May 07, 2008 5:33 am

Post by eXtremer »

I found out how to port forward for my ADSL.

http://portforward.com/english/routers/ ... orrent.htm

I will try it Monday.
Post Reply