From af745651a3ecc35d78a7c202bea0d9c5c3b8aa4e Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Tue, 12 Feb 2019 20:24:15 +0100 Subject: Add thrift ssl support, more error handling Thrift ssl support: Extend your thrift bwlp.config with the path of cafile, certfile and keyfile (see example bwlp.config) Add ssl file not found error handling Add error handling for all exceptions and log them --- bwlp.config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bwlp.config') diff --git a/bwlp.config b/bwlp.config index 207f2ca..9a9ce84 100644 --- a/bwlp.config +++ b/bwlp.config @@ -2,6 +2,7 @@ # https name host # thrift name host port SAT/MASTER # tftp name host port filename +# tftp name host port filename cafile certfile keyfile https Masterserver HTTPS Service https://bwlp-masterserver.ruf.uni-freiburg.de https Fail Test 5121236 https Fail Test https://www.amazony.de/ @@ -11,10 +12,11 @@ ping Backup fileserver Ping bwlp-backup.ruf.uni-freiburg.de ping Ping Fail 0.0.0.1 thrift Thrift SAT 132.230.8.192 9090 SAT thrift Thrift MASTER 132.230.4.16 9090 MASTER -thrift Thrift MASTER 132.230.4.16 9091 MASTER +thrift Thrift Timeout 132.230.4.16 9092 MASTER +thrift Thrift SSL test 132.230.4.16 9091 MASTER ssl/CA.pem ssl/client.crt ssl/client.key ping BAS Ping bas.intra.uni-freiburg.de ping yc 127.0.0.2 ping yx 127.0.0.3 tftp TFTP bwlp lpxelinux bwlp-pxe.ruf.uni-freiburg.de 69 lpxelinux.0 tftp TFTP bas ipxe bas.intra.uni-freiburg.de 69 ipxe.0 -tftp TFTP bas fail test bas.intra.uni-freiburg.de 69 failtest.0 +tftp TFTP bas fail test bas.intra.uni-freiburg.de 69 failtest.0 \ No newline at end of file -- cgit v1.2.3-55-g7522