Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Turris
ucollect
Commits
6911073f
Commit
6911073f
authored
Nov 19, 2013
by
Michal 'vorner' Vaner
Browse files
Tweak ciphers
parent
4d70ffda
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/master/collect-master.py
View file @
6911073f
...
...
@@ -77,7 +77,7 @@ class Socat(protocol.ProcessProtocol):
def
errReceived
(
self
,
data
):
logging
.
warn
(
'Socat complained: %s'
,
data
)
args
=
[
'/usr/bin/socat'
,
'OPENSSL-LISTEN:'
+
str
(
master_config
.
getint
(
'port'
))
+
',fork,backlog=50,key='
+
master_config
.
get
(
'key'
)
+
',cert='
+
master_config
.
get
(
'cert'
)
+
',verify=0,cipher=
TLSv1
:!MEDIUM:!LOW:!aNULL,reuseaddr,pf=ip6'
,
'UNIX-CONNECT:./collect-master.sock'
]
args
=
[
'/usr/bin/socat'
,
'OPENSSL-LISTEN:'
+
str
(
master_config
.
getint
(
'port'
))
+
',fork,backlog=50,key='
+
master_config
.
get
(
'key'
)
+
',cert='
+
master_config
.
get
(
'cert'
)
+
',verify=0,cipher=
HIGH
:!MEDIUM:!LOW:!aNULL,reuseaddr,pf=ip6'
,
'UNIX-CONNECT:./collect-master.sock'
]
logging
.
debug
(
'Starting socat with: %s'
,
args
)
reactor
.
spawnProcess
(
Socat
(),
'/usr/bin/socat'
,
args
=
args
,
env
=
os
.
environ
)
endpoint
.
listen
(
ClientFactory
(
plugins
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment