The following packages will be installed: coturn Fetching README... 0%100%100%100%100%100%Done Fetching coturn.SlackBuild... 0%100%100%100%100%100%Done Fetching coturn.info... 0%100%100%100%100%100%Done Fetching doinst.sh... 0%100%100%100%100%100%Done Fetching logrotate.turnserver... 0%100%100%100%100%100%Done Fetching rc.turnserver... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done coturn-4.5.2/ coturn-4.5.2/.gitignore coturn-4.5.2/.travis.yml coturn-4.5.2/AUTHORS coturn-4.5.2/ChangeLog coturn-4.5.2/INSTALL coturn-4.5.2/LICENSE coturn-4.5.2/LICENSE.OpenSSL coturn-4.5.2/Makefile.in coturn-4.5.2/NOTE coturn-4.5.2/README.md coturn-4.5.2/README.turnadmin coturn-4.5.2/README.turnserver coturn-4.5.2/README.turnutils coturn-4.5.2/STATUS coturn-4.5.2/TODO coturn-4.5.2/configure coturn-4.5.2/docker/ coturn-4.5.2/docker/README.docker coturn-4.5.2/docker/coturn/ coturn-4.5.2/docker/coturn/Dockerfile coturn-4.5.2/docker/coturn/coturn.env coturn-4.5.2/docker/coturn/turnserver.conf coturn-4.5.2/docker/cp-schema.sh coturn-4.5.2/docker/docker-compose-all.yml coturn-4.5.2/docker/docker-compose-mongodb.yml coturn-4.5.2/docker/docker-compose-mysql.yml coturn-4.5.2/docker/docker-compose-postgresql.yml coturn-4.5.2/docker/docker-compose-redis.yml coturn-4.5.2/docker/mongodb/ coturn-4.5.2/docker/mongodb/mongodb.env coturn-4.5.2/docker/mysql/ coturn-4.5.2/docker/mysql/Dockerfile coturn-4.5.2/docker/mysql/init-coturn-db.sql coturn-4.5.2/docker/mysql/mysql.env coturn-4.5.2/docker/mysql/schema.sql coturn-4.5.2/docker/postgresql/ coturn-4.5.2/docker/postgresql/Dockerfile coturn-4.5.2/docker/postgresql/postgresql.env coturn-4.5.2/docker/postgresql/schema.sql coturn-4.5.2/docker/redis/ coturn-4.5.2/docker/redis/Dockerfile coturn-4.5.2/docker/redis/redis.conf coturn-4.5.2/docker/redis/redis.env coturn-4.5.2/examples/ coturn-4.5.2/examples/ca/ coturn-4.5.2/examples/ca/CA.pl.diff coturn-4.5.2/examples/ca/CA/ coturn-4.5.2/examples/ca/CA/cacert.pem coturn-4.5.2/examples/ca/CA/careq.pem coturn-4.5.2/examples/ca/CA/crlnumber coturn-4.5.2/examples/ca/CA/index.txt coturn-4.5.2/examples/ca/CA/index.txt.attr coturn-4.5.2/examples/ca/CA/index.txt.attr.old coturn-4.5.2/examples/ca/CA/index.txt.old coturn-4.5.2/examples/ca/CA/newcerts/ coturn-4.5.2/examples/ca/CA/newcerts/4C9BEC95D121491D5D65A71A614667DD42186546.pem coturn-4.5.2/examples/ca/CA/newcerts/4C9BEC95D121491D5D65A71A614667DD42186547.pem coturn-4.5.2/examples/ca/CA/newcerts/4C9BEC95D121491D5D65A71A614667DD42186548.pem coturn-4.5.2/examples/ca/CA/private/ coturn-4.5.2/examples/ca/CA/private/cakey.pem coturn-4.5.2/examples/ca/CA/serial coturn-4.5.2/examples/ca/CA/serial.old coturn-4.5.2/examples/ca/openssl.conf coturn-4.5.2/examples/ca/run.sh coturn-4.5.2/examples/ca/turn_client_cert.pem coturn-4.5.2/examples/ca/turn_client_pkey.pem coturn-4.5.2/examples/ca/turn_server_cert.pem coturn-4.5.2/examples/ca/turn_server_pkey.pem coturn-4.5.2/examples/cpu-mem.sh coturn-4.5.2/examples/etc/ coturn-4.5.2/examples/etc/cacert.pem coturn-4.5.2/examples/etc/coturn.service coturn-4.5.2/examples/etc/turn_client_cert.pem coturn-4.5.2/examples/etc/turn_client_pkey.pem coturn-4.5.2/examples/etc/turn_server_cert.pem coturn-4.5.2/examples/etc/turn_server_pkey.pem coturn-4.5.2/examples/etc/turnserver.conf coturn-4.5.2/examples/run_all_clients.sh coturn-4.5.2/examples/scripts/ coturn-4.5.2/examples/scripts/basic/ coturn-4.5.2/examples/scripts/basic/dos_attack.sh coturn-4.5.2/examples/scripts/basic/relay.sh coturn-4.5.2/examples/scripts/basic/tcp_client.sh coturn-4.5.2/examples/scripts/basic/tcp_client_c2c_tcp_relay.sh coturn-4.5.2/examples/scripts/basic/udp_c2c_client.sh coturn-4.5.2/examples/scripts/basic/udp_client.sh coturn-4.5.2/examples/scripts/loadbalance/ coturn-4.5.2/examples/scripts/loadbalance/master_relay.sh coturn-4.5.2/examples/scripts/loadbalance/slave_relay_1.sh coturn-4.5.2/examples/scripts/loadbalance/slave_relay_2.sh coturn-4.5.2/examples/scripts/loadbalance/tcp_c2c_tcp_relay.sh coturn-4.5.2/examples/scripts/loadbalance/udp_c2c.sh coturn-4.5.2/examples/scripts/longtermsecure/ coturn-4.5.2/examples/scripts/longtermsecure/secure_dos_attack.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_dtls_client.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_dtls_client_cert.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_relay.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_relay_cert.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_sctp_client.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_tcp_client.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_tls_client.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_tls_client_cert.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_udp_c2c.sh coturn-4.5.2/examples/scripts/longtermsecure/secure_udp_client.sh coturn-4.5.2/examples/scripts/longtermsecuredb/ coturn-4.5.2/examples/scripts/longtermsecuredb/secure_relay_with_db_mongo.sh coturn-4.5.2/examples/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh coturn-4.5.2/examples/scripts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh coturn-4.5.2/examples/scripts/longtermsecuredb/secure_relay_with_db_psql.sh coturn-4.5.2/examples/scripts/longtermsecuredb/secure_relay_with_db_redis.sh coturn-4.5.2/examples/scripts/longtermsecuredb/secure_relay_with_db_sqlite.sh coturn-4.5.2/examples/scripts/mobile/ coturn-4.5.2/examples/scripts/mobile/mobile_dtls_client.sh coturn-4.5.2/examples/scripts/mobile/mobile_relay.sh coturn-4.5.2/examples/scripts/mobile/mobile_tcp_client.sh coturn-4.5.2/examples/scripts/mobile/mobile_tls_client_c2c_tcp_relay.sh coturn-4.5.2/examples/scripts/mobile/mobile_udp_client.sh coturn-4.5.2/examples/scripts/oauth.sh coturn-4.5.2/examples/scripts/pack.sh coturn-4.5.2/examples/scripts/peer.sh coturn-4.5.2/examples/scripts/readme.txt coturn-4.5.2/examples/scripts/restapi/ coturn-4.5.2/examples/scripts/restapi/secure_relay_secret.sh coturn-4.5.2/examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh coturn-4.5.2/examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh coturn-4.5.2/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh coturn-4.5.2/examples/scripts/restapi/secure_relay_secret_with_db_redis.sh coturn-4.5.2/examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh coturn-4.5.2/examples/scripts/restapi/secure_udp_client_with_secret.sh coturn-4.5.2/examples/scripts/restapi/shared_secret_maintainer.pl coturn-4.5.2/examples/scripts/rfc5769.sh coturn-4.5.2/examples/scripts/selfloadbalance/ coturn-4.5.2/examples/scripts/selfloadbalance/secure_dos_attack.sh coturn-4.5.2/examples/scripts/selfloadbalance/secure_relay.sh coturn-4.5.2/examples/var/ coturn-4.5.2/examples/var/db/ coturn-4.5.2/examples/var/db/turndb coturn-4.5.2/make-man.sh coturn-4.5.2/man/ coturn-4.5.2/man/man1/ coturn-4.5.2/man/man1/coturn.1 coturn-4.5.2/man/man1/turnadmin.1 coturn-4.5.2/man/man1/turnserver.1 coturn-4.5.2/man/man1/turnutils.1 coturn-4.5.2/man/man1/turnutils_natdiscovery.1 coturn-4.5.2/man/man1/turnutils_oauth.1 coturn-4.5.2/man/man1/turnutils_peer.1 coturn-4.5.2/man/man1/turnutils_stunclient.1 coturn-4.5.2/man/man1/turnutils_uclient.1 coturn-4.5.2/netarch.txt coturn-4.5.2/postinstall.txt coturn-4.5.2/rpm/ coturn-4.5.2/rpm/CentOS6.pre.build.sh coturn-4.5.2/rpm/CentOS7.pre.build.sh coturn-4.5.2/rpm/Fedora.pre.build.sh coturn-4.5.2/rpm/build.instructions.txt coturn-4.5.2/rpm/build.settings.sh coturn-4.5.2/rpm/build.sh coturn-4.5.2/rpm/common.pre.build.sh coturn-4.5.2/rpm/epel6.install.sh coturn-4.5.2/rpm/epel7.install.sh coturn-4.5.2/rpm/turnserver-tmpfiles.conf coturn-4.5.2/rpm/turnserver.init.el coturn-4.5.2/rpm/turnserver.service.fc coturn-4.5.2/rpm/turnserver.spec coturn-4.5.2/rpm/turnserver.sysconfig coturn-4.5.2/rpm/uninstall.turnserver.sh coturn-4.5.2/src/ coturn-4.5.2/src/apps/ coturn-4.5.2/src/apps/common/ coturn-4.5.2/src/apps/common/apputils.c coturn-4.5.2/src/apps/common/apputils.h coturn-4.5.2/src/apps/common/hiredis_libevent2.c coturn-4.5.2/src/apps/common/hiredis_libevent2.h coturn-4.5.2/src/apps/common/ns_turn_openssl.h coturn-4.5.2/src/apps/common/ns_turn_utils.c coturn-4.5.2/src/apps/common/ns_turn_utils.h coturn-4.5.2/src/apps/common/stun_buffer.c coturn-4.5.2/src/apps/common/stun_buffer.h coturn-4.5.2/src/apps/natdiscovery/ coturn-4.5.2/src/apps/natdiscovery/natdiscovery.c coturn-4.5.2/src/apps/oauth/ coturn-4.5.2/src/apps/oauth/oauth.c coturn-4.5.2/src/apps/peer/ coturn-4.5.2/src/apps/peer/mainudpserver.c coturn-4.5.2/src/apps/peer/udpserver.c coturn-4.5.2/src/apps/peer/udpserver.h coturn-4.5.2/src/apps/relay/ coturn-4.5.2/src/apps/relay/acme.c coturn-4.5.2/src/apps/relay/acme.h coturn-4.5.2/src/apps/relay/dbdrivers/ coturn-4.5.2/src/apps/relay/dbdrivers/dbd_mongo.c coturn-4.5.2/src/apps/relay/dbdrivers/dbd_mongo.h coturn-4.5.2/src/apps/relay/dbdrivers/dbd_mysql.c coturn-4.5.2/src/apps/relay/dbdrivers/dbd_mysql.h coturn-4.5.2/src/apps/relay/dbdrivers/dbd_pgsql.c coturn-4.5.2/src/apps/relay/dbdrivers/dbd_pgsql.h coturn-4.5.2/src/apps/relay/dbdrivers/dbd_redis.c coturn-4.5.2/src/apps/relay/dbdrivers/dbd_redis.h coturn-4.5.2/src/apps/relay/dbdrivers/dbd_sqlite.c coturn-4.5.2/src/apps/relay/dbdrivers/dbd_sqlite.h coturn-4.5.2/src/apps/relay/dbdrivers/dbdriver.c coturn-4.5.2/src/apps/relay/dbdrivers/dbdriver.h coturn-4.5.2/src/apps/relay/dtls_listener.c coturn-4.5.2/src/apps/relay/dtls_listener.h coturn-4.5.2/src/apps/relay/http_server.c coturn-4.5.2/src/apps/relay/http_server.h coturn-4.5.2/src/apps/relay/libtelnet.c coturn-4.5.2/src/apps/relay/libtelnet.h coturn-4.5.2/src/apps/relay/mainrelay.c coturn-4.5.2/src/apps/relay/mainrelay.h coturn-4.5.2/src/apps/relay/netengine.c coturn-4.5.2/src/apps/relay/ns_ioalib_engine_impl.c coturn-4.5.2/src/apps/relay/ns_ioalib_impl.h coturn-4.5.2/src/apps/relay/ns_sm.h coturn-4.5.2/src/apps/relay/prom_server.c coturn-4.5.2/src/apps/relay/prom_server.h coturn-4.5.2/src/apps/relay/tls_listener.c coturn-4.5.2/src/apps/relay/tls_listener.h coturn-4.5.2/src/apps/relay/turn_admin_server.c coturn-4.5.2/src/apps/relay/turn_admin_server.h coturn-4.5.2/src/apps/relay/turn_ports.c coturn-4.5.2/src/apps/relay/turn_ports.h coturn-4.5.2/src/apps/relay/userdb.c coturn-4.5.2/src/apps/relay/userdb.h coturn-4.5.2/src/apps/rfc5769/ coturn-4.5.2/src/apps/rfc5769/rfc5769check.c coturn-4.5.2/src/apps/stunclient/ coturn-4.5.2/src/apps/stunclient/stunclient.c coturn-4.5.2/src/apps/uclient/ coturn-4.5.2/src/apps/uclient/mainuclient.c coturn-4.5.2/src/apps/uclient/session.h coturn-4.5.2/src/apps/uclient/startuclient.c coturn-4.5.2/src/apps/uclient/startuclient.h coturn-4.5.2/src/apps/uclient/uclient.c coturn-4.5.2/src/apps/uclient/uclient.h coturn-4.5.2/src/client++/ coturn-4.5.2/src/client++/TurnMsgLib.h coturn-4.5.2/src/client/ coturn-4.5.2/src/client/ns_turn_ioaddr.c coturn-4.5.2/src/client/ns_turn_ioaddr.h coturn-4.5.2/src/client/ns_turn_msg.c coturn-4.5.2/src/client/ns_turn_msg.h coturn-4.5.2/src/client/ns_turn_msg_addr.c coturn-4.5.2/src/client/ns_turn_msg_addr.h coturn-4.5.2/src/client/ns_turn_msg_defs.h coturn-4.5.2/src/client/ns_turn_msg_defs_experimental.h coturn-4.5.2/src/ns_turn_defs.h coturn-4.5.2/src/server/ coturn-4.5.2/src/server/ns_turn_allocation.c coturn-4.5.2/src/server/ns_turn_allocation.h coturn-4.5.2/src/server/ns_turn_ioalib.h coturn-4.5.2/src/server/ns_turn_khash.h coturn-4.5.2/src/server/ns_turn_maps.c coturn-4.5.2/src/server/ns_turn_maps.h coturn-4.5.2/src/server/ns_turn_maps_rtcp.c coturn-4.5.2/src/server/ns_turn_maps_rtcp.h coturn-4.5.2/src/server/ns_turn_server.c coturn-4.5.2/src/server/ns_turn_server.h coturn-4.5.2/src/server/ns_turn_session.h coturn-4.5.2/turndb/ coturn-4.5.2/turndb/schema.mongo.sh coturn-4.5.2/turndb/schema.sql coturn-4.5.2/turndb/schema.stats.redis coturn-4.5.2/turndb/schema.userdb.redis coturn-4.5.2/turndb/testmongosetup.sh coturn-4.5.2/turndb/testredisdbsetup.sh coturn-4.5.2/turndb/testsqldbsetup.sql ginstall is /usr/bin/ginstall pkill is /usr/bin/pkill sqlite3 is /usr/bin/sqlite3 Use TMP dir /var/tmp Compiler: cc pkg-config is /usr/bin/pkg-config pkg-config: pkg-config Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lintl cannot be used Sockets code is fine: no sin_len field present Ignore IP_RECVERR OpenSSL Crypto lib found. OpenSSL lib found. Libevent2 runtime found. Library option -lprom cannot be used Warning: Libprom development libraries are not installed properly in required location. Prometheus support will be disabled. See the INSTALL file. Systemd library not found. Building without systemd support. SQLite3 library found. PostgreSQL found. MySQL found. MongoDB not found. Building without MongoDB support. Hiredis found. PREFIX=/usr LOCALSTATEDIR=/var OSLIBS= -lrt -lnsl -lresolv -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent DBLIBS= -lsqlite3 -ldl -L/usr/lib64/postgresql/14/lib -lpq -lmariadb -pthread -ldl -lm -lpthread -lssl -lcrypto -lz -lhiredis OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb DBCFLAGS= -I/usr/include/mysql -D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --docdir=/usr/doc/coturn-4.5.2 --examplesdir=/usr/share/turnserver/examples --disable-rpath --build=x86_64-slackware-linux Makefile created: success. mkdir -p build/obj cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function ‘make_ioa_addr’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_ioaddr.c:191:3: note: in expansion of macro ‘STRCPY’ 191 | STRCPY(ssaddr,saddr0); | ^~~~~~ mkdir -p build/obj cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o mkdir -p build/obj cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o src/client/ns_turn_msg.c: In function ‘stun_produce_integrity_key_str’: src/client/ns_turn_msg.c:171:9: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 171 | strncpy((char*)str+ulen+1,(const char*)realm,sz-ulen-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:163:23: note: length computed here 163 | size_t rlen = strlen((const char*)realm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function ‘stun_attr_add_integrity_str’: src/client/ns_turn_msg.c:1849:12: warning: ‘hmac’ may be used uninitialized [-Wmaybe-uninitialized] 1849 | if(stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)<0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1441:5: note: by argument 4 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} to ‘stun_attr_add_str’ declared here 1441 | int stun_attr_add_str(uint8_t* buf, size_t *len, uint16_t attr, const uint8_t* avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1831:17: note: ‘hmac’ declared here 1831 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function ‘stun_check_message_integrity_str’: src/client/ns_turn_msg.c:1988:17: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 1988 | strncpy((char*)pwd,(const char*)upwd,sizeof(password_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function ‘convert_oauth_key_data’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:2181:17: note: in expansion of macro ‘STRCPY’ 2181 | STRCPY(key->kid,oakd->kid); | ^~~~~~ mkdir -p lib ar -r lib/libturnclient.a build/obj/ns_turn_ioaddr.o build/obj/ns_turn_msg_addr.o build/obj/ns_turn_msg.o ar: creating lib/libturnclient.a pwd /usr/src/slapt-src-x86_64/network/coturn/coturn-4.5.2 mkdir -p bin cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/oauth/oauth.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_oauth -Llib -lturnclient -Llib -lrt -lnsl -lresolv -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ pwd /usr/src/slapt-src-x86_64/network/coturn/coturn-4.5.2 mkdir -p bin cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/natdiscovery/natdiscovery.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_natdiscovery -Llib -lturnclient -Llib -lrt -lnsl -lresolv -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ pwd /usr/src/slapt-src-x86_64/network/coturn/coturn-4.5.2 mkdir -p bin cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/stunclient/stunclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_stunclient -Llib -lturnclient -Llib -lrt -lnsl -lresolv -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ pwd /usr/src/slapt-src-x86_64/network/coturn/coturn-4.5.2 mkdir -p bin cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/rfc5769/rfc5769check.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_rfc5769check -Llib -lturnclient -Llib -lrt -lnsl -lresolv -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: In function ‘check_oauth’, inlined from ‘main’ at src/apps/rfc5769/rfc5769check.c:568:6: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/rfc5769/rfc5769check.c:119:49: note: in expansion of macro ‘STRCPY’ 119 | STRCPY(okdr.ikm_key,base64encoded_ltp); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ mkdir -p bin cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/uclient/uclient.c src/apps/uclient/startuclient.c src/apps/uclient/mainuclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_uclient -Llib -lturnclient -Llib -lrt -lnsl -lresolv -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:33: src/apps/uclient/startuclient.c: In function ‘clnet_connect’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:283:17: note: in expansion of macro ‘STRCPY’ 283 | STRCPY(clnet_info->lsaddr,local_address); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:284:17: note: in expansion of macro ‘STRCPY’ 284 | STRCPY(clnet_info->rsaddr,remote_address); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:285:17: note: in expansion of macro ‘STRCPY’ 285 | STRCPY(clnet_info->ifname,(const char*)ifname); | ^~~~~~ src/apps/uclient/startuclient.c: In function ‘start_connection’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:967:9: note: in expansion of macro ‘STRCPY’ 967 | STRCPY(remote_address,remote_address0); | ^~~~~~ src/apps/uclient/startuclient.c: In function ‘start_c2c_connection’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:1182:9: note: in expansion of macro ‘STRCPY’ 1182 | STRCPY(remote_address,remote_address0); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/apps/uclient/mainuclient.c: In function ‘main’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 513 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:389:25: note: in expansion of macro ‘STRCPY’ 389 | STRCPY(g_uname,new_uname); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:270:25: note: in expansion of macro ‘STRCPY’ 270 | STRCPY(g_upwd, optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:267:25: note: in expansion of macro ‘STRCPY’ 267 | STRCPY(g_uname, optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:365:25: note: in expansion of macro ‘STRCPY’ 365 | STRCPY(pkey_file,fn); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:354:25: note: in expansion of macro ‘STRCPY’ 354 | STRCPY(cert_file,fn); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:276:25: note: in expansion of macro ‘STRCPY’ 276 | STRCPY(client_ifname, optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:345:25: note: in expansion of macro ‘STRCPY’ 345 | STRCPY(g_auth_secret,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:227:25: note: in expansion of macro ‘STRCPY’ 227 | STRCPY(cipher_suite,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:242:25: note: in expansion of macro ‘STRCPY’ 242 | STRCPY(ca_cert_file,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ mkdir -p bin rm -rf bin/turnadmin cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -I/usr/include/mysql -D_FILE_OFFSET_BITS=64 -I/usr/include/hiredis -DTURN_NO_MONGO -DTURN_NO_SYSTEMD src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/turn_ports.c src/apps/relay/http_server.c src/apps/relay/acme.c -Ilib src/apps/relay/mainrelay.c src/apps/relay/netengine.c src/apps/relay/libtelnet.c src/apps/relay/turn_admin_server.c src/apps/relay/userdb.c src/apps/relay/tls_listener.c src/apps/relay/dtls_listener.c src/apps/relay/prom_server.c src/apps/common/hiredis_libevent2.c src/apps/relay/dbdrivers/dbdriver.c src/apps/relay/dbdrivers/dbd_sqlite.c src/apps/relay/dbdrivers/dbd_pgsql.c src/apps/relay/dbdrivers/dbd_mysql.c src/apps/relay/dbdrivers/dbd_mongo.c src/apps/relay/dbdrivers/dbd_redis.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c src/client/ns_turn_ioaddr.c src/client/ns_turn_msg_addr.c src/client/ns_turn_msg.c src/server/ns_turn_allocation.c src/server/ns_turn_maps_rtcp.c src/server/ns_turn_maps.c src/server/ns_turn_server.c -o bin/turnserver -lsqlite3 -ldl -L/usr/lib64/postgresql/14/lib -lpq -lmariadb -pthread -ldl -lm -lpthread -lssl -lcrypto -lz -lhiredis -lrt -lnsl -lresolv -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/ns_ioalib_engine_impl.c:31: src/apps/relay/ns_ioalib_engine_impl.c: In function ‘create_ioa_engine’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:430:25: note: in expansion of macro ‘STRCPY’ 430 | STRCPY(e->relay_ifname, relay_ifname); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/mainrelay.h:64, from src/apps/relay/mainrelay.c:31: src/apps/relay/mainrelay.c: In function ‘set_option’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1599:17: note: in expansion of macro ‘STRCPY’ 1599 | STRCPY(turn_params.acme_redirect,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1566:18: note: in expansion of macro ‘STRCPY’ 1566 | STRCPY(turn_params.secret_key_file,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1173:11: note: in expansion of macro ‘STRCPY’ 1173 | STRCPY(turn_params.oauth_server_name,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1278:25: note: in expansion of macro ‘STRCPY’ 1278 | STRCPY(procgroupname,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1266:19: note: in expansion of macro ‘STRCPY’ 1266 | STRCPY(procusername,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1563:17: note: in expansion of macro ‘STRCPY’ 1563 | STRCPY(turn_params.dh_file,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1560:17: note: in expansion of macro ‘STRCPY’ 1560 | STRCPY(turn_params.ca_cert_file,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1596:17: note: in expansion of macro ‘STRCPY’ 1596 | STRCPY(turn_params.pidfile,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1593:17: note: in expansion of macro ‘STRCPY’ 1593 | STRCPY(turn_params.cipher_list,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1572:17: note: in expansion of macro ‘STRCPY’ 1572 | STRCPY(turn_params.tls_password,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1569:17: note: in expansion of macro ‘STRCPY’ 1569 | STRCPY(turn_params.pkey_file,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1557:17: note: in expansion of macro ‘STRCPY’ 1557 | STRCPY(turn_params.cert_file,value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1283:17: note: in expansion of macro ‘STRCPY’ 1283 | STRCPY(turn_params.relay_ifname, value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1451:17: note: in expansion of macro ‘STRCPY’ 1451 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1300:17: note: in expansion of macro ‘STRCPY’ 1300 | STRCPY(turn_params.listener_ifname, value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1445:17: note: in expansion of macro ‘STRCPY’ 1445 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1473:17: note: in expansion of macro ‘STRCPY’ 1473 | STRCPY(turn_params.redis_statsdb, value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1469:17: note: in expansion of macro ‘STRCPY’ 1469 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1457:17: note: in expansion of macro ‘STRCPY’ 1457 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/apps/relay/mainrelay.c: In function ‘read_config_file’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1684:49: note: in expansion of macro ‘STRCPY’ 1684 | STRCPY(config_file, argv[i + 1]); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1035 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1731:41: note: in expansion of macro ‘STRCPY’ 1731 | STRCPY(sarg, s); | ^~~~~~ src/apps/relay/mainrelay.c: In function ‘main’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 128 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2292:17: note: in expansion of macro ‘STRCPY’ 2292 | STRCPY(get_realm(NULL)->options.name,turn_params.domain); | ^~~~~~ In function ‘adminmain’, inlined from ‘main’ at src/apps/relay/mainrelay.c:2268:10: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1916:33: note: in expansion of macro ‘STRCPY’ 1916 | STRCPY(user,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1872:33: note: in expansion of macro ‘STRCPY’ 1872 | STRCPY(secret,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1935:33: note: in expansion of macro ‘STRCPY’ 1935 | STRCPY(pwd,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1893:33: note: in expansion of macro ‘STRCPY’ 1893 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1887:33: note: in expansion of macro ‘STRCPY’ 1887 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1880:41: note: in expansion of macro ‘STRCPY’ 1880 | STRCPY(secret,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1911:33: note: in expansion of macro ‘STRCPY’ 1911 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1899:33: note: in expansion of macro ‘STRCPY’ 1899 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: In function ‘run_cli_input’, inlined from ‘cli_telnet_event_handler’ at src/apps/relay/turn_admin_server.c:1135:4, inlined from ‘cli_telnet_event_handler’ at src/apps/relay/turn_admin_server.c:1127:13: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:1004:33: note: in expansion of macro ‘STRCPY’ 1004 | STRCPY(cs->origin,cmd+3); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:996:33: note: in expansion of macro ‘STRCPY’ 996 | STRCPY(cs->realm,cmd+3); | ^~~~~~ src/apps/relay/turn_admin_server.c: In function ‘handle_https’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3710:57: note: in expansion of macro ‘STRCPY’ 3710 | STRCPY(key.ikm_key,add_ikm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3586:49: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3586 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3586:49: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3625:65: note: in expansion of macro ‘STRCPY’ 3625 | STRCPY(o,corigin); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3626:65: note: in expansion of macro ‘STRCPY’ 3626 | STRCPY(r,add_realm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3513:49: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3513 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3528:73: note: in expansion of macro ‘STRCPY’ 3528 | STRCPY(ss,secret); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3529:73: note: in expansion of macro ‘STRCPY’ 3529 | STRCPY(r,realm); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3563:65: note: in expansion of macro ‘STRCPY’ 3563 | STRCPY(ss,add_secret); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3564:65: note: in expansion of macro ‘STRCPY’ 3564 | STRCPY(r,add_realm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3413:49: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3413 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3428:73: note: in expansion of macro ‘STRCPY’ 3428 | STRCPY(u,user); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3429:73: note: in expansion of macro ‘STRCPY’ 3429 | STRCPY(r,realm); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3473:81: note: in expansion of macro ‘STRCPY’ 3473 | STRCPY(u,add_user); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3474:81: note: in expansion of macro ‘STRCPY’ 3474 | STRCPY(r,add_realm); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3475:81: note: in expansion of macro ‘STRCPY’ 3475 | STRCPY(p,pwd); | ^~~~~~ src/apps/relay/turn_admin_server.c:3378:41: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3378 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: In function ‘handle_update_request’, inlined from ‘handle_https’ at src/apps/relay/turn_admin_server.c:3743:6: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3238:49: note: in expansion of macro ‘STRCPY’ 3238 | STRCPY(realm,r); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3273:57: note: in expansion of macro ‘STRCPY’ 3273 | STRCPY(realm,r); | ^~~~~~ src/apps/relay/turn_admin_server.c: In function ‘handle_https’: src/apps/relay/turn_admin_server.c:3366:41: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3366 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: In function ‘handle_logon_request’, inlined from ‘handle_https’ at src/apps/relay/turn_admin_server.c:3751:6: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 33 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3306:49: note: in expansion of macro ‘STRCPY’ 3306 | STRCPY(as->as_login,uname); | ^~~~~~ src/apps/relay/turn_admin_server.c: In function ‘handle_https’: src/apps/relay/turn_admin_server.c:3769:27: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3769 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/userdb.c:54: src/apps/relay/userdb.c: In function ‘set_default_realm_name’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:128:9: note: in expansion of macro ‘STRCPY’ 128 | STRCPY(default_realm_params_ptr->options.name,realm); | ^~~~~~ In function ‘get_realm’, inlined from ‘get_realm’ at src/apps/relay/userdb.c:134:17: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:146:25: note: in expansion of macro ‘STRCPY’ 146 | STRCPY(ret->options.name,name); | ^~~~~~ src/apps/relay/userdb.c: In function ‘start_user_check’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:647:9: note: in expansion of macro ‘STRCPY’ 647 | STRCPY(am.username,usname); | ^~~~~~ src/apps/relay/userdb.c: In function ‘add_ip_list_range’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1244:9: note: in expansion of macro ‘STRCPY’ 1244 | STRCPY(list->rs[list->ranges_number - 1].str,range); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1246:17: note: in expansion of macro ‘STRCPY’ 1246 | STRCPY(list->rs[list->ranges_number - 1].realm,realm); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/relay/tls_listener.c:31: In function ‘init_server’, inlined from ‘create_tls_listener_server’ at src/apps/relay/tls_listener.c:356:6: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/tls_listener.c:325:14: note: in expansion of macro ‘STRCPY’ 325 | if(ifname) STRCPY(server->ifname,ifname); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/relay/dtls_listener.c:31: In function ‘init_server’, inlined from ‘create_dtls_listener_server’ at src/apps/relay/dtls_listener.c:995:6: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dtls_listener.c:926:14: note: in expansion of macro ‘STRCPY’ 926 | if(ifname) STRCPY(server->ifname,ifname); | ^~~~~~ In function ‘fix_user_directory’, inlined from ‘get_sqlite_connection’ at src/apps/relay/dbdrivers/dbd_sqlite.c:183:3: src/apps/relay/dbdrivers/dbd_sqlite.c:144:17: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 144 | strncpy(dir_fixed,home,szh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c: In function ‘get_sqlite_connection’: src/apps/relay/dbdrivers/dbd_sqlite.c:141:30: note: length computed here 141 | size_t szh = strlen(home); | ^~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_sqlite.c:32: src/apps/relay/dbdrivers/dbd_sqlite.c: In function ‘sqlite_get_oauth_key’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:314:33: note: in expansion of macro ‘STRCPY’ 314 | STRCPY(key->ikm_key,sqlite3_column_text(st, 0)); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 65 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:317:33: note: in expansion of macro ‘STRCPY’ 317 | STRCPY(key->as_rs_alg,sqlite3_column_text(st, 3)); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:318:33: note: in expansion of macro ‘STRCPY’ 318 | STRCPY(key->realm,sqlite3_column_text(st, 4)); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:319:33: note: in expansion of macro ‘STRCPY’ 319 | STRCPY(key->kid,kid); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_pgsql.c:32: src/apps/relay/dbdrivers/dbd_pgsql.c: In function ‘pgsql_get_oauth_key’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:172:25: note: in expansion of macro ‘STRCPY’ 172 | STRCPY(key->ikm_key,PQgetvalue(res,0,0)); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 65 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:175:25: note: in expansion of macro ‘STRCPY’ 175 | STRCPY(key->as_rs_alg,PQgetvalue(res,0,3)); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:176:25: note: in expansion of macro ‘STRCPY’ 176 | STRCPY(key->realm,PQgetvalue(res,0,4)); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:177:25: note: in expansion of macro ‘STRCPY’ 177 | STRCPY(key->kid,kid); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mysql.c:32: src/apps/relay/dbdrivers/dbd_mysql.c: In function ‘mysql_get_oauth_key’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_mysql.c:411:49: note: in expansion of macro ‘STRCPY’ 411 | STRCPY(key->kid,kid); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_redis.c:32: src/apps/relay/dbdrivers/dbd_redis.c: In function ‘redis_get_oauth_key’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:463:9: note: in expansion of macro ‘STRCPY’ 463 | STRCPY(key->kid,kid); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:483:49: note: in expansion of macro ‘STRCPY’ 483 | STRCPY(key->ikm_key,val); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:481:49: note: in expansion of macro ‘STRCPY’ 481 | STRCPY(key->realm,val); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 65 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:479:49: note: in expansion of macro ‘STRCPY’ 479 | STRCPY(key->as_rs_alg,val); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function ‘make_ioa_addr’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_ioaddr.c:191:3: note: in expansion of macro ‘STRCPY’ 191 | STRCPY(ssaddr,saddr0); | ^~~~~~ src/client/ns_turn_msg.c: In function ‘stun_produce_integrity_key_str’: src/client/ns_turn_msg.c:171:9: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 171 | strncpy((char*)str+ulen+1,(const char*)realm,sz-ulen-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:163:23: note: length computed here 163 | size_t rlen = strlen((const char*)realm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function ‘stun_attr_add_integrity_str’: src/client/ns_turn_msg.c:1849:12: warning: ‘hmac’ may be used uninitialized [-Wmaybe-uninitialized] 1849 | if(stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)<0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1441:5: note: by argument 4 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} to ‘stun_attr_add_str’ declared here 1441 | int stun_attr_add_str(uint8_t* buf, size_t *len, uint16_t attr, const uint8_t* avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1831:17: note: ‘hmac’ declared here 1831 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function ‘stun_check_message_integrity_str’: src/client/ns_turn_msg.c:1988:17: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 1988 | strncpy((char*)pwd,(const char*)upwd,sizeof(password_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function ‘convert_oauth_key_data’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:2181:17: note: in expansion of macro ‘STRCPY’ 2181 | STRCPY(key->kid,oakd->kid); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/server/ns_turn_server.h:34, from src/server/ns_turn_server.c:31: In function ‘inc_quota’, inlined from ‘inc_quota’ at src/server/ns_turn_server.c:162:12: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:178:25: note: in expansion of macro ‘STRCPY’ 178 | STRCPY(ss->username,username); | ^~~~~~ src/server/ns_turn_server.c: In function ‘turn_session_info_copy_from’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 17 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:484:25: note: in expansion of macro ‘STRCPY’ 484 | STRCPY(tsi->tls_method, get_ioa_socket_tls_method(ss->client_socket)); | ^~~~~~ src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 65 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:485:25: note: in expansion of macro ‘STRCPY’ 485 | STRCPY(tsi->tls_cipher, get_ioa_socket_tls_cipher(ss->client_socket)); | ^~~~~~ cd bin; ln -s turnserver turnadmin mkdir -p bin cc -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -fPIC -DLIBEV_OK -DTURN_HAS_DAEMON -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/peer/mainudpserver.c src/apps/peer/udpserver.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_peer -Llib -lturnclient -Llib -lrt -lnsl -lresolv -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/peer/mainudpserver.c:31: src/apps/peer/mainudpserver.c: In function ‘main’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/peer/mainudpserver.c:71:25: note: in expansion of macro ‘STRCPY’ 71 | STRCPY(ifname, optarg); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/peer/udpserver.c:31: src/apps/peer/udpserver.c: In function ‘udp_create_server_socket.isra’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/peer/udpserver.c:73:3: note: in expansion of macro ‘STRCPY’ 73 | STRCPY(server->ifname,ifname); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788:9: note: in expansion of macro ‘STRCPY’ 788 | STRCPY(absfn,fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:139:25: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:246:25: note: in expansion of macro ‘STRCPY’ 246 | STRCPY(log_fn_base,fn); | ^~~~~~ rm -rf include mkdir -p include/turn/client cp -pf src/client/*.h include/turn/client/ cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ ginstall -d sqlite rm -rf sqlite/turndb sqlite3 sqlite/turndb < turndb/schema.sql ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/bin ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/var/db ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1 ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/etc ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/lib64 ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver/examples ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver ginstall -d /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/include/turn ginstall bin/turnserver /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/bin ginstall bin/turnadmin /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/bin ginstall bin/turnutils_uclient /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/bin ginstall bin/turnutils_peer /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/bin ginstall bin/turnutils_stunclient /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/bin ginstall bin/turnutils_oauth /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/bin ginstall bin/turnutils_natdiscovery /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/bin ginstall man/man1/turnserver.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall man/man1/turnadmin.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall man/man1/turnutils.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall man/man1/turnutils_uclient.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall man/man1/turnutils_stunclient.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall man/man1/turnutils_oauth.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall man/man1/turnutils_natdiscovery.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall man/man1/turnutils_peer.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall man/man1/coturn.1 /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/man/man1/ ginstall lib/libturnclient.a /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/lib64 ginstall LICENSE /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall README.turnserver /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall README.turnadmin /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall README.turnutils /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall INSTALL /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall postinstall.txt /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall turndb/schema.sql /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall turndb/schema.sql /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver ginstall turndb/schema.mongo.sh /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall turndb/schema.mongo.sh /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver ginstall turndb/testredisdbsetup.sh /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver ginstall turndb/testmongosetup.sh /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver ginstall turndb/testsqldbsetup.sql /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver ginstall turndb/schema.userdb.redis /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall turndb/schema.userdb.redis /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver ginstall turndb/schema.stats.redis /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2 ginstall turndb/schema.stats.redis /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver if [ -f sqlite/turndb ] ; then ginstall sqlite/turndb /usr/src/slapt-src-x86_64/network/coturn/package-coturn/var/db/turndb; fi ginstall examples/etc/turnserver.conf /usr/src/slapt-src-x86_64/network/coturn/package-coturn/etc/turnserver.conf.default cp -rpf examples/etc /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver/examples cp -rpf examples/scripts /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver/examples rm -rf /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/share/turnserver/examples/scripts/rfc5769.sh cp -rpf include/turn/client /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/include/turn ginstall include/turn/ns_turn_defs.h /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/include/turn cat /usr/src/slapt-src-x86_64/network/coturn/package-coturn/usr/doc/coturn-4.5.2/postinstall.txt ================================================================== 1) If your system supports automatic start-up system daemon services, then to enable the turnserver as a system service that is automatically started, you have to: a) Create and edit /etc/turnserver.conf or /usr/local/etc/turnserver.conf . Use /usr/local/etc/turnserver.conf.default as an example. b) For user accounts settings: set up SQLite or PostgreSQL or MySQL or MongoDB or Redis database for user accounts. Use /usr/local/share/turnserver/schema.sql as SQL database schema, or use /usr/local/share/turnserver/schema.userdb.redis as Redis database schema description and/or /usr/local/share/turnserver/schema.stats.redis as Redis status & statistics database schema description. If you are using SQLite, the default database location is in /var/db/turndb or in /usr/local/var/db/turndb or in /var/lib/turn/turndb. c) add whatever is necessary to enable start-up daemon for the /usr/local/bin/turnserver. 2) If you do not want the turnserver to be a system service, then you can start/stop it "manually", using the "turnserver" executable with appropriate options (see the documentation). 3) To create database schema, use schema in file /usr/local/share/turnserver/schema.sql. 4) For additional information, run: $ man turnserver $ man turnadmin $ man turnutils ================================================================== Slackware package maker, version 3.14159265. Searching for symbolic links: usr/share/turnserver/examples/etc/cacert.pem ../ca/CA/cacert.pem usr/share/turnserver/examples/etc/turn_client_cert.pem ../ca/turn_client_cert.pem usr/share/turnserver/examples/etc/turn_client_pkey.pem ../ca/turn_client_pkey.pem usr/share/turnserver/examples/etc/turn_server_cert.pem ../ca/turn_server_cert.pem usr/share/turnserver/examples/etc/turn_server_pkey.pem ../ca/turn_server_pkey.pem Making symbolic link creation script: ( cd usr/share/turnserver/examples/etc ; rm -rf cacert.pem ) ( cd usr/share/turnserver/examples/etc ; ln -sf ../ca/CA/cacert.pem cacert.pem ) ( cd usr/share/turnserver/examples/etc ; rm -rf turn_client_cert.pem ) ( cd usr/share/turnserver/examples/etc ; ln -sf ../ca/turn_client_cert.pem turn_client_cert.pem ) ( cd usr/share/turnserver/examples/etc ; rm -rf turn_client_pkey.pem ) ( cd usr/share/turnserver/examples/etc ; ln -sf ../ca/turn_client_pkey.pem turn_client_pkey.pem ) ( cd usr/share/turnserver/examples/etc ; rm -rf turn_server_cert.pem ) ( cd usr/share/turnserver/examples/etc ; ln -sf ../ca/turn_server_cert.pem turn_server_cert.pem ) ( cd usr/share/turnserver/examples/etc ; rm -rf turn_server_pkey.pem ) ( cd usr/share/turnserver/examples/etc ; ln -sf ../ca/turn_server_pkey.pem turn_server_pkey.pem ) Unless your existing installation script already contains the code to create these links, you should append these lines to your existing install script. Now's your chance. :^) Would you like to add this stuff to the existing install script and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/share/turnserver/examples/etc/cacert.pem' removed './usr/share/turnserver/examples/etc/turn_client_cert.pem' removed './usr/share/turnserver/examples/etc/turn_client_pkey.pem' removed './usr/share/turnserver/examples/etc/turn_server_cert.pem' removed './usr/share/turnserver/examples/etc/turn_server_pkey.pem' Updating your ./install/doinst.sh... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-x86_64/network/coturn/coturn-4.5.2-x86_64-1salix15.0.txz ./ etc/ etc/default/ etc/default/turnserver.new etc/logrotate.d/ etc/logrotate.d/turnserver.new etc/rc.d/ etc/rc.d/rc.turnserver.new etc/turnserver.conf.new install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/turnadmin usr/bin/turnserver usr/bin/turnutils_natdiscovery usr/bin/turnutils_oauth usr/bin/turnutils_peer usr/bin/turnutils_stunclient usr/bin/turnutils_uclient usr/doc/ usr/doc/coturn-4.5.2/ usr/doc/coturn-4.5.2/AUTHORS usr/doc/coturn-4.5.2/ChangeLog usr/doc/coturn-4.5.2/INSTALL usr/doc/coturn-4.5.2/LICENSE usr/doc/coturn-4.5.2/LICENSE.OpenSSL usr/doc/coturn-4.5.2/README.md usr/doc/coturn-4.5.2/README.turnadmin usr/doc/coturn-4.5.2/README.turnserver usr/doc/coturn-4.5.2/README.turnutils usr/doc/coturn-4.5.2/coturn.SlackBuild usr/doc/coturn-4.5.2/postinstall.txt usr/doc/coturn-4.5.2/schema.mongo.sh usr/doc/coturn-4.5.2/schema.sql usr/doc/coturn-4.5.2/schema.stats.redis usr/doc/coturn-4.5.2/schema.userdb.redis usr/include/ usr/include/turn/ usr/include/turn/client/ usr/include/turn/client/TurnMsgLib.h usr/include/turn/client/ns_turn_ioaddr.h usr/include/turn/client/ns_turn_msg.h usr/include/turn/client/ns_turn_msg_addr.h usr/include/turn/client/ns_turn_msg_defs.h usr/include/turn/client/ns_turn_msg_defs_experimental.h usr/include/turn/ns_turn_defs.h usr/man/ usr/man/man1/ usr/man/man1/coturn.1.gz usr/man/man1/turnadmin.1.gz usr/man/man1/turnserver.1.gz usr/man/man1/turnutils.1.gz usr/man/man1/turnutils_natdiscovery.1.gz usr/man/man1/turnutils_oauth.1.gz usr/man/man1/turnutils_peer.1.gz usr/man/man1/turnutils_stunclient.1.gz usr/man/man1/turnutils_uclient.1.gz usr/share/ usr/share/turnserver/ usr/share/turnserver/examples/ usr/share/turnserver/examples/etc/ usr/share/turnserver/examples/etc/coturn.service usr/share/turnserver/examples/etc/turnserver.conf usr/share/turnserver/examples/scripts/ usr/share/turnserver/examples/scripts/basic/ usr/share/turnserver/examples/scripts/basic/dos_attack.sh usr/share/turnserver/examples/scripts/basic/relay.sh usr/share/turnserver/examples/scripts/basic/tcp_client.sh usr/share/turnserver/examples/scripts/basic/tcp_client_c2c_tcp_relay.sh usr/share/turnserver/examples/scripts/basic/udp_c2c_client.sh usr/share/turnserver/examples/scripts/basic/udp_client.sh usr/share/turnserver/examples/scripts/loadbalance/ usr/share/turnserver/examples/scripts/loadbalance/master_relay.sh usr/share/turnserver/examples/scripts/loadbalance/slave_relay_1.sh usr/share/turnserver/examples/scripts/loadbalance/slave_relay_2.sh usr/share/turnserver/examples/scripts/loadbalance/tcp_c2c_tcp_relay.sh usr/share/turnserver/examples/scripts/loadbalance/udp_c2c.sh usr/share/turnserver/examples/scripts/longtermsecure/ usr/share/turnserver/examples/scripts/longtermsecure/secure_dos_attack.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_dtls_client.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_dtls_client_cert.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_relay.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_relay_cert.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_sctp_client.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_tcp_client.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_tls_client.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_tls_client_cert.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_udp_c2c.sh usr/share/turnserver/examples/scripts/longtermsecure/secure_udp_client.sh usr/share/turnserver/examples/scripts/longtermsecuredb/ usr/share/turnserver/examples/scripts/longtermsecuredb/secure_relay_with_db_mongo.sh usr/share/turnserver/examples/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh usr/share/turnserver/examples/scripts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh usr/share/turnserver/examples/scripts/longtermsecuredb/secure_relay_with_db_psql.sh usr/share/turnserver/examples/scripts/longtermsecuredb/secure_relay_with_db_redis.sh usr/share/turnserver/examples/scripts/longtermsecuredb/secure_relay_with_db_sqlite.sh usr/share/turnserver/examples/scripts/mobile/ usr/share/turnserver/examples/scripts/mobile/mobile_dtls_client.sh usr/share/turnserver/examples/scripts/mobile/mobile_relay.sh usr/share/turnserver/examples/scripts/mobile/mobile_tcp_client.sh usr/share/turnserver/examples/scripts/mobile/mobile_tls_client_c2c_tcp_relay.sh usr/share/turnserver/examples/scripts/mobile/mobile_udp_client.sh usr/share/turnserver/examples/scripts/oauth.sh usr/share/turnserver/examples/scripts/pack.sh usr/share/turnserver/examples/scripts/peer.sh usr/share/turnserver/examples/scripts/readme.txt usr/share/turnserver/examples/scripts/restapi/ usr/share/turnserver/examples/scripts/restapi/secure_relay_secret.sh usr/share/turnserver/examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh usr/share/turnserver/examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh usr/share/turnserver/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh usr/share/turnserver/examples/scripts/restapi/secure_relay_secret_with_db_redis.sh usr/share/turnserver/examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh usr/share/turnserver/examples/scripts/restapi/secure_udp_client_with_secret.sh usr/share/turnserver/examples/scripts/restapi/shared_secret_maintainer.pl usr/share/turnserver/examples/scripts/selfloadbalance/ usr/share/turnserver/examples/scripts/selfloadbalance/secure_dos_attack.sh usr/share/turnserver/examples/scripts/selfloadbalance/secure_relay.sh usr/share/turnserver/schema.mongo.sh usr/share/turnserver/schema.sql usr/share/turnserver/schema.stats.redis usr/share/turnserver/schema.userdb.redis usr/share/turnserver/testmongosetup.sh usr/share/turnserver/testredisdbsetup.sh usr/share/turnserver/testsqldbsetup.sql var/ var/db/ var/db/turndb var/log/ var/log/turnserver/ Slackware package /usr/src/slapt-src-x86_64/network/coturn/coturn-4.5.2-x86_64-1salix15.0.txz created. Installing package coturn-4.5.2-x86_64-1salix15.0... | coturn (Free open source implementation of TURN and STUN Server) | | The TURN Server is a VoIP media traffic NAT traversal server and | gateway. It can be used as a general-purpose network traffic TURN | server and gateway, too. | | Homepage: https://github.com/coturn/coturn | | | | | |