mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#66792 06/01/04 04:46 PM
Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
Hello,

There is an increasing number of routers on the market which support the UPnP (Universal Plug and Play) feature. This makes the router work in conjunction with the operating system and applications to create dynamic port forwarding rules in the router for applications on each computer when they need them. This made the life of home or small network administrators a lot easier, they no longer have to manually configure the router for voice chatting with MSN or NetMeeting, as UPnP will automatically create those rules when the application opens a listening socket. Similarily, UPnP support could be helpful in mIRC, for automatic configuration with IDENT requests and DCCing. Windows XP natively supports UPnP (the router will appear in My Network Places as "Internet gateway"), so do other applications from Microsoft (the UPnP group is led by Microsoft), but Windows 2000 and older don't and neither does mIRC. Do you think this is a reasonable request? Can I hope to see it implemented in the following version of mIRC?

Thanks in advance,
puterfixer

#66793 06/01/04 07:46 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I haven't actually followed too far up on UPnP, but from the looks of it, it may be a tad insecure wink

( http://www.grc.com/unpnp/unpnp.htm )


-KingTomato
#66794 07/01/04 01:54 PM
Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
I have a great respect for Gibson and his work, I've learned a lot about security from his site, but I wouldn't always take his word as absolute truth. Keep in mind that he designed that firewall-testing tool, ShieldsUp if I remember right, which attempts to connect to a FTP server on the Internet, supposedly to check how secure your firewall is. And, of course, most firewalls will allow an outgoing connection to a FTP server (duh, if you have Internet access you probably want HTTP and FTP access) then tell you that your system is vulnerable. Pfft.

Second, UPnP is created by Microsoft, so you can't expect too much of it. However, it can simplify a lot the router configuration in most SoHo networks, where security is not critical. Think of the numerous broadband connections for home where only one PC or maybe two are connected to the router, and the user doesn't know more than "plug in, power up, enjoy." Such folks won't even set a password for their network shares, so the UPnP security is the last problem to consider. But, enabling UPnP in router and having mIRC use this feature would be a huge step forward for the network-noob. After all, most problems I get in #mirchelp on Undernet are about making DCC work through DSL/Cable routers, and people scratch their heads even when they get a step-by-step tutorial with pictures. "Log in to the router?! What's the password? Oh, in the router's manual? But I didn't keep the manual! Manufacturer's site? What's a FAQ? What are virtual server, ports, IP? I don't understand a thing, forget it! This program sucks." You got the picture smile

Third: I just read GRC's page, and yes - it seems reasonable to disable UPnP on Windows XP, IF it is directly connected to the Internet rather than connected through a UPnP-enabled router. Like any service, it could be exploited somehow, but that doesn't mean it's not useful when used with a router.

#66795 01/02/04 12:20 PM
Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
Any updates on enabling UPnP support in future mIRC versions? Just keeping the suggestion active.

#66796 01/02/04 12:32 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Personally, due to the security issues which, whether you rely upon Gibson's advice or not, are present with UPnP, I don't think it's that great an idea. Especially as it is not a necessity. Whilst this would make life easier for users, it is not absolutely mandatory for routers to work in conjunction with ident requests or the DCC feature. There are a number of threads which help people set up these features with routers by providing info on which ports are needed and/or how to contact the router manufacturer.

What's more, I think if it were to be incorporated, it'd be important to wait for most people to actually have UPnP. As you say, Win2k does not support it and so I don't suppose Win98/95 [edit for Mentality] do either, or ME.

Basically, although it might be useful for a few, I think this should remain nearer the bottom of the list. It won't be useful to that many people (in relation to the total number of mIRC users anyway), there are security issues related to it and it's still possible for DCC/Ident to work without it.

My 2 cents.

Regards,

Last edited by ParaBrat; 01/02/04 08:51 PM.

Mentality/Chris
#66797 01/02/04 03:15 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
* Mentality re-reads post

Sorry for the invention of Windows 96 :P

-6+5

Regards,


Mentality/Chris
#66798 02/02/04 03:27 PM
Joined: Oct 2003
Posts: 273
E
EVH Offline
Fjord artisan
Offline
Fjord artisan
E
Joined: Oct 2003
Posts: 273
I'd like to see this added too.

#66799 02/02/04 03:41 PM
Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
UPnP support will not be added to older operating systems. Support for Windows 98 and previous versions has ceased, and Microsoft is trying to sell XP now - UPnP being one of its new features. Why would they implement it in older versions and make Windows 2000 users happy for avoiding the upgrade to XP?

But, applications running on older versions of Windows _CAN_ support UPnP. It works flawlessly in MSN Messenger, I was really happy to be able to use MSN Messenger on two networked computers without the need to configure the router at all! UPnP-enabled mIRC could work the same.

UPnP insecurity is irrelevant. Microsoft Windows XP's default setting is enabled, and mIRC can't change that; therefore, the insecurity of the system will still exist. mIRC could have the UPnP features disabled by default too, but at least give people the possibility to use it when they are behind a UPnP-enabled router. By the way, when users are behind the router, their UPnP vulnerability is no longer exploitable from the Internet.

I don't know how else could I argue in favor of adding UPnP features to mIRC. It's all up to Khaled anyways.

#66800 03/02/04 11:32 PM
Joined: Feb 2004
Posts: 124
T
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
I'd like to see this added too.

#66801 04/02/04 12:21 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Being banned from these forums doesn't mean "come back and leave 'me too' replies on your posts", EVH/Rock.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#66802 04/02/04 03:16 AM
Joined: Feb 2004
Posts: 124
T
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
EVH/Rock? who is EVH/Rock? I don't know this person.
My name is Tony how are you I am fine wink

#66803 08/03/04 01:08 PM
Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
A new version was released, yet no word on UPnP support. I'd really appreciate an oppinion from Khaled or one of the other developers, if there are any. Thanks in advance.

#66804 08/03/04 01:15 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
It is difficult to provide every feature suggestion with thoughts or an excuse on why it wasn't added to the current release, or if it will ever be added. This pressures Khaled into a Yes or No commitment, which tends to cause arguements or hurt feelings if he decides against it or fails to follow through.

I have over a dozen, what I consider reasonable, feature suggestions that I've been waiting for many versions to see. Patience is a virtue.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#66805 09/03/04 05:43 PM
Joined: Dec 2002
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Dec 2002
Posts: 28
I completely understand; didn't intend to force anything, not even an answer. I was simply curious if Khaled finds the idea interesting or at least worth keeping in mind for future improvements. I can only imagine the amount of documentation to read to understand how UPnP works and how to properly implement it; most likely it will take more time to add this feature than solve a few dozen minor bugs. But it could also mean the end of DCC-related problems.

#66806 29/03/04 05:57 AM
Joined: Mar 2004
Posts: 1
M
Mostly harmless
Offline
Mostly harmless
M
Joined: Mar 2004
Posts: 1
As Gibson states on his site the fault is not UPnP itself, it's Microsoft's UPnP WinXP server. Any mIRC implementation wouldn't use WinXP's server, it would be a client connecting to a different server. It wouldn't make the computer more insecure at all. My support is definitely behind this, my own network could benefit greatly from this and I'm sure there are many others like me.

Edit: Oh, and here's a demo written by someone else who'd like to see mIRC support UPnP: http://www.knoxscape.com/Upnp/NAT.htm
And here's Gibson's own ShieldsUp! demonstrating why not using UPnP can be worse than using it:

Last edited by MrNonchalant; 29/03/04 06:08 AM.
#66807 10/12/04 06:21 AM
Joined: Dec 2004
Posts: 1
M
Mostly harmless
Offline
Mostly harmless
M
Joined: Dec 2004
Posts: 1
give me a break, IPv6 support might not be necessary yet but UPnP should be implemented/supported


smile
#66808 29/12/04 12:14 AM
Joined: Feb 2003
Posts: 7
S
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
Posts: 7
Definatly .. it would make dcc so much easier for many users, especially those using laptops that travel from network to network or just for people who arn't that net savy (or lazy like me hehe). UPnP can be insecure but as mentioned before the main problem is that WIndows XP has it enabled as defualt and that isnt appropriate for many users.

I know Khaled doesn't often reply to posts but hopefully he might read this so heres the link for UPnP with c++ under Windows XP:

Microsoft UPnP API

#66809 23/01/05 12:12 PM
Joined: Jun 2004
Posts: 65
S
Babel fish
Offline
Babel fish
S
Joined: Jun 2004
Posts: 65
We dont NEED it to be added to the program proper. this can be handeled through a dll (c++ libraries exist for uPnP) and some creative scripting.

#66810 24/01/05 04:29 PM
Joined: Oct 2003
Posts: 96
J
Babel fish
Offline
Babel fish
J
Joined: Oct 2003
Posts: 96
Quote:
this can be handeled through .. blah blah blah


Same went for SSL but it was added .. I too would like to see UPnP support added.

This subject has been run into the ground anyway .. he's seen it plenty I'm sure.

Last edited by JoeDaddy; 24/01/05 04:31 PM.
Joined: Aug 2003
Posts: 80
H
Babel fish
Offline
Babel fish
H
Joined: Aug 2003
Posts: 80
I'm surprised nothing has been done towards this.

I'm fairly sure uPNP would be easy enough to implement into mIRC.

Its been discussed so many times in the past, yet no progress seems to be made.


-HM2K- hm2k.org
Joined: Dec 2002
Posts: 155
S
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 155
Just for the record, Windows 98, 98SE and ME do support UPnP if you install the Windows XP Internet Connection Sharing client by running Windows XP's Network Setup Wizard (netsetup.exe) on them.

Last edited by Strider; 03/04/07 04:28 AM.
Joined: Nov 2007
Posts: 4
S
Self-satisified door
Offline
Self-satisified door
S
Joined: Nov 2007
Posts: 4
hmm I dunno even in 2004 this would have been a welcome addition to mirc I personally don't see what the problem is in implementing it into mirc.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
I would imagine Khaled has bigger issues to deal with, such as unicode support (which still needs plenty of holes patched), the scripting features, etc.. Considering DCC works for the most part already, it's not really such a critical feature, but you're right, this shouldn't be too hard given his attention-- and I'm sure he will look at it sometime in the future.

On a sidenote, if you think the implementation would be easy, perhaps writing a DLL for it would be just as easy, until its supported officially. I don't really see much more difficulty in writing it as a DLL. You could potentially even write the implementation and donate the code, as people have done in the past, which might help Khaled get it into mIRC faster.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Aug 2003
Posts: 80
H
Babel fish
Offline
Babel fish
H
Joined: Aug 2003
Posts: 80
Unicode is now in version 7.0, but no update on uPNP support.

Unfortunately I've no idea how uPNP works and no demand for it myself at the moment.

However, I'm sure implementing uPNP support will help many users with DCC issues, so I am still pushing for this feature.

Does anyone know how uPNP works enough to write a script or dll?

Thanks.


-HM2K- hm2k.org
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Khaled can only do "one" thing at a time. Unicode has been added, yes, but the public beta is still just a beta. By the number of bug reports since the initial public beta release, the development of these features is clearly not done. Until he is done with this release, it's unlikely that he will tackle uPNP.

I'm sure he will plan a new round of features to add when this beta is finalized. However, it's generally unlike Khaled to "update" on whether or not a feature is in the works. So it will happen when it happens. It's likely he's noted this suggestion, that's probably the best you'll get.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Apr 2003
Posts: 342
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Apr 2003
Posts: 342
Actually someone should submit this as a bug... cuz it is now a bug w/ ipv6 support....


Beware of MeStinkBAD! He knows more than he actually does!
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
...what?


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Aug 2003
Posts: 80
H
Babel fish
Offline
Babel fish
H
Joined: Aug 2003
Posts: 80
@argv0 That doesn't answer my question.


-HM2K- hm2k.org
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Quote:
Does anyone know how uPNP works enough to write a script or dll?

Sat does, and has.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Jul 2006
Posts: 248
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Jul 2006
Posts: 248
I double that. Virtually all internet apps which are relying on listening sockets have UPnP support these days. NAT traversal is a critical issue for IRC client.

Quote:
UPnP NATs are commonly deployed on home and small office networks, but not Internet Service Provider or Enterprise environments.

Reference

Last edited by bwuser; 23/04/10 11:44 AM.
Joined: Aug 2003
Posts: 80
H
Babel fish
Offline
Babel fish
H
Joined: Aug 2003
Posts: 80
Originally Posted By: starbucks_mafia
Quote:
Does anyone know how uPNP works enough to write a script or dll?

Sat does, and has.


Ah so he has; or of course he has. smile

So, this means we're one step closer to native support right? wink

[insert argv0's reply here]


-HM2K- hm2k.org
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Well, it should be pointed out that the script was written 5 years ago, so we're just as close now as we were when this thread was started (roughly).


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Apr 2003
Posts: 342
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Apr 2003
Posts: 342


Beware of MeStinkBAD! He knows more than he actually does!
Joined: Sep 2003
Posts: 35
O
Ook Offline
Ameglian cow
Offline
Ameglian cow
O
Joined: Sep 2003
Posts: 35
Originally Posted By: starbucks_mafia
Quote:
Does anyone know how uPNP works enough to write a script or dll?

Sat does, and has.


I also made a upnp script that doesn't use COM & will work on (as far as i can tell) all windows versions from 98 on.
Instead of COM I use sockets to talk directly to the router.

UPNP Script

Page 1 of 2 1 2

Link Copied to Clipboard