~ubuntu-branches/ubuntu/wily/ntopng/wily-proposed

« back to all changes in this revision

Viewing changes to nDPI/src/include/ndpi_protocols_osdpi.h

  • Committer: Package Import Robot
  • Author(s): Ludovico Cavedon
  • Date: 2014-07-27 16:13:47 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140727161347-0i8n5upu69ibq5d2
Tags: 1.2.0+dfsg1-1
* Imported Upstream version 1.2.0+dfsg1
* Update watch rule for new upstream naming convention.
* get-roig-source: Support both +svn and ~svn in version.
* Remove external hiredis from orig tarball.
* Remove Rickshaw from orig tarball.
* Remove documentation without source from orig tarball and insert an http
* Remove corrupted unused serializeCFJSON-0.1.js from orig tarball.
  link to it in README.Debian.
* Remove nDPI from orig tarball.
* Remove all debian/missing-sources files that are now included not-minified
  by upstream. Remove build-deps on node-uglify and cleancss.
* Remove references to third-party/redis-lua (removed upstream).
* Update copyright.
* Refresh patches and remove those merged upstream.
* Add external-hiredis.patch to use system libhiredis.
* Add rickshaw-keep-one.patch to remove references to additional rickshaw
  library.
* Add no-svn.patch to drop requirement on SVN.
* Add manpage.patch to fix usage of minus signs, hyphens, and dashes,
  missing space and line breaks.
* Add rickshaw.patch to use single rickshaw.{css,js} files.
* Split library removing part of build-flags.patch into remove-libs.patch.
* Rename debian-defaults.patch to path-defaults.patch and use installation
  path from configure.
* Use dh-autoreconf instead of autotools-dev.
* Add build-dep on libsqlite3-dev.
* Update build-dep on newer libndpi-dev.
* Cleanup of dh_install rules.
* Fix typo in font-awesome symlink path and remove and updates symlink links
  in ntopng-data/
* Remove executable bit to non executable files.
* Use system linjs-jquery tablesorter and form.
* Add Build-Dep on libhiredis-dev.
* Remove empty httpdocs/ssl directory.
* Add systemd support.
* Stop supporting ENABLED in /etc/default/ntopng and debian/NEWS to notify
  users.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * ndpi_protocols_osdpi.h
3
 
 *
4
 
 * Copyright (C) 2009-2011 by ipoque GmbH
5
 
 * Copyright (C) 2011-13 - ntop.org
6
 
 *
7
 
 * This file is part of nDPI, an open source deep packet inspection
8
 
 * library based on the OpenDPI and PACE technology by ipoque GmbH
9
 
 *
10
 
 * nDPI is free software: you can redistribute it and/or modify
11
 
 * it under the terms of the GNU Lesser General Public License as published by
12
 
 * the Free Software Foundation, either version 3 of the License, or
13
 
 * (at your option) any later version.
14
 
 *
15
 
 * nDPI is distributed in the hope that it will be useful,
16
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 
 * GNU Lesser General Public License for more details.
19
 
 *
20
 
 * You should have received a copy of the GNU Lesser General Public License
21
 
 * along with nDPI.  If not, see <http://www.gnu.org/licenses/>.
22
 
 *
23
 
 */
24
 
 
25
 
 
26
 
#ifndef __NDPI_API_INCLUDE_FILE__
27
 
 
28
 
#endif
29
 
 
30
 
#ifndef __NDPI_PROTOCOLS_DEFAULT_H__
31
 
#define __NDPI_PROTOCOLS_DEFAULT_H__
32
 
 
33
 
#ifdef __cplusplus
34
 
extern "C" {
35
 
#endif
36
 
 
37
 
//  #define NDPI_ENABLE_DEBUG_MESSAGES
38
 
 
39
 
#define NDPI_DETECTION_SUPPORT_IPV6
40
 
#define NDPI_PROTOCOL_HISTORY_SIZE                              3
41
 
 
42
 
#define NDPI_PROTOCOL_UNKNOWN                                   0
43
 
#define NDPI_PROTOCOL_FTP                                       1
44
 
#define NDPI_PROTOCOL_MAIL_POP                                  2
45
 
#define NDPI_PROTOCOL_MAIL_SMTP                                 3
46
 
#define NDPI_PROTOCOL_MAIL_IMAP                                 4
47
 
#define NDPI_PROTOCOL_DNS                                       5
48
 
#define NDPI_PROTOCOL_IPP                                       6
49
 
#define NDPI_PROTOCOL_HTTP                                      7
50
 
#define NDPI_PROTOCOL_MDNS                                      8
51
 
#define NDPI_PROTOCOL_NTP                                       9
52
 
#define NDPI_PROTOCOL_NETBIOS                                   10
53
 
#define NDPI_PROTOCOL_NFS                                       11
54
 
#define NDPI_PROTOCOL_SSDP                                      12
55
 
#define NDPI_PROTOCOL_BGP                                       13
56
 
#define NDPI_PROTOCOL_SNMP                                      14
57
 
#define NDPI_PROTOCOL_XDMCP                                     15
58
 
#define NDPI_PROTOCOL_SMB                                       16
59
 
#define NDPI_PROTOCOL_SYSLOG                                    17
60
 
#define NDPI_PROTOCOL_DHCP                                      18
61
 
#define NDPI_PROTOCOL_POSTGRES                                  19
62
 
#define NDPI_PROTOCOL_MYSQL                                     20
63
 
#define NDPI_PROTOCOL_TDS                                       21
64
 
#define NDPI_PROTOCOL_DIRECT_DOWNLOAD_LINK                      22
65
 
 
66
 
 
67
 
#define NDPI_PROTOCOL_MAIL_POPS                                 23
68
 
  //#define NDPI_PROTOCOL_I23V5                                 23
69
 
 
70
 
#define NDPI_PROTOCOL_APPLEJUICE                                24
71
 
#define NDPI_PROTOCOL_DIRECTCONNECT                             25
72
 
#define NDPI_PROTOCOL_SOCRATES                                  26
73
 
#define NDPI_PROTOCOL_WINMX                                     27
74
 
#define NDPI_PROTOCOL_VMWARE                                    28
75
 
  //#define NDPI_PROTOCOL_PANDO                                 29
76
 
#define NDPI_PROTOCOL_MAIL_SMTPS                                29
77
 
#define NDPI_PROTOCOL_FILETOPIA                                 30
78
 
#define NDPI_PROTOCOL_IMESH                                     31
79
 
#define NDPI_PROTOCOL_KONTIKI                                   32
80
 
#define NDPI_PROTOCOL_OPENFT                                    33
81
 
#define NDPI_PROTOCOL_FASTTRACK                                 34
82
 
#define NDPI_PROTOCOL_GNUTELLA                                  35
83
 
#define NDPI_PROTOCOL_EDONKEY                                   36
84
 
#define NDPI_PROTOCOL_BITTORRENT                                37
85
 
#define NDPI_PROTOCOL_OFF                                       38
86
 
#define NDPI_PROTOCOL_AVI                                       39
87
 
#define NDPI_PROTOCOL_FLASH                                     40
88
 
#define NDPI_PROTOCOL_OGG                                       41
89
 
#define NDPI_PROTOCOL_MPEG                                      42
90
 
#define NDPI_PROTOCOL_QUICKTIME                                 43
91
 
#define NDPI_PROTOCOL_REALMEDIA                                 44
92
 
#define NDPI_PROTOCOL_WINDOWSMEDIA                              45
93
 
#define NDPI_PROTOCOL_MMS                                       46
94
 
#define NDPI_PROTOCOL_XBOX                                      47
95
 
#define NDPI_PROTOCOL_QQ                                        48
96
 
#define NDPI_PROTOCOL_MOVE                                      49
97
 
#define NDPI_PROTOCOL_RTSP                                      50
98
 
//#define NDPI_PROTOCOL_FEIDIAN                                 51
99
 
#define NDPI_PROTOCOL_MAIL_IMAPS                                51
100
 
#define NDPI_PROTOCOL_ICECAST                                   52
101
 
#define NDPI_PROTOCOL_PPLIVE                                    53
102
 
#define NDPI_PROTOCOL_PPSTREAM                                  54
103
 
#define NDPI_PROTOCOL_ZATTOO                                    55
104
 
#define NDPI_PROTOCOL_SHOUTCAST                                 56
105
 
#define NDPI_PROTOCOL_SOPCAST                                   57
106
 
#define NDPI_PROTOCOL_TVANTS                                    58
107
 
#define NDPI_PROTOCOL_TVUPLAYER                                 59
108
 
#define NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV                   60
109
 
#define NDPI_PROTOCOL_QQLIVE                                    61
110
 
#define NDPI_PROTOCOL_THUNDER                                   62
111
 
#define NDPI_PROTOCOL_SOULSEEK                                  63
112
 
#define NDPI_PROTOCOL_SSL_NO_CERT                               64 /* SSL without certificate (Skype, Ultrasurf?) - ntop.org */
113
 
#define NDPI_PROTOCOL_IRC                                       65
114
 
#define NDPI_PROTOCOL_POPO                                      66
115
 
#define NDPI_PROTOCOL_UNENCRYPED_JABBER                         67
116
 
#define NDPI_PROTOCOL_MSN                                       68
117
 
#define NDPI_PROTOCOL_OSCAR                                     69
118
 
#define NDPI_PROTOCOL_YAHOO                                     70
119
 
#define NDPI_PROTOCOL_BATTLEFIELD                               71
120
 
#define NDPI_PROTOCOL_QUAKE                                     72
121
 
#define NDPI_PROTOCOL_VRRP                                      73
122
 
#define NDPI_PROTOCOL_STEAM                                     74
123
 
#define NDPI_PROTOCOL_HALFLIFE2                                 75
124
 
#define NDPI_PROTOCOL_WORLDOFWARCRAFT                           76
125
 
#define NDPI_PROTOCOL_TELNET                                    77
126
 
#define NDPI_PROTOCOL_STUN                                      78
127
 
#define NDPI_PROTOCOL_IPSEC                                     79
128
 
#define NDPI_PROTOCOL_GRE                                       80
129
 
#define NDPI_PROTOCOL_ICMP                                      81
130
 
#define NDPI_PROTOCOL_IGMP                                      82
131
 
#define NDPI_PROTOCOL_EGP                                       83
132
 
#define NDPI_PROTOCOL_SCTP                                      84
133
 
#define NDPI_PROTOCOL_OSPF                                      85
134
 
#define NDPI_PROTOCOL_IP_IN_IP                                  86
135
 
#define NDPI_PROTOCOL_RTP                                       87
136
 
#define NDPI_PROTOCOL_RDP                                       88
137
 
#define NDPI_PROTOCOL_VNC                                       89
138
 
#define NDPI_PROTOCOL_PCANYWHERE                                90
139
 
#define NDPI_PROTOCOL_SSL                                       91
140
 
#define NDPI_PROTOCOL_SSH                                       92
141
 
#define NDPI_PROTOCOL_USENET                                    93
142
 
#define NDPI_PROTOCOL_MGCP                                      94
143
 
#define NDPI_PROTOCOL_IAX                                       95
144
 
#define NDPI_PROTOCOL_TFTP                                      96
145
 
#define NDPI_PROTOCOL_AFP                                       97
146
 
#define NDPI_PROTOCOL_STEALTHNET                                98
147
 
#define NDPI_PROTOCOL_AIMINI                                    99
148
 
#define NDPI_PROTOCOL_SIP                                       100
149
 
#define NDPI_PROTOCOL_TRUPHONE                                  101
150
 
#define NDPI_PROTOCOL_ICMPV6                                    102
151
 
#define NDPI_PROTOCOL_DHCPV6                                    103
152
 
#define NDPI_PROTOCOL_ARMAGETRON                                104
153
 
#define NDPI_PROTOCOL_CROSSFIRE                                 105
154
 
#define NDPI_PROTOCOL_DOFUS                                     106
155
 
#define NDPI_PROTOCOL_FIESTA                                    107
156
 
#define NDPI_PROTOCOL_FLORENSIA                                 108
157
 
#define NDPI_PROTOCOL_GUILDWARS                                 109
158
 
#define NDPI_PROTOCOL_HTTP_APPLICATION_ACTIVESYNC               110
159
 
#define NDPI_PROTOCOL_KERBEROS                                  111
160
 
#define NDPI_PROTOCOL_LDAP                                      112
161
 
#define NDPI_PROTOCOL_MAPLESTORY                                113
162
 
#define NDPI_PROTOCOL_MSSQL                                     114
163
 
#define NDPI_PROTOCOL_PPTP                                      115
164
 
#define NDPI_PROTOCOL_WARCRAFT3                                 116
165
 
#define NDPI_PROTOCOL_WORLD_OF_KUNG_FU                          117
166
 
#define NDPI_PROTOCOL_MEEBO                                     118
167
 
#define NDPI_PROTOCOL_FACEBOOK                                  119
168
 
#define NDPI_PROTOCOL_TWITTER                                   120
169
 
#define NDPI_PROTOCOL_DROPBOX                                   121
170
 
#define NDPI_PROTOCOL_GMAIL                                     122
171
 
#define NDPI_PROTOCOL_GOOGLE_MAPS                               123
172
 
#define NDPI_PROTOCOL_YOUTUBE                                   124
173
 
#define NDPI_PROTOCOL_SKYPE                                     125
174
 
#define NDPI_PROTOCOL_GOOGLE                                    126
175
 
#define NDPI_PROTOCOL_DCERPC                                    127
176
 
#define NDPI_PROTOCOL_NETFLOW                                   128
177
 
#define NDPI_PROTOCOL_SFLOW                                     129
178
 
#define NDPI_PROTOCOL_HTTP_CONNECT                              130
179
 
#define NDPI_PROTOCOL_HTTP_PROXY                                131
180
 
#define NDPI_PROTOCOL_CITRIX                                    132
181
 
#define NDPI_PROTOCOL_NETFLIX                                   133
182
 
#define NDPI_PROTOCOL_LASTFM                                    134
183
 
#define NDPI_PROTOCOL_GROOVESHARK                               135
184
 
#define NDPI_PROTOCOL_SKYFILE_PREPAID                           136
185
 
#define NDPI_PROTOCOL_SKYFILE_RUDICS                            137
186
 
#define NDPI_PROTOCOL_SKYFILE_POSTPAID                          138
187
 
#define NDPI_PROTOCOL_CITRIX_ONLINE                             139
188
 
#define NDPI_PROTOCOL_APPLE                                     140
189
 
#define NDPI_PROTOCOL_WEBEX                                     141
190
 
#define NDPI_PROTOCOL_WHATSAPP                                  142
191
 
#define NDPI_PROTOCOL_APPLE_ICLOUD                              143
192
 
#define NDPI_PROTOCOL_VIBER                                     144
193
 
#define NDPI_PROTOCOL_APPLE_ITUNES                              145
194
 
#define NDPI_PROTOCOL_RADIUS                                    146
195
 
#define NDPI_PROTOCOL_WINDOWS_UPDATE                            147 /* Thierry Laurion */
196
 
#define NDPI_PROTOCOL_TEAMVIEWER                                148 /* xplico.org */
197
 
#define NDPI_PROTOCOL_TUENTI                                    149
198
 
#define NDPI_PROTOCOL_LOTUS_NOTES                               150
199
 
#define NDPI_PROTOCOL_SAP                                       151
200
 
#define NDPI_PROTOCOL_GTP                                       152
201
 
#define NDPI_PROTOCOL_UPNP                                      153
202
 
#define NDPI_PROTOCOL_LLMNR                                     154
203
 
#define NDPI_PROTOCOL_REMOTE_SCAN                               155
204
 
#define NDPI_PROTOCOL_SPOTIFY                                   156
205
 
#define NDPI_PROTOCOL_WEBM                                      157
206
 
#define NDPI_PROTOCOL_H323                                      158 /* Remy Mudingay <mudingay@ill.fr> */
207
 
#define NDPI_PROTOCOL_OPENVPN                                   159 /* Remy Mudingay <mudingay@ill.fr> */
208
 
#define NDPI_PROTOCOL_NOE                                       160 /* Remy Mudingay <mudingay@ill.fr> */
209
 
#define NDPI_PROTOCOL_CISCOVPN                                  161 /* Remy Mudingay <mudingay@ill.fr> */
210
 
#define NDPI_PROTOCOL_TEAMSPEAK                                 162 /* Remy Mudingay <mudingay@ill.fr> */
211
 
#define NDPI_PROTOCOL_TOR                                       163 /* Remy Mudingay <mudingay@ill.fr> */
212
 
#define NDPI_PROTOCOL_SKINNY                                    164 /* Remy Mudingay <mudingay@ill.fr> */
213
 
#define NDPI_PROTOCOL_RTCP                                      165 /* Remy Mudingay <mudingay@ill.fr> */
214
 
#define NDPI_PROTOCOL_RSYNC                                     166 /* Remy Mudingay <mudingay@ill.fr> */
215
 
#define NDPI_PROTOCOL_ORACLE                                    167 /* Remy Mudingay <mudingay@ill.fr> */
216
 
#define NDPI_PROTOCOL_CORBA                                     168 /* Remy Mudingay <mudingay@ill.fr> */
217
 
#define NDPI_PROTOCOL_UBUNTUONE                                 169 /* Remy Mudingay <mudingay@ill.fr> */
218
 
#define NDPI_PROTOCOL_WHOIS_DAS                                 170
219
 
 
220
 
 
221
 
/* UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE */
222
 
#define NDPI_LAST_IMPLEMENTED_PROTOCOL                          170
223
 
 
224
 
#define NDPI_MAX_SUPPORTED_PROTOCOLS (NDPI_LAST_IMPLEMENTED_PROTOCOL + 1)
225
 
#define NDPI_MAX_NUM_CUSTOM_PROTOCOLS                           (NDPI_NUM_BITS-NDPI_LAST_IMPLEMENTED_PROTOCOL)
226
 
#ifdef __cplusplus
227
 
}
228
 
#endif
229
 
#endif