mod_auth_udp for Apache2.x

What is it?

This is the apache 2.x port of mod_auth_udp (for apache 1.x).

I have rewritten it to be used with recent apache versions.

Download

http://bellot.net/cyril/dl/contrib/mod_auth_udp.c

Compile and install with

apxs -ci mod_auth_udp.c

Changes

Configuration example

<Directory "/jail/home">
    AuthBasicProvider UDP
    AuthUDPGetEnv $owner
    AuthUDPHost 192.168.10.1
    AuthUDPPort 2233
    AuthUDPSendPassword Off
    AuthUDPAuthoritative Off
    AuthUDPEnable On
</Directory>