debian/0000755000000000000000000000000012240353331007162 5ustar debian/compat0000644000000000000000000000000212210727621010364 0ustar 9 debian/libndpi-dev.install0000644000000000000000000000011312210727621012746 0ustar usr/include/* usr/lib/*/libndpi.a usr/lib/*/libndpi.so usr/lib/*/pkgconfig debian/libndpi1.install0000644000000000000000000000002712210727621012257 0ustar usr/lib/*/libndpi.so.* debian/source/0000755000000000000000000000000012210731622010462 5ustar debian/source/format0000644000000000000000000000001412210727621011674 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000010612210727621010214 0ustar # Nothing to watch, there's no tarball release, only SVN without tags debian/copyright0000644000000000000000000000607012210735530011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: nDPI Source: https://svn.ntop.org/svn/ntop/trunk/nDPI/ Files: * Copyright: 2011-2013 ntop.org 2013 Remy Mudingay 2012 Gianluca Costa xplico.org 2009-2011 ipoque GmbH License: LGPL-3.0+ Files: src/include/ndpi_credis.h src/lib/ndpi_credis.c Copyright: 2009-2010 Jonas Romfelt License: BSD-3-clause Files: src/lib/third_party/* Copyright: 2010-2012 Kamiar Kanani License: LGPL-3.0+ Files: src/lib/third_party/include/sort.h src/lib/third_party/src/sort.c Copyright: 2005 Matt Mackall License: LGPL-3.0+ Files: debian/* Copyright: 2013 Raphaël Hertzog 2013 Ludovico Cavedon License: LGPL-3.0+ License: LGPL-3.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-3". License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Ndpi_Credis nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/patches/0000755000000000000000000000000012211057652010616 5ustar debian/patches/series0000644000000000000000000000003212211057524012024 0ustar include-install-dir.patch debian/patches/include-install-dir.patch0000644000000000000000000000155212211057652015505 0ustar Description: install new header files and fix name of installed include directory Author: Ludovico Cavedon Index: ndpi/src/include/Makefile.am =================================================================== --- ndpi.orig/src/include/Makefile.am 2013-09-01 23:16:20.163479792 +0200 +++ ndpi/src/include/Makefile.am 2013-09-02 01:38:30.887098777 +0200 @@ -1,9 +1,15 @@ -library_includedir=$(includedir)/libndpi-1.4/libndpi +library_includedir=$(includedir)/libndpi-@VERSION@/libndpi -library_include_HEADERS = ndpi_api.h \ +library_include_HEADERS = \ + linux_compat.h \ + ndpi_api.h \ + ndpi_credis.h \ ndpi_debug_functions.h \ ndpi_define.h \ ndpi_macros.h \ + ndpi_main.h \ + ndpi_protocol_history.h \ ndpi_protocols_osdpi.h \ - ndpi_public_functions.h + ndpi_public_functions.h \ + ndpi_structs.h debian/rules0000755000000000000000000000134012231065621010242 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf # Adapted from http://wiki.debian.org/SandroTosi/Svn_get-orig-source PACKAGE = ndpi SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') SVN_REVISION := $(shell echo $(SRC_VERSION) | cut -d + -f 2 | sed 's/svn//' ) TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz UPSTREAM_SVN_REPO = https://svn.ntop.org/svn/ntop/trunk/nDPI/ get-orig-source: rm -rf get-orig-source ../$(TARBALL) mkdir get-orig-source svn export -r $(SVN_REVISION) $(UPSTREAM_SVN_REPO) get-orig-source/$(PACKAGE)-$(SRC_VERSION) GZIP='--best --no-name' tar czf ../$(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION) rm -rf get-orig-source .PHONY: get-orig-source debian/control0000644000000000000000000000377112231071320010570 0ustar Source: ndpi Section: libs Priority: optional Maintainer: Ludovico Cavedon Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf Standards-Version: 3.9.4 Homepage: http://www.ntop.org/products/ndpi/ Vcs-Git: git://anonscm.debian.org/collab-maint/ndpi.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/ndpi.git Package: libndpi-dev Section: libdevel Architecture: any Depends: libndpi1 (= ${binary:Version}), ${misc:Depends} Description: extensible deep packet inspection library - development files nDPI is a ntop-maintained superset of the popular OpenDPI library. Released under the LGPL license, its goal is to extend the original library by adding new protocols that are otherwise available only on the paid version of OpenDPI. . nDPI has also been modified to be suitable for traffic monitoring applications, by disabling specific features that slow down the DPI engine while being them un-necessary for network traffic monitoring. . With nDPI, it is possible to both detect known protocols on non-standard ports (e.g. detect http non ports other than 80), and also the opposite. . This package contains the static library and compilation headers. Package: libndpi1 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: extensible deep packet inspection library - shared library nDPI is a ntop-maintained superset of the popular OpenDPI library. Released under the LGPL license, its goal is to extend the original library by adding new protocols that are otherwise available only on the paid version of OpenDPI. . nDPI has also been modified to be suitable for traffic monitoring applications, by disabling specific features that slow down the DPI engine while being them un-necessary for network traffic monitoring. . With nDPI, it is possible to both detect known protocols on non-standard ports (e.g. detect http non ports other than 80), and also the opposite. . This package contains the shared library. debian/changelog0000644000000000000000000000067512240353262011047 0ustar ndpi (1.4.0+svn6932-1) unstable; urgency=low * New upstream release (synced with ntopng 1.1). * Update symbols file. * Remove unused substitution variable in control file. -- Ludovico Cavedon Mon, 11 Nov 2013 23:20:11 -0800 ndpi (1.4.0+svn6712-1) unstable; urgency=low * Initial release. Thanks to Raphaël Hertzog. (Closes: #721551) -- Ludovico Cavedon Sun, 01 Sep 2013 23:06:24 +0200 debian/libndpi1.symbols0000644000000000000000000002235512240353010012277 0ustar libndpi.so.1 libndpi1 #MINVER# NDPI_BITMASK_COMPARE@Base 1.4.0+svn6880 NDPI_BITMASK_IS_EMPTY@Base 1.4.0+svn6880 NDPI_DUMP_BITMASK@Base 1.4.0+svn6880 ac_automata_add@Base 1.4.0+svn6712 ac_automata_display@Base 1.4.0+svn6712 ac_automata_finalize@Base 1.4.0+svn6712 ac_automata_init@Base 1.4.0+svn6712 ac_automata_release@Base 1.4.0+svn6712 ac_automata_reset@Base 1.4.0+svn6712 ac_automata_search@Base 1.4.0+svn6712 add_skype_connection@Base 1.4.0+svn6712 getSSLcertificate@Base 1.4.0+svn6712 host_match@Base 1.4.0+svn6712 is_skype_connection@Base 1.4.0+svn6712 lru_allocCacheNumericNode@Base 1.4.0+svn6712 lru_allocCacheStringNode@Base 1.4.0+svn6712 ndpi_add_host_url_subprotocol_to_automa@Base 1.4.0+svn6712 ndpi_add_to_lru_cache_num@Base 1.4.0+svn6712 ndpi_add_to_lru_cache_str@Base 1.4.0+svn6712 ndpi_add_to_lru_cache_str_timeout@Base 1.4.0+svn6712 ndpi_apply_flow_protocol_to_packet@Base 1.4.0+svn6712 ndpi_build_default_ports@Base 1.4.0+svn6712 ndpi_build_default_ports_range@Base 1.4.0+svn6712 ndpi_bytestream_dec_or_hex_to_number64@Base 1.4.0+svn6712 ndpi_bytestream_dec_or_hex_to_number@Base 1.4.0+svn6712 ndpi_bytestream_to_ipv4@Base 1.4.0+svn6712 ndpi_bytestream_to_number64@Base 1.4.0+svn6712 ndpi_bytestream_to_number@Base 1.4.0+svn6712 ndpi_calloc@Base 1.4.0+svn6712 ndpi_check_for_email_address@Base 1.4.0+svn6712 ndpi_create_empty_automa@Base 1.4.0+svn6712 ndpi_default_ports_tree_node_t_walker@Base 1.4.0+svn6712 ndpi_detection_build_key@Base 1.4.0+svn6712 ndpi_detection_flow_protocol_history_contains_protocol@Base 1.4.0+svn6712 ndpi_detection_get_l4@Base 1.4.0+svn6712 ndpi_detection_get_real_protocol_of_flow@Base 1.4.0+svn6712 ndpi_detection_get_sizeof_ndpi_flow_struct@Base 1.4.0+svn6712 ndpi_detection_get_sizeof_ndpi_id_struct@Base 1.4.0+svn6712 ndpi_detection_process_packet@Base 1.4.0+svn6712 ndpi_dump_protocols@Base 1.4.0+svn6712 ndpi_enable_cache@Base 1.4.0+svn6712 ndpi_exit_detection_module@Base 1.4.0+svn6712 ndpi_find_lru_cache_num@Base 1.4.0+svn6712 ndpi_find_lru_cache_str@Base 1.4.0+svn6712 ndpi_find_port_based_protocol@Base 1.4.0+svn6712 ndpi_free@Base 1.4.0+svn6712 ndpi_free_lru_cache@Base 1.4.0+svn6712 ndpi_get_num_supported_protocols@Base 1.4.0+svn6712 ndpi_get_proto_by_id@Base 1.4.0+svn6712 ndpi_get_proto_name@Base 1.4.0+svn6712 ndpi_get_protocol_id@Base 1.4.0+svn6712 ndpi_guess_undetected_protocol@Base 1.4.0+svn6712 ndpi_handle_rule@Base 1.4.0+svn6712 ndpi_init_detection_module@Base 1.4.0+svn6712 ndpi_init_lru_cache@Base 1.4.0+svn6712 ndpi_int_add_connection@Base 1.4.0+svn6712 ndpi_int_change_flow_protocol@Base 1.4.0+svn6712 ndpi_int_change_packet_protocol@Base 1.4.0+svn6712 ndpi_int_change_protocol@Base 1.4.0+svn6712 ndpi_int_reset_packet_protocol@Base 1.4.0+svn6712 ndpi_int_reset_protocol@Base 1.4.0+svn6712 ndpi_ip_clear@Base 1.4.0+svn6712 ndpi_ip_is_set@Base 1.4.0+svn6712 ndpi_load_protocols_file@Base 1.4.0+svn6712 ndpi_malloc@Base 1.4.0+svn6712 ndpi_match_string_subprotocol@Base 1.4.0+svn6712 ndpi_packet_dst_ip_eql@Base 1.4.0+svn6712 ndpi_packet_dst_ip_get@Base 1.4.0+svn6712 ndpi_packet_src_ip_eql@Base 1.4.0+svn6712 ndpi_packet_src_ip_get@Base 1.4.0+svn6712 ndpi_parse_packet_line_info@Base 1.4.0+svn6712 ndpi_parse_packet_line_info_unix@Base 1.4.0+svn6712 ndpi_realloc@Base 1.4.0+svn6712 ndpi_revision@Base 1.4.0+svn6712 ndpi_search_activesync@Base 1.4.0+svn6712 ndpi_search_afp@Base 1.4.0+svn6712 ndpi_search_aimini@Base 1.4.0+svn6712 ndpi_search_applejuice_tcp@Base 1.4.0+svn6712 ndpi_search_armagetron_udp@Base 1.4.0+svn6712 ndpi_search_battlefield@Base 1.4.0+svn6712 ndpi_search_bgp@Base 1.4.0+svn6712 ndpi_search_bittorrent@Base 1.4.0+svn6712 ndpi_search_ciscovpn@Base 1.4.0+svn6712 ndpi_search_citrix@Base 1.4.0+svn6712 ndpi_search_corba@Base 1.4.0+svn6712 ndpi_search_crossfire_tcp_udp@Base 1.4.0+svn6712 ndpi_search_dcerpc@Base 1.4.0+svn6712 ndpi_search_dhcp_udp@Base 1.4.0+svn6712 ndpi_search_dhcpv6_udp@Base 1.4.0+svn6712 ndpi_search_direct_download_link_tcp@Base 1.4.0+svn6712 ndpi_search_directconnect@Base 1.4.0+svn6712 ndpi_search_dns@Base 1.4.0+svn6712 ndpi_search_dofus@Base 1.4.0+svn6712 ndpi_search_dropbox@Base 1.4.0+svn6712 ndpi_search_edonkey@Base 1.4.0+svn6712 ndpi_search_fasttrack_tcp@Base 1.4.0+svn6712 ndpi_search_fiesta@Base 1.4.0+svn6712 ndpi_search_filetopia_tcp@Base 1.4.0+svn6712 ndpi_search_flash@Base 1.4.0+svn6712 ndpi_search_florensia@Base 1.4.0+svn6712 ndpi_search_ftp_tcp@Base 1.4.0+svn6712 ndpi_search_gnutella@Base 1.4.0+svn6712 ndpi_search_gtp@Base 1.4.0+svn6712 ndpi_search_guildwars_tcp@Base 1.4.0+svn6712 ndpi_search_h323@Base 1.4.0+svn6712 ndpi_search_halflife2@Base 1.4.0+svn6712 ndpi_search_http_tcp@Base 1.4.0+svn6712 ndpi_search_iax@Base 1.4.0+svn6712 ndpi_search_icecast_tcp@Base 1.4.0+svn6712 ndpi_search_imesh_tcp_udp@Base 1.4.0+svn6712 ndpi_search_in_non_tcp_udp@Base 1.4.0+svn6712 ndpi_search_ipp@Base 1.4.0+svn6712 ndpi_search_irc_ssl_detect_ninty_percent_but_very_fast@Base 1.4.0+svn6712 ndpi_search_irc_tcp@Base 1.4.0+svn6712 ndpi_search_jabber_tcp@Base 1.4.0+svn6712 ndpi_search_kerberos@Base 1.4.0+svn6712 ndpi_search_kontiki@Base 1.4.0+svn6712 ndpi_search_ldap@Base 1.4.0+svn6712 ndpi_search_lotus_notes@Base 1.4.0+svn6712 ndpi_search_mail_imap_tcp@Base 1.4.0+svn6712 ndpi_search_mail_pop_tcp@Base 1.4.0+svn6712 ndpi_search_mail_smtp_tcp@Base 1.4.0+svn6712 ndpi_search_maplestory@Base 1.4.0+svn6712 ndpi_search_mdns@Base 1.4.0+svn6712 ndpi_search_meebo@Base 1.4.0+svn6712 ndpi_search_mgcp@Base 1.4.0+svn6712 ndpi_search_mms_tcp@Base 1.4.0+svn6712 ndpi_search_msn@Base 1.4.0+svn6712 ndpi_search_mssql@Base 1.4.0+svn6712 ndpi_search_mysql_tcp@Base 1.4.0+svn6712 ndpi_search_netbios@Base 1.4.0+svn6712 ndpi_search_netflow@Base 1.4.0+svn6712 ndpi_search_nfs@Base 1.4.0+svn6712 ndpi_search_noe@Base 1.4.0+svn6712 ndpi_search_ntp_udp@Base 1.4.0+svn6712 ndpi_search_openft_tcp@Base 1.4.0+svn6712 ndpi_search_openvpn@Base 1.4.0+svn6712 ndpi_search_oracle@Base 1.4.0+svn6712 ndpi_search_oscar@Base 1.4.0+svn6712 ndpi_search_pcanywhere@Base 1.4.0+svn6712 ndpi_search_popo_tcp_udp@Base 1.4.0+svn6712 ndpi_search_postgres_tcp@Base 1.4.0+svn6712 ndpi_search_pplive_tcp_udp@Base 1.4.0+svn6712 ndpi_search_ppstream@Base 1.4.0+svn6712 ndpi_search_pptp@Base 1.4.0+svn6712 ndpi_search_qq@Base 1.4.0+svn6712 ndpi_search_quake@Base 1.4.0+svn6712 ndpi_search_radius@Base 1.4.0+svn6712 ndpi_search_rdp@Base 1.4.0+svn6712 ndpi_search_rsync@Base 1.4.0+svn6712 ndpi_search_rtcp@Base 1.4.0+svn6712 ndpi_search_rtp@Base 1.4.0+svn6712 ndpi_search_rtsp_tcp_udp@Base 1.4.0+svn6712 ndpi_search_sflow@Base 1.4.0+svn6712 ndpi_search_shoutcast_tcp@Base 1.4.0+svn6712 ndpi_search_sip@Base 1.4.0+svn6712 ndpi_search_skinny@Base 1.4.0+svn6712 ndpi_search_skype@Base 1.4.0+svn6712 ndpi_search_smb_tcp@Base 1.4.0+svn6712 ndpi_search_snmp@Base 1.4.0+svn6712 ndpi_search_socrates@Base 1.4.0+svn6712 ndpi_search_sopcast@Base 1.4.0+svn6712 ndpi_search_soulseek_tcp@Base 1.4.0+svn6712 ndpi_search_spotify@Base 1.4.0+svn6712 ndpi_search_ssdp@Base 1.4.0+svn6712 ndpi_search_ssh_tcp@Base 1.4.0+svn6712 ndpi_search_ssl_tcp@Base 1.4.0+svn6712 ndpi_search_stealthnet@Base 1.4.0+svn6712 ndpi_search_steam@Base 1.4.0+svn6712 ndpi_search_stun@Base 1.4.0+svn6712 ndpi_search_syslog@Base 1.4.0+svn6712 ndpi_search_tcp_or_udp@Base 1.4.0+svn6712 ndpi_search_tcp_or_udp_raw@Base 1.4.0+svn6932 ndpi_search_tds_tcp@Base 1.4.0+svn6712 ndpi_search_teamspeak@Base 1.4.0+svn6712 ndpi_search_teamview@Base 1.4.0+svn6712 ndpi_search_telnet_tcp@Base 1.4.0+svn6712 ndpi_search_tftp@Base 1.4.0+svn6712 ndpi_search_thunder@Base 1.4.0+svn6712 ndpi_search_tor@Base 1.4.0+svn6712 ndpi_search_tvants_udp@Base 1.4.0+svn6712 ndpi_search_tvuplayer@Base 1.4.0+svn6712 ndpi_search_usenet_tcp@Base 1.4.0+svn6712 ndpi_search_veohtv_tcp@Base 1.4.0+svn6712 ndpi_search_viber@Base 1.4.0+svn6712 ndpi_search_vmware@Base 1.4.0+svn6712 ndpi_search_vnc_tcp@Base 1.4.0+svn6712 ndpi_search_warcraft3@Base 1.4.0+svn6712 ndpi_search_whois_das@Base 1.4.0+svn6712 ndpi_search_winmx_tcp@Base 1.4.0+svn6712 ndpi_search_world_of_kung_fu@Base 1.4.0+svn6712 ndpi_search_worldofwarcraft@Base 1.4.0+svn6712 ndpi_search_xbox@Base 1.4.0+svn6712 ndpi_search_xdmcp@Base 1.4.0+svn6712 ndpi_search_yahoo@Base 1.4.0+svn6712 ndpi_search_zattoo@Base 1.4.0+svn6712 ndpi_set_automa@Base 1.4.0+svn6712 ndpi_set_proto_defaults@Base 1.4.0+svn6712 ndpi_set_protocol_detection_bitmask2@Base 1.4.0+svn6712 ndpi_strdup@Base 1.4.0+svn6712 ndpi_strnstr@Base 1.4.0+svn6712 ndpi_tdelete@Base 1.4.0+svn6712 ndpi_tdestroy@Base 1.4.0+svn6712 ndpi_tfind@Base 1.4.0+svn6712 ndpi_tsearch@Base 1.4.0+svn6712 ndpi_twalk@Base 1.4.0+svn6712 node_assign_id@Base 1.4.0+svn6712 node_create@Base 1.4.0+svn6712 node_create_next@Base 1.4.0+svn6712 node_edge_compare@Base 1.4.0+svn6712 node_find_next@Base 1.4.0+svn6712 node_findbs_next@Base 1.4.0+svn6712 node_has_matchstr@Base 1.4.0+svn6712 node_init@Base 1.4.0+svn6712 node_register_matchstr@Base 1.4.0+svn6712 node_register_outgoing@Base 1.4.0+svn6712 node_release@Base 1.4.0+svn6712 node_sort_edges@Base 1.4.0+svn6712 ntohs_ndpi_bytestream_to_number@Base 1.4.0+svn6712 search_ddl_domains@Base 1.4.0+svn6712 sort@Base 1.4.0+svn6712 sslDetectProtocolFromCertificate@Base 1.4.0+svn6712 tdport@Base 1.4.0+svn6712 tsport@Base 1.4.0+svn6712 udport@Base 1.4.0+svn6712 usport@Base 1.4.0+svn6712