failure in the manual of OpenVPN + question about float
Posted: Sun Sep 14, 2008 7:22 pm
Hello,
I think there is a failure in the manuals on openvpn.org.
They write there, that the pings are send over the control channel:
*--ping n*
Ping remote over the TCP/UDP control channel if no packets have been
sent for at least *n* seconds (
but there are some reasons why the pings are send over the data channel:
-p2p mode dont has a control channel:
Packet opcode/key_id (8 bits) -- TLS only, not used in
* pre-shared secret mode.
-both sites must send the ping. if it would be send over control channel, the sender would get an ACK and so the other peer dont have to send the ping too.
- in the logs the pings come in P_DATA_V1, there is no P_CONTROL_ACK or something. There is no op code for a ping. I think it comes on the data channel with a speciale bit sequence.
What do you say ?
Regards
Tobias
I think there is a failure in the manuals on openvpn.org.
They write there, that the pings are send over the control channel:
*--ping n*
Ping remote over the TCP/UDP control channel if no packets have been
sent for at least *n* seconds (
but there are some reasons why the pings are send over the data channel:
-p2p mode dont has a control channel:
Packet opcode/key_id (8 bits) -- TLS only, not used in
* pre-shared secret mode.
-both sites must send the ping. if it would be send over control channel, the sender would get an ACK and so the other peer dont have to send the ping too.
- in the logs the pings come in P_DATA_V1, there is no P_CONTROL_ACK or something. There is no op code for a ping. I think it comes on the data channel with a speciale bit sequence.
What do you say ?
Regards
Tobias