debian/0000755000000000000000000000000012222267331007166 5ustar debian/rules0000755000000000000000000000143612222267321010251 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) export DEB_BUILD_MAINT_OPTIONS := hardening=+pie,+bindnow %: dh $@ override_dh_auto_clean: debconf-updatepo dh_auto_clean override_dh_auto_build: dh_auto_build [ -x $(CURDIR)/debian/iodine-client-start ] || chmod +x $(CURDIR)/debian/iodine-client-start help2man --output=$(CURDIR)/debian/iodine-client-start.8 \ --no-info --section=8 --name="start an iodine IPv4-over-DNS tunnel" \ $(CURDIR)/debian/iodine-client-start override_dh_auto_install: dh_auto_install -- DESTDIR=$(TMP) prefix=/usr override_dh_installinit: dh_installinit --name=iodined override_dh_installlogcheck: dh_installlogcheck mv $(TMP)/etc/logcheck/ignore.d.server/iodine $(TMP)/etc/logcheck/ignore.d.server/iodined debian/control0000644000000000000000000000230212222267321010565 0ustar Source: iodine Section: net Priority: extra Maintainer: gregor herrmann Uploaders: tony mancill Build-Depends: check (>= 0.9.10-3), debhelper (>= 9), dpkg-dev (>= 1.16.1), help2man, pkg-config, po-debconf, zlib1g-dev Standards-Version: 3.9.4 Homepage: http://code.kryo.se/iodine Vcs-Git: git://git.toastfreeware.priv.at/debian/iodine.git Vcs-Browser: http://git.toastfreeware.priv.at/debian/iodine.git/ Package: iodine Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, udev [linux-any] | makedev [linux-any] Suggests: dnsutils, fping | oping, gawk, ipcalc, iproute2 Description: tool for tunneling IPv4 data through a DNS server This is a piece of software that lets you tunnel IPv4 data through a DNS server. This can be usable in different situations where internet access is firewalled, but DNS queries are allowed. . iodine is similar to nstx but has password authentication, brings up the tun interface automatically and lets the user specify the IP address as a command line option. debian/iodine-client-start0000755000000000000000000002713512222267321013001 0ustar #! /bin/bash ### Script to set up an iodine tunnel route traffic through it ### ### Copyright 2008 Barak A. Pearlmutter ### ### License: MIT ### ### Permission to use, copy, modify, and distribute this software for ### any purpose with or without fee is hereby granted, provided that ### the above copyright notice and this permission notice appear in ### all copies. ### ### THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ### WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED ### WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE ### AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR ### CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ### LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, ### NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN ### CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ## Cause script to bail immediately on failed command set -e function usage { cat < /dev/null if [ -r ${iodine_client_rc} ]; then . ${iodine_client_rc} else echo WARNING: Cannot read ${iodine_client_rc} fi if [ -z ${subdomain} ]; then read -p "DNS tunnel DNS subdomain: " subdomain fi if [ -z ${subdomain} ]; then echo ERROR: Must set subdomain. exit 1 fi if [ -z ${passwd} ]; then read -p "Password for DNS tunnel over ${subdomain}: " passwd fi ## This is a host name used for testing DNS and for pinging echo "${testhost:=slashdot.org}" > /dev/null ## Set if local network should be taken down and then up echo "${bounce_localnet:=false}" > /dev/null ## Set for testing network availability via ping at various points echo "${test_ping_localnet:=true}" > /dev/null echo "${test_ping_tunnel:=true}" > /dev/null echo "${test_ping_final:=true}" > /dev/null ## Set if the script cannot find and then incorrectly guesses the ## local network router echo "${default_router}" > /dev/null ## Set if script uses the wrong hardware interface echo "${interface}" > /dev/null ## Set if MTU needs to be manually altered (lowered) ## - the default tunnel MTU is 1024. ## - if local DNS server restricts to 512 byte packets then use MTU 220 echo "${mtu}" > /dev/null ## Set it if you want try RAW udp mode echo "${skip_raw_udp_mode:=true}" > /dev/null ## Set if the script should continue even if a command fails. ## Used to test script when running as non-root. if [ $(whoami) = root ]; then echo "${continue_on_error:=false}" > /dev/null else echo "${continue_on_error:=true}" > /dev/null fi ## DEBIAN PACKAGES TO INSTALL: these are needed to run this script ## iodine (for /usr/sbin/iodine) ## iproute (for /bin/ip) ## ipcalc (for /usr/bin/ipcalc) ## dnsutils (for /usr/bin/dig) ## fping (for /usr/bin/fping) ## or oping (for /usr/bin/oping) ## gawk (for /usr/bin/gawk, to use gensub()) if type -P fping > /dev/null; then ping_cmd="fping -C1" elif type -P oping > /dev/null; then ping_cmd="oping -c1" else ping_cmd="echo would ping" fi ## TO DO ## - avoid double ping when DNS server and local router are the same ## - option to not kill existing iodine DNS tunnels, in case there ## are meant to be more than one ## - sanify check whether default_router is on local network echo ==== Creating IP-over-DNS tunnel over local network connection... ## Find a network interface if [ -z ${interface} ]; then interfaces=$(tail --lines=+3 /proc/net/wireless \ | tr -d : | awk '{print $1}') for dev in ${interfaces}; do if ip -4 addr show dev ${dev} | grep -q inet; then interface=${dev} fi done fi if [ -z ${interface} ]; then interface=$(ifconfig -a | egrep '^[^ ].*encap:Ethernet' \ | head -1 | awk '{print $1}') fi if [ -z ${interface} ]; then echo ERROR: No network interface found. exit 1 fi echo ==== Local network interface: ${interface} ## Down any existing DNS tunnel (wish there were "approved" way to do this) echo ==== Killing existing DNS tunnels... if killall --quiet --wait --verbose --signal HUP iodine; then sleep 2 fi ## Stabilize local network if ${bounce_localnet}; then echo ==== Bouncing local network connection... ifdown --force ${interface} || true ifup ${interface} || ${continue_on_error} fi ## Fetch some information about the local network addr=$(ip -4 addr show dev ${interface} scope global \ | tail -1 | awk '{print $2}') prefix_len=$(echo ${addr} | sed 'sX^.*/XX') local_net=$(ipcalc --nobinary ${addr} | awk '$1=="Network:" {print $2}') echo ==== Local address: ${addr} echo ==== Local network: ${local_net} router=$(ip -4 route list dev ${interface} \ | awk '$1=="default" {print $3}' | head -1) if [ -z ${router} ]; then ## This can happen when the default local route is already deleted if [ -z ${default_router} ]; then echo WARNING: no default route, guessing local router IP address. ## Minimum address on local net is usually right router=$(ipcalc --nobinary ${addr} | awk '$1=="HostMin:" {print $2}') else echo WARNING: no default route, using configured default router. ## But sometimes need to hardwire... router=${default_router} fi fi echo ==== Local network router: ${router} ## Test DNS service testhost_ip=$(dig +short -t A -q ${testhost}) if [ -z ${testhost_ip} ]; then echo WARNING: Failure on DNS lookup of ${testhost}. fi ## fetch DNS servers nameservers=$(awk '$1=="nameserver" {print $2}' /etc/resolv.conf) if [ -n "${nameservers}" ]; then echo ==== DNS servers: ${nameservers} else echo ERROR: No DNS servers found. exit 1 fi ## Test if local network is up if ${test_ping_localnet}; then echo ==== Ping test of local network router and DNS servers... ${ping_cmd} ${router} ${nameservers} \ || echo WARNING: Ping test failed. fi ## Add point-to-point routes for any non-local DNS servers for n in ${nameservers}; do n_net=$(ipcalc --nobinary ${n}/${prefix_len} | awk '$1=="Network:" {print $2}') n_net8=$(ipcalc --nobinary ${n}/8 | awk '$1=="Network:" {print $2}') if [ "${n_net}" != "${local_net}" ]; then if [ "${n_net8}" != "127.0.0.0/8" ]; then echo ==== Adding point-to-point route for DNS server ${n} ## remove point-to-point route first, in case it is already present ip -4 route del ${n}/32 || true ip -4 route add ${n}/32 via ${router} || ${continue_on_error} fi fi done ## Bring up DNS tunnel echo ==== Creating IP-over-DNS tunnel... if ${skip_raw_udp_mode}; then iodine_opts="${iodine_opts} -r" fi iodine ${iodine_opts} -P "${passwd}" "${subdomain}" || ${continue_on_error} ## Find DNS tunnel interface tunnel_interface=$(ifconfig -a | egrep '^dns' | awk '{print $1}' | head -1) if [ -z "${tunnel_interface}" ]; then echo WARNING: Cannot find DNS tunnel interface, using default. tunnel_interface=dns0 fi echo ==== DNS tunnel interface: ${tunnel_interface} ## Maybe try to change MTU if [ -n "${mtu}" ]; then echo ==== Setting MTU of ${tunnel_interface} to ${mtu} ifconfig ${tunnel_interface} mtu ${mtu} fi ## Figure out router at other end of tunnel, assuming router uses final octet .1 ## (There should be some way to get this information out of iodine, since ## it *prints* it as it sets up the tunnel, so it does know it.) tunnel_remote=$(ip -4 address show dev ${tunnel_interface} \ | gawk '$1=="inet" {print gensub("[.][0-9]*/.*", ".1", 1, $2)}' | head -1) if [ -z ${tunnel_remote} ]; then echo ERROR: Cannot find DNS tunnel remote endpoint. ${continue_on_error} ## set something random if debugging echo WARNING: Confabulating DNS tunnel remote endpoint. tunnel_remote=192.168.253.1 fi echo ==== DNS tunnel remote endpoint: ${tunnel_remote} if ${test_ping_tunnel}; then echo ==== Ping test of local router, nameserver, and DNS tunnel... ${ping_cmd} ${router} ${nameservers} ${tunnel_remote} \ || echo WARNING: Ping test failed. fi ## Modify routing table to send trafic via DNS tunnel echo ==== Setting default route through DNS tunnel... ## Remove default route via local router ip -4 route del default via ${router} || echo WARNING: No default route to delete ## Add default via tunnel ip -4 route add default via ${tunnel_remote} || ${continue_on_error} ## Test if all is well if ${test_ping_final}; then echo ==== Ping test of local router, nameserver, DNS tunnel, external test host... ${ping_cmd} ${router} ${nameservers} ${tunnel_remote} ${testhost_ip:-${testhost}} \ || echo WARNING: Ping test failed. fi debian/source/0000755000000000000000000000000012222267321010465 5ustar debian/source/format0000644000000000000000000000001412222267321011673 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000004254112222267321011045 0ustar iodine (0.6.0~rc1-18) unstable; urgency=low * debian/control: use iproute2 in Suggests instead of the transitional package iproute. -- gregor herrmann Mon, 30 Sep 2013 14:30:03 +0200 iodine (0.6.0~rc1-17) unstable; urgency=low * Build-depend on check >= 0.9.10-3 which fixes #712140. (Closes: #714267) -- gregor herrmann Sat, 06 Jul 2013 17:53:26 +0200 iodine (0.6.0~rc1-16) unstable; urgency=low * Re-enable tests after check seems to be fixed (cf. #712140). * Add patch to add linker flags to test; build-depend on pkg-config. -- gregor herrmann Wed, 26 Jun 2013 21:16:56 +0200 iodine (0.6.0~rc1-15) unstable; urgency=low * Temporarily turn off tests. We can add the missing -lm and -lrt but then we still run into check's pthread problems (cf. #712140). (Closes: #713556) -- gregor herrmann Sat, 22 Jun 2013 23:29:48 +0200 iodine (0.6.0~rc1-14) unstable; urgency=low * debian/postinst: use perl and fancy regex delimiters instead of sed for updating the configuration file. The typical `sed -e s///' breaks if IODINED_ARGS contains slashes. Thanks to Pierre Ynard for the bug report. (Closes: #708187) -- gregor herrmann Tue, 14 May 2013 17:16:31 +0200 iodine (0.6.0~rc1-13) unstable; urgency=low * New version of iodine-client-start (1.0.5), pulled from upstream git (d50ae59): Use either fping or oping or no ping. * Add oping as an alternative to fping in Suggests. * Rewrite handling of /etc/default/iodine according to debconf-devel(7) in debian/config and debian/postinst. * Set Standards-Version to 3.9.4 (no changes). * Update years of packaging copyright. * New patch verbose-build.patch: unhide compiler flags. -- gregor herrmann Thu, 09 May 2013 15:35:58 +0200 iodine (0.6.0~rc1-12) unstable; urgency=low [ David Prévot ] * debian/po/de.po: Fix charset (Closes: #691959) -- gregor herrmann Wed, 31 Oct 2012 20:38:01 +0100 iodine (0.6.0~rc1-11) unstable; urgency=low * New version of iodine-client-start (1.0.4), pulled from upstream git (db977d3): fixes - "iodine-client-start make a point-to-point route for 127.0.0.1" (Closes: #673439) - "iodine-client-start launch iodine with UDP raw mode socket" (Closes: #673440) - "interface detection partially broken" (Closes: #606119) -- gregor herrmann Tue, 22 May 2012 19:47:47 +0200 iodine (0.6.0~rc1-10) unstable; urgency=low [ Luca Capello ] * debian/iodine.iodined.init: + add $named to LSB's Required-Start, DNS resolution is needed for the topdomain argument. [ gregor herrmann ] * Add patch 0001-man-iodine.8-add-note-about-sharing-port-dnsport.patch: adds a note to the manpage about sharing port/dnsport. Thanks to Luca Capello for the great analysis and the patch. (Closes: #668621) -- gregor herrmann Sat, 14 Apr 2012 22:06:06 +0200 iodine (0.6.0~rc1-9) unstable; urgency=low * Make udev|makedev dependency Linux-only. Thanks to Robert Millan for the bugreport and the patch. (Closes: #666509) -- gregor herrmann Sat, 31 Mar 2012 21:40:44 +0200 iodine (0.6.0~rc1-8) unstable; urgency=low * Update Vcs-* headers. * Add Italian debconf translation. Thanks to Beatrice Torracca. (Closes: #666426) * Build-depend on debhelper >= 9. * debian/copyright: update to Copyright-Format 1.0. * Update years of packaging copyright. * Bump Standards-Version to 3.9.3 (no changes). -- gregor herrmann Fri, 30 Mar 2012 20:41:23 +0200 iodine (0.6.0~rc1-7) unstable; urgency=low [ Peter Eisentraut ] * Add support for "status" action to init.d script Closes: #652671 -- gregor herrmann Mon, 19 Dec 2011 19:56:22 +0100 iodine (0.6.0~rc1-6) unstable; urgency=low * New patch: cmdline-r-u.patch. Due to a missing "break", -r causes -u to have no effect (client). Thanks to Pavel Pergamenshchik for the bug report and the patch. LP: #880508 * debian/{rules,control}: replace hardening-includes with the new dpkg-dev/debhelper approach. Update cflags.patch to honour CPPFLAGS. * Set Standards-Version to 3.9.2 (no changes). -- gregor herrmann Sun, 23 Oct 2011 23:07:10 +0200 iodine (0.6.0~rc1-5) unstable; urgency=low * Don't source /etc/default/iodine in config script but read out the values with awk. This allows to use shell constructs like $() in the file and preserve them during re-configuration (closes: #612723). Thanks to "Debian bug at v.nix.is" for the bug report. * Add a logcheck filter; thanks to martin f krafft for the bug report and the logcheck file (closes: #612721). * Add patch armel_ftbfs.patch: Rename struct user to struct _user in the code to avoid naming conflict caused by including as part of the armel build. Taken from Ubuntu; not needed currently in Debian but saves Ubuntu from carrying the patch and might be helpful later. -- gregor herrmann Sat, 12 Feb 2011 14:49:06 +0100 iodine (0.6.0~rc1-4) unstable; urgency=low * Upload to unstable. -- gregor herrmann Mon, 07 Feb 2011 18:38:57 +0100 iodine (0.6.0~rc1-3) experimental; urgency=low [ gregor herrmann ] * Build with hardening; thanks to Romain Francoise for the bug report and the patch (closes: #589054). * New patch uninitialized-inside_topdomain.patch: initialize inside_topdomain before using it; thanks to Samuel Thibault for the bug report and the patch (closes: #596740). * Set Standards-Version to 3.9.1 (no changes). * Add Danish debconf translation, thanks to Joe Dalton (closes: #602447). * Update iodine-client-start to version 1.0.3, commit 04c2dee (closes: #605703). * debian/copyright: update years of packaging copyright, update formatting. * Update to experimental because of the freeze. [ tony mancill ] * Update reference to README file in README.Debian (closes: #597736) -- gregor herrmann Fri, 14 Jan 2011 03:01:13 +0100 iodine (0.6.0~rc1-2) unstable; urgency=low [ tony mancill ] * Update init.d script to support spaces in password (closes: #597258) -- gregor herrmann Mon, 20 Sep 2010 22:25:48 +0200 iodine (0.6.0~rc1-1) unstable; urgency=low * debian/watch: relax regexp to also catch release candidates. * New upstream release: - return nonzero if tunnel fails to open (closes: #534186) - added support for CNAME/TXT/A/MX query types (closes: #587894) - includes the changes we had backported in openlog.patch, so remove the patch now * This version introduces a new and incompatible protocol version (00000502); adjust debia/README.Debian and add debian/NEWS. * Add new patch manpage.patch (*roff problems). Refresh remaining patches. Improve patch headers (DEP3). * Set Standards-Version to 3.9.0 (no changes). * debian/copyright: point to /usr/share/common-licenses/GPL-1 now that the GNU GPLv1 is included in base-files. -- gregor herrmann Sat, 10 Jul 2010 18:04:23 +0200 iodine (0.5.2-7) unstable; urgency=low * Add Spanish debconf translation, thanks to Francisco Javier Cuadrado (closes: #582872). -- gregor herrmann Mon, 24 May 2010 18:42:06 +0200 iodine (0.5.2-6) unstable; urgency=low * Add $syslog facility to init script. * Convert to source format 3.0 (quilt). Remove quilt framework. * Update iodine-client-start (02eb805). -- gregor herrmann Sun, 23 May 2010 22:34:12 +0200 iodine (0.5.2-5) unstable; urgency=low * Update iodine-client-start (01b8c6f). * New patch openlog.patch: move openlog() call before chrooting; thanks to Romain Francoise for the patch (closes: #573194). * README.Debian: mention /usr/sbin/iodine-client-start now that it's not in examples/ anymore. -- gregor herrmann Wed, 10 Mar 2010 18:47:52 +0100 iodine (0.5.2-4) unstable; urgency=low * Include updated iodine-client-start script and install it into /usr/sbin. Adjust some files and create manpage with help2man. -- gregor herrmann Wed, 10 Feb 2010 22:03:12 +0100 iodine (0.5.2-3) unstable; urgency=low * Add Japanese debconf translation, thanks to Hideki Yamane (closes: #558051). * The example script iodine-jigger is now called iodine-client-start; update the name in the relevant locations and integrate a newer version. * debian/copyright: update formatting. * Set Standards-Version to 3.8.4 (no changes). * New patch spelling.patch: fix a minor spelling mistake in the manpage. * Adjust handling of /etc/default/iodine in init script. -- gregor herrmann Mon, 08 Feb 2010 21:30:54 +0100 iodine (0.5.2-2) unstable; urgency=low * Add Russian debconf translation, thanks to Yuri Kozlov (closes: #546345). * Set Standards-Version to 3.8.3 (no changes). * Update debian/rules, bump build dependencies in debian/control accordingly. -- gregor herrmann Sun, 13 Sep 2009 01:05:31 +0200 iodine (0.5.2-1) unstable; urgency=low * New upstream release. -- gregor herrmann Tue, 02 Jun 2009 18:03:31 +0200 iodine (0.5.1-2) unstable; urgency=low * (Re-)add a warning to README.Debian that both client and server needs to run the same protocol version (cf. #521260). * Create /var/run/iodine in init script if it doesn't exist; thanks to martin f krafft for the bug report (closes: #521259). -- gregor herrmann Thu, 26 Mar 2009 17:45:24 +0100 iodine (0.5.1-1) unstable; urgency=low * New upstream release. * Refresh 03_cflags.patch. * Set Standards-Version to 3.8.1 (no changes). * debian/copyright: add an additional copyright holder. -- gregor herrmann Sat, 21 Mar 2009 20:23:26 +0100 iodine (0.5.0-3) unstable; urgency=low * Improvements in init script, main point: be less verbose when iodined is configured not to start; thanks to Yves-Alexis Perez for the bug report (closes: #514693). * Upload to unstable. -- gregor herrmann Sun, 15 Feb 2009 02:19:15 +0100 iodine (0.5.0-2) experimental; urgency=low * Update example script iodine-jigger; thanks to Stephan Walter for the bug report and to Barak A. Pearlmutter for the updated version; add gawk to Suggests (closes: #513221). -- gregor herrmann Thu, 29 Jan 2009 22:03:44 +0100 iodine (0.5.0-1) experimental; urgency=low * New upstream release. * debian/copyright: update years of upstream copyright. * Install the new protocol descriptions under doc/*. * Refresh patch 03_cflags.patch; drop patch 04_base64.patch, the base64 stuff is used now. * Upload to experimenatal since (1) we are in the pre-lenny freeze and (2) we had problems with the base64 components on hppa. -- gregor herrmann Sun, 25 Jan 2009 01:31:09 +0100 iodine (0.4.2-3) unstable; urgency=low * Add Swedish debconf translation, thanks to Martin Bagge (closes: #504247). * Fix "Init script starts iodined even if it is already running" by removing the "--pidfile" option from the start-stop-daemon calls; doesn't work for a forking process. Thanks to Michael Goetze for the bug report (closes: #511887). * Set debhelper compatibility level to 7; adapt debian/{control,compat,rules} and add debian/iodine.{docs,examples,links}. * debian/copyright: update formatting and years of packaging copyright. -- gregor herrmann Thu, 15 Jan 2009 23:27:07 +0100 iodine (0.4.2-2) unstable; urgency=low * debian/postinst: only try to create /dev/net/tun if it doesn't exist and if /dev/MAKEDEV is available; thanks to Lucas Nussbaum for the bug report and to Lucas, Adeodato Simó, Matthew Johnson, and Alexander Wirt for their help (closes: #502823). -- gregor herrmann Wed, 22 Oct 2008 23:35:25 +0200 iodine (0.4.2-1) unstable; urgency=low * New upstream release: - new command line switch "-s" to skip configration of the tun interface (closes: #477692) - drop patches 01_mandir.patch and 02_make.patch, included upstream - refresh patches 03_cflags.patch and 04_base64.patch * debian/rules: separate DESTDIR and prefix on make install. * Add the packages needed by the example script to Suggests: and don't compress the example script any more. -- gregor herrmann Fri, 08 Aug 2008 16:33:26 -0300 iodine (0.4.1-4) unstable; urgency=low * Add Czech debconf translation, thanks to Daniel Kavan (closes: #483299). * Add note for translators to debconf template and change back localized versions of ".example" to the original as mandated by RFC 2606. * Convert de.po from ISO-8859-1 to UTF-8. * debian/control: change my email address. * Switch patch system from dpatch to quilt. * Add example script iodine-jigger (script to set up an iodine tunnel and route traffic through it) by Barak A. Pearlmutter (closes: #491294). Thanks, Barak! Add copyright/license information about the script to debian/copyright. Mention the example script in README.Debian. * debian/copyright: wrap a long line, update years of packing copyright and my email address. * Set Standards-Version to 3.8.0; add debian/README.source to document quilt usage. -- gregor herrmann Thu, 24 Jul 2008 18:35:59 +0200 iodine (0.4.1-3) unstable; urgency=low * Fix LSB header in init.d script, thanks to Petter Reinholdtsen for the report and the patch (closes: #468653). * Set debhelper compatibility level to 6. * New patch 04_base64: don't build/test {src,tests}/base64* anymore, causes a FBTFS on hppa, and isn't actually used anyway (closes: #468404). -- gregor herrmann Sat, 01 Mar 2008 19:01:22 +0100 iodine (0.4.1-2) unstable; urgency=low * Set Standards-Version to 3.7.3 (no changes required). * Create install-stamp target in debian/rules and adjust target dependencies. * Change debian/copyright to the new machine-readable format. * Add patch 03_cflags.dpatch: use CFLAGS from debian/rules in upstream Makefiles. -- gregor herrmann Tue, 05 Feb 2008 17:31:25 +0100 iodine (0.4.1-1) unstable; urgency=low * New upstream release: - hides password from ps and stdin (closes: #432719). - uses /etc/resolv.conf (closes: #432867). - incorporates patch to daemonize before chrooting and dropping privileges, therefore dropping 02_detach.dpatch. - uses $(MAKE) in Makefile, except in one case, therefore adding patch 02_make.dpatch. - fixes the install dir for the manpage, therefore adapting patch 01_mandir.dpatch. * debian/copyright: update years of copyright. * debian/rules: use $(DPATCH_STAMPFN) and $@. * Mention (improved) manpage in README.Debian. -- gregor herrmann Sat, 01 Dec 2007 02:30:51 +0100 iodine (0.4.0-5) unstable; urgency=low * Apply patch for "init script fails to restart", thanks to Horst Schirmeier (closes: #453001). * debian/rules: make configure-stamp depend on patch. -- gregor herrmann Mon, 26 Nov 2007 20:36:41 +0100 iodine (0.4.0-4) unstable; urgency=low * Add French debconf translation, thanks to Christian Perrier (closes: #434323). * Add Dutch debconf translation, thanks to Bart Cornelis (closes: #451396). * Clean up debian/rules. * Don't install TODO anymore, and remove debian/docs. * Move upstream URL from the description to the new Homepage field. * Change XS-Vcs-* fields to Vcs-*. * Add patch to daemonize before chrooting and dropping privileges, thanks to Matthew William Solloway Bell (closes: #450759). -- gregor herrmann Fri, 16 Nov 2007 12:48:50 +0100 iodine (0.4.0-3) unstable; urgency=low * Add Portuguese translation for debconf messages, thanks to Américo Monteiro and Miguel Figueiredo (closes: #433041). * Add German debconf translation, thanks to Helge Kreutzmann (closes: #433296). * Fix typo in debconf template, thanks to Helge Kreutzmann (closes: #433297). * Add debconf-updatepo to debian/rule's clean target. * Convert debian/changelog to UTF-8. * Fix usage of MAKEDEV, thanks to Marco d'Itri (closes: #434160). -- gregor herrmann Sun, 22 Jul 2007 16:27:51 +0200 iodine (0.4.0-2) unstable; urgency=low * Change mode of /etc/default/iodine to 600, thanks to Lennart Poettering (cf. #432719). -- gregor herrmann Wed, 11 Jul 2007 18:10:12 +0200 iodine (0.4.0-1) unstable; urgency=low * Initial upload to the Debian archive (closes: #430206). * New upstream release. * Fix debian/watch. * Don't create manpages anymore, now included in upstream tarball. * Change debian/rules; upstream Makefile now includes install and test targets. * Move makedev from Build-Depends to Depends. * Add password option to debconf questions and /etc/default/iodine. * Change order in postinst. * Add user iodine and run iodined in a chroot as this user. -- gregor herrmann Sat, 23 Jun 2007 14:49:46 +0200 iodine (0.3.4-1) unstable; urgency=low * Initial release. -- gregor herrmann Fri, 26 Jan 2007 14:03:30 +0100 debian/iodine.docs0000644000000000000000000000001512222267321011302 0ustar README doc/* debian/iodine.links0000644000000000000000000000007112222267321011474 0ustar usr/share/man/man8/iodine.8 usr/share/man/man8/iodined.8 debian/NEWS0000644000000000000000000000036412222267321007667 0ustar iodine (0.6.0~rc1-1) unstable; urgency=low This version introduces a new protocol version (00000502). Both server and client need to use the same protocol version! -- gregor herrmann Sat, 03 Jul 2010 19:03:26 +0200 debian/config0000644000000000000000000000102712222267321010355 0ustar #!/bin/sh CONFIGFILE=/etc/default/iodine set -e . /usr/share/debconf/confmodule if [ -s $CONFIGFILE ] ; then . $CONFIGFILE db_set iodine/start_daemon "$START_IODINED" db_set iodine/daemon_options "$IODINED_ARGS" db_set iodine/daemon_password "$IODINED_PASSWORD" fi db_input medium iodine/start_daemon || true db_go || true db_get iodine/start_daemon START_DAEMON=$RET if [ "x$START_DAEMON" = "xtrue" ] ; then db_input medium iodine/daemon_options || true db_input medium iodine/daemon_password || true db_go || true fi debian/po/0000755000000000000000000000000012222267331007604 5ustar debian/po/pt.po0000644000000000000000000000427212222267321010573 0ustar # translation of iodine to Portuguese # Copyright (C) 207 Américo Monteiro # This file is distributed under the same license as the iodine package. # # Américo Monteiro , 2007. msgid "" msgstr "" "Project-Id-Version: iodine_0.4.0-2_templates\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2007-07-13 20:16+0100\n" "Last-Translator: Américo Monteiro \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "Deverá o iodined (servidor) arrancar no arranque da máquina?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "Se você quer o iodined seja iniciado com o arranque da máquina, você pode " "configurar esse comportamento aqui." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Opções para iodined (servidor):" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Você precisa indicar os argumentos necessários ao iodined; veja iodined(8) " "para ajuda. Exemplo: 10.0.0.1 tunnel.meudominio.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Password para o iodined (servidor):" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Insira a password que o iodined usa no arranque. Ela terá que ser usada " "pelos clientes ao estabelecerem ligação. Esta password será guardada em " "texto simples em /etc/default/iodine." debian/po/de.po0000644000000000000000000000416712222267321010543 0ustar # German translation of iodine templates # Helge Kreutzmann , 2007 # This file is distributed under the same license as the iodine package. # msgid "" msgstr "" "Project-Id-Version: iodine 0.4.0-1\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2007-07-16 09:23+0200\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "Soll der Iodined (Server) beim Systemstart auch gestartet werden?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "Falls Sie möchten, dass zum Systemstartzeitpunkt auch Iodined gestartet " "wird, stellen Sie dies hier ein." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Optionen für Iodined (Server):" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Sie müssen die notwendigen Argumente an Iodined übergeben; lesen Sie " "iodined(8) für Hilfe. Beispiel: 10.0.0.1 tunnel.mydomain.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Passwort für Iodined (Server):" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Geben Sie das Passwort ein, das Iodined beim Starten verwendet. Es muss von " "Clients beim Verbindungsaufbau verwendet werden. Dieses Passwort wird im " "Klartext in /etc/default/iodine gespeichert." debian/po/ja.po0000644000000000000000000000437112222267321010542 0ustar # Copyright (C) 2009 gregor herrmann # This file is distributed under the same license as the iodine package. # Hideki Yamane (Debian-JP) , 2009. # msgid "" msgstr "" "Project-Id-Version: iodine 0.5.2-2\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2009-11-07 14:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "システム起動時に iodined (サーバ) を開始しますか?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "システム起動時に iodined を起動させたい場合は、ここでその設定をすることができ" "ます。" #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "iodined (サーバ) のオプション:" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "iodined への必要な引数を指定しなければなりません。詳細は iodined(8) を参照し" "てください。例: 10.0.0.1 tunnel.mydomain.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "iodined (サーバ) のパスワード:" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "iodined が起動時に使うパスワードを入力してください。これは、クライアントが接" "続する際に使う必要があります。このパスワードは /etc/default/iodine に平文で保" "存されます。" debian/po/it.po0000644000000000000000000000431112222267321010556 0ustar # Italian translation of iodine debconf messages. # Copyright (C) 2012, iodine package copyright holder. # This file is distributed under the same license as the iodine package. # Beatrice Torracca , 2012. msgid "" msgstr "" "Project-Id-Version: iodine\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2012-03-30 18:59+0200\n" "Last-Translator: Beatrice Torracca \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.1\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "Far partire (il server) iodined all'avvio?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "Se si desidera che iodined sia fatto partire all'avvio si può impostare tale " "comportamento qui." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Opzioni per (il server) iodined:" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Si devono fornire gli argomenti necessari a iodined; vedere iodined(8) per " "l'aiuto. Esempio: 10.0.0.1 tunnel.miodominio.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Password per (il server) iodined:" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Inserire la password usata da iodined all'avvio. Deve essere usata dai " "client quando si connettono. Questa password sarà memorizzata come testo in " "chiaro in /etc/default/iodine." debian/po/fr.po0000644000000000000000000000440612222267321010556 0ustar # Translation of iodine debconf templates to French # Copyright (C) 2007 Christian Perrier # This file is distributed under the same license as the iodine package. # # Christian Perrier , 2007. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2007-07-18 19:36+0200\n" "Last-Translator: Christian Perrier \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "Faut-il lancer le démon du serveur Iodine au démarrage ?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "Veuillez choisir si vous souhaitez lancer le démon du serveur Iodine au " "démarrage de la machine." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Options du démon du serveur Iodine :" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Veuillez indiquer les paramètres à passer au server Iodine (voir la page de " "manuel iodined(8) pour plus de détails). Par exemple : « 10.0.0.1 tunnel." "mydomain.example »." #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Mot de passe pour le serveur Iodine :" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Veuillez indiquer le mot de passe qu'utilisera le serveur au démarrage. Il " "sera utilisé par les clients lorsque ceux-ci se connecteront. Ce mot de " "passe sera conservé en clair dans /etc/default/iodine." debian/po/cs.po0000644000000000000000000000372612222267321010560 0ustar # Czech translation of iodine debconf messages. # msgid "" msgstr "" "Project-Id-Version: iodine 0.4.1-3\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2008-05-27 17:54+0200\n" "Last-Translator: Daniel Kavan \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "Má se iodined (server) spouštět při startu systému?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "Pokud chcete, aby se iodined spouštěl při startu systému, můžete to nastavit " "zde." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Možnosti iodined (serveru):" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Je třeba předat potřebné argumenty pro iodined; nápovědu naleznete v " "manuálové stránce iodined(8). Příklad: 10.0.0.1 tunel.mojedomena.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Heslo k iodined (serveru):" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Vložte heslo, které iodined používá při startu. Toto heslo pak musí klienti " "používat při připojování. Heslo bude uloženo jako prostý text v /etc/default/" "iodine." debian/po/es.po0000644000000000000000000000566312222267321010564 0ustar # iodine po-debconf translation to Spanish # Copyright (C) 2010 Software in the Public Interest # This file is distributed under the same license as the iodine package. # # Changes: # - Initial translation # Francisco Javier Cuadrado , 2010 # # - Updates # TRANSLATOR # # Traductores, si no conocen el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: iodine 0.5.2-5\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2010-05-21 19:08+0100\n" "Last-Translator: Francisco Javier Cuadrado \n" "Language-Team: Debian l10n Spanish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "¿Se debería iniciar iodined (servidor) en el arranque?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "Puede configurar aquí si quiere que iodined se inicie en el arranque." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Opciones de iodined (servidor):" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Necesita indicar los parámetros necesarios para iodined, vea iodined(8) para " "la ayuda. Por ejemplo: 10.0.0.1 tunel.midominio.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Contraseña de iodined (servidor):" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Introduzca la contraseña que iodined utiliza al iniciarse. Los clientes la " "deben utilizar al conectarse. Esta contraseña se almacenará en el archivo de " "texto «/etc/default/iodine»." debian/po/da.po0000644000000000000000000000406612222267321010535 0ustar # Danish translation iodine. # Copyright (C) 2010 iodine & nedenstående oversættere. # This file is distributed under the same license as the iodine package. # Joe Hansen (joedalton2@yahoo.dk), 2010. # msgid "" msgstr "" "Project-Id-Version: iodine\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2010-11-10 12:42+0000\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "Skal iodined (server) igangsættes ved opstart?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "Hvis du ønsker at iodined skal igangsættes ved opstart, kan du angive dette " "valg her." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Tilvalg til iodined (server):" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Du skal angive de nødvendige argumenter til iodined; se iodined(8) for " "hjælp. Eksempel: 10.0.0.1 tunnel.mitdomæne.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Adgangskode for iodined (server):" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Indtast adgangskoden iodined bruger ved opstart. Den skal bruges af " "klienter, når de forbinder. Denne adgangskode vil blive gemt i klartekst i /" "etc/default/iodine." debian/po/POTFILES.in0000644000000000000000000000004412222267321011356 0ustar [type: gettext/rfc822deb] templates debian/po/templates.pot0000644000000000000000000000303112222267321012322 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" debian/po/sv.po0000644000000000000000000000414312222267321010575 0ustar # translation of iodine.po to swedish # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Martin Bagge , 2008. msgid "" msgstr "" "Project-Id-Version: iodine\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2008-11-02 05:04+0100\n" "Last-Translator: Martin Bagge \n" "Language-Team: swedish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "Ska iodined (servern) startas vid systemets uppstart?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "Du kan ange att iodined ska startas vid systemets uppstart här." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Alternativ för iodined (servern):" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Det finns argument som måste anges för iodined, läs mer i manualsidan för " "iodined(8). Exempelvis: 10.0.0.1 tunnel.mydomain.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Lösenord för iodined (servern):" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Ange lösenordet iodined ska använda vid uppstarten. Det ska användas av " "klienter som ansluter. Lösenordet kommer att sparas fullt läsbart i filen /" "etc/default/iodine." debian/po/ru.po0000644000000000000000000000507012222267321010573 0ustar # translation of iodine_0.5.2-1_ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2009. msgid "" msgstr "" "Project-Id-Version: iodine 0.5.2-1\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2009-08-30 14:33+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "Запускать службу iodined (сервер) при включении компьютера?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "Если вы хотите, чтобы iodined запускался при включении компьютера, ответьте " "утвердительно." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Параметры для iodined (сервера):" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Вам нужно указать необходимые параметры для iodined; см. iodined(8). Пример: " "10.0.0.1 tunnel.mydomain.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Пароль к iodined (серверу):" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Введите пароль к iodined, используемый при запуске. Он будет использоваться " "клиентами для подключения. Этот пароль хранится в нешифрованном виде в " "файле /etc/default/iodine." debian/po/nl.po0000644000000000000000000000433512222267321010561 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE 'S COPYRIGHT HOLDER # This file is distributed under the same license as the package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: iodine\n" "Report-Msgid-Bugs-To: iodine@packages.debian.org\n" "POT-Creation-Date: 2008-05-28 19:30+0200\n" "PO-Revision-Date: 2007-11-02 15:44+0100\n" "Last-Translator: Bart Cornelis \n" "Language-Team: debian-l10n-dutch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Dutch\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Should iodined (server) start on boot?" msgstr "" "Wilt u dat de achtergronddienst 'iodined' gestart wordt tijdens het " "opstarten van deze machine?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "If you want iodined to be started at boot time you can set this behaviour " "here." msgstr "" "Hier geeft u aan of u wilt dat iodined gestart wordt tijdens het opstarten." #. Type: string #. Description #: ../templates:2001 msgid "Options to iodined (server):" msgstr "Opties voor iodined:" #. Type: string #. Description #. TRANSLATORS: please don't translate/change ".example" (RFC 2606) #: ../templates:2001 msgid "" "You need to give the necessary arguments to iodined; see iodined(8) for " "help. Example: 10.0.0.1 tunnel.mydomain.example" msgstr "" "Hier geeft u de argumenten waarmee iodined aangeroepen dient te worden; meer " "informatie vindt u in de man-pagina iodined(8). Voorbeeld: 10.0.0.1 tunnel." "mijndomein.example" #. Type: password #. Description #: ../templates:3001 msgid "Password for iodined (server):" msgstr "Wachtwoord voor iodined:" #. Type: password #. Description #: ../templates:3001 msgid "" "Enter the password iodined uses at startup. It has to be used by clients " "when connecting. This password will be stored in plain text in /etc/default/" "iodine." msgstr "" "Wat is het door iodined bij het opstarten te gebruiken wachtwoord? Dit " "wachtwoord dient door clients opgegeven te worden wanneer ze verbinding " "maken. Dit wachtwoord wordt als onversleutelde tekst opgeslagen in /etc/" "default/iodine." debian/compat0000644000000000000000000000000212222267321010363 0ustar 9 debian/iodine.iodined.init0000644000000000000000000001002712222267321012733 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: iodined # Required-Start: $remote_fs $network $syslog $named # Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: initscript for iodined # Description: initscript for iodined ### END INIT INFO # Author: gregor herrmann # Do NOT "set -e" # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="IP over DNS tunneling server" NAME=iodined DAEMON=/usr/sbin/$NAME DEFAULT=iodine DAEMON_ARGS="" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME CHROOTDIR=/var/run/iodine # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. . /lib/lsb/init-functions # Get config get_config() { [ -r /etc/default/$DEFAULT ] && . /etc/default/$DEFAULT if [ "$START_IODINED" != "true" ] ; then [ "$VERBOSE" != no ] && log_progress_msg "- automatic start disabled" && log_end_msg 0 exit 0 else if [ -n "$IODINED_ARGS" ] && [ -n "$IODINED_PASSWORD" ] ; then DAEMON_ARGS="-u iodine -t $CHROOTDIR $IODINED_ARGS" else [ "$VERBOSE" != no ] && log_warning_msg "$NAME is not fully configured. Change this in /etc/default/$DEFAULT or run dpkg-reconfigure $DEFAULT." exit 0 fi fi } # chroot dir check_chrootdir() { if [ -d "$CHROOTDIR" ] || mkdir -p "$CHROOTDIR" ; then return 0 else [ "$VERBOSE" != no ] && log_failure_msg "$CHROOTDIR does not exist and can't be created." exit 0 fi } # # Function that starts the daemon/service # do_start() { # populate $DAEMON_ARGS get_config # check CHROOTDIR check_chrootdir # # Return # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started start-stop-daemon --start --quiet --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_ARGS -P "$IODINED_PASSWORD" \ || return 2 # Add code here, if necessary, that waits for the process to be ready # to handle requests from services started subsequently which depend # on this one. As a last resort, sleep for some time. } # # Function that stops the daemon/service # do_stop() { # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet --retry=TERM/5/KILL/5 --exec $DAEMON RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Wait for children to finish too if this is a daemon that forks # and if the daemon is only ever run from this initscript. # If the above conditions are not satisfied then add some other code # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. start-stop-daemon --stop --quiet --oknodo --retry=0/5/KILL/5 --exec $DAEMON [ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE return "$RETVAL" } case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; status) status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; *) echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 3 ;; esac : debian/clean0000644000000000000000000000003512222267321010170 0ustar debian/iodine-client-start.8 debian/postinst0000644000000000000000000000542312222267321010777 0ustar #!/bin/sh # postinst script for iodine # # see: dh_installdeb(1) CONFIGFILE=/etc/default/iodine set -e . /usr/share/debconf/confmodule # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) # we need a tun device if [ ! -c /dev/net/tun ] && [ -x /dev/MAKEDEV ] ; then echo "Creating device /dev/net/tun ..." cd /dev ./MAKEDEV tun || true fi # and we want a special user adduser --quiet --system --home /var/run/iodine iodine # generate/update /etc/default/iodine if [ ! -e $CONFIGFILE ]; then cat <$CONFIGFILE # Default settings for iodine. This file is sourced from # /etc/init.d/iodined START_IODINED= IODINED_ARGS= IODINED_PASSWORD= EOF fi db_get iodine/start_daemon START_IODINED=$RET db_get iodine/daemon_options IODINED_ARGS=$RET db_get iodine/daemon_password IODINED_PASSWORD=$RET cp -a -f $CONFIGFILE $CONFIGFILE.tmp # If the admin deleted or commented some variables but then set # them via debconf, (re-)add them to the conffile. test -z "$START_IODINED" || grep -Eq '^ *START_IODINED=' $CONFIGFILE || \ echo "START_IODINED=" >> $CONFIGFILE test -z "$IODINED_ARGS" || grep -Eq '^ *IODINED_ARGS=' $CONFIGFILE || \ echo "IODINED_ARGS=" >> $CONFIGFILE test -z "$IODINED_PASSWORD" || grep -Eq '^ *IODINED_PASSWORD=' $CONFIGFILE || \ echo "IODINED_PASSWORD=" >> $CONFIGFILE perl -p -e "s{^ *START_IODINED=.*}{START_IODINED=\"$START_IODINED\"}; \ s{^ *IODINED_ARGS=.*}{IODINED_ARGS=\"$IODINED_ARGS\"}; \ s{^ *IODINED_PASSWORD=.*}{IODINED_PASSWORD=\"$IODINED_PASSWORD\"};" \ < $CONFIGFILE > $CONFIGFILE.tmp mv -f $CONFIGFILE.tmp $CONFIGFILE [ ! -e $CONFIGFILE ] || chmod 600 $CONFIGFILE ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # tell debconf we are done. otherwise, it hangs waiting for the daemon. db_stop; # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/templates0000644000000000000000000000134512222267321011111 0ustar Template: iodine/start_daemon Type: boolean Default: false _Description: Should iodined (server) start on boot? If you want iodined to be started at boot time you can set this behaviour here. Template: iodine/daemon_options Type: string #flag:comment:2 # TRANSLATORS: please don't translate/change ".example" (RFC 2606) _Description: Options to iodined (server): You need to give the necessary arguments to iodined; see iodined(8) for help. Example: 10.0.0.1 tunnel.mydomain.example Template: iodine/daemon_password Type: password _Description: Password for iodined (server): Enter the password iodined uses at startup. It has to be used by clients when connecting. This password will be stored in plain text in /etc/default/iodine. debian/iodine.manpages0000644000000000000000000000003512222267321012147 0ustar debian/iodine-client-start.8 debian/README.Debian0000644000000000000000000000104712222267321011230 0ustar iodine for Debian ----------------- * Warning: both the client and the server need to use the same protocol version; in practice that means that the 0.4.x, 0.5.x, and 0.6.x packages are not compatible! * Please note that iodine(d) needs the tun kernel module. * Instruction for setting up the infrastructure (including delegating a new subdomain) are included in /usr/share/doc/iodine/README.gz and in the iodined(8) manpage. * /usr/sbin/iodine-client-start is a script for setting up a tunnel and routing through it from the client side. debian/patches/0000755000000000000000000000000012222267321010614 5ustar debian/patches/spelling.patch0000644000000000000000000000246112222267321013455 0ustar Description: spelling mistake in the manpage Forwarded: no Author: gregor herrmann Last-Update: 2010-07-03 Origin: vendor --- a/man/iodine.8 +++ b/man/iodine.8 @@ -139,7 +139,7 @@ Use this option to scale back upstream bandwidth in favor of downstream bandwidth. Also useful for DNS servers that perform unreliably when using full-length -hostnames, noticable when fragment size autoprobe returns very +hostnames, noticeable when fragment size autoprobe returns very different results each time. .TP .B -T dnstype @@ -218,7 +218,7 @@ .TP .B -c Disable checking the client IP address on all incoming requests. -By default, requests originating from non-matching IP adresses will be +By default, requests originating from non-matching IP addresses will be rejected, however this will cause problems when requests are routed via a cluster of DNS servers. .TP @@ -285,7 +285,7 @@ .B tunnel_ip[/netmask] This is the server's ip address on the tun interface. The client will be given the next ip number in the range. It is recommended to use the -10.0.0.0 or 172.16.0.0 ranges. The default netmask is /27, can be overriden +10.0.0.0 or 172.16.0.0 ranges. The default netmask is /27, can be overridden by specifying it here. Using a smaller network will limit the number of concurrent users. .TP debian/patches/uninitialized-inside_topdomain.patch0000644000000000000000000000111412222267321020025 0ustar Description: fix an uninitialized variable: when domain_len < 0 for instance, inside_topdomain is not initialized, but used. Origin: vendor Bug: http://dev.kryo.se/iodine/ticket/98 Bug-Debian: http://bugs.debian.org/596740 Forwarded: yes Author: Samuel Thibault Reviewed-by: gregor herrmann Last-Update: 2010-09-20 --- a/src/iodined.c +++ b/src/iodined.c @@ -1567,7 +1567,7 @@ struct query q; int read; int domain_len; - int inside_topdomain; + int inside_topdomain = 0; if ((read = read_dns(dns_fd, tun_fd, &q)) <= 0) return 0; debian/patches/verbose-build.patch0000644000000000000000000000177512222267321014411 0ustar Description: make build verbose Origin: vendor Forwarded: no Author: gregor herrmann Last-Update: 2013-05-09 --- a/src/Makefile +++ b/src/Makefile @@ -19,16 +19,16 @@ $(CLIENT): $(COMMONOBJS) $(CLIENTOBJS) @echo LD $@ @mkdir -p ../bin - @$(CC) $(COMMONOBJS) $(CLIENTOBJS) -o $(CLIENT) $(LDFLAGS) + $(CC) $(COMMONOBJS) $(CLIENTOBJS) -o $(CLIENT) $(LDFLAGS) $(SERVER): $(COMMONOBJS) $(SERVEROBJS) @echo LD $@ @mkdir -p ../bin - @$(CC) $(COMMONOBJS) $(SERVEROBJS) -o $(SERVER) $(LDFLAGS) + $(CC) $(COMMONOBJS) $(SERVEROBJS) -o $(SERVER) $(LDFLAGS) .c.o: - @echo CC $< - @$(CC) $(CFLAGS) $< -o $@ + echo CC $< + $(CC) $(CFLAGS) $< -o $@ base64u.o client.o iodined.o: base64u.h base64u.c: base64.c --- a/tests/Makefile +++ b/tests/Makefile @@ -14,11 +14,11 @@ $(TEST): $(OBJS) $(SRCOBJS) @echo LD $(TEST) - @$(CC) -o $@ $(SRCOBJS) $(OBJS) $(LDFLAGS) + $(CC) -o $@ $(SRCOBJS) $(OBJS) $(LDFLAGS) .c.o: @echo CC $< - @$(CC) $(CFLAGS) -c $< + $(CC) $(CFLAGS) -c $< clean: debian/patches/cmdline-r-u.patch0000644000000000000000000000065612222267321013760 0ustar Description: Pavel Pergamenshchik Origin: vendor Bug-Ubuntu: https://bugs.launchpad.net/bugs/880508 Forwarded: http://dev.kryo.se/iodine/ticket/108 Author: Pavel Pergamenshchik Reviewed-by: gregor herrmann Last-Update: 2011-10-23 --- a/src/iodine.c +++ b/src/iodine.c @@ -185,6 +185,7 @@ break; case 'r': raw_mode = 0; + break; case 'u': username = optarg; break; debian/patches/cflags.patch0000644000000000000000000000156712222267321013105 0ustar Description: remove from CFLAGS what gets passed by Debian build system Forwarded: no Origin: vendor Author: gregor herrmann Last-Update: 2010-07-03 --- a/src/Makefile +++ b/src/Makefile @@ -9,7 +9,7 @@ LIBPATH = -L. LDFLAGS += -lz `sh osflags $(TARGETOS) link` $(LIBPATH) -CFLAGS += -c -g -Wall -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags` +CFLAGS += -c -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags` $(CPPFLAGS) all: stateos $(CLIENT) $(SERVER) --- a/tests/Makefile +++ b/tests/Makefile @@ -7,7 +7,7 @@ CHECK_PATH = /usr/local LDFLAGS = -L$(CHECK_PATH)/lib -lcheck `../src/osflags link` -CFLAGS = -g -Wall -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags` +CFLAGS += -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags` $(CPPFLAGS) all: $(TEST) @LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST) debian/patches/0001-man-iodine.8-add-note-about-sharing-port-dnsport.patch0000644000000000000000000000264412222267321023312 0ustar Bug: http://dev.kryo.se/iodine/ticket/112 Bug-Debian: http://bugs.debian.org/668621 Forwarded: http://dev.kryo.se/iodine/ticket/112 Reviewed-by: gregor herrmann Last-Update: 2012-04-15 From 3f246470c7abc13553cffe544c88a4b78afde5b2 Mon Sep 17 00:00:00 2001 From: Luca Capello Date: Fri, 13 Apr 2012 16:45:43 +0200 Subject: [PATCH] man/iodine.8: add note about sharing port/dnsport This complements a62ae8e562d0e9e5729bb4f469bc900074930efc. --- man/iodine.8 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/man/iodine.8 +++ b/man/iodine.8 @@ -1,5 +1,5 @@ .\" groff -man -Tascii iodine.8 -.TH IODINE 8 "DEC 2009" "User Manuals" +.TH IODINE 8 "APR 2012" "User Manuals" .SH NAME iodine, iodined \- tunnel IPv4 over DNS .SH SYNOPSIS @@ -250,6 +250,8 @@ .TP .B -p port Make the server listen on 'port' instead of 53 for traffic. +If 'listen_ip' does not include localhost, this 'port' can be the same +as 'dnsport'. .B Note: You must make sure the dns requests are forwarded to this port yourself. .TP @@ -260,6 +262,8 @@ .B -b dnsport If this port is specified, all incoming requests not inside the tunnel domain will be forwarded to this port on localhost, to be handled by a real dns. +If 'listen_ip' does not include localhost, this 'dnsport' can be the +same as 'port'. .B Note: The forwarding is not fully transparent, and not advised for use in production environments. debian/patches/test-libs.patch0000644000000000000000000000101512222267321013540 0ustar Description: add linker flags for check Origin: vendor Forwarded: no Author: gregor herrmann Last-Update: 2013-06-26 --- a/tests/Makefile +++ b/tests/Makefile @@ -6,7 +6,7 @@ OS = `uname | tr "a-z" "A-Z"` CHECK_PATH = /usr/local -LDFLAGS = -L$(CHECK_PATH)/lib -lcheck `../src/osflags link` +LDFLAGS = -L$(CHECK_PATH)/lib -lcheck `pkg-config --cflags --libs check` `../src/osflags link` CFLAGS += -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags` $(CPPFLAGS) all: $(TEST) debian/patches/series0000644000000000000000000000032312222267321012027 0ustar cflags.patch spelling.patch manpage.patch uninitialized-inside_topdomain.patch armel_ftbfs.patch cmdline-r-u.patch 0001-man-iodine.8-add-note-about-sharing-port-dnsport.patch verbose-build.patch test-libs.patch debian/patches/armel_ftbfs.patch0000644000000000000000000000246412222267321014127 0ustar Description: Rename struct user to struct _user in the code to avoid naming conflict caused by including as part of the armel build. Fixes FTBFS. Origin: Ubuntu Bug: http://dev.kryo.se/iodine/ticket/102 Forwarded: yes Reviewed-by: gregor herrmann Last-Update: 2011-02-10 --- a/src/user.c +++ b/src/user.c @@ -33,7 +33,7 @@ #include "encoding.h" #include "user.h" -struct user users[USERS]; +struct _user users[USERS]; int init_users(in_addr_t my_ip, int netbits) @@ -58,7 +58,7 @@ maxusers = (1 << (32-netbits)) - 3; /* 3: Net addr, broadcast addr, iodined addr */ - memset(users, 0, USERS * sizeof(struct user)); + memset(users, 0, USERS * sizeof(struct _user)); for (i = 0; i < USERS; i++) { in_addr_t ip; users[i].id = i; --- a/src/user.h +++ b/src/user.h @@ -33,7 +33,10 @@ #define QMEMDATA_LEN 15 /* Max advisable: 36/2 = 18. Total mem usage: QMEMDATA_LEN * USERS * 6 bytes */ -struct user { +/* Renamed to struct _user to avoid naming conflict with struct user found in + * which gets included in some builds (armel) */ + +struct _user { char id; int active; int disabled; @@ -73,7 +76,7 @@ #endif }; -extern struct user users[USERS]; +extern struct _user users[USERS]; int init_users(in_addr_t, int); const char* users_get_first_ip(); debian/patches/manpage.patch0000644000000000000000000000142612222267321013250 0ustar Description: *roff mistakes Origin: vendor Forwarded: no Author: gregor herrmann Last-Update: 2010-07-03 --- a/man/iodine.8 +++ b/man/iodine.8 @@ -232,10 +232,10 @@ Implies the .B -f option. -On level 2 (-DD) or higher, DNS queries will be printed literally. +On level 2 (\-DD) or higher, DNS queries will be printed literally. When using Base128 upstream encoding, this is best viewed as ISO Latin-1 text instead of (illegal) UTF-8. -This is easily done with : "LC_ALL=C luit iodined -DD ..." +This is easily done with : "LC_ALL=C luit iodined \-DD ..." (see luit(1)). .TP .B -m mtu @@ -327,7 +327,6 @@ for one. The .B -P option still has precedence. -.El .SH SEE ALSO The README file in the source distribution contains some more elaborate information. debian/copyright0000644000000000000000000000546312222267321011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: iodine Upstream-Contact: Bjorn Andersson , Erik Ekman Source: http://code.kryo.se/iodine Files: * Copyright: 2006-2009, Bjorn Andersson 2006-2009, Erik Ekman License: MIT Files: src/md5.* Copyright: 1999, [2000, ]2002 Aladdin Enterprises. All rights reserved. License: other This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. . L. Peter Deutsch ghost@aladdin.com Files: src/common.c Copyright: 2006-2009, Bjorn Andersson 2006-2009, Erik Ekman 2007 Albert Lee License: MIT Files: debian/* Copyright: 2007-2013, gregor herrmann 2007-2013, tony mancill License: GPL-1+ Files: debian/iodine-client-start Copyright: 2008, Barak A. Pearlmutter License: MIT Comment: git://github.com/barak/iodine-client-start.git License: GPL-1+ 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 1, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1' License: MIT Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. debian/watch0000644000000000000000000000022112222267321010211 0ustar # Compulsory line, this is a version 3 file version=3 opts=uversionmangle=s/-rc/~rc/ \ http://code.kryo.se/iodine/iodine-([\d\w\.-]+)\.tar\.gz debian/postrm0000644000000000000000000000175412222267321010443 0ustar #!/bin/sh # postrm script for #PACKAGE# # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; purge) [ -f /etc/default/iodine ] && rm /etc/default/iodine ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/iodine.install0000644000000000000000000000004412222267321012022 0ustar debian/iodine-client-start usr/sbin debian/iodine.logcheck.ignore.server0000644000000000000000000000035512222267321014727 0ustar ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ iodined: accepted version for user #[[:digit:]]+ from [.[:digit:]]{7,15}$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ iodined: accepted password from user #[[:digit:]]+, given IP [.[:digit:]]{7,15}$