Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002928Zandronum[All Projects] Bugpublic2016-11-20 15:182018-09-30 22:34
Reportermasos 
Assigned ToTorr Samaho 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindowsOSWindows 10OS Version1607
Product Version2.1 
Target VersionFixed in Version 
Summary0002928: Doesn't work over internet
DescriptionZandronum won't listen ports on internet. My port is 10666, people can connect to my server when it's on zandronum 2.0, but on 3.0 they just are connecting indefinitely. Port forward is okay and configured. Also, zandronum shows my local network IP on the bottom of the window (192.168.xxx.zzz), but not my internet IP. When I tried to use forceIP (-useip aaa.bbb.ccc.ddd), it just showed that it cannod bind to that IP and reverts back to local network IP.
Steps To ReproduceJust start the server.
Additional InformationServer also doesn't appear on server list no matter how I configure it.
Open ports checked with PF Network Utilities, ports are successfully opened.
Attached Fileslog file icon log3_0.log [^] (13,328 bytes) 2016-11-21 12:39
log file icon log2_1_2.log [^] (16,548 bytes) 2016-11-21 12:43
png file icon Безымянный.png [^] (66,123 bytes) 2016-11-21 12:54

- Relationships
child of 0000992feedbackTorr Samaho Master server code makes incorrect assumptions about the source port of updates. 

-  Notes
User avatar (0016223)
Torr Samaho (administrator)
2016-11-20 20:35

It's normal that your server uses the local IP since that is the IP of your network adapter. "-useip" can only select IPs of network adapters in your machine. Your router has to be configured to forward incoming packets to your server, the same applies to 2.0 and 3.0 though.

So you are saying that 2.0 (do you mean 2.1.2?) works on your machine, but 3.0 does not? And you are not changing anything except the Zandronum binary?
User avatar (0016226)
masos (reporter)
2016-11-20 21:07

Yeah, sorry, not 2.0, 2.1.2. 2.1.2 works fine, but 3.0 does not. I don't change anything except Zandronum versions. Like I said in issue description, I already did a port forward on my router. If I wouldn't, people wouldn't be able to connect to me when I was on 2.1.2, right?
User avatar (0016227)
Torr Samaho (administrator)
2016-11-20 21:13

Right.

Can you start both the 2.1.2 and the 3.0 server (one after another, not both at once) with "+logfile log" and upload the log files that will be written with this option?
User avatar (0016246)
masos (reporter)
2016-11-21 12:48
edited on: 2016-11-21 12:57

Uploaded.
For some reason now 2.1.2 doesn't work too. What could be changed if I didn't change anything myself? Also, I tried mapping other apps to same port 10666. Strangely, they worked fine (of course, I did not try to use them at the same time with running the server, because only one app can bind the port). I previously hosted various game servers, and all worked fine too.

UPD: Uploaded router config screenshot to be totally sure.

UPD2: Firewall is turned off so it doesn't interfere.

User avatar (0016260)
Torr Samaho (administrator)
2016-11-21 19:07

Is your external IP listed on the master server (possibly as non responding)?
User avatar (0016261)
masos (reporter)
2016-11-21 19:17

I can't find it myself, but people on Zandronum IRC say it is listed and yes, as non-responding.
User avatar (0016264)
Torr Samaho (administrator)
2016-11-21 19:40

The master server should report the same server list to everybody. If your IP is on it and somebody sees it, you should also see it. With some ISPs, you can't communicate with your own external IP, so your server could be listed as non-responding for you, but as responding for others, but if the IP is on the list, you should see it. Can you double check that it is really not on the list for you?
User avatar (0016266)
masos (reporter)
2016-11-21 19:45

Nevermind, found it. So much servers, it's hard to find the one I need especially when it doesn't have a name. So yes, it is on the list, I see it now. But still no response from it.
User avatar (0016267)
Torr Samaho (administrator)
2016-11-21 20:53

Ok, then the server -> master server communication works and it likely is a port forwarding / firewall problem. Did you try using UPnP, i.e. starting the server with "-upnp"?
User avatar (0016268)
masos (reporter)
2016-11-21 20:56

Like I said, port forwarding works ok with hosting other games' servers and therefore I am pretty sure I can do it. Firewall is off. I tried using -upnp, but it showed me "Failed to use UPnP: NAT device not found" or something like that, don't really remember.
User avatar (0016269)
Torr Samaho (administrator)
2016-11-21 21:00

Is the port listed for your server on the master server correct?
User avatar (0016270)
masos (reporter)
2016-11-21 21:04

No, it is not. For some reason it shows port 23794. Server window still shows port 10666, though.
User avatar (0016271)
Torr Samaho (administrator)
2016-11-21 21:09
edited on: 2016-11-21 21:12

