Hello community, here is the log from the commit of package tallow for openSUSE:Factory checked in at 2019-02-26 22:20:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tallow (Old) and /work/SRC/openSUSE:Factory/.tallow.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tallow" Tue Feb 26 22:20:04 2019 rev:2 rq:678934 version:16+git20190219.35182b8 Changes: -------- --- /work/SRC/openSUSE:Factory/tallow/tallow.changes 2019-02-17 12:19:43.644227172 +0100 +++ /work/SRC/openSUSE:Factory/.tallow.new.28833/tallow.changes 2019-02-26 22:21:26.966086420 +0100 @@ -1,0 +2,7 @@ +Sun Feb 24 11:07:41 UTC 2019 - [email protected] + +- Update to version 16+git20190219.35182b8: + * Force insert iptables rules as rule #1. + * Debug: print path to skipped file, not the other one. + +------------------------------------------------------------------- Old: ---- tallow-16+git20190123.0a0a912.tar.xz New: ---- tallow-16+git20190219.35182b8.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tallow.spec ++++++ --- /var/tmp/diff_new_pack.DwAhBs/_old 2019-02-26 22:21:27.522086223 +0100 +++ /var/tmp/diff_new_pack.DwAhBs/_new 2019-02-26 22:21:27.526086221 +0100 @@ -17,15 +17,15 @@ Name: tallow -Version: 16+git20190123.0a0a912 +Version: 16+git20190219.35182b8 Release: 0 Summary: Temporary IP address ban issuance daemon License: GPL-3.0-or-later Group: Productivity/Security URL: https://github.com/clearlinux/tallow Source: tallow-%{version}.tar.xz -Requires: iptables Requires: ipset +Requires: iptables BuildRequires: autoconf BuildRequires: automake BuildRequires: libjson-c-devel ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.DwAhBs/_old 2019-02-26 22:21:27.562086209 +0100 +++ /var/tmp/diff_new_pack.DwAhBs/_new 2019-02-26 22:21:27.562086209 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/clearlinux/tallow.git</param> - <param name="changesrevision">0a0a912c70c40655b82290637033846da6916acd</param> + <param name="changesrevision">35182b8447c0af058264fd4b8fbf9abc8011fbea</param> </service> </servicedata> \ No newline at end of file ++++++ tallow-16+git20190123.0a0a912.tar.xz -> tallow-16+git20190219.35182b8.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tallow-16+git20190123.0a0a912/man/tallow.conf.5 new/tallow-16+git20190219.35182b8/man/tallow.conf.5 --- old/tallow-16+git20190123.0a0a912/man/tallow.conf.5 2019-01-24 00:56:17.000000000 +0100 +++ new/tallow-16+git20190219.35182b8/man/tallow.conf.5 2019-02-19 18:47:54.000000000 +0100 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "TALLOW" "5" "January 2019" "" "" +.TH "TALLOW" "5" "February 2019" "" "" . .SH "NAME" \fBtallow\fR @@ -40,10 +40,10 @@ . .nf - iptables \-t filter \-I INPUT \-m set \-\-match\-set tallow src \-j DROP + iptables \-t filter \-I INPUT 1 \-m set \-\-match\-set tallow src \-j DROP ipset create tallow hash:ip family inet timeout 3600 - ip6tables \-t filter \-I INPUT \-m set \-\-match\-set tallow6 src \-j DROP + ip6tables \-t filter \-I INPUT 1 \-m set \-\-match\-set tallow6 src \-j DROP ipset create tallow6 hash:ip family inet6 timeout 3600 . .fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tallow-16+git20190123.0a0a912/man/tallow.conf.5.md new/tallow-16+git20190219.35182b8/man/tallow.conf.5.md --- old/tallow-16+git20190123.0a0a912/man/tallow.conf.5.md 2019-01-24 00:56:17.000000000 +0100 +++ new/tallow-16+git20190219.35182b8/man/tallow.conf.5.md 2019-02-19 18:47:54.000000000 +0100 @@ -61,10 +61,10 @@ manually, you can use the following commands: ``` - iptables -t filter -I INPUT -m set --match-set tallow src -j DROP + iptables -t filter -I INPUT 1 -m set --match-set tallow src -j DROP ipset create tallow hash:ip family inet timeout 3600 - ip6tables -t filter -I INPUT -m set --match-set tallow6 src -j DROP + ip6tables -t filter -I INPUT 1 -m set --match-set tallow6 src -j DROP ipset create tallow6 hash:ip family inet6 timeout 3600 ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tallow-16+git20190123.0a0a912/src/json.c new/tallow-16+git20190219.35182b8/src/json.c --- old/tallow-16+git20190123.0a0a912/src/json.c 2019-01-24 00:56:17.000000000 +0100 +++ new/tallow-16+git20190219.35182b8/src/json.c 2019-02-19 18:47:54.000000000 +0100 @@ -185,7 +185,7 @@ struct stat st; if (stat(sp, &st) == 0) { - dbg("Skipped %s\n", sp); + dbg("Skipped " SYSCONFDIR "/" PACKAGE_NAME "/%s\n", entry->d_name); free(sp); continue; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tallow-16+git20190123.0a0a912/src/tallow.c new/tallow-16+git20190219.35182b8/src/tallow.c --- old/tallow-16+git20190123.0a0a912/src/tallow.c 2019-01-24 00:56:17.000000000 +0100 +++ new/tallow-16+git20190219.35182b8/src/tallow.c 2019-02-19 18:47:54.000000000 +0100 @@ -84,7 +84,7 @@ fprintf(stderr, "Unable to create ipv4 ipset.\n"); exit(EXIT_FAILURE); } - if (ext("%s/iptables -t filter -A INPUT -m set --match-set tallow src -j DROP", ipt_path)) { + if (ext("%s/iptables -t filter -I INPUT 1 -m set --match-set tallow src -j DROP", ipt_path)) { fprintf(stderr, "Unable to create iptables rule.\n"); exit(EXIT_FAILURE); } @@ -96,7 +96,7 @@ fprintf(stderr, "Unable to create ipv6 ipset.\n"); exit(EXIT_FAILURE); } - if (ext("%s/ip6tables -t filter -A INPUT -m set --match-set tallow6 src -j DROP", ipt_path)) { + if (ext("%s/ip6tables -t filter -I INPUT 1 -m set --match-set tallow6 src -j DROP", ipt_path)) { fprintf(stderr, "Unable to create ipt6ables rule.\n"); exit(EXIT_FAILURE); }
