
package Config;

our @access_list = (
	# half-life - untested (packet dump only)
	{
		name => 'Half-Life',
		ports => [ 27015 ],
		sizes => [ 16 ]
	},

	# cs 1.6 - verified
	# (funker muligens for _alle_ source-spill inkl. hl2/cs:s)
	{
		name => 'CS 1.6, other Source games',
		ports => [ 4242, "26900..26905", "27015..27020" ],
		sizes => [ 25 ]
	},

	# doom 3 - verified
	{
		name => 'Doom 3',
		ports => [ "27666..27673" ],
		sizes => [ 14 ]
	},

	# quake 1 - verified
	{
		name => 'Quake 1',
		ports => [ 26000 ],
		sizes => [ 12 ]
	},

	# q3a - tested with demo only
	# rtcw: enemy territory - untested (packet dump only)
	{
		name => 'Quake 3 Arena, RTCW: ET',
		ports => [ "27960..27969" ],
		sizes => [ 15 ]
	},
	
	# bf2 - tested with demo only
	# bf2142 reportedly uses same engine
	{
		name => 'BF2/BF2142',
		ports => [ "29900..29950" ],
		sizes => [ 8 ]
	},

	# bf1942 - unverified (packet dump only)
	{
		name => 'BF1942',
		ports => [ "22000..22010" ],
		sizes => [ 8 ]
	},
	
	# quake 4 - tested with demo only, MUST select "internet"
	{
		name => 'Quake 4',
		ports => [ 27950, 28004 ],
		sizes => [ 14 ]
	},

	# quake 2 - untested (packet dump only)
	{
		name => 'Quake 2',
		ports => [ 27910 ],
		sizes => [ 11 ]
	},

	# warcraft 3 - untested (packet dump only)
	{
		name => 'Warcraft 3',
		ports => [ "6112..6119" ],
		sizes => [ 16, 48 ],
		filter => sub { return (ord(substr(shift, 1, 1)) == 0x2f); }
	},

	# ut2003/ut2004 - untested (packet dump only)
	{
		name => 'UT2003/UT2004',
		ports => [ 10777 ],
		sizes => [ 5 ]
	},

	# soldat - untested (packet dump only)
	{
		name => 'Soldat',
		ports => [ 23073 ],
		sizes => [ 8 ]
	},

	# starcraft - untested (packet dump only)
	{
		name => 'Starcraft',
		ports => [ 6111, 6112 ],
		sizes => [ 8, 20 ]
	},

	# trackmania nations - untested (packet dump only)
	{
		name => 'Trackmania Nations',
		ports => [ "2350..2370" ],
		sizes => [ 42 ]
	},

	# company of heroes - untested (packet dump only)
	{
		name => 'Company of Heroes',
		ports => [ 9100 ],
		sizes => [ 39 ]
	},

	# command & conquer 3 - untested (packet dump only, reported to have some kind
	# of chat functionality)
#	{
#		ports => [ "8086..8093" ],
#		sizes => [ 476 ]
#	},

	# unreal tournament, port 9777?
)
