Skip to content
QW-GroupPublic

About

QWFWD: a QuakeWorld proxy

Resources

Stars

12 stars

Watchers

7 watching

Forks

Repository files navigation

QWFWD: a QuakeWorld server proxy

Supported architectures

The following architectures are fully supported by [QTV][qtv] and are available as prebuilt binaries:

  • Linux amd64 (Intel and AMD 64-bits processors)
  • Linux i686 (Intel and AMD 32-bit processors)
  • Linux aarch (ARM 64-bit processors)
  • Linux armhf (ARM 32-bit processors)
  • Windows x64 (Intel and AMD 64-bits processors)
  • Windows x86 (Intel and AMD 32-bit processors)

Prebuilt binaries

You can find the prebuilt binaries on this download page.

Prerequisites

None at the moment.

Hostname resolution

DNS names in prx, masters, and masters_filter_servers work as before. If a name is only resolvable through Avahi, use its IP address or add an entry to /etc/hosts on the machine running qwfwd.

IPv6 game forwarding

Use set net_ip6 "::" in qwfwd.cfg to listen on all IPv6 addresses alongside IPv4 on the same net_port. qwfwd replies from the address the client reached. Set net_ip6 to a specific IPv6 address to bind only that address, or leave it empty to disable the IPv6 listener. The existing net_ip and positional bind address still configure IPv4.

A client can forward to a game server of either address family. Use [2001:db8::1]:27500 in prx for an IPv6 literal with a port. For hostnames, the resolver honors the hosts file and DNS search order. For each DNS name it tries A first and queries AAAA only if it gets no IPv4 address. The destination family is independent of the listener settings.

whitelistadd, whitelistremove, addip, and removeip accept IPv6 literals. An IPv6 ban matches a single address. Existing IPv4 wildcard bans keep their meaning.

Building binaries

Build from source with CMake

Install the essential build tools and CMake 3.14 or newer. CMake downloads and statically links the pinned c-ares release for asynchronous DNS. For an offline build, set -DFETCHCONTENT_SOURCE_DIR_CARES=/path/to/c-ares-1.34.9 to the unpacked release sources.

mkdir build && cmake -B build . && cmake --build build

Build artifacts would be inside build/ directory, for unix like systems it would be qwfwd.

You can also use build_cmake.sh script, it mostly suitable for cross compilation and probably useless for experienced CMake user. Some examples:

./build_cmake.sh linux-amd64

should build QWFWD for linux-amd64 platform, release version, check cross-cmake directory for all platforms

B=Debug ./build_cmake.sh linux-amd64

should build QWFWD for linux-amd64 platform with debug

V=1 B=Debug ./build_cmake.sh linux-amd64

should build QWFWD for linux-amd64 platform with debug, verbose (useful if you need validate compiler flags)

G="Unix Makefiles" ./build_cmake.sh linux-amd64

force CMake generator to be unix makefiles

./build_cmake.sh linux-amd64

build QWFWD for linux-amd64 version, you can provide any platform combinations.

Versioning

For the versions available, see the tags on this repository.

Authors

deurk qqshka VVD

Code of Conduct

We try to stick to our code of conduct when it comes to interaction around this project. See the CODE_OF_CONDUCT.md file for details.

License

This project is licensed under the GPL-2.0 License - see the LICENSE.md file for details.

Acknowledgments

About

QWFWD: a QuakeWorld proxy

Resources

Stars

12 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages