Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why pppd pppol2tp plugin disable compression options?

9 views
Skip to first unread message

Olivier Langlois

unread,
Feb 26, 2021, 2:12:14 PM2/26/21
to
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,
0 new messages