Then that is your problem. Zandronum has no control over which external port your router assigns to Zandronum's outgoing UDP connection and the master always uses that port to list the server. You either need to forward that port or force your router to assign the port you want.

EDIT: 0000992 has some more information on this.

User avatar (0016272)
masos (reporter)
2016-11-21 21:30

Cannot find that option in my router. Still, I forwarded 23794 and set my server to run also on 23794. Now it at least accepts connections on 23794 even though it doesn't show up in master list correctly.
User avatar (0016273)
Torr Samaho (administrator)
2016-11-21 21:35

Quote from masos
even though it doesn't show up in master list correctly.

Can you elaborate? If the entry on the master server list is wrong, nobody will be able to connect to your server.
User avatar (0016274)
masos (reporter)
2016-11-21 21:38
edited on: 2016-11-21 21:39

I just wanted to play with my friend, and he can connect directly by IP. Master server's not needed for it.

UPD: I'd fix it ASAP if I knew how.

User avatar (0016275)
Torr Samaho (administrator)
2016-11-21 21:40

Ah, I see. Thanks for clarifying. So it's working fine for your purposes now?
User avatar (0016276)
masos (reporter)
2016-11-21 21:47

Yeah. Broadcasting to master server would be awesome too, but it seems much too complicated to do. I wonder how did it even work before without these tweaks?
User avatar (0016277)
masos (reporter)
2016-11-21 21:57

Is there a way to force master server listing port to be the same as my server port? Before this issue started it was done automatically.
User avatar (0016282)
Torr Samaho (administrator)
2016-11-22 07:02

Quote from masos
Is there a way to force master server listing port to be the same as my server port?

Currently, not. The master server protocol needs to be extended to make this possible.

Quote from masos
Before this issue started it was done automatically.

If it worked before, then your router assigned the same external port as your internal port. I can't say why your router stopped doing that.
User avatar (0016287)
masos (reporter)
2016-11-22 14:12

OK, thanks. You can now mark the issue as resolved.
User avatar (0016288)
Torr Samaho (administrator)
2016-11-22 19:25

I'll do. Since 0000992 is still open, adding a port override will stay on the radar.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: masos
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-11-20 15:18 masos New Issue
2016-11-20 20:35 Torr Samaho Note Added: 0016223
2016-11-20 21:07 masos Note Added: 0016226
2016-11-20 21:13 Torr Samaho Note Added: 0016227
2016-11-21 12:39 masos File Added: log3_0.log
2016-11-21 12:43 masos File Added: log2_1_2.log
2016-11-21 12:48 masos Note Added: 0016246
2016-11-21 12:54 masos File Added: Безымянный.png
2016-11-21 12:55 masos Note Edited: 0016246 View Revisions
2016-11-21 12:55 masos Note Edited: 0016246 View Revisions
2016-11-21 12:57 masos Note Edited: 0016246 View Revisions
2016-11-21 19:07 Torr Samaho Product Version 3.0-beta => 2.1
2016-11-21 19:07 Torr Samaho Note Added: 0016260
2016-11-21 19:12 Torr Samaho Assigned To => Torr Samaho
2016-11-21 19:12 Torr Samaho Status new => feedback
2016-11-21 19:17 masos Note Added: 0016261
2016-11-21 19:17 masos Status feedback => assigned
2016-11-21 19:40 Torr Samaho Note Added: 0016264
2016-11-21 19:45 masos Note Added: 0016266
2016-11-21 20:53 Torr Samaho Note Added: 0016267
2016-11-21 20:56 masos Note Added: 0016268
2016-11-21 21:00 Torr Samaho Note Added: 0016269
2016-11-21 21:04 masos Note Added: 0016270
2016-11-21 21:09 Torr Samaho Note Added: 0016271
2016-11-21 21:11 Torr Samaho Relationship added child of 0000992
2016-11-21 21:12 Torr Samaho Note Edited: 0016271 View Revisions
2016-11-21 21:30 masos Note Added: 0016272
2016-11-21 21:35 Torr Samaho Note Added: 0016273
2016-11-21 21:38 masos Note Added: 0016274
2016-11-21 21:39 masos Note Edited: 0016274 View Revisions
2016-11-21 21:40 Torr Samaho Note Added: 0016275
2016-11-21 21:47 masos Note Added: 0016276
2016-11-21 21:57 masos Note Added: 0016277
2016-11-22 07:02 Torr Samaho Note Added: 0016282
2016-11-22 14:12 masos Note Added: 0016287
2016-11-22 19:25 Torr Samaho Note Added: 0016288
2016-11-22 19:26 Torr Samaho Status assigned => resolved
2016-11-22 19:26 Torr Samaho Resolution open => no change required
2018-09-30 22:34 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker