Port allowed???

Other talk that doesn't fit elsewhere.
This is for General Discussion, not General chat.
GiGaBaNE
Trained
Trained
Posts: 262
Joined: 24 Jun 2007, 17:51

Port allowed???

Post by GiGaBaNE »

just wanna clarify our situation with the 'think tank' aka you lot ;)
PORT NUMBERS

(last updated 2007-07-05)

The port numbers are divided into three ranges: the Well Known Ports,
the Registered Ports, and the Dynamic and/or Private Ports.

The Well Known Ports are those from 0 through 1023.

DCCP Well Known ports SHOULD NOT be used without IANA registration.
The registration procedure is defined in [RFC4340], Section 19.9.

The Registered Ports are those from 1024 through 49151

DCCP Registered ports SHOULD NOT be used without IANA registration.
The registration procedure is defined in [RFC4340], Section 19.9.

The Dynamic and/or Private Ports are those from 49152 through 65535
Source: http://www.iana.org/assignments/port-numbers

..............................................................

Is port 9999 registered to us? if not is it really free?
Version: master-20110320 QT
VGA:Nvidia GeForce GT 220
Driver in use: 6.14.12.6658
CPU: AMD Athlon 64 X2 Dual 4200+
RAM: 2 x DDR-II 1GB corsair
OS: WinXP sp3
User avatar
kage
Regular
Regular
Posts: 751
Joined: 05 Dec 2006, 21:45

Re: Port allowed???

Post by kage »

based on that list, it looks like it's registered to something called "distinct", unless "distinct" is a keyword for "this is easy to remember".

either way, it's not a big deal as long as we stay out of the 0-1023 range.
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18
Contact:

Re: Port allowed???

Post by Giel »

GiGaBaNE wrote: Is port 9999 registered to us? if not is it really free?
Nope 9999 is not registered to us, nor is 9998. This will most likely not cause any problems though. Since I doubt any users would be running a service that uses port 9999 at the same IP address as he/she uses Warzone in multiplayer mode. Then even if he/she would use such a port number, switching to a different port number is a trivial task (only have to change one constant in the code & recompile).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
GiGaBaNE
Trained
Trained
Posts: 262
Joined: 24 Jun 2007, 17:51

Re: Port allowed???

Post by GiGaBaNE »

well if any work is going to be done on this then could you please put some thought into one of the following?
A) Multiple ports ((8 ports should be enough, for all human matches.)i use a router and couldnt get a lan game going without removing 2 computers from the network and linking them with a cat5 x-over)

B) a port selection option in-game (like the version in red alert 2)

EDIT: linked to wish list ( http://wz2100.net/forum/http://localhos ... 6411#p6411 )
Version: master-20110320 QT
VGA:Nvidia GeForce GT 220
Driver in use: 6.14.12.6658
CPU: AMD Athlon 64 X2 Dual 4200+
RAM: 2 x DDR-II 1GB corsair
OS: WinXP sp3
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18
Contact:

Re: Port allowed???

Post by Giel »

GiGaBaNE wrote: well if any work is going to be done on this then could you please put some thought into one of the following?
A) Multiple ports ((8 ports should be enough, for all human matches.)i use a router and couldnt get a lan game going without removing 2 computers from the network and linking them with a cat5 x-over)
Erm, why would you need 8 ports (or more than one really)? And I don't see the link with you having to use a crosslink cable instead of a regular switch either. One port per hosted game really should be (and probably is) enough.
GiGaBaNE wrote: B) a port selection option in-game (like the version in red alert 2)
This should be fairly easy (maybe not in-game, but just through editing the configuration file).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
GiGaBaNE
Trained
Trained
Posts: 262
Joined: 24 Jun 2007, 17:51

Re: Port allowed???

Post by GiGaBaNE »

my problem is im not using a regular switch, im using my router as a switch, and it seems to be doing something to screw up communication.

if i set a rule to open port 9999, i can only forward to one computer. i dont know how to tell the router to just ignore trafic on that port. the reasoning behind having 8 ports is that it would allow a person with a router to assign a portforward rule to 8 different machines all using different ports to talk.

i dont even know why its a problem, i could lan party through my router just fine on the retail warzone, without touching the routers forwarding options.

see: http://wz2100.net/forum/http://localhos ... 6526#p6526
Version: master-20110320 QT
VGA:Nvidia GeForce GT 220
Driver in use: 6.14.12.6658
CPU: AMD Athlon 64 X2 Dual 4200+
RAM: 2 x DDR-II 1GB corsair
OS: WinXP sp3
User avatar
kage
Regular
Regular
Posts: 751
Joined: 05 Dec 2006, 21:45

Re: Port allowed???

Post by kage »

for it to work, you must forward data to a single specific comp, because routers specifically aren't supposed to guess or broadcast such traffic. if you don't do that, an "unforwarded, open port" works the same as a closed port.

no router that you pay under 1000 usd for is going to handle anything better than a 1:1 port to lan-ip assignment, so you can't do anything interesting. conversely, you can make a linux router from that 15 year old comp you have collecting dust, and you can decide where to forward ports even based on several levels of criteria.
GiGaBaNE
Trained
Trained
Posts: 262
Joined: 24 Jun 2007, 17:51

Re: Port allowed???

Post by GiGaBaNE »

lol yeah, thought about creating a PC firewall but in my house i need to worry about how many amps im drawing.
:'(

as an individual i already cost more to 'power' than i do to feed.


besides even tho we are talking about making the router do all these magical things, that still doesnt detract from the fact, i dont have these problems with the retail version of warzone...or any other game for that matter, so i conclude that something is different in the net code of the GPL version that isnt necisarily for the better.
Version: master-20110320 QT
VGA:Nvidia GeForce GT 220
Driver in use: 6.14.12.6658
CPU: AMD Athlon 64 X2 Dual 4200+
RAM: 2 x DDR-II 1GB corsair
OS: WinXP sp3
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18
Contact:

Re: Port allowed???

Post by Giel »

I still don't know why you would need 8 ports. Since those are ports meant for incoming connections, and only the gamehost will need to accept those. So if you play with 8 players/computers, you only need one of those computers to listen on port 9999.

Btw, most routers contain a switch internally. So unless your trying to do something across the internet you shouldn't even be communicating with the "router-portion" of that little box you have.

As for turning your router into a nice GNU/Linux box, take a look at OpenWRT. I have it running on my router, which now is comparable to one of those CISCO routers of around 800 euro or so (at least it is featurewise).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
User avatar
kage
Regular
Regular
Posts: 751
Joined: 05 Dec 2006, 21:45

Re: Port allowed???

Post by kage »

if you have a really old comp (something at least i386 or ppc, or better yet, ARM), they don't draw nearly as much power as a modern or semi modern comp -- i'm guessing around 80 watts total instead of several hundred.  if you have a usb flash drive you're not using, trade that for the hd and you've cut down the power significantly.  if you've got a playstation or dreamcast or something that you don't use anymore, with a few mods you can turn that into your linux router.

giel is right on all counts -- if you're hosting to internet players, you only need to forward the port to one comp, and if you're not, you need not forward it at all. for lan-only stuff, if warzone doesn't work when it's passing through your router, and yet people with the same source are able to get it to work elsewhere, it's probably actually your router, since warzone doesn't violate the rules by which a packet is constructed... is one of those comps connected to the "wan" port? if so, that's bad.
GiGaBaNE
Trained
Trained
Posts: 262
Joined: 24 Jun 2007, 17:51

Re: Port allowed???

Post by GiGaBaNE »

kage wrote: if you have a really old comp (something at least i386 or ppc, or better yet, ARM), they don't draw nearly as much power as a modern or semi modern comp -- i'm guessing around 80 watts total instead of several hundred.  if you have a usb flash drive you're not using, trade that for the hd and you've cut down the power significantly.  if you've got a playstation or dreamcast or something that you don't use anymore, with a few mods you can turn that into your linux router.

giel is right on all counts -- if you're hosting to internet players, you only need to forward the port to one comp, and if you're not, you need not forward it at all. for lan-only stuff, if warzone doesn't work when it's passing through your router, and yet people with the same source are able to get it to work elsewhere, it's probably actually your router, since warzone doesn't violate the rules by which a packet is constructed... is one of those comps connected to the "wan" port? if so, that's bad.
yeah i know all that friend, but im afraid you wont find anything less than a pentium 4 with a 500watt psu in my house. from a gamers point of view all you wanna do with that last computer that wouldnt support your new favorite game is to take it out the back garden and introduce it to a baseball bat  :o

Giel wrote: I still don't know why you would need 8 ports. Since those are ports meant for incoming connections, and only the gamehost will need to accept those. So if you play with 8 players/computers, you only need one of those computers to listen on port 9999.

Btw, most routers contain a switch internally. So unless your trying to do something across the internet you shouldn't even be communicating with the "router-portion" of that little box you have.

As for turning your router into a nice GNU/Linux box, take a look at OpenWRT. I have it running on my router, which now is comparable to one of those CISCO routers of around 800 euro or so (at least it is featurewise).
thats what i thought, but my router hates this game for some reason. it will not allow me to play lan games of warzone gpl and i suspect its the main reason i cant jion web games. despite the fact i been port forwarding for years and im certain i did everything right.
I spose i cant rule out subtle hardware failures..it seems more often than not now i have to give my router a reboot because it starts to behave funny (overload?), lol its my sixth router in just under 3 years  :-\
Version: master-20110320 QT
VGA:Nvidia GeForce GT 220
Driver in use: 6.14.12.6658
CPU: AMD Athlon 64 X2 Dual 4200+
RAM: 2 x DDR-II 1GB corsair
OS: WinXP sp3
Ryo
Trained
Trained
Posts: 68
Joined: 02 Jun 2007, 12:18
Location: Germany
Contact:

Re: Port allowed???

Post by Ryo »

i'm guessing around 80 watts total instead of several hundred
Im using Linux on a PIII 450 underclocked to 300 Mhz, 128Meg of Ram, 3 NIC's, ISA-Graphiccard and a 1Gig HDD as router.

The hole computer draw 24Watt by full Bandwithusage (with HDD-Standby)
GiGaBaNE
Trained
Trained
Posts: 262
Joined: 24 Jun 2007, 17:51

Re: Port allowed???

Post by GiGaBaNE »

hmm my kwh rate is £0.10.2 so i think that would cost about £0.41.1264 per week. lol i think the buget could prolly stretch to that....shame i dont know a damn thing about linux (always been hesitant to lose a machine to an OS i know nothing about, and i dont approve of dual boot)

sigh, spose i better build another computer and get a copy of linux...is suse still the 'in thing'? been a long time since i thought about switching (even tho i hate windoze).
Version: master-20110320 QT
VGA:Nvidia GeForce GT 220
Driver in use: 6.14.12.6658
CPU: AMD Athlon 64 X2 Dual 4200+
RAM: 2 x DDR-II 1GB corsair
OS: WinXP sp3
Ryo
Trained
Trained
Posts: 68
Joined: 02 Jun 2007, 12:18
Location: Germany
Contact:

Re: Port allowed???

Post by Ryo »

This is getting very off topic ;-)

You could use Fli4l, a out of the box realy simpe to setup/install Linux for use as Router. You dont even have to know anything about linux to use it.
http://www.fli4l.de/en/home/
GiGaBaNE
Trained
Trained
Posts: 262
Joined: 24 Jun 2007, 17:51

Re: Port allowed???

Post by GiGaBaNE »

thanks...
how the hell would i set up a PC as a wireless router? i have too many machines spread around the house to go fully wired.
Version: master-20110320 QT
VGA:Nvidia GeForce GT 220
Driver in use: 6.14.12.6658
CPU: AMD Athlon 64 X2 Dual 4200+
RAM: 2 x DDR-II 1GB corsair
OS: WinXP sp3
Post Reply