mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2008
Posts: 16
V
Vilius Offline OP
Pikka bird
OP Offline
Pikka bird
V
Joined: May 2008
Posts: 16
Hello,

I have a Port Range set 1024-1030 for DCC Send, Get and Chat request. At least DCC Send works fine and honnor the settings, however DCC Chat doesn't work. The client connects to completely random ports. 54235, 60710, 47889, and so on. Can anyone confirm?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Who is initiating the chat? You or someone else?


Invision Support
#Invision on irc.irchighway.net
Joined: May 2008
Posts: 16
V
Vilius Offline OP
Pikka bird
OP Offline
Pikka bird
V
Joined: May 2008
Posts: 16
I guess someone else, because I get DCC CHAT _request_.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You cannot control the port someone else uses when initiating chat. That is up to them. Just like if someone sends something to you. It will use their port range and not yours.


Invision Support
#Invision on irc.irchighway.net
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Note that if they are set to "Passive DCCs", it will reverse the connection protocol (the receiver chooses the port). However, I believe that the sender has to set passive mode on-- if you set it, and the sender does not, it won't make a difference.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Right. I considered mentioning that, but because the OP said the ports weren't matching his/her port range, I think it's safe to assume the sender doesn't have passive mode enabled. And you are right that the sender has to have it on for it to have any effect.


Invision Support
#Invision on irc.irchighway.net
Joined: May 2008
Posts: 16
V
Vilius Offline OP
Pikka bird
OP Offline
Pikka bird
V
Joined: May 2008
Posts: 16
That's strange. Then why DCC Send works in desired range? Send is also initiated by remote client.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
"Send" would mean you are sending it to someone. Do you mean you're receiving it? If so, that also is not controlled by your port settings. As mentioned, the sender *could* use passive DCC, which can change who controls the ports, but this is usually not the case because it limits who can receive the files.


Invision Support
#Invision on irc.irchighway.net
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Send works in the desired range because, as we pointed out, the sender initiates the connection (it is not initiated by the remote client). Whoever initiates the connection chooses the port-- they can also choose to let the receiver choose the port, which is what passive mode is.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: May 2008
Posts: 16
V
Vilius Offline OP
Pikka bird
OP Offline
Pikka bird
V
Joined: May 2008
Posts: 16
Understood.

I'm just stugling to keep DCC working through our new corporate firewall which does block all outbound traffic except allowed ports. I'm in control of it but I don't want to open wide range of ports just for DCC. Maybe anyone has a suggestion how to solve this?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
If you don't care too much about compatibility, then passive is a good option. It will work with anyone who either doesn't have a firewall/router or who can forward ports in anything they do have. If anyone you need to talk to or send things to can do that, then you can completely avoid forwarding ports in your firewall.

Otherwise, just make sure someone inside the company is initiating the dcc send or chat and that their port range matches your firewall port range. Make sure they don't have passive on. And make sure their port range is set to include chat and send. As long as all of that is done, it should work if the port range is forwarded correctly.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard