Permalink
Browse files

Initial import from SVN

  • Loading branch information...
Luca Deri Luca Deri
Luca Deri authored and Luca Deri committed Apr 19, 2015
1 parent 7fa4694 commit 2e5ceac844c32fb52f4f3042be5b872f8b0b4ff0
Showing with 47,689 additions and 1 deletion.
  1. +165 −0 COPYING
  2. +16 −0 ChangeLog
  3. +365 −0 INSTALL
  4. +8 −0 Makefile.am
  5. +58 −1 README.md
  6. +18 −0 README.protocols
  7. +7 −0 autogen.sh
  8. +84 −0 configure.ac
  9. BIN doc/nDPI_QuickStartGuide.pages
  10. BIN doc/nDPI_QuickStartGuide.pdf
  11. +12 −0 example/Makefile.am
  12. +20 −0 example/Win32/pcapExample.sln
  13. BIN example/Win32/pcapExample.suo
  14. +11 −0 example/Win32/pcapExample/pcapExample.cpp
  15. +230 −0 example/Win32/pcapExample/pcapExample.vcxproj
  16. +462 −0 example/Win32/pcapExample/pcapExample.vcxproj.filters
  17. +3 −0 example/Win32/pcapExample/pcapExample.vcxproj.user
  18. +1,788 −0 example/ndpiReader.c
  19. +18 −0 example/protos.txt
  20. +1 −0 lib
  21. +10 −0 libndpi.pc.in
  22. +27 −0 libndpi.sym
  23. +332 −0 m4/ax_pthread.m4
  24. +4 −0 ndpi-netfilter/README
  25. +11 −0 packages/homebrew/README
  26. +23 −0 packages/homebrew/ndpi.rb
  27. +42 −0 packages/ubuntu/Makefile
  28. +42 −0 packages/ubuntu/Makefile.in
  29. +2,863 −0 packages/ubuntu/configure
  30. +32 −0 packages/ubuntu/configure.in
  31. +340 −0 packages/ubuntu/debian/COPYRIGHT
  32. +2 −0 packages/ubuntu/debian/README
  33. +4 −0 packages/ubuntu/debian/changelog.in
  34. +1 −0 packages/ubuntu/debian/compat
  35. 0 packages/ubuntu/debian/conffiles
  36. +28 −0 packages/ubuntu/debian/control.in
  37. +1 −0 packages/ubuntu/debian/dirs
  38. +1 −0 packages/ubuntu/debian/docs
  39. +1 −0 packages/ubuntu/debian/files.in
  40. +34 −0 packages/ubuntu/debian/postinst
  41. +13 −0 packages/ubuntu/debian/postrm
  42. +35 −0 packages/ubuntu/debian/preinst
  43. +14 −0 packages/ubuntu/debian/prerm
  44. +59 −0 packages/ubuntu/debian/rules
  45. +9 −0 src/include/Makefile.am
  46. +188 −0 src/include/linux_compat.h
  47. +242 −0 src/include/ndpi_api.h
  48. +309 −0 src/include/ndpi_define.h
  49. +156 −0 src/include/ndpi_main.h
  50. +244 −0 src/include/ndpi_protocol_ids.h
  51. +181 −0 src/include/ndpi_protocols.h
  52. +852 −0 src/include/ndpi_typedefs.h
  53. +53 −0 src/include/ndpi_unix.h
  54. +73 −0 src/include/ndpi_win32.h
  55. +158 −0 src/lib/Makefile.am
  56. +7,410 −0 src/lib/ndpi_content_match.c.inc
  57. +5,706 −0 src/lib/ndpi_main.c
  58. +75 −0 src/lib/protocols/afp.c
  59. +283 −0 src/lib/protocols/aimini.c
  60. +57 −0 src/lib/protocols/applejuice.c
  61. +102 −0 src/lib/protocols/armagetron.c
  62. +93 −0 src/lib/protocols/attic/flash.c
  63. +469 −0 src/lib/protocols/attic/ftp.c
  64. +180 −0 src/lib/protocols/attic/manolito.c
  65. +86 −0 src/lib/protocols/attic/popo.c
  66. +123 −0 src/lib/protocols/attic/secondlife.c
  67. +67 −0 src/lib/protocols/ayiya.c
  68. +118 −0 src/lib/protocols/battlefield.c
  69. +57 −0 src/lib/protocols/bgp.c
  70. +469 −0 src/lib/protocols/bittorrent.c
  71. +509 −0 src/lib/protocols/btlib.c
  72. +147 −0 src/lib/protocols/btlib.h
  73. +70 −0 src/lib/protocols/ciscovpn.c
  74. +93 −0 src/lib/protocols/citrix.c
  75. +53 −0 src/lib/protocols/collectd.c
  76. +48 −0 src/lib/protocols/corba.c
  77. +85 −0 src/lib/protocols/crossfire.c
  78. +54 −0 src/lib/protocols/dcerpc.c
  79. +60 −0 src/lib/protocols/dhcp.c
  80. +60 −0 src/lib/protocols/dhcpv6.c
  81. +474 −0 src/lib/protocols/directconnect.c
  82. +737 −0 src/lib/protocols/directdownloadlink.c
  83. +300 −0 src/lib/protocols/dns.c
  84. +149 −0 src/lib/protocols/dofus.c
  85. +77 −0 src/lib/protocols/dropbox.c
  86. +211 −0 src/lib/protocols/edonkey.c
  87. +82 −0 src/lib/protocols/fasttrack.c
  88. +97 −0 src/lib/protocols/fiesta.c
  89. +83 −0 src/lib/protocols/filetopia.c
  90. +122 −0 src/lib/protocols/florensia.c
  91. +999 −0 src/lib/protocols/ftp_control.c
  92. +275 −0 src/lib/protocols/ftp_data.c
  93. +375 −0 src/lib/protocols/gnutella.c
  94. +85 −0 src/lib/protocols/gtp.c
  95. +71 −0 src/lib/protocols/guildwars.c
  96. +97 −0 src/lib/protocols/h323.c
  97. +65 −0 src/lib/protocols/halflife2_and_mods.c
  98. +981 −0 src/lib/protocols/http.c
  99. +54 −0 src/lib/protocols/http_activesync.c
  100. +94 −0 src/lib/protocols/iax.c
  101. +91 −0 src/lib/protocols/icecast.c
  102. +294 −0 src/lib/protocols/imesh.c
  103. +112 −0 src/lib/protocols/ipp.c
  104. +804 −0 src/lib/protocols/irc.c
  105. +311 −0 src/lib/protocols/jabber.c
  106. +82 −0 src/lib/protocols/kerberos.c
  107. +65 −0 src/lib/protocols/kontiki.c
  108. +101 −0 src/lib/protocols/ldap.c
  109. +87 −0 src/lib/protocols/lotus_notes.c
  110. +293 −0 src/lib/protocols/mail_imap.c
  111. +204 −0 src/lib/protocols/mail_pop.c
  112. +180 −0 src/lib/protocols/mail_smtp.c
  113. +87 −0 src/lib/protocols/maplestory.c
  114. +146 −0 src/lib/protocols/mdns.c
  115. +165 −0 src/lib/protocols/meebo.c
  116. +49 −0 src/lib/protocols/megaco.c
  117. +102 −0 src/lib/protocols/mgcp.c
  118. +80 −0 src/lib/protocols/mms.c
  119. +563 −0 src/lib/protocols/msn.c
  120. +61 −0 src/lib/protocols/mssql.c
  121. +70 −0 src/lib/protocols/mysql.c
  122. +368 −0 src/lib/protocols/netbios.c
  123. +93 −0 src/lib/protocols/netflow.c
  124. +86 −0 src/lib/protocols/nfs.c
  125. +52 −0 src/lib/protocols/noe.c
  126. +108 −0 src/lib/protocols/non_tcp_udp.c
  127. +68 −0 src/lib/protocols/ntp.c
  128. +56 −0 src/lib/protocols/openft.c
  129. +69 −0 src/lib/protocols/openvpn.c
  130. +62 −0 src/lib/protocols/oracle.c
  131. +273 −0 src/lib/protocols/oscar.c
  132. +157 −0 src/lib/protocols/pando.c
  133. +55 −0 src/lib/protocols/pcanywhere.c
  134. +120 −0 src/lib/protocols/postgres.c
  135. +220 −0 src/lib/protocols/pplive.c
  136. +105 −0 src/lib/protocols/ppstream.c
  137. +61 −0 src/lib/protocols/pptp.c
  138. +665 −0 src/lib/protocols/qq.c
  139. +91 −0 src/lib/protocols/quake.c
  140. +76 −0 src/lib/protocols/radius.c
  141. +56 −0 src/lib/protocols/rdp.c
  142. +92 −0 src/lib/protocols/redis.c
  143. +56 −0 src/lib/protocols/rsync.c
  144. +52 −0 src/lib/protocols/rtcp.c
  145. +92 −0 src/lib/protocols/rtmp.c
  146. +325 −0 src/lib/protocols/rtp.c
  147. +120 −0 src/lib/protocols/rtsp.c
  148. +49 −0 src/lib/protocols/sflow.c
  149. +107 −0 src/lib/protocols/shoutcast.c
  150. +200 −0 src/lib/protocols/sip.c
  151. +63 −0 src/lib/protocols/skinny.c
  152. +122 −0 src/lib/protocols/skype.c
  153. +57 −0 src/lib/protocols/smb.c
  154. +126 −0 src/lib/protocols/snmp.c
  155. +96 −0 src/lib/protocols/socks4.c
  156. +92 −0 src/lib/protocols/socks5.c
  157. +80 −0 src/lib/protocols/socrates.c
  158. +219 −0 src/lib/protocols/sopcast.c
  159. +286 −0 src/lib/protocols/soulseek.c
  160. +128 −0 src/lib/protocols/spotify.c
  161. +70 −0 src/lib/protocols/ssdp.c
  162. +68 −0 src/lib/protocols/ssh.c
  163. +637 −0 src/lib/protocols/ssl.c
  164. +58 −0 src/lib/protocols/stealthnet.c
  165. +286 −0 src/lib/protocols/steam.c
  166. +188 −0 src/lib/protocols/stun.c
  167. +130 −0 src/lib/protocols/syslog.c
  168. +78 −0 src/lib/protocols/tcp_udp.c
  169. +91 −0 src/lib/protocols/tds.c
  170. +65 −0 src/lib/protocols/teamspeak.c
  171. +100 −0 src/lib/protocols/teamviewer.c
  172. +68 −0 src/lib/protocols/telegram.c
  173. +107 −0 src/lib/protocols/telnet.c
  174. +70 −0 src/lib/protocols/tftp.c
  175. +211 −0 src/lib/protocols/thunder.c
  176. +109 −0 src/lib/protocols/tor.c
  177. +78 −0 src/lib/protocols/tvants.c
  178. +153 −0 src/lib/protocols/tvuplayer.c
  179. +63 −0 src/lib/protocols/twitter.c
  180. +105 −0 src/lib/protocols/usenet.c
  181. +116 −0 src/lib/protocols/veohtv.c
  182. +68 −0 src/lib/protocols/vhua.c
  183. +48 −0 src/lib/protocols/viber.c
  184. +45 −0 src/lib/protocols/vmware.c
  185. +67 −0 src/lib/protocols/vnc.c
  186. +100 −0 src/lib/protocols/warcraft3.c
  187. +60 −0 src/lib/protocols/whoisdas.c
  188. +104 −0 src/lib/protocols/winmx.c
  189. +58 −0 src/lib/protocols/world_of_kung_fu.c
  190. +210 −0 src/lib/protocols/world_of_warcraft.c
  191. +103 −0 src/lib/protocols/xbox.c
  192. +69 −0 src/lib/protocols/xdmcp.c
  193. +434 −0 src/lib/protocols/yahoo.c
  194. +235 −0 src/lib/protocols/zattoo.c
  195. +100 −0 src/lib/protocols/zmq.c
  196. +135 −0 src/lib/third_party/include/actypes.h
  197. +69 −0 src/lib/third_party/include/ahocorasick.h
  198. +66 −0 src/lib/third_party/include/node.h
  199. +302 −0 src/lib/third_party/include/patricia.h
  200. +6 −0 src/lib/third_party/include/sort.h
  201. +391 −0 src/lib/third_party/src/ahocorasick.c
  202. +260 −0 src/lib/third_party/src/node.c
  203. +1,076 −0 src/lib/third_party/src/patricia.c
  204. +130 −0 src/lib/third_party/src/sort.c
165 COPYING
@@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
@@ -0,0 +1,16 @@
2014-03-21:
- improved support for eDonkey/eMule/Kademlia
- improved support for PPLive
2014-03-20:
- code optimizations
- consistency improvements
- added support for new applications: Pando Media Booster
- improved support for Steam
- added support for new web services: Wikipedia, MSN, Amazon, eBay, CNN
2014-03-19:
- added new protocols: FTP, code improvements
2014-03-17:
- added new protocols: SOCKSv4, SOCKSv5, RTMP
Oops, something went wrong.

0 comments on commit 2e5ceac

Please sign in to comment.