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

17
RHCP (Remote Host RHCP (Remote Host Configuration Configuration Protocol) Protocol) Configuring a Remote Host in a User- Configuring a Remote Host in a User- Friendly Manner 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
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    220
  • download

    0

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

Page 1: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

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: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

ContentsContents

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

Page 3: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

IntroductionIntroduction

System Administration: User, Hardware, Software, Backup,

Monitoring, Troubleshooting, Security

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

runDiagnostics

Page 4: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

Host ConfigurationHost Configuration

Configuring a remote host in LinuxConsoleTelnetDHCP clientsRHCP servers

Page 5: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

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: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

AuthenticationAuthentication

Page 7: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

General ParametersGeneral Parameters

Page 8: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

Server-Specific ParametersServer-Specific Parameters

Page 9: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

Parameter ConfirmParameter Confirm

Page 10: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

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 (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

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: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

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: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

The Security PolicyThe Security Policy

Client

Server

Daemon

pass

generate & encode

decode & check

decode & check

key

Page 14: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

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: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

Interoperations between Interoperations between RHCP & DHCPRHCP & DHCP

RHCP Client

RHCP Server

Normal host (fixed IP)

DHCP Client

DHCP Server

Router, gateway,firewall

Page 16: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

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: RHCP (Remote Host Configuration Protocol) Configuring a Remote Host in a User-Friendly Manner Jenq-Haur Wang, Tzao-Lin Lee {f3506002, tl_lee}@csie.ntu.edu.tw.

ConclusionConclusion

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

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