Fixed filters for functional tests
Removed filter for unused tee utility. CommandFilter for curl replaced with more stricted RegExpFilter and now allow run curl only with specified parameters. Change-Id: I5d151a63f85cb969f79d4d92f5422e8e88855be5 Closes-Bug: #1487139
This commit is contained in:
parent
bce1ae72ad
commit
ed392dc535
|
@ -9,9 +9,7 @@ ping_filter: CommandFilter, ping, root
|
|||
ping6_filter: CommandFilter, ping6, root
|
||||
|
||||
# enable curl from namespace
|
||||
curl_filter: CommandFilter, curl, root
|
||||
tee_filter: CommandFilter, tee, root
|
||||
tee_kill: KillFilter, root, tee, -9
|
||||
curl_filter: RegExpFilter, /usr/bin/curl, root, curl, --max-time, \d+, -D-, http://[0-9a-z:./-]+
|
||||
nc_filter: CommandFilter, nc, root
|
||||
# netcat has different binaries depending on linux distribution
|
||||
nc_kill: KillFilter, root, nc, -9
|
||||
|
|
Loading…
Reference in New Issue