mIRC Home    About    Download    Register    News    Help

Print Thread
#145480 23/03/06 06:39 PM
Joined: Jan 2003
Posts: 9
D
Dutch Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jan 2003
Posts: 9
I have noticed mIRC has a problem when it is running for a longer time (2 week+) to remember what is set in options for DCC ports.
I have set 5 ports in the 5000 range and that works fine for several days but after a while (approx 2 weeks) mIRC desides to use just random ports and ignores what I have set.
The ports are still set in the mIirc.ini and also show up in options.. but when I try to /dcc mIRc tries to use random ports (1064, 1138, 1235, etc)

When I /exit mIRC and reopen all will be OK again for the next ... days.

#145481 23/03/06 06:58 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
At the time mirc used random ports was your port range of 5001-5005 (i wonder why i choose this range?) already fully in use? Ie: were there already 5 dcc's in progress, add all gets + sends + fserv + dcc chats together for this value?

I ask this becuase I have observed mirc using a random port in the range 1024-5000, if the desired dcc port range is already fully commited (by mirc or any other aplications use)

see /help $portfree
example //echo -a $portfree(5001) $portfree(5002) $portfree(5003) $portfree(5004) $portfree(5005) or replace with your 5 port range

#145482 23/03/06 07:08 PM
Joined: Jan 2003
Posts: 9
D
Dutch Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jan 2003
Posts: 9
no, the port range was totaly free, I only use dcc chat to my bot mostly and sometimes to users. It's just that after some "time" mIRC desides by itself to use other ports then the 5 I defined. (untill I close mIRC an reopen).

#145483 23/03/06 07:35 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I suggest when that happens issue the $portfree(N) on each of the dcc ports see if there free or not as far as mirc is concerned, then also check there use by other things using say dos command NETSTAT -n

I have had mirc running for over a month with out encountering this. (port range was 5060-5069 in my case)

#145484 23/03/06 07:52 PM
Joined: Jan 2003
Posts: 9
D
Dutch Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jan 2003
Posts: 9
according to miRC all 5 port's are in use, according to netstats all are free.

#145485 24/03/06 06:41 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Just to be sure, are you using the -an switches with netstat?

I have had mIRC running for a few weeks at a time and not (yet) experienced this.

#145486 24/03/06 01:47 PM
Joined: Jan 2003
Posts: 9
D
Dutch Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jan 2003
Posts: 9
Can't tell you right now Collective, I did a reboot so mIRC will be fine for the next few weeks.
btw. how do I know what ports mIRC tries to use... I have a ctcp line in remotes to show me the IP and port when somebody dcc's me to be able to help with dcc problems/router isues.

#145487 24/03/06 09:57 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
no thats there port. You would have to debug your outbound traffic to cacth what ports mirc is using for dcc.

#145488 20/04/06 10:21 AM
Joined: Jan 2003
Posts: 9
D
Dutch Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jan 2003
Posts: 9
I know how the DCC protocol works don't worry.
When I notice I can't dcc send/chat anymore I dcc chat myself and I catch the ctcp to debug what IP:port mIRC is sending and after running mIRC for a long time those dcc ports mIRC uses don't match with the settings in options nor mirc.ini.
(mirc.ini still matches with what I have set and see in options)


Link Copied to Clipboard