⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mznet.tex

📁 早期freebsd实现
💻 TEX
📖 第 1 页 / 共 2 页
字号:
\begin{flushleft}\hspace{.5in} {\tt CURRENT: 3}\end{flushleft}This indicates that the file {\tt DRAFT.003} would be operated uponwhen default conditions apply (i.e. when no message number isexplicitly given to a CP/MH command).Possible future uses for the info file include named message sequences(a set of messages to which commands may be applied as a whole) anduser profile information for application to particular folders (thereis presently a single user profile, described shortly).A floppy diskette may contain more than one folder, but foldersdo not extend over more than one floppy diskette; therefore twodifferent diskettes may contain folders with the same name.\subsection*	{CP/MH Commands}Commands operating on messages can be divided into several general categories:\medskip\begin{description}\item[Transporting:]	sending, receiving\item[Viewing:]		selecting for display, showing header summaries\item[Creating:]	composing, replying, forwarding\item[Archiving:]	categorizing, refiling, deleting, sorting\end{description}\medskipThe architecture of CP/MH permits the simulation of some of thesecategories using standard CP/M commands when CP/MH, in its presentprimitive state, does not cover them.A minimal functionality is presently provided by the following four commands:\medskip\begin{description}\item[COMP]composes mail items:creates a file containing header information taken from a standard or user-specified template.  This newly-created file may be edited to fill inthe header fields and body.\item[REPL]replies to mail items:creates a file containing headerinformation appropriate for answering a given mail item.This newly-created file may be edited tochange header fields and fill in the body.\item[SEND]sends mail items:posts selected items through the split-slot from a draft folder.\item[INC]receives mail items:takes delivery of selected itemsacross the split-slot, incorporatingthem into a mailbox folder.\end{description}\medskipThese commands, with a few enhancements and modificationsappropriate to the CP/M environment, are functionally almostidentical to their Unix MH counterparts.CP/MH commands are invoked like any other CP/M commands such as ED, PIP, or DIR.  Command line options are generally preceded by a dash (e.g. {\tt -editor A:ED}), and may be abbreviated.  Folder names are preceded by a plus (e.g. {\tt +B:DRAFT}).Messages are identified by numbers or by the special names {\tt first},{\tt last}, {\tt current}, {\tt next}, and {\tt previous}.An example of use of a CP/MH command is:  \begin{flushleft}\hspace{1in} {\tt comp -edit a:ed -use last +b:draft -log}\end{flushleft}This particular example will edit the last-composed message (the{\tt -use last} option) in the folder {\tt DRAFT} on disk drive {\tt B:}(the {\tt +b:draft} option), using the standard CP/M editor ED on diskdrive {\tt A:} (the {\tt -edit a:ed} option), and prompting the user whenit is appropriate to change disks (the {\tt -log} option).All CP/MH commands have a {\tt -help} option which displays allavailable options for the particular command invoked.Another common option is {\tt -log} which permits the user to change({\it relog}) diskettes after invoking a command, for purposes ofselecting diskettes with message folders or with editor programs.This is particularly useful on single-drive systems or on systemswith diskettes of low storage capacity.\subsection*	{The Profile}If there are options commonly used with a particular CP/MH command, they may be entered in the user profile contained in the file called (naturally enough) {\tt PROFILE}, which must exist on the same diskette on which CP/MH commands reside and from which the commands are invoked.  A profile entry consists of a program name followed by a colon and the options to be used with that program, for example:{\tt\begin{flushleft}\hspace{1in} comp: -editor A:VEDIT +B:outbox -log \\\hspace{1in} repl: -editor A:VEDIT -log \\\hspace{1in} send: +B:outbox \\\hspace{1in} inc: +B:inbox -log\end{flushleft}}Individual profile components are overridden by options given atthe time of invocation (e.g. {\tt -noedit} given on the command linewill override the {\tt -editor} profile component for a particular command).\section*	{The MZnet Split-Slot Mail Transfer System}The MZnet split-slot software implements a peer-to-peercommunication protocol between a time-sharing host's MTA and a personal micro-computer (PC) UA.This MZnet protocol extends the UA/MTA/UA model ofcomputer-based message systems (CBMS) to provide asplit gateway function between individual PCs and the ZOTnetsimilar to the UCI ICS split Internet gateway described previously(see Figure~\ref{splitslot}).\tagfigure{figure2}{The Split-Slot Model}{splitslot}\subsection*	{The Structure of the Split-Slot}The MZnet Split Gateway consists of three distributed processing components: \medskip\begin{itemize}\item A PC running a UA (in MZnet, CP/MH) acting as the mail server.\item A mini/mainframe host running a full MTA (MMDF in MZnet)providing mail relay services.\item A communication protocol (a modified version of MMDF PhoneNet) toconnect the two ends of the split-slot.\end{itemize}\medskipAlthough this combination may not be unique, the method by which the MZnet split-slot bonds these parts together uniquely deals with the problems of remote user agents.In addition to overcoming limited storage and processing capacities,  remote user agents must deal with noisy modem lines, mail software certification, and mail system security problems.  The MZnet architecture appears to solve these problems witha clean mail interface for PCs.\subsection*	{The MZnet Mail Server}The split-slot mail server consists of a set of {\it command packet}programs run from the PC.These programs simply present commandsthrough the PhoneNet communication protocol to the mail relay slave programon the host.Some basic commands are:\medskip\begin{description}\item[PostMail]		posts mail drafts to MTA\item[GetMail]		accepts mail from MTA\item[RemoteScan]	displays information about waiting mail\item[Quit]		drops connection between PC and Host\end{description}\medskipEach command has the form:\begin{flushleft}\hspace{.5in} Command Request \\\hspace{.5in} Data Transmission \\\hspace{.5in} Command Termination\end{flushleft}For example, the PostMail command is a small program that:\medskip\begin{itemize}\item initiates a command with the Mail Slave by sending the commandname (PostMail) encoded within a PhoneNet packet;\item sends a series of PhoneNet packets that contain pieces ofthe mail item to be posted; \item finally sends a command termination signal to endthe transaction withoutterminating the connection between host and PC.\end{itemize}\subsection*	{The MZnet Channel To MMDF}The MZnet Channel runs on the MTA host under the University of Delaware'sMMDF (Version 1) and is responsible for both delivery of received mailto MZnet users, and posting of MZnet user-originated mail.The MMDF MZnet channel maintains a unique message queue for eachregistered MZnet user.As new mail items arrive,they are posted to the appropriate queues,where MZnet holds the mail items for pickup by their registeredrecipients.To send or receive mail,the MZnet user must attach to the host,log into the public MZnet account,and identify (authenticate) himself.During the MZnet session with the host,the user has access only to that restricted set of functionsprovided by the MZnet split gateway protocol:he may request delivery of queued mail with GetMail,or post new mail with PostMail.Prior to taking delivery of queued mail,a survey of waiting mail also may be requested with RemoteScan to obtainmessage size information (among other data)to allow intelligent disposition of mail in the queue.Hidden within these activities are issues of security and certification.To certify and establish the identity of the user,a second password is requested after logging into the public MZnet account.This certification procedure allows MZnet to certify the sourceof originated mail.A relatively secure environment is provided by MZnet,as it is the only interface to the host permitted to MZnet users(once beyond the public login procedure),and it offers only the severely restricted set ofPhoneNet-encoded commands.Aside from security issues,using a single account to handle all MZnet usersreduces demands on system resources.\subsection*	{The MZnet-PhoneNet Protocol}A unique facet of the MZnet system derives from the PhoneNet File Transfer Protocol (FTP).PhoneNet FTP is a simple error-checked packet protocol which transfersASCII plaintext.PhoneNet encodes any non-plaintext character (or any other character``forbidden'' by the idiosyncrasies of the communicating systems) bymapping it onto an ``accepted'' character set.The accepted character set mapping is determined bya ``negotiating'' session between the two systems at the start ofthe PhoneNet session.MZnet transfers all information (both commands and data) in PhoneNetpackets to obtain error control.The MZnet-PhoneNet command FTP tolerates noise with a high degreeof success, and in effect, connects both ends of the Split Slottogether with a reliable set of virtual wires.\subsection*	{MZnet Session Example}Here, a typical MZnet session is presented, with the UA commandsissued from the PC side of the connection printedin a {\tt typewriter} typeface, and the responsesfrom the host side printedin an {\it italic} typeface.PhoneNet interactions are indented.The initial connection to the host is accomplished with the{\tt term} program, which provides a simple terminal emulationfunction.The prompt of the PC for a UA command is ``A$\rangle$''.Note that passwords are never echoed by the host system.\begin{tabbing}xxxxxxxx \= xxxxxxx \= \kill\> A$\rangle$ {\tt term} \\\> {\it login:} {\tt mznet} \\\> {\it password:} \\\> {\it MZ-Password:} \\\> \> PhoneNet packet negotiation \\\> {\it Connected.} \\\> \> exit terminal mode \\\> A$\rangle$ {\tt send cur} \\\> \> PostMail command \\\> \> message text packet transmission \\\> \> command terminator \\\> A$\rangle$ {\tt quit} \\\> \> Quit command \\\> {\it Disconnecting.}\end{tabbing}\section*	{Conclusions}The main conclusions of this paper are that small personal computer systems with dial-up phone connections constrain User Agent systems designin ways that require use of a {\it split-slot} interface betweenthe UA and its supporting Mail Transfer Agent (MTA), and thatthis interface will best provide the required services if ithas error controlled command and data transfer facilities, with interactive behavior.It is also believed that a good design for the small PC UAis based on a very modular architecture, such as the Rand MHsystem, which has been used as a pattern for the MZnet UA.By bringing these concepts together,we expect MZnet to provide reliable UA/MTAservice to a distributed set of small personal computers, to matchthe quality of service that is normally only available from largermainframe host systems with co-resident UA/MTA pairs.\bibliography{mznet}\end{document}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -