Author Topic: Server won't stay on masterlist  (Read 3588 times)

The Idiot

  • Posts: 6
  • Turrets: +0/-1
Server won't stay on masterlist
« on: June 10, 2008, 02:35:55 pm »
I'm trying to start my own Tremulous server, but the server won't stay on the masterlist. It appears on the list for about a minute, and dissappears for hours. I can connect to to using /connect, and everything works well. Thanks in advance.

I'm using:
- TJW's tremded server
- The P-G-QVM
- Have many mods installed on the server, but aren't used anymore.
- I start the server with the command: "./tremded +set_dedicated 2 +exec server.cfg +set g_adminfile "~/.tremulous/base/admin.dat"

You can connect to the server at "superserver2.ignorelist.com".

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Server won't stay on masterlist
« Reply #1 on: June 10, 2008, 03:31:30 pm »
Very odd.
Both the name and IP work, and the server looks fine from here.

You can try running tcp dump, should have outbound heartbeats to master.tremulous.net:30710 and then it should send getinfo's back to you shortly after.
You can do /heartbeat in the server console to speed things up.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

The Idiot

  • Posts: 6
  • Turrets: +0/-1
Re: Server won't stay on masterlist
« Reply #2 on: June 10, 2008, 04:19:31 pm »
Thanks for responding so quickly!
The server console prints "Sending heartbeat to master.tremulous.net" about every 5 minutes. I'm running Debian Linux (forgot to mention that eariler). The command "tcp" is a Windows command, right? Its not on the server computer. Also, the computer is behind a router but port 30270 (TCP/UDP) is directed to the computer.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Server won't stay on masterlist
« Reply #3 on: June 10, 2008, 06:19:54 pm »
gah.  its tcpdump not tcp dump :s.
Should already be there, if not apt-get it.
sudo tcpdump 'host master.tremulous.net' should work, and give output like:
12:17:09.340505 IP lolcat.30723 > master.tremulous.net.30710: UDP, length 24
12:17:09.470155 IP master.tremulous.net.30711 > lolcat.30723: UDP, length 20
12:17:09.470267 IP lolcat.30723 > master.tremulous.net.30711: UDP, length 142
Which is us sending our IP, the master asking for info, and us sending info.  Its that last step that gets us on the list.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

The Idiot

  • Posts: 6
  • Turrets: +0/-1
Re: Server won't stay on masterlist
« Reply #4 on: June 11, 2008, 02:16:34 am »
Uh oh...
Output of tcpdump 'host master.tremulous.net' is:
...
19:55:15.388562 IP Superserver-2.local.30720 > 208.116.49.110.30720: UDP, length 24

[end output]

No reply from masterserver... Is there another port I need to open on my router? If I ping the masterserver, I get a 100 ms average and 0% packet loss. Any ideas?

gynterk

  • Posts: 33
  • Turrets: +1/-1
Re: Server won't stay on masterlist
« Reply #5 on: June 11, 2008, 07:26:08 am »
Do you have port udp:30710 (ACCEPT), udp:30711 (ACCEPT) and udp:30720 (ACCEPT) in filter table FORWARD chain?
« Last Edit: June 11, 2008, 08:47:47 am by gynterk »

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Server won't stay on masterlist
« Reply #6 on: June 11, 2008, 01:30:10 pm »
The master should query you on port 30720, as that's the only one tremded is listening on.  And it works when I send a getinfo, and it lets people connect, so I don't see why the master isn't getting through.
You can try allowing everything from master.tremulous.net through the firewall temporarily, see if that has any effect.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

gynterk

  • Posts: 33
  • Turrets: +1/-1
Re: Server won't stay on masterlist
« Reply #7 on: June 11, 2008, 01:54:14 pm »
Just add the ports what I listed into forward chain and it'll work (tested).

The Idiot

  • Posts: 6
  • Turrets: +0/-1
Re: Server won't stay on masterlist
« Reply #8 on: June 11, 2008, 03:33:33 pm »
I am forwarding port 30710 through 30721 TCP/UDP, and I don't have a firewall on the computer. The router only has these options in the firewall section:

- Block Anonymous Internet Requests (On)
- Filter Multicast (On)
- Filter Internet NAT Redirection (Off)
- Filter IDENT(Port113) (On)

I tried turning everything off (Except IDENT, which the router won't let me turn off...) and still no reply from masterserver. ??? Maybe I should put a  :grenade: in the server... :)

P.S. What does "Karama" mean? I'm new to the forum.

The Idiot

  • Posts: 6
  • Turrets: +0/-1
Re: Server won't stay on masterlist
« Reply #9 on: June 11, 2008, 03:41:03 pm »
I have had to constantly restart my server (changing mods and such) and wonder if the masterserver is flood-protected or something like that.

From http://escapedturkey.com/forums/viewtopic.php?f=7&p=26039
Just as an experiment, please try port 28072 instead of the default. If a server is constantly restarted, the master server may flood protect and block it for awhile. Please let us know the result of that.

The Idiot

  • Posts: 6
  • Turrets: +0/-1
Re: Server won't stay on masterlist
« Reply #10 on: June 11, 2008, 03:51:29 pm »
 :) :) :) :D :D ;D ;D ;D ;D ;D  :laugh: :laugh: :laugh: :laugh: :laugh: :) :) :) :helmet: :helmet: :battpack: :tyrant: :tesla: :repeater: :trapper: :turret: :reactor: :human: :dretch: :marauder: :overmind:

IT'S FINALLY ON THE MASTERLIST!!!! YAY!!

I used the port 30719, and the masterserver replied! Thanks for helping me. Any suggestions for my server?

And what is Karama? ??? ??? ??? ??? ???

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Re: Server won't stay on masterlist
« Reply #11 on: June 11, 2008, 09:31:10 pm »
Karma is a rating system. If you post badly or your conduct is less than good, it will go down. Similarly, if you post well or your conduct is good, it will go up.

People with 75 posts or more get to "applaud" or "smite" someone once an hour, that is you can't applaud or smite a specific person more than once without letting an hour pass. Don't spam to reach 75, that will make everyone hate you.
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.