public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/iodine] rawhide: update to 0.9.0-1
@ 2026-10-28 20:55 Gabriel Somlo
  0 siblings, 0 replies; only message in thread
From: Gabriel Somlo @ 2026-10-28 20:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/iodine
Branch : rawhide
Commit : 0cff3f3e7dd58a296b33b4873e51cfb76c3e28cd
Author : Gabriel Somlo <gsomlo@gmail.com>
Date   : 2026-10-28T16:55:06-04:00
Stats  : +22/-482 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/iodine/c/0cff3f3e7dd58a296b33b4873e51cfb76c3e28cd?branch=rawhide

Log:
update to 0.9.0-1

---
diff --git a/.gitignore b/.gitignore
index 2eadd83..792a975 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /iodine-0.6.0-rc1.tar.gz
 /iodine-0.7.0.tar.gz
 /iodine-0.8.0.tar.gz
+/iodine-0.9.0.tar.gz

diff --git a/iodine-0.8.0-bin-path.patch b/iodine-0.8.0-bin-path.patch
deleted file mode 100644
index 0ea60c4..0000000
--- a/iodine-0.8.0-bin-path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/Makefile b/Makefile
-index af001cb..bd36c28 100644
---- a/Makefile
-+++ b/Makefile
-@@ -1,5 +1,5 @@
- prefix?=/usr/local
--sbindir=$(prefix)/sbin
-+sbindir=$(prefix)/bin
- datadir=$(prefix)/share
- mandir=$(datadir)/man
- docdir=$(datadir)/doc

diff --git a/iodine-0.8.0-split-man.patch b/iodine-0.8.0-split-man.patch
deleted file mode 100644
index 00a79eb..0000000
--- a/iodine-0.8.0-split-man.patch
+++ /dev/null
@@ -1,454 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 2afe594..af001cb 100644
---- a/Makefile
-+++ b/Makefile
-@@ -27,8 +27,8 @@ install: all
- 	$(INSTALL) $(INSTALL_FLAGS) bin/iodined $(DESTDIR)$(sbindir)/iodined
- 	chmod 755 $(DESTDIR)$(sbindir)/iodined
- 	$(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(mandir)/man8
--	$(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(DESTDIR)$(mandir)/man8/iodine.8
--	chmod 644 $(DESTDIR)$(mandir)/man8/iodine.8
-+	$(INSTALL) $(INSTALL_FLAGS) man/iodine{,d}.8 $(DESTDIR)$(mandir)/man8/
-+	chmod 644 $(DESTDIR)$(mandir)/man8/iodine{,d}.8
- 	$(MKDIR) $(MKDIR_FLAGS) $(DESTDIR)$(docdir)/iodine
- 	$(INSTALL) $(INSTALL_FLAGS) README.md $(DESTDIR)$(docdir)/iodine/README.md
- 	chmod 644 $(DESTDIR)$(docdir)/iodine/README.md
-@@ -36,7 +36,7 @@ install: all
- uninstall:
- 	$(RM) $(RM_FLAGS) $(DESTDIR)$(sbindir)/iodine
- 	$(RM) $(RM_FLAGS) $(DESTDIR)$(sbindir)/iodined
--	$(RM) $(RM_FLAGS) $(DESTDIR)$(mandir)/man8/iodine.8
-+	$(RM) $(RM_FLAGS) $(DESTDIR)$(mandir)/man8/iodine{,d}.8
- 
- test: all
- 	@echo "!! The check library is required for compiling and running the tests"
-diff --git a/man/iodine.8 b/man/iodine.8
-index b724b3a..fa56e28 100644
---- a/man/iodine.8
-+++ b/man/iodine.8
-@@ -1,7 +1,7 @@
- .\" groff -man -Tascii iodine.8
- .TH IODINE 8 "APR 2023" "User Manuals"
- .SH NAME
--iodine, iodined \- tunnel IPv4 over DNS
-+iodine \- tunnel IPv4 over DNS
- .SH SYNOPSIS
- .B iodine [-v]
- 
-@@ -41,46 +41,6 @@ iodine, iodined \- tunnel IPv4 over DNS
- .B ]
- .I topdomain
- 
--.B iodined [-v]
--
--.B iodined [-h]
--
--.B iodined [-4] [-6] [-c] [-s] [-f] [-D] [-u
--.I user
--.B ] [-t
--.I chrootdir
--.B ] [-d
--.I device
--.B ] [-m
--.I mtu
--.B ] [-l
--.I listen_ip4
--.B ] [-L
--.I listen_ip6
--.B ] [-p
--.I port
--.B ] [-n
--(
--.B auto
--|
--.I external_ip
--)
--.B ] [-b
--.I dnsport
--.B ] [-P
--.I password
--.B ] [-z
--.I context
--.B ] [-F
--.I pidfile
--.B ] [-i
--.I max_idle_time
--.B ]
--.I tunnel_ip
--.B [
--.I /netmask
--.B ]
--.I topdomain
- .SH DESCRIPTION
- .B iodine
- lets you tunnel IPv4 data through a DNS
-@@ -238,123 +198,6 @@ SERVFAIL errors even with \-I1; data will still get trough,
- and these errors can be ignored.
- Maximum useful value is 59, since iodined will close a client's
- connection after 60 seconds of inactivity.
--.SS Server Options:
--.TP
--.B -c
--Disable checking the client IP address on all incoming requests.
--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
--.B -s
--Don't try to configure IP address or MTU.
--This should only be used if you have already configured the device that will be
--used.
--.TP
--.B -D
--Increase debug level. Level 1 prints info about each RX/TX packet.
--Implies the
--.B -f
--option.
--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 ..."
--(see luit(1)).
--.TP
--.B -m mtu
--Set 'mtu' as mtu size for the tun device.
--This will be sent to the client on login, and the client will use the same mtu
--for its tun device.  Default 1130.  Note that the DNS traffic will be
--automatically fragmented when needed.
--.TP
--.B -l external|listen_ip4
--Make the server listen only on 'listen_ip4' for incoming IPv4 requests.
--By default, incoming requests are accepted from all interfaces (0.0.0.0).
--A domain name can be used as argument - use one with only one A record.
--If listen_ip4 is 'external', iodined will use the opendns.com DNS service to
--retrieve the external IP of the host and use that as listen address.
--.TP
--.B -L listen_ip6
--Make the server listen only on 'listen_ip6' for incoming IPv6 requests.
--By default, incoming requests are accepted from all interfaces (::).
--A domain name can be used as argument - use one with only one AAAA record.
--.TP
--.B -p port
--Make the server listen on 'port' instead of 53 for traffic.
--If 'listen_ip4' 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
--.B -n auto|external_ip
--The IP address to return in NS responses. Default is to return the address used
--as destination in the query.
--If external_ip is 'auto', iodined will use the opendns.com DNS service to
--retrieve the external IP of the host and use that for NS responses.
--.TP
--.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.
--.TP
--.B -i max_idle_time
--Make the server stop itself after max_idle_time seconds if no traffic have been received.
--This should be combined with systemd or upstart on demand activation for being effective.
--.SS Client Arguments:
--.TP
--.B nameserver
--The nameserver to use to relay the dns traffic. This can be any relaying
--nameserver or the server running iodined if reachable. This field can be
--given as an IPv4/IPv6 address or as a hostname. This argument is optional,
--and if not specified a nameserver will be read from the
--.I /etc/resolv.conf
--file.
--.TP
--.B topdomain
--The dns traffic will be sent as queries for subdomains under
--\'topdomain'. This is normally a subdomain to a domain you own. Use a short
--domain name to get better throughput. If
--.B nameserver
--is the iodined server, then the topdomain can be chosen freely. This argument
--must be the same on both the client and the server.
--.SS Server Arguments:
--.TP
--.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 overridden
--by specifying it here. Using a smaller network will limit the number of
--concurrent users.
--.TP
--.B topdomain
--The dns traffic is expected to arrive as queries for
--subdomains under 'topdomain'. This is normally a subdomain to a domain you
--own. Use a short domain name to get better throughput. This argument must be
--the same on both the client and the server. Queries for domains other
--than 'topdomain' will be forwarded when the \-b option is given, otherwise
--they will be dropped. The topdomain can start with '*' which will allow all
--domains ending with the same suffix.
--.SH EXAMPLES
--See the README file for both a quick test scenario, and a detailed description
--of real-world deployment.
--.SH SECURITY
--Login is a relatively secure challenge-response MD5 hash, with the
--password never passing the wire.
--However, all other data is
--.B NOT
--encrypted in any way. The DNS traffic is also vulnerable to replay,
--injection and man-in-the-middle attacks, especially when iodined is used
--with the \-c option. Use of ssh or vpn tunneling is strongly recommended.
--On both server and client, use
--.IR iptables ,
--.I pf
--or other firewalls to block all traffic coming in from the tun interfaces,
--except to the used ssh or vpn ports.
- .SH ENVIRONMENT
- .SS IODINE_PASS
- If the environment variable
-@@ -363,13 +206,6 @@ is set, iodine will use the value it is set to as password instead of asking
- for one. The
- .B -P
- option still has precedence.
--.SS IODINED_PASS
--If the environment variable
--.B IODINED_PASS
--is set, iodined will use the value it is set to as password instead of asking
--for one. The
--.B -P
--option still has precedence.
- .SH SEE ALSO
- The README file in the source distribution contains some more elaborate
- information.
-diff --git a/man/iodined.8 b/man/iodined.8
-new file mode 100644
-index 0000000..a22f596
---- /dev/null
-+++ b/man/iodined.8
-@@ -0,0 +1,226 @@
-+.\" groff -man -Tascii iodine.8
-+.TH IODINE 8 "APR 2023" "User Manuals"
-+.SH NAME
-+iodined \- tunnel IPv4 over DNS
-+.SH SYNOPSIS
-+.B iodined [-v]
-+
-+.B iodined [-h]
-+
-+.B iodined [-4] [-6] [-c] [-s] [-f] [-D] [-u
-+.I user
-+.B ] [-t
-+.I chrootdir
-+.B ] [-d
-+.I device
-+.B ] [-m
-+.I mtu
-+.B ] [-l
-+.I listen_ip4
-+.B ] [-L
-+.I listen_ip6
-+.B ] [-p
-+.I port
-+.B ] [-n
-+(
-+.B auto
-+|
-+.I external_ip
-+)
-+.B ] [-b
-+.I dnsport
-+.B ] [-P
-+.I password
-+.B ] [-z
-+.I context
-+.B ] [-F
-+.I pidfile
-+.B ] [-i
-+.I max_idle_time
-+.B ]
-+.I tunnel_ip
-+.B [
-+.I /netmask
-+.B ]
-+.I topdomain
-+.SH DESCRIPTION
-+.B iodine
-+lets you tunnel IPv4 data through a DNS
-+server. This can be useful in situations where Internet access is firewalled,
-+but DNS queries are allowed. It needs a TUN/TAP device to operate. The
-+bandwidth is asymmetrical,
-+with a measured maximum of 680 kbit/s upstream and 2.3 Mbit/s
-+downstream in a wired LAN test network.
-+Realistic sustained throughput on a Wifi network using a carrier-grade
-+DNS cache has been measured at some 50 kbit/s upstream and over 200 kbit/s
-+downstream.
-+.B iodine
-+is the client application,
-+.B iodined
-+is the server.
-+
-+Note: server and client are required to speak the exact same protocol. In most
-+cases, this means running the same iodine version. Unfortunately, implementing
-+backward and forward protocol compatibility is usually not feasible.
-+.SH OPTIONS
-+.SS Common Options:
-+.TP
-+.B -v
-+Print version info and exit.
-+.TP
-+.B -h
-+Print usage info and exit.
-+.TP
-+.B -f
-+Keep running in foreground.
-+.TP
-+.B -4
-+Force/allow only IPv4 DNS queries
-+.TP
-+.B -6
-+Force/allow only IPv6 DNS queries
-+.TP
-+.B -u user
-+Drop privileges and run as user 'user' after setting up tunnel.
-+.TP
-+.B -t chrootdir
-+Chroot to 'chrootdir' after setting up tunnel.
-+.TP
-+.B -d device
-+Use the TUN device 'device' instead of the normal one, which is dnsX on Linux
-+and otherwise tunX. On Mac OS X 10.6, this can also be utunX, which will attempt
-+to use an utun device built into the OS.
-+.TP
-+.B -P password
-+Use 'password' to authenticate. If not used,
-+.B stdin
-+will be used as input. Only the first 32 characters will be used.
-+.TP
-+.B -z context
-+Apply SELinux 'context' after initialization.
-+.TP
-+.B -F pidfile
-+Create 'pidfile' and write process id in it.
-+.SS Server Options:
-+.TP
-+.B -c
-+Disable checking the client IP address on all incoming requests.
-+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
-+.B -s
-+Don't try to configure IP address or MTU.
-+This should only be used if you have already configured the device that will be
-+used.
-+.TP
-+.B -D
-+Increase debug level. Level 1 prints info about each RX/TX packet.
-+Implies the
-+.B -f
-+option.
-+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 ..."
-+(see luit(1)).
-+.TP
-+.B -m mtu
-+Set 'mtu' as mtu size for the tun device.
-+This will be sent to the client on login, and the client will use the same mtu
-+for its tun device.  Default 1130.  Note that the DNS traffic will be
-+automatically fragmented when needed.
-+.TP
-+.B -l external|listen_ip4
-+Make the server listen only on 'listen_ip4' for incoming IPv4 requests.
-+By default, incoming requests are accepted from all interfaces (0.0.0.0).
-+A domain name can be used as argument - use one with only one A record.
-+If listen_ip4 is 'external', iodined will use the opendns.com DNS service to
-+retrieve the external IP of the host and use that as listen address.
-+.TP
-+.B -L listen_ip6
-+Make the server listen only on 'listen_ip6' for incoming IPv6 requests.
-+By default, incoming requests are accepted from all interfaces (::).
-+A domain name can be used as argument - use one with only one AAAA record.
-+.TP
-+.B -p port
-+Make the server listen on 'port' instead of 53 for traffic.
-+If 'listen_ip4' 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
-+.B -n auto|external_ip
-+The IP address to return in NS responses. Default is to return the address used
-+as destination in the query.
-+If external_ip is 'auto', iodined will use the opendns.com DNS service to
-+retrieve the external IP of the host and use that for NS responses.
-+.TP
-+.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.
-+.TP
-+.B -i max_idle_time
-+Make the server stop itself after max_idle_time seconds if no traffic have been received.
-+This should be combined with systemd or upstart on demand activation for being effective.
-+.SS Server Arguments:
-+.TP
-+.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 overridden
-+by specifying it here. Using a smaller network will limit the number of
-+concurrent users.
-+.TP
-+.B topdomain
-+The dns traffic is expected to arrive as queries for
-+subdomains under 'topdomain'. This is normally a subdomain to a domain you
-+own. Use a short domain name to get better throughput. This argument must be
-+the same on both the client and the server. Queries for domains other
-+than 'topdomain' will be forwarded when the \-b option is given, otherwise
-+they will be dropped. The topdomain can start with '*' which will allow all
-+domains ending with the same suffix.
-+.SH EXAMPLES
-+See the README file for both a quick test scenario, and a detailed description
-+of real-world deployment.
-+.SH SECURITY
-+Login is a relatively secure challenge-response MD5 hash, with the
-+password never passing the wire.
-+However, all other data is
-+.B NOT
-+encrypted in any way. The DNS traffic is also vulnerable to replay,
-+injection and man-in-the-middle attacks, especially when iodined is used
-+with the \-c option. Use of ssh or vpn tunneling is strongly recommended.
-+On both server and client, use
-+.IR iptables ,
-+.I pf
-+or other firewalls to block all traffic coming in from the tun interfaces,
-+except to the used ssh or vpn ports.
-+.SH ENVIRONMENT
-+.SS IODINE_PASS
-+If the environment variable
-+.B IODINE_PASS
-+is set, iodine will use the value it is set to as password instead of asking
-+for one. The
-+.B -P
-+option still has precedence.
-+.SS IODINED_PASS
-+If the environment variable
-+.B IODINED_PASS
-+is set, iodined will use the value it is set to as password instead of asking
-+for one. The
-+.B -P
-+option still has precedence.
-+.SH SEE ALSO
-+The README file in the source distribution contains some more elaborate
-+information.
-+.SH BUGS
-+File bugs at https://github.com/yarrick/iodine
-+.SH AUTHORS
-+Erik Ekman <yarrick@kryo.se> and Bjorn Andersson <flex@kryo.se>. Major
-+contributions by Anne Bezemer.

diff --git a/iodine-server.service b/iodine-server.service
index 2d8a502..88708db 100644
--- a/iodine-server.service
+++ b/iodine-server.service
@@ -4,7 +4,7 @@ After=local-fs.target network.target
 
 [Service]
 EnvironmentFile=-/etc/sysconfig/iodine-server
-ExecStart=/usr/sbin/iodined $OPTIONS
+ExecStart=/usr/sbin/iodined -f $OPTIONS
 StandardOutput=syslog
 
 [Install]

diff --git a/iodine.spec b/iodine.spec
index 1d31cb7..66e9d51 100644
--- a/iodine.spec
+++ b/iodine.spec
@@ -1,11 +1,11 @@
 Name:		iodine
-Version:	0.8.0
-Release:	10%{?dist}
+Version:	0.9.0
+Release:	1%{?dist}
 Summary:	Solution to tunnel IPv4 data through a DNS server
 Summary(ru):	Решение для туннелирования IPv4 трафика через DNS сервер
 License:	ISC
 URL:		http://code.kryo.se/iodine/
-Source0:	https://github.com/yarrick/%{name}/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz
+Source0:	https://github.com/yarrick/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
 # Initscripts and separate configs made by Nikolay Ulyanitsky
 Source1:	%{name}-client.conf
 Source2:	%{name}-server.conf
@@ -16,20 +16,17 @@ Source6:	%{name}.logrotate.server
 Source7:	%{name}-client.service
 Source8:	%{name}-server.service
 
-# Split man pages into client and server:
-Patch1:		iodine-0.8.0-split-man.patch
+# patches automatically applied by autosetup:
+#Patch1:		iodine-0.9.0-example.patch
 
-# Install to bin rather than sbin:
-# (see https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin)
-Patch2:		iodine-0.8.0-bin-path.patch
-
-BuildRequires:	make
+BuildRequires:	meson
 BuildRequires:	gcc
 BuildRequires:	zlib-devel
 BuildRequires:	systemd
 
-Requires:	%{name}-client
-Requires:	%{name}-server
+Requires:	%{name}-client = %{version}-%{release}
+Requires:	%{name}-server = %{version}-%{release}
+
 
 %description
 iodine lets you tunnel IPv4 data through a DNS server. This can be usable in
@@ -91,11 +88,11 @@ This is the server part of iodine.
 %autosetup -p1 -n %{name}-%{version}%{?prerel}
 
 %build
-# Fails to build without -c gcc flag (comes from upstream Makefile).
-make %{?_smp_mflags} prefix=%{_prefix} CFLAGS="-c %{optflags} -DLINUX -D_GNU_SOURCE"
+%meson
+%meson_build
 
 %install
-make install prefix=%{buildroot}%{_prefix}
+%meson_install
 
 install -Dp -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}-client
 install -Dp -m 0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}-server
@@ -106,6 +103,9 @@ install -Dp -m 0644 %{SOURCE6} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name}-s
 install -Dp -m 0644 %{SOURCE7} %{buildroot}/%{_unitdir}/%{name}-client.service
 install -Dp -m 0644 %{SOURCE8} %{buildroot}/%{_unitdir}/%{name}-server.service
 
+%check
+%meson_test
+
 %post client
 %systemd_post %{name}-client.service
 
@@ -142,6 +142,10 @@ install -Dp -m 0644 %{SOURCE8} %{buildroot}/%{_unitdir}/%{name}-server.service
 %{_unitdir}/%{name}-server.service
 
 %changelog
+* Wed Oct 28 2026 Gabriel L. Somlo <gsomlo@gmail.com> - 0.9.0-1
+- update to 0.9.0
+- use meson build (following upstream switch)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index d899f99..ab10caf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (iodine-0.8.0.tar.gz) = 01938d7c8c68acb07995a32a317b11e6db4b87aa671e4034206826af43795ab04194b20fb2fa0bb3ab62fc317cd66ed7eb1cbab6ed395cb8d96ac4281f324921
+SHA512 (iodine-0.9.0.tar.gz) = 0b40fc60482c6de403864023575d86599f7ebd0bc3a4b385b05db0456e911d3a51602663cfdc3c3fab1acf34c189ee554511a5848c9ecfebe0b5391714fe1691

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 20:55 [rpms/iodine] rawhide: update to 0.9.0-1 Gabriel Somlo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox