~ubuntu-branches/ubuntu/edgy/awstats/edgy

« back to all changes in this revision

Viewing changes to wwwroot/cgi-bin/lib/browsers.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2005-02-05 17:13:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050205171348-h8uy32bhbcnhciie
Tags: 6.3-1
* New upstream release. Closes: bug#293702, #293668 (thanks to Nelson
  A. de Oliveira <naoliv@biolinux.df.ibilce.unesp.br>).
  + Includes upstream fix for security bug fixed in 6.2-1.1.
  + Includes upstream fix for most of security bug fixed in 6.2-1.1.
* Acknowledge NMUs. Closes: bug#291064, #294488 (thanks to Martin
  Schulze <joey@infodrom.org>, Martin Pitt <mpitt@debian.org>, Ubuntu,
  Joey Hess <joeyh@debian.org>, Frank Lichtenheld <djpig@debian.org> and Steve
  Langasek <vorlon@debian.org>).
* Include patch for last parts of security bug fixed in 6.2-1.1:
  01_sanitize_more.patch.
* Patch (02) to include snapshot of recent development:
  + Fix security hole that allowed a user to read log file content
    even when plugin rawlog was not enabled.
  + Fix a possible use of AWStats for a DoS attack.
  + configdir option was broken on windows servers.
  + DebugMessages is by default set to 0 for security reasons.
  + Minor fixes.
* References:
  CAN-2005-0435 - read server logs via loadplugin and pluginmode
  CAN-2005-0436 - code injection via PluginMode
  CAN-2005-0437 - directory traversal via loadplugin
  CAN-2005-0438 - information leak via debug

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# If you want to add a Browser to extend AWStats database detection capabilities,
4
4
# you must add an entry in BrowsersSearchIDOrder and in BrowsersHashIDLib.
5
5
#-------------------------------------------------------
6
 
# $Revision: 1.33 $ - $Author: eldy $ - $Date: 2003/12/06 23:51:25 $
 
6
# $Revision: 1.39 $ - $Author: eldy $ - $Date: 2005/01/15 14:12:39 $
7
7
 
8
8
 
