ACC SHELL
YaST bytecode 1.4.0
PortRanges PortRanges.ycp PortAliases report_only_once ReportOnlyOnce max_port_number IsPortRange IsValidPortRange PortIsInPortranges DividePortsAndPortRanges CreateNewPortRange
RemovePortFromPortRanges FlattenServices 7 M
check_this c
port_range port port_ranges unsorted_ports with_aliases min_pr max_pr
port_number port_ranges ? old_list protocol 0 base3 PortAliases GetListOfServiceAliases
GetPortNumber $ %( what_to_report () contains 4) -* 4+ &, add -- $7 %M (N regexpmatch ^[0123456789]+:[0123456789]+$4N -O -Q %c min_pr max_pr (e ! 4e warning $f
sformat
Not a port-range %1 (g ,g
y2milestone
-i $l tointeger regexpsub ^([0123456789]+):.*$ \1$m tointeger regexpsub ^.*:([0123456789]+)$ \1(p && 4p warning $q
sformat
Wrong port-range: '%1':'%2' (r ,r
y2warning
-t (y || 4y warning $z
sformat
Wrong port-range definition %1 ({ ,{
y2warning
-} ( || 4 warning $
sformat
Wrong port-range definition %1 ( ,
y2warning
- ( 4 warning $
sformat
Wrong port-range definition %1 ( ,
y2warning
- - % ret port_number ( size - $ $ ( 4 , foreach
port_range ( 4 min_pr max_pr $ tointeger regexpsub ^([0123456789]+):.*$ \1$ tointeger regexpsub ^.*:([0123456789]+)$ \1( && && 4 & . - % ret $
, foreach port ( 4 ' port_ranges add port_ranges 4 ( 4 ' ports union ports 4 ' ports add ports - % ( || 4 ,
y2error
J Wrong definition of the starting port '%1', it must be between 1 and 65535 - ( || || 4 ,
y2error
H Wrong definition of the ending port '%1', it must be between 1 and 65535 - ( 4 - tostring ( 4 - + + tostring : tostring 4 ,
y2error
9 Starting port '%1' cannot be bigger than ending port '%2' - %
ret ( || - ( || - ,
y2milestone
$ Removing port %1 from port ranges %2 $ , foreach
port_range ( ! 4 ( tostring & add ( tostring 4 min_pr max_pr $ tointeger regexpsub ^([0123456789]+):.*$ \1$ tointeger regexpsub ^.*:([0123456789]+)$ \1(# 4# &$ add + (& 4& &' add - 4) &* add + &+ add - 4. &/ add ,3
y2milestone
Result: %1 -5 %? new_list
list_of_ports list_of_ranges ports_to_port_numbers port_numbers_to_port_names max_loops (@ ! contains TCP UDP 4@ message $A
sformat
4 Protocol %1 doesn't support port ranges, skipping... (B ,B
y2milestone
-C $F $G $H $J
$L
,N foreach one_item (P &P add 4R port_number $S (U 4U ,V
y2warning
4 Unknown port %1 but leaving it in the configuration. &W add -Y '[ '\ add ,` foreach port_number
port_names (b ! tostring 4b (d tostring - 4d &f add - (h tostring + 4h &j add + 4l used_port_names $n (o size 4o &p add 4q ,r
y2milestone
- No port name for port number %1. Adding %1... &t add tostring 4x ,y
y2milestone
, Removing port %1 mentioned in port ranges %2 &} toset $ ,
y2milestone
Joining list of ranges %1 ) && 4 any_change_during_this_loop try_all_these_ranges & - $ $ , foreach
port_range min_pr max_pr ( ! 4 warning $
sformat
+ Wrong port-range definition %1, cannot join ( ,
y2warning
- $ tointeger regexpsub ^([0123456789]+):.*$ \1$ tointeger regexpsub ^.*:([0123456789]+)$ \1( || 4 ,
y2error
Not a port range %1 - , foreach try_this_pr this_min this_max this_min_pr this_max_pr new_min new_max ( - $ regexpsub ^([0123456789]+):.*$ \1$ regexpsub ^.*:([0123456789]+)$ \1( || 4 ,
y2error
Wrong port range %1, %2 > %3 - $ tointeger $ tointeger ( || 4 warning $
sformat
+ Wrong port-range definition %1, cannot join ( ,
y2warning
- $ $ ( && 4 & & & ( && 4 & & & ( && 4 & & & ( && 4 & & & ( + 4 & & & ( - 4 & & & ( && && 4 new_port_range $ ,
y2milestone
Joining %1 and %2 into %3 & filter filter_pr
&&
& add ( . ( ! . ,
y2milestone
Result of joining: %1 & union -
ACC SHELL 2018