avahi
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 9
Avahi 0.6.21
Avahi is a framework for Multicast DNS Service Discovery on Linux. more>>
Avahi is a framework for Multicast DNS Service Discovery on Linux.
It allows programs to publish and discover services and hosts running on a local network with no specific configuration.
For example, you can plug into a network and instantly find printers to print to, files to look at, and people to talk to.
Main features:
- Licensed under LGPL
- IPv4 and IPv6 support
- DBUS interface
- Drops all priviliges and runs as user "avahi"
- Embeddable mDNS stack (i.e. mDNS stack available as library)
- Support for loading static service definitions from XML fragments
- Interface to GLIBC NSS using [WWW]nss-mdns
- Ability to reflect mDNS traffic between multiple subnets
- Ability to configure a unicast DNS server automatically from server data published on the LAN
<<lessIt allows programs to publish and discover services and hosts running on a local network with no specific configuration.
For example, you can plug into a network and instantly find printers to print to, files to look at, and people to talk to.
Main features:
- Licensed under LGPL
- IPv4 and IPv6 support
- DBUS interface
- Drops all priviliges and runs as user "avahi"
- Embeddable mDNS stack (i.e. mDNS stack available as library)
- Support for loading static service definitions from XML fragments
- Interface to GLIBC NSS using [WWW]nss-mdns
- Ability to reflect mDNS traffic between multiple subnets
- Ability to configure a unicast DNS server automatically from server data published on the LAN
Download (0.83MB)
Added: 2007-08-13 License: LGPL (GNU Lesser General Public License) Price:
803 downloads
Ekiga 2.0.9
Ekiga is a SIP and H.323 application, supporting audio and video, and is the successor of GnomeMeeting. more>>
Ekiga is a SIP and H.323 application, supporting audio and video, and is the successor of GnomeMeeting.
Main features:
- Call Forwarding on busy, no answer, always (SIP and H.323)
- Call Transfer (SIP and H.323)
- Call Hold (SIP and H.323)
- DTMFs support (SIP and H.323)
- Basic Instant Messaging (SIP)
- Text Chat (SIP and H.323)
- Possibility to register to several registrars (SIP) and gatekeepers (H.323)
- Possibility to use an outbound proxy (SIP) or a gateway (H.323)
- Message Waiting Indications (SIP)
- Audio AND Video (SIP and H.323)
- STUN support (SIP and H.323)
- DTMFs support
- LDAP support
Enhancements:
- MJPEG support (V4L1) was added.
- Workarounds were added for broken qspca driver (V4L1).
- The account strings check procedure was fixed.
- Auto build scripts were added for Win32.
- A Win32 installer was added.
- Unregistration from SIP registrars running on non standard ports was fixed.
- A possible problem with H.323 calls was fixed.
- Possible Avahi crashes were fixed.
- A possible routing problem for incoming calls initiated through uncompliant SIP INVITE PDUs was fixed.
- A crash on Win32 when exchanging SIP text messages was fixed.
<<lessMain features:
- Call Forwarding on busy, no answer, always (SIP and H.323)
- Call Transfer (SIP and H.323)
- Call Hold (SIP and H.323)
- DTMFs support (SIP and H.323)
- Basic Instant Messaging (SIP)
- Text Chat (SIP and H.323)
- Possibility to register to several registrars (SIP) and gatekeepers (H.323)
- Possibility to use an outbound proxy (SIP) or a gateway (H.323)
- Message Waiting Indications (SIP)
- Audio AND Video (SIP and H.323)
- STUN support (SIP and H.323)
- DTMFs support
- LDAP support
Enhancements:
- MJPEG support (V4L1) was added.
- Workarounds were added for broken qspca driver (V4L1).
- The account strings check procedure was fixed.
- Auto build scripts were added for Win32.
- A Win32 installer was added.
- Unregistration from SIP registrars running on non standard ports was fixed.
- A possible problem with H.323 calls was fixed.
- Possible Avahi crashes were fixed.
- A possible routing problem for incoming calls initiated through uncompliant SIP INVITE PDUs was fixed.
- A crash on Win32 when exchanging SIP text messages was fixed.
Download (6.6MB)
Added: 2007-04-13 License: GPL (GNU General Public License) Price:
563 downloads
libdaemon 0.12
libdaemon is a lightweight C library that eases the writing of UNIX daemons. more>>
libdaemon is a lightweight C library that eases the writing of UNIX daemons. libdaemon consists of the following parts:
- A wrapper around fork() which does the correct daemonization procedure of a process
- A wrapper around syslog() for simpler and compatible log output to Syslog or STDERR
- An API for writing PID files
- An API for serializing UNIX signals into a pipe for usage with select() or poll()
- An API for running subprocesses with STDOUT and STDERR redirected to syslog.
- APIs like these are used in most daemon software available. It is not that simple to get it done right and code duplication is not a goal.
libdaemon is currently used by ifplugd, Avahi, ivam2, Nautilus-Share and aeswepd.
Installation:
As this package is made with the GNU autotools you should run ./configure inside the distribution directory for configuring the source tree. After that you should run make for compilation and make install (as root) for installation of libdaemon.
Please use gmake instead of traditional make for compilation on non-Linux systems.
Enhancements:
- This release makes daemon_close_all() actually work properly.
<<less- A wrapper around fork() which does the correct daemonization procedure of a process
- A wrapper around syslog() for simpler and compatible log output to Syslog or STDERR
- An API for writing PID files
- An API for serializing UNIX signals into a pipe for usage with select() or poll()
- An API for running subprocesses with STDOUT and STDERR redirected to syslog.
- APIs like these are used in most daemon software available. It is not that simple to get it done right and code duplication is not a goal.
libdaemon is currently used by ifplugd, Avahi, ivam2, Nautilus-Share and aeswepd.
Installation:
As this package is made with the GNU autotools you should run ./configure inside the distribution directory for configuring the source tree. After that you should run make for compilation and make install (as root) for installation of libdaemon.
Please use gmake instead of traditional make for compilation on non-Linux systems.
Enhancements:
- This release makes daemon_close_all() actually work properly.
Download (0.33MB)
Added: 2007-07-12 License: LGPL (GNU Lesser General Public License) Price:
836 downloads
apt-zeroconf 0.3 RC2
apt-zeroconf is a distributed apt-cacher for local networks. more>>
apt-zeroconf is a distributed apt-cacher for local networks.
Concept
When running more than one Debian box in a LAN with slow internet access the most often used solution to prevent downloading the same Debian package twice is running apt-cacher or the like on one single machine, a centralized server.
The problem with this solution is, that every machine in the network needs to be configured for this proxy. If it is down, no one can update. If you go to another network, you must tweak your sources.list or apt.conf in order to upgrade, which is quite common nowadays with notebooks and wifi technology.
We would therefore be interested in an automatic and peer-to-peer solution. When there is no apt caching daemon in the LAN, we want to fetch the packages directly from the internet. But if there is one or even more available, apt should automatically use it, without any configuration from the user. This is by the way the reason we called it apt-zeroconf in the first place.
The next question is: Who runs an apt caching daemon? In our first implementation, everyone running apt-zeroconf also shares his apt package cache in /var/cache/apt/archives to everyone in the network.
Now, one might think this could potentially pose a security threat as everyone can offer and distribute debs without any authentication whatsoever. This is not the case as we are not yet caching the package lists or pdiffs, which are PGP-signed and contain MD5, SHA1 and SHA256 checksums of the packages. But due to the trusted PGP signatures, caching package lists shouldnt be an issue.
Technical Details
Apt-zeroconf consists of two parts: a http server and the avahi-related stuff. Avahi is used to let everyone else in the network know that you have an apt-zeroconf caching service installed and running. The httpd does act as http server if used in fake-mirror-mode, but also as http proxy if youre using it as such with apt. It uses port 1618 by default.
In every mode, apt-zeroconf is provided with a fallback mirror by apt, so if there are no apt-zeroconf instances on the LAN offering your deb, your regular Debian mirror will be used to provide apt with the necessary files. See Configuration for details.
Configuration
Configuration is done automatically by installing apt-zeroconf. You can disable apt-zeroconf through debconf (dpkg-reconfigure apt-zeroconf) and configure it to your liking. The default configuration is Proxy Mode.
Please note that you just need to carry out the following steps if you didnt activate apt-zeroconf through debconf. These modes are just listed for advanced usage.
Proxy Mode
Add the following line to your /etc/apt/apt.conf:
Acquire { http { Proxy "http://127.0.0.1:1618"; } }
This way every mirror listed in your sources.list will be cached. If you dont want this use the second method.
Fake Mirror Mode
Change in your /etc/apt/sources.list
deb http://your.mirror.debian.org/debian sid main
to
deb http://127.0.0.1:1618/your.mirror.debian.org/debian sid main
e.g. deb http://127.0.0.1:1618/ftp.de.debian.org/debian sid main
With this method, you can select only specific mirrors to be patched through apt-zeroconf.
NOTE: This mode is to be removed! Can also be configured through apt.conf!
Enhancements:
- A new and improved initscript was written.
- Permissions of the logfile and runfile were fixed.
- avahi restarts are handled properly.
<<lessConcept
When running more than one Debian box in a LAN with slow internet access the most often used solution to prevent downloading the same Debian package twice is running apt-cacher or the like on one single machine, a centralized server.
The problem with this solution is, that every machine in the network needs to be configured for this proxy. If it is down, no one can update. If you go to another network, you must tweak your sources.list or apt.conf in order to upgrade, which is quite common nowadays with notebooks and wifi technology.
We would therefore be interested in an automatic and peer-to-peer solution. When there is no apt caching daemon in the LAN, we want to fetch the packages directly from the internet. But if there is one or even more available, apt should automatically use it, without any configuration from the user. This is by the way the reason we called it apt-zeroconf in the first place.
The next question is: Who runs an apt caching daemon? In our first implementation, everyone running apt-zeroconf also shares his apt package cache in /var/cache/apt/archives to everyone in the network.
Now, one might think this could potentially pose a security threat as everyone can offer and distribute debs without any authentication whatsoever. This is not the case as we are not yet caching the package lists or pdiffs, which are PGP-signed and contain MD5, SHA1 and SHA256 checksums of the packages. But due to the trusted PGP signatures, caching package lists shouldnt be an issue.
Technical Details
Apt-zeroconf consists of two parts: a http server and the avahi-related stuff. Avahi is used to let everyone else in the network know that you have an apt-zeroconf caching service installed and running. The httpd does act as http server if used in fake-mirror-mode, but also as http proxy if youre using it as such with apt. It uses port 1618 by default.
In every mode, apt-zeroconf is provided with a fallback mirror by apt, so if there are no apt-zeroconf instances on the LAN offering your deb, your regular Debian mirror will be used to provide apt with the necessary files. See Configuration for details.
Configuration
Configuration is done automatically by installing apt-zeroconf. You can disable apt-zeroconf through debconf (dpkg-reconfigure apt-zeroconf) and configure it to your liking. The default configuration is Proxy Mode.
Please note that you just need to carry out the following steps if you didnt activate apt-zeroconf through debconf. These modes are just listed for advanced usage.
Proxy Mode
Add the following line to your /etc/apt/apt.conf:
Acquire { http { Proxy "http://127.0.0.1:1618"; } }
This way every mirror listed in your sources.list will be cached. If you dont want this use the second method.
Fake Mirror Mode
Change in your /etc/apt/sources.list
deb http://your.mirror.debian.org/debian sid main
to
deb http://127.0.0.1:1618/your.mirror.debian.org/debian sid main
e.g. deb http://127.0.0.1:1618/ftp.de.debian.org/debian sid main
With this method, you can select only specific mirrors to be patched through apt-zeroconf.
NOTE: This mode is to be removed! Can also be configured through apt.conf!
Enhancements:
- A new and improved initscript was written.
- Permissions of the logfile and runfile were fixed.
- avahi restarts are handled properly.
Download (0.011MB)
Added: 2007-06-09 License: GPL (GNU General Public License) Price:
867 downloads
ZenLive Linux LiveCD 4.2
ZenLive Linux is a live cd derived from Zenwalk distribution. more>>
Zenwalk Linux (formerly Minislack) is a Slackware-based Linux distribution with focus on Internet applications, multimedia and programming tools.
ZenLive Linux LiveCD is a complete system with software for Internet browsing, mail, chat, multimedia and office, as well as for programming in C, Perl, Python and Ruby.
The main objectives of Zenwalk Linux are to be simple and fast, provide one application per task, be a complete development and desktop environment and to be small enough to fit on a 400MB ISO image.
Enhancements:
- ZenLive 4.2 is based on Zenwalk Linux version 4.2 and compliments the speed and stability youve come to expect from Zenwalk. Some of the new features include Zenpanel which is Zenwalks new system configuration panel that makes customizing your Linux system easy. Desktop enhancements include a new panel layout and RSS feed reader that were added to Xfce among other nice enhancements, such as the original Tango-derived icon theme. Howl has been replaced with the more modern and supported Avahi Zeroconf subsystem. Fam has been replaced with Gamin resulting in noticeable speed increases to file and directory monitoring.
<<lessZenLive Linux LiveCD is a complete system with software for Internet browsing, mail, chat, multimedia and office, as well as for programming in C, Perl, Python and Ruby.
The main objectives of Zenwalk Linux are to be simple and fast, provide one application per task, be a complete development and desktop environment and to be small enough to fit on a 400MB ISO image.
Enhancements:
- ZenLive 4.2 is based on Zenwalk Linux version 4.2 and compliments the speed and stability youve come to expect from Zenwalk. Some of the new features include Zenpanel which is Zenwalks new system configuration panel that makes customizing your Linux system easy. Desktop enhancements include a new panel layout and RSS feed reader that were added to Xfce among other nice enhancements, such as the original Tango-derived icon theme. Howl has been replaced with the more modern and supported Avahi Zeroconf subsystem. Fam has been replaced with Gamin resulting in noticeable speed increases to file and directory monitoring.
Download (476.2MB)
Added: 2007-01-16 License: GPL (GNU General Public License) Price:
1015 downloads
Linux Mint 3.0 (Cassandra)
Linux Mints purpose is to produce an elegant, up to date and comfortable GNU/Linux desktop distribution. more>>
Linux Mints purpose is to produce an elegant, up to date and comfortable GNU/Linux desktop distribution.
Is Linux Mint suitable for companies?
Yes. Linux Mint offers paid commercial support to companies and individuals. Free community support is also available from the forums and the IRC channel. The main purpose of Linux Mint is to innovate and constantly bring the best desktop solutions to its users. For this reason, the release cycle is fast and a new version of Linux Mint can be released every month or every two months. All released versions of Linux Mint are actively supported and some of the releases (possibly Bianca or Cassandra) will come with a Long Term Support guarantee (a guarantee that our Support Center will support these releases for the years to come).
Is Linux Mint suitable for individuals?
Yes, definitely. We believe Linux is the best operating system on the market. There are more than 300 active Linux distributions and were working hard at becoming the best alternative for your desktop. This is a tough competition as there are other great desktop operating systems and distributions out there. We have faith in the quality of our desktop and a lot of great ideas. If your computer is a PC and you have more than 512MB RAM you should try Linux Mint and see what you think about it. If youre running a 5 years old non-free operating system such as Microsoft Windows XP you should definitely be impressed. We like hearing about your experience and taking your suggestions onboard so please give us your feedback.
Why is there a Light Edition and a Full Edition?
Linux Mint respects the GPL and it also respects the copyrights and licenses of the proprietary software it distributes. However it uses technologies that have been patented in some parts of the World. Most countries do not recognize the legitimacy of software patents so for most of our users this is not a problem. But if youre unlucky and you live in a country where software patents are legally enforcable, you need a version of Linux Mint which is free of patented technologies, and this is what the Light Edition is about.
Why does Linux Mint include proprietary drivers?
It doesnt. If it did, it would be legally wrong (because it would violate the GPL) or ethically wrong (if some dirty trick was used for the user to link the code to the kernel for instance).
What about proprietary software?
We believe in open source and release all our work with the corresponding source code. We owe a lot to the Free Software movement and to the GPL but we also owe a lot to all the developers who contributed ideas and tools and who made software better and better throughout the years. Some of them released their source code as well and thus granted us more freedom and more flexibility. Others released their software with proprietary licenses and although this didnt give us the freedom we would have liked it still contributed to make software better. We like Software in general, Free Software even more, but we do not believe in boycotting Proprietary Software.
Enhancements:
- The brand new "mintInstall" and the "Linux Mint Software Portal": http://www.linuxmint.com/software
- Gnome 2.18 (speed improvements)
- Kernel 2.6.20 (better hardware support)
- Ubuntu Feisty innovations (restricted-manager, desktop-effects, windows migration assistant, avahi)
- OpenOffice 2.2 (complete suite)
- Thunderbird replaces Evolution as the default email reader
- Pidgin replaces Gaim as the default messenger
- Sunbird is now installed by default
- The Gimp is installed by default
- Gnome-control-center replaces mintConfig as the default control center application
- Both mintDisk (for internal drives) and NTFS-Config (for external drives) are present for NTFS support
- Support for Gnome Templates in mintDesktop
- mintInstall replaces gnome-app-install and the upcoming Clickn Run.
- Drag & Drop support in mintMenu with many other improvements
- Sun Java 6 replaces Sun Java 5
- Compiz, Beryl and Emerald installed by default
- New artwork
<<lessIs Linux Mint suitable for companies?
Yes. Linux Mint offers paid commercial support to companies and individuals. Free community support is also available from the forums and the IRC channel. The main purpose of Linux Mint is to innovate and constantly bring the best desktop solutions to its users. For this reason, the release cycle is fast and a new version of Linux Mint can be released every month or every two months. All released versions of Linux Mint are actively supported and some of the releases (possibly Bianca or Cassandra) will come with a Long Term Support guarantee (a guarantee that our Support Center will support these releases for the years to come).
Is Linux Mint suitable for individuals?
Yes, definitely. We believe Linux is the best operating system on the market. There are more than 300 active Linux distributions and were working hard at becoming the best alternative for your desktop. This is a tough competition as there are other great desktop operating systems and distributions out there. We have faith in the quality of our desktop and a lot of great ideas. If your computer is a PC and you have more than 512MB RAM you should try Linux Mint and see what you think about it. If youre running a 5 years old non-free operating system such as Microsoft Windows XP you should definitely be impressed. We like hearing about your experience and taking your suggestions onboard so please give us your feedback.
Why is there a Light Edition and a Full Edition?
Linux Mint respects the GPL and it also respects the copyrights and licenses of the proprietary software it distributes. However it uses technologies that have been patented in some parts of the World. Most countries do not recognize the legitimacy of software patents so for most of our users this is not a problem. But if youre unlucky and you live in a country where software patents are legally enforcable, you need a version of Linux Mint which is free of patented technologies, and this is what the Light Edition is about.
Why does Linux Mint include proprietary drivers?
It doesnt. If it did, it would be legally wrong (because it would violate the GPL) or ethically wrong (if some dirty trick was used for the user to link the code to the kernel for instance).
What about proprietary software?
We believe in open source and release all our work with the corresponding source code. We owe a lot to the Free Software movement and to the GPL but we also owe a lot to all the developers who contributed ideas and tools and who made software better and better throughout the years. Some of them released their source code as well and thus granted us more freedom and more flexibility. Others released their software with proprietary licenses and although this didnt give us the freedom we would have liked it still contributed to make software better. We like Software in general, Free Software even more, but we do not believe in boycotting Proprietary Software.
Enhancements:
- The brand new "mintInstall" and the "Linux Mint Software Portal": http://www.linuxmint.com/software
- Gnome 2.18 (speed improvements)
- Kernel 2.6.20 (better hardware support)
- Ubuntu Feisty innovations (restricted-manager, desktop-effects, windows migration assistant, avahi)
- OpenOffice 2.2 (complete suite)
- Thunderbird replaces Evolution as the default email reader
- Pidgin replaces Gaim as the default messenger
- Sunbird is now installed by default
- The Gimp is installed by default
- Gnome-control-center replaces mintConfig as the default control center application
- Both mintDisk (for internal drives) and NTFS-Config (for external drives) are present for NTFS support
- Support for Gnome Templates in mintDesktop
- mintInstall replaces gnome-app-install and the upcoming Clickn Run.
- Drag & Drop support in mintMenu with many other improvements
- Sun Java 6 replaces Sun Java 5
- Compiz, Beryl and Emerald installed by default
- New artwork
Download (697MB)
Added: 2007-06-15 License: GPL (GNU General Public License) Price:
519 downloads
mod_dnssd 0.5
mod_dnssd adds DNS-SD Zeroconf support to Apache 2.0 using Avahi. more>>
mod_dnssd Apache module, adds DNS-SD Zeroconf support to Apache 2.0 using Avahi.
For activating mod_dnssd just load it into the server and use the global directive DNSSDEnable to enable it:
DNSSDEnable on
Thats it, nothing more is required! The module publishes all configured virtual hosts and the mod_userdir directories of all local users. For mod_userdir to work you need to load that module and configure it for the path ~/public_html/.
Advanced Features
Five other directives are available: the global directive DNSSDAutoRegisterUserDir can be used to disable automatic registration of mod_userdir directories. The global directive DNSSDAutoRegisterVHosts can be used to disable automatic registration of all local virtual hosts.
The two directives DNSSDServiceName and DNSSDServiceTypes which can be placed inside a < VirtualHost > or < Location > section can be used to define additional services for publishing or to finetune the service name or types of virtual hosts. If placed inside a < VirtualHost > you can change the service types and name of the attached service (if used with DNSSDAutoRegisterVHosts set to on) or to register a service for the virtual host (if used with DNSSDAutoRegisterVHosts disabled). DNSSDServiceTypes takes a list of at least one DNS-SD service type (defaults to _http._tcp). A good example when to pass more than one service type is a WebDAV server:
DNSSDServiceTypes _http._tcp _webdav._tcp
This will register the server both as HTTP and as WebDAV service. Please note that both services do have different types but share the same name! Other areas where this might become handy is when registering RSS formatted blogs or XMLRPC services.
DNSSDServiceName and DNSSDServiceTypes are especially useful inside a < Location > block. Using this notation you can register additional services in subdirectories of the server.
<<lessFor activating mod_dnssd just load it into the server and use the global directive DNSSDEnable to enable it:
DNSSDEnable on
Thats it, nothing more is required! The module publishes all configured virtual hosts and the mod_userdir directories of all local users. For mod_userdir to work you need to load that module and configure it for the path ~/public_html/.
Advanced Features
Five other directives are available: the global directive DNSSDAutoRegisterUserDir can be used to disable automatic registration of mod_userdir directories. The global directive DNSSDAutoRegisterVHosts can be used to disable automatic registration of all local virtual hosts.
The two directives DNSSDServiceName and DNSSDServiceTypes which can be placed inside a < VirtualHost > or < Location > section can be used to define additional services for publishing or to finetune the service name or types of virtual hosts. If placed inside a < VirtualHost > you can change the service types and name of the attached service (if used with DNSSDAutoRegisterVHosts set to on) or to register a service for the virtual host (if used with DNSSDAutoRegisterVHosts disabled). DNSSDServiceTypes takes a list of at least one DNS-SD service type (defaults to _http._tcp). A good example when to pass more than one service type is a WebDAV server:
DNSSDServiceTypes _http._tcp _webdav._tcp
This will register the server both as HTTP and as WebDAV service. Please note that both services do have different types but share the same name! Other areas where this might become handy is when registering RSS formatted blogs or XMLRPC services.
DNSSDServiceName and DNSSDServiceTypes are especially useful inside a < Location > block. Using this notation you can register additional services in subdirectories of the server.
Download (0.077MB)
Added: 2007-04-17 License: The Apache License 2.0 Price:
920 downloads
pybonjour 1.1.0
pybonjour provides a pure Python interface (via ctypes) to Apple Bonjour and compatible DNS-SD libraries (such as Avahi). more>>
pybonjour provides a pure Python interface (via ctypes) to Apple Bonjour and compatible DNS-SD libraries (such as Avahi).
The application allows Python scripts to take advantage of Zero Configuration Networking (Zeroconf) to register, discover, and resolve services on both local and wide-area networks.
Since pybonjour is implemented in pure Python, scripts that use it can easily be ported to Mac OS X, Windows, Linux, and other systems that run Bonjour.
Examples
The following scripts are included in the examples directory of the pybonjour source distribution.
Registering a Service
register.py Script
import select
import sys
import pybonjour
name = sys.argv[1]
regtype = sys.argv[2]
port = int(sys.argv[3])
def register_callback(sdRef, flags, errorCode, name, regtype, domain):
if errorCode == pybonjour.kDNSServiceErr_NoError:
print Registered service:
print name =, name
print regtype =, regtype
print domain =, domain
sdRef = pybonjour.DNSServiceRegister(name = name,
regtype = regtype,
port = port,
callBack = register_callback)
try:
try:
while True:
ready = select.select([sdRef], [], [])
if sdRef in ready[0]:
pybonjour.DNSServiceProcessResult(sdRef)
except KeyboardInterrupt:
pass
finally:
sdRef.close()
Example Output
$ python register.py TestService _test._tcp 1234
Registered service:
name = TestService
regtype = _test._tcp.
domain = local.
Browsing for and Resolving Services
browse_and_resolve.py Script
import select
import sys
import pybonjour
regtype = sys.argv[1]
timeout = 5
resolved = []
def resolve_callback(sdRef, flags, interfaceIndex, errorCode, fullname,
hosttarget, port, txtRecord):
if errorCode == pybonjour.kDNSServiceErr_NoError:
print Resolved service:
print fullname =, fullname
print hosttarget =, hosttarget
print port =, port
resolved.append(True)
def browse_callback(sdRef, flags, interfaceIndex, errorCode, serviceName,
regtype, replyDomain):
if errorCode != pybonjour.kDNSServiceErr_NoError:
return
if not (flags & pybonjour.kDNSServiceFlagsAdd):
print Service removed
return
print Service added; resolving
resolve_sdRef = pybonjour.DNSServiceResolve(0,
interfaceIndex,
serviceName,
regtype,
replyDomain,
resolve_callback)
try:
while not resolved:
ready = select.select([resolve_sdRef], [], [], timeout)
if resolve_sdRef not in ready[0]:
print Resolve timed out
break
pybonjour.DNSServiceProcessResult(resolve_sdRef)
else:
resolved.pop()
finally:
resolve_sdRef.close()
browse_sdRef = pybonjour.DNSServiceBrowse(regtype = regtype,
callBack = browse_callback)
try:
try:
while True:
ready = select.select([browse_sdRef], [], [])
if browse_sdRef in ready[0]:
pybonjour.DNSServiceProcessResult(browse_sdRef)
except KeyboardInterrupt:
pass
finally:
browse_sdRef.close()
Example Output
$ python browse_and_resolve.py _test._tcp
Service added; resolving
Resolved service:
fullname = TestService._test._tcp.local.
hosttarget = bumble.local.
port = 1234
...
<<lessThe application allows Python scripts to take advantage of Zero Configuration Networking (Zeroconf) to register, discover, and resolve services on both local and wide-area networks.
Since pybonjour is implemented in pure Python, scripts that use it can easily be ported to Mac OS X, Windows, Linux, and other systems that run Bonjour.
Examples
The following scripts are included in the examples directory of the pybonjour source distribution.
Registering a Service
register.py Script
import select
import sys
import pybonjour
name = sys.argv[1]
regtype = sys.argv[2]
port = int(sys.argv[3])
def register_callback(sdRef, flags, errorCode, name, regtype, domain):
if errorCode == pybonjour.kDNSServiceErr_NoError:
print Registered service:
print name =, name
print regtype =, regtype
print domain =, domain
sdRef = pybonjour.DNSServiceRegister(name = name,
regtype = regtype,
port = port,
callBack = register_callback)
try:
try:
while True:
ready = select.select([sdRef], [], [])
if sdRef in ready[0]:
pybonjour.DNSServiceProcessResult(sdRef)
except KeyboardInterrupt:
pass
finally:
sdRef.close()
Example Output
$ python register.py TestService _test._tcp 1234
Registered service:
name = TestService
regtype = _test._tcp.
domain = local.
Browsing for and Resolving Services
browse_and_resolve.py Script
import select
import sys
import pybonjour
regtype = sys.argv[1]
timeout = 5
resolved = []
def resolve_callback(sdRef, flags, interfaceIndex, errorCode, fullname,
hosttarget, port, txtRecord):
if errorCode == pybonjour.kDNSServiceErr_NoError:
print Resolved service:
print fullname =, fullname
print hosttarget =, hosttarget
print port =, port
resolved.append(True)
def browse_callback(sdRef, flags, interfaceIndex, errorCode, serviceName,
regtype, replyDomain):
if errorCode != pybonjour.kDNSServiceErr_NoError:
return
if not (flags & pybonjour.kDNSServiceFlagsAdd):
print Service removed
return
print Service added; resolving
resolve_sdRef = pybonjour.DNSServiceResolve(0,
interfaceIndex,
serviceName,
regtype,
replyDomain,
resolve_callback)
try:
while not resolved:
ready = select.select([resolve_sdRef], [], [], timeout)
if resolve_sdRef not in ready[0]:
print Resolve timed out
break
pybonjour.DNSServiceProcessResult(resolve_sdRef)
else:
resolved.pop()
finally:
resolve_sdRef.close()
browse_sdRef = pybonjour.DNSServiceBrowse(regtype = regtype,
callBack = browse_callback)
try:
try:
while True:
ready = select.select([browse_sdRef], [], [])
if browse_sdRef in ready[0]:
pybonjour.DNSServiceProcessResult(browse_sdRef)
except KeyboardInterrupt:
pass
finally:
browse_sdRef.close()
Example Output
$ python browse_and_resolve.py _test._tcp
Service added; resolving
Resolved service:
fullname = TestService._test._tcp.local.
hosttarget = bumble.local.
port = 1234
...
Download (0.015MB)
Added: 2007-06-15 License: MIT/X Consortium License Price:
862 downloads
Grdc 0.6.0
GTK+/Gnome Remote Desktop Client more>>
Grdc 0.6.0 is developed to be a remote desktop client based on GTK+ and for the GNOME desktop environment.
Major Features :
- The Grdc main program:
- A pure GTK+ 2.0 application!
- Maintain a list of remote desktop files for most frequently used servers
- Make quick connections by directly putting in the server name
- Remote desktops with higher resolutions are scrollable in both window and fullscreen mode
- Viewport fullscreen mode: remote desktop automatically scrolls when the mouse moves over the screen edge.
- Floating toolbar in fullscreen mode, allows you to switch between modes, toggle keyboard grabbing, minimize, etc.
- RDP protocol is supported by rdesktop; VNC protocol is supported by libvncclient.
- The Grdc Gnome applet:
- A Gnome desktop applet for easy-access of Grdc main features
- List all remote desktop files and make the connection easily
- Support remote desktop files grouping feature
Enhancements:
- Add Avahi support using libavahi-ui
- Option tstart a connection in view-only mode
- Enhanced command line arguments tsupport new grdc-applet features
- Black Scrolled Viewport border (Nikolay Botev)
- Better mouse cursor (both server and client side) (Nikolay Botev)
- Keyboard mapping option for rdesktop (RDP)
- VNC Chat feature
- Fix VNC desktop resize bug (Nikolay Botev)
- VNC Beep feature (Nikolay Botev)
- A SFTP client (stand-alone or integrate with SSH tunnel)
- SSH terminal feature integrated with SSH tunnel
- Add RDP options: Share folder, Startup program/path and Advanced arguments
- New Preference option Default View Mode
- Better default window size tmatch server resolution
- New VNC advanced option: Horizontal and Vertical scale
- Saved password is now encrypted
- Quick Connect protocol sub menus and connection protocol icons
- Support VNC keyboard mapping
- Fix VNC peer disconnect bug (Alex Chateau)
- Greek translation added by Elias Sofronas
Added: 2009-07-07 License: GPL Price: FREE
14 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above avahi search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed