MarkusMcNugen / docker-qBittorrentvpn

Docker container which runs a headless qBittorrent client with WebUI and optional OpenVPN
https://hub.docker.com/r/markusmcnugen/qbittorrentvpn/
GNU General Public License v3.0
171 stars 92 forks source link

AEAD Decrypt error: bad packet ID (may be a replay) #47

Open Treverr opened 4 years ago

Treverr commented 4 years ago

My docker has logs for AEAD Decrypt error: bad packet ID (may be a replay) over and over and it causes my log file to get large very quickly, 180MB in just an hour or two and GBs a day. How can I enable --mute-replay-warnings (hopefully without having to re-create the whole container)? Any idea why this is happening?

Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812088 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812089 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812090 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812121 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812122 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812123 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812124 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812125 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812126 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812127 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812128 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812129 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812130 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812131 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812132 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812133 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812134 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812135 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812136 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812137 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812138 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812139 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812140 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812141 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812142 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812143 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812144 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812145 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812146 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812147 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812148 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #812149 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #813799 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #813800 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #813801 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #813802 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #813803 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #813804 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #813805 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Mon Mar 23 18:04:18 2020 AEAD Decrypt error: bad packet ID (may be a replay): [ #813806 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Altycoder commented 4 years ago

I have the following line in my docker compose file and I also get the same error/warning:

- VPN_OPTIONS=--mute-replay-warnings

I'm sure the line above used to work so I'm thinking something has recently changed?

Altycoder commented 4 years ago

OK so I appear to have fixed this. I've added the following line to my .ovpn file:

mssfix 1460

where 1460 is the appropriate MTU for my network.

In windows I ran the following command, reducing the mtu size by 10 each time until I saw 0% packet loss:

ping -n 1 -l 1500 -f www.privateinternetaccess.com

or for Linux:

ping -M do -s 1500 -c 1 www.privateinternetaccess.com

Namssorg commented 3 years ago

Thank you for this tip. I ran the same command on windows and noticed it hit 0% packet loss at 1470 for me.

Added msfix 1470 to my .ovpn file and so far it seems like I'm no longer getting the constant stream of AEAD Decrypt errors any longer.

Thanks!