[NetworkManager-fortisslvpn] contrib/fortiserve: really really disable compression



commit bb1a8b23440dc0559ce035017c9afe4a50ee0ca5
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Mar 25 19:18:13 2019 +0100

    contrib/fortiserve: really really disable compression
    
    Otherwise the IPCP packet that has address and ipcp also has compression
    config before and openfortinets's packet_is_ip_plus_dns() doesn't match it.

 contrib/fortiserve.pl | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/contrib/fortiserve.pl b/contrib/fortiserve.pl
index 422f51c..29b7b78 100755
--- a/contrib/fortiserve.pl
+++ b/contrib/fortiserve.pl
@@ -198,6 +198,7 @@ sub do_ppp
        exec ($pppd, $pty->ttyname, qw/38400 noipdefault noaccomp noauth
                ms-dns 6.6.6.7 ms-dns 8.8.8.8 noccp
                default-asyncmap nopcomp nodefaultroute :1.1.1.2 nodetach
+               noaccomp nobsdcomp nopcomp novj novjccomp
                lcp-max-configure 40 usepeerdns mru 1024/) or die $! unless $ppp;
 
        $poll->mask ($_ => IO::Poll::POLLIN | IO::Poll::POLLERR)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]