• Why pppd pppol2tp plugin disable compression options?

    From Olivier Langlois@21:1/5 to All on Fri Feb 26 11:12:13 2021
    In the file pppd/plugins/pppol2tp/pppol2tp.c

    there is this code:

    /* Setup option defaults. Compression options are disabled! */

    modem = 0;

    lcp_allowoptions[0].neg_accompression = 1;
    lcp_wantoptions[0].neg_accompression = 0;

    lcp_allowoptions[0].neg_pcompression = 1;
    lcp_wantoptions[0].neg_pcompression = 0;

    and I have been wondering why no matter what options I was trying tweak, I couldn't make me side of PPP link use VJ:

    Feb 26 10:31:00 whippet2 pppd[72589]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>] Feb 26 10:31:00 whippet2 pppd[72589]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.255.255.0>]
    Feb 26 10:31:00 whippet2 pppd[72589]: sent [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
    Feb 26 10:31:00 whippet2 pppd[72589]: rcvd [IPCP ConfNak id=0x1 <addr 198.18.193.208>]
    Feb 26 10:31:00 whippet2 pppd[72589]: sent [IPCP ConfReq id=0x2 <addr 198.18.193.208>]
    Feb 26 10:31:00 whippet2 pppd[72589]: rcvd [IPCP ConfReq id=0x2 <addr 10.255.255.0>]
    Feb 26 10:31:00 whippet2 pppd[72589]: sent [IPCP ConfAck id=0x2 <addr 10.255.255.0>]
    Feb 26 10:31:00 whippet2 pppd[72589]: rcvd [IPCP ConfAck id=0x2 <addr 198.18.193.208>]

    Any idea why this restriction is in place? The other side was willing to use compression.

    thx,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)