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.

telnet denied / NAT not working no DCC

Old posts that have not been replied to for several years.
Locked
w
wacko

telnet denied / NAT not working no DCC

Post by wacko »

Hi

I recently setup a cpl of eggdrop bots 1.6.15 on my fedora box. I compiled and ran them successfully and they showed up on the network. The only problem being I can't DCC chat to them. Tried all methods /ctcp botnick chat etc ... ( I havn't tried to relink them yet)

I have set the myip in the config but still no luck. Everything else from the eggdrop side is setup identical to wht it was when It was at a shell server.


I was getting Denied Telnet from the logs. I do not have telnet enabled on my local box. When i try to telnet to 127.0.0.1. I get a connection refused. Is this the issue?? Isn't enabling telnet a security issue? as wherever I have read I have been always told to use ssh over telnet. (although I'm not sure this is possible for eggies?) How would i enable it if it is required I couldnt find anything in xinetd.d directory?

and can I limit its use to the local network via iptables? or would external users also need access to DCC chat to the bot?!

Also I read something about portforwarding from the router for DCC chats and file sends? Could somone please shed some light on that.

Any help much appreciated.
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Yeah you need to open ports for dcc chat.You look in mIRC what range you have set for dcc and then you open it in nat->special applications..(router).
User avatar
j0n
Op
Posts: 140
Joined: Wed May 07, 2003 5:31 pm
Location: sjn.nb.ca
Contact:

Post by j0n »

Just a comment on the telnet. You can disable the telnet on your local server, but you can still telnet "locally". Just make sure you are using the correct bot port (user).

If it says access denied, just look at your hostname in the userfile, and the hostname you see in the log. You might need to edit the hostname with the -telnet prefix.
w
wacko

Post by wacko »

Hi

thnks for your replies!

I had to add telnet@localhost to my userfile and now I can telnet in from the box locally.

Howver I am still having problems chatting to the bot from my IRC client
I have opened the ports on my router for the dcc range but i still get the following


(Since when I DCC to the bot Im in effect DCC'ing to my external IP, or when try try to dcc to my box internally 192.168.0.5:546213)

[10:36] CTCP CHAT: from kilx (user@external.host.com)
[10:37] -kilx (user@external.host.com)- DCC Chat (192.168.0.2)
[10:37] CTCP DCC: CHAT chat 3560467521 4688 from kilx (user@external.host.com)
[10:37] DCC connection: CHAT (kilx!user@external.host.com)
[10:38] Lost connection while resolving hostname [192.168.0.2/3695]
[10:40] Password timeout on dcc chat: [kilx]user@external.host.com
[10:40] CTCP CHAT: from kilx (user@external.host.com)
[10:44] Telnet connection: 192.168.0.2/3742
[10:44] Refused user3@192.168.0.2 (invalid handle: 100 kilx)
[10:44] Telnet connection: 192.168.0.2/3749
[10:44] Refused user3@192.168.0.2 (invalid handle: 100 kilx)


The handle is the valid handle of the owner of the bot. I have also set nat-ip in my config but stilll not having any luck.

Any Help Appreciated

Thnks
wc
M
Miro

Post by Miro »

You try to DCC your bot, but your bot's host use a private ip address and that one will not be routed trough a Internet. I need more info about location of your server (at home and connected on same LAN as your client or your server is placed on other place and you connect them via Internet). Also you can try without "set my-ip" or "set my-hostname" in your eggdrop config.
Anyway your problem is in a private IP address (192.168.x.x in your case) in your bot's host.

Greetingz
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

wacko wrote:The handle is the valid handle of the owner of the bot. I have also set nat-ip in my config but stilll not having any luck.
Miro wrote:Also you can try without "set my-ip" or "set my-hostname" in your eggdrop config.
eggdrop.conf wrote:# If you have a NAT firewall (you box has an IP in one of the following
# ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
# 10.0.0.0-10.255.255.255 and your firewall transparently changes your
# address to a unique address for your box) or you have IP masquerading
# between you and the rest of the world, and /dcc chat,/ctcp chat or
# userfile sharing aren't working, enter your outside IP here. Do not
# enter anything for my-ip or my-hostname if you use this setting.
just check all settings for any collisions, bot DCC chat should work fine even behind NAT. Just notice it will fail however if never you never the bot has a correctly configured port mapping. If the bot lags the setting you may only use /dcc and if you lag the setting and the bot not you may only use /ctcp chat.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Locked