Hello all, I tried to include a file from within the accounting config-file. The filename was specified using a parameter in params as: ACCFILE=/var/lib/shorewall/accounting.generated and then included in accounting as: INCLUDE $ACCFILE However when (re)starting shorewall, it gave some error about being unable to find ''/etc/shorewall/$ACCFILE'' (with the $ACCFILE parameter unexpanded!) Is this a bug or an unimplemented feature, or is there some way to work around this? At the moment I''ve just hardcoded the path in the include statement. My shorewall version is 2.0.7 on Bering-uclibc 2.2. TIA, Jaap Eldering
On Sun, 2004-11-28 at 19:54 +0100, Jaap Eldering wrote:> Hello all, > > I tried to include a file from within the accounting config-file. > The filename was specified using a parameter in params as: > > ACCFILE=/var/lib/shorewall/accounting.generated > > and then included in accounting as: > > INCLUDE $ACCFILE > > However when (re)starting shorewall, it gave some error about being > unable to find ''/etc/shorewall/$ACCFILE'' (with the $ACCFILE parameter > unexpanded!) > > Is this a bug or an unimplemented feature,Unimplemented feature. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
On Sun, 2004-11-28 at 11:37 -0800, Tom Eastep wrote:> On Sun, 2004-11-28 at 19:54 +0100, Jaap Eldering wrote: > > Hello all, > > > > I tried to include a file from within the accounting config-file. > > The filename was specified using a parameter in params as: > > > > ACCFILE=/var/lib/shorewall/accounting.generated > > > > and then included in accounting as: > > > > INCLUDE $ACCFILE > > > > However when (re)starting shorewall, it gave some error about being > > unable to find ''/etc/shorewall/$ACCFILE'' (with the $ACCFILE parameter > > unexpanded!) > > > > Is this a bug or an unimplemented feature, > > Unimplemented feature.Untested code is in CVS (Shorewall2/ and STABLE2/) -- install file ''functions'' in /usr/share/shorewall. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
On Sun, Nov 28, 2004 at 12:22:48PM -0800, Tom Eastep wrote:> > > I tried to include a file from within the accounting config-file. > > > The filename was specified using a parameter in params as: > > > > > > ACCFILE=/var/lib/shorewall/accounting.generated > > > > > > and then included in accounting as: > > > > > > INCLUDE $ACCFILE > > > > > > However when (re)starting shorewall, it gave some error about being > > > unable to find ''/etc/shorewall/$ACCFILE'' (with the $ACCFILE parameter > > > unexpanded!) > > > > > > Is this a bug or an unimplemented feature, > > > > Unimplemented feature. > > Untested code is in CVS (Shorewall2/ and STABLE2/) -- install file > ''functions'' in /usr/share/shorewall.I can''t find this new functions file in CVS. I tried a cvs checkout of Shorewall2 and the website CVS access, but both show a functions file of 4 weeks old. Jaap
On Mon, 2004-11-29 at 12:19 +0100, Jaap Eldering wrote:> > Untested code is in CVS (Shorewall2/ and STABLE2/) -- install file > > ''functions'' in /usr/share/shorewall. > > I can''t find this new functions file in CVS. I tried a cvs checkout of > Shorewall2 and the website CVS access, but both show a functions file of > 4 weeks old.Sorry -- changes are in CVS now. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
On Mon, Nov 29, 2004 at 07:06:13AM -0800, Tom Eastep wrote:> On Mon, 2004-11-29 at 12:19 +0100, Jaap Eldering wrote: > > > > Untested code is in CVS (Shorewall2/ and STABLE2/) -- install file > > > ''functions'' in /usr/share/shorewall. > > > > I can''t find this new functions file in CVS. I tried a cvs checkout of > > Shorewall2 and the website CVS access, but both show a functions file of > > 4 weeks old. > > Sorry -- changes are in CVS now.No problem :-) and thanks for the quick fix. I have installed the functions file from the STABLE2 branch and it seems to work fine. Jaap
Seemingly Similar Threads
- [Bug 2066] New: ssh tries the keys proposed by the agent before those passed with -i
- [Fwd: [shorewall-coding] Shorewall2 functions, 1.39, 1.40]
- [Bug 2738] New: UpdateHostKeys does not check keys in secondary known_hosts files
- bridge and dynamically adding hosts to zones
- Patch to fix dynamic add/delete to zone functinality