Files
packages/net/radsecproxy/test.sh
T
Alexandru Ardelean bd66f3b4a1 radsecproxy: update to 1.11.2
Changes since 1.9.1:
- Add TLS-PSK support and SSLKEYLOGFILE mechanism (1.11.0)
- Add options to require Message-Authenticator attribute (1.11.0)
- Add native dynamic discovery for NAPTR and SRV records (1.10.0)
- Add SNI support for outgoing TLS connections (1.10.0)
- Multiple TCP/TLS connection stability bug fixes (1.10.x)
- Reload complete TLS context on SIGHUP (1.11.0)
- Fix Message-Authenticator validation for Accounting-Response (1.11.2)

Update patch 200-logdest-on-foreground.patch for new code positions.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-14 15:39:33 +03:00

26 lines
622 B
Bash

#!/bin/sh
[ "$1" = "radsecproxy" ] || exit 0
# Write a minimal config with a client so radsecproxy starts up
cat > /tmp/radsecproxy-test.conf << 'EOF'
LogLevel 3
LogDestination file:///tmp/radsecproxy-test.log
ListenUDP localhost:11812
client localhost {
type udp
secret testing123
}
EOF
rm -f /tmp/radsecproxy-test.log
timeout 2 radsecproxy -f -c /tmp/radsecproxy-test.conf 2>/dev/null || true
# Verify radsecproxy wrote to the log (proves it started and parsed the config)
[ -s /tmp/radsecproxy-test.log ] || {
echo "radsecproxy did not write to log file"
false
}
echo "radsecproxy started and logged OK"