Down/Up speed suddenly drops in tunnel

Weekly dev snapshots are available for testing.
We talk about them here. Testing features in the dev snapshot helps the features make it to stable.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please report your experience with testing branch. Include what you were using and how
If there is a problem, the more info the better!
Post Reply
bbear
OpenVpn Newbie
Posts: 4
Joined: Tue Jul 28, 2020 1:24 pm

Down/Up speed suddenly drops in tunnel

Post by bbear » Wed Aug 05, 2020 10:06 am

Hi

I am checking connection via OpenVPN for different modem types and after few days of testing I encountered following issue.
While running UDP traffic only, 900Mb/s downstream combined with 50Mb/s upstream after a few seconds connection speed dramatically drops to 600Mb/s for downstream and 0-20Mb/s upstream.
Checking in the logs i've notice following messages

Code: Select all

Aug  5 09:41:30 vsrv-bicab-3u ovpn-client[3670]: AEAD Decrypt error: bad packet ID (may be a replay): [ #97654 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Aug  5 09:41:31 vsrv-bicab-3u ovpn-client[3670]: AEAD Decrypt error: bad packet ID (may be a replay): [ #163190 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Aug  5 09:41:32 vsrv-bicab-3u ovpn-client[3670]: AEAD Decrypt error: bad packet ID (may be a replay): [ #228726 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Both machines, server and client are running with Ubuntu 18.04.1.
I am generating traffic with a ByteBlower server and frame length without CRC of UDP packets is set to 1280.

Server config

local 100.80.1.252
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
topology subnet
server 10.10.100.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "route 192.168.219.0 255.255.255.252"
client-config-dir ccd
route 192.168.219.8 255.255.255.248
keepalive 10 120
tls-auth ta.key 0
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
verb 3
explicit-exit-notify 1


I tried switching to TCP protocol but the behavior is the same only that i do not have error messages in syslog.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Down/Up speed suddenly drops in tunnel

Post by TinCanTech » Wed Aug 05, 2020 11:40 am

OpenVPN is working perfectly normally -- Your network is giving you some headache.

bbear
OpenVpn Newbie
Posts: 4
Joined: Tue Jul 28, 2020 1:24 pm

Re: Down/Up speed suddenly drops in tunnel

Post by bbear » Wed Aug 05, 2020 11:53 am

TinCanTech wrote:
Wed Aug 05, 2020 11:40 am
OpenVPN is working perfectly normally -- Your network is giving you some headache.
Do you have any suggestion what should i look for because it worked fine for same devices on first round of tests.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Down/Up speed suddenly drops in tunnel

Post by TinCanTech » Wed Aug 05, 2020 12:06 pm

We are here to support Openvpn.

If you need some expert help with your network then I am available for hire.

tincanteksup <at> gmail dot com

Post Reply