[XS] Change in pysim[master]: osmo-smdpp: bind TLS endpoint to -H interface
Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/43550?usp=email ) Change subject: osmo-smdpp: bind TLS endpoint to -H interface ...................................................................... osmo-smdpp: bind TLS endpoint to -H interface klein ignores host/port when endpoint_description is set, so -H has no effect on the TLS listener, it binds every interface. Append interface= to the string so -H means the same thing with and without TLS. Change-Id: I737c2e7cfa1ca7b825bd36a4a489760918031b8b --- M osmo-smdpp.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/50/43550/1 diff --git a/osmo-smdpp.py b/osmo-smdpp.py index cf26e74..ef214a9 100755 --- a/osmo-smdpp.py +++ b/osmo-smdpp.py @@ -955,7 +955,7 @@ with open(cert_pempath, 'wb') as pem_file: pem_file.write(pem_cert) - SERVER_STRING = f'ssl:{args.port}:privateKey={cert_skpath}:certKey={cert_pempath}:dhParameters={dhparam_path}' + SERVER_STRING = f'ssl:{args.port}:privateKey={cert_skpath}:certKey={cert_pempath}:dhParameters={dhparam_path}:interface={args.host}' print(SERVER_STRING) hs.app.run(host=HOSTNAME, port=args.port, endpoint_description=SERVER_STRING) -- To view, visit https://gerrit.osmocom.org/c/pysim/+/43550?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I737c2e7cfa1ca7b825bd36a4a489760918031b8b Gerrit-Change-Number: 43550 Gerrit-PatchSet: 1 Gerrit-Owner: Hoernchen <ewild@sysmocom.de>
participants (1)
-
Hoernchen