Chapter 4. How to Use HIP with Applications?

Table of Contents

Easy Methods
Experimental Methods
Tips for Using HIP with Some Applications
Using HIP Enabled Web Proxy
Sendmail and Spamassassin
Apache web server
VLC multimedia streamer
VNC applications
OpenLDAP
Networking scripts and instructions for virtual machines and HIP
HIP and OpenVPN
NFSv3 over HIP
Iperf
Nagios Infrastructure monitoring tool
Vanilla Telnet
Bittorrent over HIP

This section lists different methods on how to set-up HIP manually in order to make applications use HIP. We have categorized the local methods to "easy" and "advanced" here.

Easy Methods

1. Run the hipdnsproxy to map hostnames transparently to HITs from hosts files and directory services (DNS). See the section called “DNS Proxy” for more details.

2. Overload your /etc/hosts files by adding HITs or LSIs before the corresponding IP addresses. This method does not require DNS proxy running on the host and works using hostnames.

3. You can also use HITs (or LSIs) directly in the application (DNS proxy is not required for this method). For example, you can execute "ping6 PEER_HIT". However, hipd must know the mapping from the PEER_HIT to the corresponding IP address. Hipd can find this mapping from DNS. Alternatively, this information can be store to hosts files as follows:

3a. If you want to maintain separate files for HIP identifiers, write the HIT-hostname (or LSI-hostname) pair to /etc/hip/hosts and the IP-hostname pair to /etc/hosts. See also the method (2) for overloading all addresses in /etc/hosts.

3b. Execute "hipconf add map PEER_HIT PEER_IP" and use the HIT directly in the application. You can insert the hipconf command also to /etc/hip/hipd_config and restart hipd.