ok to resolved the cross-version issues i installed shorewall-core-4.5.7 along with shorewall-4.5.7 on the administrative system but the following error comes up:
"ash: /usr/sbin/shorewall-lite: Permission denied" root@old:/usr/share/shorewall/open# /sbin/shorewall load 192.168.88.1 Enter passphrase for key '/root/.ssh/id_rsa': Enter passphrase for key '/root/.ssh/id_rsa': Enter passphrase for key '/root/.ssh/id_rsa': Enter passphrase for key '/root/.ssh/id_rsa': Compiling... Processing /usr/share/shorewall/open/params ... Processing /usr/share/shorewall/open/shorewall.conf... Compiling /usr/share/shorewall/open/zones... Compiling /usr/share/shorewall/open/interfaces... Determining Hosts in Zones... Locating Action Files... Compiling /usr/share/shorewall/action.Drop for chain Drop... Compiling /usr/share/shorewall/action.Broadcast for chain Broadcast... Compiling /usr/share/shorewall/action.Invalid for chain Invalid... Compiling /usr/share/shorewall/action.NotSyn for chain NotSyn... Compiling /usr/share/shorewall/action.Reject for chain Reject... Compiling /usr/share/shorewall/open/policy... Adding Anti-smurf Rules Adding rules for DHCP Compiling TCP Flags filtering... Compiling Kernel Route Filtering... Compiling Martian Logging... Compiling /usr/share/shorewall/open/masq... Compiling MAC Filtration -- Phase 1... Compiling /usr/share/shorewall/open/rules... Compiling MAC Filtration -- Phase 2... Applying Policies... Generating Rule Matrix... Creating iptables-restore input... Compiling /usr/share/shorewall/open/routestopped... Shorewall configuration compiled to /usr/share/shorewall/open/firewall Copying /usr/share/shorewall/open/firewall and /usr/share/shorewall/open/firewall.conf to 192.168.88.1:/etc/shorewall-lite/state... Enter passphrase for key '/root/.ssh/id_rsa': firewall 100% 70KB 69.6KB/s 00:00 firewall.conf 100% 382 0.4KB/s 00:00 Copy complete Enter passphrase for key '/root/.ssh/id_rsa': ash: /usr/sbin/shorewall-lite: not found any idea why? p.s. so to recap administrative system : shorewall 4.5.7 and on the firewall system shorewall-lite 4.5.7 and shorewallrc and the capabilities files are in the export directory of the administrative system MD On 13 Sep 2013 at 13:13, Tom Eastep wrote: Date sent: Fri, 13 Sep 2013 13:13:58 -0700 From: Tom Eastep <[email protected]> To: [email protected] Subject: Re: [Shorewall-users] shorewall-lite error at start Send reply to: Shorewall Users <[email protected]> <mailto:[email protected]?subject=unsubscribe> <mailto:[email protected]?subject=subscribe> > On 09/13/2013 12:58 PM, matt darfeuille wrote: > > I did what you suggested on a fresh install, copying shorewallrc > > from the firewall system to the administrative system and modifying > > shorewallrc with the provided line but no luck! > > > > root@old:/usr/share/shorewall/3700# /sbin/shorewall load > > 192.168.88.1 Processing /usr/share/shorewall/3700/params ... > > Processing /usr/share/shorewall/3700/shorewall.conf... > > WARNING: Your capabilities file is out of date -- it does not > > contain all of the capabilities defined by Shorewall version 4.5.18 > > Compiling /usr/share/shorewall/3700/zones... Compiling > > /usr/share/shorewall/3700/interfaces... Determining Hosts in > > Zones... > > WARNING: *** mult2 is an EMPTY ZONE *** > > Locating Action Files... > > Compiling /usr/share/shorewall/3700/policy... > > Running /usr/share/shorewall/3700/initdone... > > Adding Anti-smurf Rules > > Adding rules for DHCP > > Compiling TCP Flags filtering... > > Compiling Kernel Route Filtering... > > Compiling Martian Logging... > > Compiling /usr/share/shorewall/3700/masq... > > Compiling MAC Filtration -- Phase 1... > > Compiling /usr/share/shorewall/3700/rules... > > Compiling /usr/share/shorewall/3700/conntrack... > > Compiling MAC Filtration -- Phase 2... > > Applying Policies... > > Compiling /usr/share/shorewall/action.Drop for chain Drop... > > Compiling /usr/share/shorewall/action.Broadcast for chain > > Broadcast... > > Generating Rule Matrix... > > Compiling /usr/share/shorewall/action.Reject for chain Reject... > > Creating iptables-restore input... Compiling > > /usr/share/shorewall/3700/stoppedrules... Shorewall configuration > > compiled to /usr/share/shorewall/3700/firewall Copying > > /usr/share/shorewall/3700/firewall and > > /usr/share/shorewall/3700/firewall.conf to > > 192.168.88.1:/var/lib/shorewall-lite... Enter passphrase for key > > '/root/.ssh/id_rsa': scp: /var/lib/shorewall-lite: No such file or > > directory > > > > root@old:/usr/share/shorewall/3700# cat shorewallrc > > # > > # Created by Shorewall Core version 4.5.7 configure - Tue Sep 10 > > 18:53:19 MST 2013 > > # > > # Input: --target=mips-openwrt-linux --host=mips-openwrt-linux > > --build=x86_64-linux-gnu --program-prefix= --program-suffix= > > --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin > > --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc > > --datadir=/usr/share --localstatedir=/var --mandir=/usr/man > > --infodir=/usr/info --disable-nls vendor=linux > > # > > HOST=linux > > PREFIX=/usr > > SHAREDIR=/usr/share > > LIBEXECDIR=/usr/lib > > PERLLIBDIR=${PREFIX}/share/shorewall > > CONFDIR=/etc > > SBINDIR=/usr/sbin > > MANDIR=/usr/man > > INITDIR=etc/init.d > > INITSOURCE=init.sh > > INITFILE=$PRODUCT > > AUXINITSOURCE= > > AUXINITFILE= > > SYSTEMD= > > SYSCONFFILE= > > SYSCONFDIR=/etc > > SPARSE= > > ANNOTATED= > > #VARDIR=/var/lib > > VARDIR=/etc/shorewall/state > > Okay -- I guess the cross-version issues are unsurmountable. > > -Tom > -- > Tom Eastep \ When I die, I want to go like my Grandfather who > Shoreline, \ died peacefully in his sleep. Not screaming like > Washington, USA \ all of the passengers in his car > http://shorewall.net \________________________________________________ > > ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