9
9
#package AWSUA;
16
16
# Note: Regex IDs are in lower case and ' ' and '+' are changed into '_'
17
17
#-------------------------------------------------------
18
18
@BrowsersSearchIDOrder = (
19
 
# Most frequent standard web browsers are first in this list
 
19
# Most frequent standard web browsers are first in this list (except msie, netscape and firefox)
20
20
'firebird',
21
21
'go!zilla',
22
22
'icab',
32
32
'amigavoyager',
33
33
'aweb',
34
34
'bpftp',
 
35
'camino',
35
36
'chimera',
36
37
'cyberdog',
37
38
'dillo',
48
49
'hotjava',
49
50
'ibrowse',
50
51
'intergo',
 
52
'javaws',
51
53
'k\-meleon',
52
54
'linemodebrowser',
53
55
'lotus\-notes',
102
104
'up\.',                                 # Works for UP.Browser and UP.Link
103
105
# PDA/Phonecell I-Mode browsers
104
106
'docomo',
105
 
'portalmmm',
 
107
'portalmmm',
106
108
# Others (TV)
107
109
'webtv',
108
110
# Other kind of browsers
127
129
# Common web browsers text
128
130
'msie','MS Internet Explorer',
129
131
'netscape','Netscape',
130
 
'firebird','Firebird',
 
132
'firefox','Firefox',
 
133
 
 
134
'firebird','Firebird (Old Firefox)',
131
135
'go!zilla','Go!Zilla',
132
136
'icab','iCab',
133
137
'konqueror','Konqueror',
142
146
'amigavoyager','AmigaVoyager',
143
147
'aweb','AWeb',
144
148
'bpftp','BPFTP',
145
 
'chimera','Chimera',
 
149
'camino','Camino',
 
150
'chimera','Chimera (Old Camino)',
146
151
'cyberdog','Cyberdog',
147
152
'dillo','Dillo',
148
153
'dreamcast','Dreamcast',
212
217
'up\.','UP.Browser (PDA/Phone browser)',                                        # Works for UP.Browser and UP.Link
213
218
# PDA/Phonecell I-Mode browsers
214
219
'docomo','I-Mode phone (PDA/Phone browser)',
215
 
'portalmmm','I-Mode phone (PDA/Phone browser)',
 
220
'portalmmm','I-Mode phone (PDA/Phone browser)',
216
221
# Others (TV)
217
222
'webtv','WebTV browser',
218
223
# Other kind of browsers
219
224
'apt','Debian APT',
220
225
'curl','Curl',
221
226
'csscheck','WDG CSS Validator',
 
227
'javaws','Java Web Start',
222
228
'wget','Wget',
223
229
'w3m','w3m',
224
230
'w3c_css_validator','W3C CSS Validator',
252
258
# Standard web browsers
253
259
'msie','msie',
254
260
'netscape','netscape',
 
261
'firefox','firefox',
255
262
 
256
263
'firebird','phoenix',
257
264
'go!zilla','gozilla',
266
273
'avantbrowser','avant',
267
274
'aweb','aweb',
268
275
'bpftp','bpftp',
 
276
'camino','chimera',
269
277
'chimera','chimera',
270
278
'cyberdog','cyberdog',
271
279
'dillo','dillo',
321
329
'up\.','pdaphone',                                      # Works for UP.Browser and UP.Link
322
330
# PDA/Phonecell I-Mode browsers
323
331
'docomo','pdaphone',
324
 
'portalmmm','pdaphone',
 
332
'portalmmm','pdaphone',
325
333
# Others (TV)
326
334
'webtv','webtv',
327
335
# Other kind of browsers
328
336
'apt','apt',
 
337
'javaws','javaws',
329
338
'webzip','webzip',
330
339
'staroffice','staroffice',
331
340
'mozilla','mozilla'
335
344
1;
336
345
 
337
346
 
338
 
# TODO
339
 
# Add Gecko category -> IE / Netscape / Gecko(except Netscape) / Other
340
 
# IE (based on Mosaic)
341
 
# Netscape family
342
 
# Gecko except Netscape (Mozilla, Firebird (was Phoenix), Galeon, AmiZilla, Dino, and few others) 
343
 
# Opera (Opera 6/7) 
344
 
# KHTML (Konqueror, Safari) 
345
 
 
346
 
 
347
 
# Browsers example
 
347
# Browsers examples by engines
348
348
#
 
349
# -- Mosaic --
349
350
# MSIE          4.0     Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt; KITV4 Wanadoo; KITV5 Wanadoo)
350
351
#
 
352
# -- Gecko Netscape --
351
353
# Netscape      4.05    Mozilla/4.05 [fr]C-SYMPA (Win95; I)
352
354
# Netscape      4.7     Mozilla/4.7 [fr] (Win95; I)
353
355
# Netscape      6.0             Mozilla/5.0 (Macintosh; N; PPC; fr-FR; m18) Gecko/20001108 Netscape6/6.0
354
356
# Netscape      7.02    Mozilla/5.0 (Platform; Security; OS-or-CPU; Localization; rv:1.0.2) Gecko/20030208 Netscape/7.02 
355
357
#
 
358
# -- Gecko others --
356
359
# Mozilla       1.3             Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
357
 
#
358
 
# Firebird      0.6             Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
359
 
#
 
360
# Firefox       0.9             Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firefox/0.9.1
 
361
# Firebird,Phoenix,Galeon,AmiZilla,Dino
 
362
# Autre             Mozilla/3.01 (compatible;)
 
363
#
 
364
# -- Opera --
360
365
# Opera         6.03    Mozilla/3.0 (Windows 98; U) Opera 6.03  [en]
361
366
# Opera         5.12    Mozilla/3.0 (Windows 98; U) Opera 5.12  [en]
362
367
# Opera         3.21    Opera 3.21, Windows:
363
368
#
364
 
# Galeon
365
 
#
 
369
# -- KHTML --
366
370
# Safari
367
 
#
368
371
# Konqueror
369
372
#
370
 
# Autre             Mozilla/3.01 (compatible;)