Public bug reported: ubuntu 16.04.1 x64 ocserv: 0.10.11-1build1
ocserv daemon ocserv.socket don't respect "listen-host" value from configuration file, and I have DTLS handshake problems because of that. proof: in /etc/ocserv/ocserv.conf I have a line: listen-host = 46.46.46.46 if I start service by my hands everything alright: #ocserv -f -c /etc/ocserv/ocserv.conf #lsof -i ocserv-ma 5290 root 4u IPv4 30760 0t0 TCP 46.46.46.46:https (LISTEN) ocserv-ma 5290 root 5u IPv4 30762 0t0 UDP 46.46.46.46:https ocserv-wo 5293 nobody 0u IPv4 30781 0t0 TCP 46.46.46.46:https->128-68-..........:60250 (ESTABLISHED) ocserv-wo 5293 nobody 4u IPv4 30804 0t0 UDP 46.46.46.46:https->128-68-..........:64690 but if I start a daemon #systemctl start ocserv.socket #lsof -i ocserv-ma 5802 root 3u IPv6 33640 0t0 TCP *:https (LISTEN) ocserv-ma 5802 root 4u IPv6 33641 0t0 UDP *:https ocserv-wo 5808 nobody 0u IPv6 32583 0t0 TCP 46.46.46.46:https->128-68-..........:60321 (ESTABLISHED) daemon start on "*" address and in syslog I see a problems with dtls because of that: Aug 15 06:59:51 gw ocserv[5802]: main[user]: [::ffff:128.128.128.128]:60321 main.c:801: bind UDP to [::]:443: Invalid argument Aug 15 06:59:51 gw ocserv[5802]: main[user]: [::ffff:128.128.128.128]:60321 main.c:810: connect UDP socket from [::ffff:128.128.128.128]:55022: Network is unreachable Aug 15 07:00:16 gw ocserv[5802]: main[user]: [::ffff:128.128.128.128]:60321 main.c:801: bind UDP to [::]:443: Invalid argument Aug 15 07:00:16 gw ocserv[5802]: main[user]: [::ffff:128.128.128.128]:60321 main.c:810: connect UDP socket from [::ffff:128.128.128.128]:62862: Network is unreachable ** Affects: ocserv (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1613155 Title: ocserv daemon doesn't get network settings from configuration file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocserv/+bug/1613155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs