mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-09 12:21:33 +00:00
openvpn: make comp_lzo a parameter
Possible parameters are yes, no and adaptive. See manpage for more information. Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> SVN-Revision: 38412
This commit is contained in:
parent
eda0fc3c6c
commit
5dc102ce04
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=openvpn
|
PKG_NAME:=openvpn
|
||||||
|
|
||||||
PKG_VERSION:=2.3.2
|
PKG_VERSION:=2.3.2
|
||||||
PKG_RELEASE=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://swupdate.openvpn.net/community/releases
|
PKG_SOURCE_URL:=http://swupdate.openvpn.net/community/releases
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
@ -241,7 +241,7 @@ config openvpn sample_server
|
|||||||
# Enable compression on the VPN link.
|
# Enable compression on the VPN link.
|
||||||
# If you enable it here, you must also
|
# If you enable it here, you must also
|
||||||
# enable it in the client config file.
|
# enable it in the client config file.
|
||||||
option comp_lzo 1
|
option comp_lzo yes
|
||||||
|
|
||||||
# The maximum number of concurrently connected
|
# The maximum number of concurrently connected
|
||||||
# clients we want to allow.
|
# clients we want to allow.
|
||||||
@ -389,7 +389,7 @@ config openvpn sample_client
|
|||||||
# Enable compression on the VPN link.
|
# Enable compression on the VPN link.
|
||||||
# Don't enable this unless it is also
|
# Don't enable this unless it is also
|
||||||
# enabled in the server config file.
|
# enabled in the server config file.
|
||||||
option comp_lzo 1
|
option comp_lzo yes
|
||||||
|
|
||||||
# Set log file verbosity.
|
# Set log file verbosity.
|
||||||
option verb 3
|
option verb 3
|
||||||
|
@ -78,7 +78,7 @@ start_instance() {
|
|||||||
# append flags
|
# append flags
|
||||||
append_bools "$s" \
|
append_bools "$s" \
|
||||||
auth_nocache auth_retry auth_user_pass_optional bind ccd_exclusive client client_cert_not_required \
|
auth_nocache auth_retry auth_user_pass_optional bind ccd_exclusive client client_cert_not_required \
|
||||||
client_to_client comp_lzo comp_noadapt disable \
|
client_to_client comp_noadapt disable \
|
||||||
disable_occ down_pre duplicate_cn fast_io float http_proxy_retry \
|
disable_occ down_pre duplicate_cn fast_io float http_proxy_retry \
|
||||||
ifconfig_noexec ifconfig_nowarn ifconfig_pool_linear management_forget_disconnect management_hold \
|
ifconfig_noexec ifconfig_nowarn ifconfig_pool_linear management_forget_disconnect management_hold \
|
||||||
management_query_passwords management_signal mktun mlock mtu_test multihome mute_replay_warnings \
|
management_query_passwords management_signal mktun mlock mtu_test multihome mute_replay_warnings \
|
||||||
@ -91,7 +91,7 @@ start_instance() {
|
|||||||
# append params
|
# append params
|
||||||
append_params "$s" \
|
append_params "$s" \
|
||||||
cd askpass auth auth_user_pass auth_user_pass_verify bcast_buffers ca cert \
|
cd askpass auth auth_user_pass auth_user_pass_verify bcast_buffers ca cert \
|
||||||
chroot cipher client_config_dir client_connect client_disconnect connect_freq \
|
chroot cipher client_config_dir client_connect client_disconnect comp_lzo connect_freq \
|
||||||
connect_retry connect_timeout connect_retry_max crl_verify dev dev_node dev_type dh \
|
connect_retry connect_timeout connect_retry_max crl_verify dev dev_node dev_type dh \
|
||||||
echo engine explicit_exit_notify fragment group hand_window hash_size \
|
echo engine explicit_exit_notify fragment group hand_window hash_size \
|
||||||
http_proxy http_proxy_option http_proxy_timeout ifconfig ifconfig_pool \
|
http_proxy http_proxy_option http_proxy_timeout ifconfig ifconfig_pool \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user