Login  Register

Re: Update script (fw_upgrade)

Posted by hans2 on Mar 03, 2016; 11:12pm
URL: https://itus.accessinnov.com/Update-script-fw-upgrade-tp43p268.html

Awesome work! I will include it in the next hotfix update (BETA4)

The webfilter has also other options than the Malicious and the Ads. Should we put some effort in updating them all if people have them selected activated?

In /usr/lib/lua/luci/view/admin_status/index.htm I found how the various "updates" are reported:
....
		<tr><td width="33%"><%:IPS Last Updated%></td><td><%=luci.sys.exec("ls -alst /etc/snort/rules/snort.rules | cut -c52-58") or "?"%></td></tr>
		<tr><td width="33%"><%:Web Filter Last Updated%></td><td><%=luci.sys.exec("ls -alst /etc/itus/lists/ads | cut -c52-58") or "?"%></td></tr>
		<tr><td width="33%"><%:Shield Update Last Run%></td><td><%=luci.sys.exec("cat /.do_date | cut -c5-10") or "?"%></td></tr>
....

(I was looking for the rule that updates the Operating Mode in the same file but it seems to be fixed:
...
		<tr><td width="33%"><%:Operating Mode%></td><td>UTM Bridge</td></tr>
...
No more: Shield Pro v1, Chaos Calmer, FW 1.51 SP1