rfc3303.txt

来自「RFC 的详细文档!」· 文本 代码 · 共 1,285 行 · 第 1/5 页

TXT
1,285 行
字号
   middleboxes in carrying out their function, whereas, the proxies act
   as a focal point for application servers, relaying traffic between
   application clients and servers.

   ALGs are similar to Proxies, in that, both ALGs and proxies
   facilitate Application specific communication between clients and
   servers.

2.7. End-Hosts

   End-hosts are entities that are party to a networked application
   instance.  End-hosts referred to in this document, are specifically
   those terminating Real-time streaming Voice-over-IP applications,
   such as SIP and H.323, and peer-to-peer applications such as Napster
   and NetMeeting.

2.8. MIDCOM Agents

   MIDCOM agents are entities performing ALG functions, logically
   external to a middlebox.  MIDCOM agents possess a combination of
   application awareness and knowledge of the middlebox function.  This



Srisuresh, et al.            Informational                      [Page 5]

RFC 3303           MIDCOM Architecture and Framework         August 2002


   combination enables the agents to facilitate traversal of the
   middlebox by the application's packets.  A MIDCOM agent may interact
   with one or more middleboxes.

   Only "In-Path MIDCOM agents" are considered in this document.  In-
   Path MIDCOM agents are agents which are within the path of those
   datagrams that the agent needs to examine and/or modify in fulfilling
   its role as a MIDCOM agent.  "Within the path" here simply means that
   the packets in question flow through the node that hosts the agent.
   The packets may be addressed to the agent node at the IP layer.
   Alternatively they may not be addressed to the agent node, but may be
   constrained by other factors to flow through it.  In fact, it is
   immaterial to the MIDCOM protocol which of these is the case.  Some
   examples of In-Path MIDCOM agents are application proxies, gateways,
   or even end-hosts that are party to the application.

   Agents not resident on nodes that are within the path of their
   relevant application flows are referred to as "Out-of-Path (OOP)
   MIDCOM agents" and are out of the scope of this document.

2.9. MIDCOM PDP

   MIDCOM Policy Decision Point (PDP) is primarily a Policy Decision
   Point(PDP), as defined in [POL-TERM]; and also acts as a policy
   repository, holding MIDCOM related policy profiles in order to make
   authorization decisions.  [POL-TERM] defines a PDP as "a logical
   entity that makes policy decisions for itself or for other network
   elements that request such decisions"; and a policy repository as "a
   specific data store that holds policy rules, their conditions and
   actions, and related policy data".

   A middlebox and a MIDCOM PDP may communicate further if the MIDCOM
   PDP's policy changes or if a middlebox needs further information.
   The MIDCOM PDP may, at anytime, notify the middlebox to terminate
   authorization for an agent.

   The protocol facilitating the communication between a middlebox and
   MIDCOM PDP need not be part of the MIDCOM protocol.  Section 6 in the
   document addresses the MIDCOM PDP interface and protocol framework
   independent of the MIDCOM framework.

   Application specific policy data and policy interface between an
   agent or application endpoint and a MIDCOM PDP is out of bounds for
   this document.  The MIDCOM PDP issues addressed in the document are
   focused at an aggregate domain level as befitting the middlebox.  For
   example, a SIP MIDCOM agent may choose to query a MIDCOM PDP for the
   administrative (or corporate) domain to find whether a certain user
   is allowed to make an outgoing call.  This type of application



Srisuresh, et al.            Informational                      [Page 6]

RFC 3303           MIDCOM Architecture and Framework         August 2002


   specific policy data, as befitting an end user, is out of bounds for
   the MIDCOM PDP considered in this document.  It is within bounds,
   however, for the MIDCOM PDP to specify the specific end-user
   applications (or tuples) for which an agent is permitted to be an
   ALG.

2.10. Middlebox Communication (MIDCOM) protocol

   The protocol between a MIDCOM agent and a middlebox allows the MIDCOM
   agent to invoke services of the middlebox and allow the middlebox to
   delegate application specific processing to the MIDCOM agent.  The
   MIDCOM protocol allows the middlebox to perform its operation with
   the aid of MIDCOM agents, without resorting to embedding application
   intelligence.  The principal motivation behind architecting this
   protocol is to enable complex applications through middleboxes,
   seamlessly using a trusted third party, i.e., a MIDCOM agent.

   This is a protocol yet to be devised.

2.11. MIDCOM agent registration

   A MIDCOM agent registration is defined as the process of provisioning
   agent profile information with the middlebox or a MIDCOM PDP.  MIDCOM
   agent registration is often a manual operation performed by an
   operator rather than the agent itself.

   A MIDCOM agent profile may include agent authorization policy (i.e.,
   session tuples for which the agent is authorized to act as ALG),
   agent-hosting-entity (e.g., Proxy, Gateway, or end-host which hosts
   the agent), agent accessibility profile (including any host level
   authentication information), and security profile  (for the messages
   exchanged between the middlebox and the agent).

2.12. MIDCOM session

   A MIDCOM session is defined to be a lasting association between a
   MIDCOM agent and a middlebox.  The MIDCOM session is not assumed to
   imply any specific transport layer protocol.  Specifically, this
   should not be construed as referring to a connection-oriented TCP
   protocol.

2.13. Filter

   A filter is packet matching information that identifies a set of
   packets to be treated a certain way by a middlebox.  This definition
   is consistent with [POL-TERM], which defines a filter as "A set of





Srisuresh, et al.            Informational                      [Page 7]

RFC 3303           MIDCOM Architecture and Framework         August 2002


   terms and/or criteria used for the purpose of separating or
   categorizing.  This is accomplished via single- or multi-field
   matching of traffic header and/or payload data".

   5-Tuple specification of packets in the case of a firewall and 5-
   tuple specification of a session in the case of a NAT middlebox
   function are examples of a filter.

2.14. Policy action (or) Action

   Policy action (or Action) is a description of the middlebox
   treatment/service to be applied to a set of packets.  This definition
   is consistent with  [POL-TERM], which defines a policy action as
   "Definition of what is to be done to enforce a policy rule, when the
   conditions of the rule are met.  Policy actions may result in the
   execution of one or more operations to affect and/or configure
   network traffic and network resources".

   NAT Address-BIND (or Port-BIND in the case of NAPT) and firewall
   permit/deny action are examples of an Action.

2.15. Policy rule(s)

   The combination of one or more filters and one or more actions.
   Packets matching a filter are to be treated as specified by the
   associated action(s).  The Policy rules may also contain auxiliary
   attributes such as individual rule type, timeout values, creating
   agent, etc.

   Policy rules are communicated through the MIDCOM protocol.

3.0 Architectural framework for middleboxes

   A middlebox may implement one or more of the middlebox functions
   selectively on multiple interfaces of the device.  There can be a
   variety of MIDCOM agents interfacing with the middlebox to
   communicate with one or more of the middlebox functions on an
   interface.  As such, the middlebox communication protocol must allow
   for selective communication between a specific MIDCOM agent and one
   or more middlebox functions on the interface.  The following diagram
   identifies a possible layering of the service supported by a
   middlebox and a list of MIDCOM agents that might interact with it.









Srisuresh, et al.            Informational                      [Page 8]

RFC 3303           MIDCOM Architecture and Framework         August 2002


               +---------------+  +--------------+
               | MIDCOM agent  |  | MIDCOM agent |
               | co-resident on|  | co-resident  |
               | Proxy Server  |  | on Appl. GW  |
               +---------------+  +--------------+
                          ^           ^
                          |           |                     +--------+
                 MIDCOM   |           |                     | MIDCOM |
                 Protocol |           |                   +-|  PDP   |
                          |           |                  /  +--------+
     +-------------+      |           |                 /
     | MIDCOM agent|      |           |                /
     | co-resident |      |           |               /
     | on End-hosts|<-+   |           |              /
     +-------------+  |   |           |              |
                      v   v           v              v
                +-------------------------------------------+
                |  Middlebox Communication      |Policy     |
                |  Protocol (MIDCOM) Interface  |Interface  |
                +----------+--------+-----------+-----------+
     Middlebox  |          |        |           |           |
     Functions  | Firewall |  NAT   |   VPN     | Intrusion |
                |          |        | tunneling | Detection |
                +----------+--------+-----------+-----------+
     Middlebox  | Middlebox function specific policy rule(s)|
     Managed    | and other attributes                      |
     Resources  |                                           |
                +-------------------------------------------+

          Figure 1: MIDCOM agents interfacing with a middlebox

   Firewall ACLs, NAT-BINDs, NAT address-maps and Session-state are a
   few of the middlebox function specific policy rules.  A session state
   may include middlebox function specific attributes, such as timeout
   values, NAT translation parameters (i.e., NAT-BINDS), and so forth.
   As Session-state may be shared across middlebox functions, a
   Session-state may be created by a function, and terminated by a
   different function.  For example, a session-state may be created by
   the firewall function, but terminated by the NAT function, when a
   session timer expires.

   Application specific MIDCOM agents (co-resident on the middlebox or
   external to the middlebox) would examine the IP datagrams and help
   identify the application the datagram belongs to, and assist the
   middlebox in performing functions unique to the application and the
   middlebox service.  For example, a MIDCOM agent, assisting a NAT
   middlebox, might perform payload translations, whereas a MIDCOM agent




Srisuresh, et al.            Informational                      [Page 9]

RFC 3303           MIDCOM Architecture and Framework         August 2002


   assisting a firewall middlebox might request the firewall to permit
   access to application specific, dynamically generated, session
   traffic.

⌨️ 快捷键说明

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