WO2023162146A1 - 通信装置、通信方法、及びプログラム - Google Patents

通信装置、通信方法、及びプログラム Download PDF

Info

Publication number
WO2023162146A1
WO2023162146A1 PCT/JP2022/007918 JP2022007918W WO2023162146A1 WO 2023162146 A1 WO2023162146 A1 WO 2023162146A1 JP 2022007918 W JP2022007918 W JP 2022007918W WO 2023162146 A1 WO2023162146 A1 WO 2023162146A1
Authority
WO
WIPO (PCT)
Prior art keywords
conversion
packet
information
communication
address
Prior art date
Application number
PCT/JP2022/007918
Other languages
English (en)
French (fr)
Inventor
克真 宮本
伸也 河野
浩輝 加納
幸司 杉園
Original Assignee
日本電信電話株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電信電話株式会社 filed Critical 日本電信電話株式会社
Priority to PCT/JP2022/007918 priority Critical patent/WO2023162146A1/ja
Publication of WO2023162146A1 publication Critical patent/WO2023162146A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing

Definitions

  • the present invention relates to a communication device that performs packet communication.
  • a configuration in which a packet sent from a terminal is forwarded to an external server by a GW (gateway) is widely used as a form of communication.
  • the above GW generally has a NAPT (Network Address Port Translation) function.
  • the GW provided with the NAPT function is called a NAT-GW.
  • NAPT processing may be called "address translation”.
  • a GW (referred to as VAS-GW) that provides value added services (VAS) such as packet filtering may be provided between the NAT-GW and the external server.
  • VAS-GW generally performs value-added service processing based on the 5tuple of the packet.
  • Juniper NETWORKS "Network Address Port Translation," 17,Feb,2021. https://www.juniper.net/documentation/us/en/software/junos/interfaces-adaptive-services/topics/topic-map/network- address-port-translation.html
  • the value-added service policy rules held by the VAS-GW are written based on the address information before address translation for packets. Therefore, the VAS-GW cannot determine whether or not to apply the rules of the value-added service policy to packets whose addresses have been translated by the NAT-GW in the preceding stage.
  • the present invention has been made in view of the above points.
  • the purpose is to provide technology that can be applied.
  • a communication device that performs packet communication, a data store holding value-added service policy rules; a transmitting unit that inquires conversion information including information before address conversion to a conversion device that performs address conversion; a receiving unit that receives the conversion information from the conversion device; a control unit that uses the conversion information to determine whether to apply the rule to a packet after address conversion received from the conversion device;
  • FIG. 1 is a diagram showing a basic system configuration; FIG. It is a figure for explaining a problem. BRIEF DESCRIPTION OF THE DRAWINGS It is a figure for demonstrating the outline
  • FIG. 4 is a diagram for explaining method 1;
  • FIG. 11 is a diagram for explaining method 2;
  • FIG. 11 is a diagram for explaining method 3;
  • 2 is a diagram for explaining a configuration example of a communication device;
  • FIG. 1 shows an example of the system configuration.
  • FIG. 1 (and FIG. 2) show an example of a configuration without the function according to the present invention in order to explain the problem. 1 and 2 are not known figures.
  • this system includes a GW 10, a VAS-GW (value added service gateway) 20, and a server 30, and UEs (user equipment) 1 to 3 are connected to the GW 10.
  • the devices are connected by a wired or wireless network, and communication is possible as shown.
  • a UE is a device that sends and receives packet communications.
  • UE is, for example, a PC, a smart phone, an IoT device, or the like.
  • a UE may also be referred to as a terminal.
  • the GW 10 may be any device as long as it is a network device that processes packets.
  • the GW 10 has network functions such as L2/L3 transfer, firewall, VPN connection, DPI, and proxy.
  • GW 10 may be called a communication device.
  • the GW 10 may be an S-GW or P-GW in EPC, a UPF in 5GC, a base station (eNodeB, gNodeB, etc.), a router, a switch, or the like. Also, the GW 10 may be a physical device or a virtual device.
  • VAS-GW 20 differs from GW 10 in that it has the function of providing value-added services.
  • UE1 to 3 are connected to GW10 and communicate with server 30 connected ahead.
  • the server 30 is, for example, an application server.
  • a VAS-GW 20 is installed between the GW 10 and the server 30 .
  • the VAS-GW 20 provides, for example, the following value-added services for user communications.
  • the VAS-GW 20 looks at the packet header (5tuple, etc.) of the received packet and determines whether or not the packet needs to be processed.
  • the 5tuple is a source IP address, a source port number, a destination IP address, a destination port number, and a protocol number.
  • VAS-GW 20 holds a value-added service policy (table) for filtering as shown in FIG.
  • table As shown in the value-added service policy, by having rules for each UE in the value-added service policy, it is possible to perform various processes on user traffic.
  • NAPT Network Address Port Translation
  • GW 10 here, NAT-GW 10
  • NAPT processing may be called address translation.
  • NAPT also includes the operation of performing only address translation without port number translation.
  • VAS-GW 20 receives a packet in which UE's 5tuple is converted from NAT-GW 10, so the UE identification is and prevent the correct operation of value-added services.
  • the address of the UE is hidden, filtering for each UE may not be possible, or anomaly detection may result in erroneous detection due to session switching.
  • GWs general routers
  • problems such as exhaustion of port numbers are expected.
  • FIG. 3 shows a system configuration example in this embodiment.
  • the system configuration shown in FIG. 3 is basically the same as the configuration shown in FIG. 1 or FIG.
  • the NAT-GW 100 and VAS-GW 200 correspond to the GW described in FIGS. 1 and 2 with the functions of the present invention added.
  • the NAT-GW 100 may be called a conversion device, and the VAS-GW 200 may be called a value-added service providing device. Both NAT-GW 100 and VAS-GW 200 may be called communication devices.
  • the NAT-GW 100 that notifies the session information
  • the radius server, DHCP server, 4G / 5G core function Any device such as a unit (SMF, AMF, etc.) that can recognize the session state related to NAT conversion may be used.
  • the NAT-GW 100 may be a home gateway for home use, a CPE, or the like.
  • VAS-GW 200 identifies UE information by acquiring NAPT session information from NAT-GW 200 .
  • NAPT rules for IP addresses, port numbers, etc. are held as NAPT rules, and when a communication that matches this NAPT rule occurs, a NAPT session is generated, and the IP address or the IP address of the communication that matches the session occurs. Port number translation is done. Information about the session is session information. You may call session information conversion information.
  • VAS-GW 200 can perform packet processing related to value-added services based on the information before conversion. Become.
  • the session information passed from NAT-GW 100 to VAS-GW 200 is, for example, "5 tuples before conversion and 5 tuples after conversion”. Also, the session information may be "a part of 5 tuples before conversion and a part of 5 tuples after conversion”. Also, the session information may be "5 tuples before conversion” or "part of 5 tuples before conversion”.
  • the session information passed from the NAT-GW 100 to the VAS-GW 200 includes "source IP address and source port number before conversion and source IP address and source port number after conversion” or "before conversion source IP address and source port number of ".
  • Method 1 (Pull type): When VAS-GW 200 receives a new 5-tuple packet from NAT-GW 100, VAS-GW 200 inquires of NAT-GW 100 about session information.
  • Method 2 (Push type): NAT-GW 100 notifies session information to VAS-GW 200 after each NAPT conversion.
  • Method 3 header embedded type: NAT-GW 100 embeds the IP address and port number before conversion in the option header of the IP header and transmits the packet.
  • Method 1 Pull type
  • VAS-GW 200 receives packets of a new session from NAT-GW 100 .
  • VAS-GW200 inquires session information to NAT-GW100. Inquiring for session information may be sending a request for session information.
  • NAT-GW100 sends session information to VAS-GW200.
  • VAS-GW 200 receives the session information.
  • VAS-GW 200 When VAS-GW 200 receives a packet of a new session from NAT-GW 100, for example, a packet with 5 tuples of "A, B, X, Y, E", VAS-GW 200 responds to NAT-GW 100 with "A, B, X, Y, E" session information.
  • the NAT-GW 100 tells the VAS-GW 200 that, for example, the 5 tuples before NAPT conversion of "A, B, X, Y, E" are "A', B', X, Y, E". Information indicating that is returned as session information.
  • the VAS-GW 200 can perform filtering for sessions "A, B, X, Y, E” using, for example, a filtering rule whose source IP address is "A'".
  • the VAS-GW 200 may make inquiries in all new sessions, but in that case, the processing amount of the NAT-GW 100 may increase.
  • the VAS-GW 200 may make an inquiry only when "a packet of a new session is received" and "the session is communication related to the policy of the VAS.” This can prevent unnecessary inquiries from occurring.
  • the VAS-GW 200 compares the 5 tuples of the session with the retained VAS policy (table information), If there is at least one piece of information that matches the VAS policy in , it can be determined that the session is communication related to the policy of the VAS.
  • packets are transmitted from the NAT-GW 100 to the VAS-GW 200 even during session information inquiry processing.
  • the VAS-GW 200 holds packets received during session information inquiry processing in a buffer, and processes the packets held in the buffer after acquiring the session information.
  • VAS-GW 200 retain packets in the buffer at the time of the TCP 3-way handshake. This is because after the TCP 3-way handshake, data transmission is started through the established connection, so buffer overflow may occur due to a large amount of packets from the UE during inquiry processing. Buffer overflow can be prevented by retaining packets in the buffer at the time of the TCP 3-way handshake.
  • Method 2 Push type
  • the processing of method 2 will be described with reference to FIG.
  • the NAT-GW 100 performs NAPT conversion on the packet received from the UE, and notifies the session information to the VAS-GW 200 in S201 immediately before transferring the NAPT-converted packet to the VAS-GW 200 .
  • the NAT-GW 100 receives a packet whose 5tuple is "A', B', C, D, E" from the UE, and converts "A', B', C, D, E” by NAPT conversion. Suppose it is converted to "A, B, C, D, E". At this time, before packet transfer, the NAT-GW 100 transmits information indicating that "A, B, C, D, E” before conversion is "A', B', C, D, E” as session information. to the VAS-GW 200. After that, NAT-GW 100 transmits packets of “A, B, C, D, E” in the session to VAS-GW 200 .
  • VAS-GW 200 uses, for example, a filtering rule whose source IP address is "A'" for packets "A, B, C, D, E". filtering can be performed.
  • Transmission of session information from NAT-GW 100 to VAS-GW 200 is only required when transmitting the first packet of a certain session. After that, during the period during which the session continues, the VAS-GW 200 can use the session information to determine the application of the value-added service policy. In method 2, since there is no inquiry, the communication delay can be made smaller than in method 1.
  • Method 3 Header embedded type
  • the processing of method 3 will be described with reference to FIG.
  • the NAT-GW 100 performs NAPT conversion on packets received from the UE.
  • the conversion is performed on a pair of a packet source IP address and source port number (IP address/port number).
  • the NAT-GW 100 embeds the pre-translation IP address and port number in the IP header (specifically, option header) of the post-translation packet, and in S301 embeds the pre-translation IP address and port number. packet to VAS-GW200.
  • the NAT-GW 100 receives a packet whose 5tuple is "A', B', C, D, E" from the UE, and converts "A', B', C, D, E” by NAPT conversion. Suppose it is converted to "A, B, C, D, E".
  • the NAT-GW 100 embeds "A', B'” in the NAPT-converted packet, and transmits the packet with "A', B'” embedded to the VAS-GW 200.
  • VAS-GW 200 based on "A', B'” embedded in the packet received from NAT-GW 100, for packets "A, B, C, D, E", for example, the source IP address is 'A''.
  • the packet in which the IP address and port number before conversion are to be embedded may be only the first packet of the session, or may be all subsequent packets of the session. Also, the VAS-GW 200 may delete the option header in which the pre-conversion information is embedded. This makes it possible to hide the UE that is the transmission source.
  • FIG. 7 is a configuration diagram showing the functional configuration of communication device 300 corresponding to NAT-GW 100 or VAS-GW 200. As shown in FIG.
  • the communication device 300 includes a transmitting unit 310 for transmitting packets, a receiving unit 320 for receiving packets, a control unit 330 for processing packets, and a data storage unit 340 for storing various data. include.
  • the data storage unit 340 stores the value-added service policy rules.
  • the transmitting unit 310 inquires of the NAT-GW 100 about conversion information including information before address conversion, and the receiving unit 320 receives the conversion information from the NAT-GW 100 .
  • the control unit 330 uses the conversion information to determine whether or not to apply the rule of the value-added service policy to the packet after address conversion received from the NAT-GW 100 .
  • the control unit 330 performs address conversion on the received packet and generates conversion information including information before address conversion.
  • Transmitter 310 transmits the conversion information to VAS-GW 200 , and after transmitting the conversion information, transmits the packet after address conversion to VAS-GW 200 .
  • the control unit 330 performs address conversion on the received packet, and embeds conversion information including information before address conversion in the packet after address conversion. .
  • the transmission unit 310 transmits the packet embedded with the conversion information to the VAS-GW 200 .
  • the communication device 300 which corresponds to the NAT-GW 100 or VAS-GW 200, can be realized using, for example, a dedicated hardware circuit, or can be realized by causing a computer to execute a program.
  • This computer may be a physical computer or a virtual machine on the cloud.
  • the communication device 300 can be realized by executing a program corresponding to the processing performed by the communication device 300 using hardware resources such as a CPU and memory built into the computer.
  • the above program can be recorded in a computer-readable recording medium (portable memory, etc.), saved, or distributed. It is also possible to provide the above program through a network such as the Internet or e-mail.
  • FIG. 8 is a diagram showing a hardware configuration example of the computer.
  • the computer of FIG. 8 has a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, etc., which are interconnected by a bus BS.
  • a program that implements the processing in the computer is provided by a recording medium 1001 such as a CD-ROM or memory card, for example.
  • a recording medium 1001 such as a CD-ROM or memory card
  • the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000 .
  • the program does not necessarily need to be installed from the recording medium 1001, and may be downloaded from another computer via the network.
  • the auxiliary storage device 1002 stores installed programs, as well as necessary files and data.
  • the memory device 1003 reads and stores the program from the auxiliary storage device 1002 when a program activation instruction is received.
  • the CPU 1004 implements functions related to the communication device 300 according to programs stored in the memory device 1003 .
  • the interface device 1005 is used as an interface for connecting to the network.
  • a display device 1006 displays a GUI (Graphical User Interface) or the like by a program.
  • An input device 1007 is composed of a keyboard, a mouse, buttons, a touch panel, or the like, and is used to input various operational instructions.
  • the output device 1008 outputs the calculation result.
  • the technology according to the present embodiment makes it possible to appropriately apply rules related to value-added services even when a device that performs address translation is provided in front of a device that provides value-added services in packet communications. Become.
  • (Appendix) Regarding the above embodiments, the following additional items are disclosed.
  • (Appendix 1) a memory holding rules for value-added service policies; at least one processor connected to the memory; including The processor Inquires about conversion information including information before address conversion to the conversion device that performs address conversion, receiving the conversion information from the conversion device; determining whether to apply the rule to a packet after address translation received from the translation device by using the translation information; Communication device.
  • communication device. (Appendix 3) memory; at least one processor connected to the memory; including The processor performing address translation on a received packet, embedding translation information including information before address translation into the packet after address translation, A communication device that transmits the packet in which the conversion information is embedded to a value-added service providing device that provides a value-added service using the information before address conversion.
  • (Appendix 4) A communication method executed by a computer functioning as a communication device that performs packet communication and has a data storage unit that holds rules of a value-added service policy, inquiring about conversion information including information before address conversion to a conversion device that performs address conversion; receiving the conversion information from the conversion device; determining whether or not to apply the rule to a packet after address translation received from the translation device by using the translation information;
  • a communication method comprising: (Appendix 5) A communication method executed by a computer functioning as a communication device for packet communication, performing address translation on the received packet to generate translation information including information before address translation; Transmitting the conversion information to a value-added service providing device that provides a value-added service using information before address conversion, and after transmitting the conversion information, transmitting the packet after address conversion to the value-added service providing device.
  • a method of communication comprising the steps of: (Appendix 6) A communication method executed by a computer functioning as a communication device for packet communication, a step of performing address translation on a received packet and embedding translation information including information before address translation into the packet after address translation; and transmitting the packet in which the conversion information is embedded to a value-added service providing device that provides a value-added service using the information before address conversion. (Appendix 7) A non-temporary storage medium storing a program that causes a computer to execute each process in the communication device according to any one of additional items 1 to 3.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

パケット通信を行う通信装置において、付加価値サービスポリシのルールを保持するデータ格納部と、アドレス変換を行う変換装置に対して、アドレス変換前の情報を含む変換情報を問い合わせる送信部と、前記変換情報を前記変換装置から受信する受信部と、前記変換情報を用いることにより、前記変換装置から受信したアドレス変換後のパケットに対して前記ルールを適用するか否かを判断する制御部と、を備える。

Description

通信装置、通信方法、及びプログラム
 本発明は、パケット通信を行う通信装置に関するものである。
 端末から送信されたパケットを、GW(ゲートウェイ)により外部サーバに向けて転送する構成が通信形態として広く用いられている。上記のGWにおいては、一般にNAPT(Network Address Port Translation)機能が備えられる。NAPT機能が備えられた上記GWをNAT-GWと呼ぶ。なお、NAPTの処理を「アドレス変換」と呼んでもよい。
 NAT-GWと外部サーバとの間に、パケットフィルタリング等の付加価値サービス(VAS:value added service)を提供するGW(VAS-GWと呼ぶ)が備えられる場合がある。VAS-GWは、一般的にパケットの5tupleに基づいて付加価値サービスに係る処理を実行する。
Juniper NETWORKS, "Network Address Port Translation," 17,Feb,2021. https://www.juniper.net/documentation/us/en/software/junos/interfaces-adaptive-services/topics/topic-map/network-address-port-translation.html
 VAS-GWが保持する付加価値サービスポリシのルールは、パケットに対するアドレス変換前のアドレス情報に基づいて記述されている。そのため、VAS-GWは、その前段のNAT-GWによりアドレス変換がなされたパケットに対して、付加価値サービスポリシのルールを適用すべきか否かを判断することができなくなる。
 本発明は上記の点に鑑みてなされたものであり、パケット通信において、付加価値サービスを提供する装置の前段に、アドレス変換を行う装置が備えられる場合でも、付加価値サービスに係るルールを適切に適用することを可能とする技術を提供することを目的とする。
 開示の技術によれば、パケット通信を行う通信装置であって、
 付加価値サービスポリシのルールを保持するデータ格納部と、
 アドレス変換を行う変換装置に対して、アドレス変換前の情報を含む変換情報を問い合わせる送信部と、
 前記変換情報を前記変換装置から受信する受信部と、
 前記変換情報を用いることにより、前記変換装置から受信したアドレス変換後のパケットに対して前記ルールを適用するか否かを判断する制御部と、
 を備える通信装置が提供される。
 開示の技術によれば、パケット通信において、付加価値サービスを提供する装置の前段に、アドレス変換を行う装置が備えられる場合でも、付加価値サービスに係るルールを適切に適用することを可能とする技術が提供される。
