1
0
mirror of https://github.com/FrodoVDR/UdpPipe.git synced 2023-10-10 13:36:54 +02:00

Various Changes / Fixes

+ moved code away from __init__
+ fixed debug level toggle
+ threads have names and start times
+ challenge validation check problem resolved
+ added some consistency checks for fields on admin server
This commit is contained in:
Mark Liebrand 2018-01-28 16:52:20 +01:00
parent 4ebf5e39b1
commit ed7b6da5c5
5 changed files with 1129 additions and 1069 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
openssl genrsa -out private.key 1024
openssl genrsa -out private.key 3072
openssl pkcs8 -topk8 -inform pem -in private.key -outform pem -nocrypt -out private.pem
openssl req -new -x509 -key private.key -out publickey.cer -days 365
openssl req -new -x509 -key private.key -out publickey.cer -days 3650
openssl x509 -inform pem -in publickey.cer -pubkey -noout > publickey.pem
mkdir ../key
mv private.pem ../key

View File

@ -3,4 +3,4 @@
# pid file is by default /tmp/udppipe.pid
# log file is by default /tmp/udppipe.log
export PYTHONPATH=.
python eu/liebrand/udppipe/__init__.py $1 -T
python eu/liebrand/udppipe/Pipe.py $1 -T

View File

@ -1,5 +1,5 @@
# rename the template to udppipe.ini in order to use it
# once started lock at /tmp/udppipe.log
# once started look at /tmp/udppipe.log
[tail]
# the following two keys tell thead app where to connect to
@ -7,6 +7,8 @@ headHost=<hostname>
headPort=<port>
# timeout in seconds to wait for a response or the next incoming packet giving up / cleaning up
timeout=60
# name of the instance - for information / identification only
instanceName=<instance name>
# see head ini file
#logLevel=20
@ -27,3 +29,8 @@ listenPort=<port the head application should listen on for incoming udp packets>
forwardHost=<hostname in the local network tail is running>
forwardPort=<port number where the target service is running in the LAN>
#enableAdmin=yes
#adminPort=16002
#certificate=key/publickey.cer
#publicKey=key/publickey.pem
#privateKey=key/private.pem