Displaying 11 results from an estimated 11 matches for "list_search".
2003 Mar 23
12
Shorewall 1.4.1
This is a minor release of Shorewall.
WARNING: This release introduces incompatibilities with prior releases.
See http://www.shorewall.net/upgrade_issues.htm.
Changes are:
a) There is now a new NONE policy specifiable in
/etc/shorewall/policy. This policy will cause Shorewall to assume that
there will never be any traffic between the source and destination
zones.
b) Shorewall no longer
2005 Feb 01
4
Shorewall problem
I am getting the following message when Shorewall stops can anybody shed
any light on this message and where I should be looking? Thanks
root@bobshost:~# shorewall stop
Loading /usr/share/shorewall/functions...
Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Stopping Shorewall...Processing /etc/shorewall/stop ...
IP Forwarding Enabled
2005 May 31
11
More Tests for 2.4.0-RC2 - strange behaviour
...ply=internet
+ ''['' 3 -gt 5 '']''
+ eval ''net_display=$dsply''
++ net_display=internet
+ newzones='' loc net''
+ zones=''loc net''
+ check_duplicate_zones
+ local localzones=
+ for zone in ''$zones''
+ list_search loc
+ local e=loc
+ ''['' 1 -gt 1 '']''
+ return 1
+ localzones='' loc''
+ for zone in ''$zones''
+ list_search net loc
+ local e=net
+ ''['' 2 -gt 1 '']''
+ shift
+ ''['' xnet = xloc ...
2002 Dec 20
0
Another Beta Patch
...ile: /usr/local/cvs/Shorewall/firewall,v
retrieving revision 1.148
diff -a -u -r1.148 firewall
--- firewall 20 Dec 2002 01:13:41 -0000 1.148
+++ firewall 20 Dec 2002 21:05:59 -0000
@@ -1159,7 +1159,7 @@
for interface in $all_interfaces; do
eval options=\$`chain_base ${interface}`_options
- list_search $options && \
+ list_search $1 $options && \
echo ${interface}:0.0.0.0/0
done
}
@@ -1679,8 +1679,7 @@
qt ip addr del $external dev $interface
fi
- if [ -z "$allints" -o "$allints" = "Yes" \
- -o "$allints" = "ye...
2004 Sep 14
1
start error "invalid interface" on shorewall 2.08
...t;net eth0 detect rfc1918,routefilter"
Error: Invalid Interface Name: eth0:1
Terminated
The status.txt file is attached.
The output of /sbin/shorewall show log is:
Shorewall-2.0.8 Log at ns2.substantis.com -
The the error message from the trace file (attached) is:
+ validate_zone net
+ list_search net net loc dmz fw
+ local e=net
+ ''['' 5 -gt 1 '']''
+ shift
+ ''['' xnet = xnet '']''
+ return 0
+ list_search eth0:1 eth0
+ local e=eth0:1
+ ''['' 2 -gt 1 '']''
+ shift
+ ''['' xeth0:...
2003 Oct 08
2
Problem with /bin/ash
I have /bin/ash from rh8 installation and I have following error when I
tried to change using ash instead of sh with shorewall-1.4.7:
+ eval options=$tap0_options
+ options=
+ list_search newnotsyn
+ local e=newnotsyn
+ [ 1 -gt 1 ]
+ return 1
+ run_user_exit newnotsyn
+ find_file newnotsyn
+ [ -n -a -f /newnotsyn ]
+ echo /etc/shorewall/newnotsyn
+ local user_exit=/etc/shorewall/newnotsyn
+ [ -f /etc/shorewall/newnotsyn ]
+ [ -n info ]
+ log_rule info newnotsyn DROP
+ local level=i...
2005 May 26
3
Updated Shorewall build and publish scripts
...quot;$@" | tee -a $LOGFILE
echo >> $LOGFILE
}
report()
{
echo "$@" | tee -a $LOGFILE
}
do_or_die()
{
eval $@ || { progress_message "Step \"$*\" FAILED" ; exit 2; }
}
fatal_error() {
progress_message "$*"
exit 2
}
list_search() # $1 = element to search for , $2-$n = list
{
local e=$1
while [ $# -gt 1 ]; do
shift
[ "x$e" = "x$1" ] && return 0
done
return 1
}
usage()
{
echo "usage: $(basename $0) [ -trhxl] <version> [ <old-version> ]"
exit 2
}...
2005 May 25
5
Patch to fix dynamic add/delete to zone functinality
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I''m running systems with openswan and modified _updown script supporting
shorewall dynamic hosts. Because on problems with cvs head version of
openswan I found a error from shorewall dynamic hosts support. When host
is already in zone shorewall aborts adding process with error. This is
not good thing(tm).
I found out that deleting host from
2004 Aug 19
4
MASQUERADE problem again...
...''
+ setup_one
+ local add_snat_aliases=, pre_nat= policy=
+ ''['' x = x- '']''
+ ''['' -n '''' '']''
+ ''['' -n '''' '']''
+ destnets=0.0.0.0/0
+ interface=eth0
+ list_search eth0 eth0 eth1 eth2
+ local e=eth0
+ ''['' 4 -gt 1 '']''
+ shift
+ ''['' xeth0 = xeth0 '']''
+ return 0
+ ''['' eth1 = eth1 '']''
+ nomasq=
+ source=eth1
++ get_routed_networks eth1
++ local address
++ l...
2004 Feb 10
22
Re: [Shorewall-newbies] specific log-prefix ... patch
Let''s move this to the Shorewall Development list....
On Tuesday 10 February 2004 03:14 pm, xavier wrote:
> here is a patch to allow this :
> |ACCEPT<10/sec:20>:debug fw lan:$ntp_servers udp 123 - - - - ntp
>
> a problem with the patch is that now the logprefix is mandatory.
> i''m trying to debug it, but i can''t find the flaw.
Also, with
2002 Oct 23
23
"basic two-interface" setup problem
Hi,
I installed the shorewall 1.3.8-2 debian package to my debian testing
machine which serves as the gateway to the internet. Since I have two
other machine connect to internet thru this gateway machine, I also
downloaded the configuration guide for "basic two-interface firewall"
and
followed the instructions. When I try to start the shorewall I get the
following message and can not