(file) Return to operating_systems.pm CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / awstats-6.3 / wwwroot / cgi-bin / lib

  1 rizwank 1.1 # AWSTATS OPERATING SYSTEMS DATABASE
  2             #-------------------------------------------------------
  3             # If you want to add an OS to extend AWStats database detection capabilities,
  4             # you must add an entry in OSSearchIDOrder, in OSHashID and in OSHashLib.
  5             #-------------------------------------------------------
  6             # $Revision: 1.13 $ - $Author: eldy $ - $Date: 2004/01/20 23:07:01 $
  7             
  8             
  9             #package AWSOS;
 10             
 11             
 12             # OSSearchIDOrder
 13             # This list is used to know in which order to search Operating System IDs
 14             # (Most frequent one are first in this list to increase detect speed).
 15             # It contains all matching criteria to search for in log fields.
 16             # Note: OS IDs are in lower case and ' ' and '+' are changed into '_'
 17             #-------------------------------------------------------------------------
 18             @OSSearchIDOrder	= (
 19             # Windows OS family
 20             'windows[_+ ]?2005', 'windows[_+ ]nt[_+ ]6\.0',
 21             'windows[_+ ]?2003','windows[_+ ]nt[_+ ]5\.2',	# Must be before windows_nt_5
 22 rizwank 1.1 'windows[_+ ]xp','windows[_+ ]nt[_+ ]5\.1',		# Must be before windows_nt_5
 23             'windows[_+ ]me','win[_+ ]9x',					# Must be before windows_98
 24             'windows[_+ ]?2000','windows[_+ ]nt[_+ ]5',
 25             'winnt','windows[_+ \-]?nt','win32',
 26             'win(.*)98',
 27             'win(.*)95',
 28             'win(.*)16','windows[_+ ]3',					# This works for windows_31 and windows_3.1
 29             'win(.*)ce',
 30             # Macintosh OS family
 31             'mac[_+ ]os[_+ ]x',
 32             'mac[_+ ]?p',									# This works for macppc and mac_ppc and mac_powerpc
 33             'mac[_+ ]68',									# This works for mac_6800 and mac_68k
 34             'macweb',
 35             'macintosh',
 36             # Unix like OS
 37             'linux',
 38             'aix',
 39             'sunos',
 40             'irix',
 41             'osf',
 42             'hp-ux',
 43 rizwank 1.1 'netbsd',
 44             'bsdi',
 45             'freebsd',
 46             'openbsd',
 47             'gnu',
 48             'unix','x11',
 49             # Other famous OS
 50             'beos',
 51             'os/2',
 52             'amiga',
 53             'atari',
 54             'vms',
 55             # Miscellanous OS
 56             'cp/m',
 57             'crayos',
 58             'dreamcast',
 59             'risc[_+ ]?os',
 60             'symbian',
 61             'webtv'
 62             );
 63             
 64 rizwank 1.1 
 65             # OSHashID
 66             # Each OS Search ID is associated to a string that is the AWStats id and
 67             # also the name of icon file for this OS.
 68             #--------------------------------------------------------------------------
 69             %OSHashID	= (
 70             # Windows OS family
 71             'windows[_+ ]?2005','winlong','windows[_+ ]nt[_+ ]6\.0','winlong',
 72             'windows[_+ ]?2003','win2003','windows[_+ ]nt[_+ ]5\.2','win2003',
 73             'windows[_+ ]xp','winxp','windows[_+ ]nt[_+ ]5\.1','winxp',
 74             'windows[_+ ]me','winme','win[_+ ]9x','winme',
 75             'windows[_+ ]?2000','win2000','windows[_+ ]nt[_+ ]5','win2000',
 76             'winnt','winnt','windows[_+ \-]?nt','winnt','win32','winnt',
 77             'win(.*)98','win98',
 78             'win(.*)95','win95',
 79             'win(.*)16','win16','windows[_+ ]3','win16',
 80             'win(.*)ce','wince',
 81             # Macintosh OS family
 82             'mac[_+ ]os[_+ ]x','macosx',
 83             'mac[_+ ]?p','macintosh','mac[_+ ]68','macintosh','macweb','macintosh','macintosh','macintosh',
 84             # Unix like OS
 85 rizwank 1.1 'linux','linux',
 86             'aix','aix',
 87             'sunos','sunos',
 88             'irix','irix',
 89             'osf','osf',
 90             'hp-ux','hp-ux',
 91             'netbsd','netbsd',
 92             'bsdi','bsdi',
 93             'freebsd','freebsd',
 94             'openbsd','openbsd',
 95             'gnu','gnu',
 96             'unix','unix','x11','unix',
 97             # Other famous OS
 98             'beos','beos',
 99             'os/2','os/2',
100             'amiga','amigaos',
101             'atari','atari',
102             'vms','vms',
103             # Miscellanous OS
104             'cp/m','cp/m',
105             'crayos','crayos',
106 rizwank 1.1 'dreamcast','dreamcast',
107             'risc[_+ ]?os','riscos',
108             'symbian','symbian',
109             'webtv','webtv'
110             );
111             
112             # OS name list ('os unique id in lower case','os clear text')
113             # Each unique ID string is associated to a label
114             #-----------------------------------------------------------
115             %OSHashLib      = (
116             # Windows family OS
117             'winlong','Windows Codename Longhorn',
118             'win2003','Windows 2003',
119             'winxp','Windows XP',
120             'winme','Windows Me',
121             'win2000','Windows 2000',
122             'winnt','Windows NT',
123             'win98','Windows 98',
124             'win95','Windows 95',
125             'win16','Windows 3.xx',
126             'wince','Windows CE',
127 rizwank 1.1 # Macintosh OS
128             'macosx','Mac OS X',
129             'macintosh','Mac OS',
130             # Unix like OS
131             'linux','Linux',
132             'aix','Aix',
133             'sunos','Sun Solaris',
134             'irix','Irix',
135             'osf','OSF Unix',
136             'hp-ux','HP Unix',
137             'netbsd','NetBSD',
138             'bsdi','BSDi',
139             'freebsd','FreeBSD',
140             'openbsd','OpenBSD',
141             'gnu','GNU',
142             'unix','Unknown Unix system',
143             # Other famous OS
144             'beos','BeOS',
145             'os/2','OS/2',
146             'amigaos','AmigaOS',
147             'atari','Atari',
148 rizwank 1.1 'vms','VMS',
149             # Miscellanous OS
150             'cp/m','CPM',
151             'crayos','CrayOS',
152             'dreamcast','Dreamcast',
153             'riscos','RISC OS',
154             'symbian','Symbian OS',
155             'webtv','WebTV'
156             );
157             
158             
159             1;
160             
161             
162             # Informations from microsoft for detecting windows version
163             #  Windows 95 retail, OEM     4.00.950                     7/11/95
164             #  Windows 95 retail SP1      4.00.950A                    7/11/95-12/31/95
165             #  OEM Service Release 2      4.00.1111* (4.00.950B)       8/24/96
166             #  OEM Service Release 2.1    4.03.1212-1214* (4.00.950B)  8/24/96-8/27/97  
167             #  OEM Service Release 2.5    4.03.1214* (4.00.950C)       8/24/96-11/18/97
168             #  Windows 98 retail, OEM     4.10.1998                    5/11/98
169 rizwank 1.1 #  Windows 98 Second Edition  4.10.2222A                   4/23/99
170             #  Windows Me                 4.90.3000 

Rizwan Kassim
Powered by
ViewCVS 0.9.2