mIRC Home    About    Download    Register    News    Help

Print Thread
"Use random ports for listening sockets" #18231 05/04/03 08:58 PM
Joined: Mar 2003
Posts: 12
T
TPC Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Mar 2003
Posts: 12
in "options > connect > options > advanced" there is a checkbox called "Use random ports for listening sockets".

What exactly does this do, in detail? the reason that I want to know is that my schools firewall blocks irc, but if I check this option it works anyway. Maybe I can get my prog to work trought the firewall using this, so I need detailed info. so does anyone know a doc or something explaing this, or can write a short explanation?


-The Power Champion

Have a nice day!
Re: "Use random ports for listening sockets" #18232 05/04/03 09:02 PM
Joined: Dec 2002
Posts: 843
P
Poppy Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
If your school has blocked access to IRC, I doubt anyone here will help you get round it.


Never compare yourself to others - they're more screwed up than you think.
Re: "Use random ports for listening sockets" #18233 05/04/03 09:06 PM
Joined: Mar 2003
Posts: 12
T
TPC Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Mar 2003
Posts: 12
They haven't blocked irc. its just that all ports are closed except port 80 and some others. and they won't open 6667 just because I want it.

And, I don't need help to get on irc. I CAN get on irc if i check the checkbox that I talked about. I just want to know how it works so I can do it in my own prog.


-The Power Champion

Have a nice day!
Re: "Use random ports for listening sockets" #18234 08/04/03 05:15 AM
Joined: Dec 2002
Posts: 33
Edward_K Offline
Ameglian cow
Offline
Ameglian cow
Joined: Dec 2002
Posts: 33
mIRC just picks a random local port for the TCP connection.

Re: "Use random ports for listening sockets" #18235 08/04/03 10:32 AM
Joined: Mar 2003
Posts: 12
T
TPC Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Mar 2003
Posts: 12
that wouldn't make it so it by-passes the firewall, it must do something else too.


-The Power Champion

Have a nice day!
Re: "Use random ports for listening sockets" #18236 09/04/03 02:42 AM
Joined: Dec 2002
Posts: 33
Edward_K Offline
Ameglian cow
Offline
Ameglian cow
Joined: Dec 2002
Posts: 33
The random local ports option makes mIRC use non-consecutive ports when creating sockets, this might help against DoS attacks trying to disable your server or dcc connections.

-Quote from mIRC help file