]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Fortinet: server rejects asyncmap and header compression options
authorDaniel Lenski <dlenski@gmail.com>
Thu, 4 Feb 2021 19:31:20 +0000 (11:31 -0800)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 29 Mar 2021 03:13:30 +0000 (20:13 -0700)
commit3cacd99d9e48a98edd792c289fb9990a049d3340
treed332a7d3571dcf016dc2970120bb5669c3293a8a
parent7b1bd66e077590f9c8ae9e0b46dbebdd558efa85
Fortinet: server rejects asyncmap and header compression options

This appears to be a "feature" of all Fortinet servers, not just the one I have
access to. Openfortivpn calls pppd with the 'noaccomp nopfcomp default-asyncmap'
options: https://github.com/adrienverge/openfortivpn/blob/ba44ce1/src/tunnel.c#L233-L245

We should avoid offering these options to save an unnecessary round-trip in the
LCP stage of PPP configuration.

Don't blame me. I didn't design this.

For that matter, we don't need to include the asyncmap option with *any*
encapsulation that doesn't use HDLC.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
ppp.c