[patch] SLP support (+ question)
Brad Hards
bhards at bigpond.net.au
Thu Sep 26 05:24:01 EST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 23 Sep 2002 00:38, Brad Hards wrote:
> The attached patch adds "first draft" support for service location
> protocol, using OpenSLP (http://www.openslp.org). This allows you to
> automagically discover all the rsync servers on your network (which is
> defined in terms of your SLP configuration - typically equal to multicast
> scope, but you can change it around with Directory agents).
<snip>
For those people that looked at the patch and found it so ugly that their eyes
hurt - I apologise. Must have been a bad pizza that night :(
I've cleaned the service registration up a bit, and added some service
location stuff. You can now do something like:
bradh at squirt rsync-2.5.5 $ ./rsync rsync://
rsync://squirt.cuneata.net:5678:/ftp whole ftp area (approx 6.1 GB)
rsync://squirt.cuneata.net:5678:/sambawww Samba WWW pages (approx 240
MB)
rsync://squirt.cuneata.net:5678:/cvs CVS repository (requires
authentication)
rsync://squirt.cuneata.net:5678:/test3 Test3 ftp area (approx 0 MB)
rsync://squirt.cuneata.net:5678:/newftp (No description)
The service location code (srvloc.c) is pretty ugly - its basically only demo
quality. But it runs.
In a GUI version, what other module attributes are people interested in
(assuming that there is any interest at all in any of this)? The ones I
thought about:
* read only
* auth users (which would indicate whether this module required authorisation,
or not, rather than specifying the users)
* hosts deny and hosts allow (which would indicate if there were any hosts in
such a list, rather than actually registering the list)
I need to specify this if there is ever going to be an SLP service template
for rsync.
Brad
- --
http://conf.linux.org.au. 22-25Jan2003. Perth, Aust. Tickets booked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9kpgyW6pHgIdAuOMRAu8sAJ9GbUXqtnzm+Rq7iNNJnWR/t+TA5gCglCbi
MEdYhlpl9sdGCEEx4c69/Io=
=kvV2
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsync-slp-20020926.patch
Type: text/x-diff
Size: 19651 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20020926/2df3bccb/rsync-slp-20020926.bin
More information about the rsync
mailing list