Skip to contentSkip to conversation

Indicate correct PUSH status in log

Openvpn-devel tincanteksup 2 participants 2 messages Mar 16, 2021 – Mar 17, 2021

lore
Share & tools
lore
#0 lore raw

Hi,

This:

2021-03-16 23:11:15 us=420944 w-c01/10.10.201.226:53237 SENT CONTROL [w-c01]: 'P
USH_REPLY,comp-lzo no,explicit-exit-notify 2,route 10.33.70.1,topology net30,pin
g 10,ping-restart 60,ifconfig 10.33.70.6 10.33.70.5,peer-id 0,cipher AES-256-GCM
' (status=1)
2021-03-16 23:11:15 us=453465 w-c01/10.10.201.226:53237 PUSH: Received control m

essage: 'PUSH_REQUEST'

is likely to cause some confusion..

It may be worth having the client confirm receiving the PUSH, in the server log.

Or the server indicate an initial unrequested PUSH, technically this is not a PUSH_REPLY.

So that the log looks relatively logical.

Food for thought..
R

#1 lore raw

Hi,

Quoted 2 lines · tincanteksup

Or the server indicate an initial unrequested PUSH, technically this is not a PUSH_REPLY.

Since the message is called "PUSH_REPLY", this is what it is, technically or otherwise. This is the same message and same code path that would be used on an old client.

The difference is that 2.5+ clients send their "PUSH_REQUEST" as part of the initial IV_PROTO flag set (and re-send them as "real" requests in case an older server doesn't handle that).

Confusing? Maybe.

But not factually incorrect.

gert

Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]...