ocserv: iOS Anyconnect unexpected POST URL /VPN?

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Sat Dec 5 11:29:29 PST 2015


On Sat, 2015-12-05 at 22:42 +0800, sskaje wrote:
> I tried both haproxy + ocserv and ocserv, same error.
> Anyone else met this?
> 
> iOS 9.1, AnyConnect 3.0.12169
[...]
> ocserv[22505]: worker: 1.1.1.1 HTTP POST /VPN
> ocserv[22505]: worker: 1.1.1.1 unexpected POST URL /VPN

Hi,
 That URL is not something ocserv handles. They must have changed their
protocol. What are the contents sent to this URL? If it looks like an
authentication request, you could try to copy the line with the handler
for /auth as a handler for /VPN in worker-http.c. I.e., add:
LL("/VPN", get_auth_handler, post_auth_handler),
in the known_urls table.

regards,
Nikos




More information about the openconnect-devel mailing list