[Serusers] Proxy_authorize, www_authorize

Nils Ohlmeier nils at ohlmeier.de
Sun Jan 12 18:00:29 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 12 January 2003 17:49, Michael Graff wrote:
> Nils Ohlmeier <nils at ohlmeier.de> writes:
> > A proxy can challenge Invites and Byes, but should not do this with
> > external Invites to your local user. Otherwise your your user
> > wouldn't be reachable  from outside.
>
> I implemented something much like this:
>
> if (to me):
>         if register
>
>                 www_authorize or fail if not a valid register
>
>                 done
>
>         if claiming to be "From" one of the domains I accept
>         registrations for
>
>                 proxy_authorize
>
>                 done
>
> if not to me (I'm relaying for a local phone to an external address)
>
>         proxy_authorize (once again, based on from address)
>
>         done

Looks like a reasonable implementation to me.

  Nils
- -- 
gpg-key: http://www.ohlmeier.org/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+IZ84x8PydbrWykARApwbAKC2DXYWkiPoeK+7Nnk94KknQlVh5wCg6ebW
SMPum3FJ6PNPsxwvL3KcSlo=
=SXc/
-----END PGP SIGNATURE-----




More information about the sr-users mailing list