View Issue Details

IDProjectCategoryView StatusLast Update
0003312unrealircdpublic2007-05-04 06:43
Reportervonitsanet Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionwont fix 
Product Version3.3-alpha0 
Summary0003312: upnp support for wircd? [ 0_0 ]
Description<+vonitsanet> a (crazy?) idea: upnp support for wircd
<+vonitsanet> oO
<+aegis> O.O
<+aegis> that's actually a great idea

Nothing more.. nothing less ;p
3rd party modules

Activities

stskeeps

2007-05-02 02:28

reporter   ~0013975

For windows:

http://www.microsoft.com/whdc/device/netattach/upnp/default.mspx

http://www.microsoft.com/technet/prodtechnol/winxppro/support/upnp01.mspx

http://msdn2.microsoft.com/en-us/library/aa382303.aspx

For unix:

http://pupnp.sourceforge.net/

For implementation details, I would prefer something like..

listen *:port { options { upnp; }; }; where upnp indicates to the ircd it must attempt to grab that port on the IGD ..

vonitsanet

2007-05-02 04:33

reporter   ~0013976

If upnp is not not available what it should do?
Dont listen on this port at and all and send error message or continue with the "classic" way (and again send error message)?

aquanight

2007-05-02 18:26

reporter   ~0013980

I can't personally see the need for UPnP support (assuming we're talking about only using it for automatic port grabbing, as opposed to doing whatever else UPnP can let one do that would somehow relate to IRC). Listen ports are generally configured statically and don't change often enough (if ever!). Also, on most NAT routers, UPnP is turned off by default (http://en.wikipedia.org/wiki/UPnP#Problems_with_UPnP) - so anyone who turns it on already knows how to configure their router (hopefully!) and so can configure a static port forward in the router.

As for DNS, it is possible that UPnP could be used to grab the (random) UDP port used, but frequently, the system is configured to use the _router itself_ as the DNS server, making the use of grabbing unnecessary (as the router does the magic anyway, else DNS would probably never work on a NAT network).

syzop

2007-05-03 10:10

administrator   ~0013992

omg.....!?

you can't be serious about implementing this in the ircd...

I agree with aquanight's comment, I see really no need to implement this, only more bulk (perhaps libs even), and come on... we aren't THAT MUCH a childish ircd, are we?

vonitsanet

2007-05-03 18:44

reporter   ~0013993

No. uircd its not childish ofc.
To be honest i had this idea for this reason:
"unrealircd is the only ircd with upnp for port mapping.. COOL"
I dont (real networks) dont need it at all.

Stealth

2007-05-03 19:13

reporter   ~0013994

Last edited: 2007-05-03 19:14

So you wanna bloat the IRCd more with "omg COOL!"?

stskeeps

2007-05-04 06:42

reporter   ~0013996

Last edited: 2007-05-04 06:43

A bit childish comments, eh :P A sane "I don't see a reason to implement this either due to X,Y,Z" is much more suitable for this place, honestly.

I agree with aquanight's statements though, but the thought was entertaining :)

Also, a bit of mentoring / pushing people in the direction / documenting ideas even though they won't be realized, isn't a big problem.

Issue History

Date Modified Username Field Change
2007-05-01 17:54 vonitsanet New Issue
2007-05-02 02:00 stskeeps Status new => acknowledged
2007-05-02 02:28 stskeeps Note Added: 0013975
2007-05-02 04:33 vonitsanet Note Added: 0013976
2007-05-02 18:26 aquanight Note Added: 0013980
2007-05-03 10:10 syzop Note Added: 0013992
2007-05-03 18:44 vonitsanet Note Added: 0013993
2007-05-03 19:13 Stealth Note Added: 0013994
2007-05-03 19:14 Stealth Note Edited: 0013994
2007-05-04 06:42 stskeeps Note Added: 0013996
2007-05-04 06:43 stskeeps Note Edited: 0013996
2007-05-04 06:43 stskeeps Status acknowledged => closed
2007-05-04 06:43 stskeeps Resolution open => wont fix