aum & automatic updates

Customer support forums for the modsecurity rules feed. There is no such thing as a bad question here as long as it pertains to using the real time modsecurity rules feed. Newbies feel free to get help getting started or asking questions that may be obvious.
taenzerme
Forum User
Forum User
Posts: 5
Joined: Sat Oct 10, 2015 10:00 am
Location: Germany

aum & automatic updates

Unread post by taenzerme »

Hello,

we're using aum with a valid rules subscription. The documents mention that aum updates the rules automatically. How is this done? Has anything to be done that rules are refreshed every x hours? For now I ran aum -uf (-u did not update the rules after a change in config file) but do I need to put this in cron myself - or is there another mechanism that does the automatic updates?

Thanks in advance,
Sebastian
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: aum & automatic updates

Unread post by mikeshinn »

Yes, its automatic. You dont need to set anything up. By default will check hourly.
taenzerme
Forum User
Forum User
Posts: 5
Joined: Sat Oct 10, 2015 10:00 am
Location: Germany

Re: aum & automatic updates

Unread post by taenzerme »

Michael, unfortunately something does not work as expected. I installed aum on our Debian 8 instance and everything seems to work, yet the automatic updates don't.

Code: Select all

xxxx@xxxx:/var/asl/updates# ll
insgesamt 2624
-rw-r--r-- 1 root root 669734 Okt 14 00:08 modsec-201510131655.tar.bz2
-rw-r--r-- 1 root root 669698 Okt 15 13:23 modsec-201510141116.tar.bz2
-rw-r--r-- 1 root root 670698 Okt 19 15:26 modsec-201510161200.tar.bz2
only shows the last update from manually running aum -u.
After running aum -u there's a new file in /var/asl/updates from today.

I redid aum configure, but the updates aren't running every hour. Do I need to put something in cron.hourly for this manually maybe?

Best,
Sebastian
Post Reply