aaron
Procedure to reproduce this issue:
<1> openvpn 2.1.3 or 2.3.2
<2> openvpn.conf
port 1194
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server_bridge 192.168.1.1 255.255.255.0 192.168.1.210 192.168.1.219
keepalive 10 120
comp_lzo 0
persist_key 1
persist_tun 1
mode server
status /tmp/openvpn-status.log
verb 3
cipher ARES-128-CBC
<3> The server is a router
PC1 : 192.168.1.201 connects to LAN port of server
PC2 (openvpn client, Windows 7): 192.168.1.210 connects to WAN port of server
<4> PC1 : iperf -c 192.168.1.210 -i 2 -w 256k -P 12 -t 60
PC2 : iperf -s -i 2 -w 256k
Sympton: The connection is broken and ping from PC1 to PC2 was broken.
Note: When the same environment run with linux kernel 2.6.36, the traffic can not break the connection.
More clue: trace the source code found that the BLEN(&(c)->c2.to_link) always return not "0" and m->pending always "1" then p2mp_iow_flags() always indicate there is no packet.
When the connection was broken, wait for a moment then the connect will be rebuilt and the ping is OK