public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd/files: miniupnpd-20090214-iptables_path.diff
@ 2009-04-19 21:12 Bjarke Istrup Pedersen (gurligebis)
  0 siblings, 0 replies; only message in thread
From: Bjarke Istrup Pedersen (gurligebis) @ 2009-04-19 21:12 UTC (permalink / raw
  To: gentoo-commits

gurligebis    09/04/19 21:12:04

  Modified:             miniupnpd-20090214-iptables_path.diff
  Log:
  Fixing iptables commands in scripts
  (Portage version: 2.2_rc29/cvs/Linux i686)

Revision  Changes    Path
1.2                  net-misc/miniupnpd/files/miniupnpd-20090214-iptables_path.diff

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-20090214-iptables_path.diff?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-20090214-iptables_path.diff?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-20090214-iptables_path.diff?r1=1.1&r2=1.2

Index: miniupnpd-20090214-iptables_path.diff
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-20090214-iptables_path.diff,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- miniupnpd-20090214-iptables_path.diff	16 Apr 2009 17:33:30 -0000	1.1
+++ miniupnpd-20090214-iptables_path.diff	19 Apr 2009 21:12:04 -0000	1.2
@@ -1,6 +1,6 @@
 diff -aurp old/netfilter/iptables_display.sh new/netfilter/iptables_display.sh
---- old/netfilter/iptables_display.sh	2008-10-27 20:53:09.000000000 +0000
-+++ new/netfilter/iptables_display.sh	2008-10-27 20:53:38.000000000 +0000
+--- old/netfilter/iptables_display.sh	2009-04-19 20:17:14.000000000 +0000
++++ new/netfilter/iptables_display.sh	2009-04-19 20:17:52.000000000 +0000
 @@ -1,6 +1,6 @@
  #! /bin/sh
  # $Id: iptables_display.sh,v 1.3 2006/11/23 12:32:56 nanard Exp $
@@ -10,8 +10,8 @@
  #display all chains relative to miniupnpd
  $IPTABLES -v -n -t nat -L PREROUTING
 diff -aurp old/netfilter/iptables_flush.sh new/netfilter/iptables_flush.sh
---- old/netfilter/iptables_flush.sh	2008-10-27 20:53:09.000000000 +0000
-+++ new/netfilter/iptables_flush.sh	2008-10-27 20:53:46.000000000 +0000
+--- old/netfilter/iptables_flush.sh	2009-04-19 20:17:14.000000000 +0000
++++ new/netfilter/iptables_flush.sh	2009-04-19 20:17:52.000000000 +0000
 @@ -1,6 +1,6 @@
  #! /bin/sh
  # $Id: iptables_flush.sh,v 1.2 2006/11/23 12:32:57 nanard Exp $
@@ -21,8 +21,8 @@
  #flush all rules owned by miniupnpd
  $IPTABLES -t nat -F MINIUPNPD
 diff -aurp old/netfilter/iptables_init.sh new/netfilter/iptables_init.sh
---- old/netfilter/iptables_init.sh	2008-10-27 20:53:09.000000000 +0000
-+++ new/netfilter/iptables_init.sh	2008-10-27 20:54:39.000000000 +0000
+--- old/netfilter/iptables_init.sh	2009-04-19 20:17:14.000000000 +0000
++++ new/netfilter/iptables_init.sh	2009-04-19 20:18:19.000000000 +0000
 @@ -1,6 +1,6 @@
  #! /bin/sh
  # $Id: iptables_init.sh,v 1.4 2008/04/25 18:15:08 nanard Exp $
@@ -31,9 +31,16 @@
  
  #change this parameters :
  EXTIF=eth0
+@@ -16,5 +16,5 @@ $IPTABLES -t nat -A PREROUTING -i $EXTIF
+ #adding the MINIUPNPD chain for filter
+ $IPTABLES -t filter -N MINIUPNPD
+ #adding the rule to MINIUPNPD
+-$IPTABLES -t filter -A FORWARD -i $EXTIF -o ! $EXTIF -j MINIUPNPD
++$IPTABLES -t filter -A FORWARD -i $EXTIF ! -o $EXTIF -j MINIUPNPD
+ 
 diff -aurp old/netfilter/iptables_removeall.sh new/netfilter/iptables_removeall.sh
---- old/netfilter/iptables_removeall.sh	2008-10-27 20:53:09.000000000 +0000
-+++ new/netfilter/iptables_removeall.sh	2008-10-27 20:54:48.000000000 +0000
+--- old/netfilter/iptables_removeall.sh	2009-04-19 20:17:14.000000000 +0000
++++ new/netfilter/iptables_removeall.sh	2009-04-19 20:18:27.000000000 +0000
 @@ -1,6 +1,6 @@
  #! /bin/sh
  # $Id: iptables_removeall.sh,v 1.4 2008/04/25 18:15:09 nanard Exp $
@@ -42,3 +49,11 @@
  
  #change this parameters :
  EXTIF=eth0
+@@ -16,6 +16,6 @@ $IPTABLES -t nat -X MINIUPNPD
+ #removing the MINIUPNPD chain for filter
+ $IPTABLES -t filter -F MINIUPNPD
+ #adding the rule to MINIUPNPD
+-$IPTABLES -t filter -D FORWARD -i $EXTIF -o ! $EXTIF -j MINIUPNPD
++$IPTABLES -t filter -D FORWARD -i $EXTIF ! -o $EXTIF -j MINIUPNPD
+ $IPTABLES -t filter -X MINIUPNPD
+ 






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

only message in thread, other threads:[~2009-04-19 21:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-19 21:12 [gentoo-commits] gentoo-x86 commit in net-misc/miniupnpd/files: miniupnpd-20090214-iptables_path.diff Bjarke Istrup Pedersen (gurligebis)

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