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.

[SOLVED] DCC connect problem

General support and discussion of Eggdrop bots.
Post Reply
v
veblen
Voice
Posts: 18
Joined: Tue Mar 13, 2007 11:23 am

[SOLVED] DCC connect problem

Post by veblen »

i cant connect via dcc with my bot.

ive been through the help pages and guide, set all the right settings i think.

if i try to initiate the dcc chat, it just stays on waiting for aknowledgement.
if i make the bot try and dcc me, i always get the error 'lost connection while identing' ... 'password timeout on dcc chat' in the telnet window.

any ideas?
Last edited by veblen on Mon Mar 19, 2007 12:11 pm, edited 1 time in total.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Read this thread for help with DCC problems.
v
veblen
Voice
Posts: 18
Joined: Tue Mar 13, 2007 11:23 am

Post by veblen »

already have done & tried everything there :?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

veblen wrote:already have done & tried everything there :?
Then try: CTCP <nick> CHAT
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
v
veblen
Voice
Posts: 18
Joined: Tue Mar 13, 2007 11:23 am

Post by veblen »

ive tried ctcp <bot> chat, like i said...

when i do that i get the messages:

'lost connection while identing'
'password timeout on dcc chat'

in the telnet window.

the bot is on the same local machine, i have my ip's set correctly in the config file, port forwarded and set correctly, and the right port and ip set in mirc, and the lookup method is set to normal.

ive tried all the suggested steps.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

# If you're using virtual hosting (your machine has more than 1 IP), you
# may want to specify the particular IP to bind to. You can specify either
# by hostname or by IP. You may also want to set the hostname here if
# Eggdrop has trouble detecting it when it starts up.
#set my-hostname "virtual.host.com"
#set my-ip "99.99.0.0"
Try setting my-ip to "localhost"?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
v
veblen
Voice
Posts: 18
Joined: Tue Mar 13, 2007 11:23 am

Post by veblen »

i just tried that, and it didnt make any difference.

still the same errors.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

I use a Windrop and have "set my-ip" to my actual IP and it works like a charm; but I also do not have a router.

I believe there's a DMZ zone that needs to be set?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

One thing worth mentioning, depending on your router/nat solution, is that NAT's based on ipchains/iptables do not send packets through the nat-prerouting table that are of "local origin". Unfortunately, outbound packets (from a host behind the nat), with a destination to one of the addresses of the router will be considdered of "local origin".

Keep in mind that nat-routers using a different technique than iptables/ipchains might operate in different manners and might not be affected by this issue.


Does manually telnetting to your bot work with either lan or external ip?
NML_375
v
veblen
Voice
Posts: 18
Joined: Tue Mar 13, 2007 11:23 am

Post by veblen »

i can open a telnet connection with the bot using the internal router assigned ip, but not by using my external ip address.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Then I would suspect your nat/router uses iptables or such. Unfortunately there is no easy fix for this, as if you would alter nat-ip to send the lan-ip you'd be able to atleast use ctcp-chat, but anyone else would'nt. Same would go with changing mIRC's local address to the lan-ip (allows you to dcc your bot, but you wont be able to dcc anyone else)
NML_375
v
veblen
Voice
Posts: 18
Joined: Tue Mar 13, 2007 11:23 am

Post by veblen »

changing to my internal ip in mirc worked.

im happy enough with that. thankyou for the help :D
Post Reply