debian/0000755000000000000000000000000011406530704007166 5ustar debian/control0000644000000000000000000000111111406530404010560 0ustar Source: dns2tcp Section: net Priority: optional Maintainer: Arnaud Cornet Standards-Version: 3.8.4 Build-Depends: debhelper (>= 7.4.0) Homepage: http://www.hsc.fr/ressources/outils/dns2tcp/ Package: dns2tcp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: TCP over DNS tunnel client and server dns2tcp is a set of tools allowing to encapsulate a TCP session in DNS packets. This type of encapsulation generates smaller packets compeared to ip-over-DNS tools, thus allows a better throughput. The client does not need root priledges. debian/copyright0000644000000000000000000000162311405775350011132 0ustar This package was debianized by Arnaud Cornet on Mon, 28 May 2007 14:54:18 +0200. The current Debian maintainer is Arnaud Cornet . It was downloaded from http://www.hsc.fr/ressources/outils/dns2tcp/ Upstream Author: Olivier Dembour with the contribution of Nicolas Collignon (Nicolas.Collignon@hsc.fr) Copyright: (C) 2006 Olivier DEMBOUR This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The Debian packaging is (C) 2007, Arnaud Cornet and is licensed under the GPL version 2. On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. debian/watch0000644000000000000000000000012411405775350010223 0ustar version=3 http://www.hsc.fr/ressources/outils/dns2tcp/download/ dns2tcp-(.*).tar.gz debian/dns2tcp.install0000644000000000000000000000003211405775350012135 0ustar debian/dns2tcpd.conf etc/ debian/dns2tcp.init0000644000000000000000000000313111406527435011435 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: dns2tcp # Required-Start: $local_fs $network $remote_fs # Required-Stop: $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: dns2tcp server init script # Description: This file should be used to start and stop dns2tcp server. ### END INIT INFO # Author: Arnaud Cornet PATH=/sbin:/usr/sbin:/bin:/usr/bin CONFIG=/etc/dns2tcpd.conf OLDDAEMON=/usr/sbin/dns2tcpd DAEMON=/usr/bin/dns2tcpd USER=nobody ENABLED=0 if ! test -x $DAEMON ; then if ! test -x $OLDDAEMON ; then exit 0 else DAEMON=$OLDDAEMON fi fi test -f $CONFIG || exit 0 if [ -e /etc/default/dns2tcp ]; then . /etc/default/dns2tcp fi test "$ENABLED" != "0" || exit 0 . /lib/lsb/init-functions dns2tcpd_start() { start-stop-daemon --start --exec $DAEMON -- -f "$CONFIG" || return 2 return 0 } dns2tcpd_stop() { start-stop-daemon --stop -u $USER --exec $DAEMON -- || return 2 return 0 } case "$1" in start) log_daemon_msg "Starting dns2tcp" "dns2tcpd" dns2tcpd_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 echo "dns2tcpd not started." ;; 2) log_end_msg 1 ;; esac ;; stop) log_daemon_msg "Stopping dns2tcp" "dns2tcpd" dns2tcpd_stop case "$?" in 0|1) log_end_msg 0 ;; 2) log_end_msg 1 ;; esac ;; reload|force-reload|restart) log_daemon_msg "Restarting dns2tcp" "dns2tcpd" dns2tcpd_stop dns2tcpd_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; 2) log_end_msg 1 ;; esac ;; *) echo "Usage: $0 {start|stop|reload|restart}" exit 3 ;; esac : debian/changelog0000644000000000000000000000476011406530315011045 0ustar dns2tcp (0.5.2-1) unstable; urgency=low * New upstream release * Bump standards-version (no change needed). * Move home page in control tag rather than description * Add $remote_fs dependency in init script. * Move upstream changelog to correct place * Fix spelling of resources in default config file * No need of a -dfsg version anymore, as upstream removed RFC from source, and an OpenSSL dependency. * Drop buffer-overflow-0.4.1.diff gone upstream. * Drop dnsbof.diff gone upstream. * Drop strnlen.diff gone upstream. * Drop sysfix.diff gone upstream. * Drop man-pages.patch gone upstream. * Switch to dpkg-source 3.0 (quilt) format * Convert from CDBS to dh 7. -- Arnaud Cornet Tue, 15 Jun 2010 23:23:57 +0100 dns2tcp (0.4.dfsg-5.1) unstable; urgency=low * Non-maintainer upload. * Remove clashing strnlen declarations. Thanks to Ilya Barygin for the patch (Closes: #548044) -- Simon Richter Fri, 27 Nov 2009 22:10:12 +0100 dns2tcp (0.4.dfsg-5) unstable; urgency=low * Fix dnsbof.diff to add an extra check for total_len. -- Arnaud Cornet Tue, 04 Nov 2008 08:53:43 +0100 dns2tcp (0.4.dfsg-4) unstable; urgency=low * Add patch dnsbof.diff to fix a buffer overflow in dns_decode.c (Closes: #504121). * Add patch sysfix.diff that fixes chroot() and set?id() calls. Also makes use of limits to prevent fork of the process. -- Arnaud Cornet Fri, 31 Oct 2008 19:28:28 +0100 dns2tcp (0.4.dfsg-3) unstable; urgency=low * Cleanup debian/patches/buffer-overflow-0.4.1.diff, so that it just fixes the security bug CVE-2008-3910. -- Arnaud Cornet Thu, 04 Sep 2008 21:34:57 +0200 dns2tcp (0.4.dfsg-2) unstable; urgency=low * Fix buffer overflow by importing code change from upstream 0.4.1 (Closes: #497730). * Change my mail address. -- Arnaud Cornet Wed, 03 Sep 2008 23:16:34 +0200 dns2tcp (0.4.dfsg-1) unstable; urgency=low * New Upstream Version. * Remove bind-configured-ip.patch, now upstream. * Refresh man-pages.patch. Remove file copies now useless in debian/rules, as upstream man pages are cleaner. * Add watch file. -- Arnaud Cornet Sun, 15 Jul 2007 13:42:17 +0200 dns2tcp (0.3.dfsg-1) unstable; urgency=low * Initial release. * version is -dfsg because of rfcs included in the source package. -- Arnaud Cornet Mon, 28 May 2007 14:54:18 +0200 debian/dns2tcp.manpages0000644000000000000000000000003611405775350012266 0ustar man/dns2tcpc.1 man/dns2tcpd.1 debian/source/0000755000000000000000000000000011405776400010472 5ustar debian/source/format0000644000000000000000000000001411405776400011700 0ustar 3.0 (quilt) debian/dns2tcp.changelogs0000644000000000000000000000001211406526304012571 0ustar ChangeLog debian/compat0000644000000000000000000000000211405775350010373 0ustar 5 debian/dns2tcpd.conf0000644000000000000000000000032611406527776011576 0ustar listen = 127.0.0.1 port = 53 # If you change this value, also change the USER variable in /etc/default/dns2tcpd user = nobody chroot = /tmp domain = your.domain.tld resources = ssh:127.0.0.1:22 , smtp:127.0.0.1:25 debian/dns2tcp.docs0000644000000000000000000000001711406526300011410 0ustar AUTHORS README debian/dns2tcp.default0000644000000000000000000000013011405775350012112 0ustar # Set ENABLED to 1 if you want the init script to start dns2tcpd. ENABLED=0 USER=nobody debian/dns2tcp.examples0000644000000000000000000000007011405775350012307 0ustar client/dns2tcprc debian/dns2tcpd.conf server/dns2tcpdrc debian/rules0000755000000000000000000000003611406530330010240 0ustar #!/usr/bin/make -f %: dh $@