Announcement

Collapse
No announcement yet.

New Euroquake server up and running!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Originally posted by Mr.Burns
    I'm no quake expert but it seemed as though quake wanted to assign random ports for the various connections.
    That is correct: the standard Quake server uses a separate random local port number for each client. Furthermore, the Quake protocol is designed such that the server sends from this random local port to the client before the client sends to the server, which confuses connection-oriented firewalls/routers on the client side as well.

    My "single server port" patch makes the server use the same local port number for each client that it uses for connection and status requests (26000 or whatever you use for "-port" on the command line) which makes the server much more firewall-friendly (on both server and client sides).

    Comment


    • #32
      Patch for which engine?
      16:03:04 <gb> when I put in a sng, I think I might need nails
      16:03:30 <gb> the fact that only playtesting tells me that probably means that my mind is a sieve

      Comment


      • #33
        Yugo's patch is a general Quake engine patch, he uses it on quake.ihoc.net which runs a custom IHOC engine, but he released a patch to do this for ProQuake server 3.50 as well.

        http://www.quakeone.com/q1files/down...q350-ssp.patch
        Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

        So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

        Comment


        • #34
          If you're running your server on a Windows machine, forget it -- Winsock is unable to bind multiple UDP sockets to the same local port number. It definitely works in all versions of Linux, and I expect it to work fine in *BSD and MacOSX.

          Does anybody actually use Windows for Quake servers? It sounds crazy, but I know it was fairly common back in the 1990s.

          The patch linked above applies to ProQuake 3.50; I (or anybody who knows C) could pretty easily adapt the patch for other engines as well.

          Comment


          • #35
            Clan HDZ's servers, Phathookups, some others ... so it still happens with great frequency.
            Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

            So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

            Comment


            • #36
              Before the SSP patch my custom engine used a fixed range of local ports for client connections (I think 26100-26199) which is at least more firewall-friendly on the server side. As this technique works in all operating systems, it may be worth applying it to other engines. Basically, when a client connects instead of binding the new socket to port 0 you run through the fixed port range trying to bind to each until one works.

              Comment


              • #37
                Does anybody actually use Windows for Quake servers?
                I do when testing RQuake with RocketGuy.

                Could you build me a wqpro.exe with both your any-OS patch (preferably with just 5 ports available to be used for connections) and the RQuake changes needed? That would be very helpful for me...
                16:03:04 <gb> when I put in a sng, I think I might need nails
                16:03:30 <gb> the fact that only playtesting tells me that probably means that my mind is a sieve

                Comment


                • #38
                  Thanks Yugo,

                  This sort of information is invaluable and becoming increasingly hard to get
                  hold of these days. Where were you when I needed you :d (jk)

                  Just a couple of things:

                  1. Yes, guilty as charged, in the past I have, in a moment of weakness and Blackthorn Cider induced madness, run a quake server using windows 2k server. I also occassionally run corporate events where guests play Quake on a small LAN using win2k server.

                  2. Is there a download address for your patch and does it work on Linux and MS ports?

                  Kind regards

                  Monty
                  Mr.Burns
                  "Helping to keep this community friendly, helpful, and clean of spammers since 2006"
                  WWW: Quake Terminus , QuakeVoid You Tube: QuakeVoid
                  Servers: Quake.shmack.net, damage.servequake.com

                  News: JCR's excellent ctsj_jcr map is being ported to OOT

                  Comment

                  Working...
                  X