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
1
local 100.80.1.252
2
port 1194
3
proto udp
4
dev tun
5
ca ca.crt
6
cert server.crt
7
key server.key
8
dh dh2048.pem
9
topology subnet
10
server 10.10.100.0 255.255.255.0
11
ifconfig-pool-persist /var/log/openvpn/ipp.txt
12
push "route 192.168.219.0 255.255.255.252"
13
client-config-dir ccd
14
route 192.168.219.8 255.255.255.248
15
keepalive 10 120
16
tls-auth ta.key 0
17
cipher AES-256-CBC
18
user nobody
19
group nogroup
20
persist-key
21
persist-tun
22
status /var/log/openvpn/openvpn-status.log
23
verb 3
24
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: 11139
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: 11139
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