Results 1 to 3 of 3
  1. #1
    Master Untangler
    Join Date
    Aug 2008
    Posts
    109

    Default Enable or Log all rules

    To try and understand how to import a set of snort rules of my own (namely the emergingthreats.net basis), I started doing a lot of reading...

    After reading many postings here about snort rules and why there's 11k plus snort rules vs just under 3000 here...and further comments on the why are not all the rules active...are the untangle staff smarter, etc...
    At the end of it, I understand two things...
    1. this is a layer 7 filter so 75% of the snort rules are not applicable.
    2. lots of people want all the logging and maybe enable them, regardless of the 100 pages you need to manually parse to activate them if you wish.

    I can't help on my quest yet...give me another day or two... nor improve the 75% you may think have been dropped...

    That said, if you want to turn all logging for all the rules, this little bit of code run from the terminal will do that for you... you can verify from the gui easily enough...

    su postgres
    psql uvm
    update n_ips_rule set log = 't';
    \q
    exit


    If you instead want to activate them all (no going back to their prechosen options easily except a reload (or backup restore which you're on your own for)


    su postgres
    psql uvm
    update n_ips_rule set live = 't';
    \q
    exit


    Hope that helps....
    And with any luck, I hope to get some instructions up on how to bulk import a set of snort rules such as those from www.emergingthreats.net
    Dave

  2. #2
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Mateo, CA
    Posts
    11,745

    Default

    that should work for the settings, you may need to restart the untangle-vm via
    Code:
    /etc/init.d/untangle-vm restart
    to get it to re-read setting
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  3. #3
    Master Untangler
    Join Date
    Aug 2008
    Posts
    109

    Default

    I guess I got lucky since my box was reloaded a few times as mine were picked up when I analyzing the log the following day...
    Thanks
    D.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2