quake2 on ipv6: patch included

Florent Parent Florent.Parent at viagenie.qc.ca
Thu Feb 14 12:14:05 EST 2002


Quake2 now supports IPv6 on FreeBSD. Patch included, and a new file 
net_udp6.c must be added in src/linux/ directory.  To compile IPv6, just 
make sure that HAVE_IPV6=YES is defined in the Makefile.

- supports both IPv4 and IPv6 simultaneously
- local servers are found through IPv6 multicast (used ff12::666 address 
for the server)
- server listing on client side includes the IP address

Here's some description on using the IPv6 extension:

quake2 +set dedicated 1
	Runs server listening on both IPv4 and IPv6 sockets

quake2 +set dedicated 1 +set multicast <interface>
	IPv6 server joins quake2 multicast group ff12::666

quake2 +set dedicated 1 +set ip <IPv6 address> +set multicast <interface>
	IPv6 server only. Listens on <IPv6 address>
 	Examples of <IPv6 address>:
	3ffe:b00:c18::666              (global IPv6 address)
        fe80::202:b3ff:fe04:1234%fxp0  (link-local address. scope required)
        ::                             (unspecified, binds on all IPv6 
addresses)

quake2 +set dedicated 1 +set ip <IPv4 address>
	IPv4 server only. Listens on <IPv4 address>
    	0.0.0.0 can be used to bind on all IPv4 addresses


The same commands are used for the client (don't specify +set
dedicated 1). The +set multicast argument is necessary on the client side
to use IPv6 multicast.

I will test this on other IPv6 plateforms, comments/bug 
reports/contributions welcomed.

Florent

--
Florent Parent
Viagénie  http://www.viagenie.qc.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quake2.ipv6.patch
Type: application/octet-stream
Size: 4948 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake2/attachments/20020214/22380850/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net_udp6.c
Type: application/octet-stream
Size: 26887 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake2/attachments/20020214/22380850/attachment-0001.obj>


More information about the quake2 mailing list