You Are Here : Forums Sunday, July 06, 2008
     
Activeworx.org Forums
 
  Forum  IDS Policy Mana...  IDS Policy Mana...  Setting up a custom Update Location using Type=File
Previous Previous
 
Next Next
New Post 12/27/2007 4:52 PM
  krypticet
13 posts
10th Level Poster


Setting up a custom Update Location using Type=File 
Hello,

I've been using this program quite successfully for a few months and really enjoy it. Thank you!

I have a question regarding setting up my own Update Location using a File location instead of HTTP. I have a mixed environment where some older sensors use oinkmaster + svn (ssh mode) to update their rule sets. I also have new sensors that are controlled by IDSPM. Up to this point, whenever I've wanted to update the rules on the IDSPM sensors, I've used cygwin + svn to grab the latest rules/configs from my svn master, then created a new Snort Policy in IDSPM, importing the entire rule set, and then pointing all my IDSPM sensors to the new Snort Policy and then syncing them.

In an effort to simplify this process I began investigating creating my own Update Location, using File type and pointing it to my local svn directory. Unfortunately, when I run Update Policies, I see "Getting Policy Details from Database" and then "Done Checking Policy", but my modified rule files don't change. I'm wondering if I configured it correctly. I've tried the following:
Update Locations
Type | Name | Update Location
File | Local | c:\svn\etc\snort
&
File | Local | c:\svn\etc\snort\snort.conf
but neither helped.

Any instruction or comments would be appreciated.

Thank you.

Note: if you aren't familiar w/ svn, it is also called subversion and is an open-source revision control system.
 
New Post 12/27/2007 6:59 PM
  Jeff Dell
219 posts
www.activeworx.com
1st Level Poster


Re: Setting up a custom Update Location using Type=File 

Where are the rules in relation to the snort.conf? are they in the same directory? if not, what is the path in the snort.conf for the rules?

 

Cheers,

Jeff

 
New Post 12/28/2007 4:42 PM
  krypticet
13 posts
10th Level Poster


Re: Setting up a custom Update Location using Type=File 
the rules are in a subfolder ./rules directory.
The directory structure is
c:\svn\etc\snort\snort.conf contains
var RULE_PATH ./rules
include $RULE_PATH/mysql.rules (etc)
c:\svn\etc\snort\threshold.conf
c:\svn\etc\snort\rules\*.rules

thanks.
 
New Post 12/29/2007 6:02 PM
  Jeff Dell
219 posts
www.activeworx.com
1st Level Poster


Re: Setting up a custom Update Location using Type=File 

I am not sure if it knows how to convert "./rules" to "rules". I will take a look.. another option for now is to drop all the rules files in the same directory as the snort.conf, leaving the snort.conf the same. basically IDSPM tries the directory in snort.conf and if that doesn't work it tries the same directory as where snort.conf resides.

 

Cheers,

Jeff

 
Previous Previous
 
Next Next
  Forum  IDS Policy Mana...  IDS Policy Mana...  Setting up a custom Update Location using Type=File
 
 
Copyright 2000-2007 by Activeworx, Inc.
All trademarks and copyrights on this page are owned by their respective owners.