KR102600443B1 - System for controlling network access and method of the same - Google Patents

System for controlling network access and method of the same Download PDF

Info

Publication number
KR102600443B1
KR102600443B1 KR1020230022776A KR20230022776A KR102600443B1 KR 102600443 B1 KR102600443 B1 KR 102600443B1 KR 1020230022776 A KR1020230022776 A KR 1020230022776A KR 20230022776 A KR20230022776 A KR 20230022776A KR 102600443 B1 KR102600443 B1 KR 102600443B1
Authority
KR
South Korea
Prior art keywords
information
node
authentication
data flow
data packet
Prior art date
Application number
KR1020230022776A
Other languages
Korean (ko)
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 KR1020230022776A priority Critical patent/KR102600443B1/en
Application granted granted Critical
Publication of KR102600443B1 publication Critical patent/KR102600443B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/029Firewall traversal, e.g. tunnelling or, creating pinholes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Abstract

본 문서에 개시되는 실시예에 따르면, 게이트웨이는, 통신 회로, 메모리, 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 서비스 요청을 위한 데이터 패킷을 노드로부터 수신하고, 상기 데이터 패킷에 대응되는 데이터 플로우 인증 정보가 존재하는지 여부를 확인하고, 유효한 데이터 플로우 인증 정보가 존재하는 것으로 확인되면, 상기 데이터 패킷을 목적지 네트워크로 포워딩하고, 상기 유효한 데이터 플로우 인증 정보가 존재하지 않는 것으로 확인되면, 상기 데이터 패킷을 외부 서버로 포워딩하고, 상기 데이터 패킷을 상기 외부 서버로 포워딩한 후, 상기 노드에 대한 인증 결과에 따라 상기 외부 서버로부터 상기 데이터 플로우 인증 정보를 포함하는 데이터 플로우에 대한 정보를 수신하도록 구성될 수 있다.According to an embodiment disclosed herein, a gateway includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a data packet for a service request from a node. Check whether data flow authentication information corresponding to the data packet exists, and if it is confirmed that valid data flow authentication information exists, forward the data packet to the destination network, and determine if valid data flow authentication information exists. If it is confirmed not to do so, forwarding the data packet to an external server, forwarding the data packet to the external server, and then performing a data flow including the data flow authentication information from the external server according to the authentication result for the node. It may be configured to receive information about.

Description

네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법{SYSTEM FOR CONTROLLING NETWORK ACCESS AND METHOD OF THE SAME}System for controlling network access and method related thereto {SYSTEM FOR CONTROLLING NETWORK ACCESS AND METHOD OF THE SAME}

본 문서에 개시되는 실시예들은 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법에 관한 것이다.Embodiments disclosed in this document relate to a system and method for controlling network access.

다수의 장치들은 네트워크를 통해서 데이터를 통신할 수 있다. 예를 들어, 단말은 인터넷을 통해 서버와 데이터를 송신하거나 수신할 수 있다. 네트워크는 인터넷과 같은 공용 네트워크(public network)뿐만 아니라 인트라넷과 같은 사설 네트워크(private network)를 포함할 수 있다. Multiple devices can communicate data over a network. For example, a terminal can transmit or receive data to and from a server via the Internet. Networks may include public networks such as the Internet as well as private networks such as intranets.

터널링 또는 데이터 패킷에 포함된 인증 정보를 사용하여 노드의 네트워크 접속을 제어할 경우, 허용되지 않은 노드 또는 안전하지 않은 노드가 목적지 네트워크에 접속하는 것을 사전에 차단할 수 있게 된다.When controlling a node's network access using tunneling or authentication information included in a data packet, it is possible to prevent unauthorized nodes or unsafe nodes from accessing the destination network in advance.

종래에 위와 같은 방식으로 노드의 네트워크 접속을 제어하고자, 목적지 네트워크(대상 서비스)의 경계에 존재하는 게이트웨이가, 최소한의 접속 제어 단위인 터널링 또는 데이터 패킷에 포함된 인증 정보를 사용하여 노드의 인가 여부 등을 확인하기 위해서는, 인증 정보를 생성하는 접속 제어 애플리케이션(네트워크 접속 제어 애플리케이션)이 노드에 설치되어야 한다. Conventionally, in order to control a node's network access in the above manner, the gateway existing at the border of the destination network (target service) uses tunneling, which is the minimum access control unit, or authentication information contained in the data packet to determine whether the node is authorized. In order to check, etc., an access control application (network access control application) that generates authentication information must be installed on the node.

만약, 접속 제어 애플리케이션이 설치되지 않은 상태에서 노드가 대상 서비스에 접속하고자 시도하는 경우, 목적지 네트워크에 대한 접속이 차단되는데, 노드의 사용자 입장에서는 어떤 이유로 목적지 네트워크에 대한 접속이 차단되는지 전혀 알 수 없는 문제점이 존재한다.If a node attempts to access the target service without the access control application installed, access to the destination network is blocked. From the point of view of the node user, there is no way to know why access to the destination network is blocked. There is a problem.

또한, 접속 제어 애플리케이션을 설치할 수 없는 경우(예: 접속 제어 애플리케이션을 설치하기 위해 필요한 기술 지원이 종료된 구버전의 운영체제가 설치된 노드, 하드웨어의 절대적인 사양이 낮은 저전력 IoT, 접속 제어 애플리케이션이 지원하지 않는 운영체제가 설치된 노드 등), 해당 노드는 목적지 네트워크에 대한 접속이 불가능한 문제점이 존재한다.Additionally, in cases where the access control application cannot be installed (e.g., nodes with an older version of the operating system for which technical support required to install the access control application has ended, low-power IoT with low absolute hardware specifications, and operating systems not supported by the access control application) installed node, etc.), there is a problem in which the node cannot connect to the destination network.

본 문서에 개시되는 실시예에 따른 게이트웨이는, 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 서비스 요청을 위한 데이터 패킷을 노드로부터 수신하고, 상기 데이터 패킷에 대응되는 데이터 플로우 인증 정보가 존재하는지 여부를 확인하고, 유효한 데이터 플로우 인증 정보가 존재하는 것으로 확인되면, 상기 데이터 패킷을 목적지 네트워크로 포워딩하고, 상기 유효한 데이터 플로우 인증 정보가 존재하지 않는 것으로 확인되면, 상기 데이터 패킷을 외부 서버로 포워딩하고, 상기 데이터 패킷을 상기 외부 서버로 포워딩한 후, 상기 노드에 대한 인증 결과에 따라 상기 외부 서버로부터 상기 데이터 플로우 인증 정보를 포함하는 데이터 플로우에 대한 정보를 수신하도록 구성될 수 있다.A gateway according to an embodiment disclosed in this document includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a data packet for a service request from a node, Check whether data flow authentication information corresponding to the data packet exists, and if it is confirmed that valid data flow authentication information exists, forward the data packet to the destination network, and if the valid data flow authentication information does not exist, forward the data packet to the destination network. If confirmed, the data packet is forwarded to an external server, and after forwarding the data packet to the external server, the data flow including the data flow authentication information is verified from the external server according to the authentication result for the node. Can be configured to receive information.

또한, 본 문서에 개시되는 실시예에 따른 외부 서버는, 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 서비스 요청을 위한 데이터 패킷이 획득되면, 상기 데이터 패킷을 참조하여 인증 지원 정보를 상기 노드로 전송하고, 상기 인증 지원 정보에 기반하여 상기 노드로부터 출발지 IP(internet protocol)를 포함하는 네트워크 접속 요청을 획득하고, 상기 네트워크 접속 요청에 포함된 정보에 기반하여 상기 목적지 네트워크에 상기 노드가 접속 가능한지 확인하고, 접속이 가능한 것으로 확인되면, 데이터 플로우 인증 정보를 포함하는 데이터 플로우에 대한 정보를 게이트웨이에 구성될 수 있다. In addition, the external server according to an embodiment disclosed in this document includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor is configured to, when a data packet for a service request is obtained, , Transmits authentication support information to the node with reference to the data packet, obtains a network connection request including a source IP (internet protocol) from the node based on the authentication support information, and includes the network connection request. Based on the information, it is checked whether the node can connect to the destination network, and if it is confirmed that the node can connect, information about the data flow including data flow authentication information can be configured in the gateway.

또한, 본 문서에 개시되는 실시예에 따른 게이트웨이의 동작 방법은, 서비스 요청을 위한 데이터 패킷을 노드로부터 수신하는 단계, 상기 데이터 패킷에 대응되는 데이터 플로우 인증 정보가 존재하는지 여부를 확인하는 단계 및 유효한 데이터 플로우 인증 정보가 존재하는 것으로 확인되면, 상기 데이터 패킷을 상기 목적지 네트워크로 포워딩하고, 상기 유효한 데이터 플로우 인증 정보가 존재하지 않는 것으로 확인되면, 상기 데이터 패킷을 외부 서버로 포워딩한 후, 상기 노드에 대한 인증 결과에 따라 상기 외부 서버로부터 상기 데이터 플로우 인증 정보를 포함하는 데이터 플로우에 대한 정보를 수신하는 단계를 포함할 수 있다.In addition, the method of operating a gateway according to an embodiment disclosed in this document includes the steps of receiving a data packet for a service request from a node, checking whether data flow authentication information corresponding to the data packet exists, and valid If it is confirmed that data flow authentication information exists, the data packet is forwarded to the destination network, and if it is confirmed that the valid data flow authentication information does not exist, the data packet is forwarded to an external server and then forwarded to the node. It may include receiving information about the data flow including the data flow authentication information from the external server according to the authentication result.

본 문서에 개시되는 실시예들에 따르면, 노드에 접속 제어 애플리케이션이 설치되지 않은 경우에도, 노드가 대상 서비스에 접속할 수 있다. According to embodiments disclosed in this document, a node can access a target service even if the access control application is not installed on the node.

또한, 본 문서에 개시되는 실시예들에 따르면, 접속 제어 애플리케이션을 설치하는 노드에 제1 접근 권한이 부여되고, 인증 프로세스를 수행하는 노드에 제2 접근 권한이 부여됨으로써 노드가 대상 서비스에 효율적으로 접속할 수 있다. In addition, according to embodiments disclosed in this document, a first access right is granted to the node that installs the access control application, and a second access right is granted to the node that performs the authentication process, so that the node can efficiently access the target service. You can connect.

또한, 본 문서에 개시되는 실시예들에 따르면, 허용되지 않은 목적지 네트워크로 데이터 패킷이 무단으로 전송되는 것을 방지할 수 있다. Additionally, according to embodiments disclosed in this document, unauthorized transmission of data packets to an unauthorized destination network can be prevented.

또한, 본 문서에 개시되는 실시예들에 따르면, 노드에 설치된 대상 애플리케이션이 종료되었을 경우 또는 연동 시스템으로부터 수신한 보안 이벤트에 기반하여 터널 또는 데이터 플로우를 회수함으로써 목적지 네트워크의 보안성을 향상할 수 있다. In addition, according to the embodiments disclosed in this document, the security of the destination network can be improved by recovering the tunnel or data flow when the target application installed on the node is terminated or based on a security event received from the linked system. .

또한, 본 문서에 개시되는 실시예들에 따르면, 복수의 노드로부터 수신된 데이터 패킷들이 동일한 출발지 IP를 포함하는 경우에도, 갱신된 데이터 플로우 인증 정보에 기반하여 각각의 노드에 대해 독립적으로 네트워크 접속을 제어할 수 있다.In addition, according to embodiments disclosed in this document, even when data packets received from a plurality of nodes include the same source IP, network connection is independently established for each node based on updated data flow authentication information. You can control it.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects that can be directly or indirectly identified through this document may be provided.

도 1은 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.
도 2는 다양한 실시예들에 따라 제어 서버에 저장된 데이터베이스를 나타내는 기능적 블록도이다.
도 3은 다양한 실시예들에 따른 게이트웨이의 기능적 블록도를 나타낸다.
도 4a 및 도 4b는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.
도 5는 접속 제어 애플리케이션이 설치되지 않은 노드가 서비스 서버에 접속하고자 하는 경우에 게이트웨이의 동작을 설명하기 위한 도면이다.
도 6 내지 도 10은 접속 제어 애플리케이션이 설치되지 않은 노드에 관련된 동작을 설명하기 위한 도면이다.
도 11은 논리적 연결 생성에 필요한 인증 정보와 관련된 다양한 실시예들에 따른 데이터 패킷을 설명하기 위한 도면이다.
도 12 내지 도 16은 접속 제어 애플리케이션이 설치된 노드에 관련된 동작을 설명하기 위한 도면이다.
도 17은 프로토콜 검사 과정을 설명하기 위한 도면이다.
도 18은 게이트웨이가 서비스 요청을 처리하는 과정을 설명하기 위한 도면이다.
도 19는 데이터 플로우 헤더가 삽입된 서비스 요청 정보의 구조를 설명하기 위한 도면이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 shows an architecture within a network environment according to various embodiments.
2 is a functional block diagram illustrating a database stored in a control server according to various embodiments.
Figure 3 shows a functional block diagram of a gateway according to various embodiments.
4A and 4B illustrate an operation for controlling transmission of data packets according to various embodiments.
Figure 5 is a diagram for explaining the operation of a gateway when a node without an access control application is installed attempts to access a service server.
Figures 6 to 10 are diagrams for explaining operations related to nodes on which an access control application is not installed.
FIG. 11 is a diagram illustrating data packets according to various embodiments related to authentication information required for creating a logical connection.
Figures 12 to 16 are diagrams for explaining operations related to a node on which an access control application is installed.
Figure 17 is a diagram for explaining the protocol inspection process.
Figure 18 is a diagram to explain the process of a gateway processing a service request.
Figure 19 is a diagram for explaining the structure of service request information in which a data flow header is inserted.
In relation to the description of the drawings, identical or similar reference numerals may be used for identical or similar components.

이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present invention are described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives to the embodiments of the present invention.

본 문서에서 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나",“A 또는 B 중 적어도 하나”, "A, B 또는 C", "A, B 및 C 중 적어도 하나” 및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다. In this document, the singular form of a noun corresponding to an item may include one or plural items, unless the relevant context clearly indicates otherwise. In this document: “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C” and “A, Each of phrases such as “at least one of B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

본 문서에서 설명되는 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.Each component (eg, module or program) described in this document may include singular or plural entities. According to various embodiments, one or more of the corresponding components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or , or one or more other operations may be added.

본 문서에서 사용되는 용어 "모듈", 또는 “...부”는 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used in this document, the term "module", or "part" may include a unit implemented in hardware, software, or firmware, and may include terms such as logic, logic block, component, or circuit. Can be used interchangeably. A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시 예들은 기기(machine)에 의해 읽을 수 있는 저장 매체(storage medium)(예: 메모리)에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램 또는 애플리케이션)로서 구현될 수 있다. 예를 들면, 기기의 프로세서는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다. Various embodiments of this document may be implemented as software (e.g., a program or application) including one or more instructions stored in a storage medium (e.g., memory) that can be read by a machine. For example, the processor of the device may call at least one instruction among one or more instructions stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.

본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 애플리케이션 스토어를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 애플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다. Methods according to various embodiments disclosed in this document may be provided and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. A computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store or between two user devices (e.g. smartphones). It may be distributed in person or online (e.g., downloaded or uploaded). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store server, or a relay server.

도 1은 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. 1 shows an architecture within a network environment according to various embodiments.

도 1을 참조하면, 노드(103_1, 103_2)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 노드(103_1, 103_2)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 노드(103_1, 103_2)는 ‘전자 장치’ 또는 ‘단말’로도 참조될 수 있다. Referring to FIG. 1, nodes 103_1 and 103_2 may be various types of devices capable of performing data communication. For another example, the nodes 103_1 and 103_2 may be connected to portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, and virtual reality (VR) devices. ) may include devices, or home appliances, and is not limited to the above-mentioned devices. Nodes 103_1 and 103_2 may also be referred to as ‘electronic devices’ or ‘terminals.’

게이트웨이(101)는 노드(103_1, 103_2)와 연결될 수 있다. 예를 들어, 게이트웨이(101)는, 제어 서버(102)에 의해서 인가된 데이터 플로우가 존재하여야 통신이 가능한 구조를 노드(103_1, 103_2)에 제공함으로써 노드(103_1, 103_2)가 서비스 서버(105_1, 105_2)에 접속하도록 지원할 수 있다. 또한, 게이트웨이(101)는, 데이터 플로우가 존재하지 않는 경우 통신을 수행할 수 없는 구조를 노드(103_1, 103_2)에 제공할 수 있다. Gateway 101 may be connected to nodes 103_1 and 103_2. For example, the gateway 101 provides the nodes 103_1 and 103_2 with a structure in which communication is possible only when a data flow authorized by the control server 102 exists, so that the nodes 103_1 and 103_2 can connect to the service servers 105_1 and 103_2. It can support access to 105_2). Additionally, the gateway 101 may provide the nodes 103_1 and 103_2 with a structure in which communication cannot be performed if a data flow does not exist.

실시예에 따르면, 게이트웨이(101)는 목적지 네트워크로의 접속을 위한 데이터 패킷을 노드로부터 수신하고, 데이터 패킷에 대응되는 데이터 플로우 인증 정보가 존재하는지 여부를 확인하고, 유효한 데이터 플로우 인증 정보가 존재하는 것으로 확인되면, 데이터 패킷을 목적지 네트워크로 포워딩함으로써 노드의 서비스 요청이 처리되도록 지원할 수 있다. 만약, 유효한 데이터 플로우 인증 정보가 존재하지 않는 것으로 확인되면, 데이터 패킷을 외부 서버(가령, 인증 서버(104))로 포워딩하여 노드에 대한 인증이 이루어지도록 지원할 수 있다. 그리고, 노드에 대한 인증 결과에 따라 외부 서버로부터 데이터 플로우 인증 정보를 포함하는 데이터 플로우에 대한 정보를 수신할 수 있다. According to the embodiment, the gateway 101 receives a data packet for connection to the destination network from a node, checks whether data flow authentication information corresponding to the data packet exists, and determines whether valid data flow authentication information exists. If confirmed, the node's service request can be supported by forwarding the data packet to the destination network. If it is determined that valid data flow authentication information does not exist, the data packet can be forwarded to an external server (e.g., authentication server 104) to support authentication of the node. Additionally, information about the data flow including data flow authentication information can be received from an external server according to the authentication result for the node.

실시예에 따르면, 게이트웨이(101)는, 데이터 플로우가 존재하지 않는 것으로 확인되면, 데이터 패킷이 인증 가능한 프로토콜의 데이터 패킷인지 여부를 확인하고, 데이터 패킷이 인증 가능한 프로토콜의 데이터 패킷으로 확인되면, 데이터 패킷의 도착지 IP 및 도착지 포트를 외부 서버(가령, 인증 서버(104))에 대응되는 외부 서버 IP 및 외부 서버 포트로 변환하는 네트워크 주소 변환(NAT) 프로세스를 수행함으로써 데이터 패킷을 인증 서버(104)로 포워딩 할 수 있다.According to the embodiment, if it is confirmed that a data flow does not exist, the gateway 101 checks whether the data packet is a data packet of an authenticable protocol, and if the data packet is confirmed to be a data packet of an authenticable protocol, the gateway 101 determines whether the data packet is a data packet of an authenticable protocol. The data packet is sent to the authentication server 104 by performing a network address translation (NAT) process that converts the destination IP and destination port of the packet to an external server IP and external server port corresponding to the external server (e.g., authentication server 104). It can be forwarded to .

실시예에 따르면, 게이트웨이(101)는 접속 제어 애플리케이션이 설치되면 터널을 생성하기 위한 터널 생성 요청을 노드(103_1)로부터 수신하고, 터널 생성 요청에 기반하여 노드(103_1)와의 터널을 생성한 후, 터널을 통해 노드와 통신을 할 수 있다. According to the embodiment, when the access control application is installed, the gateway 101 receives a tunnel creation request for creating a tunnel from the node 103_1, and creates a tunnel with the node 103_1 based on the tunnel creation request, You can communicate with nodes through a tunnel.

또한, 서비스 서버(105_1, 105_2)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 서비스 서버(105_1, 105_2)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 서비스 서버(105_1, 105_2)는 ‘전자 장치’ 또는 ‘단말’로도 참조될 수 있다. Additionally, the service servers 105_1 and 105_2 may be various types of devices capable of performing data communication. For another example, the service servers 105_1 and 105_2 may support portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, and VR (virtual devices). reality) device, or home appliance device, and is not limited to the above-mentioned devices. Service servers (105_1, 105_2) may also be referred to as ‘electronic devices’ or ‘terminals.’

노드(103_1, 103_2)는 서비스 서버(105_1, 105_2)로 데이터 패킷을 전송하거나 서비스 서버(105_1, 105_2)로부터 데이터 패킷을 수신할 수 있다. 노드(103_1, 103_2)에 포함된 대상 애플리케이션 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 신뢰된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 신뢰되지 않거나 보안되지 않은 악성 프로그램일 수 있으므로, 실시예들에 따른 네트워크 접속 제어 시스템은 인가되지 않은 프로그램(애플리케이션)의 서비스 서버(105_1, 105_2)에 대한 접속을 차단하고 해당 프로그램을 격리(가령, 블랙리스트 등록)할 수 있다. The nodes 103_1 and 103_2 may transmit data packets to the service servers 105_1 and 105_2 or receive data packets from the service servers 105_1 and 105_2. Some of the target applications included in nodes 103_1 and 103_2 may be trusted and/or secure applications, such as web browsers or business applications, while others may be untrusted or unsecured malicious programs. The network access control system according to can block unauthorized programs (applications) from accessing the service servers (105_1, 105_2) and isolate the programs (for example, blacklist registration).

제어 서버(102)는 게이트웨이(101) 및 서비스 서버(105_1, 105_2) 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 제어 서버(102)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 접속 제어 애플리케이션의 네트워크 접속을 허용할 수 있다. 제어 서버(102)는 게이트웨이(101) 및 서비스 서버(105_1, 105_2) 간 인증을 수행할 수 있는 인증 정보를 제공할 수 있다. 따라서, 접속 제어 애플리케이션은 허용되지 않은 노드가 허용되지 않은 목적지로 데이터 패킷을 전송하는 것을 방지할 수 있다. The control server 102 can ensure reliable data transmission within a network environment by managing data transmission between the gateway 101 and the service servers 105_1 and 105_2. For example, the control server 102 may allow an authorized access control application to access the network through policy information or blacklist information. The control server 102 may provide authentication information to perform authentication between the gateway 101 and the service servers 105_1 and 105_2. Accordingly, the access control application can prevent unauthorized nodes from transmitting data packets to unauthorized destinations.

실시예에 따르면, 노드의 네트워크 접속은 접속 제어 애플리케이션, 제어 서버(102) 또는 게이트웨이(101)에 의해 차단될 수 있다. 일 실시예에 따르면, 제어 서버(102)는 게이트웨이(101)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 게이트웨이(101)와 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름은 ‘제어 플로우(control flow)’로 참조될 수 있다. 실시예에 따르면, 제어 서버(102)는 연동 시스템(예: 게이트웨이)으로부터 수신된 보안 이벤트에 따라 터널을 즉시 회수하거나, 대상 애플리케이션이 종료되는 경우 터널을 즉시 회수함으로써 안전한 네트워크 상태를 상시 유지할 수 있다. 또한 상기와 같은 구조는 접속 제어 애플리케이션 및 제어 서버(102) 사이의 관계에서도 실질적으로 동일하게 적용될 수 있다. According to embodiments, a node's network access may be blocked by an access control application, control server 102 or gateway 101. According to one embodiment, the control server 102 transmits and receives control data packets to the gateway 101 to perform various operations (e.g., registration, approval, authentication, renewal, termination) associated with the network connection of the gateway 101. can do. The flow through which control data packets are transmitted may be referred to as ‘control flow’. According to the embodiment, the control server 102 can always maintain a secure network state by immediately reclaiming the tunnel according to a security event received from a linked system (e.g., gateway), or by immediately reclaiming the tunnel when the target application is terminated. . Additionally, the above structure can be applied substantially in the same way to the relationship between the access control application and the control server 102.

실시예에 따르면, 제어 서버(102)는 인증 서버(104)와 통신할 수 있다. 참고로, 도 1에서는 제어 서버(102) 및 인증 서버(104)가 분리된 경우를 도시하고 있으나, 본 발명이 이에 한정되는 것은 아니며, 제어 서버(102) 및 인증 서버(104)는 하나의 통합된 서버(가령, 외부 서버)로 구성될 수도 있다.According to embodiments, control server 102 may communicate with authentication server 104. For reference, Figure 1 shows a case where the control server 102 and the authentication server 104 are separated, but the present invention is not limited to this, and the control server 102 and the authentication server 104 are integrated into one. It may be composed of a server (eg, an external server).

도 2는 다양한 실시예들에 따라 제어 서버(102)에 저장된 데이터베이스를 나타내는 기능적 블록도이다. 도 2는 메모리만 도시하고 있으나, 제어 서버(102)는 외부 전자 장치와 통신을 수행하기 위한 통신 회로 및 제어 서버(102)의 전반적인 동작을 제어하기 위한 프로세서를 더 포함할 수 있다. Figure 2 is a functional block diagram illustrating a database stored in the control server 102 according to various embodiments. Although FIG. 2 shows only a memory, the control server 102 may further include a communication circuit for communicating with an external electronic device and a processor for controlling the overall operation of the control server 102.

관리자는 제어 서버(102)에 접속하여 접속 제어 애플리케이션, 게이트웨이(101) 및 서비스 서버 간 접속을 제어하기 위한 연결 중심의 정책을 설정할 수 있으므로, 서비스 단에서 세션을 관리하는 것 보다 세밀하고 안전하게 네트워크 접속을 제어할 수 있다. The administrator can connect to the control server 102 and set connection-oriented policies to control access between the access control application, gateway 101, and service server, so network access is more detailed and safer than managing sessions at the service level. can be controlled.

접속 정책 데이터베이스(211)는 노드의 식별(노드 고유 식별 정보, 노드에 대응되는 사용자 정보, 노드의 대상 애플리케이션이 접속 가능한 서비스에 대한 정보 등) 및 인증(인증서 등)을 위한 정보 중 적어도 일부를 포함할 수 있다. 예를 들어, 제어 서버(102)는, 접속 제어 애플리케이션에 의해 제어되는 대상 애플리케이션으로부터 네트워크 접속 요청이 획득되면, 접속 정책 데이터베이스(211)의 정책에 기반하여 네트워크 접속 요청시 식별된 노드, 대상 애플리케이션 및/또는 사용자가 목적지(예: 서비스 서버 또는 게이트웨이(101))에 접속이 가능한지 여부를 결정할 수 있다. 또한, 접속 제어 애플리케이션이 설치되지 않은 경우에도, 제어 서버(102)는, 대상 애플리케이션으로부터 네트워크 접속 요청이 획득되면, 접속 정책 데이터베이스(211)의 정책에 기반하여 네트워크 접속 요청시 식별된 노드, 대상 애플리케이션 및/또는 사용자가 목적지(예: 서비스 서버 또는 게이트웨이)에 접속이 가능한지 여부를 결정할 수 있다.The access policy database 211 includes at least some of the information for identification of the node (node unique identification information, user information corresponding to the node, information on services that the target application of the node can access, etc.) and authentication (certificate, etc.) can do. For example, when a network connection request is obtained from a target application controlled by a connection control application, the control server 102 configures the node, target application, and /Or it may be determined whether the user can connect to the destination (eg, service server or gateway 101). In addition, even when the access control application is not installed, when a network connection request is obtained from the target application, the control server 102 detects the node identified at the time of the network connection request based on the policy of the connection policy database 211, the target application. And/or it may be determined whether the user can connect to the destination (eg, service server or gateway).

실시예에 따르면, 제어 서버(102)는 접속 대상을 식별하기 위한 방법 및 식별 정보(예: 노드의 MAC 주소 기반 식별 방식, 노드가 네트워크 접속 요청시 전송한 인증 정보 기반 식별 방식, 라우터(201) 내에서 네트워크 접속 요청한 애플리케이션 식별 방식 및 이에 따라 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP, UDP 등), MAC 주소, 애플리케이션 식별 정보, 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 등)에 기반하여 접속 가능 여부를 확인하고 데이터 플로우를 생성할 수 있다. According to the embodiment, the control server 102 uses a method for identifying a connection target and identification information (e.g., a MAC address-based identification method of the node, an identification method based on authentication information transmitted by the node when requesting network access, and the router 201). How to identify the application requesting network access within the network, and accordingly, destination IP and port information included in the IP header, protocol information (e.g. TCP, UDP, etc.), MAC address, application identification information, IP assigned to the node, and received network interface You can check whether connection is possible and create a data flow based on (identification information, etc.).

터널 정책 데이터베이스(212)는 접속 정책에 따라 접속 (Connection) 경로 상의 게이트웨이(101)에 연결할 터널을 생성하기 위해 필요한 일련의 정보(가령, 인증 정보, 암호화 알고리즘, 터널 엔드 포인트 IP 등)를 포함할 수 있다. 만약, 접속 경로 상의 타 게이트웨이(미도시)에 이미 연결된 터널이 존재하는 경우, 이를 사용하기 위한 일련의 정보(노드에 할당된 IP 정보 수집 및 대체 처리 여부 등)를 포함할 수 있다. 예를 들어, 제어 서버(102)는 게이트웨이(101)에 연결된 노드의 네트워크 접속 요청시 터널 정책을 기반으로 노드에 최적화된 터널 및 게이트웨이(101)를 제공할 수 있다. The tunnel policy database 212 may include a series of information (e.g., authentication information, encryption algorithm, tunnel endpoint IP, etc.) required to create a tunnel to connect to the gateway 101 on the connection path according to the connection policy. You can. If there is a tunnel already connected to another gateway (not shown) on the access path, a series of information for using it (collection of IP information assigned to the node and replacement processing, etc.) may be included. For example, the control server 102 may provide a tunnel and gateway 101 optimized for the node based on a tunnel policy when a node connected to the gateway 101 requests network access.

인증 정책 데이터베이스(213)는 접속 정책(211)에 따라 게이트웨이(101)에 연결된 노드의 네트워크 접속 시 노드의 식별 정보를 기반으로 네트워크 접속을 인증할 것인지 여부 및 인증을 수행할 경우 인증 방식과 관련된 일련의 정보를 포함할 수 있다. 또한, 인증 정책 데이터베이스(213)는, 접속 대상(가령, 노드)에 사전에 발급한 인증서 정보(가령, Mutual-TLS)를 포함할 수 있으며, 게이트웨이(101)에 포함된 프록시에서 접속 대상(가령, 노드)으로 하여금 보안 세션 생성을 하도록 유도하기 위한 인증서 정보(가령, TLS)를 포함할 수 있다. The authentication policy database 213 determines whether to authenticate network access based on the identification information of the node when connecting to the network of a node connected to the gateway 101 according to the access policy 211, and a series of information related to the authentication method when performing authentication. may include information. In addition, the authentication policy database 213 may include certificate information (e.g., Mutual-TLS) issued in advance to the connection target (e.g., node), and the proxy included in the gateway 101 may provide information to the connection target (e.g., node). , node) may include certificate information (e.g., TLS) to induce a secure session to be created.

프로토콜 정책 데이터베이스(214)는 접속 대상 서비스와 통신할 수 있는 프로토콜 정보로서, 데이터 패킷 전송 및 수신 시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 정보 및 프로토콜 버전 정보, 프로토콜 헤더 정보, 규약 정보를 포함할 수 있다. 또한, 프로토콜 정책 데이터베이스(214)는 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별함으로써 정상적인 프로토콜로 처리할 것인지에 대한 정보, 네트워크 접속 시도 시점 또는 프로토콜을 검사 주기 정보, 프로토콜 검사 수행 주체에 관한 정보, 프로토콜을 준수하지 않았을 경우의 네트워크 접속 해제, 제어 플로우 해제 및 격리와 관련한 일련의 정보를 포함한다.The protocol policy database 214 is protocol information that can communicate with the connection target service, and includes protocol identification signature information, protocol version information, protocol header information, and protocol information to identify the protocol information included when transmitting and receiving data packets. can do. In addition, the protocol policy database 214 inspects the data packet to what extent (length) and identifies the protocol, providing information on whether to process it as a normal protocol, information on the timing of a network connection attempt or protocol inspection cycle, and who performs the protocol inspection. It includes a series of information related to network disconnection, control flow release, and isolation in case of non-compliance with the protocol.

서비스 정책 데이터베이스(215)는 접속 정책(211)에 따라서 접속 대상(가령, 노드)이 프록시(예: 게이트웨이(101)에 포함된 프록시)를 통해서 접속할 수 있는 서비스 IP와 포트 정보, 프로토콜 정보(예: HTTP, FTP, IoT 전용 프로토콜 등)를 포함할 수 있다. 또한, 서비스 정책 데이터베이스(215)는 서비스 요청 필터링 필요 여부, 서비스 요청 필터링 처리 방식, 필터링 정보(예: 개인 정보, 유해 서비스 요청 정보)를 포함하며, 프록시에서 사전에 불필요하거나 위험한 서비스 요청을 차단하기 위한 일련의 정보를 포함할 수 있다. 실시예에 따르면, 서비스 정책 데이터베이스(215)는 서비스 요청에 대한 QoS (Quality of Service)가 필요로 한 경우 일정 시간 단위로 서비스 요청 가능 횟수를 설정하고 그에 따라 프록시에서 서비스 요청 횟수를 조절하기 위한 일련의 정보를 포함할 수 있다. The service policy database 215 stores service IP, port information, and protocol information (e.g., a node) that can be accessed through a proxy (e.g., a proxy included in the gateway 101) according to the connection policy 211. : HTTP, FTP, IoT-specific protocols, etc.) may be included. In addition, the service policy database 215 includes whether service request filtering is necessary, service request filtering processing method, filtering information (e.g., personal information, harmful service request information), and prevents unnecessary or dangerous service requests from the proxy in advance. It can contain a series of information for According to the embodiment, when QoS (Quality of Service) for a service request is required, the service policy database 215 sets the number of service requests possible in a certain time unit and sets the number of service requests in the proxy accordingly. may include information.

제어 플로우 테이블(216)은 접속 제어 애플리케이션 및 제어 서버(102) 사이에 생성된 제어 데이터 패킷의 흐름(예: 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 성공적으로 제어 서버(102)에 접속하는 경우, 제어 플로우 정보는 제어 서버(102)에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 제어 서버(102)에 대한 접속 및 인증 시 식별되는 IP 주소, 노드 식별 정보, 대상 애플리케이션 식별 정보, 서비스 서버와의 연계를 통해 추가적으로 식별된 정보 등을 포함할 수 있다. 예를 들어, 서비스 서버에 대한 접속이 요청되면, 제어 서버(102)는 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 식별 정보를 접속 정책 데이터베이스(211)에 매핑함으로써 노드가 서비스 서버에 접속이 가능한지 여부, 데이터 패킷 전송을 위한 데이터 플로우 생성 여부 등을 판단(결정)할 수 있다. The control flow table 216 is an example of a session table for managing the flow (eg, control flow) of control data packets generated between the access control application and the control server 102. When successfully connecting to the control server 102, control flow information may be generated by the control server 102. Control flow information may include identification information of the control flow, an IP address identified when connecting to and authenticating the control server 102, node identification information, target application identification information, and information additionally identified through linkage with the service server. You can. For example, when connection to a service server is requested, the control server 102 may search for control flow information through control flow identification information, and may store the identification information included in the searched control flow information in the connection policy database 211. By mapping to , it is possible to determine (determine) whether the node can connect to the service server and whether a data flow for transmitting data packets is created.

일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 접속 제어 애플리케이션은 제어 플로우의 만료 시각을 주기적/비주기적으로 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 대상 애플리케이션 및/또는 게이트웨이(101)로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우 또는 대상 애플리케이션의 접속 종료 요청이 획득되는 경우, 제어 서버(102)는 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 해당 게이트웨이(101)를 통한 서비스 서버로의 접속이 차단될 수 있다. According to one embodiment, a control flow may have an expiration time. The access control application must periodically/non-periodically update the expiration time of the control flow, and if the expiration time is not updated within a certain period of time, the control flow (or control flow information) may be removed. In addition, when it is determined that immediate access blocking is necessary according to security events collected from the target application and/or the gateway 101, or when a connection termination request from the target application is obtained, the control server 102 may remove the control flow. You can. When the control flow is removed, the previously created data flow is also removed, so access to the service server through the corresponding gateway 101 may be blocked.

데이터 플로우 테이블(217)은 노드 및 게이트웨이(101) 사이에서 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블로서, 노드의 대상 애플리케이션, 게이트웨이(101), 서비스 서버에서의 터널 및/또는 세션을 관리하기 위한 데이터 플로우 정보를 포함할 수 있다.The data flow table 217 is a table for managing the flow (e.g. data flow) in which detailed data packets are transmitted between the node and the gateway 101, and includes the target application of the node, the gateway 101, and the service server. It may contain data flow information for managing tunnels and/or sessions.

데이터 플로우를 식별하기 위한 데이터 플로우 식별 정보(예: ID), 노드의 식별 정보(가령, MAC 주소 정보)는 서비스 서버와 하나 이상의 논리적 연결을 생성할 수 있기 때문에, 데이터 플로우 테이블(217)은 제어 플로우 ID에 기반하여 관리될 수 있다. Since data flow identification information (e.g., ID) for identifying a data flow and node identification information (e.g., MAC address information) can create one or more logical connections with a service server, the data flow table 217 is a control It can be managed based on flow ID.

실시예에 따르면, 데이터 플로우 테이블(217)은 애플리케이션 및 애플리케이션의 최소 식별 단위, 게이트웨이(101)가 데이터 패킷의 출발지 IP, 도착지 IP, 서비스 포트 정보를 기반으로 네트워크 접속 가능 여부를 판단하기 위한 정보, 접속 경로 상에서 게이트웨이(101)와의 터널 생성에 필요로 한 일련의 정보(인증 정보, 암호화 알고리즘, Tunnel End Point IP 등), 데이터 플로우가 사용 가능한 상태인지 여부에 관한 데이터 플로우 상태 정보, 해당 데이터 플로우를 주기적으로 인증할 경우 필요로 한 인증 만료 시각 정보 중 적어도 일부를 포함할 수 있다.According to the embodiment, the data flow table 217 is an application and the minimum identification unit of the application, information for the gateway 101 to determine whether network connection is possible based on the source IP, destination IP, and service port information of the data packet, A series of information required to create a tunnel with the gateway 101 on the access path (authentication information, encryption algorithm, Tunnel End Point IP, etc.), data flow status information regarding whether the data flow is available, and the corresponding data flow. In the case of periodic authentication, at least some of the required authentication expiration time information may be included.

실시예에 따르면, 데이터 플로우 테이블(217)은 인증 정보를 포함할 수 있다. 예를 들어, 인증 정보는 허용된 노드가 데이터 패킷을 전송하였는지 여부를 확인하기 위한 일련의 정보로서 프로토콜별로 인증 정보를 검사하는 방식(예: TCP의 경우, TCP SYN 패킷 검사, UDP의 경우 데이터 패킷별 인증 정보 검사 또는 일정 간격(또는 주기)으로 인증 정보 검사, 검사 방식 등), 인증 정보 복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보 등)를 포함할 수 있다. According to an embodiment, the data flow table 217 may include authentication information. For example, authentication information is a set of information to check whether an allowed node has transmitted a data packet, and the authentication information is checked for each protocol (e.g., for TCP, TCP SYN packet inspection, and for UDP, data packet star authentication information check or authentication information test at regular intervals (or cycles), inspection method, etc.), information for decrypting authentication information, algorithm information for generating and verifying authentication information, and a series of information included in the algorithm (e.g. HMAC OTP When created, information such as Secret Key, etc.) may be included.

실시예에 따르면, 데이터 플로우 테이블(217)은, 인가된 접속 대상(예: 노드)의 보안 세션 생성 요청을 처리하기 위해 사전에 발급한 인증서 정보를 포함할 수 있다.According to an embodiment, the data flow table 217 may include certificate information issued in advance to process a request for creating a secure session from an authorized connection target (eg, node).

또한, 데이터 플로우 테이블은, 보안 세션에 관한 정보를 포함할 수 있다.Additionally, the data flow table may include information about security sessions.

실시예에 따르면, 데이터 플로우 테이블(217)은 서비스 정보를 포함할 수 있다. 예를 들어, 서비스 정보는 허용된 접속 대상이 프록시를 통해서 접속할 수 있는 서비스 IP와 포트 정보, 프로토콜 정보(예: HTTP, FTP, IoT 전용 프로토콜 등) 및 서비스 요청 필터링 필요 여부, 서비스 요청 필터링 처리 방식, 필터링 정보(예: 개인 정보, 유해 서비스 요청 정보)를 포함할 수 있다. 또한, 서비스 정보는 프록시에서 사전에 불필요로 한 또는 위험한 서비스 요청을 차단하기 위한 일련의 정보와 서비스 요청에 대한 QoS (Quality of Service)가 필요로 한 경우 일정 시간 단위로 서비스 요청 가능 횟수를 설정하고 그에 따라 프록시에서 서비스 요청 횟수를 조절하기 위한 일련의 정보를 포함할 수 있다. 실시예에 따르면, 서비스 정보는 서비스 정책(318)에 기반하여 생성될 수 있다. According to an embodiment, the data flow table 217 may include service information. For example, service information includes service IP and port information that permitted access targets can access through proxy, protocol information (e.g. HTTP, FTP, IoT-specific protocol, etc.), whether service request filtering is necessary, and service request filtering processing method. , may include filtering information (e.g. personal information, harmful service request information). In addition, the service information is a series of information to block unnecessary or dangerous service requests in advance at the proxy, and when QoS (Quality of Service) for service requests is required, the number of service requests available in a certain time unit is set. Accordingly, the proxy may include a series of information to adjust the number of service requests. According to an embodiment, service information may be generated based on the service policy 318.

실시예에 따르면, 데이터 플로우 테이블(217)은 접속 제어 애플리케이션이 설치된 노드 및/또는 게이트웨이(101)에 동일하게 저장될 수 있다. According to the embodiment, the data flow table 217 may be equally stored in the node and/or gateway 101 where the access control application is installed.

터널 테이블(218)은 대상 애플리케이션 및 게이트웨이(101) 간 생성된 터널의 식별 정보 및 터널의 IP 등을 포함할 수 있다. 예를 들어, 제어 서버(102)는 터널 테이블(218)에 기반하여 대상 애플리케이션 및 게이트웨이(101) 간 터널이 생성되었는지 여부 등을 판단할 수 있다. 또한, 터널 테이블(218)은 대상 애플리케이션 및 게이트웨이(101) 사이에 연결된 터널을 관리하기 위한 테이블로서, 유효한 터널이 존재하는 경우 터널을 관리 및 식별하기 위한 터널 ID와 게이트웨이(101)와 제어 서버(102) 사이의 제어를 위한 제어 플로우 ID 그리고 TEP (터널 엔드 포인트), TSP (터널 스타트 포인트), 터널 알고리즘 및 종류, 암호화 수준 등을 관리하기 위한 부가 정보로 구성될 수 있다. The tunnel table 218 may include identification information of the tunnel created between the target application and the gateway 101 and the IP of the tunnel. For example, the control server 102 may determine whether a tunnel between the target application and the gateway 101 has been created based on the tunnel table 218. In addition, the tunnel table 218 is a table for managing the tunnel connected between the target application and the gateway 101. If a valid tunnel exists, the tunnel table 218 includes a tunnel ID for managing and identifying the tunnel, the gateway 101, and the control server ( 102) It can be composed of a control flow ID for control between the devices and additional information to manage TEP (tunnel end point), TSP (tunnel start point), tunnel algorithm and type, encryption level, etc.

블랙리스트 데이터베이스(219)는 블랙리스트 정책 데이터베이스(220)에 의해서 차단된 대상에 대한 목록을 포함할 수 있다. 예를 들어, 네트워크 접속을 요청하는 대상 애플리케이션의 식별 정보가 블랙리스트 데이터베이스(219)에 포함된 경우, 제어 서버(102)는 네트워크 접속 요청을 거부함으로써 대상 애플리케이션을 격리시킬 수 있다. The blacklist database 219 may include a list of targets blocked by the blacklist policy database 220. For example, if the identification information of the target application requesting network access is included in the blacklist database 219, the control server 102 may isolate the target application by rejecting the network connection request.

블랙리스트 정책 데이터베이스(220)는 노드 또는 게이트웨이(101)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 대상(예: 노드 ID(identifier), IP 주소, MAC(media access control) 주소, 사용자 중 적어도 하나)의 접속을 차단하기 위한 블랙리스트 등록 정책을 나타낼 수 있다. The blacklist policy database 220 is a target (e.g., node ID (identifier), IP) identified through analysis of security event risk, occurrence cycle, and/or behavior among security events periodically collected from the node or gateway 101. It may indicate a blacklist registration policy to block access by (at least one of) an address, a media access control (MAC) address, and a user.

도 3는 다양한 실시예들에 따른 게이트웨이(101)의 기능적 블록도를 나타낸다. 도 3을 참조하면, 게이트웨이(101)는 프로세서(310), 메모리(320), 및 통신 회로(330)를 포함할 수 있다. Figure 3 shows a functional block diagram of the gateway 101 according to various embodiments. Referring to FIG. 3, the gateway 101 may include a processor 310, a memory 320, and a communication circuit 330.

프로세서(310)는 게이트웨이(101)의 전반적인 동작을 제어할 수 있다. 다양한 실시 예들에서, 프로세서(310)는 하나의 프로세서 코어(single core)를 포함하거나, 복수의 프로세서 코어들을 포함할 수 있다. 예를 들면, 프로세서(310)는 듀얼 코어(dual-core), 쿼드 코어(quad-core), 헥사 코어(hexa-core) 등의 멀티 코어(multi-core)를 포함할 수 있다. 실시 예들에 따라, 프로세서(310)는 내부 또는 외부에 위치된 캐시 메모리(cache memory)를 더 포함할 수 있다. 실시 예들에 따라, 프로세서(310)는 하나 이상의 프로세서들로 구성될(configured with) 수 있다. 예를 들면, 프로세서(310)는, 애플리케이션 프로세서(application processor), 통신 프로세서(communication processor), 또는 GPU(graphical processing unit) 중 적어도 하나를 포함할 수 있다. The processor 310 may control the overall operation of the gateway 101. In various embodiments, the processor 310 may include one processor core (single core) or may include a plurality of processor cores. For example, the processor 310 may include multi-core, such as dual-core, quad-core, or hexa-core. Depending on embodiments, the processor 310 may further include a cache memory located internally or externally. Depending on embodiments, the processor 310 may be configured with one or more processors. For example, the processor 310 may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).

프로세서(310)의 전부 또는 일부는 제어 서버(102) 내의 다른 구성 요소(예를 들면, 메모리(320), 통신 회로(330))와 전기적으로(electrically) 또는 작동적으로(operatively) 결합(coupled with)되거나 연결될(connected to) 수 있다. 프로세서(310)는 게이트웨이(101)의 다른 구성 요소들의 명령을 수신할 수 있고, 수신된 명령을 해석할 수 있으며, 해석된 명령에 따라 계산을 수행하거나 데이터를 처리할 수 있다. 프로세서(310)는 메모리(320), 통신 회로(330)로부터 수신되는 메시지, 데이터, 명령어, 또는 신호를 해석할 수 있고, 가공할 수 있다. 프로세서(310)는 수신된 메시지, 데이터, 명령어, 또는 신호에 기반하여 새로운 메시지, 데이터, 명령어, 또는 신호를 생성할 수 있다. 프로세서(310)는 가공되거나 생성된 메시지, 데이터, 명령어, 또는 신호를 메모리(320), 통신 회로(330)에게 제공할 수 있다. All or a portion of the processor 310 is electrically or operatively coupled to other components (e.g., memory 320, communication circuitry 330) within the control server 102. It can be with) or connected to. The processor 310 may receive commands from other components of the gateway 101, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor 310 can interpret and process messages, data, instructions, or signals received from the memory 320 and the communication circuit 330. Processor 310 may generate new messages, data, instructions, or signals based on received messages, data, instructions, or signals. The processor 310 may provide processed or generated messages, data, instructions, or signals to the memory 320 and the communication circuit 330.

프로세서(310)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(310)는 프로그램을 실행하거나 제어하기 위해 메모리(320)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(310)는 프로그램을 실행하거나 제어하기 위해 메모리(320)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 310 can process data or signals generated or generated by a program. For example, the processor 310 may request instructions, data, or signals from the memory 320 to execute or control a program. The processor 310 may record (or store) or update instructions, data, or signals to the memory 320 in order to execute or control a program.

메모리(320)는 게이트웨이(101)를 제어하는 명령어, 제어 명령어 코드, 제어 데이터, 또는 사용자 데이터를 저장할 수 있다. 예를 들면, 메모리(320)는 애플리케이션(application) 프로그램, OS(operating system), 미들웨어(middleware), 또는 디바이스 드라이버(device driver) 중 적어도 하나를 포함할 수 있다. The memory 320 may store commands for controlling the gateway 101, control command codes, control data, or user data. For example, the memory 320 may include at least one of an application program, an operating system (OS), middleware, or a device driver.

메모리(320)는 휘발성 메모리(volatile memory) 또는 불휘발성 메모리(non-volatile memory) 중 하나 이상을 포함할 수 있다. 휘발성 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), SDRAM(synchronous DRAM), PRAM(phase-change RAM), MRAM(magnetic RAM), RRAM(resistive RAM), FeRAM(ferroelectric RAM) 등을 포함할 수 있다. 불휘발성 메모리는 ROM(read only memory), PROM(programmable ROM), EPROM(electrically programmable ROM), EEPROM(electrically erasable programmable ROM), 플래시 메모리(flash memory) 등을 포함할 수 있다. Memory 320 may include one or more of volatile memory or non-volatile memory. Volatile memory includes dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FeRAM). It can be included. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, etc.

메모리(320)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 320 uses non-volatile media such as a hard disk drive (HDD), solid state disk (SSD), embedded multi media card (eMMC), and universal flash storage (UFS). More may be included.

통신 회로(330)는 게이트웨이(101) 및 외부 전자 장치(예: 도 1의 제어 서버, 서비스 서버 등) 간의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 회로(330)는 무선 통신 회로(예: 셀룰러 통신 회로, 근거리 무선 통신 회로, 또는 GNSS(global navigation satellite system) 통신 회로) 또는 유선 통신 회로(예: LAN(local area network) 통신 회로, 또는 전력선 통신 회로)를 포함하고, 그 중 해당하는 통신 회로를 이용하여 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크 또는 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크와 같은 원거리 통신 네트워크를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 회로(330)는 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다. The communication circuit 330 may support establishment of a wired or wireless communication connection between the gateway 101 and an external electronic device (e.g., a control server, service server, etc. of FIG. 1), and performance of communication through the established connection. According to one embodiment, the communication circuit 330 may be a wireless communication circuit (e.g., a cellular communication circuit, a short-range wireless communication circuit, or a global navigation satellite system (GNSS) communication circuit) or a wired communication circuit (e.g., a local area network (LAN) ) communication circuit, or power line communication circuit), and using the corresponding communication circuit, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a long-distance communication such as a cellular network, the Internet, or a computer network It can communicate with external electronic devices through a network. The various types of communication circuits 330 described above may be implemented as one chip or may be implemented as separate chips.

참고로, 상기에서는, 게이트웨이(101)의 구조에 대해서 설명하였으나, 제어 서버(102), 노드(103_1, 103_2), 인증 서버(104) 및/또는 서비스 서버(105_1, 105_2)에 대해서도 동일/유사한 설명이 적용될 수 있다.For reference, in the above, the structure of the gateway 101 was described, but the same/similar structure is applied to the control server 102, nodes 103_1, 103_2, authentication server 104, and/or service servers 105_1, 105_2. The explanation may apply.

도 4a 및 도 4b는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.4A and 4B illustrate an operation for controlling transmission of data packets according to various embodiments.

도 4a를 참조하면, 대상 애플리케이션(예: 멀웨어)으로부터 서비스 서버에 대한 네트워크 접속 요청이 접속 제어 애플리케이션에 의해 감지된 상태에서, 접속 제어 애플리케이션 또는 게이트웨이(101)가 제어 서버(102)와 접속된 상태가 아닌 경우, 접속 제어 애플리케이션은 운영체제가 포함되는 커널(kernel)이나 네트워크 드라이버에서 데이터 패킷의 전송을 차단할 수 있다. 접속 제어 애플리케이션을 통해, 제어 서버는 OSI 계층 중 응용 계층에서 악의적인 노드의 접속을 사전에 차단할 수 있다. Referring to FIG. 4A, in a state in which a network connection request to the service server from a target application (e.g., malware) is detected by the access control application, the access control application or gateway 101 is connected to the control server 102. If not, the access control application may block the transmission of data packets in the kernel or network driver that includes the operating system. Through the access control application, the control server can block the access of malicious nodes in advance at the application layer of the OSI layer.

접속 제어 애플리케이션에 연결된 노드(103)는 반드시 외부 서버(가령, 제어 서버(102))에 접속하여 인증을 수행하여야 하며, 인증 수행 이후 서비스 서버(105)에 접속 시, 접속 네트워크 정보를 제어 서버(102)에 질의하여 접속 가능 여부를 확인하고, 접속이 가능한 경우 데이터 패킷을 서비스 서버(105)로 전송할 수 있다. The node 103 connected to the access control application must connect to an external server (e.g., control server 102) to perform authentication, and when connecting to the service server 105 after performing authentication, the connection network information is sent to the control server ( 102) can be queried to check whether connection is possible, and if connection is possible, data packets can be transmitted to the service server 105.

게이트웨이(101)는 대상 애플리케이션으로부터 수신된 데이터 패킷을 외부 서버(가령, 제어 서버(102))를 통해서 확인하고, 인가된 대상 애플리케이션이 전송한 데이터 패킷인 경우 이에 대한 응답 데이터 패킷을 대상 애플리케이션으로 전송하는 것을 허용할 수 있다. 예를 들어, 게이트웨이(101)는 데이터 패킷이 수신된 대상 애플리케이션과 터널이 생성되어 있는지 여부를 확인하여, 터널이 생성된 경우에만 데이터 패킷을 목적지로 포워딩할 수 있다. 결과적으로, 비인가 노드는 기본적으로 상호간에 통신을 할 수 없는 상태이고, 인가된 노드라고 하더라도 제어 서버(102)에서 결정된 터널이 생성되지 않으면 데이터 패킷을 전송 및 수신할 수 없다. The gateway 101 checks the data packet received from the target application through an external server (e.g., control server 102), and if it is a data packet transmitted by an authorized target application, transmits a response data packet to the target application. It can be allowed to do so. For example, the gateway 101 can check whether a tunnel has been created with the target application through which the data packet was received, and forward the data packet to the destination only when the tunnel has been created. As a result, unauthorized nodes are basically unable to communicate with each other, and even authorized nodes cannot transmit and receive data packets unless a tunnel determined by the control server 102 is created.

또한, 도 4b를 참조하면, 게이트웨이(101)는 대상 애플리케이션으로부터 데이터 패킷이 수신되면, 노드 및/또는 대상 애플리케이션이 인증되었는지 여부를 판단하고, 노드 및/또는 대상 애플리케이션이 인증되지 않은 경우, 해당 데이터 패킷을 드랍할 수 있다.Additionally, referring to FIG. 4B, when a data packet is received from the target application, the gateway 101 determines whether the node and/or the target application are authenticated, and if the node and/or the target application are not authenticated, the gateway 101 determines whether the node and/or the target application are authenticated. Packets can be dropped.

도 5는 게이트웨이(101)의 대상 애플리케이션 유형 별 동작을 설명하기 위한 도면이다.Figure 5 is a diagram for explaining the operation of the gateway 101 for each target application type.

도 5를 참조하면, 접속 제어 애플리케이션이 설치되지 않은 노드(103)가 서비스 서버(105_1, 105_2)에 접속을 시도하는 경우, 게이트웨이(101)는, 범용 프로토콜에 따른 서비스 요청인지 여부를 확인할 수 있다. 만약, 게이트웨이(101)의 프록시에서 처리할 수 있는 범용 프로토콜(가령, HTTP, FTP 등의 IETF RFC 표준 프로토콜 등)의 경우, 게이트웨이(101)는 데이터 플로우에 의한 상세한 서비스 접속 제어를 수행할 수 있다. 반면에, 프록시에서 처리할 수 없는 네이티브 프로토콜의 경우, 게이트웨이(101)는 데이터 플로우에 의한 접속 제어 및 데이터 패킷 검사를 수행할 수 있다.Referring to FIG. 5, when a node 103 that does not have a connection control application installed attempts to connect to the service servers 105_1 and 105_2, the gateway 101 can check whether the service request is according to a general protocol. . In the case of a general-purpose protocol that can be processed by the proxy of the gateway 101 (e.g., IETF RFC standard protocols such as HTTP and FTP), the gateway 101 can perform detailed service access control by data flow. . On the other hand, in the case of a native protocol that cannot be processed by the proxy, the gateway 101 can perform connection control and data packet inspection by data flow.

도 6은 접속 제어 애플리케이션이 설치되지 않은 노드로부터의 데이터 패킷 포워딩 과정을 개략적으로 도시하고 있다. Figure 6 schematically shows the data packet forwarding process from a node on which an access control application is not installed.

도 6을 참조하면, 동작 605에서, 접속 제어 애플리케이션이 설치되어 있지 않은 노드(103)는 서비스 서버에 접속하기 위한 일련의 데이터 패킷을 전송할 수 있으며, 해당 데이터 패킷은 서비스 서버 및 노드 사이의 경계에 위치하는 게이트웨이(101)를 경유할 수 있다.Referring to FIG. 6, in operation 605, the node 103 on which the access control application is not installed may transmit a series of data packets for accessing the service server, and the data packets are transmitted at the boundary between the service server and the node. It can be passed through the gateway 101 located there.

그리고, 동작 610에서, 게이트웨이(101)는, 제어 서버(102)로부터 획득한 데이터 플로우 정보를 참조하여 접속 제어 애플리케이션이 설치되지 않은 노드(103)로부터 전송된 데이터 패킷인지를 확인할 수 있다. 접속 제어 애플리케이션이 설치되지 않은 노드(103)로부터 전송된 것으로 확인되면, 게이트웨이(101)는, 출발지 IP(가령, 노드 IP)를 기준으로 서비스 서버 IP 및 포트에 접근 가능한 데이터 플로우가 존재하는지 여부를 확인할 수 있다. Then, in operation 610, the gateway 101 may check whether the data packet is transmitted from the node 103 on which the access control application is not installed by referring to the data flow information obtained from the control server 102. If it is confirmed that the access control application is transmitted from the node 103 that is not installed, the gateway 101 determines whether there is a data flow accessible to the service server IP and port based on the source IP (e.g., node IP). You can check it.

동작 615에서, 접근 가능한 데이터 플로우가 존재하는 것으로 확인되면, 해당 노드(103)는 최소한의 인증 및 접근 권한을 제어 서버(102)로부터 이미 획득한 상태이므로, 게이트웨이(101)는 제어 서버(102)로부터 획득한 데이터 플로우에 기반하여 해당 데이터 패킷을 서비스 서버로 포워딩할 수 있다. 이때, 마지막 데이터 패킷 포워딩 시점에 해당하는 시각 또는 Timestamp 정보를 갱신함으로써, 게이트웨이(101) 및 제어 서버(102) 사이에 주기적인 데이터 플로우 동기화를 통해 해당 노드(103)가 지속적으로 네트워크 접속을 수행하고 있음을 제어 서버(102)가 알 수 있도록 할 수 있다.In operation 615, if it is confirmed that an accessible data flow exists, the corresponding node 103 has already obtained the minimum authentication and access authority from the control server 102, so the gateway 101 connects the control server 102 Based on the data flow obtained from , the data packet can be forwarded to the service server. At this time, by updating the time or timestamp information corresponding to the last data packet forwarding point, the corresponding node 103 continuously performs network access through periodic data flow synchronization between the gateway 101 and the control server 102. The control server 102 can be made aware that there is.

반면, 데이터 플로우가 존재하지 않는 경우, 해당 노드(103)는 비인증 노드로 간주될 수 있다. 이와 같은 경우, 게이트웨이(101)는 해당 노드(103)에게 접속 제어 애플리케이션 설치를 유도하거나 별도 인증을 위한 인증 서버(104)와의 통신을 유도하기 위해, 노드(103)로부터 획득한 데이터 패킷이 인증 가능한 프로토콜의 데이터 패킷(가령, HTTP 프로토콜을 사용하는 데이터 패킷)인지 여부를 확인할 수 있다.On the other hand, if no data flow exists, the node 103 may be considered an unauthorized node. In this case, the gateway 101 instructs the node 103 to install an access control application or communicates with the authentication server 104 for separate authentication, so that the data packet obtained from the node 103 can be authenticated. It is possible to check whether it is a protocol data packet (e.g., a data packet using the HTTP protocol).

동작 625에서, 만약 인증 가능한 프로토콜의 데이터 패킷인 경우, 외부 서버 IP 및 외부 서버 포트 정보를 기반으로 하여, 데이터 패킷의 IP 헤더에 포함된 도착지 IP 및 포트를 NAT (Network Address Translation) 처리 함으로써 외부 서버(가령, 인증 서버(104))로 데이터 패킷을 포워딩하고, 동작 630에서, 인증 서버(104)는 데이터 패킷을 수신할 수 있다. 만약 인증 가능한 프로토콜의 데이터 패킷(가령, HTTP 프로토콜을 사용하는 데이터 패킷)이 아닌 경우, 게이트웨이(101)는 데이터 패킷을 드랍할 수 있으나, 이에 한정되는 것은 아니며, 인증 가능한 프로토콜의 데이터 패킷(가령, HTTP 프로토콜을 사용하는 데이터 패킷)의 경우와 유사하게, NAT 처리 후 인증 서버(104)로 포워딩할 수도 있다.In operation 625, if it is a data packet of an authenticable protocol, the destination IP and port included in the IP header of the data packet are processed by NAT (Network Address Translation) based on the external server IP and external server port information to connect to the external server. Forwarding the data packet to (e.g., authentication server 104), at operation 630, authentication server 104 may receive the data packet. If it is not a data packet of an authenticable protocol (e.g., a data packet using the HTTP protocol), the gateway 101 may drop the data packet, but is not limited to this, and is not limited to this. Similar to the case of a data packet using the HTTP protocol), it may be forwarded to the authentication server 104 after NAT processing.

