Signed-off-by: Dimitri Papadopoulos Orfanos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
# the config packets exchanged, causing retries and leading to a longer negotiation period.
# [use `socat -x` for a hex log of I/O to/from the connected sockets]
- LD_PRELOAD=libsocket_wrapper.so socat \
+ LD_PRELOAD=libsocket_wrapper.so socat -4 -d -d \
SYSTEM:"LD_PRELOAD= $SUDO $PPPD noauth local debug nodefaultroute logfile '$LOGFILE' $*",pty,raw,echo=0 \
OPENSSL-LISTEN:443,verify=0,cert="$CERT",key="$KEY" 2>&1 &
PID=$!