Ticket #293 (closed enhancement: fixed)

Opened 7 weeks ago

Last modified 4 days ago

Revise handling of /tmp/flash/security

Reported by: oliver Owned by:
Priority: low Milestone: freetz-1.2
Component: webinterface Version: devel
Severity: minor Keywords: security
Cc: Blocked By:
Blocking: Product ID:
Firmware Version:

Description

There are currently 3 places with almost same code:

sec_level=1
  [ -r "/tmp/flash/security" ] && let sec_level="$(cat /tmp/flash/security)"

Handling should be concentrated in one function.

Attachments

sec-level.patch (2.6 KB) - added by Whoopie 4 days ago.

Change History

Changed 4 days ago by Whoopie

Changed 4 days ago by Whoopie

Attached patch moves the sec_level check to the libmodcgi.sh. It also addresses the first part of #294. Rudi-Shell will only be shown if the security level is 0.

Changed 4 days ago by Whoopie

  • status changed from new to closed
  • resolution set to fixed

(In [2954]) modcgi: revise handling of /tmp/flash/security (closes #293)

Note: See TracTickets for help on using tickets.