도 7은 접속 제어 애플리케이션이 설치되지 않은 노드(103)가 서비스 요청을 전송하는 경우의 인증 처리 과정을 개략적으로 도시하고 있다. Figure 7 schematically shows the authentication process when a node 103 that does not have an access control application installed transmits a service request.

도 7을 참조하면, 동작 705에서, 접속 제어 애플리케이션이 설치되지 않은 노드(103)가 애플리케이션을 실행하여 서비스 접속을 시도하고, 그에 따라 동작 710에서 서비스 요청을 전송할 수 있다. 동작 715에서, 노드(103)의 서비스 요청은 게이트웨이(101)를 통해 NAT 처리 후 외부 서버(가령, 인증 서버(104))로 포워딩될 수 있다. 다만, 이에 한정되는 것은 아니며, 노드(103)가 인증 서버(104)에 서비스 요청을 직접 전송할 수도 있다. Referring to FIG. 7 , in operation 705, a node 103 that does not have the access control application installed may run the application to attempt to connect to a service, and may accordingly transmit a service request in operation 710. In operation 715, the service request of node 103 may be forwarded to an external server (eg, authentication server 104) after NAT processing through the gateway 101. However, it is not limited to this, and the node 103 may directly transmit a service request to the authentication server 104.

그리고, 동작 720에서, 인증 서버(104)는 서비스 요청을 수신하고, 동작 725에서, 접속 제어 애플리케이션 설치 또는 별도 인증을 수행하기 위한 인증 관련 서비스 정보를 노드(103)에 반환할 수 있다.Then, in operation 720, the authentication server 104 may receive a service request, and in operation 725, return authentication-related service information for installing an access control application or performing separate authentication to the node 103.

그리고, 동작 730에서, 노드(103)는 서비스 접속 결과를 수신하여, 수신된 서비스 접속 결과(가령, 인증 관련 서비스 정보)에 따라 접속 제어 애플리케이션을 설치하여 네트워크 접속 시도를 하거나, 인증 절차를 통해서 네트워크 접속을 수행할 수 있다. 이에 대해서는 도 8을 참조하여 설명하기로 한다.Then, in operation 730, the node 103 receives the service connection result and attempts to connect to the network by installing an access control application according to the received service connection result (e.g., authentication-related service information) or connects to the network through an authentication procedure. Connection can be made. This will be explained with reference to FIG. 8.

도 8은 노드의 디스플레이를 통해 출력되는 인증 관련 서비스 정보를 개략적으로 도시하고 있다.Figure 8 schematically shows authentication-related service information output through the display of the node.

노드(사용자)는 도 8에 도시된 인증 관련 서비스 정보에 기반하여 (i) 접속 제어 애플리케이션(네트워크 접속 제어 애플리케이션)을 설치하거나 (ii) 인증 서버(104)에서 제공되는 별도의 인증 방식 (사용자 ID 기반 인증, QR 인증, Multi Factor Authentication 등)을 통해서 인증 절차를 수행할 수 있다. 노드에 대한 인증이 완료되면 제어 서버(102)는 해당 노드가 접속할 수 있는 서비스 서버 정보를 포함하는 데이터 플로우 정보를 생성하여 게이트웨이(101)로 전송하게 되며, 이후 노드는 서비스 서버로 접속이 가능하게 된다. The node (user) either (i) installs an access control application (network access control application) based on the authentication-related service information shown in FIG. 8 or (ii) uses a separate authentication method (user ID) provided by the authentication server 104. The authentication process can be performed through (based authentication, QR authentication, Multi Factor Authentication, etc.). When authentication for the node is completed, the control server 102 generates data flow information including service server information that the node can access and transmits it to the gateway 101, and the node can then access the service server. do.

도 9는 노드(103)가 외부 서버(가령, 인증 서버(104))에서 제공되는 별도의 인증 방식에 따라 인증 절차를 수행하는 과정을 개략적으로 도시하고 있다. Figure 9 schematically shows a process in which the node 103 performs an authentication procedure according to a separate authentication method provided by an external server (eg, authentication server 104).

도 9를 참조하면, 노드(103)가 인증 요청을 인증 서버(104)로 전송함에 있어서, 동작 905에서와 같이 게이트웨이(101)로 전송 후, 동작 910에서, 게이트웨이(101)를 통해 NAT 처리 후 인증 서버(104)로 포워딩될 수 있으나, 이에 한정되는 것은 아니며, 노드(103)가 인증 서버(104)에 인증 요청을 직접 전송할 수도 있다. Referring to FIG. 9, when the node 103 transmits an authentication request to the authentication server 104, it is transmitted to the gateway 101 as in operation 905, and then after NAT processing through the gateway 101 in operation 910. It may be forwarded to the authentication server 104, but is not limited to this, and the node 103 may directly transmit the authentication request to the authentication server 104.

동작 915에서, 인증 요청이 수신되면, 인증 요청에 대한 처리는 인증 서버(104) 또는 인증 서버 기능을 포함하는 제어 서버(102)에 의해 수행될 수 있으며, 동작 920에서, 인증 서버(104)는 노드(103)로부터 수신된 인증 요청 또는 인증 서버(104)와 연결된 타 인증 시스템(예: Multi Factor Authentication 등) 등의 인증 요청 처리에 의해 인증 요청에 대한 처리를 수행할 수 있다.At operation 915, when an authentication request is received, processing for the authentication request may be performed by the authentication server 104 or a control server 102 that includes authentication server functionality, and at operation 920, the authentication server 104 may: The authentication request may be processed by processing an authentication request received from the node 103 or another authentication system (eg, Multi Factor Authentication, etc.) connected to the authentication server 104.

인증 서버(104)는 노드(103)가 전송한 인증 요청 관련 정보를 확인하고, 인증에 실패한 경우, 인증 실패 정보를 노드(103)에 반환할 수 있다.The authentication server 104 may check the authentication request-related information transmitted by the node 103 and, if authentication fails, return authentication failure information to the node 103.

인증에 성공한 경우, 동작 925에서, 인증 서버(104)는 인증 과정에서 식별된 노드 식별 정보(인증 완료된 노드의 운영체제 정보, 단말 종류 정보 등), 출발지 IP 정보, 사용자 식별 정보 등을 기반으로 제어 서버(102)에 인증을 요청할 수 있다.If authentication is successful, in operation 925, the authentication server 104 connects the control server based on the node identification information (operating system information of the authenticated node, terminal type information, etc.), source IP information, user identification information, etc. identified during the authentication process. You can request authentication at (102).

또한 게이트웨이(101)로부터 인증 서버 리다이렉션을 통해서 인증 요청을 진행하는 경우, 인증 서버는 인증 요청 정보에 포함된 데이터 플로우 식별 정보 및 보안 세션 식별 정보를 포함하여 컨트롤러에 인증 요청할 수 있다.Additionally, when an authentication request is made through authentication server redirection from the gateway 101, the authentication server may request authentication from the controller including data flow identification information and security session identification information included in the authentication request information.

제어 서버(102)는, 노드가 최초 인증을 수행하는 경우, 인증 서버(104)로부터 수신된 인증 요청 정보(노드 식별 정보(인증 완료된 노드의 운영체제 정보, 단말 종류 정보 등), 출발지 IP 정보, 사용자 식별 정보 등)에 따라 제어 플로우를 생성하여 제어 플로우 테이블에 추가할 수 있다.When a node performs initial authentication, the control server 102 receives authentication request information (node identification information (operating system information of the authenticated node, terminal type information, etc.), source IP information, user information, etc.) received from the authentication server 104. You can create a control flow according to (identification information, etc.) and add it to the control flow table.

또한, 동작 930에서, 제어 서버(102)는, 접속 정책 데이터베이스를 조회하여 노드(103)가 접속 가능한 서비스 서버가 존재하는지 여부를 확인하고, 접속 가능한 서비스 서버가 존재하는 경우, 해당 노드(103)가 서비스 서버에 접속할 수 있도록 출발지 IP, 도착지 IP, 서비스 포트 정보, 해당 서비스 서버간에 송수신하는 데이터 패킷의 프로토콜을 검사하기 위한 정보로써 데이터 패킷 전송 및 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보 등 및 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 등을 포함하는 프로토콜 정보 및 게이트웨이(101)에 포함된 프록시를 통해서 접속할 수 있는 서비스 IP와 포트 정보, 프로토콜 정보(예: HTTP, FTP, IoT 전용 프로토콜 등) 및 서비스 요청 필터링 필요 여부, 서비스 요청 필터링 처리 방식, 필터링 정보(예: 개인 정보, 유해 서비스 요청 정보)를 포함하며, 프록시에서 사전에 불필요로 한 또는 위험한 서비스 요청을 차단하기 위한 일련의 정보와 서비스 요청에 대한 QoS (Quality of Service)가 필요로 한 경우 일정 시간 단위로 서비스 요청 가능 횟수를 설정하고 그에 따라 프록시에서 서비스 요청 횟수를 조절하기 위한 일련의 정보, 접속 대상이 보안 세션 생성시 허용된 대상인지 확인하기 위해 인증서 정보, 해당 노드가 데이터 플로우 헤더에 기반하여 서비스 요청을 수행하고, 게이트웨이에서 이를 검사하거나 생성하기 위한 인증 정보 등을 포함하는 일련의 데이터 플로우 정보를 생성하고, 동작 935에서, 게이트웨이(101)에 데이터 플로우 정보를 전송할 수 있으며, 동작 940에서, 인증 서버(104)에 인증 요청 결과 정보를 반환할 수 있다.Additionally, in operation 930, the control server 102 checks the connection policy database to determine whether a service server to which the node 103 can connect exists, and if a service server to which the node 103 can connect exists, the node 103 Information to check the source IP, destination IP, service port information, and protocol of data packets transmitted and received between the service servers so that the service server can be accessed. Protocol identification signature to identify the protocol information included when transmitting and receiving data packets. and version information, header information, protocol information, etc., and, if necessary, to what extent (length) the data packet is inspected to identify the protocol, information on whether to process it as a normal protocol, and when a network connection is attempted or periodically. Protocol information including information about whether to perform a test and status information about whether the test is completed or whether more tests are needed, service IP and port information that can be accessed through the proxy included in the gateway 101, and protocol information. (e.g. HTTP, FTP, IoT-specific protocols, etc.) and whether service request filtering is necessary, service request filtering processing method, filtering information (e.g. personal information, harmful service request information), and any unnecessary or unnecessary information in advance by the proxy. If a series of information to block dangerous service requests and QoS (Quality of Service) for service requests are required, a series of sets to set the number of service requests possible in a certain time unit and adjust the number of service requests in the proxy accordingly A series of information, including certificate information to check whether the connection target is allowed when creating a security session, authentication information for the corresponding node to perform a service request based on the data flow header, and to inspect or create it at the gateway. Data flow information may be generated, and in operation 935, the data flow information may be transmitted to the gateway 101, and in operation 940, authentication request result information may be returned to the authentication server 104.

이때, 상기 인증 정보에 포함된 OTP 생성 정보를 기반으로 OTP를 생성하고 인증 정보 암호화/복호화 키를 통해서 인증 정보를 암호화한 이후 데이터 플로우 식별 정보와 결합한 데이터 플로우 헤더를 포함하여 반환할 수 있다.At this time, the OTP may be generated based on the OTP generation information included in the authentication information, the authentication information may be encrypted using the authentication information encryption/decryption key, and then returned including a data flow header combined with the data flow identification information.

한편, 제어 서버(102)는, 노드가 최초 인증이 아닌 게이트웨이로부터 인증 서비스 리다이렉션에 의해 인증을 수행하는 경우, 수신된 서비스 서버 식별 정보(IP 또는 도메인, 포트 정보) 및 인증 서버로부터 수신된 인증 요청 정보(노드 식별 정보(인증 완료된 노드의 운영체제 정보, 단말 종류 정보), 출발지 IP 정보, 사용자 식별 정보)에 기반하여 데이터 플로우를 탐색할 수 있다.Meanwhile, when the node performs authentication by authentication service redirection from the gateway rather than by initial authentication, the control server 102 uses the received service server identification information (IP or domain, port information) and the authentication request received from the authentication server. Data flow can be searched based on information (node identification information (operating system information of the authenticated node, terminal type information), source IP information, user identification information).

데이터 플로우가 존재하지 않는 경우, 제어 서버(102)는 인증 실패 정보를 반환할 수 있다.If a data flow does not exist, control server 102 may return authentication failure information.

데이터 플로우가 존재하는 경우, 제어 서버(102)는 데이터 플로우 인증 정보에 포함된 OTP 생성 정보를 기반으로 OTP를 생성하고 인증 정보 암호화/복호화 키를 통해서 인증 정보를 암호화한 이후 데이터 플로우 식별 정보와 결합한 데이터 플로우 헤더를 포함하여 반환할 수 있다.If a data flow exists, the control server 102 generates an OTP based on the OTP generation information included in the data flow authentication information, encrypts the authentication information using the authentication information encryption/decryption key, and then combines it with the data flow identification information. It can be returned including a data flow header.

그리고, 동작 945에서, 인증 서버(104)가 인증 요청 처리 결과를 노드(103)에 반환하게 되면, 노드(103)는 접속 제어 애플리케이션 설치 없이도 제2 접근 권한(가령, 최소한의 접근 권한)으로 서비스 서버에 접속할 수 있다. Then, in operation 945, when the authentication server 104 returns the authentication request processing result to the node 103, the node 103 provides the service with the second access authority (e.g., minimal access authority) without installing the access control application. You can connect to the server.

위와 같이 인증이 완료된 노드가 인증 해제를 요청하는 경우에 대해서는 도 10을 참조하여 설명하기로 한다.The case where a node whose authentication has been completed requests deauthentication as described above will be described with reference to FIG. 10.

도 10을 참조하면, 노드(103)는 인증 해제 요청 기능을 통해서 외부 서버(가령, 인증 서버(104))로 인증 해제 요청을 전송할 수 있는데, 이때, 동작 1005와 같이 게이트웨이로 인증 해제 요청을 전송한 후, 동작 1010과 같이 게이트웨이(101)에서 NAT 처리 후 관련 데이터 패킷이 인증 서버로 포워딩될 수 있으나, 이에 한정되는 것은 아니며, 노드(103)가 인증 서버(104)로 인증 해제 요청을 전송할 수도 있다.Referring to FIG. 10, the node 103 may transmit a deauthentication request to an external server (e.g., the authentication server 104) through the deauthentication request function. In this case, the deauthentication request is transmitted to the gateway in operation 1005. Afterwards, the relevant data packet may be forwarded to the authentication server after NAT processing in the gateway 101 as in operation 1010, but the present invention is not limited thereto, and the node 103 may transmit a request for deauthentication to the authentication server 104. there is.

동작 1015에서, 인증 서버(104)는 인증 해제 요청을 수신하고, 인증 해제 요청 처리는 인증 서버(104) 또는 인증 서버 기능을 포함하는 제어 서버(102)에 의해서 수행될 수 있으며, 동작 1020에서, 인증 서버(104)는 노드(103)로부터 수신된 인증 해제 요청 또는 인증 서버(104)와 연결된 타 인증 시스템(예: Multi Factor Authentication 등) 등의 인증 해제 요청 처리에 의해 인증 해제 요청을 처리할 수 있다.At operation 1015, the authentication server 104 receives a deauthentication request, and processing the deauthentication request may be performed by the authentication server 104 or a control server 102 including an authentication server function, and at operation 1020, The authentication server 104 can process a deauthentication request by processing a deauthentication request received from the node 103 or a deauthentication request from another authentication system (e.g., Multi Factor Authentication, etc.) connected to the authentication server 104. there is.

인증 서버(104)는, 노드(103)가 전송한 인증 해제 요청 관련 정보를 확인하고, 인증 해제 요청에 실패한 경우, 인증 해제 실패 정보를 노드(103)에 반환할 수 있다. The authentication server 104 may check the information related to the deauthentication request transmitted by the node 103 and, if the deauthentication request fails, return the deauthentication failure information to the node 103.

동작 1025에서, 인증 해제를 위한 정보가 유효한 경우, 인증 서버(104)는, 식별된 노드 식별 정보(인증 완료된 노드의 운영체제 정보, 단말 종류 정보 등), 출발지 IP 정보, 사용자 식별 정보 등을 기반으로 제어 서버(102)에 노드(103)에 대한 인증 해제를 요청할 수 있다.In operation 1025, if the information for de-authentication is valid, the authentication server 104 based on the identified node identification information (operating system information of the authenticated node, terminal type information, etc.), source IP information, user identification information, etc. The control server 102 may be requested to deauthenticate the node 103.

동작 1030에서, 제어 서버(102)는 인증 서버(104)로부터 수신된 인증 해제 요청 정보(노드 식별 정보(인증 완료된 노드의 운영체제 정보, 단말 종류 정보 등), 출발지 IP 정보, 사용자 식별 정보)에 따라 제어 플로우를 제거하며, 제어 플로우에 종속되어 있는 일련의 데이터 플로우 정보를 제거할 수 있다.In operation 1030, the control server 102 performs deauthentication request information (node identification information (operating system information of the authenticated node, terminal type information, etc.), source IP information, user identification information) received from the authentication server 104. A control flow can be removed, and a series of data flow information dependent on the control flow can be removed.

동작 1035에서, 제어 서버(102)가, 제거된 데이터 플로우 정보를 게이트웨이(101)로 전파하고, 동작 1040에서, 인증 해제 요청 처리 결과를 인증 서버(104)에 반환할 수 있다. In operation 1035, the control server 102 may propagate the removed data flow information to the gateway 101, and in operation 1040, the result of processing the deauthentication request may be returned to the authentication server 104.

그리고, 동작 1045에서, 인증 서버(104)는 인증 해제 요청 처리 결과를 노드(103)에 반환하며, 인증 해제가 완료된 경우, 노드(103)는 이후 접속 제어 애플리케이션 설치 또는 별도의 인증 프로세스를 수행해야 서비스 서버에 접속할 수 있는 상태가 될 수 있다.Then, in operation 1045, the authentication server 104 returns a deauthentication request processing result to the node 103, and when deauthentication is completed, the node 103 must then install an access control application or perform a separate authentication process. You may be in a state where you can connect to the service server.

도 11은 논리적 연결 생성에 필요한 인증 정보와 관련된 다양한 실시예들에 따른 데이터 패킷을 도시한다. 11 illustrates a data packet according to various embodiments related to authentication information required for creating a logical connection.

도 11을 참조하면, 노드(단말) 헤더 정보가 포함된 UDP 데이터 패킷(1110)은 IP 헤더와 노드 헤더(Device Header), 페이로드(Payload)를 포함할 수 있다. 예를 들어, 노드 헤더(1130)는 노드 식별 정보와 노드 인증 정보를 포함할 수 있다. Referring to FIG. 11, a UDP data packet 1110 including node (terminal) header information may include an IP header, a node header (Device Header), and a payload. For example, node header 1130 may include node identification information and node authentication information.

또한, 노드 헤더 정보가 포함된 TCP 데이터 패킷(1120)은 IP 헤더, TCP 헤더, 노드 헤더 및 페이로드를 포함할 수 있다. 예를 들어, 노드 헤더(1130)는 노드 식별 정보와 노드 인증 정보를 포함할 수 있다.Additionally, the TCP data packet 1120 including node header information may include an IP header, TCP header, node header, and payload. For example, node header 1130 may include node identification information and node authentication information.

실시예에 따르면, 노드 인증 정보는 노드(103)에서 전송되는 모든 네트워크 접속을 공통적으로 인증하거나, 네트워크 접속 단위(도착지 IP 및 포트)로 인증하기 위한 정보일 수 있다. According to the embodiment, the node authentication information may be information for commonly authenticating all network connections transmitted from the node 103 or for authenticating by network connection unit (destination IP and port).

노드(103)는 사전에 제어 서버(102)로부터 부여 받은 노드 식별 정보 및 인증 정보를 삽입하는 방식(예: TCP의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷별 인증 정보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입, 삽입 방식 및 시점 등), 인증 정보 암호화를 위한 정보, 인증 정보 생성을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보) 중 적어도 어느 하나)에 기반하여 노드 헤더를 생성하여 데이터 패킷에 포함시킬 수 있다. 데이터 패킷에 포함된 노드 헤더는 게이트웨이(101) 또는 제어 서버(102)에 의해 인증이 수행되어 정상적으로 전송된 데이터 패킷인지 여부가 검사될 수 있다. The node 103 inserts the node identification information and authentication information previously given by the control server 102 (e.g., for TCP, inserts TCP SYN packets, for UDP, inserts authentication information for each data packet or at regular intervals ( (or cycle), insertion of authentication information, insertion method and timing, etc.), information for encryption of authentication information, algorithm information for generating authentication information, and a series of information included in the algorithm (e.g. information such as Secret Key when generating HMAC OTP) A node header may be created based on at least one of the following and included in the data packet. The node header included in the data packet may be authenticated by the gateway 101 or the control server 102 to check whether it is a normally transmitted data packet.

도 12는, 접속 제어 애플리케이션이 설치된 노드(103)의 외부 서버(가령, 제어 서버(102)) 접속 단계를 개략적으로 도시하고 있다. FIG. 12 schematically shows the steps of connecting a node 103 on which a connection control application is installed to an external server (eg, control server 102).

도 12를 참조하면, 동작 1205에서, 노드(103)에 설치된 접속 제어 애플리케이션이 제어 플로우(제어 데이터 패킷 흐름 및 일련의 세션)를 생성하기 위해 제어 서버(102)에 접속을 요청할 수 있다.Referring to FIG. 12, at operation 1205, a connection control application installed on node 103 may request a connection to control server 102 to create a control flow (control data packet flow and a series of sessions).

동작 1210에서, 제어 서버(102)는 접속 요청을 확인하고, 정책 데이터베이스(가령, 접속 정책 데이터베이스 및 터널 정책 데이터베이스, 블랙리스트 데이터베이스 등)에 기반하여, 접속 제어 애플리케이션이 접속 요청한 정보(노드의 종류, 위치 정보, 환경 및 노드가 포함되어 있는 네트워크, 접속 제어 애플리케이션 정보, 해당 노드가 인가된 노드인지를 식별하기 위한 사용자 또는 기기 인증 정보 등)를 참조하여 노드(103)가 접속 가능한 상태인지 여부를 확인할 수 있으며, 노드 및 네트워크 식별 정보 (노드 ID, IP, MAC 주소 등)가 블랙리스트에 포함되어 있는지 여부를 검사할 수 있다.At operation 1210, the control server 102 verifies the connection request and, based on a policy database (e.g., a connection policy database and a tunnel policy database, a blacklist database, etc.), collects information (type of node, etc.) that the connection control application has requested to connect. Check whether the node 103 is accessible by referring to location information, environment and network containing the node, access control application information, user or device authentication information to identify whether the node is an authorized node, etc. You can check whether node and network identification information (node ID, IP, MAC address, etc.) is included in the blacklist.

만약 노드(103)의 접속이 불가능하거나 블랙리스트에 포함된 경우 제어 서버(102)는 접속 불가 정보를 노드(103)에 전송하며, 노드(103)는, 접속 제어 애플리케이션의 실행을 중지하고 종료하거나, 관련 오류 정보를 출력할 수 있다.If the node 103 is unavailable for connection or is included in the blacklist, the control server 102 transmits unconnectable information to the node 103, and the node 103 stops running the access control application and terminates it. , related error information can be output.

반면, 동작 1215에서, 접속 가능한 노드로 판단되면, 제어 서버(102)는, 제어 플로우를 생성하고 난수 형태로 제어 플로우 ID를 생성하며, 노드 및 네트워크 식별 정보(노드 ID, IP, MAC 주소 등)를 제어 플로우 테이블에 추가할 수 있다.On the other hand, in operation 1215, if it is determined that the node is reachable, the control server 102 generates a control flow, generates a control flow ID in the form of a random number, and provides node and network identification information (node ID, IP, MAC address, etc.) can be added to the control flow table.

동작 1220에서, 제어 서버(102)는 식별된 정보(노드, 출발지 네트워크 정보 등)와 매칭되는 접속 정책 데이터베이스 및 터널 정책 데이터베이스를 참조하여, 현재 접속된 노드(103)가 기본적으로 연결할 수 있는 목적지 네트워크 정보가 존재하는지 확인하고, 접속 가능한 애플리케이션 화이트리스트 정보를 생성할 수 있다.In operation 1220, the control server 102 refers to the connection policy database and tunnel policy database matching the identified information (node, source network information, etc.) to determine the destination network to which the currently connected node 103 can connect by default. You can check whether information exists and create whitelist information for accessible applications.

제어 서버(102)는, 제어 플로우를 식별하기 위한 제어 플로우 ID 및 애플리케이션 화이트리스트 정보를 반환할 수 있다.The control server 102 may return control flow ID and application whitelist information to identify the control flow.

또한, 제어 서버(102)는, 노드(103)의 종류, 위치 정보, 환경 및 노드(103)가 포함되어 있는 네트워크 등의 정보, 노드(103)의 IP 등을 참조하여 노드(103)에 연결할 수 있는 터널 종류 및 게이트웨이(101)를 목록화하고, 목록화된 게이트웨이의 상태(처리량, 장애 여부)를 확인하여 최적의 터널 및 최적의 게이트웨이를 식별할 수 있다.In addition, the control server 102 connects to the node 103 by referring to the type of the node 103, location information, environment, network including the node 103, IP of the node 103, etc. By listing possible tunnel types and gateways 101 and checking the status (throughput, failure status) of the listed gateways, the optimal tunnel and optimal gateway can be identified.

동작 1225에서, 노드(103)에 접속 가능한 터널 및 게이트웨이가 존재하는 경우, 제어 서버(102)는 터널을 생성하기 위한 게이트웨이 및 터널 인증 등의 일련의 정보를 노드(103)에 전송할 수 있다. In operation 1225, if there is a tunnel and a gateway accessible to the node 103, the control server 102 may transmit a series of information, such as a gateway and tunnel authentication for creating a tunnel, to the node 103.

동작 1230에서, 새로운 터널 생성이 필요한 경우, 노드(103)는 제어 서버(102)로부터 수신한 터널 생성을 위한 게이트웨이 및 터널 인증 등 터널 생성이 필요로 한 일련의 정보를 기반으로 해당 게이트웨이(101)에 터널 생성을 요청함으로써 터널이 생성될 수 있다.In operation 1230, when it is necessary to create a new tunnel, the node 103 creates the corresponding gateway 101 based on a series of information required for tunnel creation, such as the gateway and tunnel authentication for tunnel creation received from the control server 102. A tunnel can be created by requesting tunnel creation.

터널 생성이 완료된 경우, 제어 서버(102)는 터널 생성 완료 정보 및/또는 터널 생성에 따라 설정된 전용 IP 정보를 획득할 수 있으며, 터널 전용 IP 및 해당 터널 생성 정보를 터널 테이블에 등록하고 노드(103)가 전송한 일련의 정보를 제어 플로우에 갱신할 수 있다.When tunnel creation is completed, the control server 102 may obtain tunnel creation completion information and/or dedicated IP information set according to tunnel creation, register the tunnel dedicated IP and corresponding tunnel creation information in the tunnel table, and node (103 ) can be updated in the control flow.

동작 1235에서, 만약 새로운 터널이 생성되지 않고, 노드(103)가 속한 네트워크에 존재하는 게이트웨이(101)와 목적지 네트워크 경계에 존재하는 게이트웨이(101) 사이에 사전에 연결된 터널을 통해서 접속하는 경우, 또는 노드(103)와 목적지 네트워크 경계 사이에 타 터널 기술을 통해서 접속하는 경우, 제어 서버(102)는 별도의 터널 생성 정보를 노드(103)에 전송하지 않을 수 있다. 만약 터널 생성이 필요로 하지 않은 경우, 애플리케이션 화이트리스트 검사가 수행될 수 있다.In operation 1235, if a new tunnel is not created and the node 103 is connected through a tunnel previously connected between the gateway 101 existing in the network to which it belongs and the gateway 101 existing at the border of the destination network, or When connecting between the node 103 and the destination network boundary through another tunnel technology, the control server 102 may not transmit separate tunnel creation information to the node 103. If tunnel creation is not required, an application whitelist check may be performed.

동작 1240에서, 제어 서버(102)는, 노드(103)가 전송한 애플리케이션 설치 목록에 따라 해당 네트워크에 연결된 노드의 접속을 허용하기 위해 접속 정책 데이터베이스 및 서비스 정책 데이터베이스를 참조하여 해당 노드가 위치한 게이트웨이를 확인하고, 해당 노드가 네트워크 접속 요청 절차 없이 네트워크 접속을 허용 할 수 있도록 출발지 IP, 도착지 IP, 서비스 포트 정보, 해당 애플리케이션이 송수신하는 데이터 패킷의 프로토콜을 검사하기 위한 정보로서 데이터 패킷 전송 및 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보 등 및 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 프로토콜 검사를 네트워크 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 등을 포함하는 프로토콜 정보 및 게이트웨이에 포함된 프록시를 통해서 접속할 수 있는 서비스 IP와 포트 정보, 프로토콜 정보(예 : HTTP, FTP, IoT 전용 프로토콜 등) 및 서비스 요청 필터링 필요 여부, 서비스 요청 필터링 처리 방식, 필터링 정보(예 : 개인 정보, 유해 서비스 요청 정보)를 포함하며, 프록시에서 사전에 불필요로 한 또는 위험한 서비스 요청을 차단하기 위한 일련의 정보와 서비스 요청에 대한 QoS (Quality of Service)가 필요로 한 경우 일정 시간 단위로 서비스 요청 가능 횟수를 설정하고 그에 따라 프록시에서 서비스 요청 횟수를 조절하기 위한 일련의 정보, 접속 대상이 보안 세션 생성시 허용된 대상인지 확인하기 위해 인증서 정보 등을 포함하는 데이터 플로우 정보를 생성/갱신/처리하고, 동작 1245 및 동작 1250에서, 노드(103) 및 게이트웨이에 해당 정보를 전송하고, 동작 1255에서, 게이트웨이(101)는 데이터 플로우 정보를 수신할 수 있다.In operation 1240, the control server 102 refers to the connection policy database and the service policy database to determine the gateway where the node is located in order to allow the node connected to the network to access the network according to the application installation list transmitted by the node 103. Information to check the source IP, destination IP, service port information, and protocol of data packets sent and received by the application so that the node can allow network access without a network connection request procedure, including when transmitting and receiving data packets. Protocol identification signature and version information, header information, protocol information, etc. to identify the protocol information, and if necessary, to what extent (length) the data packet is inspected to identify the protocol and process it as a normal protocol. , whether the protocol check will be performed by a network access control application or by transmitting data packet information to the controller, information about whether the protocol will be checked at the time of a network connection attempt or periodically, and whether the check has been completed or whether further checks are required. Protocol information including status information on whether it is needed, service IP and port information that can be accessed through the proxy included in the gateway, protocol information (e.g. HTTP, FTP, IoT-specific protocol, etc.), and whether service request filtering is necessary. , service request filtering processing method, filtering information (e.g. personal information, harmful service request information), a series of information to block unnecessary or dangerous service requests in advance at the proxy, and QoS (Quality) for service requests. of Service, a set of information to set the number of service requests possible in a certain time unit and adjust the number of service requests in the proxy accordingly, and certificate information to check whether the connection target is allowed when creating a secure session. Create/update/process data flow information including, and in operations 1245 and 1250, transmit the information to the node 103 and the gateway, and in operation 1255, the gateway 101 receives the data flow information. You can.

그리고, 노드(103) 및/또는 게이트웨이(101)는 제어 서버(102)로부터 갱신된 데이터 플로우 정보를 수신하면, 이를 참조하여 데이터 플로우 정보를 갱신할 수 있다.And, when the node 103 and/or the gateway 101 receives updated data flow information from the control server 102, it can update the data flow information by referring to it.

도 13은, 접속 제어 애플리케이션이 설치된 노드(103)의 사용자 인증 단계를 개략적으로 도시하고 있다. Figure 13 schematically shows the user authentication steps of the node 103 on which the access control application is installed.

도 13을 참조하면, 동작 1305에서, 노드(103)의 접속 제어 애플리케이션은 외부 서버(가령, 제어 서버(102))와의 제어 플로우 생성 이후 사용자 ID 및 비밀번호 또는 강화된 인증 방법에 의한 인증 정보를 전송함으로써 사용자 인증을 요청할 수 있다.Referring to FIG. 13, in operation 1305, the access control application of node 103 generates a control flow with an external server (e.g., control server 102) and then transmits authentication information using a user ID and password or an enhanced authentication method. You can request user authentication by doing this.

동작 1310에서, 제어 서버(102)는 사용자 인증 요청을 수신하고, 접속 제어 애플리케이션이 인증 요청한 정보(사용자 ID 및 비밀번호, 강화된 인증 정보 등)를 기반으로 해당 노드(103)의 사용자가 접속 가능한 사용자인지 여부 및 해당 사용자가 블랙리스트에 포함되어 있는지 여부를 검사하여 해당 사용자가 차단되어 있는지 여부를 확인하며, 만약 접속이 불가능하거나 블랙리스트에 포함된 경우 노드(103)에 접속 불가 정보를 전송할 수 있다.In operation 1310, the control server 102 receives a user authentication request, and determines whether the user of the node 103 can access the user based on the information requested for authentication by the access control application (user ID and password, enhanced authentication information, etc.). It checks whether the user is recognized and whether the user is included in the blacklist to check whether the user is blocked. If access is not possible or is included in the blacklist, information about the inability to access can be transmitted to the node 103. .

동작 1315에서, 접속 가능한 사용자인 것으로 확인되면, 제어 서버(102)는 제어 플로우 ID를 참조하여 제어 플로우 테이블에서 대응되는 제어 플로우를 검색하고, 제어 플로우의 식별 정보에 사용자 식별 정보(사용자 ID)를 추가할 수 있으며, 사용자 인증 결과로서 인증 완료 상태 및 인증된 사용자의 접속 정책 정보를 노드(103)에 반환할 수 있다.In operation 1315, if it is confirmed that the user is able to connect, the control server 102 searches the control flow table for the corresponding control flow with reference to the control flow ID, and adds user identification information (user ID) to the control flow's identification information. It can be added, and as a result of user authentication, the authentication completion status and the access policy information of the authenticated user can be returned to the node 103.

동작 1320에서, 제어 서버(102)는 식별된 정보(노드, 출발지 네트워크 정보 등)와 매칭되는 접속 정책 데이터베이스 및 터널 정책 데이터베이스를 참조하여, 현재 접속된 노드(103)가 연결할 수 있는 목적지 네트워크 정보가 존재하는지 확인하고, 접속 가능한 애플리케이션 화이트리스트 정보를 생성할 수 있다.In operation 1320, the control server 102 refers to the connection policy database and tunnel policy database matching the identified information (node, source network information, etc.) to determine destination network information to which the currently connected node 103 can connect. You can check whether it exists and create whitelist information for accessible applications.

접속이 가능한 경우, 해당 노드(103)가 목적지 네트워크에 접속하기 위해서 제어 플로우에 포함된 노드(103)의 종류, 위치 정보, 환경 및 노드가 포함되어 있는 네트워크 등의 정보와 제어 서버(102)를 통해서 식별된 노드의 IP 및 노드에서 식별된 노드의 IP 등을 통해서 노드(103)가 연결할 수 있는 터널 종류와 게이트웨이를 목록화하고, 목록화된 게이트웨이의 상태 (처리량, 장애 여부)를 확인하여 최적의 터널 및 최적의 게이트웨이를 식별할 수 있다.If connection is possible, the corresponding node 103 must send information such as the type, location information, environment, and network containing the node included in the control flow to the control server 102 in order to connect to the destination network. List the types of tunnels and gateways that the node 103 can connect to through the IP of the node identified through the node and the IP of the node identified in the node, and check the status (throughput, failure status) of the listed gateway to optimize Tunnels and optimal gateways can be identified.

동작 1325에서, 노드(103)에 접속 가능한 터널 및 게이트웨이가 존재하는 경우, 제어 서버(102)는 터널을 생성하기 위한 게이트웨이 및 터널 인증 등의 일련의 정보를 노드(103)에 전송할 수 있다. In operation 1325, if there is a tunnel and a gateway accessible to the node 103, the control server 102 may transmit a series of information, such as a gateway and tunnel authentication for creating a tunnel, to the node 103.

노드(103)와 게이트웨이(101) 사이에 터널이 생성되는 구조가 아니고 노드(103)가 속한 네트워크에 존재하는 게이트웨이(101)와 목적지 네트워크 경계에 존재하는 게이트웨이(101) 사이에 사전에 연결된 터널을 통해서 접속하는 경우, 또는 노드(103)와 목적지 네트워크 경계 사이에 타 터널 기술을 통해서 접속하는 경우, 별도의 터널 생성 정보를 노드(103)에 전송하지 않을 수 있다.Rather than a structure in which a tunnel is created between the node 103 and the gateway 101, a tunnel is pre-connected between the gateway 101 existing in the network to which the node 103 belongs and the gateway 101 existing at the border of the destination network. When connecting through the network, or when connecting through another tunnel technology between the node 103 and the destination network boundary, separate tunnel creation information may not be transmitted to the node 103.

동작 1330에서, 노드(103)는 제어 서버(102)로부터 수신된 사용자 인증 요청 처리 결과값을 처리하며, 터널 생성이 필요로 한 경우, 제어 서버(102)로부터 수신한 터널 생성을 위한 게이트웨이(101) 및 터널 인증 등 터널 생성이 필요로 한 일련의 정보를 기반으로 해당 게이트웨이(101)에 터널 생성을 요청함으로써 터널이 생성될 수 있다.In operation 1330, the node 103 processes the user authentication request processing result received from the control server 102, and when tunnel creation is required, the gateway 101 for tunnel creation received from the control server 102 ) and tunnel authentication, a tunnel can be created by requesting the corresponding gateway 101 to create a tunnel based on a series of information required for tunnel creation.

터널 생성이 완료되면, 노드(103)는 터널 생성 완료 정보 및 터널 생성에 따라 설정된 전용 IP가 있는 경우 IP 정보를 제어 서버(102)에 전송할 수 있다. 동작 1335에서, 제어 서버(102)로부터 애플리케이션 화이트리스트를 수신한 경우, 해당 애플리케이션이 노드(103)에 설치되어 있는지 여부를 확인한 결과를 제어 서버(102)로 전송할 수 있다.When tunnel creation is completed, the node 103 may transmit tunnel creation completion information and IP information, if there is a dedicated IP set according to tunnel creation, to the control server 102. In operation 1335, when an application whitelist is received from the control server 102, a result of checking whether the corresponding application is installed on the node 103 may be transmitted to the control server 102.

동작 1340에서, 제어 서버(102)는 터널 생성 처리 결과에 따라 터널 생성이 완료된 경우 노드(103)에 할당된 터널 전용 IP 및 해당 터널 생성 정보를 터널 테이블에 등록하고 노드(103)가 전송한 일련의 정보를 식별된 제어 플로우에 갱신할 수 있다. 또한 노드(103)가 전송한 애플리케이션 설치 목록에 따라 해당 네트워크에 연결된 노드의 접속을 허용하기 위해 접속 및 서비스 정책에서 해당 노드가 위치한 게이트웨이를 확인하고, 해당 노드가 네트워크 접속 요청 절차 없이 네트워크 접속을 허용 할 수 있도록 출발지 IP, 도착지 IP, 서비스 포트 정보, 해당 애플리케이션이 송수신하는 데이터 패킷의 프로토콜을 검사하기 위한 정보로써 데이터 패킷 전송 및 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보 등 및 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 프로토콜 검사를 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 등을 포함하는 프로토콜 정보 및 게이트웨이에 포함된 프록시를 통해서 접속할 수 있는 서비스 IP와 포트 정보, 프로토콜 정보(예: HTTP, FTP, IoT 전용 프로토콜 등) 및 서비스 요청 필터링 필요 여부, 서비스 요청 필터링 처리 방식, 필터링 정보(예: 개인 정보, 유해 서비스 요청 정보)를 포함하며, 프록시에서 사전에 불필요로 한 또는 위험한 서비스 요청을 차단하기 위한 일련의 정보와 서비스 요청에 대한 QoS (Quality of Service)가 필요로 한 경우 일정 시간 단위로 서비스 요청 가능 횟수를 설정하고 그에 따라 프록시에서 서비스 요청 횟수를 조절하기 위한 일련의 정보, 접속 대상이 보안 세션 생성시 허용된 대상인지 확인하기 위해 인증서 정보 등을 포함하는 데이터 플로우 정보를 생성할 수 있다. 동작 1345 및 동작 1350에서, 제어 서버(102)는 노드(103) 및 게이트웨이(101)에 해당 정보를 전송하고, 동작 1355에서, 게이트웨이(101)는 데이터 플로우 정보를 수신할 수 있다.In operation 1340, when the tunnel creation is completed according to the result of the tunnel creation process, the control server 102 registers the tunnel dedicated IP assigned to the node 103 and the corresponding tunnel creation information in the tunnel table and sends the serial number transmitted by the node 103. Information can be updated in the identified control flow. In addition, in order to allow a node connected to the network according to the application installation list transmitted by the node 103, the gateway where the node is located is checked in the connection and service policy, and the node is allowed to access the network without a network access request procedure. Information to check the source IP, destination IP, service port information, and protocol of data packets transmitted and received by the application. Protocol identification signature and version information, header to identify protocol information included when transmitting and receiving data packets. Information, protocol information, etc., and if necessary, to what extent (length) the data packet will be inspected to identify the protocol, information on whether to process it as a normal protocol, whether the access control application will perform the protocol inspection, or data packet information. Protocol information and gateway information, including information about whether to transmit to the controller and perform a protocol check, when a network connection is attempted or periodically, and status information about whether the check has been completed or whether more testing is needed. Service IP and port information that can be accessed through the included proxy, protocol information (e.g. HTTP, FTP, IoT-specific protocol, etc.) and whether service request filtering is necessary, service request filtering processing method, filtering information (e.g. personal information, harmful Service request information), a series of information to block unnecessary or dangerous service requests in advance from the proxy, and the number of service requests that can be made in a certain period of time if QoS (Quality of Service) for the service request is required. You can set and generate data flow information including a series of information to adjust the number of service requests in the proxy accordingly, and certificate information to check whether the connection target is permitted when creating a security session. In operations 1345 and 1350, the control server 102 transmits corresponding information to the node 103 and the gateway 101, and in operation 1355, the gateway 101 may receive data flow information.

만약 제어 서버(102)에 의해서 터널 생성이 불필요로 한 경우 또는 터널 생성이 완료된 경우, 제어 서버(102)는 터널 생성 완료 정보 및/또는 터널 생성에 따라 설정된 전용 IP 정보를 획득할 수 있으며, 노드(103)에 할당된 터널 전용 IP 및 해당 터널 생성 정보를 터널 테이블에 등록하고 노드(103)가 전송한 일련의 정보를 식별된 제어 플로우에 갱신할 수 있다.If tunnel creation is unnecessary or tunnel creation is completed by the control server 102, the control server 102 can obtain tunnel creation completion information and/or dedicated IP information set according to tunnel creation, and the node The tunnel dedicated IP assigned to (103) and the corresponding tunnel creation information can be registered in the tunnel table, and a series of information transmitted by node 103 can be updated in the identified control flow.

그리고, 제어 서버(102)로부터 갱신된 데이터 플로우 정보가 수신되면, 노드(103)는 이를 참조하여 노드(103)에 저장된 데이터 플로우 정보를 갱신할 수 있다.And, when updated data flow information is received from the control server 102, the node 103 can update the data flow information stored in the node 103 by referring to it.

도 14는, 접속 제어 애플리케이션이 설치된 노드(103)의 네트워크 접속 처리 단계를 개략적으로 도시하고 있다.Figure 14 schematically shows the network connection processing steps of the node 103 on which the connection control application is installed.

도 14를 참조하면, 동작 1405에서, 노드(103)의 접속 제어 애플리케이션은 대상 애플리케이션의 네트워크 접속을 탐지할 수 있다. 동작 1410에서, 목적지 네트워크와 통신하기 위해 대상 애플리케이션 식별 정보, 도착지 IP와 포트 정보를 기반으로 데이터 플로우 정보가 존재하는지 확인할 수 있다(1410). 유효한 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션은 게이트 웨이로 데이터 패킷을 전송할 수 있다. 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 전송 불가 상태 또는 과거에 제어 서버(102)에 의해 네트워크 접속이 거절된 경우), 데이터 패킷은 드랍될 수 있다.Referring to FIG. 14, in operation 1405, the connection control application of node 103 may detect the network connection of the target application. In operation 1410, it may be confirmed whether data flow information exists based on target application identification information and destination IP and port information in order to communicate with the destination network (1410). If a valid data flow exists, the access control application can transmit data packets to the gateway. If a data flow exists but is not valid (e.g., in a non-transmittable state or if network access was previously denied by the control server 102), the data packet may be dropped.

동작 1415에서, 데이터 플로우가 존재하지 않는 경우, 인증 시각이 만료되는 등의 이유로 데이터 플로우 갱신이 필요한 경우, 네트워크 접속 요청을 전송할 수 있다.In operation 1415, if the data flow does not exist or if the data flow needs to be updated due to reasons such as the authentication time expiring, a network connection request may be transmitted.

동작 1420에서, 제어 서버(102)는 제어 플로우 상에 식별된 정보(노드, 애플리케이션, 출발지 네트워크 정보 등)와 매칭되는 접속 정책 데이터베이스를 참조하여, 접속 요청한 식별 정보(도착지 IP 및 서비스 포트 정보 등)가 포함되었는지 여부 및 해당 식별 정보로 매핑된 서비스 서버로의 접속 가능 여부를 확인할 수 있다.In operation 1420, the control server 102 refers to the connection policy database matching the information identified on the control flow (node, application, source network information, etc.) and identifies the connection request (destination IP and service port information, etc.). You can check whether is included and whether it is possible to connect to the service server mapped with the corresponding identification information.

매핑된 서비스 서버로의 접속이 불가능한 경우, 제어 서버(102)는 노드(103)에 접속 불가 결과를 전송할 수 있으며, 이에 따라 데이터 패킷이 드랍될 수 있다.If connection to the mapped service server is not possible, the control server 102 may transmit a connection inaccessibility result to the node 103, and data packets may be dropped accordingly.

매핑된 서비스 서버로의 접속이 가능한 경우, 제어 서버(102)는 해당 네트워크에 접속하기 위해 터널 테이블에서 터널이 생성되었는지 여부를 확인할 수 있다.If connection to the mapped service server is possible, the control server 102 can check whether a tunnel has been created in the tunnel table to connect to the corresponding network.

동작 1425에서, 터널이 생성되어 있지 않은 경우, 제어 서버(102)는 터널 정책 데이터베이스 및 프로토콜 정책 데이터베이스 중 적어도 일부를 참조하여, 해당 서비스에 접속하기 위해서 반드시 터널이 생성되어 있어야 하는지 확인하고, 반드시 터널이 생성되어 있어야 하는 것으로 확인되면, 제어 서버(102)는 노드(103)에 접속 불가 결과를 전송할 수 있다.In operation 1425, if the tunnel has not been created, the control server 102 refers to at least part of the tunnel policy database and the protocol policy database to check whether a tunnel must be created to access the corresponding service, and the tunnel must be created. If it is confirmed that the node 102 should be created, the control server 102 may transmit an unreachable result to the node 103.

터널이 이미 생성되어 있거나, 터널 생성이 불필요로 한 것으로 확인되면, 제어 서버(102)는, 데이터 플로우 테이블에서 노드(103)가 접속 요청한 정보(도착지 IP 및 서비스 포트 정보 등)에 대응되는 유효한 데이터 플로우가 존재하는지 여부를 확인할 수 있다.If it is confirmed that a tunnel has already been created or that tunnel creation is unnecessary, the control server 102 collects valid data corresponding to the information requested for connection by the node 103 (destination IP and service port information, etc.) in the data flow table. You can check whether a flow exists.

유효한 데이터 플로우가 존재하는 경우 해당 정보(네트워크 접속 요청 결과값)를 노드(103) 및/또는 게이트웨이(101)에 전송할 수 있다.If a valid data flow exists, the corresponding information (network connection request result) can be transmitted to the node 103 and/or the gateway 101.

동작 1430에서, 유효한 데이터 플로우가 존재하지 않는 경우, 제어 서버(102)는, 출발지 IP, 도착지 IP, 서비스 포트 정보, 해당 애플리케이션이 송수신하는 데이터 패킷의 프로토콜을 검사하기 위한 정보로써 데이터 패킷 전송 및 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보 등 및 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 프로토콜 검사를 네트워크 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 등을 포함하는 프로토콜 정보 및 게이트웨이에 포함된 프록시를 통해서 접속할 수 있는 서비스 IP와 포트 정보, 프로토콜 정보(예 : HTTP, FTP, IoT 전용 프로토콜 등) 및 서비스 요청 필터링 필요 여부, 서비스 요청 필터링 처리 방식, 필터링 정보(예 : 개인 정보, 유해 서비스 요청 정보)를 포함하며, 프록시에서 사전에 불필요로 한 또는 위험한 서비스 요청을 차단하기 위한 일련의 정보와 서비스 요청에 대한 QoS (Quality of Service)가 필요로 한 경우 일정 시간 단위로 서비스 요청 가능 횟수를 설정하고 그에 따라 프록시에서 서비스 요청 횟수를 조절하기 위한 일련의 정보, 접속 대상이 보안 세션 생성시 허용된 대상인지 확인하기 위해 인증서 정보 등을 포함하는 데이터 플로우 정보를 생성하고, 동작 1440에서, 게이트웨이(101)에 해당 정보를 전송하고, 동작 1435에서, 노드(103)로 네트워크 접속 요청 처리 결과를 전송할 수 있다. In operation 1430, if there is no valid data flow, the control server 102 transmits and receives data packets using source IP, destination IP, service port information, and information for checking the protocol of data packets transmitted and received by the application. Protocol identification signature and version information, header information, protocol information, etc. to identify the protocol information included in the protocol, and if necessary, to what extent (length) the data packet is inspected to identify the protocol and decide whether to process it as a normal protocol. information about whether the protocol check will be performed by a network access control application or by transmitting data packet information to the controller, information about whether the protocol will be checked at the time of a network connection attempt or periodically, and whether the check has been completed or checked. Protocol information including status information about whether more is needed, service IP and port information accessible through the proxy included in the gateway, protocol information (e.g. HTTP, FTP, IoT-specific protocols, etc.), and service request filtering. It includes whether it is necessary, service request filtering processing method, filtering information (e.g. personal information, harmful service request information), a series of information to block unnecessary or dangerous service requests in advance at the proxy, and QoS for service requests. If (Quality of Service) requires it, set the number of service requests possible in a certain time unit and set the number of service requests in the proxy accordingly, a series of information to check whether the connection target is allowed when creating a security session. Data flow information including certificate information, etc. may be generated, the corresponding information may be transmitted to the gateway 101 in operation 1440, and a network connection request processing result may be transmitted to the node 103 in operation 1435.

그리고, 접속 제어 애플리케이션은 제어 서버(102)로부터 수신된 접속 요청 결과값을 처리할 수 있다.And, the connection control application can process the connection request result received from the control server 102.

만약 제어 서버(102)로부터 데이터 플로우 정보를 수신한 경우, 접속 제어 애플리케이션은 노드(103)에 저장하고 있는 데이터 플로우 정보를 갱신할 수 있으며, 네트워크 접속 요청에 성공한 경우, 데이터 패킷을 게이트웨이(101)로 전송할 수 있다.If data flow information is received from the control server 102, the access control application can update the data flow information stored in the node 103, and if the network connection request is successful, the data packet is sent to the gateway 101. It can be sent to .

도 15는 접속 제어 애플리케이션이 설치된 노드(103)의 터널링 기반 데이터 패킷 포워딩 과정을 개략적으로 도시하고 있다.Figure 15 schematically shows the tunneling-based data packet forwarding process of the node 103 on which the access control application is installed.

도 15를 참조하면, 동작 1505에서, 터널 생성이 필요한 경우, 노드(103)는 외부 서버(가령, 제어 서버(102))로부터 수신한 터널 생성을 위한 게이트웨이(101) 및 터널 인증 등 터널 생성에 필요한 일련의 정보를 기반으로 게이트웨이(101)에 터널 생성을 요청할 수 있다.Referring to FIG. 15, in operation 1505, when tunnel creation is necessary, the node 103 uses the gateway 101 for tunnel creation and tunnel authentication received from an external server (e.g., control server 102) to create the tunnel. Tunnel creation can be requested from the gateway 101 based on a series of necessary information.

동작 1505에서, 게이트웨이(101)는 데이터 플로우 검사를 할 수 있으며, 노드(103)로부터 수신된 데이터 패킷이 터널 생성 처리를 위한 데이터 패킷임을 확인하기 위해 게이트웨이(101) 내에 존재하는 터널링 관련 모듈이 수신하고 있는 포트인지 여부를 확인할 수 있으며, 터널링 관련 모듈이 수신하고 있는 포트인 것으로 확인되면, 데이터 패킷을 포워딩 처리하고, 동작 1515에서, 터널 생성 요청 관련 데이터 패킷을 참조하여 터널 생성을 처리하고, 동작 1520에서, 터널 생성 결과를 노드(103)로 전송할 수 있다.In operation 1505, the gateway 101 may perform a data flow check, and a tunneling-related module within the gateway 101 may check the data packet received from the node 103 to confirm that it is a data packet for tunnel creation processing. It is possible to check whether it is a port that is being used, and if it is confirmed that it is a port that a tunneling-related module is receiving, the data packet is forwarded, and in operation 1515, tunnel creation is processed by referring to the data packet related to the tunnel creation request, and operation is performed. At 1520, the tunnel creation result may be transmitted to the node 103.

만약 터널링 관련 모듈이 수신하고 있지 않는 포트이고, 허용되지 않은 출발지 IP 및 도착지 IP, 포트로 접속을 시도하는 데이터 패킷인 경우 게이트웨이(101)는, 데이터 패킷을 드랍 처리할 수 있다.If the port is not being received by the tunneling-related module, and the data packet attempts to connect to an unauthorized source IP and destination IP and port, the gateway 101 may drop the data packet.

그리고, 동작 1525에서, 노드(103)는 터널 생성 결과를 수신하여, 터널 생성이 완료된 경우, 동작 1530에서, 터널링에 기반하여 서비스 서버에 접속을 수행(데이터 패킷 전송)할 수 있다.Then, in operation 1525, the node 103 receives the tunnel creation result, and when the tunnel creation is completed, in operation 1530, the node 103 can connect to the service server (transmit a data packet) based on tunneling.

동작 1535에서, 게이트웨이(101)는 데이터 플로우 검사를 수행할 수 있으며, 노드(103)에 할당된 터널링 IP를 기준으로 제어 서버(102)로부터 수신된 접속 가능한 데이터 플로우 정보를 참조하여, 해당 노드(103)가 서비스 서버에 접속이 가능한지 판단할 수 있다. 동작 1540에서, 접속이 가능한 경우, 데이터 패킷을 서비스 서버로 포워딩하고, 동작 1545에서, 서비스 서버는 데이터 패킷을 수신할 수 있다.In operation 1535, the gateway 101 may perform a data flow check, referencing the accessible data flow information received from the control server 102 based on the tunneling IP assigned to the node 103, and detecting the corresponding node ( 103) can determine whether access to the service server is possible. In operation 1540, if a connection is available, the data packet is forwarded to the service server, and in operation 1545, the service server can receive the data packet.

만약 허용되지 않은 출발지 IP 및 도착지 IP, 포트로 접속을 시도하는 데이터 패킷인 경우, 게이트웨이(101)는 데이터 패킷을 드랍 처리할 수 있다.If the data packet attempts to connect to an unauthorized source IP, destination IP, or port, the gateway 101 may drop the data packet.

도 16은 접속 제어 애플리케이션이 설치된 노드(103)의 데이터 패킷 인증 기반 데이터 패킷 포워딩 과정을 개략적으로 도시하고 있다.Figure 16 schematically shows the data packet forwarding process based on data packet authentication of the node 103 on which the access control application is installed.

도 16을 참조하면, 동작 1605에서, 노드(103) 및 서비스 서버 사이에 논리적 연결(예: TCP 인증 기반 TCP Session 생성, UDP 인증 기반 UDP 관련 Session 또는 흐름 생성 등)이 필요한 경우, 노드(103)는 제어 서버(102)로부터 수신한 논리적 연결 인증을 위해 인증 정보 생성에 필요로 한 일련의 정보를 기반으로 서비스 서버로 논리적 연결 생성을 요청할 수 있다.Referring to FIG. 16, in operation 1605, if a logical connection (e.g., creation of a TCP session based on TCP authentication, creation of a UDP-related session or flow based on UDP authentication, etc.) is required between the node 103 and the service server, the node 103 may request creation of a logical connection to the service server based on a series of information required to create authentication information for logical connection authentication received from the control server 102.

동작 1610에서, 게이트웨이(101)는 데이터 플로우 검사를 수행할 수 있으며, 노드(103)로부터 수신된 논리적 연결을 위한 일련의 데이터 패킷을 확인하기 위해서, 제어 서버(102)로부터 수신된 인증 정보를 기반으로 해당 논리적 연결을 위한 인증 정보가 유효한지 여부를 확인하고, 해당 인증 정보로 서비스 서버에 접속이 가능한지 여부를 확인할 수 있다.At operation 1610, gateway 101 may perform a data flow check, based on authentication information received from control server 102, to verify a series of data packets for a logical connection received from node 103. You can check whether the authentication information for the logical connection is valid and whether it is possible to connect to the service server with the authentication information.

동작 1615에서, 인증 정보가 유효한 경우, 게이트웨이(101)는, 데이터 패킷을 서비스 서버로 포워딩 처리하며, 인증 정보가 유효하지 않거나 해당 인증 정보로 접속할 수 없는 서비스 서버의 네트워크 접속 요청인 경우 데이터 패킷을 드랍 처리할 수 있다.In operation 1615, if the authentication information is valid, the gateway 101 forwards the data packet to the service server, and if the authentication information is invalid or is a network connection request from a service server that cannot be connected with the authentication information, the gateway 101 forwards the data packet to the service server. It can be processed as a drop.

그리고, 동작 1620에서, 논리적 연결이 생성되고, 동작 1625에서, 논리적 연결 생성 결과가 노드(103)로 전송되어, 동작 1630에서, 노드(103)가 논리적 연결 생성 결과를 수신하면, 동작 1635에서, 노드(103)는 논리적 연결에 기반하여 서비스 서버에 데이터 패킷을 전송할 수 있다.Then, in operation 1620, a logical connection is created, in operation 1625, the logical connection creation result is transmitted to node 103, and in operation 1630, when node 103 receives the logical connection creation result, in operation 1635, Node 103 may transmit data packets to the service server based on the logical connection.

동작 1640에서, 게이트웨이(101)는 노드(103)에 할당된 논리적 연결 정보를 기준으로 하여 제어 서버(102)로부터 수신된 데이터 플로우 정보를 검사하고, 동작 1645에서, 해당 노드(103)가 서비스 서버에 접속이 가능한 경우 데이터 패킷을 서비스 서버로 포워딩하고, 동작 1650에서, 서비스 서버는 데이터 패킷을 수신할 수 있다.In operation 1640, the gateway 101 checks the data flow information received from the control server 102 based on the logical connection information assigned to the node 103, and in operation 1645, the node 103 is a service server. If access is available, the data packet is forwarded to the service server, and in operation 1650, the service server can receive the data packet.

만약 허용되지 않은 허용되지 않은 논리적 연결을 기반으로 서비스 접속을 시도하는 데이터 패킷인 경우, 게이트웨이(101)는 데이터 패킷을 드랍 처리할 수 있다.If the data packet attempts to access a service based on an unauthorized logical connection, the gateway 101 may drop the data packet.

본 과정을 통하여 게이트웨이(101)는 인증 기반 논리적 연결이 부여된 노드(103)에 한해서 네트워크 접속 및 데이터 패킷 전송 제어를 수행할 수 있다.Through this process, the gateway 101 can perform network access and data packet transmission control only for the node 103 to which an authentication-based logical connection has been granted.

도 17은, 게이트웨이(101)가 프로토콜을 검사하는 과정을 개략적으로 도시한 흐름도이다.Figure 17 is a flowchart schematically showing the process by which the gateway 101 inspects the protocol.

도 17을 참조하면, 동작 1705에서, 게이트웨이(101)는 데이터 패킷 전송 이벤트를 운영체제의 네트워크 커널로부터 수신할 수 있으며, 동작 1710에서, 데이터 플로우 검사를 수행할 수 있다. Referring to FIG. 17, in operation 1705, the gateway 101 may receive a data packet transmission event from the network kernel of the operating system, and in operation 1710, it may perform a data flow check.

일례로, 게이트웨이(101)는, 수신된 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP, UDP 등) 및 출발지 IP 또는 논리적 연결 정보 중 하나 또는 하나 이상을 사용하여 데이터 플로우 정보가 존재하는지 확인할 수 있다. For example, the gateway 101 uses one or more of the destination IP, port information, protocol information (e.g. TCP, UDP, etc.), and source IP or logical connection information included in the received IP header to provide data flow information. You can check whether exists.

유효한 데이터 플로우가 존재하지 않는 경우, 게이트웨이(101)는 데이터 패킷을 드랍할 수 있다.If there is no valid data flow, gateway 101 may drop the data packet.

동작 1715에서, 유효한 데이터 플로우가 존재하는 경우, 게이트웨이(101)는, 해당 데이터 플로우에 포함된 프로토콜 정보에 포함된 프로토콜 검사 상태(프로토콜 검사 필요 여부, 이전 데이터 패킷 전송 검사에 의해 프로토콜 검사 완료 여부, 주기적으로 프로토콜 검사 필요 여부 등)에 기반하여 프로토콜 검사가 필요한지 여부를 판단할 수 있다. In operation 1715, if a valid data flow exists, the gateway 101 determines the protocol check status included in the protocol information included in the data flow (whether the protocol check is necessary, whether the protocol check is completed by the previous data packet transmission check, It is possible to determine whether a protocol inspection is necessary based on (whether a protocol inspection is necessary periodically, etc.).

프로토콜 검사가 필요로 하지 않은 경우, 게이트웨이(101)는 서비스 서버로 데이터 패킷을 포워딩할 수 있다.If protocol checking is not required, gateway 101 may forward the data packet to the service server.

프로토콜 검사가 필요한 경우, 게이트웨이(101) 또는 외부 서버(가령, 제어 서버(102))에 의해 프로토콜 검사가 수행될 수 있다.If protocol checking is necessary, the protocol checking may be performed by the gateway 101 or an external server (e.g., control server 102).

동작 1720에서, 게이트웨이(101)가 프로토콜 검사를 직접 수행하는 경우, 게이트웨이(101)는 데이터 플로우에 포함된 데이터 패킷의 프로토콜을 검사하기 위한 정보를 기반으로 데이터 패킷에서 허용된 프로토콜 여부를 식별하기 위한 시그니처 및 버전 정보, 헤더 정보, 규약 정보가 포함되어 있거나 준수하는지 여부를 확인하며, 필요에 따라 프로토콜 정보에 포함된 검사 범위(길이)까지 데이터 패킷을 검사할 수 있다. In operation 1720, when the gateway 101 directly performs the protocol check, the gateway 101 performs a protocol check to identify whether a protocol is allowed in the data packet based on information for checking the protocol of the data packet included in the data flow. It checks whether signature and version information, header information, and protocol information are included or complied with, and, if necessary, data packets can be inspected up to the inspection range (length) included in the protocol information.

프로토콜 검사에 성공한 경우, 프로토콜 검사 상태가 완료 상태로 변경되며, 데이터 패킷이 포워딩 될 수 있다. If the protocol check is successful, the protocol check status changes to completed, and the data packet can be forwarded.

동작 1725에서, 프로토콜 검사에 실패한 경우, 게이트 웨이는 해당 데이터 패킷을 드랍하고, 데이터 플로우를 제거하며, 동작 1730에서, 제어 플로우 식별 정보를 포함하는 프로토콜 검사 결과를 제어 서버(102)로 전송할 수 있다. 동작 1735에서, 제어 서버(102)는 프로토콜 검사 결과를 수신하고, 해당 프로토콜 정책 데이터베이스 및 블랙리스트 정책 데이터베이스를 참조하여 위험도를 판단할 수 있다.In operation 1725, if the protocol check fails, the gateway drops the corresponding data packet and removes the data flow, and in operation 1730, the protocol check result including control flow identification information may be transmitted to the control server 102. . In operation 1735, the control server 102 may receive the protocol inspection result and determine the risk level by referring to the corresponding protocol policy database and blacklist policy database.

동작 1740에서, 만약 위험도가 낮은 경우, 제어 서버(102)는 해당 데이터 플로우를 제거하고, 갱신된 데이터 플로우를 게이트웨이(101)에 전파할 수 있다. 반면에, 위험도가 높은 경우, 제어 서버(102)는 해당 노드(103)가 더이상 네트워크 접속을 유지할 수 없도록 제어 플로우 및 터널을 제거하고 갱신된 제어 플로우, 데이터 플로우, 터널 정보를 게이트웨이(101)에 전파할 수 있다. 만약 위험도가 심각한 경우, 제어 서버(102)는 상기의 제어 플로우 제거 절차를 수행한 이후 식별된 노드(103)가 더 이상 접속할 수 없도록 블랙리스트에 추가할 수 있다.In operation 1740, if the risk is low, the control server 102 may remove the corresponding data flow and propagate the updated data flow to the gateway 101. On the other hand, if the risk is high, the control server 102 removes the control flow and tunnel so that the corresponding node 103 can no longer maintain network connection and sends the updated control flow, data flow, and tunnel information to the gateway 101. It can be spread. If the risk is serious, the control server 102 may add the identified node 103 to the blacklist so that it can no longer access it after performing the control flow removal procedure.

그리고 게이트웨이(101)는 제어 서버(102)로부터 프로토콜 검사 결과 전송 결과를 수신함에 따라 결과값을 처리할 수 있다.And the gateway 101 may process the result as it receives the protocol test result transmission result from the control server 102.

한편, 도 17에 도시되지는 않았으나, 제어 서버(102)에 의해 프로토콜 검사가 수행되는 경우에도 동일/유사한 설명이 적용될 수 있다.Meanwhile, although not shown in FIG. 17, the same/similar explanation may be applied even when protocol inspection is performed by the control server 102.

일례로, 게이트웨이(101)는 데이터 플로우에 포함된 데이터 패킷의 프로토콜을 검사하기 위한 정보를 기반으로 데이터 패킷에서 허용된 프로토콜 여부를 식별하기 위해 데이터 패킷 전부 또는 필요에 따라 프로토콜 정보에 포함된 검사 범위(길이)까지 데이터 패킷을 수집할 수 있다.For example, the gateway 101 checks all of the data packets or, if necessary, the inspection range included in the protocol information to identify whether the protocol is allowed in the data packet based on the information for inspecting the protocol of the data packet included in the data flow. Data packets of up to (length) can be collected.

그리고, 게이트웨이(101)는 수집된 데이터 패킷 및 데이터 플로우 식별 정보를 포함하여 제어 서버(102)에 프로토콜 검사를 요청할 수 있다.Additionally, the gateway 101 may request a protocol inspection from the control server 102 including the collected data packets and data flow identification information.

제어 서버(102)는 식별된 데이터 플로우 정보 및 데이터 플로우에 포함된 프로토콜 정보를 기반으로 하여, 데이터 패킷에서 시그니처 및 버전 정보, 헤더 정보, 규약 정보가 포함되어 있거나 준수하는지 여부를 검사할 수 있다.The control server 102 may check whether the data packet contains or complies with signature and version information, header information, and protocol information, based on the identified data flow information and protocol information included in the data flow.

만약 검사에 성공한 경우, 제어 서버(102)는 데이터 플로우의 수신 데이터 패킷 검사 상태를 완료로 변경하고 갱신된 데이터 플로우 정보를 게이트웨이(101)에 반환할 수 있다. If the inspection is successful, the control server 102 may change the inspection status of the received data packet of the data flow to completed and return the updated data flow information to the gateway 101.

반면 검사에 실패한 경우, 제어 서버(102)는 프로토콜 검사 결과에 따라 해당 프로토콜 정책 및 블랙리스트 정책을 기반으로 위험 여부를 판단할 수 있다. 만약 위험도가 낮은 경우, 제어 서버(102)는 데이터 플로우를 제거하고, 갱신된 데이터 플로우 정보를 게이트웨이(101)에 전파할 수 있다. 반면에 위험도가 높은 경우, 제어 서버(102)는 해당 노드(103)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우 및 터널을 제거하고 갱신된 제어 플로우, 데이터 플로우, 터널 정보를 게이트웨이(101)에 전파할 수 있다. 만약 위험도가 심각한 경우, 제어 서버(102)는 상기의 제어 플로우 제거 절차를 수행한 이후 해당 노드(103)가 더 이상 접속할 수 없도록 블랙리스트에 추가할 수 있다.On the other hand, if the check fails, the control server 102 can determine whether there is a risk based on the corresponding protocol policy and blacklist policy according to the protocol check result. If the risk is low, the control server 102 may remove the data flow and propagate updated data flow information to the gateway 101. On the other hand, if the risk is high, the control server 102 removes the control flow and tunnel so that the corresponding node 103 can no longer maintain network connection and sends the updated control flow, data flow, and tunnel information to the gateway 101. It can be spread. If the risk is serious, the control server 102 may add the corresponding node 103 to the blacklist so that it can no longer access it after performing the control flow removal procedure described above.

도 18은 게이트웨이(101)가 서비스 요청을 처리하는 과정을 개략적으로 도시한 흐름도이다.Figure 18 is a flowchart schematically showing the process by which the gateway 101 processes a service request.

도 18을 참조하면, 동작 1805에서, 서비스 요청 이벤트가 수신되면, 동작 1810에서, 게이트웨이(101)는 데이터 플로우 검사를 수행하며, 수신된 서비스 요청에 데이터 플로우 헤더 정보가 존재하는지 여부를 확인할 수 있다.Referring to FIG. 18, when a service request event is received in operation 1805, the gateway 101 performs a data flow check in operation 1810 and can check whether data flow header information is present in the received service request. .

동작 1845에서, 데이터 플로우 헤더 정보가 존재하지 않는 경우, 게이트웨이(101)는 인증 서버로 리다이렉션 하며, 리다이렉션시 서비스 요청 헤더에 포함된 도착지 IP 또는 도메인 식별 정보와 포트 정보를 포함하여 전송할 수 있다.In operation 1845, if data flow header information does not exist, the gateway 101 redirects to the authentication server, and may transmit the destination IP or domain identification information and port information included in the service request header during redirection.

데이터 플로우 헤더 정보가 존재하는 경우, 게이트웨이(101)는 데이터 플로우 헤더 정보의 데이터 플로우 식별 정보, 수신된 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP, UDP 등)를 사용하여 데이터 플로우 정보가 존재하는지 확인할 수 있다.If data flow header information exists, the gateway 101 uses the data flow identification information of the data flow header information, the destination IP and port information included in the received IP header, and protocol information (e.g. TCP, UDP, etc.) You can check whether data flow information exists.

동작 1840에서, 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 데이터 패킷 전송 불가 상태 등) 또는 데이터 플로우가 존재하지 않는 경우, 게이트웨이(101)는 서비스 요청을 거절할 수 있다.In operation 1840, if the data flow exists but is invalid (e.g., data packet transmission is not possible, etc.) or if the data flow does not exist, the gateway 101 may reject the service request.

동작 1815에서, 게이트웨이(101)는 식별된 데이터 플로우의 인증 정보를 기반으로 인증 정보 암호화/복호화 키를 통해서 암호화된 인증 정보를 복호화하고 OTP 검증을 수행하여 해당 데이터 플로우 헤더 정보가 유효한지 여부를 검사할 수 있다.In operation 1815, the gateway 101 decrypts the encrypted authentication information through an authentication information encryption/decryption key based on the authentication information of the identified data flow and performs OTP verification to check whether the corresponding data flow header information is valid. can do.

데이터 플로우 헤더 정보가 유효하지 않은 경우, 게이트웨이(101)는 서비스 요청을 거절할 수 있다.If the data flow header information is invalid, the gateway 101 may reject the service request.

데이터 플로우 헤더 정보가 유효한 경우, 게이트웨이(101)는 인증 정보에 포함된 OTP 생성 정보를 기반으로 OTP를 생성하고 인증 정보 암호화/복호화 키를 통해서 인증 정보를 암호화한 이후 데이터 플로우 식별 정보와 결합하여 데이터 플로우 헤더 정보를 기존 서비스 요청 정보에 갱신할 수 있다. 이를 통해, 동일한 데이터 플로우 헤더 정보의 재사용이 방지될 수 있다.If the data flow header information is valid, the gateway 101 generates an OTP based on the OTP generation information included in the authentication information, encrypts the authentication information using the authentication information encryption/decryption key, and then combines it with the data flow identification information to generate data. Flow header information can be updated with existing service request information. Through this, reuse of the same data flow header information can be prevented.

유효한 데이터 플로우가 존재하는 경우, 게이트웨이(101)는 수신된 서비스 요청 헤더에 포함된 도착지 IP 또는 도메인 식별 정보와 포트 정보를 기반으로 데이터 플로우 정보 내에 서비스 요청을 허용하는 서비스 정보가 존재하는지 확인할 수 있다.If a valid data flow exists, the gateway 101 may check whether service information allowing the service request exists in the data flow information based on the destination IP or domain identification information and port information included in the received service request header. .

서비스 요청을 허용하는 서비스 정보가 존재하지 않는 경우, 게이트웨이(101)는 해당 서비스 요청을 거절할 수 있다.If there is no service information allowing the service request, the gateway 101 may reject the service request.

서비스 요청을 허용하는 서비스 정보가 존재하는 경우, 게이트웨이(101)는 서비스 정보에 포함된 서비스 요청 QoS 정보를 통해서 QoS가 필요한지 여부를 확인할 수 있다.If there is service information allowing a service request, the gateway 101 can check whether QoS is required through the service request QoS information included in the service information.

동작 1820에서, 서비스 요청 QoS가 필요한 경우, 게이트웨이(101)는 서비스 요청 QoS 처리를 수행할 수 있다. 게이트웨이(101)는 서비스 요청 QoS 정보에 포함된 일정 시간당 서비스 요청 가능 횟수를 확인할 수 있으며, 서비스 요청 횟수가 일정 시간당 허용 가능한 횟수를 초과하는 것으로 확인되면, 서비스 요청 QoS 방식에 따라 해당 서비스 요청을 일정 시간 지연시킨 후 처리하거나 서비스 요청을 거절하여 서비스 재요청을 유도할 수 있다.In operation 1820, if service request QoS is required, the gateway 101 may perform service request QoS processing. The gateway 101 can check the number of service requests per certain time included in the service request QoS information, and if it is confirmed that the number of service requests exceeds the allowable number per certain time, the service request is scheduled according to the service request QoS method. You can process it after a time delay or reject the service request to induce a re-request for the service.

동작 1825에서, 서비스 요청 QoS가 필요하지 않은 경우, 게이트웨이(101)는 서비스 요청 정보를 필터링할 수 있으며, 서비스 정보에 포함된 서비스 필터링 정보를 통해서 해당 서비스 요청의 프로토콜(예: HTTP, FTP 또는 IoT 기기를 위한 전용 프로토콜 등)이 정상적인지 여부를 확인할 수 있다. In operation 1825, if the service request QoS is not required, the gateway 101 may filter the service request information and select the protocol (e.g., HTTP, FTP, or IoT) of the service request through the service filtering information included in the service information. You can check whether the dedicated protocol for the device, etc.) is normal.

해당 서비스 요청의 프로토콜이 정상적이지 않은 경우, 게이트웨이(101)는 서비스 요청을 거절할 수 있다.If the protocol of the service request is abnormal, the gateway 101 may reject the service request.

한편, 게이트웨이(101)는, 서비스 요청 정보를 필터링할 때, 정보에 대한 치환이 필요로 한 경우, 서비스 필터링 정보에 포함된 치환 정보 또는 규칙을 통해서 해당 요청 정보를 치환하고 해당 서비스 요청을 전송할 수 있다. Meanwhile, when filtering service request information, if replacement of information is necessary, the gateway 101 can replace the request information through replacement information or rules included in the service filtering information and transmit the service request. there is.

반면에, 서비스 요청에 대한 필터링이 필요로 하지 않은 경우 및/또는 서비스 요청 정보에 대한 치환이 필요로 하지 않은 경우, 게이트웨이(101)는 해당 서비스 요청을 전송할 수 있다.On the other hand, when filtering of the service request is not required and/or replacement of service request information is not required, the gateway 101 may transmit the corresponding service request.

만약 서비스 요청에 대해 차단이 필요로 한 경우, 게이트웨이(101)는 해당 서비스 요청 전송을 거절할 수 있다.If blocking is required for a service request, the gateway 101 may refuse to transmit the service request.

게이트웨이(101)는 데이터 플로우의 인증 정보에 포함된 인증 정보 생성 알고리즘 및 부가 정보를 사용하여 인증 정보를 생성할 수 있다. 이후 인증 정보에 포함된 암호화 알고리즘 및 암호화 키로 해당 인증 정보를 암호화할 수 있다. 그리고, 동작 1825에서, 게이트웨이(101)는 암호화된 인증 정보와 데이터 플로우 식별 정보를 결합한 데이터 플로우 헤더를 서비스 애플리케이션의 프로토콜 규격에 따라 서비스 요청 정보에 삽입하고, 동작 1830에서, 해당 서비스 요청을 전송할 수 있다.The gateway 101 may generate authentication information using an authentication information generation algorithm and additional information included in the authentication information of the data flow. Afterwards, the authentication information can be encrypted using the encryption algorithm and encryption key included in the authentication information. Then, in operation 1825, the gateway 101 inserts a data flow header combining encrypted authentication information and data flow identification information into the service request information according to the protocol standard of the service application, and transmits the corresponding service request in operation 1830. there is.

동작 1835에서, 서비스 요청 전송 또는 서비스 요청 거절을 처리한 이후 게이트웨이(101)는 서비스 요청 처리 횟수를 데이터 플로우 내의 서비스 정보에 포함된 QoS 통계 정보에 반영할 수 있다.In operation 1835, after transmitting a service request or processing a service request rejection, the gateway 101 may reflect the number of service request processing times in QoS statistical information included in service information in the data flow.

한편, 게이트웨이(101)는 아래와 같은 과정을 통해 데이터 플로우를 갱신할 수 있다.Meanwhile, the gateway 101 can update the data flow through the following process.

일례로, 게이트웨이(101)는 제어 서버(102)로부터 수신된 데이터 플로우에 기반하여, 노드(103)로부터의 데이터 패킷 또는 서비스 요청을 포워딩할 때 처리 시각 또는 Timestamp 정보를 갱신하며, 주기적으로 제어 서버(102)에 데이터 플로우 정보 갱신을 요청할 수 있다.For example, the gateway 101 updates processing time or Timestamp information when forwarding a data packet or service request from the node 103, based on the data flow received from the control server 102, and periodically updates the control server 102. You can request update of data flow information at (102).

그리고, 제어 서버(102)는 수신된 데이터 플로우 식별 정보를 참조하여 데이터 플로우 정보가 존재하는지 확인할 수 있다. And, the control server 102 can check whether data flow information exists by referring to the received data flow identification information.

데이터 플로우가 존재하지 않는 경우, 해당 노드(103)가 네트워크 접속을 종료한 것이므로, 제어 서버(102)는 해당 게이트웨이(101)를 통해 해당 데이터 플로우 정보로 더 이상 접속할 수 없도록 유효하지 않은 데이터 플로우 정보를 게이트웨이(101)로 반환할 수 있다.If a data flow does not exist, the corresponding node 103 has terminated the network connection, so the control server 102 displays invalid data flow information so that it can no longer access the data flow information through the corresponding gateway 101. can be returned to the gateway 101.

또한 제어 서버(102)는, 데이터 플로우의 마지막 접속 처리 시각을 확인하고 인증 정책에 따라 최초 인증 이후 사용할 수 있는 시각이 만료되어 재인증이 필요로 하거나, 노드(103)의 접속이 해제된 경우 해당 노드(103)의 데이터 플로우 및 제어 플로우를 제거하고, 해당 노드(103)가 네트워크 접속을 종료한 것이므로 해당 게이트웨이(101)를 통해 더 이상 접속할 수 없도록 유효하지 않은 데이터 플로우 정보를 게이트웨이(101)로 반환할 수 있다. In addition, the control server 102 checks the last connection processing time of the data flow, and if re-authentication is required because the time available after initial authentication has expired according to the authentication policy, or if the connection to the node 103 is released, the corresponding The data flow and control flow of the node 103 are removed, and since the node 103 has terminated its network connection, invalid data flow information is transferred to the gateway 101 so that it can no longer be connected through the gateway 101. It can be returned.

그리고, 게이트웨이(101)는 수신된 데이터 플로우 정보를 기반으로 유효하지 않은 데이터 플로우를 삭제할 수 있다.Additionally, the gateway 101 may delete invalid data flows based on the received data flow information.

도 19를 참조하면, 게이트웨이(101)에 의해 데이터 플로우 헤더가 삽입된 서비스 요청 정보의 구조를 확인할 수 있다. Referring to FIG. 19, the structure of service request information in which a data flow header is inserted by the gateway 101 can be confirmed.

게이트웨이(101)에 포함된 프록시는, 데이터 플로우에 포함된 인증 정보에 기반하여, 서비스 서버에서 서비스 요청 대상을 식별할 수 있는 데이터 플로우 헤더 정보를 서비스 애플리케이션의 프로토콜에 적합한 부분(예: HTTP의 경우 헤더 영역)에 삽입하여 서비스 서버로 재전송하고, 서비스 요청에 대한 서비스 서버의 응답값을 노드(103)로 반환할 수 있다.The proxy included in the gateway 101, based on the authentication information included in the data flow, sends data flow header information that can identify the service request target from the service server to a part suitable for the protocol of the service application (e.g., in the case of HTTP) It can be inserted into the header area and retransmitted to the service server, and the service server's response value to the service request can be returned to the node 103.

데이터 플로우 헤더는 노드(103), 게이트웨이(101), 서비스 서버 간 데이터 패킷 흐름에서 제어 서버(102)로부터 수신된 데이터 플로우를 기반으로 서비스 서버에서 인증된 데이터 패킷인지 여부를 확인하기 위해 삽입될 수 있다.The data flow header can be inserted in the data packet flow between the node 103, the gateway 101, and the service server to check whether the data packet is authenticated by the service server based on the data flow received from the control server 102. there is.

이러한 데이터 플로우 헤더는 데이터 플로우 식별 정보 및 암호화된 인증 정보를 포함할 수 있다.These data flow headers may include data flow identification information and encrypted authentication information.

IP 네트워크에서 데이터 패킷은 5 Tuples 정보 (프로토콜, 출발지 IP, 포트, 도착지 IP, 포트) 이외에는 식별할 수 있는 정보가 없기 때문에, 서비스 서버는, IP를 할당받은 노드(103)가 실질적으로 인증되었는지 여부 및 실질적 통신 주체인 애플리케이션이 허용된 대상에 의해서 전송되었는지 여부를 알 수 없다.Since data packets in an IP network have no identifiable information other than 5 Tuples information (protocol, source IP, port, destination IP, port), the service server determines whether the node 103 assigned the IP is actually authenticated. And it is unknown whether the application, which is the actual subject of communication, was transmitted by an authorized party.

따라서, 서비스 요청 처리시, 서비스 서버는 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보로 제어 서버(102)에 질의하여 인증된 대상이 접속하였는지 여부를 확인하고, 제어 서버(102)가 저장하고 있는 인증된 대상에 대한 부가적인 정보를 수신하여 인증 처리할 수 있게 된다.Therefore, when processing a service request, the service server queries the control server 102 with the data flow identification information included in the data flow header to check whether an authenticated subject has connected, and uses the authentication information stored by the control server 102. Additional information about the target can be received and authenticated.

또한, 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보 이외에 암호화된 인증 정보는 인증된 게이트웨이(101)가 서비스 요청을 포워딩하였는지 여부를 확인하기 위해 사용될 수 있다.Additionally, encrypted authentication information in addition to the data flow identification information included in the data flow header can be used to check whether the authenticated gateway 101 has forwarded the service request.

이때, 암호화된 인증 정보는, 제어 서버(102)로부터 수신된 데이터 플로우의 인증 정보에 포함된 인증 정보 암호화/복호화 키를 통해서 인증된 대상(즉, 데이터 플로우가 존재하는 경우)만 암호화된 인증 정보를 복호화할 수 있다.At this time, the encrypted authentication information is encrypted authentication information only for those authenticated (i.e., when a data flow exists) through the authentication information encryption/decryption key included in the authentication information of the data flow received from the control server 102. can be decrypted.

복호화된 인증 정보는 데이터 플로우 식별 정보와 같이 매 데이터 패킷 인증 시점마다 고정되어 있는 값이 아니라 인증 시점마다 변경되는 OTP (One-Time Password) 및 Random Generation 형태의 정보를 포함할 수 있다.The decrypted authentication information may not be a fixed value at each data packet authentication time like data flow identification information, but may include information in the form of OTP (One-Time Password) and Random Generation that changes at each authentication time.

또한, 게이트웨이(101)는 데이터 플로우의 인증 정보에 포함된 OTP 생성 및 검증을 위한 정보를 기반으로 하여, 매 서비스 요청 포워딩 시점마다 변경되는 OTP 정보를 생성하고, 해당 값을 암호화하여 데이터 플로우 식별 정보를 삽입한 데이터 플로우 헤더 정보를 포함하는 서비스 요청 정보를 포워딩할 수 있다.In addition, the gateway 101 generates OTP information that changes at each service request forwarding time based on the information for OTP generation and verification included in the authentication information of the data flow, and encrypts the value to create data flow identification information. Service request information including data flow header information inserted can be forwarded.

본 발명의 실시예에 따르면, 노드가 보안 세션 없이 서비스 접속을 시도하는 경우, 게이트웨이가 사용자 인증을 통해서 서비스 정보에 데이터 플로우 헤더를 삽입하여 반환하면, 노드 및 서비스 서버는 계속적으로 해당 데이터 플로우 헤더를 이용하여 서비스 요청 및 반환을 수행하게 되고, 게이트웨이는 노드 및 서비스 서버 사이에서의 서비스 요청 및 반환 정보에 포함된 헤더 정보를 기반으로 데이터 플로우를 식별 및 검사하고 이에 따라 복수의 노드로부터 수신된 데이터 패킷들이 동일한 출발지 IP를 포함하는 경우에도, 각각의 노드에 대해 독립적으로 네트워크 접속을 제어할 수 있다. According to an embodiment of the present invention, when a node attempts to access a service without a security session, if the gateway inserts a data flow header into the service information through user authentication and returns it, the node and service server continuously insert the data flow header. service request and return are performed using the gateway, and the gateway identifies and inspects the data flow based on the header information included in the service request and return information between the node and the service server, and data packets received from a plurality of nodes accordingly. Even if they contain the same source IP, network access can be controlled independently for each node.

이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely an illustrative explanation of the technical idea disclosed in this document, and those skilled in the art in the technical field to which the embodiments disclosed in this document belong will understand without departing from the essential characteristics of the embodiments disclosed in this document. Various modifications and variations will be possible.

따라서, 본 문서에 개시된 실시예들은 본 문서에 개시된 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 문서에 개시된 기술 사상의 범위가 한정되는 것은 아니다. 본 문서에 개시된 기술 사상의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 문서의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Accordingly, the embodiments disclosed in this document are not intended to limit the technical ideas disclosed in this document, but rather to explain them, and the scope of the technical ideas disclosed in this document is not limited by these embodiments. The scope of protection of the technical ideas disclosed in this document shall be interpreted in accordance with the claims below, and all technical ideas within the equivalent scope shall be interpreted as being included in the scope of rights of this document.

Claims (11)

게이트웨이에 있어서,
통신 회로;
메모리; 및
상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
서비스 요청을 위한 데이터 패킷을 노드로부터 수신하고,
상기 데이터 패킷에 대응되는 데이터 플로우 인증 정보가 존재하는지 여부를 확인하고,
유효한 데이터 플로우 인증 정보가 존재하는 것으로 확인되면, 상기 데이터 패킷을 목적지 네트워크로 포워딩하고,
상기 유효한 데이터 플로우 인증 정보가 존재하지 않는 것으로 확인되면, 상기 데이터 패킷을 외부 서버로 포워딩하고,
상기 데이터 패킷을 상기 외부 서버로 포워딩한 후, 상기 노드에 대한 인증 결과에 따라 상기 외부 서버로부터 상기 데이터 플로우 인증 정보를 포함하는 데이터 플로우에 대한 정보를 수신하도록 구성된, 게이트웨이.
In the gateway,
communication circuit;
Memory; and
a processor operatively connected to the communication circuit and the memory, the processor comprising:
Receive data packets for service requests from the node,
Check whether data flow authentication information corresponding to the data packet exists,
If valid data flow authentication information is confirmed to exist, forward the data packet to the destination network,
If it is confirmed that the valid data flow authentication information does not exist, forwarding the data packet to an external server,
A gateway, configured to forward the data packet to the external server and then receive information about the data flow including the data flow authentication information from the external server according to an authentication result for the node.
제 1 항에 있어서,
상기 프로세서는,
상기 데이터 패킷을 상기 외부 서버로 포워딩한 후, 상기 인증 결과가 인증 조건을 만족함에 따라 상기 외부 서버로부터 상기 데이터 플로우 인증 정보를 포함하는 상기 데이터 플로우 정보를 수신하되,
상기 인증 조건은 상기 노드의 접속 제어 애플리케이션의 설치 정보 및 상기 노드의 인증 프로세스 수행 정보 중 적어도 하나에 대응되는, 게이트웨이.
According to claim 1,
The processor,
After forwarding the data packet to the external server, receiving the data flow information including the data flow authentication information from the external server as the authentication result satisfies authentication conditions,
The authentication condition corresponds to at least one of installation information of the access control application of the node and authentication process performance information of the node.
제 2 항에 있어서,
상기 프로세서는,
상기 노드의 상기 접속 제어 애플리케이션이 설치된 후, 터널을 생성하기 위한 터널 생성 요청을 상기 노드로부터 수신하고,
상기 터널 생성 요청에 기반하여 상기 노드와의 상기 터널을 생성하고,
상기 터널을 통해 상기 노드와 통신하도록 구성된, 게이트웨이.
According to claim 2,
The processor,
After the access control application of the node is installed, a tunnel creation request for creating a tunnel is received from the node,
Create the tunnel with the node based on the tunnel creation request,
A gateway configured to communicate with the node via the tunnel.
제 1 항에 있어서,
상기 프로세서는,
노드 인증 정보에 포함된 OTP(One-Time Password) 생성 정보에 기반하여 OTP를 생성하고,
상기 OTP 및 데이터 플로우 식별 정보에 기반하여 데이터 플로우 인증 정보를 갱신하고,
상기 갱신된 데이터 플로우 인증 정보를 상기 데이터 패킷에 삽입하여 상기 목적지 네트워크로 포워딩하도록 구성된, 게이트웨이.
According to claim 1,
The processor,
An OTP is generated based on the OTP (One-Time Password) generation information included in the node authentication information,
Update data flow authentication information based on the OTP and data flow identification information,
A gateway, configured to insert the updated data flow authentication information into the data packet and forward it to the destination network.
제 1 항에 있어서,
상기 프로세서는,
상기 유효한 데이터 플로우 인증 정보가 존재하는 것으로 확인되면, 상기 데이터 플로우에 포함된 QoS(Quality of Service) 정보에 기반하여 상기 서비스 요청에 대해 QoS가 필요한지 여부를 확인하고,
상기 서비스 요청에 대해 상기 QoS가 필요한 것으로 확인되면, 상기 서비스 요청이 상기 QoS 정보에 대응되는 임계 서비스 요청 조건을 만족하는지 여부를 확인하고,
상기 서비스 요청이 상기 임계 서비스 요청 조건을 만족하지 않는 것으로 확인되면, 기설정된 시간이 경과된 후 상기 서비스 요청이 전송되도록 하거나, 상기 노드로 하여금 상기 서비스 요청을 재전송하도록 구성된, 게이트웨이.
According to claim 1,
The processor,
If it is confirmed that the valid data flow authentication information exists, determine whether QoS is required for the service request based on QoS (Quality of Service) information included in the data flow,
If it is confirmed that the QoS is required for the service request, check whether the service request satisfies a threshold service request condition corresponding to the QoS information,
If it is confirmed that the service request does not satisfy the threshold service request condition, the gateway is configured to cause the service request to be transmitted after a preset time has elapsed or to cause the node to retransmit the service request.
제 5 항에 있어서,
상기 프로세서는,
상기 서비스 요청이 상기 임계 서비스 요청 조건을 만족하는 것으로 확인되거나, 상기 서비스 요청에 대해 상기 QoS가 필요하지 않은 것으로 확인되면, 상기 데이터 플로우에 포함된 필터링 정보에 기반하여 상기 데이터 패킷의 프로토콜이 정상인지 여부를 확인하고,
상기 데이터 패킷의 프로토콜이 정상으로 확인되면, 상기 필터링 정보에 기반하여 상기 데이터 패킷에 포함된 정보의 치환이 필요한지 여부를 판단하고,
상기 치환이 필요한 것으로 판단되면, 상기 필터링 정보에 포함된 치환 정보 및 치환 규칙 중 적어도 일부에 기반하여 상기 데이터 패킷에 포함된 정보를 치환하여 상기 목적지 네트워크로 포워딩하도록 구성된, 게이트웨이.
According to claim 5,
The processor,
When it is confirmed that the service request satisfies the threshold service request condition or that the QoS is not required for the service request, whether the protocol of the data packet is normal based on the filtering information included in the data flow Check whether
If the protocol of the data packet is confirmed to be normal, determine whether replacement of the information included in the data packet is necessary based on the filtering information,
If it is determined that the substitution is necessary, the gateway is configured to replace the information included in the data packet based on at least some of the substitution information and substitution rules included in the filtering information and forward it to the destination network.
제 1 항에 있어서,
상기 프로세서는,
상기 데이터 플로우 인증 정보가 존재하지 않는 것으로 확인되면, 상기 데이터 패킷이 인증 가능한 프로토콜의 데이터 패킷인지 여부를 확인하고,
상기 데이터 패킷이 상기 인증 가능한 프로토콜의 데이터 패킷으로 확인되면, 상기 데이터 패킷의 도착지 IP(internet protocol) 및 도착지 포트를 상기 외부 서버에 대응되는 외부 서버 IP 및 외부 서버 포트로 변환한 후 포워딩하도록 구성된, 게이트웨이.
According to claim 1,
The processor,
If it is confirmed that the data flow authentication information does not exist, check whether the data packet is a data packet of an authenticable protocol,
If the data packet is confirmed to be a data packet of the authenticable protocol, convert the destination IP (internet protocol) and destination port of the data packet into an external server IP and external server port corresponding to the external server and then forward the data packet. Gateway.
외부 서버에 있어서,
통신 회로;
메모리; 및
상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
서비스 요청을 위한 데이터 패킷이 획득되면, 상기 데이터 패킷을 참조하여 인증 지원 정보를 노드로 전송하고,
상기 인증 지원 정보에 기반하여 상기 노드로부터 출발지 IP(internet protocol)를 포함하는 네트워크 접속 요청을 획득하고,
상기 네트워크 접속 요청에 포함된 정보에 기반하여 목적지 네트워크에 상기 노드가 접속 가능한지 확인하고,
접속이 가능한 것으로 확인되면, 데이터 플로우 인증 정보를 포함하는 데이터 플로우에 대한 정보를 게이트웨이에 전송하도록 구성된, 외부 서버.
On an external server,
communication circuit;
Memory; and
a processor operatively connected to the communication circuit and the memory, the processor comprising:
When a data packet for a service request is obtained, authentication support information is transmitted to the node with reference to the data packet,
Obtaining a network connection request including a source IP (internet protocol) from the node based on the authentication support information,
Check whether the node can connect to the destination network based on the information included in the network connection request,
An external server, configured to transmit information about the data flow, including data flow authentication information, to the gateway if the connection is confirmed to be available.
제 8 항에 있어서,
상기 프로세서는,
상기 인증 지원 정보에 기반하여 상기 노드에 접속 제어 애플리케이션이 설치되면, 상기 목적지 네트워크에 대한 제1 접근 권한을 상기 노드에게 부여하고,
상기 인증 지원 정보에 기반하여 인증 프로세스가 수행되면, 상기 목적지 네트워크에 대한 제2 접근 권한을 상기 노드에게 부여하도록 구성된, 외부 서버.
According to claim 8,
The processor,
When an access control application is installed in the node based on the authentication support information, first access authority to the destination network is granted to the node,
An external server, configured to grant the node a second access authority to the destination network when an authentication process is performed based on the authentication support information.
게이트웨이의 동작 방법에 있어서,
서비스 요청을 위한 데이터 패킷을 노드로부터 수신하는 단계;
상기 데이터 패킷에 대응되는 데이터 플로우 인증 정보가 존재하는지 여부를 확인하는 단계; 및
유효한 데이터 플로우 인증 정보가 존재하는 것으로 확인되면, 상기 데이터 패킷을 목적지 네트워크로 포워딩하고, 상기 유효한 데이터 플로우 인증 정보가 존재하지 않는 것으로 확인되면, 상기 데이터 패킷을 외부 서버로 포워딩한 후, 상기 노드에 대한 인증 결과에 따라 상기 외부 서버로부터 상기 데이터 플로우 인증 정보를 포함하는 데이터 플로우에 대한 정보를 수신하는 단계를 포함하는, 방법.
In the method of operating the gateway,
Receiving a data packet for a service request from a node;
Checking whether data flow authentication information corresponding to the data packet exists; and
If it is confirmed that valid data flow authentication information exists, the data packet is forwarded to the destination network, and if it is confirmed that the valid data flow authentication information does not exist, the data packet is forwarded to an external server and then sent to the node. A method comprising receiving information about a data flow including the data flow authentication information from the external server according to an authentication result.
제 10 항에 있어서,
상기 데이터 패킷을 상기 목적지 네트워크로 포워딩하는 단계는,
노드 인증 정보에 포함된 OTP(One-Time Password) 생성 정보에 기반하여 OTP를 생성하는 단계;
상기 OTP 및 데이터 플로우 식별 정보에 기반하여 데이터 플로우 인증 정보를 갱신하는 단계; 및
상기 갱신된 데이터 플로우 인증 정보를 상기 데이터 패킷에 삽입하여 상기 목적지 네트워크로 포워딩하는 단계를 포함하는, 방법.
According to claim 10,
The step of forwarding the data packet to the destination network includes:
Generating an OTP (One-Time Password) based on OTP (One-Time Password) generation information included in the node authentication information;
updating data flow authentication information based on the OTP and data flow identification information; and
Inserting the updated data flow authentication information into the data packet and forwarding it to the destination network.
KR1020230022776A 2023-02-21 2023-02-21 System for controlling network access and method of the same KR102600443B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230022776A KR102600443B1 (en) 2023-02-21 2023-02-21 System for controlling network access and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230022776A KR102600443B1 (en) 2023-02-21 2023-02-21 System for controlling network access and method of the same

Publications (1)

Publication Number Publication Date
KR102600443B1 true KR102600443B1 (en) 2023-11-10

Family

ID=88742193

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230022776A KR102600443B1 (en) 2023-02-21 2023-02-21 System for controlling network access and method of the same

Country Status (1)

Country Link
KR (1) KR102600443B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120014329A (en) * 2010-08-09 2012-02-17 충북대학교 산학협력단 Apparatus and method for managing queue considering qulity of service
KR20210045917A (en) * 2019-09-24 2021-04-27 프라이빗테크놀로지 주식회사 System for controlling network access of node based on tunnel and data flow and method thereof
KR102349038B1 (en) * 2021-09-02 2022-01-11 프라이빗테크놀로지 주식회사 Tunneling and gateway access system optimized for distributed gateway environment and method therefor
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120014329A (en) * 2010-08-09 2012-02-17 충북대학교 산학협력단 Apparatus and method for managing queue considering qulity of service
KR20210045917A (en) * 2019-09-24 2021-04-27 프라이빗테크놀로지 주식회사 System for controlling network access of node based on tunnel and data flow and method thereof
KR102349038B1 (en) * 2021-09-02 2022-01-11 프라이빗테크놀로지 주식회사 Tunneling and gateway access system optimized for distributed gateway environment and method therefor
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Similar Documents

Publication Publication Date Title
KR102274617B1 (en) System for protecting control data packet and method thereof
KR102364445B1 (en) System for controlling network access based on controller and method of the same
KR102396528B1 (en) System for controlling network access based on controller and method of the same
KR102349038B1 (en) Tunneling and gateway access system optimized for distributed gateway environment and method therefor
KR102439881B1 (en) System for controlling network access based on controller and method of the same
KR102460691B1 (en) System for controlling network access based on controller and method of the same
KR102514618B1 (en) System for controlling network access based on controller and method of the same
KR102460696B1 (en) System for controlling network access based on controller and method of the same
KR102333555B1 (en) System for controlling network access based on controller and method of the same
KR102495369B1 (en) System for controlling network access based on controller and method of the same
KR102446934B1 (en) System for controlling transmission and reception of file of application based on proxy and method thereof
KR102502367B1 (en) System for controlling network access based on controller and method of the same
KR102460695B1 (en) System for controlling network access based on controller and method of the same
JP2023162313A (en) System for authenticating and controlling network connection of terminal and method related thereto
KR102333554B1 (en) System for controlling network access based on controller and method of the same
KR102377248B1 (en) System for controlling network access based on controller and method of the same
KR102333553B1 (en) System for controlling network access based on controller and method of the same
KR102495370B1 (en) System for controlling transmission and reception of file of application based on proxy and method thereof
KR102460692B1 (en) System for controlling network access based on controller and method of the same
KR102407135B1 (en) System for controlling network access based on controller and method of the same
KR102600443B1 (en) System for controlling network access and method of the same
KR102612535B1 (en) System for controlling network access and method of the same
KR102600442B1 (en) System for controlling network access and method of the same
KR102358595B1 (en) System for controlling network access based on controller and method of the same
KR102609368B1 (en) System for controlling network access and method of the same

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant