From b9d58c09588d58e4c4e6fb93fcc3db75e70805fa Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 26 Feb 2019 18:10:47 +0100 Subject: Add predefined firewall rulesets --- src/main/thrift/bwlp.thrift | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/main/thrift') diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index 308b62b..94afcf1 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -274,10 +274,17 @@ struct PresetRunScript { 3: list osIds, } +struct PresetNetRule { + 1: i32 ruleId, + 2: string displayName, + 3: list netRules, +} + struct PredefinedData { 1: list netShares, 2: list ldapFilter, 3: list runScripts, + 4: list networkExceptions, } // Write lecture to sat. if optional fields are not set or null, their value stays unchanged @@ -304,6 +311,7 @@ struct LectureWrite { 21: optional list networkShares, 22: optional list ldapFilters, 23: optional list presetScriptIds, + 24: optional list presetNetworkExceptionIds, } struct LectureSummary { @@ -355,10 +363,11 @@ struct LectureRead { 27: bool limitToAllowedUsers, 28: bool hasUsbAccess, 29: optional list networkShares, - 32: optional list presetNetworkShares, 30: optional list ldapFilters, - 33: optional list presetLdapFilters, 31: optional list presetScriptIds, + 32: optional list presetNetworkShares, + 33: optional list presetLdapFilters, + 34: optional list presetNetworkExceptionIds, } struct MasterTag { -- cgit v1.2.3-55-g7522