Skip to content
Snippets Groups Projects
Commit 44fcc216 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[pkg] allow colon in tls-ciphers

parent 7085ba13
No related branches found
No related tags found
No related merge requests found
The helpers now live in
pkg/pickle/helpers/
this folder is kept for backwards compatibility with the build process.
......@@ -89,7 +89,7 @@ def is_ipv6_disabled():
def tostr(s):
return s.decode('utf-8')
VERSION = "16"
VERSION = "17"
SCRIPT = "bitmask-root"
NAMESERVER_TCP = "10.41.0.1"
NAMESERVER_UDP = "10.42.0.1"
......@@ -174,7 +174,7 @@ PARAM_FORMATS = {
"NUMBER": lambda s: re.match("^\d+$", s),
"PROTO": lambda s: re.match("^(tcp|udp|tcp4|udp4)$", s),
"IP": lambda s: is_valid_address(s),
"CIPHER": lambda s: re.match("^[A-Z0-9-]+$", s),
"CIPHER": lambda s: re.match("^[A-Z0-9-\:]+$", s),
"USER": lambda s: re.match(
"^[a-zA-Z0-9_\.\@][a-zA-Z0-9_\-\.\@]*\$?$", s), # IEEE Std 1003.1-2001
"FILE": lambda s: os.path.isfile(s),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment