Ocserv 0.3.0 Not Working on Anyconnect
info at itnserver.com
info at itnserver.com
Sat Jan 25 17:50:12 EST 2014
Hello to all
The new version ocserv ( 0.3.0 )
Auth (pam)
In connection with Windows Anyconnect
user name > enter
re-user name > enter
re-user name > enter
And repeat
Page password is not displayed
In Anyconnection with Mobile
After be User Name
Connection fails
Log Anyconnect Windows v 3.01 :
ocserv[906]: [main] initialized ocserv 0.3.0
ocserv[907]: sec-mod initialized (socket: /var/run/ocserv-socket.906)
ocserv[908]: *.*.*.*:30387 accepted connection
ocserv[907]: sec-mod received request from pid 908 and uid 99
ocserv[908]: *.*.*.*:30387 HTTP: X-Transcend-Version: 1
ocserv[908]: *.*.*.*:30387 HTTP: X-Aggregate-Auth: 1
ocserv[908]: *.*.*.*:30387 HTTP: X-AnyConnect-Platform: win
ocserv[908]: *.*.*.*:30387 HTTP: Cache-Control: no-cache
ocserv[908]: *.*.*.*:30387 HTTP: User-Agent: AnyConnect Windows
3.0.11042
ocserv[908]: *.*.*.*:30387 HTTP: Host: 142.4.201.188
ocserv[908]: *.*.*.*:30387 HTTP: Content-Length: 244
ocserv[908]: *.*.*.*:30387 HTTP: Connection: Close
ocserv[908]: *.*.*.*:30387 HTTP: Pragma: no-cache
ocserv[908]: *.*.*.*:30387 HTTP POST /
ocserv[908]: *.*.*.*:30387 POST body: '<?xml version="1.0"
encoding="UTF-8"?>
<config-auth client="vpn" type="init">
<device-id>win</device-id>
<version who="vpn">3.0.11042</version>
<group-select>User</group-select>
<group-access>https://142.4.201.188</group-access>
</config-auth>
'
ocserv[908]: *.*.*.*:30387 failed reading username
ocserv[908]: *.*.*.*:30387 error receiving client data
ocserv[906]: *.*.*.*:30387 main-misc.c:468: command socket closed
ocserv[909]: *.*.*.*:30389 accepted connection
ocserv[909]: *.*.*.*:30389 HTTP: X-Transcend-Version: 1
ocserv[909]: *.*.*.*:30389 HTTP: X-Aggregate-Auth: 1
ocserv[909]: *.*.*.*:30389 HTTP: X-AnyConnect-Platform: win
ocserv[909]: *.*.*.*:30389 HTTP: Cookie: webvpncontext=l1Aa7/itddT9ziSB;
ocserv[909]: *.*.*.*:30389 HTTP: User-Agent: AnyConnect Windows
3.0.11042
ocserv[909]: *.*.*.*:30389 HTTP: Host: 142.4.201.188
ocserv[909]: *.*.*.*:30389 HTTP: Content-Length: 12
ocserv[909]: *.*.*.*:30389 HTTP: Connection: Close
ocserv[909]: *.*.*.*:30389 HTTP: Cache-Control: no-cache
ocserv[909]: *.*.*.*:30389 HTTP: Pragma: no-cache
ocserv[909]: *.*.*.*:30389 HTTP POST /auth
ocserv[909]: *.*.*.*:30389 POST body: 'username=cmd'
ocserv[906]: Error in PAM authentication: Authentication failure
ocserv[906]: *.*.*.*:30389 main-misc.c:401: could not send reply auth
cmd.
ocserv[909]: recv_socket_msg:301: recvmsg returned zero
ocserv[909]: *.*.*.*:30389 worker-auth.c:227: error receiving auth reply
message
ocserv[909]: *.*.*.*:30389 worker-auth.c:816: failed authentication for
''
ocserv[910]: *.*.*.*:30390 accepted connection
ocserv[907]: sec-mod received request from pid 910 and uid 99
ocserv[910]: *.*.*.*:30390 HTTP: X-Transcend-Version: 1
ocserv[910]: *.*.*.*:30390 HTTP: Connection: Close
ocserv[910]: *.*.*.*:30390 HTTP: User-Agent: AnyConnect Windows
3.0.11042
ocserv[910]: *.*.*.*:30390 HTTP: Host: 142.4.201.188
ocserv[910]: *.*.*.*:30390 HTTP: Cache-Control: no-cache
ocserv[910]: *.*.*.*:30390 HTTP: Pragma: no-cache
ocserv[910]: *.*.*.*:30390 HTTP GET /auth
ocserv[910]: *.*.*.*:30390 error receiving client data
ocserv[906]: *.*.*.*:30390 main-misc.c:468: command socket closed
ocserv[907]: sec-mod received request from pid 913 and uid 99
ocserv[913]: *.*.*.*:30395 HTTP: User-Agent: Cisco AnyConnect VPN Agent
for Windows 3.1.00495
ocserv[913]: *.*.*.*:30395 HTTP: Host: 142.4.201.188
ocserv[913]: *.*.*.*:30395 HTTP: Content-Length: 0
ocserv[913]: *.*.*.*:30395 HTTP: Connection: Close
ocserv[913]: *.*.*.*:30395 HTTP: User-Agent: AnyConnect Agent 3.1.00495
ocserv[913]: *.*.*.*:30395 HTTP: X-Transcend-Version: 1
ocserv[913]: *.*.*.*:30395 HTTP GET /
ocserv[906]: *.*.*.*:30395 main-misc.c:468: command socket closed
Log Anyconnect Mobile ( Android ) v 3.09 :
ocserv[836]: [main] initialized ocserv 0.3.0
ocserv[838]: *.*.*.*:49275 accepted connection
ocserv[838]: GnuTLS error (at worker-vpn.c:664): A TLS fatal alert has
been received.: Unknown certificate
ocserv[836]: *.*.*.*:49275 main-misc.c:468: command socket closed
ocserv[839]: *.*.*.*:49276 accepted connection
ocserv[837]: sec-mod received request from pid 839 and uid 99
ocserv[839]: *.*.*.*:49276 HTTP: User-Agent: AnyConnect Android
3.0.09242
ocserv[839]: *.*.*.*:49276 HTTP: Host: 142.4.201.188
ocserv[839]: *.*.*.*:49276 HTTP: Accept: */*
ocserv[839]: *.*.*.*:49276 HTTP: Accept-Encoding: identity
ocserv[839]: *.*.*.*:49276 HTTP: X-Transcend-Version: 1
ocserv[839]: *.*.*.*:49276 HTTP: X-Transcend-Version: 1
ocserv[839]: *.*.*.*:49276 HTTP: X-AnyConnect-Identifier-ClientVersion:
3.0.09242
ocserv[839]: *.*.*.*:49276 HTTP: X-AnyConnect-Identifier-Platform:
android
ocserv[839]: *.*.*.*:49276 HTTP:
X-AnyConnect-Identifier-PlatformVersion: 4.1.1
ocserv[839]: *.*.*.*:49276 HTTP: X-AnyConnect-Identifier-DeviceType:
rockchip ORIGIN A7
ocserv[839]: *.*.*.*:49276 HTTP:
X-AnyConnect-Identifier-Device-UniqueID:
8A1D1CF69D6123EDD781EB6D1F4CF112944018BE
ocserv[839]: *.*.*.*:49276 HTTP: X-Aggregate-Auth: 1
ocserv[839]: *.*.*.*:49276 HTTP: Connection: close
ocserv[839]: *.*.*.*:49276 HTTP: Content-Length: 325
ocserv[839]: *.*.*.*:49276 HTTP: Content-Type:
application/x-www-form-urlencoded
ocserv[839]: *.*.*.*:49276 HTTP POST /
ocserv[839]: *.*.*.*:49276 POST body: '<?xml version="1.0"
encoding="UTF-8"?>
<config-auth client="vpn" type="init">
<device-id platform-version="4.1.1" device-type="rockchip ORIGIN A7"
unique-id="8A1D1CF69D6123EDD781EB6D1F4CF112944018BE">android</device-id>
<version who="vpn">3.0.09242</version>
<group-access>https://142.4.201.188</group-access>
</config-auth>
'
ocserv[839]: *.*.*.*:49276 failed reading username
ocserv[840]: *.*.*.*:30565 accepted connection
ocserv[837]: sec-mod received request from pid 840 and uid 99
ocserv[840]: *.*.*.*:30565 HTTP: User-Agent: Cisco AnyConnect VPN Agent
for Windows 3.1.00495
ocserv[840]: *.*.*.*:30565 HTTP: Host: 142.4.201.188
ocserv[840]: *.*.*.*:30565 HTTP: Content-Length: 0
ocserv[840]: *.*.*.*:30565 HTTP: Connection: Close
ocserv[840]: *.*.*.*:30565 HTTP: User-Agent: AnyConnect Agent 3.1.00495
ocserv[840]: *.*.*.*:30565 HTTP: X-Transcend-Version: 1
ocserv[840]: *.*.*.*:30565 HTTP GET /
ocserv[836]: *.*.*.*:30565 main-misc.c:468: command socket closed
ocserv[839]: *.*.*.*:49276 HTTP: User-Agent: AnyConnect Android
3.0.09242
ocserv[839]: *.*.*.*:49276 HTTP: Host: 142.4.201.188
ocserv[839]: *.*.*.*:49276 HTTP: Accept: */*
ocserv[839]: *.*.*.*:49276 HTTP: Accept-Encoding: identity
ocserv[839]: *.*.*.*:49276 HTTP: Cookie: webvpncontext=C9st7lb1NoZYW1GY
ocserv[839]: *.*.*.*:49276 HTTP: X-Transcend-Version: 1
ocserv[839]: *.*.*.*:49276 HTTP: X-Transcend-Version: 1
ocserv[839]: *.*.*.*:49276 HTTP: X-AnyConnect-Identifier-ClientVersion:
3.0.09242
ocserv[839]: *.*.*.*:49276 HTTP: X-AnyConnect-Identifier-Platform:
android
ocserv[839]: *.*.*.*:49276 HTTP:
X-AnyConnect-Identifier-PlatformVersion: 4.1.1
ocserv[839]: *.*.*.*:49276 HTTP: X-AnyConnect-Identifier-DeviceType:
rockchip ORIGIN A7
ocserv[839]: *.*.*.*:49276 HTTP:
X-AnyConnect-Identifier-Device-UniqueID:
8A1D1CF69D6123EDD781EB6D1F4CF112944018BE
ocserv[839]: *.*.*.*:49276 HTTP: X-Aggregate-Auth: 1
ocserv[839]: *.*.*.*:49276 HTTP: Content-Length: 12
ocserv[839]: *.*.*.*:49276 HTTP: Content-Type:
application/x-www-form-urlencoded
ocserv[839]: *.*.*.*:49276 HTTP POST /auth
ocserv[839]: *.*.*.*:49276 POST body: 'username=cmd'
ocserv[839]: *.*.*.*:49276 updating SID
ocserv[836]: Error in PAM authentication: Authentication failure
ocserv[836]: *.*.*.*:49276 main-misc.c:401: could not send reply auth
cmd.
ocserv[839]: recv_socket_msg:301: recvmsg returned zero
ocserv[839]: *.*.*.*:49276 worker-auth.c:227: error receiving auth reply
message
ocserv[839]: *.*.*.*:49276 worker-auth.c:816: failed authentication for
''
ocserv[841]: *.*.*.*:49277 accepted connection
ocserv[841]: *.*.*.*:49277 HTTP: User-Agent: AnyConnect Android
3.0.09242
ocserv[841]: *.*.*.*:49277 HTTP: Host: 142.4.201.188
ocserv[841]: *.*.*.*:49277 HTTP: Accept: */*
ocserv[841]: *.*.*.*:49277 HTTP: Accept-Encoding: identity
ocserv[841]: *.*.*.*:49277 HTTP: Cookie: webvpncontext=C9st7lb1NoZYW1GY
ocserv[841]: *.*.*.*:49277 HTTP: X-Transcend-Version: 1
ocserv[841]: *.*.*.*:49277 HTTP: X-Transcend-Version: 1
ocserv[841]: *.*.*.*:49277 HTTP: X-AnyConnect-Identifier-ClientVersion:
3.0.09242
ocserv[841]: *.*.*.*:49277 HTTP: X-AnyConnect-Identifier-Platform:
android
ocserv[841]: *.*.*.*:49277 HTTP:
X-AnyConnect-Identifier-PlatformVersion: 4.1.1
ocserv[841]: *.*.*.*:49277 HTTP: X-AnyConnect-Identifier-DeviceType:
rockchip ORIGIN A7
ocserv[841]: *.*.*.*:49277 HTTP:
X-AnyConnect-Identifier-Device-UniqueID:
8A1D1CF69D6123EDD781EB6D1F4CF112944018BE
ocserv[841]: *.*.*.*:49277 HTTP: X-Aggregate-Auth: 1
ocserv[841]: *.*.*.*:49277 HTTP: Content-Length: 12
ocserv[841]: *.*.*.*:49277 HTTP: Content-Type:
application/x-www-form-urlencoded
ocserv[841]: *.*.*.*:49277 HTTP POST /auth
ocserv[841]: *.*.*.*:49277 POST body: 'username=cmd'
ocserv[841]: *.*.*.*:49277 updating SID
ocserv[836]: Error in PAM authentication: Authentication failure
ocserv[836]: *.*.*.*:49277 main-misc.c:401: could not send reply auth
cmd.
ocserv[841]: recv_socket_msg:301: recvmsg returned zero
ocserv[841]: *.*.*.*:49277 worker-auth.c:227: error receiving auth reply
message
ocserv[841]: *.*.*.*:49277 worker-auth.c:816: failed authentication for
''
ocserv[842]: *.*.*.*:49278 accepted connection
ocserv[842]: *.*.*.*:49278 HTTP: User-Agent: AnyConnect Android
3.0.09242
ocserv[842]: *.*.*.*:49278 HTTP: Host: 142.4.201.188
ocserv[842]: *.*.*.*:49278 HTTP: Accept: */*
ocserv[842]: *.*.*.*:49278 HTTP: Accept-Encoding: identity
ocserv[842]: *.*.*.*:49278 HTTP: Cookie: webvpncontext=C9st7lb1NoZYW1GY
ocserv[842]: *.*.*.*:49278 HTTP: X-Transcend-Version: 1
ocserv[842]: *.*.*.*:49278 HTTP: X-Transcend-Version: 1
ocserv[842]: *.*.*.*:49278 HTTP: X-AnyConnect-Identifier-ClientVersion:
3.0.09242
ocserv[842]: *.*.*.*:49278 HTTP: X-AnyConnect-Identifier-Platform:
android
ocserv[842]: *.*.*.*:49278 HTTP:
X-AnyConnect-Identifier-PlatformVersion: 4.1.1
ocserv[842]: *.*.*.*:49278 HTTP: X-AnyConnect-Identifier-DeviceType:
rockchip ORIGIN A7
ocserv[842]: *.*.*.*:49278 HTTP:
X-AnyConnect-Identifier-Device-UniqueID:
8A1D1CF69D6123EDD781EB6D1F4CF112944018BE
ocserv[842]: *.*.*.*:49278 HTTP: X-Aggregate-Auth: 1
ocserv[842]: *.*.*.*:49278 HTTP: Content-Length: 12
ocserv[842]: *.*.*.*:49278 HTTP: Content-Type:
application/x-www-form-urlencoded
ocserv[842]: *.*.*.*:49278 HTTP POST /auth
ocserv[842]: *.*.*.*:49278 POST body: 'username=cmd'
ocserv[842]: *.*.*.*:49278 updating SID
ocserv[836]: Error in PAM authentication: Authentication failure
ocserv[836]: *.*.*.*:49278 main-misc.c:401: could not send reply auth
cmd.
ocserv[842]: recv_socket_msg:301: recvmsg returned zero
ocserv[842]: *.*.*.*:49278 worker-auth.c:227: error receiving auth reply
message
ocserv[842]: *.*.*.*:49278 worker-auth.c:816: failed authentication for
''
ocserv[843]: *.*.*.*:49279 accepted connection
ocserv[843]: *.*.*.*:49279 HTTP: User-Agent: AnyConnect Android
3.0.09242
ocserv[843]: *.*.*.*:49279 HTTP: Host: 142.4.201.188
ocserv[843]: *.*.*.*:49279 HTTP: Accept: */*
ocserv[843]: *.*.*.*:49279 HTTP: Accept-Encoding: identity
ocserv[843]: *.*.*.*:49279 HTTP: Cookie: webvpncontext=C9st7lb1NoZYW1GY
ocserv[843]: *.*.*.*:49279 HTTP: X-Transcend-Version: 1
ocserv[843]: *.*.*.*:49279 HTTP: X-Transcend-Version: 1
ocserv[843]: *.*.*.*:49279 HTTP: X-AnyConnect-Identifier-ClientVersion:
3.0.09242
ocserv[843]: *.*.*.*:49279 HTTP: X-AnyConnect-Identifier-Platform:
android
ocserv[843]: *.*.*.*:49279 HTTP:
X-AnyConnect-Identifier-PlatformVersion: 4.1.1
ocserv[843]: *.*.*.*:49279 HTTP: X-AnyConnect-Identifier-DeviceType:
rockchip ORIGIN A7
ocserv[843]: *.*.*.*:49279 HTTP:
X-AnyConnect-Identifier-Device-UniqueID:
8A1D1CF69D6123EDD781EB6D1F4CF112944018BE
ocserv[843]: *.*.*.*:49279 HTTP: X-Aggregate-Auth: 1
ocserv[843]: *.*.*.*:49279 HTTP: Content-Length: 12
ocserv[843]: *.*.*.*:49279 HTTP: Content-Type:
application/x-www-form-urlencoded
ocserv[843]: *.*.*.*:49279 HTTP POST /auth
ocserv[843]: *.*.*.*:49279 POST body: 'username=cmd'
ocserv[843]: *.*.*.*:49279 updating SID
ocserv[836]: Error in PAM authentication: Authentication failure
ocserv[836]: *.*.*.*:49279 main-misc.c:401: could not send reply auth
cmd.
ocserv[843]: recv_socket_msg:301: recvmsg returned zero
ocserv[843]: *.*.*.*:49279 worker-auth.c:227: error receiving auth reply
message
ocserv[843]: *.*.*.*:49279 worker-auth.c:816: failed authentication for
''
Thanks
Alex
More information about the openconnect-devel
mailing list