-
Notifications
You must be signed in to change notification settings - Fork 2.2k
crash coturn 4.5.0.6 when accessing https #139
Copy link
Copy link
Closed
Labels
Description
When I access my coturn server using https using a browser it crash.
If I access it with a browser on http it works fine.
I'm using debian jessie on AWS and installed only coturn form the sid repository (and to be sure I also installed openssl from the sid repository)
/var/log/syslog
May 31 12:06:25 ip-10-0-1-242 kernel: [ 380.530268] turnserver[488]: segfault at ffffffff00000000 ip 00007fa181796d31 sp 00007fa17d374c80 error 5
May 31 12:06:25 ip-10-0-1-242 kernel: [ 380.535280] turnserver[487]: segfault at ffffffff00000000 ip 00007fa181796d31 sp 00007fa17dd76c80 error 5 in libcrypto.so.1.0.0[7fa181694000+1cd000]
May 31 12:06:25 ip-10-0-1-242 kernel: [ 380.542600] in libcrypto.so.1.0.0[7fa181694000+1cd000]
coturn log
0: log file opened: /var/log/turn_486_2017-05-31.log
0:
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Coturn-4.5.0.6 'dan Eider'
0:
Max number of open files/sockets allowed for this process: 65536
0:
Due to the open files/sockets limitation,
max supported number of TURN Sessions possible is: 32500 (approximately)
0:
==== Show him the instruments, Practical Frost: ====
0: TLS supported
0: DTLS supported
0: DTLS 1.2 supported
0: TURN/STUN ALPN supported
0: Third-party authorization (oAuth) supported
0: GCM (AEAD) supported
0: OpenSSL compile-time version: OpenSSL 1.1.0e 16 Feb 2017 (0x1010005f)
0:
0: SQLite supported, default database location is /var/lib/turn/turndb
0: Redis supported
0: PostgreSQL supported
0: MySQL supported
0: MongoDB is not supported
0:
0: Default Net Engine version: 3 (UDP thread per CPU core)
=====================================================
0: Domain name:
0: Default realm: cammio.me
0: SSL23: Certificate file found: /etc/turn-ssl/cammio.me.2017.crt
0: SSL23: Private key file found: /etc/turn-ssl/cammio.me.2017.key
0: TLS1.0: Certificate file found: /etc/turn-ssl/cammio.me.2017.crt
0: TLS1.0: Private key file found: /etc/turn-ssl/cammio.me.2017.key
0: TLS1.1: Certificate file found: /etc/turn-ssl/cammio.me.2017.crt
0: TLS1.1: Private key file found: /etc/turn-ssl/cammio.me.2017.key
0: TLS1.2: Certificate file found: /etc/turn-ssl/cammio.me.2017.crt
0: TLS1.2: Private key file found: /etc/turn-ssl/cammio.me.2017.key
0: TLS cipher suite: DEFAULT
0: DTLS1.2: Certificate file found: /etc/turn-ssl/cammio.me.2017.crt
0: DTLS1.2: Private key file found: /etc/turn-ssl/cammio.me.2017.key
0: DTLS: Certificate file found: /etc/turn-ssl/cammio.me.2017.crt
0: DTLS: Private key file found: /etc/turn-ssl/cammio.me.2017.key
0: DTLS cipher suite: DEFAULT
0: NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED
0: ===========Discovering listener addresses: =========
0: Listener address to use: 127.0.0.1
0: Listener address to use: 10.0.1.242
0: Listener address to use: ::1
0: =====================================================
0: Total: 1 'real' addresses discovered
0: =====================================================
0: NO EXPLICIT RELAY ADDRESS(ES) ARE CONFIGURED
0: ===========Discovering relay addresses: =============
0: Relay address to use: 10.0.1.242
0: Relay address to use: ::1
0: =====================================================
0: Total: 2 relay addresses discovered
0: =====================================================
0: pid file created: /tmp/turnserver.pid
0: IO method (main listener thread): epoll (with changelist)
0: Wait for relay ports initialization...
0: relay 10.0.1.242 initialization...
0: relay 10.0.1.242 initialization done
0: relay ::1 initialization...
0: relay ::1 initialization done
0: Relay ports initialization done
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=1 created
0: IPv4. TLS/SCTP listener opened on : 127.0.0.1:3478
0: IPv4. TLS/TCP listener opened on : 127.0.0.1:3478
0: IPv4. TLS/SCTP listener opened on : 127.0.0.1:443
0: IPv4. TLS/TCP listener opened on : 127.0.0.1:443
0: IPv4. TLS/SCTP listener opened on : 127.0.0.1:5349
0: IPv4. TLS/TCP listener opened on : 127.0.0.1:5349
0: IPv4. TLS/SCTP listener opened on : 127.0.0.1:5350
0: IPv4. TLS/TCP listener opened on : 127.0.0.1:5350
0: IPv4. TLS/SCTP listener opened on : 10.0.1.242:3478
0: IPv4. TLS/TCP listener opened on : 10.0.1.242:3478
0: IPv4. TLS/SCTP listener opened on : 10.0.1.242:443
0: IPv4. TLS/TCP listener opened on : 10.0.1.242:443
0: IPv4. TLS/SCTP listener opened on : 10.0.1.242:5349
0: IPv4. TLS/TCP listener opened on : 10.0.1.242:5349
0: IPv4. TLS/SCTP listener opened on : 10.0.1.242:5350
0: IPv4. TLS/TCP listener opened on : 10.0.1.242:5350
0: IPv6. TLS/SCTP listener opened on : ::1:3478
0: IPv6. TLS/TCP listener opened on : ::1:3478
0: IPv6. TLS/SCTP listener opened on : ::1:443
0: IPv6. TLS/TCP listener opened on : ::1:443
0: IPv6. TLS/SCTP listener opened on : ::1:5349
0: IPv6. TLS/TCP listener opened on : ::1:5349
0: IPv6. TLS/SCTP listener opened on : ::1:5350
0: IPv6. TLS/TCP listener opened on : ::1:5350
0: IO method (general relay thread): epoll (with changelist)
0: turn server id=0 created
0: IPv4. DTLS/UDP listener opened on: 127.0.0.1:3478
0: IPv4. DTLS/UDP listener opened on: 127.0.0.1:443
0: IPv4. DTLS/UDP listener opened on: 127.0.0.1:5349
0: IPv4. DTLS/UDP listener opened on: 127.0.0.1:5350
0: IPv4. DTLS/UDP listener opened on: 10.0.1.242:3478
0: IPv4. DTLS/UDP listener opened on: 10.0.1.242:443
0: IPv4. DTLS/UDP listener opened on: 10.0.1.242:5349
0: IPv4. DTLS/UDP listener opened on: 10.0.1.242:5350
0: IPv6. DTLS/UDP listener opened on: ::1:3478
0: IPv6. DTLS/UDP listener opened on: ::1:443
0: IPv6. DTLS/UDP listener opened on: ::1:5349
0: IPv6. DTLS/UDP listener opened on: ::1:5350
0: Total General servers: 2
0: IPv4. TLS/TCP listener opened on : 127.0.0.1:3478
0: IPv4. TLS/TCP listener opened on : 127.0.0.1:443
0: IPv4. TLS/TCP listener opened on : 127.0.0.1:5349
0: IPv4. TLS/TCP listener opened on : 127.0.0.1:5350
0: IPv4. TLS/TCP listener opened on : 10.0.1.242:3478
0: IPv4. TLS/TCP listener opened on : 10.0.1.242:443
0: IPv4. TLS/TCP listener opened on : 10.0.1.242:5349
0: IPv4. TLS/TCP listener opened on : 10.0.1.242:5350
0: IPv6. TLS/TCP listener opened on : ::1:3478
0: IPv6. TLS/TCP listener opened on : ::1:443
0: IPv6. TLS/TCP listener opened on : ::1:5349
0: IPv6. TLS/TCP listener opened on : ::1:5350
0: IO method (admin thread): epoll (with changelist)
0: IPv4. CLI listener opened on : 127.0.0.1:5766
0: IO method (auth thread): epoll (with changelist)
0: IO method (auth thread): epoll (with changelist)
0: SQLite DB connection success: /var/lib/turn/turndb
0: New GID: turnserver(111)
0: New UID: turnserver(106)
Reactions are currently unavailable