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.

Chat problems

Old posts that have not been replied to for several years.
Locked
C
CKr

Chat problems

Post by CKr »

I have setup my eggdrop on FreeBSD 4.7. I am using natd to share my internet connection with the rest of the computers on the network (all others are windows machines). That is working fine, I can access the web via any computer on the network. Now for the problem. I cant DCC chat with my bot. I can however telnet into it and I see this when I try DCCing:

[17:41] DCC invalid port: CHAT (CKr!~krug65@12-227-127-219.client.attbi.com)
[17:41] CTCP DCC: CHAT chat from CKr (~krug65@12-227-127-219.client.attbi.com)


I have also tried /ctcp BotName chat and I get this:
[17:51] CTCP CHAT: from CKr (~krug65@12-227-127-219.client.attbi.com)

but I don't get a chat request from the bot. I have a feeling it has something to do with set my-ip or set my-hostname I do have set my-ip as my internal ip address (192.168.0.1).


I'm very new to the Unix and eggdrop world so go easy on me. But I am by no means new to computers.

Regards,
Cory
d
dvV
Voice
Posts: 30
Joined: Wed Jan 29, 2003 4:08 pm

Post by dvV »

take a look at this around line 300 of your conf

Code: Select all

# 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.
# set nat-ip "192.168.0.1"
dvV
C
CKr

Post by CKr »

Jeeze I can't believe I forgot about that. Okay, one more question for ya. What about if I have a dynamic IP? Will I just have to update it whenever it changes or can I use a wildcard? I did try putting my current outside ip in but it still doesn't seem to work. I can now do /ctcp BotName chat but it sits and says Acknoledging and times out.
d
dvV
Voice
Posts: 30
Joined: Wed Jan 29, 2003 4:08 pm

Post by dvV »

if you have a dymanic ip you will have to keep reseting it. also be sure to comment out my-ip and my-hostname if you are settin nat-ip. if all else fails just set up your gateway to forward all requests for the port you specified in your conf to the eggdrops host for outside telnet access.
C
CKr

Post by CKr »

This is actually locally that I can't access the bot. I think everyone on the internet can. I'll look into my configs again later. Thanks for your help.
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

What is dcc-portrange set too? I bet you have set it wrong -- it should be 1024:65535.

Jeff.
C
CKr

Post by CKr »

guppy wrote:What is dcc-portrange set too? I bet you have set it wrong -- it should be 1024:65535.

Jeff.
1024 - 5000
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

CKr wrote:
guppy wrote:What is dcc-portrange set too? I bet you have set it wrong -- it should be 1024:65535.

Jeff.
1024 - 5000
Why did you limit it to 5000? Have you tried "set dcc-portrange 1024:65535" like guppy suggested??
C
CKr

Post by CKr »

egghead wrote:
CKr wrote:
guppy wrote:What is dcc-portrange set too? I bet you have set it wrong -- it should be 1024:65535.

Jeff.
1024 - 5000
Why did you limit it to 5000? Have you tried "set dcc-portrange 1024:65535" like guppy suggested??
mIRC had it set to 5000 by default I guess. Yes I did try upping it. Still no go.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

CKr wrote: mIRC had it set to 5000 by default I guess. Yes I did try upping it. Still no go.
We are not talking mIRC here, but the "dcc-portrange" setting in the eggdrop configuration.
User avatar
Clipped
Halfop
Posts: 73
Joined: Fri Jan 24, 2003 2:27 am

Post by Clipped »

Hmm..I set the dcc portrange to 4990-5000 and I have had no problems at all.... It will just use one of the ports specified will it not?
These are the ports I forwarded on router :)

Clipped
C
CKr

Post by CKr »

I now did try using set dcc-portrange 1024:65532 and still no go. I have a feeling it just doesn't like my setup in some way. I'll just stick to using telnet. Thank you for all your help!

Cory
Locked