RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner...

Post on 20-Dec-2015

220 views 0 download

Tags:

Transcript of RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner...

RHCP (Remote Host RHCP (Remote Host Configuration Protocol)Configuration Protocol)

Configuring a Remote Host in a User-Friendly MannerConfiguring a Remote Host in a User-Friendly Manner

Jenq-Haur Wang, Tzao-Lin Lee{f3506002, tl_lee}@csie.ntu.edu.tw

Dept. of Computer Science and Information Engineering, National Taiwan University, Taipei, Taiwan

ContentsContents

Introduction The configuration user interface The configuration environment RHCP: the protocol RHCP vs. DHCP Discussion Conclusion

IntroductionIntroduction

System Administration: User, Hardware, Software, Backup,

Monitoring, Troubleshooting, Security

Network Management:General parameters: configuration filesSpecific servers: get, unpack, configure, make,

runDiagnostics

Host ConfigurationHost Configuration

Configuring a remote host in LinuxConsoleTelnetDHCP clientsRHCP servers

The User InterfaceThe User Interface

HTML + CGI Steps in Configuring a Remote Host

AuthenticationGetting Parameters

system related server-dependent

Making ModificationsConfirmation of Parameter Modifications

AuthenticationAuthentication

General ParametersGeneral Parameters

Server-Specific ParametersServer-Specific Parameters

Parameter ConfirmParameter Confirm

Configuration EnvironmentConfiguration Environment

Configuration Client

(Web Browser)

Configuration Server

(Web Server)

Host to be configured

CGI program

Configuration Daemon

HTTP

RHCP/UDP

Fig. 5 Relationship among the key components in theRemote Host Configuration Environment

RHCP: the ProtocolRHCP: the ProtocolThe Time Diagram

Client CGI Daemon

get

set

confirm

RHCP_GET

RHCP_ACK

RHCP_SET

RHCP_ACK, RHCP_FINAL

Authenticate & verify parameters

Getting Parameters

Setting Parameters

The Message FormatThe Message Format

Op* (1) Reserved (1) Flags (2)

Timestamp (4)

Hardware Address: Upper Half (4)

Hardware Address: LowerHalf (2)

Access Times (2)

Magic Cookie for RHCP (4)

Options (n)

Authentication key

* Op: RHCP_GET, RHCP_SET, RHCP_ACK, RHCP_NAK, RHCP_FINAL

The Security PolicyThe Security Policy

Client

Server

Daemon

pass

generate & encode

decode & check

decode & check

key

RHCP vs. DHCPRHCP vs. DHCP

DHCP Client

DHCP Server

Request parameters for the Client

Offer parameters

RHCP Server

RHCP Daemon

Access parameters on the Daemon

Action complete

Differences between RHCP and DHCP

Interoperations between Interoperations between RHCP & DHCPRHCP & DHCP

RHCP Client

RHCP Server

Normal host (fixed IP)

DHCP Client

DHCP Server

Router, gateway,firewall

DiscussionDiscussion

RHCP & DHCP server combined? RHCP on Multi-platform? Why another protocol besides DHCP? HTML+CGI?

Configuration Client

Configuration Daemon

RHCP request

RHCP reply

ConclusionConclusion

Configuration files User-friendly DHCP+RHCP LAN management: convenience & security RHCP homepage:

http://www.oaserver.ntu.edu.tw/RHCP/