LOGMARK is simply a log level, just like 'info' or 'NFLOG'. You use it any place that a log level may be used. If you simply want to log a packet
LOG:LOGMARK <source zone> <dest zone> ...
in the rules file.
-Tom
On Tue, 2011-07-19 at 09:00 +0100, Ed W wrote:
> Pretty please - an example?
>
> Thanks
>
> Ed W
>
> On 15/07/2011 19:29, Ed W wrote:
> > Hi, I'm struggling to figure out how/where to implement a rule
> > triggering "LOGMARK" output?
> >
> >>From grepping the code it looks like I can raise the priority of all
> > logging in shorewall.conf to be "LOGMARK", but it seems that you need
> > both LOG and LOGMARK output to do anything useful? I can't get my head
> > around the rest of the code to see how else it can be used, but it
> > definitely looks like I can do more?
> >
> > Can someone please help me out with an example LOGMARK line, presumably
> > in "rules"?
> >
> > The intent is to debug my tcrules and so I really need to be able to
> > target LOGMARK rules in the chains of my choice and matching only
> > certain packets. Currently doing it by hand, but would be great if
> > there was a shorewall supported method?
> >
> > Shorewall 4.4.20.3
> >
> > Many thanks!
> >
> > Ed W
> >
> > ------------------------------------------------------------------------------
> > AppSumo Presents a FREE Video for the SourceForge Community by Eric
> > Ries, the creator of the Lean Startup Methodology on "Lean Startup
> > Secrets Revealed." This video shows you how to validate your ideas,
> > optimize your ideas and identify your business strategy.
> > http://p.sf.net/sfu/appsumosfdev2dev
> > _______________________________________________
> > Shorewall-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/shorewall-users
>
>
> ------------------------------------------------------------------------------
> Magic Quadrant for Content-Aware Data Loss Prevention
> Research study explores the data loss prevention market. Includes in-depth
> analysis on the changes within the DLP market, and the criteria used to
> evaluate the strengths and weaknesses of these DLP solutions.
> http://www.accelacomm.com/jaw/sfnl/114/51385063/
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
--
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 \________________________________________________
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
