rfc2305.txt

来自「<VC++网络游戏建摸与实现>源代码」· 文本 代码 · 共 732 行 · 第 1/2 页

TXT
732
字号
Network Working Group                                         K. ToyodaRequest for Comments: 2305                                      H. OhnoCategory: Standards Track                                      J. Murai                                                           WIDE Project                                                                D. Wing                                                                  Cisco                                                             March 1998             A Simple Mode of Facsimile Using Internet MailStatus of this Memo   This document specifies an Internet standards track protocol for the   Internet community, and requests discussion and suggestions for   improvements.  Please refer to the current edition of the "Internet   Official Protocol Standards" (STD 1) for the standardization state   and status of this protocol.  Distribution of this memo is unlimited.Copyright Notice   Copyright (C) The Internet Society (1998).  All Rights Reserved.SUMMARY   This specification provides for "simple mode" carriage of facsimile   data over the Internet.  Extensions to this document will follow.   The current specification employs standard protocols and file formats   such as TCP/IP, Internet mail protocols [1, 2, 3], MIME [4, 16, 17],   and TIFF for Facsimile [5,6,19].  It can send images not only to   other Internet-aware facsimile devices but also to Internet-native   systems, such as PCs with common email readers which can handle MIME   mail and TIFF for Facsimile data.  The specification facilitates   communication among existing facsimile devices, Internet mail agents,   and the gateways which connect them.   The key words "MUST", "SHOULD", "SHOULD NOT", and "MAY" in this   document are to be interpreted as described in [7].1  SCOPE   This specification defines a message-based facsimile communication   over the Internet.  It describes a minimum set of capabilities,   taking into account those of typical facsimile devices and PCs that   can generate facsimile data.Toyoda, et. al.             Standards Track                     [Page 1]RFC 2305                Simple Mode of Facsimile              March 1998   A G3Fax device has substantial restrictions due to specifications in   the standards, such as for timers. This specification defines a   profile for Internet mail, rather than creating a distinct "facsimile   over the Internet" service.  The semantics resulting from the profile   are designed to be compatible with facsimile operation over the   general switched telephone network, so that gateways between   facsimile and Internet mail can operate with very high fidelity.   The reason for developing this capability as an email profile is to   permit interworking amongst facsimile and email users.  For example   it is intended that existing email users be able to send normal   messages to lists of users, including facsimile-based recipients, and   that other email recipients shall be able to reply to the original   and continue to include facsimile recipients.  Similarly it is   intended that existing email software work without modification and   not be required to process new, or different data structures, beyond   what is normal for Internet mail users.  Existing email service   standards are used, rather than replicating mechanisms which are more   tailored to existing facsimile standards, to ensure this   compatibility with existing email service.1.1 Services   A facsimile-capable device that uses T.4 [8] and the general switched   telephone network (GSTN) is called a "G3Fax device" in this   specification.  An "IFax device" is an Internet- accessible device   capable of sending, receiving or forwarding Internet faxes.  A   message can be sent to an IFax device using  an Internet mail   address. A message can be sent to a G3Fax device  using an Internet   mail address; the message MAY be forwarded via an IFax offramp   gateway.1.2 Cases   This specification provides for communication between each of the   following combinations:   Internet mail             =>  Network printer   Internet mail             =>  Offramp gateway (forward to                                 G3Fax)   Network scanner           =>  Network printer   Network scanner           =>  Offramp gateway (forward to                                 G3Fax)   Network scanner           =>  Internet mailToyoda, et. al.             Standards Track                     [Page 2]RFC 2305                Simple Mode of Facsimile              March 19982  COMMUNICATION PROTOCOLS   The set of conventions necessary to achieve facsimile- compatible   service covers basic data transport, document data formats, message   (document) addressing, delivery confirmation, and message security.   In this section, the first 4 are covered.  The remainder are covered   in following sections, along with additional details for addressing   and formats.2.1 Transport   This section describes mechanisms involved in the transport between   IFAX devices.2.1.1     Relay   Data transfer MAY be achieved using standard Internet mail transfer   mechanisms[1, 3].  The format of addresses MUST conform to the RFC   821 <addr-spec> and RFC 822 <mailbox> Internet mail standards [1, 2,   3].2.1.2     Gateway   A gateway translates between dissimilar environments.  For IFax, a   gateway connects between Internet mail and the T.4/GSTN facsimile.   Gateways can service multiple T.4/GSTN facsimile users or can service   only one.  In the former case, they serve as a classic "mail transfer   agent" (MTA) and in the latter as a classic "mail user agent" (UA).   An onramp is a gateway which connects from T.4/GSTN facsimile to   Internet mail.  An offramp is a gateway which connects from Internet   mail to T.4/GSTN facsimile. Behavior of onramps is out of scope for   this specification.   This specification describes the Internet mail service portion of   offramp addressing, confirmation and failure notification.  Details   are provided in later sections.2.1.3     Mailbox protocols   An offramp gateway that operate as an MTA serving multiple users   SHOULD use SMTP; a gateway that operates as a UA serving a single   mail recipient MAY use a mailbox access protocol such as POP or IMAP   [9, 10].Toyoda, et. al.             Standards Track                     [Page 3]RFC 2305                Simple Mode of Facsimile              March 1998   NOTE: An offramp gateway that relays mail based on addressing   information needs to ensure that it uses addresses supplied in the   MTA envelope, rather than from elsewhere, such as addresses listed in   the message content headers.2.2 Formats2.2.1     Headers   IFax devices MUST be compliant with RFC 822 and RFC1123, which define   the format of mail headers.  The header of an IFax message SHOULD   include Message-ID and MUST include all fields required by [2, 3],   such as DATE and FROM.2.2.2     MIME   IFax devices MUST be compliant with MIME [4], except as noted in   Appendix A.2.2.3     Content   The data format of the facsimile image is based on the minimum set of   TIFF for Facsimile[6], also known as the S profile.   Such facsimile   data are included in a MIME object by use of the image/TIFF sub-type   [19].  Additional rules for the use of TIFF for Facsimile, for the   message-based Internet facsimile application, are defined later.2.2.4     Multipart   A single multi-page document SHOULD be sent as a single multi- page   TIFF file, even though recipients MUST process multipart/mixed   containing multiple TIFF files. If multipart content is present and   processing of any part fails, then processing for the entire message   is treated as failing, per [Processing failure] below.2.3 Error Handling2.3.1     Delivery failure   This section describes existing requirements for Internet mail,   rather than indicating special requirements for IFax devices.   In the event of relay failure, the sending relay MUST generate a   failure message, which SHOULD be in the format of a DSN. [14,15]        NOTE:  Internet mail transported via SMTP MUST contain a MAIL        FROM address appropriate for delivery of return notices [Also        see section 5.2.6]Toyoda, et. al.             Standards Track                     [Page 4]RFC 2305                Simple Mode of Facsimile              March 19982.3.2     Processing failure   IFax devices with limited capabilities might be unable to process the   content of a message.  If this occurs it is important to ensure that   the message is not lost without any notice. Notice MAY be provided in   any appropriate fashion, and the exact handling is a local matter.   (Also see Appendix A, second bullet.)3  ADDRESSING3.1 Classic Email Destinations   Messages being sent to normal Internet mail recipients will use   standard Internet mail addresses, without additional constraints.3.2 G3Fax Devices   G3Fax devices are accessed via an IFAX offramp gateway, which   performs any authorized telephone dial-up.3.3 Address Formats Used by Offramps   When a G3Fax device is identified by a telephone number, the entire   address used for the G3fax device, including the number and offramp   host reference MUST be contained within standard Internet mail   transport fields, such as RCPT TO and MAIL FROM [1, 3].  The address   MAY be contained within message content fields, such as <authentic>   and <destination> [2, 3], as appropriate.   As for all Internet mail addresses, the left-hand-side (local- part)   of an address is not to be interpreted except by the MTA that is   named on the right-hand-side (domain).   The telephone number format SHOULD conform to [11, 12].  Other   formats MUST be syntactically distinct from [11, 12].4  IMAGE FILE FORMAT   Sending IFax devices MUST be able to write minimum set TIFF files,   per the rules for creating minimum set TIFF files defined in TIFF for   Facsimile (the S profile) [6], which is also compatible with the   specification for the minimum subset of TIFF-F in [5].  Receiving   IFax devices MUST be able to read minimum set TIFF files.Toyoda, et. al.             Standards Track                     [Page 5]RFC 2305                Simple Mode of Facsimile              March 1998   A sender SHOULD NOT use TIFF fields and values beyond the minimum   subset of TIFF for Facsimile unless the sender has prior knowledge of   other TIFF fields or values supported by the recipient.  The   mechanism for determining capabilities of recipients is beyond the   scope of this document.5  SECURITY CONSIDERATIONS5.1 General Directive   This specification is based on use of existing Internet mail.  To   maintain interoperability with Internet mail, any security to be   provided should be part of the of the Internet security   infrastructure, rather than a new mechanism or some other mechanism   outside of the Internet infrastructure.5.2 Threats and Problems   Both Internet mail and G3Fax standards and operational services have   their own set of threats and countermeasures.  This section attends   only to the set of additional threats which ensue from integrating   the two services. This section reviews relevant concerns about   Internet mail for IFax environments, as well as considering the   potential problems which can result of integrating the existing G3Fax   service with Internet mail.5.2.1     Spoofed sender   The actual sender of the message might not be the same as that   specified in the Sender or From fields of the message content headers   or the MAIL FROM address from the SMTP envelope.   In a tightly constrained environment, sufficient physical and   software controls may be able to ensure prevention of this problem.   The usual solution is through encryption-based authentication, either   for the channel or associated with the object, as discussed below.   It should be recognized that SMTP implementations do not provide   inherent authentication of the senders of messages, nor are sites   under obligation to provide such authentication. End-to-end   approaches such as S/MIME and PGP/MIME are currently being developed   within the IETF. These technologies can provide such authentication.5.2.2     Resources consumed by dialout   In addition to the resources normally consumed for email (CPU cycles   and disk), offramp facsimile causes an outdial which often imposes   significant resource consumption, such as financial cost. TechniquesToyoda, et. al.             Standards Track                     [Page 6]RFC 2305                Simple Mode of Facsimile              March 1998   for establishing authorization of the sender are essential to those   offramp facsimile services that need to manage such consumption.   Due to the consumption of these resources by dialout, unsolicited   bulk email which causes an outdial is undesirable.   Offramp gateways SHOULD provide the ability to authorize senders in   some manner to prevent unauthorized use of the offramp. There are no   standard techniques for authorization using Internet protocols.   Typical solutions use simple authentication of the originator to   establish and verify their identity and then check the identity   against a private authorization table.   Originator authentication entails the use of weak or strong   mechanisms, such as cleartext keywords or encryption-based data-   signing, respectively, to determine and validate the identify of the   sender and assess permissions accordingly.   Other control mechanisms which are common include source filtering   and originator authentication.  Source filtering entails offramp   gateway verification of the host or network originating the message   and permitting or prohibiting relaying accordingly.

⌨️ 快捷键说明

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