Project

General

Profile

Download (17.2 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/*
3
        part of pfSense (http://www.pfsense.org/)
4

    
5
        Copyright (C) 2006 Bill Marquette - bill.marquette@gmail.com.
6
        Copyright (C) 2006 Scott Ullrich - sullrich@pfsense.com.
7
        Copyright (C) 2008-2010 Ermal Lu?i
8
        All rights reserved.
9

    
10
        Redistribution and use in source and binary forms, with or without
11
        modification, are permitted provided that the following conditions are met:
12

    
13
        1. Redistributions of source code must retain the above copyright notice,
14
           this list of conditions and the following disclaimer.
15

    
16
        2. Redistributions in binary form must reproduce the above copyright
17
           notice, this list of conditions and the following disclaimer in the
18
           documentation and/or other materials provided with the distribution.
19

    
20
        THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21
        INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22
        AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23
        AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
24
        OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
        SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
        INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
        CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
        ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
        POSSIBILITY OF SUCH DAMAGE.
30
*/
31

    
32
$gamesplist = array();
33

    
34
$gamesplist['battlefield2'] = array();
35
	/* Battlefield 2 */
36
	$gamesplist['battlefield2'][] = array('BF2-1500-4999', 'udp', '1500', '4999', 'both');
37
	$gamesplist['battlefield2'][] = array('BF2-4711', 'tcp', '4711', '4711', 'both');
38
	$gamesplist['battlefield2'][] = array('BF2-16567', 'udp', '16567', '16567', 'both');
39
	$gamesplist['battlefield2'][] = array('BF2-27900', 'udp', '27900', '27900', 'both');
40
	$gamesplist['battlefield2'][] = array('BF2-28910', 'tcp', '28910', '28910', 'both');
41
	$gamesplist['battlefield2'][] = array('BF2-29900-29901-UDP', 'udp', '29900', '29901', 'both');
42
	$gamesplist['battlefield2'][] = array('BF2-29900-29901-TCP', 'tcp', '29900', '29901', 'both');
43
	$gamesplist['battlefield2'][] = array('BF2-27900', 'udp', '27900', '27900', 'both');
44
	$gamesplist['battlefield2'][] = array('BF2-55123-55125', 'udp', '55123', '55125', 'both');
45

    
46
$gamesplist['counterstrike'] = array();
47
	/* counter strike */
48
	$gamesplist['counterstrike'][] = array('Titan', 'udp', '6003', '6003', 'both');
49
	$gamesplist['counterstrike'][] = array('Authentication', 'udp', '7002', '7002', 'both');
50
	$gamesplist['counterstrike'][] = array('Client', 'udp', '6003', '6003', 'both');
51
	$gamesplist['counterstrike'][] = array('Masterserver', 'udp', '27010', '27010', 'both');
52
	$gamesplist['counterstrike'][] = array('Mod-Server', 'udp', '27011', '27011', 'both');
53
	$gamesplist['counterstrike'][] = array('Chat', 'udp', '27012', '27012', 'both');
54
	$gamesplist['counterstrike'][] = array('HL-Serverport1', 'udp', '27013', '27013', 'both');
55
	$gamesplist['counterstrike'][] = array('HL-Serverport2', 'udp', '27014', '27014', 'both');
56
	$gamesplist['counterstrike'][] = array('HL-Serverport', 'udp', '27015', '27015', 'both');
57

    
58
$gamesplist['deltaforce'] = array();
59
	/* delta force */
60
	$gamesplist['deltaforce'][] = array('Delta1', 'udp', '17478', '17488', 'both');
61

    
62
$gamesplist['quakeiii'] = array();
63
	/* quake3 */
64
	$gamesplist['quakeiii'][] = array('quakeiii', 'udp', '27910', '27919', 'both');
65

    
66
$gamesplist['tigerwoods2004ps2'] = array();
67
	/* tiger woods 2004 ps2 */
68
	$gamesplist['tigerwoods2004ps2'][] = array('Outbound2Player', 'udp', '3658', '3658', 'both');
69
	$gamesplist['tigerwoods2004ps2'][] = array('Outbound2Player2', 'udp', '6000', '6000', 'both');
70
	$gamesplist['tigerwoods2004ps2'][] = array('Outbound2EA', 'tcp', '10300', '10301', 'both');
71

    
72
$gamesplist['callofduty'] = array();
73
	$gamesplist['callofduty'][] = array('CallOfDuty1', 'tcp', '28960', '28960', 'both');
74
	$gamesplist['callofduty'][] = array('CallOfDuty2', 'udp', '28960', '28960', 'both');
75

    
76
$gamesplist['planetside'] = array();
77
	/* PlanetSide */
78
	$gamesplist['planetside'][] = array('PlanetSide', 'tcp', '7000', '7000', 'both');
79
	$gamesplist['planetside'][] = array('PlanetSide', 'tcp', '7080', '7080', 'both');
80
	$gamesplist['planetside'][] = array('PlanetSide2', 'udp', '3016', '3021', 'both');
81
	$gamesplist['planetside'][] = array('PlanetSide2', 'udp', '45000', '45010', 'both');
82
	$gamesplist['planetside'][] = array('PlanetSide2', 'udp', '30000', '30500', 'both');
83

    
84
$gamesplist['halo2'] = array();
85
	/* Halo2 + XBOX Live */
86
	$gamesplist['halo2'][] = array('Halo2-1', 'udp', '88', '88', 'both');
87
	$gamesplist['halo2'][] = array('Halo2-2', 'udp', '3074', '3074', 'both');
88
	$gamesplist['halo2'][] = array('Halo2-3', 'tcp', '3074', '3074', 'both');
89

    
90
$gamesplist['unrealtournament'] = array();
91
	/* Unreal Tournament */
92
	$gamesplist['unrealtournament'][] = array('ur1', 'udp', '7777', '7787', 'both');
93
	$gamesplist['unrealtournament'][] = array('ur2', 'tcp', '7777', '7787', 'both');
94

    
95
$gamesplist['doom3'] = array();
96
	/* doom3 */
97
	$gamesplist['doom3'][] = array('DOOM3-1', 'udp', '27650', '27650', 'both');
98
	$gamesplist['doom3'][] = array('DOOM3-2', 'udp', '27666', '27666', 'both');
99

    
100
$gamesplist['empireearth'] = array();
101
	/* empire earth */
102
	$gamesplist['empireearth'][] = array('EmpireEarth-1', 'tcp', '33335', '33336', 'both');
103
	$gamesplist['empireearth'][] = array('EmpireEarth-2', 'udp', '33334', '33334', 'both');
104

    
105
$gamesplist['everquest'] = array();
106
	/* everquest */
107
	$gamesplist['everquest'][] = array('Everquest-1', 'tcp', '1024', '6000', 'both');
108
	$gamesplist['everquest'][] = array('Everquest-2', 'tcp', '7000', '7000', 'both');
109
	$gamesplist['everquest'][] = array('Everquest-3', 'udp', '1024', '6000', 'both');
110
	$gamesplist['everquest'][] = array('Everquest-4', 'udp', '7000', '7000', 'both');
111

    
112
$gamesplist['everquest2'] = array();
113
	/* everquest2 */
114
	$gamesplist['everquest2'][] = array('Everquest2-1', 'tcp', '7000', '7000', 'both');
115
	$gamesplist['everquest2'][] = array('Everquest2-2', 'udp', '3016', '3021', 'both');
116
	$gamesplist['everquest2'][] = array('Everquest2-3', 'udp', '9100', '9100', 'both');
117
	$gamesplist['everquest2'][] = array('Everquest2-4', 'udp', '9700', '9703', 'both');
118
	$gamesplist['everquest2'][] = array('Everquest2-5', 'udp', '32800', '33000', 'both');
119

    
120
$gamesplist['farcry'] = array();
121
	/* far cry */
122
	$gamesplist['farcry'][] = array('FarCry-1', 'tcp', '49001', '49002', 'both');
123
	$gamesplist['farcry'][] = array('FarCry-2', 'udp', '49001', '49002', 'both');
124

    
125
$gamesplist['halflife2'] = array();
126
	/* halflife 2 */
127
	$gamesplist['halflife2'][] = array('HL2-1', 'tcp', '27020', '27050', 'both');
128
	$gamesplist['halflife2'][] = array('HL2-2', 'udp', '1200', '1200', 'both');
129
	$gamesplist['halflife2'][] = array('HL2-3', 'udp', '27000', '27015', 'both');
130

    
131
$gamesplist['halflife'] = array();
132
	/* halflife */
133
	$gamesplist['halflife'][] = array('HL-1', 'tcp', '27015', '27015', 'both');
134
	$gamesplist['halflife'][] = array('HL-2', 'udp', '27650', '27650', 'both');
135
	$gamesplist['halflife'][] = array('HL-3', 'udp', '27666', '27666', 'both');
136

    
137
$gamesplist['wolfet'] = array();
138
	/* wolfenstein enemy territory */
139
	$gamesplist['wolfet'][] = array('WolfET-1', 'tcp', '27960', '27960', 'both');
140

    
141
$gamesplist['lineage2'] = array();
142
	/* Lineage II */
143
	$gamesplist['lineage2'][] = array('Lineage2-2009', 'tcp', '2009', '2009', 'both');
144
	$gamesplist['lineage2'][] = array('Lineage2-2106', 'tcp', '2106', '2106', 'both');
145
	$gamesplist['lineage2'][] = array('Lineage2-7777', 'tcp', '7777', '7777', 'both');
146

    
147
$gamesplist['battlenet'] = array();
148
	/* Blizzard Publishing games */
149
	$gamesplist['battlenet'][] = array('Battle.NET', 'tcp', '6112', '6119', 'both');
150
	$gamesplist['battlenet'][] = array('Battle.NET-2', 'tcp', '1119', '1119', 'both');
151

    
152
$gamesplist['worldofwarcraft'] = array();
153
	$gamesplist[] = array('WoW', 'tcp', '3724', '3724', 'both');
154

    
155
$gamesplist['battlenet'] = array();
156
	/* Add battle.net only if WoW is selected and battle.net isn't */
157
	$gamesplist[] = array('Battle.NET', 'tcp', '6112', '6119', 'both');
158

    
159
$gamesplist['gunzonline'] = array();
160
	/* GunZ Online */
161
	$gamesplist['gunzonline'][] = array('GunZOnline', 'udp', '7700', '7700', 'both');
162

    
163
$gamesplist['xbox360'] = array();
164
	/* XBox360 */
165
	$gamesplist['xbox360'][] = array('xbox360-1', 'udp', '88', '88', 'both');
166
	$gamesplist['xbox360'][] = array('xbox360-2', 'udp', '3074', '3074', 'both');
167
	$gamesplist['xbox360'][] = array('xbox360-3', 'tcp', '3074', '3074', 'both');
168

    
169

    
170
$voiplist = array();
171

    
172
   /* asterisk server / same as vonage */
173
$voiplist['Asterisk'] = array();
174
	$voiplist['Asterisk'][] = array($_POST['provider'], 'udp', '5060', '5069', 'both');
175
	$voiplist['Asterisk'][] = array($_POST['provider'], 'udp', '10000', '20000', 'both');
176

    
177
    /* VoicePulse server */	
178
$voiplist['VoicePulse'] = array();
179
	$voiplist['VoicePulse'][] = array('VoicePulse', 'udp', '16384', '16482', 'both');
180
	$voiplist['VoicePulse'][] = array('VoicePulse', 'udp', '4569', '4569', 'both');
181

    
182
    /* Panasonic Hybrid PBX */
183
$voiplist['Panasonic'] = array();
184
	$voiplist['Panasonic'][] = array('Panasonic1', 'udp', '8000', '8063', 'both');
185
	$voiplist['Panasonic'][] = array('Panasonic2', 'udp', '9300', '9301', 'both');
186
	$voiplist['Panasonic'][] = array('Panasonic3', 'udp', '2747', '2747', 'both');
187

    
188

    
189
$p2plist = array();
190
	/* To add p2p clients, push Descr,Protocol,Start,End,src/dest/both onto p2plist */
191
	$p2plist['aimster'] = array();
192
		$p2plist['aimster'][] = array('Aimster', 'tcp', '7668', '7668', 'both');
193
	$p2plist['bittorrent'] = array(); 
194
		$p2plist['bittorrent'][] = array('BitTorrent', 'tcp', '6881', '6999', 'both');
195
		$p2plist['bittorrent'][] = array('BitTorrent', 'udp', '6881', '6999', 'both');
196
	$p2plist['buddyshare'] = array();
197
		$p2plist['buddyshare'][] = array('BuddyShare', 'tcp', '7788', '7788', 'both');
198
	$p2plist['cutemx'] = array();
199
		$p2plist['cutemx'][] = array('CuteMX', 'tcp', '2340', '2340', 'both');
200
	$p2plist['dc++'] = array();
201
		$p2plist['dc++'][] = array('DC++', 'tcp', '1412', '1412', 'both');
202
	$p2plist['dcc'] = array();
203
		$p2plist['dcc'][] = array('dcc', 'tcp', '6666', '6668', 'both');
204
	$p2plist['directconnect'] = array();
205
		$p2plist['directconnect'][] = array('DirectConnect', 'tcp', '412', '412', 'both');
206
	$p2plist['directfileexpress'] = array();
207
		$p2plist['directfileexpress'][] = array('DirectFileExpress', 'tcp', '1044', '1045', 'both');
208
	$p2plist['edonkey2000'] = array();
209
		$p2plist['edonkey2000'][] = array('EDonkey2000', 'tcp', '4661', '4665', 'both');
210
	$p2plist['fastTrack'] = array();
211
		$p2plist['fastTrack'][] = array('FastTrack', 'tcp', '1214', '1214', 'both');
212
	$p2plist['gnutella'] = array(); 
213
		$p2plist['gnutella'][] = array('Gnutella-TCP', 'tcp', '6346', '6346', 'both');
214
		$p2plist['gnutella'][] = array('Gnutella-UDP', 'udp', '6346', '6346', 'both');
215
	$p2plist['grouper'] = array();
216
		$p2plist['grouper'][] = array('grouper', 'tcp', '8038', '8039', 'both');
217
	$p2plist['hotcomm'] = array();
218
		$p2plist['hotcomm'][] = array('hotComm', 'tcp', '28864', '28865', 'both');
219
	$p2plist['hotlineconnect'] = array();
220
		$p2plist['hotlineconnect'][] = array('HotlineConnect', 'tcp', '5500', '5503', 'both');
221
	$p2plist['imesh'] = array();
222
		$p2plist['imesh'][] = array('iMesh', 'tcp', '4329', '4329', 'both');
223
	$p2plist['napster'] = array();
224
		$p2plist['napster'][] = array('Napster', 'tcp', '6699', '6701', 'both');
225
	$p2plist['opennap'] = array();
226
		$p2plist['opennap'][] = array('OpenNap', 'tcp', '8888', '8889', 'both');
227
	$p2plist['scour'] = array();
228
		$p2plist['scour'][] = array('Scour', 'tcp', '8311', '8311', 'both');
229
	$p2plist['shareaza'] = array();
230
		$p2plist['shareaza'][] = array('Shareaza', 'tcp', '6346', '6346', 'both');
231
	$p2plist['songspy'] = array();
232
		$p2plist['songspy'][] = array('SongSpy', 'tcp', '5190', '5190', 'both');
233
	$p2plist['winmx'] = array();
234
		$p2plist['winmx'][] = array('WinMX', 'tcp', '6699', '6699', 'both');
235

    
236

    
237

    
238
$othersplist = array();
239
	/* Unlike other areas we are posting the queue H or L or BLANK */
240

    
241
	$othersplist['msrdp'] = array();
242
		/* MSRDP */
243
		$othersplist['msrdp'][] = array('MSRDP', 'tcp', '3389', '3389', 'both');
244
	$othersplist['pptp'] = array();
245
		/* PPTP */
246
		$othersplist['pptp'][] = array('PPTP', 'tcp', '1723', '1723', 'both');
247
		$othersplist['pptp'][] = array('PPTPGRE', 'gre', '', '', 'both');
248
	$othersplist['ipsec'] = array();
249
		/* IPSEC */
250
		$othersplist['ipsec'][] = array('IPSEC', 'udp', '500', '500', 'both');
251
		$othersplist['ipsec'][] = array('IPSEC', 'ah', '', '', 'both');
252
		$othersplist['ipsec'][] = array('IPSEC', 'esp', '', '', 'both');
253
	$othersplist['streamingmp3'] = array();
254
		/* streaming mp3 media aka shoutcast */
255
		$othersplist['streamingmp3'][] = array('STREAMINGMP3', 'tcp', '8000', '8100', 'both');
256
	$othersplist['irc'] = array();
257
		/* internet relay chat */
258
		$othersplist['irc'][] = array('IRC', 'tcp', '6667', '6670', 'both');
259
	$othersplist['jabber'] = array();
260
		/* jabber */
261
		$othersplist['jabber'][] = array('IRC', 'tcp', '5222', '5222', 'both');
262
		$othersplist['jabber'][] = array('IRC', 'tcp', '5223', '5223', 'both');
263
		$othersplist['jabber'][] = array('IRC', 'tcp', '5269', '5269', 'both');
264
	$othersplist['dns'] = array();
265
		/* domain name system */
266
		$othersplist['dns'][] = array('DNS1', 'tcp', '53', '53', 'both');
267
		$othersplist['dns'][] = array('DNS2', 'udp', '53', '53', 'both');
268
	$othersplist['http'] = array();
269
		/* HTTP aka Web Traffic */
270
		$othersplist['http'][] = array('HTTP', 'tcp', '80', '80', 'both');
271
		$othersplist['http'][] = array('HTTPS', 'tcp', '443', '443', 'both');
272
	$othersplist['smtp'] = array();
273
		/* Secure shell traffic */
274
		$othersplist['smtp'][] = array('SMTP', 'tcp', '25', '25', 'both');
275
	$othersplist['pop3'] = array();
276
		/* Post Office Protocol - POP3 */
277
		$othersplist['pop3'][] = array('POP3', 'tcp', '110', '110', 'both');
278
	$othersplist['icmp'] = array();
279
		/* ICMP */
280
		$othersplist['icmp'][] = array('ICMP', 'icmp', '', '', 'both');
281
	$othersplist['imap'] = array();
282
		/* IMAP */
283
		$othersplist['imap'][] = array('IMAP', 'tcp', '143', '143', 'both');
284
	$othersplist['smb'] = array();
285
		/* Microsoft SMB and friends */
286
		$othersplist['smb'][] = array('SMB1', 'tcp', '445', '445', 'both');
287
		$othersplist['smb'][] = array('SMB2', 'tcp', '137-139', '137-139', 'both');
288
	$othersplist['rtsp'] = array();
289
		/* realtime streaming protocol */
290
		$othersplist['rtsp'][] = array('RTSP1', 'tcp', '554', '554', 'both');
291
	$othersplist['snmp'] = array();
292
		/* Simple network management protocol */
293
		$othersplist['snmp'][] = array('SNMP', 'tcp', '161', '161', 'both');
294
		$othersplist['snmp'][] = array('SNMP2', 'udp', '161', '161', 'both');
295
	$othersplist['vnc'] = array();
296
		/* virtual network control */
297
		$othersplist['vnc'][] = array('VNC', 'tcp', '5900', '5930', 'both');
298
	$othersplist['appleremotedesktop'] = array();
299
		/* apple remote desktop */
300
		$othersplist['appleremotedesktop'][] = array('AppleRemoteDesktop1', 'tcp', '3283', '3283', 'both');
301
		$othersplist['appleremotedesktop'][] = array('AppleRemoteDesktop2', 'tcp', '5900', '5900', 'both');
302
		$othersplist['appleremotedesktop'][] = array('AppleRemoteDesktop3', 'udp', '3283', '3283', 'both');
303
		$othersplist['appleremotedesktop'][] = array('AppleRemoteDesktop4', 'udp', '5900', '5900', 'both');
304
	$othersplist['icq'] = array();
305
		/* icq */
306
		$othersplist['icq'][] = array('ICQ1', 'tcp', '5190', '5190', 'both');
307
		$othersplist['icq'][] = array('ICQ2', 'udp', '5190', '5190', 'both');
308
	$othersplist['lotusnotes'] = array();
309
		/* lotus notes */
310
		$othersplist['lotusnotes'][] = array('LotusNotes1', 'tcp', '1352', '1352', 'both');
311
		$othersplist['lotusnotes'][] = array('LotusNotes2', 'udp', '1352', '1352', 'both');
312
	$othersplist['aolinstantmessenger'] = array();
313
		/* AIM */
314
		$othersplist['aolinstantmessenger'][] = array('AIM', 'tcp', '5190', '5190', 'both');
315
	$othersplist['msnmessenger'] = array();
316
		/* msn messenger */
317
		$othersplist['msnmessenger'][] = array('MSN1', 'tcp', '1863', '1863', 'both');
318
		$othersplist['msnmessenger'][] = array('MSN2', 'tcp', '6891', '6900', 'both');
319
		$othersplist['msnmessenger'][] = array('MSN3', 'tcp', '6901', '6901', 'both');
320
		$othersplist['msnmessenger'][] = array('MSN4', 'udp', '6901', '6901', 'both');
321
	$othersplist['mysqlserver'] = array();
322
		/* mysql server */
323
		$othersplist['mysqlserver'][] = array('MySQL1', 'tcp', '3306', '3306', 'both');
324
	$othersplist['nntp'] = array();
325
		/* nntp */
326
		$othersplist['nntp'][] = array('NNTP1', 'tcp', '119', '119', 'both');
327
		$othersplist['nntp'][] = array('NNTP2', 'udp', '119', '119', 'both');
328
	$othersplist['pcanywhere'] = array();
329
		/* symantec pc anywhere */
330
		$othersplist['pcanywhere'][] = array('pcany1', 'tcp', '5631', '5631', 'both');
331
		$othersplist['pcanywhere'][] = array('pcany2', 'udp', '5632', '5632', 'both');
332
	$othersplist['teamspeak'] = array();
333
		/* teamspeak  */
334
		$othersplist['teamspeak'][] = array('teamspeak1', 'tcp', '14534', '14534', 'both');
335
		$othersplist['teamspeak'][] = array('teamspeak2', 'tcp', '51234', '51234', 'both');
336
		$othersplist['teamspeak'][] = array('teamspeak3', 'udp', '8767', '8768', 'both');
337
	$othersplist['cvsup'] = array();
338
		/* cvs  */
339
		$othersplist['cvsup'][] = array('cvsup', 'tcp', '5999', '5999', 'both');
340
	$othersplist['hbci'] = array();
341
		/* HBCI  */
342
		$othersplist['hbci'][] = array('HBCI', 'tcp', '3000', '3000', 'both');
343
	$othersplist['slingbox'] = array();
344
		$othersplist['slingbox'][] = array('Slingbox1', 'tcp', '5001', '5001', 'both');
345
		$othersplist['slingbox'][] = array('Slingbox2', 'udp', '5001', '5001', 'both');
346

    
347

    
348
?>
(47-47/54)