Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 297
- Log:
Updated to AWStats 7.0.
- Author:
- rool
- Date:
- Fri Mar 18 13:33:29 +0000 2011
- Size:
- 15696 Bytes
- Properties:
- Property svn:executable is set
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.31 $ - $Author: eldy $ - $Date: 2010/08/04 10:55:08 $ |
7 | |
8 | # 2005-08-19 Sean Carlos http://www.antezeta.com/awstats.html |
9 | # - added specific Linux distributions in addition to |
10 | # the generic Linux. |
11 | # Included documentation link to Distribution home pages. |
12 | # - added links for each operating systems. |
13 | |
14 | #package AWSOS; |
15 | |
16 | # Relocated from main file for easier editing |
17 | %OSFamily = ( |
18 | 'win' => 'Windows', |
19 | 'mac' => 'Macintosh', |
20 | 'linux' => 'Linux', |
21 | 'bsd' => 'BSD' |
22 | ); |
23 | |
24 | # OSSearchIDOrder |
25 | # This list is used to know in which order to search Operating System IDs |
26 | # (Most frequent one are first in this list to increase detect speed). |
27 | # It contains all matching criteria to search for in log fields. |
28 | # Note: OS IDs are in lower case and '_', ' ' and '+' are changed into '[_+ ]' |
29 | #------------------------------------------------------------------------- |
30 | @OSSearchIDOrder = ( |
31 | # Windows OS family |
32 | 'windows[_+ ]?2005', 'windows[_+ ]nt[_+ ]6\.0', |
33 | 'windows[_+ ]?2008', 'windows[_+ ]nt[_+ ]6\.1', # Must be before windows_nt_6 |
34 | 'windows[_+ ]?vista', 'windows[_+ ]nt[_+ ]6', |
35 | 'windows[_+ ]?2003','windows[_+ ]nt[_+ ]5\.2', # Must be before windows_nt_5 |
36 | 'windows[_+ ]xp','windows[_+ ]nt[_+ ]5\.1', # Must be before windows_nt_5 |
37 | 'windows[_+ ]me','win[_+ ]9x', # Must be before windows_98 |
38 | 'windows[_+ ]?2000','windows[_+ ]nt[_+ ]5', |
39 | 'winnt','windows[_+ \-]?nt','win32', |
40 | 'win(.*)98', |
41 | 'win(.*)95', |
42 | 'win(.*)16','windows[_+ ]3', # This works for windows_31 and windows_3.1 |
43 | 'win(.*)ce', |
44 | # Macintosh OS family |
45 | 'mac[_+ ]os[_+ ]x', |
46 | 'mac[_+ ]?p', # This works for macppc and mac_ppc and mac_powerpc |
47 | 'mac[_+ ]68', # This works for mac_6800 and mac_68k |
48 | 'macweb', |
49 | 'macintosh', |
50 | # Linux family |
51 | 'linux(.*)android', |
52 | 'linux(.*)asplinux', |
53 | 'linux(.*)centos', |
54 | 'linux(.*)debian', |
55 | 'linux(.*)fedora', |
56 | 'linux(.*)gentoo', |
57 | 'linux(.*)mandr', |
58 | 'linux(.*)momonga', |
59 | 'linux(.*)pclinuxos', |
60 | 'linux(.*)red[_+ ]hat', |
61 | 'linux(.*)suse', |
62 | 'linux(.*)ubuntu', |
63 | 'linux(.*)vector', |
64 | 'linux(.*)vine', |
65 | 'linux(.*)white\sbox', |
66 | 'linux(.*)zenwalk', |
67 | 'linux', |
68 | # Hurd family |
69 | 'gnu.hurd', |
70 | # BSDs family |
71 | 'bsdi', |
72 | 'gnu.kfreebsd', # Must be before freebsd |
73 | 'freebsd', |
74 | 'openbsd', |
75 | 'netbsd', |
76 | 'dragonfly', |
77 | # Other Unix, Unix-like |
78 | 'aix', |
79 | 'sunos', |
80 | 'irix', |
81 | 'osf', |
82 | 'hp\-ux', |
83 | 'unix', |
84 | 'x11', |
85 | 'gnome\-vfs', |
86 | # Other famous OS |
87 | 'beos', |
88 | 'os/2', |
89 | 'amiga', |
90 | 'atari', |
91 | 'vms', |
92 | 'commodore', |
93 | 'qnx', |
94 | 'inferno', |
95 | 'palmos', |
96 | 'syllable', |
97 | # Miscellanous OS |
98 | 'blackberry', |
99 | 'cp/m', |
100 | 'crayos', |
101 | 'dreamcast', |
102 | 'iphone[_+ ]os', |
103 | 'risc[_+ ]?os', |
104 | 'symbian', |
105 | 'webtv', |
106 | 'playstation', |
107 | 'xbox', |
108 | 'wii', |
109 | 'vienna', |
110 | 'newsfire', |
111 | 'applesyndication', |
112 | 'akregator', |
113 | 'plagger', |
114 | 'syndirella', |
115 | 'j2me', |
116 | 'java', |
117 | 'microsoft', # Pushed down to prevent mis-identification |
118 | 'msie[_+ ]', # by other OS spoofers. |
119 | 'ms[_+ ]frontpage', |
120 | 'windows' |
121 | ); |
122 | |
123 | |
124 | # OSHashID |
125 | # Each OS Search ID is associated to a string that is the AWStats id and |
126 | # also the name of icon file for this OS. |
127 | #-------------------------------------------------------------------------- |
128 | %OSHashID = ( |
129 | # Windows OS family |
130 | 'windows[_+ ]?2005','winlong','windows[_+ ]nt[_+ ]6\.0','winlong', |
131 | 'windows[_+ ]?2008','win2008','windows[_+ ]nt[_+ ]6\.1','win7', |
132 | 'windows[_+ ]?vista','winvista','windows[_+ ]nt[_+ ]6','winvista', |
133 | 'windows[_+ ]?2003','win2003','windows[_+ ]nt[_+ ]5\.2','win2003', |
134 | 'windows[_+ ]xp','winxp','windows[_+ ]nt[_+ ]5\.1','winxp', 'syndirella', 'winxp', |
135 | 'windows[_+ ]me','winme','win[_+ ]9x','winme', |
136 | 'windows[_+ ]?2000','win2000','windows[_+ ]nt[_+ ]5','win2000', |
137 | 'winnt','winnt','windows[_+ \-]?nt','winnt','win32','winnt', |
138 | 'win(.*)98','win98', |
139 | 'win(.*)95','win95', |
140 | 'win(.*)16','win16','windows[_+ ]3','win16', |
141 | 'win(.*)ce','wince', |
142 | 'microsoft','winunknown', |
143 | 'msie[_+ ]','winunknown', |
144 | 'ms[_+ ]frontpage','winunknown', |
145 | # Macintosh OS family |
146 | 'mac[_+ ]os[_+ ]x','macosx', 'vienna', 'macosx', 'newsfire', 'macosx', 'applesyndication', 'macosx', |
147 | 'mac[_+ ]?p','macintosh','mac[_+ ]68','macintosh','macweb','macintosh','macintosh','macintosh', |
148 | # Linux family (linuxyyy) |
149 | 'linux(.*)android','linuxandroid', |
150 | 'linux(.*)asplinux','linuxasplinux', |
151 | 'linux(.*)centos','linuxcentos', |
152 | 'linux(.*)debian','linuxdebian', |
153 | 'linux(.*)fedora','linuxfedora', |
154 | 'linux(.*)gentoo','linuxgentoo', |
155 | 'linux(.*)mandr','linuxmandr', |
156 | 'linux(.*)momonga','linuxmomonga', |
157 | 'linux(.*)pclinuxos','linuxpclinuxos', |
158 | 'linux(.*)red[_+ ]hat','linuxredhat', |
159 | 'linux(.*)suse','linuxsuse', |
160 | 'linux(.*)ubuntu','linuxubuntu', |
161 | 'linux(.*)vector','linuxvector', |
162 | 'linux(.*)vine','linuxvine', |
163 | 'linux(.*)white\sbox','linuxwhitebox', |
164 | 'linux(.*)zenwalk','linuxzenwalk', |
165 | 'linux','linux', 'akregator', 'linux', |
166 | # Hurd family |
167 | 'gnu.hurd','gnu', |
168 | # BSDs family (bsdyyy) |
169 | 'bsdi','bsdi', |
170 | 'gnu.kfreebsd','bsdkfreebsd', # Must be before freebsd |
171 | 'freebsd','bsdfreebsd', |
172 | 'openbsd','bsdopenbsd', |
173 | 'netbsd','bsdnetbsd', |
174 | 'dragonflybsd','bsddflybsd', |
175 | # Other Unix, Unix-like |
176 | 'aix','aix', |
177 | 'sunos','sunos', |
178 | 'irix','irix', |
179 | 'osf','osf', |
180 | 'hp\-ux','hp\-ux', |
181 | 'unix','unix', |
182 | 'x11','unix', |
183 | 'gnome\-vfs','unix', |
184 | 'plagger', 'unix', |
185 | # Other famous OS |
186 | 'beos','beos', |
187 | 'os/2','os/2', |
188 | 'amiga','amigaos', |
189 | 'atari','atari', |
190 | 'vms','vms', |
191 | 'commodore','commodore', |
192 | 'j2me', 'j2me', |
193 | 'java', 'java', |
194 | 'qnx','qnx', |
195 | 'inferno','inferno', |
196 | 'palmos','palmos', |
197 | 'syllable','syllable', |
198 | # Miscellanous OS |
199 | 'blackberry','blackberry', |
200 | 'cp/m','cp/m', |
201 | 'crayos','crayos', |
202 | 'dreamcast','dreamcast', |
203 | 'iphone[_+ ]os','ios', |
204 | 'risc[_+ ]?os','riscos', |
205 | 'symbian','symbian', |
206 | 'webtv','webtv', |
207 | 'playstation', 'psp', |
208 | 'xbox', 'winxbox', |
209 | 'wii', 'wii', |
210 | 'windows','winunknown' |
211 | ); |
212 | |
213 | # OS name list ('os unique id in lower case','os clear text') |
214 | # Each unique ID string is associated to a label |
215 | #----------------------------------------------------------- |
216 | %OSHashLib = ( |
217 | # Windows family OS |
218 | 'win7','<a href="http://www.microsoft.com/windows/" title="Windows 7 home page [new window]" target="_blank">Windows 7</a>', |
219 | 'winlong','<a href="http://www.microsoft.com/windows/" title="Windows Vista home page [new window]" target="_blank">Windows Vista (LongHorn)</a>', |
220 | 'win2008','<a href="http://www.microsoft.com/windowsserver2008/" title="Windows 2008 home page [new window]" target="_blank">Windows 2008</a>', |
221 | 'winvista','<a href="http://www.microsoft.com/windowsvista/" title="Windows Vista home page [new window]" target="_blank">Windows Vista</a>', |
222 | 'win2003','<a href="http://www.microsoft.com/windowsserver2003/" title="Windows 2003 home page [new window]" target="_blank">Windows 2003</a>', |
223 | 'winxp','<a href="http://www.microsoft.com/windowsxp/" title="Windows XP home page [new window]" target="_blank">Windows XP</a>', |
224 | 'winme','<a href="http://support.microsoft.com/ph/6519/" title="Windows ME support page [new window]" target="_blank">Windows ME</a>', |
225 | 'win2000','<a href="http://support.microsoft.com/ph/1131" title="Windows 2000 support page [new window]" target="_blank">Windows 2000</a>', |
226 | 'winnt','<a href="http://support.microsoft.com/default.aspx?pr=ntw40" title="Windows NT support page [new window]" target="_blank">Windows NT</a>', |
227 | 'win98','<a href="http://support.microsoft.com/w98" title="Windows 98 support page [new window]" target="_blank">Windows 98</a>', |
228 | 'win95','<a href="http://support.microsoft.com/ph/7864" title="Windows 95 support page [new window]" target="_blank">Windows 95</a>', |
229 | 'win16','<a href="http://www.microsoft.com/windows/WinHistoryDesktop.mspx#E1B" title="Windows 3.xx history page [new window]" target="_blank">Windows 3.xx</a>', |
230 | 'wince','<a href="http://www.microsoft.com/windowsmobile/" title="Windows Mobile home page [new window]" target="_blank">Windows Mobile</a>', |
231 | 'winunknown','Windows (unknown version)', |
232 | 'winxbox','<a href="http://www.xbox.com/" title="Microsoft XBOX home page [new window]" target="_blank">Microsoft XBOX</a>', |
233 | # Macintosh OS |
234 | 'macosx','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X</a>', |
235 | 'macintosh','<a href="http://www.apple.com/" title="Mac OS home page [new window]" target="_blank">Mac OS</a>', |
236 | # Linux |
237 | 'linuxandroid','<a href="http://code.google.com/android/" title="Google Android home page [new window]" target="_blank">Google Android</a>', |
238 | 'linuxasplinux','<a href="http://www.asplinux.ru/" title="ASPLinux home page [new window]" target="_blank">ASPLinux</a>', |
239 | 'linuxcentos','<a href="http://www.centos.org/" title="Centos home page [new window]" target="_blank">Centos</a>', |
240 | 'linuxdebian','<a href="http://www.debian.org/" title="Debian home page [new window]" target="_blank">Debian</a>', |
241 | 'linuxfedora','<a href="http://fedora.redhat.com/" title="Fedora home page [new window]" target="_blank">Fedora</a>', |
242 | 'linuxgentoo','<a href="http://www.gentoo.org/" title="Gentoo home page [new window]" target="_blank">Gentoo</a>', |
243 | 'linuxmandr','<a href="http://www.mandriva.com/" title="Mandriva (former Mandrake) home page [new window]" target="_blank">Mandriva (or Mandrake)</a>', |
244 | 'linuxmomonga','<a href="http://www.momonga-linux.org/" title="Momonga Linux home page [new window]" target="_blank">Momonga Linux</a>', |
245 | 'linuxpclinuxos','<a href="http://www.pclinuxos.com/" title="PCLinuxOS home page [new window]" target="_blank">PCLinuxOS</a>', |
246 | 'linuxredhat','<a href="http://www.redhat.com/" title="Red Hat home page [new window]" target="_blank">Red Hat</a>', |
247 | 'linuxsuse','<a href="http://www.novell.com/linux/suse/" title="Suse home page [new window]" target="_blank">Suse</a>', |
248 | 'linuxubuntu','<a href="http://www.ubuntulinux.org/" title="Ubuntu home page [new window]" target="_blank">Ubuntu</a>', |
249 | 'linuxvector','<a href="http://vectorlinux.com/" title="VectorLinux home page [new window]" target="_blank">VectorLinux</a>', |
250 | 'linuxvine','<a href="http://www.vinelinux.org/index-en.html" title="Vine Linux home page [new window]" target="_blank">Vine Linux</a>', |
251 | 'linuxwhitebox','<a href="http://whiteboxlinux.org/" title="White Box Linux home page [new window]" target="_blank">White Box Linux</a>', |
252 | 'linuxzenwalk','<a href="http://www.zenwalk.org/" title="Zenwalk GNU Linux home page [new window]" target="_blank">Zenwalk GNU Linux</a>', |
253 | 'linux','<a href="http://www.distrowatch.com/" title="Linux DistroWatch home page. Useful if you find the associated user agent string in your logs. [new window]" target="_blank">Linux (Unknown/unspecified)</a>', |
254 | 'linux','GNU Linux (Unknown or unspecified distribution)', |
255 | # Hurd |
256 | 'gnu','<a href="www.gnu.org/software/hurd/hurd.html" title="GNU Hurd home page [new window]" target="_blank">GNU Hurd</a>', |
257 | # BSDs |
258 | 'bsdi','<a href="http://en.wikipedia.org/wiki/BSDi" title="BSDi home page [new window]" target="_blank">BSDi</a>', |
259 | 'bsdkfreebsd','<a href="http://www.debian.org/ports/kfreebsd-gnu/" title="Debian GNU/kFreeBSD" target="_blank">GNU/kFreeBSD</a>', |
260 | 'freebsd','<a href="http://www.freebsd.org/" title="FreeBSD home page [new window]" target="_blank">FreeBSD</a>', # For backard compatibility |
261 | 'bsdfreebsd','<a href="http://www.freebsd.org/" title="FreeBSD home page [new window]" target="_blank">FreeBSD</a>', |
262 | 'openbsd','<a href="http://www.openbsd.org/" title="OpenBSD home page [new window]" target="_blank">OpenBSD</a>', # For backard compatibility |
263 | 'bsdopenbsd','<a href="http://www.openbsd.org/" title="OpenBSD home page [new window]" target="_blank">OpenBSD</a>', |
264 | 'netbsd','<a href="http://www.netbsd.org/" title="NetBSD home page [new window]" target="_blank">NetBSD</a>', # For backard compatibility |
265 | 'bsdnetbsd','<a href="http://www.netbsd.org/" title="NetBSD home page [new window]" target="_blank">NetBSD</a>', |
266 | 'bsddflybsd','<a href="http://www.dragonflybsd.org/" title="DragonFlyBSD home page [new window]" target="_blank">DragonFlyBSD</a>', |
267 | # Other Unix, Unix-like |
268 | 'aix','<a href="http://www-1.ibm.com/servers/aix/" title="Aix home page [new window]" target="_blank">Aix</a>', |
269 | 'sunos','<a href="http://www.sun.com/software/solaris/" title="Sun Solaris home page [new window]" target="_blank">Sun Solaris</a>', |
270 | 'irix','<a href="http://www.sgi.com/products/software/irix/" title="Irix home page [new window]" target="_blank">Irix</a>', |
271 | 'osf','<a href="http://www.tru64.org/" title="OSF Unix home page [new window]" target="_blank">OSF Unix</a>', |
272 | 'hp\-ux','<a href="http://www.hp.com/products1/unix/operating/" title="HP UX home page [new window]" target="_blank">HP UX</a>', |
273 | 'unix','Unknown Unix system', |
274 | # Other famous OS |
275 | 'beos','<a href="http://www.beincorporated.com/" title="BeOS home page [new window]" target="_blank">BeOS</a>', |
276 | 'os/2','<a href="http://www.ibm.com/software/os/warp/" title="OS/2 home page [new window]" target="_blank">OS/2</a>', |
277 | 'amigaos','<a href="http://www.amiga.com/amigaos/" title="AmigaOS home page [new window]" target="_blank">AmigaOS</a>', |
278 | 'atari','<a href="http://www.atarimuseum.com/computers/computers.html" title="Atari home page [new window]" target="_blank">Atari</a>', |
279 | 'vms','<a href="http://h71000.www7.hp.com/" title="VMS home page [new window]" target="_blank">VMS</a>', |
280 | 'commodore','<a href="http://en.wikipedia.org/wiki/Commodore_64" title="Commodore 64 wikipedia page [new window]" target="_blank">Commodore 64</a>', |
281 | 'j2me','<a href="http://mobile.java.com/" title="Java Mobile home page [new window]" target="_blank">Java Mobile</a>', |
282 | 'java','<a href="http://www.java.com/" title="Java home page [new window]" target="_blank">Java</a>', |
283 | 'qnx','<a href="http://www.qnx.com/products/neutrino_rtos/" title="QNX home page [new window]" target="_blank">QNX</a>', |
284 | 'inferno','<a href="http://www.vitanuova.com/inferno/" title="Inferno home page [new window]" target="_blank">Inferno</a>', |
285 | 'palmos','<a href="http://www.palm.com/" title="Palm OS home page [new window]" target="_blank">Palm OS</a>', |
286 | 'syllable','<a href="http://www.syllable.org/" title="Syllable home page [new window]" target="_blank">Syllable</a>', |
287 | # Miscellanous OS |
288 | 'blackberry','BlackBerry', |
289 | 'cp/m','<a href="http://www.digitalresearch.biz/CPM.HTM" title="CP/M home page [new window]" target="_blank">CP/M</a>', |
290 | 'crayos','<a href="http://www.cray.com/" title="CrayOS home page [new window]" target="_blank">CrayOS</a>', |
291 | 'dreamcast','<a href="http://www.sega.com/" title="Dreamcast home page [new window]" target="_blank">Dreamcast</a>', |
292 | 'ios','<a href="http://www.apple.com/" title="Apple home page [new window]" target="_blank">iOS (iPhone/iPod/iPad/...)</a>', |
293 | 'riscos','<a href="http://www.riscos.com/" title="RISC OS home page [new window]" target="_blank">RISC OS</a>', |
294 | 'symbian','<a href="http://www.symbian.com/" title="Symbian OS home page [new window]" target="_blank">Symbian OS</a>', |
295 | 'webtv','<a href="http://www.webtv.com/" title="WebTV home page [new window]" target="_blank">WebTV</a>', |
296 | 'psp', '<a href="http://www.playstation.com/" title="Sony PlayStation home page [new window]" target="_blank">Sony PlayStation</a>', |
297 | 'wii', '<a href="http://wii.opera.com/" title="Opera for Nintendo Wii home page [new window]" target="_blank">Nintendo Wii</a>' |
298 | ); |
299 | |
300 | |
301 | 1; |
302 | |
303 | |
304 | # Informations from microsoft for detecting windows version |
305 | # Windows 95 retail, OEM 4.00.950 7/11/95 |
306 | # Windows 95 retail SP1 4.00.950A 7/11/95-12/31/95 |
307 | # OEM Service Release 2 4.00.1111* (4.00.950B) 8/24/96 |
308 | # OEM Service Release 2.1 4.03.1212-1214* (4.00.950B) 8/24/96-8/27/97 |
309 | # OEM Service Release 2.5 4.03.1214* (4.00.950C) 8/24/96-11/18/97 |
310 | # Windows 98 retail, OEM 4.10.1998 5/11/98 |
311 | # Windows 98 Second Edition 4.10.2222A 4/23/99 |
312 | # Windows Me 4.90.3000 |