Thank you Tom for the temporary fix!!!:)

While waiting for your answer I did it manually:

shorewall compile -e $PWD firewall

Then I "sshed" both files(firewall firewall.conf) to openwrt in the 
VARLIB directory followed by shorewall-lite start which give me the 
following errors:

/etc/shorewall-lite/lib/shorewall-lite/firewall: line 2251: syntax 
error: unexpected word (expecting ")")
/etc/shorewall-lite/lib/shorewall-lite/firewall: line 2263: syntax 
error: unexpected word (expecting ")")
/etc/shorewall-lite/lib/shorewall-lite/firewall: line 3177: !::=: not 
found
/etc/shorewall-lite/lib/shorewall-lite/firewall: line 3177: !C:=: not 
found
/etc/shorewall-lite/lib/shorewall-lite/firewall: line 3177: 
CommonProgramFiles(x86)=: not found

Line 2251 is     CommonProgramFiles(x86)=
Line 2263 is     ProgramFiles(x86)=
Line 3177 is initialize

I am not sure why environmental window variables are included in the 
compiled script!:)

Question/request

Since /var is an tmpfs partition on openwrt, would it be possible to 
have a variable that could be used to set only the path for firewall, 
firewall.conf and the restore file thus every temporarily file would 
still go in /var but those file needed across reboot would be on the 
rootfs partition!?:)
EG:
VARLIB=/var/lib
PERSIST_REBOOT_FILE=/etc/...

On openwrt the logs are not saved in a file, would it be possible to 
specify a command(logread) instead of a filename for the variable 
LOGFILE in shorewall.conf?:)
EG:
LOGFILE=logread

-Matt

On 27 Oct 2015 at 8:04, Tom Eastep wrote:

> On 10/26/2015 05:00 PM, matt darfeuille wrote:
> > Hi,
> > 
> > While attempting to run on cygwin the following command remote_start 
> > I get this usage message:
> > 
> > $ shorewall remote_start
> > 
> > Usage: shorewall [debug|trace] [nolock] [ -q ] [ -v[-1|{0-2}] ] [ -t 
> > ] <command>
> ...
> > 
> > $ shorewall version -a
> > shorewall-core: 5.0.1
> > shorewall: 5.0.1
> > shorewall6: 5.0.1
> > 
> > Am I missing something!:)
> > 
> 
> Hmmm - this is embarrassing. While I documented the commands as
> 'remote_*', I implemented them as 'remote-*'. Also, the 'remote-reload'
> command is broken.
> 
> I'm going to change the documentation, as we already have 'safe-start',
> 'safe-restart', etc. and I think that the remote commands should follow
> that precedent.
> 
> In the meantime, if you correct the obvious typo in line 1648 of
> lib.cli-std, you can use the "remote-*" commands.
> 
>       remote-start|remote-reload-reload|remote-restart)
> 
> should be
> 
>       remote-start|remote-reload|remote-restart)
> 
> > 
> > P.S. Using a custom rc file I was able to install shorewall-lite on 
> > openwrt!!!
> > 
> 
> Good!
> 
> -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 \________________________________________________
> 
> 



------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to