Download presentation
Presentation is loading. Please wait.
Published byCandace Greene Modified over 9 years ago
1
Apache and Zeroconf Networking Sander Temme
2
Agenda u What is Zeroconf? u Technology Overview u Existing Initiatives u Zeroconf-enabling Apache httpd u Zeroconf-enabling Tomcat u Conclusion
3
What is Zeroconf? u IETF Working Group –Formed in Sept. 1999 u Usability of TCP/IP
4
What is Zeroconf?
5
u TCP/IP Autoconfiguration u Network naming u Service Browsing
6
Technology Overview u Link-local addressing u multicast DNS u DNS Service-Discovery
7
Link-local Addressing u No Central Address Server u Pick a Random Address –In 169.254.0.0/16 range u Address Defense u Can Work With Centrally Assigned Addresses
8
Link-local Addressing Printer Network 169.254.1.219 169.254.4.51 169.254.10.29
9
mDNS u DNS-like Protocol u Every Host Runs Responder u Hosts Pick Own Names u Communication over IP Multicast u Link-local u Resolves to Link-local or Regular Address
10
mDNS Printer Network 169.254.1.219 169.254.4.51 169.254.10.29 PC_BILL PC_LARRY lj21569478
11
DNS-SD u Service Publishing and Browsing u Uses Existing DNS Record types u User Sees Only Service Names u Works With mDNS or Regular DNS
12
DNS-SD Printer Network 169.254.1.219 169.254.4.51 169.254.10.29 PC_BILL PC_LARRY lj21569478 Bill’s Files Larry’s Tunes Laserjet in the Closet Under the Stairs
13
Example Applications u Printer configuration u Music sharing u Peer to peer chat u Gaming u Telnet server
14
Peer to Peer Chat
15
Sharing Tunes
16
Sharing Sites
17
Platform support u MacOSX 10.2 and up u Linux: several initiatives –Mandrake u Windows…
18
Windows and Rendezvous
19
Existing Initiatives u Apple’s Rendezvous u mod_rendezvous u mod_rendezvous_apple u jmdns u dotlocal.org u zeroconf.sourceforge.net u Mandrake Linux u Swampwolf
20
Swampwolf u mDNS deamon and library: howl u API for service registration u Linux, FreeBSD, Windows u BSD-style license u Plugin for Internet Explorer on Windows http://www.swampwolf.com/
21
Zeroconf and Apache httpd u Module named mod_zeroconf u Registers Apache Virtualhosts with external mDNS responder u Configurable Service names and paths u Targeted at Apache httpd 2.0
22
Demo
23
mod_zeroconf Design Apache 2.0 Core Howl mDNSResponder mod_zeroconf Virtual Host Config Info mDNS Registration mDNS Callbacks
24
What Gets Registered? u Service Name u SRV information: port, hostname, partial URI u Hostname (if different) u Callback function
25
mod_zeroconf Design Apache Core Howl mDNSResponder mod_zeroconf Virtual Host Config Info mDNS Registration mDNS Callbacks Callback Process
26
Registration Callbacks u Network can be very dynamic u Service name, Hostname conflicts u Apache needs to respond u Can’t block parent process: –fork a child
27
Known Issues u Doesn’t know about SSL, other features u ServerName needs to be name:port u Callback child is not reaped u Callbacks are vestigal: no conflict resolution u Host registration not solid code u Doesn’t escape periods in service name u NO stop/restart/graceful code
28
To-dos u Learn about https protocol u Learn about DAV, … u Port to MacOSX? Apache 1.3? u Implement stop/restart u Alternative mDNS implementations u IPv6 compatibility u More solid hostname registration
29
Zeroconf-enabling Tomcat u Ideas –Java implementation of Zeroconf: jmdns –Or talk to (native) system mDNS –Use this to register Tomcat webapps –And web services? With WDSL info? –How would that interfere with UDDI stuff? –Dynamic deployment of webapps requires dynamic updates of mDNS registration u No code available yet
30
Conclusion u Zeroconf is great u Will make networks more usable u Platform support needed across vendors u Applications will follow
31
Updates http://apache.org/~sctemme/Apcon2003/TU10/
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.