Community discussions

MikroTik App
 
MartinT
newbie
Topic Author
Posts: 26
Joined: Wed Jul 22, 2009 1:28 am
Location: CZ

OpenVPN annoying "duplicate packet, dropping" log message (looks like bug in ovpn logging)

Thu Jul 14, 2016 4:44 pm

After migration from RB750G v6.27 to CRS-125 v6.32.3 there was starting annoying log messages from OpenVPN server if any client is connected.
Frequency of this messages is diferent, sometime 1-2 per day, sometime 15 per minute. This message is going to memory, remote syslog and console too.
Especially when working through ssh is very annoying.

The message on console and remote syslog:

[code]jul/14/2016 09:23:25 ovpn,debug,error,,,,,,,,,l2tp,info,,debug,,,critical,,,,,,,,,,,,,warning duplicate packet, dropping[/code]
The same message in memory:

[code]09:23:25 ovpn,debug,error,10820,11808,33692,32664,25472,30620,32480,33688,l2tp,info,33692,debug,79,65535,critical,10176,47396,25488,29944,30696,26392,11808,30084,30080,30620,37808,30620,warning duplicate packet, dropping[/code]

Regarding "wide topics" of message, it looks like bug in OpenVPN implementation in RouterOS (and is not possible to workaround it by "!$topic").
Upgrade to 6.32.4 and 6.34.6 does not helped.
In original OpenVPN is possibility to mute it by "--mute-replay-warnings" option, but here is unfortunately not.
 
mujagawudakhi
newbie
Posts: 28
Joined: Tue Jan 17, 2017 9:55 pm

Re: OpenVPN annoying "duplicate packet, dropping" log message (looks like bug in ovpn logging)

Tue Jan 17, 2017 9:59 pm

Hi, I've got the same message in my log.
ovpn works fine but i want to resolve this issue, whats it about and what can i check??

20:58:16 echo: ovpn,debug,error,,,,,,,,,l2tp,info,,debug,,,critical,,,,,,,,,,,,,wa
rning duplicate packet, dropping

thanks for the help in advance...
 
User avatar
novasys
just joined
Posts: 3
Joined: Tue Jul 02, 2013 2:15 pm
Location: Bucharest / Romania
Contact:

Re: OpenVPN annoying "duplicate packet, dropping" log message (looks like bug in ovpn logging)

Fri May 11, 2018 10:06 pm

I have ROS 6.42.1 and I'm struggling with the same issue here. I cannot stop this and basically the only issue here for me is this output on logs and the unuseful memory usage, because the VPN is working perfectly for me.
 
User avatar
novasys
just joined
Posts: 3
Joined: Tue Jul 02, 2013 2:15 pm
Location: Bucharest / Romania
Contact:

Re: OpenVPN annoying "duplicate packet, dropping" log message (looks like bug in ovpn logging)

Sat May 12, 2018 6:08 pm

I found a way to get rid of those annoying messages and in the same time keep important ovpn info topic in logs:
/system logging
set 0 topics=info,!ovpn
set 1 topics=error,!ovpn
set 2 topics=warning,!ovpn
set 3 topics=critical,!ovpn
add action=echo topics=ovpn,info,!debug

Hope will help someone until Mikrotik will fix the bug.
 
ninfa
just joined
Posts: 5
Joined: Thu Nov 26, 2015 3:09 pm

Re: OpenVPN annoying "duplicate packet, dropping" log message (looks like bug in ovpn logging)

Thu Dec 13, 2018 2:32 pm

I found a way to get rid of those annoying messages and in the same time keep important ovpn info topic in logs:
/system logging
set 0 topics=info,!ovpn
set 1 topics=error,!ovpn
set 2 topics=warning,!ovpn
set 3 topics=critical,!ovpn
add action=echo topics=ovpn,info,!debug

Hope will help someone until Mikrotik will fix the bug.
seems like this the only fix for now....
everything works, but this annoying red warning.......
 
vaskos
just joined
Posts: 5
Joined: Sun Feb 09, 2020 9:52 am

Re: OpenVPN annoying "duplicate packet, dropping" log message (looks like bug in ovpn logging)

Mon Dec 28, 2020 9:45 pm

unfortunatelly this problem still exists in the year 2020....Where is the support ??

Who is online

Users browsing this forum: adrianmartin16, Bing [Bot], gigabyte091, koer, lurker888, Michiganbroadband, thomassocz, tjr and 88 guests