Opened 10 years ago
Closed 9 years ago
#413 closed Bug / Defect (fixed)
shaper documentation
Reported by: | sp31415 | Owned by: | Samuli Seppänen |
---|---|---|---|
Priority: | minor | Milestone: | release 2.3.6 |
Component: | Documentation | Version: | OpenVPN git master branch (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | |
Cc: |
Description
Operating system : Debian Wheezy
openvpn from debian team
openvpn --version
OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Jun 18 2013
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@…>
$ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/openvpn --disable-maintainer-mode --disable-dependency-tracking CFLAGS=-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security CPPFLAGS=-D_FORTIFY_SOURCE=2 CXXFLAGS=-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security FFLAGS=-g -O2 LDFLAGS=-fPIE -pie -Wl,-z,relro -Wl,-z,now --enable-password-save --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=${prefix}/share/man --with-ifconfig-path=/sbin/ifconfig --with-route-path=/sbin/route
Compile time defines: ENABLE_CLIENT_SERVER ENABLE_DEBUG ENABLE_EUREPHIA ENABLE_FRAGMENT ENABLE_HTTP_PROXY ENABLE_MANAGEMENT ENABLE_MULTIHOME ENABLE_PASSWORD_SAVE ENABLE_PORT_SHARE ENABLE_SOCKS USE_CRYPTO USE_LIBDL USE_LZO USE_PF_INET6 USE_PKCS11 USE_SSL
shaper documentation is mentionning :
Limit bandwidth of outgoing tunnel data to n bytes per second on the TCP/UDP port. If you want to limit the bandwidth in both directions, use this option on both peers.
while using it on server returns (version 2.2.1 debian package)
Options error: --shaper cannot be used with --mode server
point1: is it possible to change documentation because one peer (server) doesn't accept the option ?
point2 : https://forums.openvpn.net/topic7686.html
That topic was talking about the non sense (all connections or each one) of shaper on server side.
But, is it possible to add one option in order to shape all connections (maybe shaper-shared)
and one option in order to shape each connection (maybe shaper-per-connection)
This point may be considered as a feature request according to the forum feedback.
Change History (4)
comment:1 Changed 9 years ago by
Component: | Generic / unclassified → Documentation |
---|---|
Milestone: | → release 2.3.6 |
Owner: | set to Samuli Seppänen |
Status: | new → assigned |
Version: | 2.2.1 → git master branch |
comment:2 Changed 9 years ago by
Confirmed from jamesyonan that the comment above is correct. I'll align the man-page to match with reality.
I suspect that --shaper works fine in point-to-point mode, and that the man-page was not updated when OpenVPN received server support.