高版本ocserv在Ubuntu 14.04上工作异常
vialib opened this issue · 1 comments
vialib commented
环境:
Ubuntu 14.04
ocserv 0.11.7 0.11.8
auth = "plain[/etc/ocserv/ocpasswd]"
OR auth = "certificate"
使用证书和密码连接都显示
ocserv[25554]: main[user]: x.x.x.x:36378 new user session
ocserv[25554]: main[user]: x.x.x.x:36378 user logged in
ocserv[25555]: sec-mod: initiating session for user 'user' (session: c/GiqU)
ocserv[25765]: worker[user]: x.x.x.x suggesting DPD of 90 secs
ocserv[25765]: worker[user]: x.x.x.x configured link MTU is 1500
ocserv[25765]: worker[user]: x.x.x.x peer's link MTU is 1500
ocserv[25765]: worker[user]: x.x.x.x sending IPv4 192.168.1.59
ocserv[25765]: worker[user]: x.x.x.x adding DNS 192.168.1.2
ocserv[25765]: worker[user]: x.x.x.x Exclude route 192.168.5.0/255.255.255.0
ocserv[25765]: worker[user]: x.x.x.x DTLS ciphersuite: PSK-NEGOTIATE
ocserv[25765]: worker[user]: x.x.x.x Link MTU is 1500 bytes
ocserv[25765]: worker[user]: x.x.x.x setting up DTLS-PSK connection
ocserv[25765]: worker[user]: x.x.x.x worker-vpn.c:243: could not set TLS priority: 'NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0:-VERS-ALL:-KX-ALL:+PSK:+VERS-DTLS-ALL': The request is invalid.
ocserv[25765]: worker[user]: x.x.x.x sent periodic stats (in: 0, out: 0) to sec-mod
ocserv[25555]: sec-mod: temporarily closing session for user (session: c/GiqU)
ocserv[25554]: main[user]: x.x.x.x:36378 user disconnected (reason: unspecified error, rx: 0, tx: 0)
将ocserv 版本降为0.9.2 后连接正常
iMeiji commented
@eastmalon 更新部分依赖, 我用着0.11.8版本没问题
https://github.com/iMeiji/shadowsocks_install/wiki/OpenConnect-VPN-server