Skip to contentSkip to conversation

DCC receive works fine but not SEND

DISCUSSION Joel Linuxdude 2 participants 2 messages Nov 26, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 13 lines · Joel Linuxdude
Quoted 11 lines

I can not send files over IRC using DCC but I can receive them just fine. I played with the firewall script and didnt have any luck. Maybe its the ISP, but what can I do to ensure that it will work?

eth0 = cable modem
eth1 = LAN

I make sure to do this;
$IPT -t nat -A POSTROUTING -o eth0 -j SNAT --to-source x.x.x.x

Quoted 8 lines
Quoted 6 lines

For ports that seem to not get forwarded right I do this; $IPT -t nat -A PREROUTING -i eth0 -p tcp --dport 6699 -j DNAT --to 192.168.0.9-192.168.0.20 (WinMX stuff)

I can not find any specs to tell me what IRC DCC is all about! Is it TCP or UDP? What port?

modprobe ip_nat_irc

I have a monolithic kernel. Although I dont use modules, I have them all compiled right into the kernel. I did compile all of the Netfilter IRC modules. Now what? *whimper* *pout*

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus

#1 lore raw

RECIEVE problems with DCC are usually problems at the other end.

Remote client sends: DCC SEND file.txt <size> <IP> <port> <size> Your client in return connects to <IP> <port> to initiate the transfer.

I'd suggest that the client you are trying to recieve from is firewalled in.

- Tomas Edwardsson

Quoted 37 lines · Joel Linuxdude

From: "Joel Linuxdude" <[email protected]>
To: [email protected], [email protected]
Subject: Re: DCC receive works fine but not SEND
Date: Tue, 26 Nov 2002 00:32:00 -0500

Quoted 12 lines · Joel Linuxdude
Quoted 11 lines

I can not send files over IRC using DCC but I can receive them just fine. I played with the firewall script and didnt have any luck. Maybe its the ISP, but what can I do to ensure that it will work?

eth0 = cable modem
eth1 = LAN

I make sure to do this;
$IPT -t nat -A POSTROUTING -o eth0 -j SNAT --to-source x.x.x.x

Quoted 8 lines
Quoted 6 lines

For ports that seem to not get forwarded right I do this; $IPT -t nat -A PREROUTING -i eth0 -p tcp --dport 6699 -j DNAT --to 192.168.0.9-192.168.0.20 (WinMX stuff)

I can not find any specs to tell me what IRC DCC is all about! Is it TCP or UDP? What port?

modprobe ip_nat_irc

I have a monolithic kernel. Although I dont use modules, I have them all compiled right into the kernel. I did compile all of the Netfilter IRC modules. Now what? *whimper* *pout*

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus