bareos2015: bareos-13.2 581fdfc7

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-13.2 2013-05-04 22:34 bareos-13.2 a75ec62f Pending
Affected Issues  0000032: Implementation of an allowed job command keyword
Changeset Implementation of an allowed job command keyword

Implement an allowed Job command keyword in the filed that sets which
of the different Job commands we should accept. Currently the filed
will execute any Job command unless people specify the -b or -r option
(backup only/restore only) which makes it a serious security concern by
much of the bigger customers security officers.

This new keyword implements a per director and a global list which is used
as a fallback when a specific one for a specific director is not configured.

We won't filter all the commands issued by the director only
the important ones. Things which we allow to be filtered are:

- backup
- restore
- verify
- estimate
- runscript

Fixes 0000032: Implementation of an allowed job command keyword
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/job.c Diff File