基本的なシステム構成を示す図である。 課題を説明するための図である。 実施の形態の概要を説明するための図である。 方式1を説明するための図である。 方式2を説明するための図である。 方式3を説明するための図である。 通信装置の構成例を説明するための図である。 装置のハードウェア構成例を示す図である。
 以下、図面を参照して本発明の実施の形態(本実施の形態)を説明する。以下で説明する実施の形態は一例に過ぎず、本発明が適用される実施の形態は、以下の実施の形態に限られるわけではない。
 (基本的な構成)
 まず、本実施の形態に関連する基本的なシステムの構成と動作について説明し、その後に課題を説明する。
 図1にシステムの構成例を示す。図1(及び図2)は、課題を説明するために、本発明に係る機能を備えない構成の例を示している。なお、図1及び図2は公知の図ではない。
 図1に示すように、本システムには、GW10、VAS-GW(value added service - gateway)20、及びサーバ30が備えられ、UE(user equipment)1~3がGW10に接続されている。また、装置間は、有線又は無線のネットワークで接続されおり、図示のように通信が可能である。
 UEはパケット通信の発着信を行う装置(デバイス)である。UEは、例えば、PC、スマートフォン、IoTデバイス等である。UEを端末と呼んでもよい。
 GW10は、パケットを処理するネットワーク装置であればどのような装置であってもよい。GW10は、L2/L3転送、ファイヤウォール、VPN接続、DPI、プロキシ等のネットワーク機能を有する。GW10を通信装置と呼んでもよい。
 GW10は、EPCにおけるS-GWやP-GW、5GCにおけるUPF、基地局(eNodeBやgNodeB等)、ルータ、スイッチ等であってもよい。また、GW10は、物理装置であってもよいし、仮想装置であってもよい。
 上記のGW10に関して説明した内容は、VAS-GW20にもあてはまる。VAS-GW20は、付加価値サービスを提供する機能を有する点がGW10と異なる。
 図1において、UE1~3がGW10に接続され、その先に接続されるサーバ30と通信を行う。サーバ30は、例えばアプリケーションサーバである。GW10とサーバ30との間にVAS-GW20が設置される。VAS-GW20は、ユーザ通信に対して例えば下記に示す付加価値サービスを提供する。
 ・パケットフィルタリング
 ・QoS制御(特定のUE・特定のポートからの通信を優先する等)
 ・通信の異常検知(アノマリ)
 ・ポリシーベースルーティング
 これらの処理において、VAS-GW20は、受信したパケットのパケットヘッダ(5tuple等)を見て、そのパケットに対する処理の要否を判定する。なお、5tupleとは、送信元IPアドレス、送信元ポート番号、宛先IPアドレス、宛先ポート番号、プロトコル番号である。
 一例として、VAS-GW20は、図1に示すような、フィルタリングのための付加価値サービスポリシ(テーブル)を保持する。当該付加価値サービスポリシに示されるとおり、付加価値サービスポリシにおいて、UE毎にルールを持つことで、ユーザトラフィックに対して様々な処理を行うことが可能である。
 (課題について)
 例えば大量のUEが接続される構成では、図2に示すように、GW10(ここではNAT-GW10)においてNAPT(Network Address Port Translation)を行うことで、UEのアドレスの隠蔽やグローバルIPアドレスの節約を実現することができる。なお、NAPTの処理をアドレス変換と呼んでもよい。また、「NAPT」は、ポート番号の変換を行わずに、アドレス変換のみを行う動作も含む。
 しかし、VAS-GW20よりも前段のNAT-GW10(ルータ等)でNAPT処理がされる場合、VAS-GW20は、UEの5tupleが変換されたパケットをNAT-GW10から受信するので、UEの識別ができなくなり、付加価値サービスの正しい動作ができなくなる。具体的には、図2に示すとおり、例えば、UEのアドレスが隠蔽され、UEごとのフィルタリングができなくなったり、セッション切り替わりでアノマリ検知が誤検知となったりする可能性がある。
 既存技術として、一般的なルータ(GW)にはstaticに変換ルールを指定する機能はあり、これにより事前に変換ルールを設定しておくことはできる。しかし、UEのアドレスやセッションは動的に増減するため、ポート番号の枯渇等の課題が想定される。
 (実施の形態の技術について)
 以下、本実施の形態に係る技術について説明する。図3に、本実施の形態におけるシステム構成例を示す。図3に示すシステム構成は基本的には図1あるいは図2に示した構成と同じである。NAT-GW100及びVAS-GW200は、図1、図2で説明したGWに、本発明に係る機能を付加したものに相当する。
 NAT-GW100を変換装置と呼び、VAS-GW200を付加価値サービス提供装置と呼んでもよい。また、NAT-GW100とVAS-GW200のいずれも通信装置と呼んでもよい。
 なお、セッション情報の通知を行うNAT-GW100に関しては、前述したような、S-GW、P-GW、UPF、基地局、ルータ、スイッチ等の他、radiusサーバやDHCPサーバ、4G/5Gコア機能部(SMF,AMF等)等の、NAT変換に関するセッション状態を認知できる装置であればどのような装置であってもよい。NAT-GW100が、家庭用のホームゲートウェイやCPE等であってもよい。
 本実施の形態におけるシステムにおいて、VAS-GW200は、NAT-GW200からNAPTのセッション情報を取得することで、UEの情報を識別する。
 なお、NAT-GW100において、IPアドレス・ポート番号等の変換ルールがNAPTルールとして保持され、このNAPTルールにマッチする通信が発生するとNAPTのセッションが生成され、当該セッションにマッチする通信のIPアドレスやポート番号の変換が行われる。当該セッションに関する情報がセッション情報である。セッション情報を変換情報と呼んでもよい。
 本実施の形態では、VAS-GW200とNAT-GW100との間でセッション情報を共有することで、VAS-GW200は、変換前の情報を基に付加価値サービスに係るパケット処理を行うことが可能になる。
 NAT-GW100からVAS-GW200に渡されるセッション情報は、例えば、「変換前の5tupleと変換後の5tuple」である。また、セッション情報は、「変換前の5tupleの一部と変換後の5tupleの一部」であってもよい。また、セッション情報は、「変換前の5tuple」あるいは「変換前の5tupleの一部」であってもよい。
 具体的には、NAT-GW100からVAS-GW200に渡されるセッション情報は、「変換前の送信元IPアドレス及び送信元ポート番号と変換後の送信元IPアドレス及び送信元ポート番号」あるいは「変換前の送信元IPアドレス及び送信元ポート番号」であってもよい。
 NAT-GW100からVAS-GW200へセッション情報を渡すための方法のバリエーションとして、下記の3方式がある。
 方式1(Pull型):VAS-GW200がNAT-GW100から新しい5tupleのパケットを受信したら、VAS-GW200がNAT-GW100にセッション情報を問い合わせる。
 方式2(Push型):NAT-GW100がNAPT変換の都度、変換後にVAS-GW200に対してセッション情報を通知する。
 方式3(ヘッダ埋込型):NAT-GW100がIPヘッダのオプションヘッダに変換前のIPアドレスとポート番号を埋め込んで、パケットを送信する。
 以下、それぞれの方式についてより詳細に説明する。
 (方式1:Pull型)
 図4を参照して、方式1の処理手順を説明する。VAS-GW200がNAT-GW100から新しいセッションのパケットを受信したとする。
 S101において、VAS-GW200は、NAT-GW100に対してセッション情報を問い合わせる。セッション情報を問い合わせるとは、セッション情報の要求を送信することであってもよい。
 S102において、NAT-GW100はVAS-GW200にセッション情報を送信する。VAS-GW200は、当該セッション情報を受信する。
 例えば、新しいセッションが開始する前の旧セッションのアドレス変換後の5tupleが「送信元IPアドレス、送信元ポート番号、宛先IPアドレス、宛先ポート番号、プロトコル番号」=「A、B、C、D、E」であるとする。
 VAS-GW200がNAT-GW100から新しいセッションのパケットとして、例えば、5tupleが「A、B、X、Y、E」であるパケットを受信すると、VAS-GW200はNAT-GW100に対して、「A、B、X、Y、E」のセッション情報を問い合わせる。
 この問い合わせに対して、NAT-GW100はVAS-GW200に対して、例えば、「A、B、X、Y、E」のNAPT変換前の5tupleは「A´、B´、X、Y、E」であることを示す情報をセッション情報として返す。これにより、VAS-GW200は、「A、B、X、Y、E」のセッションに対して、例えば、送信元IPアドレスが「A´」であるフィルタリングルールを使用したフィルタリングを実行できる。
 方式1において、VAS-GW200は、全ての新規セッションで問い合わせを行ってもよいが、その場合、NAT-GW100の処理量が多くなる可能性がある。
 そこで、VAS-GW200は、「新しいセッションのパケットを受信し」かつ「そのセッションがVASのポリシに関連する通信の場合」にのみ問い合わせを実施することとしてもよい。これにより不必要な問い合わせを発生させないことができる。
 セッションがVASのポリシに関連する通信であるか否かの判断については、例えば、VAS-GW200は、当該セッションの5tupleと保持しているVASポリシ(テーブル情報)とを比較して、5tupleの中でVASポリシにマッチする情報が少なくとも1つある場合に、セッションがVASのポリシに関連する通信であると判断することができる。
 また、方式1において、セッション情報の問い合わせ処理中においても、NAT-GW100からVAS-GW200に対してパケットは送信される。VAS-GW200はセッション情報の問い合わせ処理中に受信したパケットはバッファに保持しておき、セッション情報を取得後、バッファに保持したパケットの処理を行う。
 セッション情報の問い合わせ処理中における受信パケットのバッファ保持に関しては、VAS-GW200は、TCPの3way ハンドシェイクの時点でパケットをバッファに保持しておくことが望ましい。TCPの3way ハンドシェイク後では、確立したコネクションによりデータ送信が開始されるため、問い合わせ処理中のUEからの大量パケットによるバッファ溢れが生じる可能性があるためである。TCPの3way ハンドシェイクの時点でパケットをバッファに保持することで、バッファ溢れを防止できる。
 (方式2:Push型)
 図5を参照して、方式2の処理を説明する。NAT-GW100は、UEから受信したパケットに対してNAPT変換を行い、NAPT変換後のパケットをVAS-GW200へ転送する直前に、S201において、セッション情報をVAS-GW200に通知する。
 一例として、NAT-GW100が、5tupleが「A´、B´、C、D、E」であるパケットをUEから受信し、NAPT変換により、「A´、B´、C、D、E」を「A、B、C、D、E」に変換したとする。このとき、パケット転送前に、NAT-GW100は、「A、B、C、D、E」の変換前は「A´、B´、C、D、E」であることを示す情報をセッション情報としてVAS-GW200に送信する。その後、NAT-GW100は、当該セッションにおける「A、B、C、D、E」のパケットをVAS-GW200に送信する。
 VAS-GW200は、NAT-GW100から受信したセッション情報に基づき、「A、B、C、D、E」のパケットに対して、例えば、送信元IPアドレスが「A´」であるフィルタリングルールを使用したフィルタリングを実行できる。
 NAT-GW100からVAS-GW200へのセッション情報の送信は、あるセッションの初回のパケット送信時のみでよい。その後、そのセッションが継続する期間において、VAS-GW200は、そのセッション情報を用いて、付加価値サービスポリシの適用判断を実施できる。方式2では、問い合わせがないので、方式1よりも通信遅延を小さくすることができる。
 (方式3:ヘッダ埋込型)
 図6を参照して、方式3の処理を説明する。NAT-GW100がUEから受信したパケットに対してNAPT変換を行う。ここでは、例として、パケットの送信元のIPアドレスと送信元のポート番号の組(IPアドレス・ポート番号)に対して変換が行われるとする。
 NAT-GW100は、変換前のIPアドレス・ポート番号を、変換後のパケットのIPヘッダ(具体的にはオプションヘッダ)に埋め込み、S301において、変換前のIPアドレス・ポート番号を埋め込んだ、変換後のパケットをVAS-GW200に送信する。
 一例として、NAT-GW100が、5tupleが「A´、B´、C、D、E」であるパケットをUEから受信し、NAPT変換により、「A´、B´、C、D、E」を「A、B、C、D、E」に変換したとする。
 このとき、NAT-GW100は、NAPT変換後のパケットに、「A´、B´」を埋め込み、「A´、B´」を埋め込み済みのパケットをVAS-GW200に送信する。VAS-GW200は、NAT-GW100から受信したパケットに埋め込まれている「A´、B´」に基づき、「A、B、C、D、E」のパケットに対して、例えば、送信元IPアドレスが「A´」であるフィルタリングルールを使用したフィルタリングを実行できる。
 あるセッションにおいて、変換前のIPアドレス・ポート番号を埋め込む対象とするパケットは、そのセッションの最初のパケットのみでもよいし、そのセッションにおけるその後の通信すべてのパケットでもよい。また、VAS-GW200では、変換前の情報が埋め込まれたオプションヘッダを削除することとしてもよい。これにより、送信元のUEを隠蔽することができる。
 (装置構成例)
 図7は、NAT-GW100あるいはVAS-GW200に相当する通信装置300の機能構成を示した構成図である。
 図7に示すように、通信装置300は、パケット送信を行う送信部310、パケット受信を行う受信部320、パケットに対する処理等を行う制御部330、及び各種のデータを格納するデータ格納部340を含む。
 通信装置300が方式1のVAS-GW200として動作する場合において、データ格納部340は、付加価値サービスポリシのルールを格納する。送信部310は、NAT-GW100に対して、アドレス変換前の情報を含む変換情報を問い合わせ、受信部320は、変換情報をNAT-GW100から受信する。制御部330は、変換情報を用いることにより、NAT-GW100から受信したアドレス変換後のパケットに対して付加価値サービスポリシのルールを適用するか否かを判断する。
 通信装置300が方式2のNAT-GW100として動作する場合において、制御部330は、受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を生成する。送信部310は、VAS-GW200に変換情報を送信し、変換情報の送信後に、アドレス変換後のパケットをVAS-GW200に送信する。
 通信装置300が方式3のNAT-GW100として動作する場合において、制御部330は、受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を、アドレス変換後のパケットに埋め込む。送信部310は、変換情報を埋め込んだパケットを、VAS-GW200に送信する。
 (ハードウェア構成例)
 NAT-GW100あるいはVAS-GW200に相当する通信装置300は、例えば、専用のハードウェア回路を用いて実現することもできるし、コンピュータにプログラムを実行させることにより実現することも可能である。このコンピュータは、物理的なコンピュータであってもよいし、クラウド上の仮想マシンであってもよい。
 すなわち、通信装置300は、コンピュータに内蔵されるCPUやメモリ等のハードウェア資源を用いて、通信装置300で実施される処理に対応するプログラムを実行することによって実現することが可能である。上記プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、上記プログラムをインターネットや電子メール等、ネットワークを通して提供することも可能である。
 図8は、上記コンピュータのハードウェア構成例を示す図である。図8のコンピュータは、それぞれバスBSで相互に接続されているドライブ装置1000、補助記憶装置1002、メモリ装置1003、CPU1004、インタフェース装置1005、表示装置1006、入力装置1007、出力装置1008等を有する。
 当該コンピュータでの処理を実現するプログラムは、例えば、CD-ROM又はメモリカード等の記録媒体1001によって提供される。プログラムを記憶した記録媒体1001がドライブ装置1000にセットされると、プログラムが記録媒体1001からドライブ装置1000を介して補助記憶装置1002にインストールされる。但し、プログラムのインストールは必ずしも記録媒体1001より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置1002は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。
 メモリ装置1003は、プログラムの起動指示があった場合に、補助記憶装置1002からプログラムを読み出して格納する。CPU1004は、メモリ装置1003に格納されたプログラムに従って、通信装置300に係る機能を実現する。インタフェース装置1005は、ネットワークに接続するためのインタフェースとして用いられる。表示装置1006はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置1007はキーボード及びマウス、ボタン、又はタッチパネル等で構成され、様々な操作指示を入力させるために用いられる。出力装置1008は演算結果を出力する。
 (実施の形態の効果)
 本実施の形態に係る技術により、パケット通信において、付加価値サービスを提供する装置の前段に、アドレス変換を行う装置が備えられる場合でも、付加価値サービスに係るルールを適切に適用することが可能になる。
 (付記)
 以上の実施形態に関し、更に以下の付記項を開示する。
(付記項1)
 付加価値サービスポリシのルールを保持するメモリと、
 前記メモリに接続された少なくとも1つのプロセッサと、
 を含み、
 前記プロセッサは、
 アドレス変換を行う変換装置に対して、アドレス変換前の情報を含む変換情報を問い合わせ、
 前記変換情報を前記変換装置から受信し、
 前記変換情報を用いることにより、前記変換装置から受信したアドレス変換後のパケットに対して前記ルールを適用するか否かを判断する、
 通信装置。
(付記項2)
 メモリと、
 前記メモリに接続された少なくとも1つのプロセッサと、
 を含み、
 前記プロセッサは、
 受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を生成し、
 アドレス変換前の情報を利用して付加価値サービスを提供する付加価値サービス提供装置に前記変換情報を送信し、前記変換情報の送信後に、アドレス変換後の前記パケットを前記付加価値サービス提供装置に送信する
 通信装置。
(付記項3)
 メモリと、
 前記メモリに接続された少なくとも1つのプロセッサと、
 を含み、
 前記プロセッサは、
 受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を、アドレス変換後の前記パケットに埋め込み、
 前記変換情報を埋め込んだ前記パケットを、アドレス変換前の情報を利用して付加価値サービスを提供する付加価値サービス提供装置に送信する
 通信装置。
(付記項4)
 付加価値サービスポリシのルールを保持するデータ格納部を備え、パケット通信を行う通信装置として機能するコンピュータが実行する通信方法であって、
 アドレス変換を行う変換装置に対して、アドレス変換前の情報を含む変換情報を問い合わせるステップと、
 前記変換情報を前記変換装置から受信するステップと、
 前記変換情報を用いることにより、前記変換装置から受信したアドレス変換後のパケットに対して前記ルールを適用するか否かを判断するステップと、
 を備える通信方法。
(付記項5)
 パケット通信を行う通信装置として機能するコンピュータが実行する通信方法であって、
 受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を生成するステップと、
 アドレス変換前の情報を利用して付加価値サービスを提供する付加価値サービス提供装置に前記変換情報を送信し、前記変換情報の送信後に、アドレス変換後の前記パケットを前記付加価値サービス提供装置に送信するステップと
 を備える通信方法。
(付記項6)
 パケット通信を行う通信装置として機能するコンピュータが実行する通信方法であって、
 受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を、アドレス変換後の前記パケットに埋め込むステップと、
 前記変換情報を埋め込んだ前記パケットを、アドレス変換前の情報を利用して付加価値サービスを提供する付加価値サービス提供装置に送信するステップと
 を備える通信方法。
(付記項7)
 コンピュータに、付記項1ないし3のうちいずれか1項に記載の通信装置における各処理を実行させるプログラムを記憶した非一時的記憶媒体。
 以上、本実施の形態について説明したが、本発明はかかる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。
1~3 UE
10 GW
100 NAT-GW
20、200 VAS-GW
30 サーバ
300 通信装置
310 送信部
320 受信部
330 制御部
340 データ格納部
1000 ドライブ装置
1001 記録媒体
1002 補助記憶装置
1003 メモリ装置
1004 CPU
1005 インタフェース装置
1006 表示装置
1007 入力装置
1008 出力装置

Claims (7)

  1.  パケット通信を行う通信装置であって、
     付加価値サービスポリシのルールを保持するデータ格納部と、
     アドレス変換を行う変換装置に対して、アドレス変換前の情報を含む変換情報を問い合わせる送信部と、
     前記変換情報を前記変換装置から受信する受信部と、
     前記変換情報を用いることにより、前記変換装置から受信したアドレス変換後のパケットに対して前記ルールを適用するか否かを判断する制御部と、
     を備える通信装置。
  2.  パケット通信を行う通信装置であって、
     受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を生成する制御部と、
     アドレス変換前の情報を利用して付加価値サービスを提供する付加価値サービス提供装置に前記変換情報を送信し、前記変換情報の送信後に、アドレス変換後の前記パケットを前記付加価値サービス提供装置に送信する送信部と
     を備える通信装置。
  3.  パケット通信を行う通信装置であって、
     受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を、アドレス変換後の前記パケットに埋め込む制御部と、
     前記変換情報を埋め込んだ前記パケットを、アドレス変換前の情報を利用して付加価値サービスを提供する付加価値サービス提供装置に送信する送信部と
     を備える通信装置。
  4.  付加価値サービスポリシのルールを保持するデータ格納部を備え、パケット通信を行う通信装置が実行する通信方法であって、
     アドレス変換を行う変換装置に対して、アドレス変換前の情報を含む変換情報を問い合わせるステップと、
     前記変換情報を前記変換装置から受信するステップと、
     前記変換情報を用いることにより、前記変換装置から受信したアドレス変換後のパケットに対して前記ルールを適用するか否かを判断するステップと、
     を備える通信方法。
  5.  パケット通信を行う通信装置が実行する通信方法であって、
     受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を生成するステップと、
     アドレス変換前の情報を利用して付加価値サービスを提供する付加価値サービス提供装置に前記変換情報を送信し、前記変換情報の送信後に、アドレス変換後の前記パケットを前記付加価値サービス提供装置に送信するステップと
     を備える通信方法。
  6.  パケット通信を行う通信装置が実行する通信方法であって、
     受信したパケットに対してアドレス変換を行い、アドレス変換前の情報を含む変換情報を、アドレス変換後の前記パケットに埋め込むステップと、
     前記変換情報を埋め込んだ前記パケットを、アドレス変換前の情報を利用して付加価値サービスを提供する付加価値サービス提供装置に送信するステップと
     を備える通信方法。
  7.  コンピュータを、請求項1ないし3のうちいずれか1項に記載の通信装置における各部として機能させるためのプログラム。
PCT/JP2022/007918 2022-02-25 2022-02-25 通信装置、通信方法、及びプログラム WO2023162146A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/007918 WO2023162146A1 (ja) 2022-02-25 2022-02-25 通信装置、通信方法、及びプログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/007918 WO2023162146A1 (ja) 2022-02-25 2022-02-25 通信装置、通信方法、及びプログラム

Publications (1)

Publication Number Publication Date
WO2023162146A1 true WO2023162146A1 (ja) 2023-08-31

Family

ID=87765109

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/007918 WO2023162146A1 (ja) 2022-02-25 2022-02-25 通信装置、通信方法、及びプログラム

Country Status (1)

Country Link
WO (1) WO2023162146A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003333103A (ja) * 2002-05-16 2003-11-21 Nec Access Technica Ltd パケット転送装置、パケット転送方法及びパケット転送プログラム
JP2014158077A (ja) * 2013-02-14 2014-08-28 Nippon Telegr & Teleph Corp <Ntt> 通信サービス提供システムおよびその方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003333103A (ja) * 2002-05-16 2003-11-21 Nec Access Technica Ltd パケット転送装置、パケット転送方法及びパケット転送プログラム
JP2014158077A (ja) * 2013-02-14 2014-08-28 Nippon Telegr & Teleph Corp <Ntt> 通信サービス提供システムおよびその方法

Similar Documents

Publication Publication Date Title
CN111586670A (zh) 用于实现业务连续性的方法及相关设备
US20080008183A1 (en) Communication Device, Storage Medium, Integrated Circuit, and Communication System
CN112104744B (zh) 流量代理方法、服务器及存储介质
US10191760B2 (en) Proxy response program, proxy response device and proxy response method
JP6118122B2 (ja) 通信装置及びその制御方法、プログラム
US11800587B2 (en) Method for establishing subflow of multipath connection, apparatus, and system
CN112671938B (zh) 业务服务提供方法及系统、远端加速网关
EP2922263A1 (en) Processing method for network address translation technology, nat device and bng device
CN112929264B (zh) 业务流量传输方法、系统及网络设备
US10181031B2 (en) Control device, control system, control method, and control program
US11700321B2 (en) Transparent proxy conversion of transmission control protocol (TCP) fast open connection
CN107948104A (zh) 一种网络地址转换环境中报文转发的方法及交换设备
US11349934B2 (en) Opportunistic transmission control protocol (TCP) connection establishment
CN113965521A (zh) 数据包的传输方法、服务器及存储介质
WO2023162146A1 (ja) 通信装置、通信方法、及びプログラム
CN112968965A (zh) Nfv网络节点的元数据服务方法、服务器及存储介质
WO2022057724A1 (zh) 数据分流方法和装置
WO2023162147A1 (ja) 通信装置、通信システム、通信方法、及びプログラム
CN114745456A (zh) 报文处理方法、装置及网络地址转换设备
US20220321565A1 (en) Forwarding method and device, and broadband remote access server forwarding plane
JP2023546775A (ja) インライン・トランスペアレント・コンピュータ・ネットワーキングデバイスの仮想化のための方法およびシステム
JP7472919B2 (ja) 通信装置、通信システム、通信方法、及びプログラム
TWI483605B (zh) 用於網路系統之部署方法及電腦系統
US20240114323A1 (en) Apparatus and method for providing service function chaining service exposure in wireless communication system
JP6435002B2 (ja) 通信装置及びその制御方法、プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22928673

Country of ref document: EP

Kind code of ref document: A1