Page 1
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
Page 2
ContentsContents
Introduction The configuration user interface The configuration environment RHCP: the protocol RHCP vs. DHCP Discussion Conclusion
Page 3
IntroductionIntroduction
System Administration: User, Hardware, Software, Backup,
Monitoring, Troubleshooting, Security
Network Management:General parameters: configuration filesSpecific servers: get, unpack, configure, make,
runDiagnostics
Page 4
Host ConfigurationHost Configuration
Configuring a remote host in LinuxConsoleTelnetDHCP clientsRHCP servers
Page 5
The User InterfaceThe User Interface
HTML + CGI Steps in Configuring a Remote Host
AuthenticationGetting Parameters
system related server-dependent
Making ModificationsConfirmation of Parameter Modifications
Page 6
AuthenticationAuthentication
Page 7
General ParametersGeneral Parameters
Page 8
Server-Specific ParametersServer-Specific Parameters
Page 9
Parameter ConfirmParameter Confirm
Page 10
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
Page 11
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
Page 12
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
Page 13
The Security PolicyThe Security Policy
Client
Server
Daemon
pass
generate & encode
decode & check
decode & check
key
Page 14
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
Page 15
Interoperations between Interoperations between RHCP & DHCPRHCP & DHCP
RHCP Client
RHCP Server
Normal host (fixed IP)
DHCP Client
DHCP Server
Router, gateway,firewall
Page 16
DiscussionDiscussion
RHCP & DHCP server combined? RHCP on Multi-platform? Why another protocol besides DHCP? HTML+CGI?
Configuration Client
Configuration Daemon
RHCP request
RHCP reply
Page 17
ConclusionConclusion
Configuration files User-friendly DHCP+RHCP LAN management: convenience & security RHCP homepage:
http://www.oaserver.ntu.edu.tw/RHCP/