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 CHAT PROBLEMS

Old posts that have not been replied to for several years.
Locked
t
tabmoW
Voice
Posts: 4
Joined: Mon Dec 13, 2004 11:30 pm

DCC CHAT PROBLEMS

Post by tabmoW »

I have recently installed Eggdrop from ports on a FreeBSD 5.3-STABLE system. I created the config file and have put in all settings for the bot to use my external ip as i am behind a router using NAT. When i try and dcc chat the bot i get the following errors:

[14:43] DNS resolved 144.132.2.189 to CPE-144-132-2-189.vic.bigpond.net.au
[14:43] DCC connection: CHAT (tabmoW!tabmow@CPE-144-132-2-189.vic.bigpond.net.au)
[14:43] CTCP DCC: CHAT chat 2424570557 54026 from tabmoW (tabmow@CPE-144-132-2-189.vic.bigpond.net.au)
[14:43] net: eof!(write) socket 8 (Broken pipe,32)
[14:43] Lost dcc connection to tabmoW (tabmow@CPE-144-132-2-189.vic.bigpond.net.au/54026)

This tells me that it is using the correct nat information but i still can't get it to work. /ctcp bot chat will not work either - i can telnet to the bot though but i really need to be able to use dcc chat and i have gone through the readme's and how-to's and i believe i am doing everything correct. Any help would be much appreciated.

Thankyou in advance.

Terry
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

this topic has been discussed many times as of late

search the forums for "nat-ip" and "reserved-portrange" and you'll find multiple articles on the subject, basically saying the same (or at least I repeat that DCC stuff again & again, it's really simple and comes down to setting these two variables correctly, as well as your firewall/NAT)
t
tabmoW
Voice
Posts: 4
Joined: Mon Dec 13, 2004 11:30 pm

Post by tabmoW »

I realise this has been discussed that is why i said i had done all the relevant things in trying to get this to work.
I have set both these 2 variables correctly as shown below:
set nat-ip "144.132.2.189"
set reserved-portrange 60000:65000

On my router running NAT i have port forwarded those ports above to the ip which the eggdrop is running off and i still get this problem. I don't know what else to do?

Terry.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

and your firewall on the router is opened for incoming connections on that portrange and outgoing connections on any port?
t
tabmoW
Voice
Posts: 4
Joined: Mon Dec 13, 2004 11:30 pm

Post by tabmoW »

Yes sir. Works with everything else... I can accept incoming ftpd connections and so on. Just seems that this doesn't want to work.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

that

Code: Select all

[14:43] net: eof!(write) socket 8 (Broken pipe,32) 
looks like a firewall problem to me

anyhow, try acceping outside DCC CHAT request with some IRC client running on the bot's machine; if you are successful with that, it's a bot problem; if not, most likely a firewall problem
t
tabmoW
Voice
Posts: 4
Joined: Mon Dec 13, 2004 11:30 pm

Post by tabmoW »

I found out the problem. KVIRC was trying to initiate outside dcc connections but because the bot was on the local lan it would try and lookup my external ip address, i fixed this by taking out the external ip address i configured, now i have a problem that i can't dcc chat anyone external to my lan though, ahh well that is what /msg is for :D

Thanks heaps guys.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Isn't there a DMZ setting with your router? A friend of mine with a router couldn't DCC anything for ages until they stumbled across setting the DMZ and now they DCC everything. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked