Wireless Hacks Free Open Book

Wireless Hacks

Previous Section Next Section

Hack 29 Advertising Arbitrary Rendezvous Services in OS X

figs/beginner.giffigs/hack29.gif

Rendezvous isn't just for web pages and iChat. Use this OS X app to advertise whatever you like.

While you can certainly use mDNSProxyResponder [Hack #28] to advertise arbitrary Rendezvous services from the command line, OS X has a number of pretty Aqua apps that will also do this for you. My favorite is a freeware app called Rendezvous Beacon, available at http://www.chaoticsoftware.com/ProductPages/RendezvousBeacon.html. It incorporates all of the functionality of mDNSProxyResponder inside a simple, well-organized interface (Figure 3-24).

Figure 3-24. Rendezvous Beacon's main screen.
figs/wh_0324.gif

Turing beacons on and off is as simple as clicking a checkbox. You can add as many beacons as you like, to whatever service, protocol, and port you need. Like mDNSProxyResponder, it will even allow you to advertise services that aren't local to your machine or network, as shown in Figure 3-25. In this example, I'm advertising the NoCat web site as the local multicast DNS name nocat.local. This causes any Rendezvous-enabled browsers on the local wireless network (such as Safari or Camino) to see a service called NoCat, which directs them to the IP address shown in Figure 3-25. You can change the URL that the user lands on by changing the Path= line in the Text Record box.

Figure 3-25. Advertise Rendezvous services that reside on other networks entirely.
figs/wh_0325.gif

You can advertise any service you like by supplying the appropriate Service Type and Port Number. For example, to advertise an iTunes DAAP share, use _daap._tcp. as the Service Type, and 3689 as the port number. The little triangle button to the right of these fields provides a cheat sheet for common services and ports.

To make Rendezvous Beacon run whenever you are using your machine, simply add it to your Login Items in System Preferences. If you are interested in advertising Rendezvous services, I highly recommend trying out this nifty free app.

Another quick and easy method for advertising web pages with Rendezvous is to use mod_proxy , part of the Apache installation on every OS X box. Add an entry like the following to your /private/etc/httpd/httpd.conf:

<IfModule mod_rendezvous_apple.c>
  RegisterResource "Muzik on Caligula" "/Music/"
</IfModule>

This registers a path with the given description for your local machine. Restart Apache by clicking Stop and then Start under System Preferences Sharing Personal Web Sharing. Unfortunately, mod_rendezvous doesn't support proxy like the previous method does, but it can make it easy to publish local paths without any additional software.

    Previous Section Next Section
    Index: [SYMBOL][A][B][C][D][E][F][G][H][I][J][L][M][N][O][P][Q][R][S][T][U][V][W][X][Z]


         Main Menu
    Main Page
    Table of content
    Copyright
    Credits
    Foreword
    Preface
    Chapter 1. The Standards
    Chapter 2. Bluetooth and Mobile Data
    Chapter 3. Network Monitoring
    3.1 Hacks #20-42
    Hack 20 Find All Available Wireless Networks
    Hack 21 Network Discovery Using NetStumbler
    Hack 22 Network Detection on Mac OS X
    Hack 23 Detecting Networks Using Handheld PCs
    Hack 24 Passive Scanning with KisMAC
    Hack 25 Establishing Connectivity
    Hack 26 Quickly Poll Wireless Clients with ping
    Hack 27 Finding Radio Manufacturers by MAC Address
    Hack 28 Rendezvous Service Advertisements in Linux
    Hack 29 Advertising Arbitrary Rendezvous Services in OS X
    Hack 30 'Brought to you by' Rendezvous Ad Redirector
    Hack 31 Detecting Networks with Kismet
    Hack 32 Running Kismet on Mac OS X
    Hack 33 Link Monitoring in Linux with Wavemon
    Hack 34 Historical Link State Monitoring
    Hack 35 EtherPEG and DriftNet
    Hack 36 Estimating Network Performance
    Hack 37 Watching Traffic with tcpdump
    Hack 38 Visual Traffic Analysis with Ethereal
    Hack 39 Tracking 802.11 Frames in Ethereal
    Hack 40 Interrogating the Network with nmap
    Hack 41 Network Monitoring with ngrep
    Hack 42 Running ntop for Real-Time Network Stats
    Chapter 4. Hardware Hacks
    Chapter 5. Do-It-Yourself Antennas
    Chapter 6. Long Distance Links
    Chapter 7. Wireless Security
    Appendix A. Deep Dish Parabolic Reflector Template
    Colophon
    Index


    More Books
    PHP Hacks
    Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
    The Koran (Holy Qur'an)
    Macromedia Flash 8 Bible
    Search Engine Optimization for Dummies
    YouTube Traffic
    PHP 5 for Dummies
    Harry Potter and The Chamber of Secrets
    Harry Potter and the Sorcerer's Stone
    The Pilgrim's Progress
    Wireless Hacks
    Flash Hacks. 100 Industrial-Strength Tips & Tools
    PayPal Hacks. 100 Industrial-Strength Tips and Tools
    Amazon Hacks
    Pdf Hacks
    The Da Vinci Code
    Google Hacks
    The Holy Bible
    Windows XP For Dummies
    Harry Potter and the Half-Blood Prince
    Seo Book
    Upgrading and Repairing Networks
    Macromedia Dreamweaver 8 UNLEASHED
    Windows XP Annoyances
    Windows XP Hacks
    Microsoft Windows XP Power Toolkit
    Teach Yourself MS Office In 24Hours
    iPod & iTunes Missing Manual
    PC Hacks 100 Industrial-Strength Tips and Tools
    PC Overclocking, Optimization, and Tuning - 2th Edition
    PC Hardware In A Nutshell 3rd Edition
    PC Hardware in a Nutshell, 2nd Edition
    Upgrading and Repairing PCs
    Google for Dummies
    MySQL Cookbook
    Teach Yourself Macromedia Flash 8 In 24 Hours
    PHP CookBook
    Sams Teach Yourself JavaScript in 24 Hours
    PHP5 Manual
    Free Games Paper Airplanes
    500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele