Multiple segfaults in ocserv

Роман Петров nwhisper at gmail.com
Thu Mar 16 23:28:03 PDT 2017


The attach was lost... =) Resend in plain text:

max-clients = 400
max-same-clients = 3
tcp-port = 443
udp-port = 443
keepalive = 32400
dpd = 900
mobile-dpd = 1800
try-mtu-discovery = false
compression = true
no-compress-limit = 256
auth = "radius[config=/etc/radcli/radiusclient.conf,groupconfig=false]"
max-ban-score = 60
ban-reset-time = 3600
server-cert = /etc/ocserv/certs/server-cert.pem
server-key = /etc/ocserv/certs/server-key.pem
tls-priorities =
"NORMAL:%SERVER_PRECEDENCE:%COMPAT:-RSA:-VERS-SSL3.0:-ARCFOUR-128"
auth-timeout = 4000
cookie-timeout = 43200
deny-roaming = false
rekey-time = 172800
rekey-method = ssl
use-utmp = false
use-occtl = true
socket-file = /var/run/ocserv-socket
run-as-user = nobody
run-as-group = daemon
device = vpns
cisco-client-compat = true
predictable-ips = true
listen-host = 10.210.46.126
ipv4-network = 10.11.0.0
ipv4-netmask = 255.255.0.0
ping-leases = false
output-buffer = 16
dns = 172.16.3.101
dns = 172.16.3.102
route = 192.168.1.0/24
route = 172.16.0.0/16
route = 10.11.0.1/32
isolate-workers = true
user-profile = /etc/ocserv/profile.xml
config-per-user = /etc/ocserv/config-per-user
default-user-config = /etc/ocserv/default_user.conf

2017-03-17 9:19 GMT+03:00 Роман Петров <nwhisper at gmail.com>:
> Hi, Team!
>
> I installed ocserv 0.11.7 from the sources on Ubuntu 16.04.2.
> Many users experience frequent connection breaks.
> From time to time the ocserv process stops its work with messages in dmesg:
>
> [Mon Mar 13 12:29:21 2017] ocserv-main[25025]: segfault at 0 ip
>    (null) sp 00007ffc217f6278 error 14 in ocserv[5562c98f7000+5a000]
> [Mon Mar 13 13:04:25 2017] ocserv-main[10167]: segfault at 14c ip
> 00007efbfae90605 sp 00007ffcc6040090 error 4 in
> libev.so.4.0.0[7efbfae8c000+d000]
> [Mon Mar 13 13:29:07 2017] ocserv-main[11831]: segfault at
> 400073332585 ip 00007f46be6e8605 sp 00007fff7df368f0 error 4 in
> libev.so.4.0.0[7f46be6e4000+d000]
> [Mon Mar 13 14:49:22 2017] ocserv-main[13057]: segfault at
> 558396edae98 ip 00007fd92986c50c sp 00007ffdc4787a00 error 6 in
> libev.so.4.0.0[7fd929868000+d000]
> [Mon Mar 13 15:19:56 2017] ocserv-main[15949]: segfault at 0 ip
>    (null) sp 00007ffd489836b8 error 14 in ocserv[563038c32000+5a000]
> [Mon Mar 13 15:33:47 2017] traps: ocserv-main[29795] general
> protection ip:7f9e5f45a605 sp:7fff2e788f40 error:0 in
> libev.so.4.0.0[7f9e5f456000+d000]
> [Mon Mar 13 15:38:48 2017] ocserv-main[30550]: segfault at
> 4000d5bf8893 ip 00004000d5bf8893 sp 00007ffe01a33e88 error 14 in
> ocserv[560bf3a18000+5a000]
> [Mon Mar 13 16:00:00 2017] ocserv-main[31153]: segfault at 54 ip
> 00007f25b92e8605 sp 00007fff8191e220 error 4 in
> libev.so.4.0.0[7f25b92e4000+d000]
> [Mon Mar 13 16:16:30 2017] ocserv-main[32447]: segfault at
> 55dc1564c728 ip 00007f62700dd50c sp 00007fff3eb05230 error 6 in
> libev.so.4.0.0[7f62700d9000+d000]
> [Tue Mar 14 11:19:27 2017] ocserv-main[17728]: segfault at 4c ip
> 00007ff1adba6605 sp 00007ffd4d5bf130 error 4 in
> libev.so.4.0.0[7ff1adba2000+d000]
>
> I recompiled the ocserv with all built-in libraries, but...
>
> [Thu Mar 16 20:02:04 2017] ocserv-main[29008]: segfault at
> 7f06da274be8 ip 00007f06da274be8 sp 00007ffebeccfac8 error 15 in
> libc-2.23.so[7f06da274000+2000]
>
> My ocserv.conf in attach.
>
> Please, help...



More information about the openconnect-devel mailing list