network problems, defcon.exe choosing the wrong port
Moderator: Defcon moderators
network problems, defcon.exe choosing the wrong port
Hosting a defcon server has worked only once for me - when it was using port 5010 for the server. Now it seems to choose a port that's outside the range of open ports. i.e i open 5009-5011(default) it goes to a random port in the range 40000-65530, when i open up 40000-65530 it binds to 65531.. finally when i go 'all in' with the range 30000-65535, the port defcon.exe chooses is /1/. The port for local connections however is 5010. Weird?.
(NAT)
My network has the following structure: dsl connection -> modem -> wlan router -> defcon computer, the ports are forwarded properly(well, it works with other software). Any idea what's going on, anyone have the same or similar problems?
(NAT)
My network has the following structure: dsl connection -> modem -> wlan router -> defcon computer, the ports are forwarded properly(well, it works with other software). Any idea what's going on, anyone have the same or similar problems?
-
Sgt Timmay
- level0
- Posts: 2
- Joined: Mon Oct 02, 2006 3:19 am
I get this too - same issues. Everyone tells you to open up and forward ports 5008-5011 or so, which I did, but then I noticed that the internet address Defcon was using was xxx.xxx.xxx.xxx:54501 (or near enough). So I also forwarded 54500-54600, and tried again. As you saw, it then used 54601. I upped the range, and Defcon upped to one above it again.
I'm convinced this alone is the reason why I've not managed to host a single game. I'm certainly not putting my machine in a DMZ.
I'm convinced this alone is the reason why I've not managed to host a single game. I'm certainly not putting my machine in a DMZ.
-
Sgt Timmay
- level0
- Posts: 2
- Joined: Mon Oct 02, 2006 3:19 am
I just tried what hehk did, and opened and forwarded ports 30000-65535 to my Defcon machine, and this time it chose port 3 for the Internet Identity. The LAN identity is set to what I specified, so why is it so intent on setting the Internet identity to a port that isn't forwarded?
Can someone who knows they CAN and HAVE hosted games, please start a game and tell me what port they see on their Internet Identity. Also, how is your router setup, if you use one. What ports are setup to be forwarded, are you using Windows Firewall, have you disabled UPnP, etc? Are you using Steam?
EDIT: And can anyone explain exactly what the "Port Forwarding" option in Defcon actually does? I know it is supposed to be set if you are using port forwarding, but the game doesn't seem to be doing what I expect it to do, so I'm looking for clues.
Can someone who knows they CAN and HAVE hosted games, please start a game and tell me what port they see on their Internet Identity. Also, how is your router setup, if you use one. What ports are setup to be forwarded, are you using Windows Firewall, have you disabled UPnP, etc? Are you using Steam?
EDIT: And can anyone explain exactly what the "Port Forwarding" option in Defcon actually does? I know it is supposed to be set if you are using port forwarding, but the game doesn't seem to be doing what I expect it to do, so I'm looking for clues.
Re: network problems, defcon.exe choosing the wrong port
hehk wrote:Hosting a defcon server has worked only once for me - when it was using port 5010 for the server. Now it seems to choose a port that's outside the range of open ports. i.e i open 5009-5011(default) it goes to a random port in the range 40000-65530, when i open up 40000-65530 it binds to 65531.. finally when i go 'all in' with the range 30000-65535, the port defcon.exe chooses is /1/. The port for local connections however is 5010. Weird?.
(NAT)
My network has the following structure: dsl connection -> modem -> wlan router -> defcon computer, the ports are forwarded properly(well, it works with other software). Any idea what's going on, anyone have the same or similar problems?
I have exactly same problem
Internet - NAT(OpenBSD) - myComputer
ports are redirected fine, but my internet identity's port is still random. Forwarding in game menu is enabled.
Re: network problems, defcon.exe choosing the wrong port
emkovicz wrote:hehk wrote:Hosting a defcon server has worked only once for me - when it was using port 5010 for the server. Now it seems to choose a port that's outside the range of open ports. i.e i open 5009-5011(default) it goes to a random port in the range 40000-65530, when i open up 40000-65530 it binds to 65531.. finally when i go 'all in' with the range 30000-65535, the port defcon.exe chooses is /1/. The port for local connections however is 5010. Weird?.
(NAT)
My network has the following structure: dsl connection -> modem -> wlan router -> defcon computer, the ports are forwarded properly(well, it works with other software). Any idea what's going on, anyone have the same or similar problems?
I have exactly same problem
Internet - NAT(OpenBSD) - myComputer
ports are redirected fine, but my internet identity's port is still random. Forwarding in game menu is enabled.
I found the nature of the problem.
It seems that game can not cooperate with some sort of NAT.
At the beginning your game will connect to Metaserever from port 5010/UDP. And Metaserver see your source port and claims that this is your internet identity.
Problem is with the NAT, of course your source port is modified by NAT so Metaserver will claim that you are hosting game on wrong port.
This as an otput from my OpenBSD gateway (NAT) you can see the problem exactly.
all udp ip_of_my_pc:5010 -> ip_of_NAT:51764 -> 80.175.29.66:5008 MULTIPLE:MULTIPLE
And the game shows internet identity on port 51764
Re: network problems, defcon.exe choosing the wrong port
emkovicz wrote:emkovicz wrote:hehk wrote:Hosting a defcon server has worked only once for me - when it was using port 5010 for the server. Now it seems to choose a port that's outside the range of open ports. i.e i open 5009-5011(default) it goes to a random port in the range 40000-65530, when i open up 40000-65530 it binds to 65531.. finally when i go 'all in' with the range 30000-65535, the port defcon.exe chooses is /1/. The port for local connections however is 5010. Weird?.
(NAT)
My network has the following structure: dsl connection -> modem -> wlan router -> defcon computer, the ports are forwarded properly(well, it works with other software). Any idea what's going on, anyone have the same or similar problems?
I have exactly same problem
Internet - NAT(OpenBSD) - myComputer
ports are redirected fine, but my internet identity's port is still random. Forwarding in game menu is enabled.
I found the nature of the problem.
It seems that game can not cooperate with some sort of NAT.
At the beginning your game will connect to Metaserever from port 5010/UDP. And Metaserver see your source port and claims that this is your internet identity.
Problem is with the NAT, of course your source port is modified by NAT so Metaserver will claim that you are hosting game on wrong port.
This as an otput from my OpenBSD gateway (NAT) you can see the problem exactly.
all udp ip_of_my_pc:5010 -> ip_of_NAT:51764 -> 80.175.29.66:5008 MULTIPLE:MULTIPLE
And the game shows internet identity on port 51764
I've solved it. In my case OpenBSD and PF I can use static-port option in NAT settings. This means that source port is not modified by NAT. My internet identity is now on right port 5010 as should be. Anyway I think that developers of the game should correct this behaviour. I'm not sure wether other firewalls especially the hardware ones are able of this feature as PF in OpenBSD does. Metaserver should simply use port which you set up in the game settings it would be the best way.
how to raise the problem
How can I report this problem to developers?
Re: how to raise the problem
emkovicz wrote:How can I report this problem to developers?
Mail them http://www.introversion.co.uk/contactus/index.html
Re: how to raise the problem
Slinken wrote:emkovicz wrote:How can I report this problem to developers?
Mail them http://www.introversion.co.uk/contactus/index.html
Or just post it on the forums. IV do read the forums. If it is a problem, and it has been posted, you can be fairly certain that Chris knows about it.
xander
It would help if they acknowledged problems and bugs in some sort of "future fix" list...the complete silence on these issues keeps the comminity in the dark abouth whether or not a fix will at some dat be published. I do understand they cannot reply to every topic in the forum, but a listing somewhere should be possible...
MadSeven wrote:It would help if they acknowledged problems and bugs in some sort of "future fix" list...the complete silence on these issues keeps the comminity in the dark abouth whether or not a fix will at some dat be published. I do understand they cannot reply to every topic in the forum, but a listing somewhere should be possible...
A difference of thinking, I think. IV know what the bugs are, and feel that they can more effectively get to them by actually fixing them, rather than responding to board messages. Just be patient :)
xander
MadSeven wrote:xander wrote:MadSeven wrote: I do understand they cannot reply to every topic in the forum, but a listing somewhere should be possible...
xander
A list? Bullets? Simple? Quick?
*sighs*
In the past, such lists have existed. Look at the stickied posts in the Darwinia tech support forums -- several of them are from the beta. I don't think that IV will ever put together such a list, but if you were to do so, it would be a great service to the community. I would do it, but (a) I don't have time to administer it and (b) I can't even play Defcon at the moment.
xander
Who is online
Users browsing this forum: No registered users and 2 guests





