System-based opportunistic mode

The system-based opportunistic mode enables HIP communication without the use of the opportunistic library. If the peer does not support HIP, communication falls back on normal TCP communication.

The system-based opportunistic mode is implemented at the HIP firewall. It is enabled with the -o option as shown below:

hipfw -o

The system-based opportunistic mode uses the efficient detection of peer HIP capability. Therefore, the firewall should be run at both peers. Also, HIP efficient detection should be enabled both at the initiator and at the receiver with the following command:

hipconf run opp advanced

Following is an example of all the steps to be followed at two peers for using the system-based opportunistic mode between them.

At the receiver, one can execute these steps:

1. hipd

2. hipfw -dA

3. hipconf run opp advanced

4. nc -l -p port_no

At the initiator, one can execute these steps:

1. hipd

2. hipfw -dAo

3. hipconf run opp advanced

4. nc IP_number port_no