Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vladimir KozLove
bitmask-vpn
Commits
44fcc216
Commit
44fcc216
authored
2 years ago
by
Kali Kaneko
Browse files
Options
Downloads
Patches
Plain Diff
[pkg] allow colon in tls-ciphers
parent
7085ba13
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/README.txt
+4
-0
4 additions, 0 deletions
helpers/README.txt
pkg/pickle/helpers/bitmask-root
+2
-2
2 additions, 2 deletions
pkg/pickle/helpers/bitmask-root
with
6 additions
and
2 deletions
helpers/README.txt
0 → 100644
+
4
−
0
View file @
44fcc216
The helpers now live in
pkg/pickle/helpers/
this folder is kept for backwards compatibility with the build process.
This diff is collapsed.
Click to expand it.
pkg/pickle/helpers/bitmask-root
+
2
−
2
View file @
44fcc216
...
...
@@ -89,7 +89,7 @@ def is_ipv6_disabled():
def
tostr
(
s
):
return
s
.
decode
(
'
utf-8
'
)
VERSION
=
"
1
6
"
VERSION
=
"
1
7
"
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
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment