> which means that if you would use
>   compress stub-v2
> then you'd basically end up with bogus compression - this does not seem to
> be documented and I have no idea what the main difference is between 'stub'
> and 'stub-v2'.

In the end I resorted to this:

if ($version =~ "2\.3\.") {
   push @outline, 'compress lzo';
   push @outline, 'push "compress lzo"';
}
else {
   push @outline, 'compress';
   push @outline, 'push "compress"';
   # compression considered insecure
}
               
Since I don't know how to override "comp-lzo" in very old 2.3.x configs.

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebra...@charite.de        Campus Benjamin Franklin
https://www.charite.de             Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to