Dimitri Papadopoulos Orfanos
Dimitri Papadopoulos Orfanos
Which version of openfortivpn? What have you tried? Please read this: https://github.com/adrienverge/openfortivpn/wiki#reporting-issues
No progress I'm afraid, merge requests are always welcome :smile: Note that Ubuntu 22.04 still ships version [0.4.11](https://launchpad.net/ubuntu/jammy/+source/libp11), so we're not entirely there yet.
It would help if there were clear instructions on how to use MITM, I cannot get it to run on the same machine I work from.
Message `DEBUG: Empty cookie` originates here: https://github.com/adrienverge/openfortivpn/blob/bf94c2f07a96c03528808c49ca7a3677ce825de0/src/http.c#L417-L443 Message `Could not authenticate to gateway. Please check the password, client certificate, etc.` is then printed from: https://github.com/adrienverge/openfortivpn/blob/bf94c2f07a96c03528808c49ca7a3677ce825de0/src/tunnel.c#L1346-L1351 Finally, message `No cookie given...
Try option `user-agent = ...` in a config file. It looks like the command line option `--user-agent` is not supported, I don't know why at this point.
Here is the default value: https://github.com/adrienverge/openfortivpn/blob/6a5a91f603d2e853ffc926b969044636cc07abdd/src/main.c#L670-L672 Which value is required in your case?
#713 added `user_agent`, and also `hostcheck` and `check_virtual_desktop`. Would you have a suggestion for default values that may work better with newer FortiOS?
I've tried [man-to-md](https://github.com/mle86/man-to-md) and the result is terrible. Perhaps it can work with substantial modifications to the man page - or perhaps it's hopeless at this point, I really don't...
`groff -mandoc -Thtml` converts to HTML much better. I too prefer Markdown but haven't found how to convert yet.
Perhaps `pandoc` is a better choice. But I agree it's too much work and maintenance.