Hi Group, Is there any way to present the rule name in the log file of shorewall? So if I have something like: #ACTION SOURCE DEST DROP:info net fw # RULE Test ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
Hi Group, Is there any way to present the rule name in the log file of shorewall? So if I have something like: #ACTION SOURCE DEST DROP:info net fw # RULE Test I will have in the log file some representation of the rule name test in my log file? I saw the option logtagonly - but not sure if this what I need? Also, does this works with ULOG? NFLOG? Thanks Sassy On Thu, Oct 31, 2013 at 11:43 PM, Sassy Natan <sassyn@gmail.com> wrote:> Hi Group, > > Is there any way to present the rule name in the log file of shorewall? > > So if I have something like: > > #ACTION SOURCE DEST > DROP:info net fw # RULE Test > >------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
Look at http://www.shorewall.net/manpages/shorewall.conf.html for correct syntax about LOGTAGONLY. On Thu, Oct 31, 2013 at 7:43 PM, Sassy Natan <sassyn@gmail.com> wrote:> Hi Group, > > Is there any way to present the rule name in the log file of shorewall? > > So if I have something like: > > > #ACTION SOURCE DEST > DROP:info net fw # RULE Test > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users > >------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
Another very useful option is TRACK_RULES={Yes|No} at http://www.shorewall.net/manpages/shorewall.conf.html Activating this, whenever you type "shorewall show" you can see the which line in your configurations files generated which iptables rule along with it''s statistics (if it has been used or not) Ex: 17371 1424K Drop all -- * * 0.0.0.0/0 0.0.0.0/0 /* @@@ /etc/shorewall/policy:28 @@@ */ 44756 2831K smurfs all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID,NEW,UNTRACKED /* @@@ /etc/shorewall/interfaces:10 @@@ */ 40 1720 ACCEPT udp -- * * 189.47.186.1 0.0.0.0/0 udp dpt:514 /* @@@ /etc/shorewall/rules:34 @@@ */ On Fri, Nov 1, 2013 at 9:46 AM, Guilsson G <guilsson@gmail.com> wrote:> Look at http://www.shorewall.net/manpages/shorewall.conf.html for correct > syntax about LOGTAGONLY. > > > On Thu, Oct 31, 2013 at 7:43 PM, Sassy Natan <sassyn@gmail.com> wrote: > >> Hi Group, >> >> Is there any way to present the rule name in the log file of shorewall? >> >> So if I have something like: >> >> #ACTION SOURCE DEST >> DROP:info net fw # RULE Test >> >> >> >> ------------------------------------------------------------------------------ >> Android is increasing in popularity, but the open development platform >> that >> developers love is also attractive to malware creators. Download this >> white >> paper to learn more about secure code signing practices that can help keep >> Android apps secure. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk >> _______________________________________________ >> Shorewall-users mailing list >> Shorewall-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/shorewall-users >> >> >------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk