CVSROOT:        /cvs
Module name:    src
Changes by:     ratc...@cvs.openbsd.org 2011/04/28 00:19:57

Modified files:
        usr.bin/aucat  : aucat.1 aucat.c listen.c listen.h midicat.1 
                         sock.c sock.h 
        lib/libsndio   : amsg.h aucat.c sndio.7 

Log message:
Implement a new authentication method allowing aucat and midicat to
work over TCP, for instance, to expose the sound card of one machine
with other machines of the network.

The first client generates a 128-bit random number (aka the
session cookie), saves it in $HOME/.aucat_cookie and sends it to the
server. Successive clients load the cookie from $HOME/.aucat_cookie
and send it to the server but the server accepts only clients whose
cookie matches the session cookie. When all clients are gone, the
session is over, and another cookie could start a new session, and so
on.

TCP is enabled on the server with the new -L option, and on the client
side hostnames are specified with a new optional component in the
device name.

hints from damien, dlg and deraadt, tweaks from jmc

Reply via email to