Hi,
Output: http://xen.bot.nu/avahi/ Source: http://xen.bot.nu/cherokee/handler_avahi.c http://xen.bot.nu/cherokee/handler_avahi.h Config: vserver!default!rule!6!match = directory vserver!default!rule!6!match!directory = /avahi vserver!default!rule!6!handler = avahi vserver!default!rule!6!handler!service_type = _domu._tcp What does it do? Internally there is an avahi browser, that maintains a cherokee_avl_t. With a while loop it puts this list of services in a webpage. Now this is maybe not really nifty. But what I'm going to use it for is ;) So imagine you have a zillion virtual Xen servers. All are accessible by libvirt. But libvird (a daemon for it) doesn't export the location of all virtual servers, only the location of the physical server. You can imagine this can become messy when virtual services interactively migrate etc. Now I wrote a small C program that can be run along libvirtd and this program puts all virtual servers also on the network. For security reasons I have submitted a patch to avahi that allows to broadcast to one interface (and not all). Another cool idea is to show all bonjour/ichat clients on your network (and make a broadcast to all button!) Thats useful ;) Stefan _______________________________________________ Cherokee mailing list [email protected] http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
