Site Navigation
QuakeOne News
» Latest News
» News Archives
» QuakeOne Movies

QuakeOne Help
» File Downloads
» Quake Help
» Quake Servers

QuakeOne Community
» Forums
» Poll Booth
» Memberlist
» Member Map

» Buy Quake
Sponsors
Log in
User Name:

Password:

Not a member yet?
Register Now!
Online Users: 99
20 members and 79 guests
AAA, badaim, bFeared, BizarroEvade, davemiester, dhahlen, jeank, kancel, masak, mhquake, Mindf!3ldzX, odettepatt, ORL, raytyldes, Spike, Trinca
Most users ever online was 477, 08-05-2008 at 03:10 PM.
Go Back Home > Forums > Quake Talk > Quake Central > New Euroquake server up and running! Search Forums

Reply
 
LinkBack Thread Tools
Old 07-07-2006, 04:01 PM   #31 (permalink)
Zombie
USER INFO »
Posts: 33
+/-  Reputation: Yugo2Heck is on a distinguished road
Join Date: May 2006
Currently: Offline
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).
Reply With Quote
Old 07-07-2006, 05:39 PM   #32 (permalink)
Lord of the Runes
Lardarse's Avatar
USER INFO »
Posts: 386
+/-  Reputation: Lardarse is on a distinguished road
Join Date: Mar 2006
Currently: Offline
Patch for which engine?
Reply With Quote
Old 07-07-2006, 05:43 PM   #33 (permalink)
Administrator
Baker's Avatar
USER INFO »
Posts: 7,476
+/-  Reputation: Baker is on a distinguished road
Join Date: Nov 2005
Currently: Offline
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
__________________
Forum sections: Quake Help Section | Site Questions/Feedback

How can I avoid getting Wolvsauced?
Reply With Quote
Old 07-07-2006, 06:31 PM   #34 (permalink)
Zombie
USER INFO »
Posts: 33
+/-  Reputation: Yugo2Heck is on a distinguished road
Join Date: May 2006
Currently: Offline
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.
Reply With Quote
Old 07-07-2006, 06:33 PM   #35 (permalink)
Administrator
Baker's Avatar
USER INFO »
Posts: 7,476
+/-  Reputation: Baker is on a distinguished road
Join Date: Nov 2005
Currently: Offline
Clan HDZ's servers, Phathookups, some others ... so it still happens with great frequency.
__________________
Forum sections: Quake Help Section | Site Questions/Feedback

How can I avoid getting Wolvsauced?
Reply With Quote
Old 07-07-2006, 06:46 PM   #36 (permalink)
Zombie
USER INFO »
Posts: 33
+/-  Reputation: Yugo2Heck is on a distinguished road
Join Date: May 2006
Currently: Offline
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.
Reply With Quote
Old 07-08-2006, 03:11 AM   #37 (permalink)
Lord of the Runes
Lardarse's Avatar
USER INFO »
Posts: 386
+/-  Reputation: Lardarse is on a distinguished road
Join Date: Mar 2006
Currently: Offline
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...
Reply With Quote
Old 07-10-2006, 05:43 AM   #38 (permalink)
Death Lord
Mr.Burns's Avatar
USER INFO »
Posts: 537
+/-  Reputation: Mr.Burns is on a distinguished road
Join Date: Jan 2006
Currently: Offline
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
Quake Deathmatch Plus Ver2.0 on flanders.servegame.org:26004 - One mod to rule them all [Thanks Crunch (v1) and Zop (v2)
WWW: QuakeOne, TU Quake Clan, Quake Terminus, EuroQuake, Func MessageBoard, NetQuake Europe
Servers: bigfoot.morphos-team.net, flanders.servegame.org 26000-4
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CQL NY - Now running Clan Arena X Baker Multiplayer 9 08-10-2006 03:22 AM
Some things are wrong @ the EuroQuake server. Bong Multiplayer 4 07-22-2006 07:16 PM
EuroQuake Server - Amazing Versatility! Baker Quake Central 6 07-08-2006 04:54 AM
Running the table Baker Chat-O-Rama 3 03-22-2006 07:10 PM


All times are GMT -6. The time now is 04:28 PM.


eXTReMe Tracker