Tremulous Forum

Community => Servers => Topic started by: Scam on August 13, 2007, 03:28:57 pm

Title: Server visible to public list
Post by: Scam on August 13, 2007, 03:28:57 pm
I have a problem with my tremulous server. I can't make it visible in public hublist.
This is what have i done so far:
 - Setted up a dedicated server.
 - Configured firewall, port forwarding.
 - Tested also that is possible to connect from external IP.
 - Tested different ports.
 - Launched server with parameters +set dedicated 2 +set net_port 32123 +exec server.cfg

What am I doing wrong?
Title: Server visible to public list
Post by: kevlarman on August 13, 2007, 04:17:05 pm
a lot of NATs act weird when you try to connect to your own computer, have someone else check that the server really isn't listed first.
Title: Server visible to public list
Post by: Scam on August 13, 2007, 04:24:01 pm
I already have + I also checked it by myself from other computer and this: http://tremmaster.quakedev.net/
Title: Server visible to public list
Post by: kevlarman on August 13, 2007, 04:28:02 pm
checking from another computer behind the same nat doesn't help, and that page takes as much as a half hour to update.
Title: Server visible to public list
Post by: ShadowNinjaDudeMan on August 13, 2007, 04:28:09 pm
Isnt there something to do with sending a heartbeat to the master server?
If so, could someone enunciate on what Ive said.
Title: Server visible to public list
Post by: Scam on August 14, 2007, 04:30:02 pm
Kevlarman: I waited for an hour (not so dumb that can't read the note in http://tremmaster.quakedev.net/). And I also didn't test it with computer behind same NAT as you suggested. The server just doesn't appear in public list no matter what I do. Any ideas?
Title: Server visible to public list
Post by: DASPRiD on August 14, 2007, 04:45:33 pm
Does it write that it is sending heartbeats to the masterserver in the console?
Title: Server visible to public list
Post by: ShadowNinjaDudeMan on August 14, 2007, 04:52:31 pm
Quote from: "DASPRiD"
Does it write that it is sending heartbeats to the masterserver in the console?


Hey, I could be right for once.
Title: Server visible to public list
Post by: Scam on August 14, 2007, 05:05:25 pm
I'm sorry to let you down.

Quote from: "console"

Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
Title: Server visible to public list
Post by: kevlarman on August 14, 2007, 05:18:36 pm
Quote from: "Scam"
Kevlarman: I waited for an hour (not so dumb that can't read the note in http://tremmaster.quakedev.net/). And I also didn't test it with computer behind same NAT as you suggested. The server just doesn't appear in public list no matter what I do. Any ideas?
well, i had to eliminate the trivial problems to diagnose the non-trivial, assuming your protocol version 69 (i really hope it is) the next step is probably to confirm with tjw that the master is getting your heartbeats.
Title: Server visible to public list
Post by: Scam on August 14, 2007, 05:26:34 pm
Seems to be

Quote from: "console"

"protocol" is:"69^7" default:"69^7"
Title: Server visible to public list
Post by: next_ghost on August 14, 2007, 05:34:47 pm
Run Wireshark (http://www.wireshark.org/) on the server and sniff the startup traffic. Master server should respond to heartbeat by requesting server info.
Title: Server visible to public list
Post by: Scam on August 14, 2007, 05:55:45 pm
Thank you for tip. I rather use tcpdump instead of Wireshark but I'm not familiar with it. How could I use tcpdump to sniff server traffic. Or is it even possible with tcpdump?
Title: Server visible to public list
Post by: tuple on August 14, 2007, 06:10:43 pm
tcpdump -i eth0 (or whatever network device you are using)

edit: for lots more tcpdump info:
http://linux.die.net/man/8/tcpdump
Title: Server visible to public list
Post by: AKAnotu on August 14, 2007, 06:37:19 pm
or maby you have show empty servers off?
occams razor :0
Title: Server visible to public list
Post by: Scam on August 14, 2007, 07:19:25 pm
AKAnotu: Or maybe not? Please don't post if you can't help.

next_ghost: I dumped the server with tcpdump traffic while I started it. Seems pretty cryptic to me. Should this information help me at all?

All text I can find readable is here:
Quote from: "tcpdump"

master tremulousnet

heartbeat Tremulous
Title: Server visible to public list
Post by: AKAnotu on August 14, 2007, 07:22:56 pm
Quote from: "Scam"
AKAnotu: Or maybe not? Please don't post if you can't help.

next_ghost: I dumped the server with tcpdump traffic while I started it. Seems pretty cryptic to me. Should this information help me at all?

All text I can find readable is here:
Quote from: "tcpdump"

master tremulousnet

heartbeat Tremulous
it was just a suggestion
theres problems in the past where that was the solution
Title: Server visible to public list
Post by: next_ghost on August 14, 2007, 09:35:25 pm
There's supposed to be 'getinfo' packet from master server right after your server sends 'heartbeat Tremulous'. Make sure your port forwarding is set for UDP!

You can analyze dumps from tcpdump in Wireshark while running it as a regular user. It makes the dump much less cryptic. Look into data field of the packet.
Title: Server visible to public list
Post by: Scam on August 15, 2007, 01:54:44 pm
Yup, UDP is allowed, otherwise my friends couldnt connect to my server could they? tcpdump confimed that my server sends heartbeat to tremulous master server, but it seems to be that i don't get any 'getinfo' packet back from there. So this must be the problem?
Title: Server visible to public list
Post by: Scam on August 19, 2007, 11:03:43 am
I still haven't found solution to this problem. Anyone, ideas?
Title: Server visible to public list
Post by: kevlarman on August 19, 2007, 04:49:46 pm
Quote from: "Scam"
I still haven't found solution to this problem. Anyone, ideas?
what does master.tremulous.net resolve to on your computer?
Title: Server visible to public list
Post by: Scam on August 19, 2007, 06:15:20 pm
master.tremulous.net resolved to 208.116.49.110:30710
Like it should be

Yes, still struggling with this problem. [15.09.07]
Title: Server visible to public list
Post by: Anzalite on September 17, 2007, 03:12:46 am
I am too. I am thinking this to be an issue with the NAT now. WRT54GS with DMZ hosting >.>. Would hooking your computer up directly to the internet and using internet connection sharing work? (Internet--Tremulous serv--Router--Rest of computers) Oh port forwarding and all it's woes I wish IPv6 would hurry up and be widespread so we dont have NAT anymore
Title: Strange solution?
Post by: Rock on September 19, 2007, 09:54:28 pm
Hey I had exactly the same problem like you. I've also postet it int tremulous.net forum but nobody ansewered to me  :P

Anyway, I've found solution for this problem, but i think its not the best...

When I started the server, everybody could connect but it doesent appear in the public list.
So Ive waited and some minutes after the start my server's IP apeared in the
http://tremmaster.quakedev.net/ list, marked as "Timeout".

On this site there's a Port behind my server's IP. When I now use the same port for the server and also configure the firewall, port forwarding, my server is listet in the public list.

I think its a very strange way but now my server's in the list and I wish you, that you can make your server public  :wink:
Title: Same Problem
Post by: Geronimo on September 20, 2007, 02:18:37 pm
Hello, I have the same problem.

I opened all my ports to my server, which is 32123 or 30720. A friend of me could join the serving using my IP and port 32123 by manual using favourite servers.
However my server doesn't show up in the tremmaster list which Rock posted. Also not als timeout (and not after an hour).

I think it is weird that not more people had this problem, or have a (maybe simple) solution for this.

I hope the problem is taken seriously now...  :cry:
Title: Server visible to public list
Post by: Rock on September 20, 2007, 04:33:17 pm
my server didnt appear everytime in the list marked as timeout.
but after some trys it do

try to shutdown some programms wich are using your network (like ICQ)
when the server appears in the list u can restart them
Title: Server visible to public list
Post by: Anzalite on September 21, 2007, 03:59:21 am
Mine's a dedicated server it does not run anyhting else
Title: Dedicated server
Post by: Geronimo on September 21, 2007, 07:55:52 am
The only thing it runs is a ftp-server. And it is playable when manually configured in fav. servers.

Could there be a problem in the configuration?

I have a speedtouch modem / router 780i
I run windows server 2003 enterpr. (however it also doesn't show up on my normal xp machine)

I have port 32123 configured
Title: Server visible to public list
Post by: Scam on September 21, 2007, 04:16:35 pm
Sorry, but none of your's advices were not any help. And no, my server is not listed in http://tremmaster.quakedev.net/ even as a 'Timeout'.

Quote from: "Rock"

try to shutdown some programms wich are using your network (like ICQ)
when the server appears in the list u can restart them


Haha
I am quite sure this is not the problem...
Title: Server visible to public list
Post by: Rock on September 21, 2007, 04:41:17 pm
Quote from: "Scam"

Quote from: "Rock"

try to shutdown some programms wich are using your network (like ICQ)
when the server appears in the list u can restart them


Haha
I am quite sure this is not the problem...


Yea I also thought this but my server doesnt't appear when ICQ is running by the server's start.

I know my Ideas how to make server public are very strange but I just wrote what I know and what happened to my server...
Title: Server visible to public list
Post by: Anzalite on September 21, 2007, 11:15:34 pm
Hum... I hope some trem devs come and help
Title: Server visible to public list
Post by: Mad_Joe on September 21, 2007, 11:42:56 pm
To clarify...

Have you tried it with bypassing your router and plugging your computer directly into your connection? If it works without the router in the setup, we can assume the problem is with the router setup. If it doesn't work without the router, we can assume the router isn't causing the problem (or at least all of it).
Title: Router bypassing
Post by: Geronimo on September 27, 2007, 01:20:43 pm
I tried this, but it didn't work.

It doesnt work even if I turn off te modem firewall

could it be that there is a problem with port 70210 which is used by the master server?



Really weird problem though....
Title: Server visible to public list
Post by: Scam on September 28, 2007, 01:06:25 pm
Yes, i have tried to bypass router. Not working.