File iodine.spec of Package iodine

#
# spec file for package iodine (Version 0.6.0rc1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Summary:        IP over DNS tunnel

Name:           iodine
Version:        0.7.0
Release:        1
License:        BSD3c(or similar)
Group:          Productivity/Networking/Other
Url:            http://code.kryo.se/iodine/
Source0:        %{name}-0.6.0-rc1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  zlib-devel

%description
iodine 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.

It runs on Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD and Windows and
needs a TUN/TAP device. The bandwidth is asymmetrical with limited
upstream and up to 1 Mbit/s downstream.

Compared to other DNS tunnel implementations, iodine offers:

* Higher performance
  iodine uses the NULL type that allows the downstream data to be sent
  without encoding. Each DNS reply can contain over a kilobyte of
  compressed payload data.

* Portability
  iodine runs on many different UNIX-like systems as well as on
  Win32. Tunnels can be set up between two hosts no matter their
  endianness or operating system.

* Security
  iodine uses challenge-response login secured by MD5 hash. It also
  filters out any packets not coming from the IP used when logging in.

* Less setup
  iodine handles setting IP number on interfaces automatically, and up
  to 16 users can share one server at the same time. Packet size is
  automatically probed for maximum downstream throughput.

%prep
%setup -q -n %name-0.6.0-rc1

%build
make

%install
make DESTDIR=%buildroot prefix=/usr install

%clean
rm -rf %buildroot

%files
%defattr(-,root,root,-)
/usr/sbin/*
%doc %_mandir/*/*

%changelog
openSUSE Build Service is sponsored by