KR102620214B1 - 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
KR102620214B1
KR102620214B1 KR1020220180649A KR20220180649A KR102620214B1 KR 102620214 B1 KR102620214 B1 KR 102620214B1 KR 1020220180649 A KR1020220180649 A KR 1020220180649A KR 20220180649 A KR20220180649 A KR 20220180649A KR 102620214 B1 KR102620214 B1 KR 102620214B1
Authority
KR
South Korea
Prior art keywords
node
data flow
authentication information
destination node
data packet
Prior art date
Application number
KR1020220180649A
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 KR1020220180649A priority Critical patent/KR102620214B1/en
Application granted granted Critical
Publication of KR102620214B1 publication Critical patent/KR102620214B1/en

Links

Classifications

    • 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
    • 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/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/166Implementing security features at a particular protocol layer at the transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서, 및 상기 프로세서와 작동적으로 연결되고, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해 상기 타겟 애플리케이션의 데이터 패킷의 전송 프로토콜 및 외부 서버로부터 인가된 데이터 플로우에 포함된 인증 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입하여 도착지 노드로 전송하고, 상기 도착지 노드로부터 상기 데이터 패킷에 대한 응답을 수신하되, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되는지 확인하고, 상기 데이터 플로우에 대응되면, 상기 노드와 상기 도착지 노드 간 논리적 연결을 허용하여 상기 논리적 연결에 기반하여 데이터 패킷을 처리하도록 구성되고, 상기 데이터 패킷에 삽입되는 인증 정보는 상기 도착지 노드가 상기 외부 서버에게 상기 인증 정보의 정상 여부를 확인하여 정상인 경우 응답하기 위해 사용될 수 있다. A node according to an embodiment disclosed herein includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a target application and a connection control application, The memory, when executed by the processor, allows the node to access data of the target application based on authentication information included in the transmission protocol of the data packet of the target application and the data flow authorized from an external server through the access control application. Insert authentication information into a packet and transmit it to the destination node, receive a response to the data packet from the destination node, check whether the response to the data packet corresponds to the data flow, and if it corresponds to the data flow, It is configured to allow a logical connection between the node and the destination node to process data packets based on the logical connection, and the authentication information inserted into the data packet allows the destination node to tell the external server whether the authentication information is normal. It can be used to check and respond if normal.

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.

오늘날 대부분의 통신 환경은 노드와 서버가 상호간의 통신을 수행하지만, 이러한 중앙 집중식 서비스 구조는 모든 통신 대상이 하나의 서버에 각종 정보 요청을 수행하기 때문에 서버의 장애 또는 컴퓨팅, 네트워킹 파워의 한계 및 모든 정보를 서버에 의존함으로서 다양한 문제점이 발생할 수 있다. In most communication environments today, nodes and servers communicate with each other, but this centralized service structure causes all communication targets to make various information requests to one server, preventing server failures, computing, and networking power limitations. Relying on servers for information can cause various problems.

이러한 전통적인 통신 환경의 문제점을 해소하기 위하여 노드와 노드간의 통신 방식인 Peer to Peer 통신 기술 기반의 분산 네트워크가 발전하였고, 상호간에 데이터, 파일의 전송 및 공유를 수행하는 기술이 발전하고 있다. 이러한 Peer to Peer 통신 기술의 방법 중 하나는 블록체인 시스템이다. To solve these problems of the traditional communication environment, a distributed network based on peer-to-peer communication technology, a communication method between nodes, has been developed, and technology for mutually transmitting and sharing data and files is being developed. One of these peer-to-peer communication technology methods is the blockchain system.

노드와 노드가 분산 네트워크를 구성하여 상호간에 통신을 수행하는 방식은 인증 및 인가라는 개념이 존재하지 않아 불특정 노드가 네트워크에 참여할 수 있는 구조로 되어있으며, 상시 접속이 가능한 분산 네트워크의 특성은 다양한 정보를 상호 교환하고 저장함으로서 특정 정보에 대한 영속성이 향상되고, 인터넷 프로토콜 통신의 멀티캐스트 개념과 같이 네트워크 세그먼트에 속한 모든 대상이 정보를 수신할 수 있는 방식에서 작은 데이터 패킷 단위보다 더 큰 단위로 확장하여 전파할 수 있기 때문에 분산 네트워크에 속한 노드가 손쉽게 모든 정보를 공유하거나 부분적인 공유가 가능한 특장점이 존재한다. The method in which nodes communicate with each other by forming a distributed network is structured so that unspecified nodes can participate in the network because there is no concept of authentication or authorization. The characteristics of a distributed network that allows constant access are a variety of information. By mutually exchanging and storing information, the persistence of specific information is improved, and, like the multicast concept of Internet protocol communication, all targets in a network segment can receive information, expanding from small data packet units to larger units. Because it can be propagated, there is a special advantage that nodes in a distributed network can easily share all or partial information.

불특정 노드가 분산 네트워크에 참여하는 것은 악의적인 데이터 및 파일, 예를 들어 멀웨어, 랜섬웨어 또는 악성 코드 등의 공유가 가능하기 때문에 분산 네트워크의 정보 공유로 인하여 멀웨어 등이 전파될 수 있는 문제가 발생할 수 있고, 악의적인 목적을 내재한 분산 네트워크를 구성하는 전체 노드의 과반수를 점유하거나 소수의 노드가 교란 목적의 정보를 전송하는 경우 DoS (Denial of Service) 공격과 같이 분산 네트워크 자체가 지속적 운영이 어렵게 될 수 있는 문제가 발생할 수 있다. Since unspecified nodes participating in a distributed network can share malicious data and files, such as malware, ransomware, or malicious code, problems such as the spread of malware may arise due to information sharing in the distributed network. If a majority of all nodes constituting a distributed network with malicious purposes are occupied or a small number of nodes transmit information for disturbing purposes, the distributed network itself may become difficult to operate continuously, such as a DoS (Denial of Service) attack. Possible problems may arise.

위와 같은 문제점을 해결하기 위하여 블록체인 기술이 발전하였지만 블록체인의 데이터 처리를 위해서는 큰 컴퓨팅 파워 및 자원을 소모하며 공유 가능한 데이터가 한정되어 있기 때문에 다양한 노드(일반 노드, 서버, IoT 기기, V2X의 차량 등)가 사용하기에는 적합하지 않은 한정적 목적으로 사용될 수 있다. Blockchain technology has been developed to solve the above problems, but blockchain data processing consumes large computing power and resources, and shareable data is limited, so various nodes (general nodes, servers, IoT devices, V2X vehicles) etc.) may be used for limited purposes that are not suitable for use.

인가된 대상만 접속 가능한 분산 네트워크를 구성하기 위해서 VPN (Virtual Private Network) 기술을 사용하여 분산 네트워크 구성 및 접속하기 위한 각 기업별로 VPN 게이트웨이를 설치하고 Star 구조의 고유의 프라이빗 네트워크를 만든 이후 상호간에 정보 공유를 위한 각종 서버 및 시스템, 블록체인 등을 해당 네트워크에 연결하여 사용하는 구조를 사용할 수 있다. 다만 분산 네트워크에 참여하는 모든 대상은 VPN 게이트웨이를 설치해야 하기 때문에 소수의 대상이 접속 가능한 분산 네트워크를 구성하는 것은 가능하지만 다수의 분산 네트워크를 구성하는 것은 VPN 게이트웨이 도입 및 운영 비용 및 신규 대상이 추가되는 경우 모든 VPN 게이트웨이에 해당 대상의 화이트리스트를 추가해야 하는 등 확장성 측면에서 문제가 발생할 수 있다. In order to configure a distributed network that only authorized users can access, VPN (Virtual Private Network) technology is used to configure and connect to the distributed network by installing a VPN gateway for each company and creating its own private network with a Star structure, then sharing information between each other. A structure that connects various servers and systems for sharing, blockchain, etc. to the network can be used. However, since all subjects participating in the distributed network must install a VPN gateway, it is possible to configure a distributed network that a small number of subjects can access, but configuring a large number of distributed networks involves the costs of introducing and operating a VPN gateway and the addition of new subjects. In this case, problems may arise in terms of scalability, such as having to add a whitelist of the target to all VPN gateways.

또한, 인증기관을 통해서 인가된 대상이 분산 네트워크에 접속할 수 있도록 발급된 인증서를 기반으로 분산 네트워크에 접속하도록 하는 방법도 존재하지만, 인증 기관으로부터 발급받은 인증서가 노드의 스토리지에서 누구나 접근 가능한 위치에 저장되어 있고 분산 네트워크에 접속하는 노드내에 존재하는 정상적인 앱이 아닌 멀웨어가 해당 인증서를 활용하여 분산 네트워크에 접속이 가능한 문제점이 존재한다. In addition, there is a method of allowing a subject authorized through a certification authority to access a distributed network based on a certificate issued to access the distributed network, but the certificate issued by the certification authority is stored in a location accessible to anyone in the node's storage. There is a problem in which malware, which is not a normal app existing within a node connecting to a distributed network, can use the certificate to access the distributed network.

위와 같은 기술들의 문제점은 상시 연결되어 있는 네트워크 상에서 Internet Protocol을 기반으로 자유롭게 통신이 가능한 문제 및 통신 대상을 IP 주소로 식별하는 한계에 있다.The problem with the above technologies lies in the problem of allowing free communication based on the Internet Protocol on a network that is always connected and the limitation of identifying the communication target with an IP address.

본 문서에 개시된 다양한 실시예들은 위와 같은 문제점을 해결하기 위하여 노드와 노드가 통신을 수행하는 분산 네트워크에서 인가된 노드간에 통신을 허용하고 비인가된 노드가 통신을 요청하는 것을 차단하는 기술을 제공할 수 있다. In order to solve the above problems, various embodiments disclosed in this document can provide technology to allow communication between authorized nodes and block communication requests from unauthorized nodes in a distributed network where nodes communicate. there is.

본 문서에 개시되는 다양한 실시예들은 네트워크 환경에서 상술한 문제점을 해결하기 위한 시스템 및 그에 관한 방법을 제공하고자 한다. Various embodiments disclosed in this document are intended to provide a system and method for solving the above-described problems in a network environment.

본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서, 및 상기 프로세서와 작동적으로 연결되고, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해 상기 타겟 애플리케이션의 데이터 패킷의 전송 프로토콜 및 외부 서버로부터 인가된 데이터 플로우에 포함된 인증 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입하여 도착지 노드로 전송하고, 상기 도착지 노드로부터 상기 데이터 패킷에 대한 응답을 수신하되, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되는지 확인하고, 상기 데이터 플로우에 대응되면, 상기 노드와 상기 도착지 노드 간 논리적 연결을 허용하여 상기 논리적 연결에 기반하여 데이터 패킷을 처리하도록 구성되고, 상기 데이터 패킷에 삽입되는 인증 정보는 상기 도착지 노드가 상기 외부 서버에게 상기 인증 정보의 정상 여부를 확인하여 정상인 경우 응답하기 위해 사용될 수 있다. A node according to an embodiment disclosed herein includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a target application and a connection control application, The memory, when executed by the processor, allows the node to access data of the target application based on authentication information included in the transmission protocol of the data packet of the target application and the data flow authorized from an external server through the access control application. Insert authentication information into a packet and transmit it to the destination node, receive a response to the data packet from the destination node, check whether the response to the data packet corresponds to the data flow, and if it corresponds to the data flow, It is configured to allow a logical connection between the node and the destination node to process data packets based on the logical connection, and the authentication information inserted into the data packet allows the destination node to tell the external server whether the authentication information is normal. It can be used to check and respond if normal.

본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해 출발지 노드로부터 데이터 패킷을 수신하고, 상기 데이터 패킷에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하고, 상기 데이터 패킷에 인증 정보가 포함되어 있는지 여부를 확인하고, 상기 외부 서버에게 상기 데이터 패킷에 포함된 인증 정보 검사를 요청하고, 상기 외부 서버로부터 인증 정보 검사 결과를 수신하되, 상기 인증 정보 검사가 성공하면 상기 노드의 식별 정보가 갱신된 데이터 플로우를 수신하고, 상기 수신된 데이터 패킷에 대한 응답을 상기 갱신된 데이터 플로우에 기반하여 상기 출발지 노드로 전송하도록 구성될 수 있다. A node according to an embodiment disclosed herein includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a connection control application, the memory comprising: When executed by the processor, the node receives a data packet from a source node through the access control application, verifies the existence of a data flow authorized from an external server corresponding to the data packet, and stores authentication information in the data packet. Check whether the authentication information is included, request the external server to check the authentication information included in the data packet, and receive the authentication information test result from the external server. If the authentication information check is successful, the node's identification information may be configured to receive an updated data flow and transmit a response to the received data packet to the source node based on the updated data flow.

본 문서에 개시된 일 실시예에 따른 서버는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 데이터 베이스를 저장하는 메모리를 포함하고, 상기 메모리는 상기 프로세서에 의해서 실행될 때 상기 서버가, 출발지 노드로부터 도착지 노드의 IP를 포함하는 네트워크 접속 요청을 수신하고, 상기 데이터 베이스에 기반하여 상기 도착지 노드의 IP가 분산 네트워크를 구성하는지 여부에 기반하여 상기 출발지 노드의 접속 가능 여부를 확인하고, 상기 데이터 베이스에 기반하여 상기 도착지 노드에 접속하기 위한 제1 인증 정보를 포함하는 데이터 플로우를 생성하여 상기 출발지 노드에게 전송하고, 상기 도착지 노드로부터 상기 출발지 노드의 IP 및 제2 인증 정보를 포함하는 인증 정보 검사 요청을 수신하고, 상기 제2 인증 정보에 대응되는 데이터 플로우의 존재 여부 및 상기 제2 인증 정보의 유효 여부에 기반하여 상기 제2 인증 정보에 대응되는 데이터 플로우에 상기 도착지 노드의 식별 정보를 갱신하고, 상기 도착지 노드의 식별 정보가 갱신된 데이터 플로우를 상기 도착지 노드로 전송하도록 구성될 수 있다. A server according to an embodiment disclosed in this document includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, wherein the memory includes the processor. When executed by the server, the server receives a network connection request including the IP of the destination node from the source node, and determines whether the IP of the destination node constitutes a distributed network based on the database. Verifies whether connection is possible, generates a data flow including first authentication information for accessing the destination node based on the database, and transmits it to the source node, and receives the IP and first authentication information of the source node from the destination node. 2 Receiving an authentication information inspection request including authentication information, and checking the data flow corresponding to the second authentication information based on whether a data flow corresponding to the second authentication information exists and whether the second authentication information is valid. It may be configured to update the identification information of the destination node and transmit a data flow with the updated identification information of the destination node to the destination node.

본 문서에 개시된 일 실시예에 따른 출발지 노드에 설치된 접속 제어 애플리케이션의 동작 방법은, 외부 서버로부터 인가된 데이터 플로우에 기반하여 도착지 노드로 데이터 패킷을 전송하는 것이 가능한지 확인 하는 동작, 데이터 패킷의 전송 프로토콜 및 상기 데이터 플로우에 포함된 인증 정보에 기반하여 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입하여 상기 도착지 노드로 전송하는 동작, 상기 도착지 노드로부터 상기 데이터 패킷에 대한 응답을 수신하되, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되는지 확인하는 동작, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되면 상기 외부 서버에서 상기 도착지 노드의 식별 정보가 데이터 플로우에 갱신되었는지 여부를 확인하여 상기 데이터 플로우를 갱신하는 동작 및 상기 갱신된 데이터 플로우에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 전송하는 동작을 포함하고, 상기 데이터 패킷에 삽입되는 인증 정보는 상기 도착지 노드에서 상기 외부 서버에게 정상 여부를 확인하여 상기 외부 서버에서 데이터 플로우가 갱신될 때 사용될 수 있다. A method of operating a connection control application installed in a source node according to an embodiment disclosed in this document includes an operation to check whether it is possible to transmit a data packet to a destination node based on a data flow authorized from an external server, and a transmission protocol for data packets. and inserting authentication information into a data packet of a target application based on the authentication information included in the data flow and transmitting it to the destination node, receiving a response to the data packet from the destination node, and receiving a response to the data packet from the destination node. Checking whether the response corresponds to the data flow, and if the response to the data packet corresponds to the data flow, updating the data flow by checking whether the identification information of the destination node has been updated in the data flow in the external server. and transmitting a data packet of the target application based on the updated data flow, wherein the authentication information inserted into the data packet is sent to the external server by checking whether the destination node is normal to the external server. It can be used when the data flow is updated.

본 문서에 개시된 다른 실시예에 따른 네트워크 접속 제어 시스템은 출발지 노드, 도착지 노드 및 서버를 포함하고, 상기 출발지 노드에 설치된 제1 접속 제어 애플리케이션은 상기 서버로부터 수신된 제1 데이터 플로우에 포함된 제1 인증 정보에 기반하여 데이터 패킷에 제2 인증 정보를 삽입하여 상기 도착지 노드로 전송하고, 상기 도착지 노드에 설치된 제2 접속 제어 애플리케이션은 상기 데이터 패킷을 수신하고, 상기 데이터 패킷에 포함된 상기 제2 인증 정보에 기반하여 상기 서버에게 인증 정보 검사 요청을 수행하고, 상기 서버는 상기 제2 인증 정보에 대응되는 데이터 플로우의 존재 여부 및 상기 제2 인증 정보가 유효한지 여부를 검사하여 데이터 플로우에 상기 도착지 노드의 식별 정보 및 제3 인증 정보를 갱신하여, 갱신된 제2 데이터 플로우를 상기 도착지 노드로 전송하고, 상기 도착지 노드의 상기 제2 접속 제어 애플리케이션은 상기 제2 데이터 플로우에 포함된 상기 제3 인증 정보에 기반하여 제4 인증 정보를 응답 데이터 패킷에 삽입하여 상기 출발지 노드로 전송하고, 상기 출발지 노드의 상기 제1 접속 제어 애플리케이션은 상기 제4 인증 정보에 상기 제1 데이터 플로우가 대응되는지 여부 및 상기 제4 인증 정보가 유효한지 여부를 검사하여 상기 도착지 노드로 데이터 패킷의 전송이 가능한지 여부를 결정하도록 구성될 수 있다. A network access control system according to another embodiment disclosed in this document includes a source node, a destination node, and a server, and a first access control application installed on the source node is a first connection control application included in the first data flow received from the server. Based on the authentication information, second authentication information is inserted into the data packet and transmitted to the destination node, and a second access control application installed at the destination node receives the data packet and applies the second authentication information included in the data packet. Based on the information, an authentication information check request is made to the server, and the server checks whether a data flow corresponding to the second authentication information exists and whether the second authentication information is valid, and connects the destination node to the data flow. The identification information and third authentication information are updated and the updated second data flow is transmitted to the destination node, and the second access control application of the destination node is configured to update the third authentication information included in the second data flow. Based on this, fourth authentication information is inserted into a response data packet and transmitted to the source node, and the first access control application of the source node determines whether the first data flow corresponds to the fourth authentication information and the first 4 It may be configured to determine whether transmission of a data packet to the destination node is possible by checking whether authentication information is valid.

본 문서에 개시된 다른 실시예에 따른 노드는 통신 회로; 상기 통신 회로와 작동적으로 연결되는 프로세서; 및 상기 프로세서와 작동적으로 연결되고, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해 외부 서버에게 네트워크 접속 요청을 수행하고, 상기 네트워크 접속 요청은 상기 타겟 애플리케이션의 식별 정보, 전송 프로토콜, 도착지 노드의 식별 정보 및 상기 타겟 애플리케이션의 실행시 지정된 인자값을 포함하고, 상기 외부 서버로부터 인증 정보를 포함하는 데이터 플로우를 수신하고, 상기 수신된 데이터 플로우에 기반하여 상기 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입하여 상기 도착지 노드로 전송하고, 상기 도착지 노드로부터 상기 데이터 패킷에 대한 응답을 수신하되, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되는지 확인하고, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되면 상기 외부 서버에서 상기 도착지 노드의 식별 정보가 데이터 플로우에 갱신되었는지 여부를 확인하여 상기 데이터 플로우를 갱신하고, 상기 갱신된 데이터 플로우에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 전송하도록 구성되고, 상기 데이터 패킷에 삽입되는 인증 정보는 상기 도착지 노드가 상기 외부 서버에게 상기 인증 정보의 정상 여부를 확인하는 경우 및 상기 외부 서버가 데이터 플로우를 갱신하는 경우에 사용되고, 상기 타겟 애플리케이션의 실행시 지정된 인자값은 상기 외부 서버에서 상기 도착지 노드의 식별 정보에 대응되는 분산 네트워크를 구성하는 그룹에 등록된 대상인지 확인하는 경우에 사용될 수 있다. A node according to another embodiment disclosed in this document may include a communication circuit; a processor operatively connected to the communication circuit; and a memory operatively connected to the processor and storing a target application and a connection control application, wherein the memory, when executed by the processor, causes the node to request a network connection to an external server through the access control application. The network connection request includes identification information of the target application, a transmission protocol, identification information of the destination node, and parameter values specified when executing the target application, and generates a data flow including authentication information from the external server. Receive, insert authentication information into the data packet of the target application based on the received data flow and transmit it to the destination node, receive a response to the data packet from the destination node, and receive a response to the data packet Check whether this corresponds to the data flow, and if the response to the data packet corresponds to the data flow, update the data flow by checking whether the identification information of the destination node in the external server has been updated in the data flow, It is configured to transmit a data packet of the target application based on the updated data flow, and the authentication information inserted into the data packet is transmitted when the destination node checks whether the authentication information is normal with the external server and the external server. It is used when the server updates the data flow, and the parameter value specified when executing the target application is used when checking whether the target is registered in the group constituting the distributed network corresponding to the identification information of the destination node in the external server. You can.

본 문서에 개시되는 실시예들에 따르면, 인증 기관 역할을 수행하는 컨트롤러를 통해서 상호간에 인증을 완료한 각 노드가 분산 네트워크 내에 존재하는 다양한 노드들과 통신을 수행하기 위해서 통신 대상 노드와 논리적 연결(예: TCP Session 생성 등)을 만들기 위해 접속을 요청하는 경우 컨트롤러로부터 부여받은 인증 정보를 삽입하여 전송함으로서 컨트롤러 기반 네트워크 접속 제어를 제공할 수 있다. According to the embodiments disclosed in this document, each node that has completed mutual authentication through a controller acting as a certification authority establishes a logical connection (or logical connection) with the communication target node in order to communicate with various nodes existing in the distributed network. When requesting a connection to create a TCP session (e.g., TCP Session creation, etc.), controller-based network access control can be provided by inserting and transmitting authentication information granted by the controller.

본 문서에 개시되는 실시예들에 따르면, 통신 대상 노드는 수신된 인증 정보의 존재 여부 및 인증 정보를 컨트롤러로부터 확인하고 컨트롤러로부터 부여받은 또는 사전에 저장된 인증 정보 또는 인증 정보 생성 알고리즘에 의해서 생성된 인증 확인 정보를 통신 요청 노드에 반환하며 통신 요청 노드는 수신된 인증 확인 정보를 컨트롤러로부터 확인함으로써 두 통신 대상 노드가 분산 네트워크 내에서 인가된 노드임을 확인할 수 있는 기본적인 메커니즘을 제공할 수 있다. According to the embodiments disclosed in this document, the communication target node verifies the existence of the received authentication information and the authentication information from the controller and uses authentication information given by the controller or stored in advance or authentication generated by an authentication information generation algorithm. Confirmation information is returned to the communication request node, and the communication request node confirms the received authentication confirmation information from the controller, thereby providing a basic mechanism to confirm that the two communication target nodes are authorized nodes within the distributed network.

또한, 본 문서에 개시된 실시예들에 따르면, 통신 대상 노드는 인증 정보가 존재하지 않거나 또는 인증 정보가 유효하지 않은 접속 요청이 발생하는 경우 인가된 대상이 아님을 확인할 수 있으며 반대로 통신 요청 노드 또한 인증 확인 정보가 존재하지 않거나 인증 확인 정보가 유효하지 않은 경우 통신 대상 노드가 인가된 대상이 아님을 확인할 수 있기 때문에 안전한 분산 네트워크 구성을 제공할 수 있다. In addition, according to the embodiments disclosed in this document, the communication target node can confirm that it is not an authorized target when authentication information does not exist or a connection request for which authentication information is invalid occurs, and conversely, the communication request node is also authenticated. If verification information does not exist or authentication verification information is invalid, it can be confirmed that the communication target node is not authorized, thereby providing a secure distributed network configuration.

또한, 본 문서에 개시된 실시예들에 따르면, 인가되지 않은 통신 접속 시도는 차단되기 때문에 논리적 연결이 생성되지 않거나 유지할 수 없으므로 인가되지 않은 통신 대상간의 통신을 원천 차단할 수 있다. In addition, according to the embodiments disclosed in this document, since unauthorized communication access attempts are blocked, logical connections cannot be created or maintained, and thus communication between unauthorized communication targets can be blocked.

또한, 본 문서에 개시된 실시예들에 따르면, 운영체제의 Kernel 레벨에서 네트워크 접속 및 흐름을 통제하기 위한 드라이버 또는 모듈 등을 포함하는 네트워크 접속 제어 애플리케이션에 의해서 처리되므로 분산 네트워크를 통해서 통신을 수행하는 다양한 애플리케이션 (예: 블록체인, IoT 애플리케이션 등) 등은 별도의 수정없이 인가된 대상만 참여하는 분산 네트워크에 참여하도록 제어할 수 있다. In addition, according to the embodiments disclosed in this document, various applications that communicate through a distributed network are processed by a network access control application that includes drivers or modules for controlling network access and flow at the kernel level of the operating system. (e.g. blockchain, IoT applications, etc.) can be controlled to participate in a distributed network in which only authorized subjects participate without any modification.

또한, 본 문서에 개시된 실시예들에 따르면, 두 통신 대상을 인증 기관 역할을 수행하는 컨트롤러를 통해서 제어함으로써 불특정 대상이 상시 접속할 수 있는 인터넷에서도 별도의 VPN 장비를 통신 대상 별로 구축할 필요 없이 안전한 분산 네트워크를 만들 수 있으며, 사전에 배포된 인증서 방식을 통해서 상호간에 인증을 수행하는 것이 아니라 네트워크 접속 시점에 컨트롤러를 통해서 부여받은 정보를 확인하여 상호간에 인증 후 통신을 수행하므로 인증서 유출로 인해서 발생될 수 있는 문제점을 해결할 수 있다. In addition, according to the embodiments disclosed in this document, by controlling the two communication targets through a controller that acts as a certification authority, safe distribution is achieved without the need to build separate VPN equipment for each communication target even on the Internet, where unspecified targets can access at all times. You can create a network, and rather than performing mutual authentication through a pre-distributed certificate method, information given through the controller is checked at the time of network connection and communication is performed after mutual authentication, which can occur due to certificate leakage. Problems that exist can be solved.

또한, 본 문서에 개시된 실시예들에 따르면, IP 주소 기반의 식별 체계로 인해서 어떠한 통신 노드가 상호간에 통신을 수행함으로써 분산 네트워크를 구성하고 있는지에 대해서 모호한 기존의 Peer To Peer 통신 프로토콜과 다르게 인증 기관 역할을 수행하는 컨트롤러를 통해서 인증시 마다 각 노드가 식별되기 때문에 분산 네트워크를 구성하고 있는 각각의 노드 식별이 가능할 수 있다. In addition, according to the embodiments disclosed in this document, unlike the existing Peer To Peer communication protocol where it is ambiguous as to which communication nodes are communicating with each other to form a distributed network due to the IP address-based identification system, the certification authority Since each node is identified upon authentication through the controller performing the role, it may be possible to identify each node that makes up the distributed network.

또한, 본 문서에 개시된 실시예들에 따르면, 노드가 분산 네트워크에 참여하기 위해서 필요로 한 각종 보안 가이드라인 준수 여부 확인 및 보안 관제 요소를 강제할 수 있기 때문에 분산 네트워크는 상시 안전한 대상만 참여할 수 있는 식별 가능한 네트워크로 운영이 가능할 수 있다. In addition, according to the embodiments disclosed in this document, it is possible to check compliance with various security guidelines required for nodes to participate in the distributed network and enforce security control elements, so the distributed network allows only secure subjects to participate at all times. It may be possible to operate as an identifiable network.

또한, 본 문서에 개시된 실시예들에 따르면, 분산 네트워크를 손쉽고 빠르게 구성이 가능하기 때문에 분산 네트워크를 기반으로 하는 다양한 애플리케이션(예: 블록체인, IoT 기반의 스마트 홈, 시티, 팩토리, V2X 등)의 활성화 및 지속적인 발전이 가능할 수 있다. In addition, according to the embodiments disclosed in this document, since it is possible to configure a distributed network easily and quickly, various applications based on a distributed network (e.g. blockchain, IoT-based smart home, city, factory, V2X, etc.) Revitalization and continuous development may be possible.

또한, 본 문서에 개시된 다른 실시예에 따르면 하나의 애플리케이션으로 복수의 분산 네트워크에 참여하도록 제어할 수 있고, 분산 네트워크에 참여하는 애플리케이션을 실행할 때 참여하고자 하는 분산 네트워크 그룹에 대한 정보를 포함하는 명령어를 식별하고 해당 정보에 따라 출발지 노드가 식별된 분산 네트워크에 참여하고 있는 도착지 노드와 통신할 수 있도록 제어할 수 있다. In addition, according to another embodiment disclosed in this document, participation in a plurality of distributed networks can be controlled with one application, and when executing an application participating in a distributed network, a command containing information about the distributed network group to which it wishes to participate is sent. It can be identified and controlled according to that information so that the source node can communicate with the destination node participating in the identified distributed network.

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

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다.
도 5는 다양한 실시예들에 따라 데이터 패킷의 전송 및 응답을 제어하는 동작을 설명한다.
도 6은 다양한 실시예들에 따른 노드의 컨트롤러 접속을 위한 신호 흐름도를 나타낸다.
도 7은 다양한 실시예들에 따른 노드의 사용자 인증을 위한 신호 흐름도를 도시한다.
도 8은 다양한 실시예들에 따른 노드의 인증서 인증을 위한 신호 흐름도를 도시한다.
도 9는 다양한 실시예들에 따른 출발지 노드의 네트워크 접속을 위한 신호 흐름도를 도시한다.
도 10은 다양한 실시예들에 따른 출발지 노드의 데이터 패킷 전송을 위한 동작 흐름도를 도시한다.
도 11은 다양한 실시예들에 따른 출발지 노드의 데이터 패킷 인증 정보 삽입을 위한 동작 흐름도를 도시한다.
도 12는 다양한 실시예들에 따른 도착지 노드의 네트워크 접속 요청 수신을 위한 동작 흐름도를 도시한다.
도 13은 다양한 실시예들에 따른 도착지 노드의 데이터 패킷 인증 정보 검사를 위한 신호 흐름도를 도시한다.
도 14는 다양한 실시예들에 따른 도착지 노드의 네트워크 접속 요청에 대한 응답을 위한 동작 흐름도를 도시한다.
도 15는 다양한 실시예들에 따른 출발지 노드의 네트워크 접속 요청 응답 수신을 위한 신호 흐름도를 도시한다.
도 16은 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다.
도 17은 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다.
도 18은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.
도 19는 다양한 실시예들에 따른 출발지 노드에 포함된 접속 제어 애플리케이션의 동작 방법을 나타내는 동작 흐름도이다.
도 20은 다양한 실시예들에 따른 도착지 노드에 포함된 접속 제어 애플리케이션의 동작 방법을 나타내는 동작 흐름도이다.
도 21은 다양한 실시예들에 따른 서버의 동작 방법을 나타내는 동작 흐름도이다.
도 22는 본 문서에 개시된 다른 실시예에 따른 출발지 노드에서 도착지 노드로부터 수신된 데이터 패킷에 포함된 인증 정보를 검사하는 방법을 나타내는 동작 흐름도이다.
Figure 1 shows an environment including multiple networks.
Figure 2 shows an architecture within a network environment according to various embodiments.
3 is a functional block diagram showing a database stored in a controller according to various embodiments.
Figure 4 shows a functional block diagram of a node according to various embodiments.
Figure 5 explains operations for controlling transmission and response of data packets according to various embodiments.
Figure 6 shows a signal flow diagram for connecting a node to a controller according to various embodiments.
Figure 7 shows a signal flow diagram for user authentication of a node according to various embodiments.
Figure 8 shows a signal flow diagram for certificate authentication of a node according to various embodiments.
Figure 9 shows a signal flow diagram for network connection of a source node according to various embodiments.
FIG. 10 illustrates an operation flowchart for data packet transmission by a source node according to various embodiments.
FIG. 11 illustrates an operation flowchart for inserting authentication information into a data packet of a source node according to various embodiments.
FIG. 12 illustrates an operation flowchart for receiving a network connection request from a destination node according to various embodiments.
Figure 13 shows a signal flow diagram for checking data packet authentication information of a destination node according to various embodiments.
FIG. 14 illustrates an operation flowchart for responding to a network connection request from a destination node according to various embodiments.
Figure 15 shows a signal flow diagram for receiving a network connection request response from a source node according to various embodiments.
Figure 16 shows a signal flow diagram for control flow update according to various embodiments.
17 shows a signal flow diagram for disconnection according to various embodiments.
Figure 18 shows a signal flow diagram for terminating application execution according to various embodiments.
Figure 19 is an operation flowchart showing a method of operating an access control application included in a source node according to various embodiments.
Figure 20 is an operation flowchart showing a method of operating a connection control application included in a destination node according to various embodiments.
Figure 21 is an operation flowchart showing a server operation method according to various embodiments.
Figure 22 is an operational flowchart showing a method of checking authentication information included in a data packet received from a destination node at a source node according to another embodiment disclosed in this document.

이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.BRIEF DESCRIPTION OF THE DRAWINGS Various embodiments of the present invention are described below with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, but 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, or omitted. Alternatively, one or more other operations may be added.

본 문서에서 사용되는 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. 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은 복수의 네트워크를 포함하는 환경을 나타낸다. Figure 1 shows an environment including multiple networks.

도 1을 참조하면, 제1 네트워크(10) 및 제2 네트워크(20)는 서로 다른 네트워크일 수 있다. 예를 들어, 제1 네트워크(10)는 인터넷과 같은 공용 네트워크이고, 제2 네트워크(20)는 인트라넷 또는 VPN과 같은 사설 네트워크일 수 있다. Referring to FIG. 1, the first network 10 and the second network 20 may be different networks. For example, the first network 10 may be a public network such as the Internet, and the second network 20 may be a private network such as an intranet or VPN.

제1 네트워크(10)는 출발지 노드(101)를 포함할 수 있다. 도 1 및 이하 서술되는 실시 예들에서, '출발지 노드'는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 예를 들어, 출발지 노드(101)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 출발지 노드(101)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 출발지 노드(101)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. 한편, 도착지 노드(102)는 상술한 출발지 노드(101)와 동일 유사한 장치를 포함할 수 있다. 다른 예를 들어, 도착지 노드(102)는 목적지 네트워크와 실질적으로 동일할 수 있다. The first network 10 may include a source node 101. In FIG. 1 and the embodiments described below, the 'source node' may be various types of devices capable of performing data communication. For example, the source node 101 may be a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, or a virtual reality (VR) device. , or home appliances and is not limited to the above-mentioned devices. For example, the source node 101 may include a server or gateway that can transmit data packets through an application. The source node 101 may also be referred to as an ‘electronic device’ or a ‘terminal’. Meanwhile, the destination node 102 may include the same or similar device as the above-described source node 101. As another example, the destination node 102 may be substantially the same as the destination network.

출발지 노드(101)는 제2 네트워크(20)로의 접속(access)을 시도하고 제2 네트워크(20)에 포함된 도착지 노드(102)로 데이터를 전송할 수 있다. 출발지 노드(101)는 게이트웨이(103)를 통해 데이터를 도착지 노드(102)로 전송할 수 있다. The source node 101 may attempt to access the second network 20 and transmit data to the destination node 102 included in the second network 20. The source node 101 may transmit data to the destination node 102 through the gateway 103.

출발지 노드(101)의 제1 네트워크(10)에 대한 접속이 승인되면 출발지 노드(101)는 제1 네트워크(10)에 포함된 모든 서버와 통신할 수 있으므로, 출발지 노드(101)는 악성(malicious) 프로그램의 공격으로부터 노출될 수 있다. 예를 들어, 출발지 노드(101)는 인터넷 웹 브라우저(110a), 비즈니스 애플리케이션(110b)과 같은 신뢰된(trusted) 및/또는 보안된(secure) 애플리케이션뿐만 아니라, 악성 코드(110c), 감염된(infected) 비즈니스 애플리케이션(110d)과 같이 신뢰되지 않거나 보안되지 않은 애플리케이션의 데이터를 수신할 수 있다. If the connection of the source node 101 to the first network 10 is approved, the source node 101 can communicate with all servers included in the first network 10, and therefore the source node 101 is malicious. ) may be exposed to program attacks. For example, the source node 101 may be infected with malicious code 110c, as well as trusted and/or secure applications such as Internet web browsers 110a and business applications 110b. ) It is possible to receive data from untrusted or unsecured applications, such as the business application 110d.

악성 프로그램으로부터 감염된 출발지 노드(101)는 제2 네트워크(20)로의 접속 및/또는 데이터 전송을 시도할 수 있다. 제2 네트워크(20)가 VPN과 같이 IP에 기반하여 형성되는 경우, 제2 네트워크(20)는 제2 네트워크(20) 내에 포함되는 복수의 장치들을 개별적으로 모니터링하기 어려울 수 있으며, OSI 계층에서 응용 계층 또는 전송 계층에 대한 보안에 취약할 수 있다. 또한, 채널이 이미 생성된 이후에 출발지 노드(101)가 악성 애플리케이션을 포함하는 경우, 상기 악성 애플리케이션의 데이터는 제2 네트워크(20) 내의 다른 전자 장치(예: 도착지 노드(102))에게 전달될 수 있다.The source node 101 infected by a malicious program may attempt to connect to the second network 20 and/or transmit data. If the second network 20 is formed based on IP, such as a VPN, it may be difficult for the second network 20 to individually monitor a plurality of devices included in the second network 20, and application at the OSI layer may be difficult. Security at the layer or transport layer may be vulnerable. Additionally, if the source node 101 includes a malicious application after the channel has already been created, the data of the malicious application will be transmitted to another electronic device (e.g., the destination node 102) within the second network 20. You can.

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

도 2를 참조하면, 출발지 노드(201)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 출발지 노드(201)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 출발지 노드(201)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 출발지 노드(201)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. Referring to FIG. 2, the source node 201 may be various types of devices capable of performing data communication. For another example, the source node 201 may be a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, or a virtual reality (VR) device. It may include devices, or home appliances, and is not limited to the above-mentioned devices. For example, the source node 201 may include a server or gateway that can transmit data packets through an application. The source node 201 may also be referred to as an ‘electronic device’ or a ‘terminal’.

또한, 도착지 노드(205)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 도착지 노드(205)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 도착지 노드(205)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 도착지 노드(205)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. Additionally, the destination node 205 may be various types of devices capable of performing data communication. For another example, the destination node 205 may be a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, or a virtual reality (VR) device. It may include devices, or home appliances, and is not limited to the above-mentioned devices. For example, destination node 205 may include a server or gateway that can transmit data packets through an application. The destination node 205 may also be referred to as an ‘electronic device’ or a ‘terminal’.

출발지 노드(201)는 제1 타겟 애플리케이션(212) 및 제1 접속 제어 애플리케이션(211)을 저장할 수 있다. 또한 도착지 노드(205)는 제2 접속 제어 애플리케이션(215) 및 제2 타겟 애플리케이션(216)을 저장할 수 있다. The source node 201 may store the first target application 212 and the first access control application 211. Additionally, the destination node 205 may store the second access control application 215 and the second target application 216.

제1 타겟 애플리케이션(212)은 제1 접속 제어 애플리케이션(211)의 제어를 받고, 도착지 노드(205)로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. 제1 타겟 애플리케이션(212) 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 신뢰된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 신뢰되지 않거나 보안되지 않은 악성 프로그램일 수 있으므로, 실시예들에 따른 네트워크 접속 시스템은 제1 접속 제어 애플리케이션(211)의 네트워크 접속 제어를 통해 인가되지 않은 프로그램(애플리케이션)의 도착지 노드(205)에 대한 접속을 차단하고 해당 프로그램을 격리할 수 있다. 예를 들어, 실시예들에 따른 제1 타겟 애플리케이션(212)이 도착지 노드(205)와 통신하기 이전에 제1 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 접속 가능 여부를 확인할 수 있다. 접속이 가능하면 제1 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212)의 데이터 패킷 전송을 제어할 수 있다. 즉, 제1 타겟 애플리케이션(212)이 네트워크에 접속하기 위해서는 제1 접속 제어 애플리케이션(211)을 통해야 하고, 제1 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 인가되어야 하며, 제1 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212)의 데이터 패킷을 컨트롤러(202)의 정책에 기반한 데이터 플로우에 기반하여 전송할 수 있다.The first target application 212 is under the control of the first connection control application 211 and can transmit data packets to the destination node 205 or, conversely, receive data packets. Some of the first target applications 212 may be trusted and/or secure applications, such as web browsers or business applications, while others may be untrusted or unsecured malicious programs, thus network access according to embodiments. The system can block access to the destination node 205 of an unauthorized program (application) and isolate the program through network access control of the first access control application 211. For example, before the first target application 212 according to embodiments communicates with the destination node 205, the first connection control application 211 may check whether connection is possible from the controller 202. If connection is possible, the first connection control application 211 can control data packet transmission of the first target application 212. That is, in order for the first target application 212 to access the network, it must be through the first access control application 211, the first access control application 211 must be authorized by the controller 202, and the first access control application 211 must be authorized by the controller 202. 211 may transmit the data packet of the first target application 212 based on a data flow based on the policy of the controller 202.

제2 타겟 애플리케이션(216)은 제2 접속 제어 애플리케이션(211)의 제어를 받고, 출발지 노드(201)로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. 제2 타겟 애플리케이션(216) 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 신뢰된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 신뢰되지 않거나 보안되지 않은 악성 프로그램일 수 있으므로, 실시예들에 따른 네트워크 접속 시스템은 제2 접속 제어 애플리케이션(215)의 네트워크 접속 제어를 통해 인가되지 않은 프로그램(애플리케이션)의 출발지 노드(205)의 접속을 차단하고 해당 프로그램을 격리할 수 있다. 예를 들어, 실시예들에 따른 제2 타겟 애플리케이션(216)이 출발지 노드(201)와 통신하기 이전에 제2 접속 제어 애플리케이션(215)은 컨트롤러(202)로부터 접속 가능 여부를 확인할 수 있다. 접속이 가능하면 제2 접속 제어 애플리케이션(215)은 제2 타겟 애플리케이션(216)의 데이터 패킷 전송을 제어할 수 있다. 즉, 제2 타겟 애플리케이션(216)이 네트워크에 접속하기 위해서는 제2 접속 제어 애플리케이션(215)을 통해야 하고, 제2 접속 제어 애플리케이션(215)은 컨트롤러(202)로부터 인가되어야 하며, 제2 접속 제어 애플리케이션(215)은 제1 타겟 애플리케이션(216)의 데이터 패킷을 컨트롤러(202)의 정책에 기반한 데이터 플로우에 기반하여 전송할 수 있다.The second target application 216 is controlled by the second connection control application 211 and can transmit data packets to the source node 201 or, conversely, receive data packets. Some of the second target applications 216 may be trusted and/or secure applications, such as web browsers or business applications, while others may be untrusted or unsecured malicious programs, thus network access according to embodiments. The system can block access to the source node 205 of an unauthorized program (application) and isolate the program through network access control of the second access control application 215. For example, before the second target application 216 according to embodiments communicates with the source node 201, the second connection control application 215 may check whether connection is possible from the controller 202. If connection is possible, the second connection control application 215 can control data packet transmission of the second target application 216. That is, in order for the second target application 216 to access the network, it must be through the second access control application 215, the second access control application 215 must be authorized by the controller 202, and the second access control application 216 must be authorized by the controller 202. 215 may transmit the data packet of the first target application 216 based on a data flow based on the policy of the controller 202.

실시예에 따르면, 출발지 노드(201) 및 도착지 노드(205)는 노드(200)로서 참조될 수 있다. 이 경우, 출발지 노드(201)의 제1 접속 제어 애플리케이션(211) 및 도착지 노드(205)의 제2 접속 제어 애플리케이션(215)은 접속 제어 애플리케이션(210)으로서 참조될 수 있다. 즉, 노드(200)는 출발지 노드(201) 및 도착지 노드(205)를 포함할 수 있고, 접속 제어 애플리케이션(210)은 제1 접속 제어 애플리케이션(211) 및 제2 접속 제어 애플리케이션(215)을 포함할 수 있다. According to the embodiment, the source node 201 and the destination node 205 may be referred to as node 200. In this case, the first connection control application 211 of the source node 201 and the second connection control application 215 of the destination node 205 may be referred to as the connection control application 210. That is, the node 200 may include a source node 201 and a destination node 205, and the access control application 210 may include a first access control application 211 and a second access control application 215. can do.

컨트롤러(202)는 예를 들어, 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 출발지 노드(201) 및 도착지 노드(205) 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 출발지 노드(201)(또는 제1 접속 제어 애플리케이션(211))의 네트워크 접속을 허용할 수 있고 인가된 도착지 노드(205)(또는 제2 접속 제어 애플리케이션(215))의 네트워크 접속을 허용할 수 있다. 컨트롤러(202)는 출발지 노드(201)와 도착지 노드(205) 간 인증을 수행할 수 있는 인증 정보를 제공할 수 있다. 따라서, 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)은 허용되지 않은 애플리케이션이 허용되지 않은 목적으로 데이터 패킷을 전송하는 것을 방지할 수 있고, 도착지 노드(205)는 허용되지 않은 목적으로 수신되는 데이터 패킷을 차단할 수 있는 구조를 제공할 수 있다. Controller 202 may be, for example, a server (or cloud server). The controller 202 can ensure reliable data transmission within a network environment by managing data transmission between the source node 201 and the destination node 205. For example, the controller 202 may allow the authorized source node 201 (or the first access control application 211) to access the network through policy information or blacklist information, and the authorized destination node 205 (or the second access control application 215) may be allowed to access the network. The controller 202 may provide authentication information to perform authentication between the source node 201 and the destination node 205. Accordingly, the first access control application 211 of the source node 201 can prevent unauthorized applications from transmitting data packets for unauthorized purposes, and the destination node 205 can prevent data packets from being transmitted for unauthorized purposes. It is possible to provide a structure that can block data packets.

실시예에 다르면, 제1 타겟 애플리케이션(212)의 네트워크 접속은 제1 접속 제어 애플리케이션(211), 컨트롤러(202) 또는 도착지 노드(205)로부터 차단될 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 출발지 노드(201) 또는 제1 접속 제어 애플리케이션(211)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 제1 접속 제어 애플리케이션(211)과 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예: 220)은 '제어 플로우(control flow)'로 참조될 수 있다. 실시예에 따르면, 컨트롤러(202)는 연동 시스템(예: 출발지 노드(201), 도착지 노드(205))으로부터 수신된 보안 이벤트에 따라 채널을 즉시 회수함으로서 상시 안전한 네트워크 상태를 유지할 수 있다. 또한 상기와 같은 구조는 도착지 노드(205)와 컨트롤러(202) 사이의 관계에서도 실질적으로 동일하게 적용될 수 있다. Depending on the embodiment, the network connection of the first target application 212 may be blocked from the first access control application 211, the controller 202, or the destination node 205. According to one embodiment, the controller 202 is configured to perform various operations (e.g., registration, approval, authentication, renewal, termination) associated with the network connection of the source node 201 or the first access control application 211. 1 Control data packets can be transmitted and received with the access control application 211. The flow through which control data packets are transmitted (e.g., 220) may be referred to as a 'control flow'. According to the embodiment, the controller 202 can maintain a secure network state at all times by immediately reclaiming the channel according to a security event received from the interconnected system (e.g., the source node 201 and the destination node 205). Additionally, the above-mentioned structure can be substantially applied equally to the relationship between the destination node 205 and the controller 202.

다양한 실시예들에 따르면, 출발지 노드(201)는 출발지 노드(201) 내에 저장된 제1 타겟 애플리케이션(212)의 네트워크 접속을 관리하기 위한 제1 접속 제어 애플리케이션(211) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 출발지 노드(201)에 포함된 제1 타겟 애플리케이션(212)의 도착지 노드(205)에 대한 접속 이벤트가 발생하면, 제1 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212)의 접속 가능 여부를 결정할 수 있다. 제1 타겟 애플리케이션(212)이 접속 가능하면, 제1 접속 제어 애플리케이션(211)은 데이터 패킷을 도착지 노드(205)로 보낼 수 있고, 도착지 노드(205)로부터 데이터 패킷을 수신할 수 있다. 제1 접속 제어 애플리케이션(211)은 출발지 노드(201) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다. According to various embodiments, the source node 201 uses a first connection control application 211 and a network driver (not shown) to manage the network connection of the first target application 212 stored in the source node 201. It can be included. For example, when a connection event occurs for the destination node 205 of the first target application 212 included in the source node 201, the first connection control application 211 is connected to the first target application 212. You can decide whether or not access is possible. If the first target application 212 is accessible, the first connection control application 211 can send a data packet to the destination node 205 and receive a data packet from the destination node 205. The first access control application 211 may control the transmission of data packets within the source node 201 through a kernel including an operating system and a network driver.

다양한 실시예들에 따르면, 도착지 노드(205)는 도착지 노드(205) 내에 저장된 제2 타겟 애플리케이션(216)의 네트워크 접속을 관리하기 위한 제2 접속 제어 애플리케이션(215) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 도착지 노드(205)에 포함된 제2 타겟 애플리케이션(216)의 출발지 노드(201)로부터 접속 이벤트가 발생하면, 제2 접속 제어 애플리케이션(215)은 제2 타겟 애플리케이션(216)의 접속 가능 여부를 결정할 수 있다. 제2 타겟 애플리케이션(216)이 접속 가능하면, 제2 접속 제어 애플리케이션(216)은 데이터 패킷을 출발지 노드(201)로부터 수신할 수 있고, 수신된 데이터 패킷에 대한 응답을 출발지 노드(201)로 보낼 수 있다. 제2 접속 제어 애플리케이션(215)은 도착지 노드(205) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다. According to various embodiments, the destination node 205 uses a second connection control application 215 and a network driver (not shown) to manage the network connection of the second target application 216 stored in the destination node 205. It can be included. For example, when a connection event occurs from the source node 201 of the second target application 216 included in the destination node 205, the second connection control application 215 connects the second target application 216. You can decide whether it is possible or not. If the second target application 216 is accessible, the second connection control application 216 may receive a data packet from the source node 201 and send a response to the received data packet to the source node 201. You can. The second access control application 215 may control the transmission of data packets within the destination node 205 through a kernel including an operating system and a network driver.

실시예에 따르면, 출발지 노드(201) 및 도착지 노드(205)는 분산 네트워크(230)에 포함될 수 있다. 예를 들어, 컨트롤러(202)는 출발지 노드(201) 및 도착지 노드(205)가 분산 네트워크(230)에 포함될 수 있는지 여부를 결정할 수 있고, 분산 네트워크(230)에 포함될 수 있는 경우 인증 정보를 기초로 출발니 노드(201) 및 도착지 노드(205)가 서로 연결될 수 있도록 네트워크 접속을 제어할 수 있다. According to an embodiment, the source node 201 and the destination node 205 may be included in the distributed network 230. For example, the controller 202 can determine whether the source node 201 and the destination node 205 can be included in the distributed network 230 and, if so, based on authentication information. Network access can be controlled so that the departure node 201 and the destination node 205 can be connected to each other.

도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 도 3은 메모리(330)만을 도시하지만, 컨트롤러는 외부 전자 장치와 통신을 수행하기 위한 통신 회로(예: 도 4의 통신 회로(430)) 및 컨트롤러의 전반적인 동작을 제어하기 위한 프로세서(예: 도 4의 프로세서(410))를 더 포함할 수 있다. 3 is a functional block diagram showing a database stored in a controller according to various embodiments. Although FIG. 3 shows only the memory 330, the controller includes a communication circuit for performing communication with an external electronic device (e.g., the communication circuit 430 in FIG. 4) and a processor for controlling the overall operation of the controller (e.g., FIG. It may further include 4 processors 410).

관리자는 컨트롤러(202)에 접속하여 제1 접속 제어 애플리케이션(211)과 도착지 노드(205) 간 접속을 제어하기 위한 연결 중심의 정책을 설정할 수 있으므로, 서비스 단에서 세션을 관리하는 것 보다 세밀하고 안전하게 네트워크 접속을 제어할 수 있다. The administrator can connect to the controller 202 and set a connection-oriented policy to control the connection between the first access control application 211 and the destination node 205, so it is more detailed and safer than managing sessions at the service end. You can control network access.

접속 정책 데이터 베이스(311)는 식별된 네트워크, 노드, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(210)(예: 제1 접속 제어 애플리케이션(211), 제2 접속 제어 애플리케이션(215))의 네트워크 접속 요청 시, 접속 정책 데이터 베이스(311)의 정책에 기반하여 식별된 네트워크(예: 출발지 노드(201)가 속하는 네트워크, 도착지 노드(205)가 속하는 네트워크), 노드, 사용자(예: 출발지 노드(201)의 사용자, 도착지 노드(205)의 사용자), 및/또는 애플리케이션(예: 출발지 노드(201)에 포함되는 제1 타겟 애플리케이션(212) 또는 도착지 노드(205)에 포함되는 제2 타겟 애플리케이션(216))이 목적지(예: 도착지 노드(205) 또는 출발지 노드(201))에 접속이 가능한지 여부를 결정할 수 있다. 실시예에 따르면, 컨트롤러(202)는 접속 정책 데이터 베이스(311)에 기반하여 특정 서비스(예: IP 및 포트)로 접속 가능한 제1 타겟 애플리케이션(212) 또는 제2 타겟 애플리케이션(216)의 화이트리스트를 생성할 수 있다. The connection policy database 311 may include information about networks and/or services to which an identified network, node, or application can access. For example, when a network access request is made by the access control application 210 (e.g., the first access control application 211 and the second access control application 215), the controller 202 stores the information in the access policy database 311. Networks identified based on the policy (e.g., the network to which the source node 201 belongs, the network to which the destination node 205 belongs), nodes, and users (e.g., users of the source node 201, users of the destination node 205) ), and/or an application (e.g., the first target application 212 included in the source node 201 or the second target application 216 included in the destination node 205) to the destination (e.g., the destination node 205 ) or whether access to the source node 201) is possible. According to the embodiment, the controller 202 whitelists the first target application 212 or the second target application 216 that can be accessed through a specific service (eg, IP and port) based on the access policy database 311. can be created.

인증 정책 데이터 베이스(312)는 정책에 따라 접속(connection) 경로 상에서 출발지 노드(201)와 도착지 노드(205) 사이에 네트워크 접속 요청과 관련된 일련의 데이터 패킷 흐름을 인증할 것인지 여부 및 인증을 수행할 경우 인증 방식과 관련된 정책을 설정할 수 있다. 실시예에 따르면, 컨트롤러(202)는 인증 정책 데이터 베이스(312)에 기반하여 인증 정보를 생성할 수 있고, 생성된 인증 정보를 출발지 노드(201) 또는 도착지 노드(205)에게 전송할 수 있다. 또한, 출발지 노드(201) 또는 도착지 노드(205)는 수신된 인증 정보를 기초로 데이터 패킷을 서로 인증할 수 있고, 따라서 컨트롤러(202)는 출발지 노드(201)와 도착지 노드(205)가 서로 연결됨을 인지할 수 있다. The authentication policy database 312 determines whether to authenticate a series of data packet flows related to a network connection request between the source node 201 and the destination node 205 on the connection path according to the policy, and whether to perform the authentication. In this case, you can set policies related to authentication methods. According to the embodiment, the controller 202 may generate authentication information based on the authentication policy database 312 and transmit the generated authentication information to the source node 201 or the destination node 205. In addition, the source node 201 or the destination node 205 can authenticate data packets with each other based on the received authentication information, and thus the controller 202 connects the source node 201 and the destination node 205 to each other. can be recognized.

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

블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해서 차단된 대상에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러(202)는 네트워크 접속을 요청하는 출발지 노드(201) 또는 도착지 노드(205)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되면 네트워크 접속 요청을 거부함으로써 출발지 노드(201) 또는 도착지 노드(205)를 격리시킬 수 있다. The blacklist database 314 may include a list of targets blocked by the blacklist policy database 313. For example, if the identification information of the source node 201 or destination node 205 requesting network access is included in the blacklist database 314, the controller 202 rejects the network access request, thereby Alternatively, the destination node 205 can be isolated.

제어 플로우 테이블(315)은 노드(200)와 컨트롤러(202) 사이에 생성된 제어 데이터 패킷의 흐름(예: 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 성공적으로 컨트롤러(202)에 접속하는 경우, 제어 플로우 정보는 컨트롤러(202)에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 컨트롤러에 대한 접속 및 인증 시 식별되는 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 포함할 수 있다. 예를 들어, 출발지 노드(201)로부터 도착지 노드(205)에 대한 접속이 요청되면 컨트롤러(202)는 출발지 노드(201)로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 접속 정책 데이터 베이스(311)에 매핑함으로서 출발지 노드(201)가 도착지 노드(205)에 접속이 가능한지 여부, 데이터 패킷 전송을 위한 데이터 플로우 생성 여부를 판단(결정)할 수 있다. 다른 예를 들어, 도착지 노드(205)로부터 출발지 노드(201)에 대한 접속이 요청되면 컨트롤러(202)는 도착지 노드(205)로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 접속 정책 데이터 베이스(311)에 매핑함으로서 도착지 노드(205)가 출발지 노드(201)에 접속이 가능한지 여부, 데이터 패킷 전송을 위한 데이터 플로우 생성 여부를 판단(결정)할 수 있다. The control flow table 315 is an example of a session table for managing the flow (eg, control flow) of control data packets generated between the node 200 and the controller 202. When successfully connecting to the controller 202, control flow information may be generated by the controller 202. The control flow information may include at least one of control flow identification information, an IP address identified when connecting to and authenticating the controller, a node ID, or a user ID. For example, when connection to the destination node 205 is requested from the source node 201, the controller 202 can search for control flow information through the control flow identification information received from the source node 201, and the retrieved By mapping at least one of the IP address, node ID, or user ID included in the control flow information to the connection policy database 311, it is determined whether the source node 201 can connect to the destination node 205 and transmit a data packet. You can determine whether to create a data flow for this purpose. For another example, when connection to the source node 201 is requested from the destination node 205, the controller 202 may retrieve control flow information through control flow identification information received from the destination node 205, By mapping at least one of the IP address, node ID, or user ID included in the retrieved control flow information to the connection policy database 311, whether the destination node 205 can connect to the source node 201, data packet transmission It is possible to determine (decide) whether to create a data flow for .

일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 출발지 노드(201) 또는 도착지 노드(205)는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 출발지 노드(201) 또는 도착지 노드(205)로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우, 컨트롤러(202)는 출발지 노드(201) 또는 도착지 노드(205)의 접속 종료 요청에 따라서 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 출발지 노드(201) 또는 도착지 노드(205)의 접속이 차단될 수 있다. 즉, 제어 플로우가 제거되면 출발지 노드(201)와 도착지 노드(205) 사이에 존재하는 논리적 연결은 해제 및 실질적으로 데이터 패킷을 전송 및 수신할 수 없는 상태가 될 수 있다. According to one embodiment, a control flow may have an expiration time. The source node 201 or the destination node 205 must 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, if it is determined that immediate connection blocking is necessary according to security events collected from the source node 201 or the destination node 205, the controller 202 requests the source node 201 or the destination node 205 to terminate the connection. Depending on this, the control flow can be eliminated. When the control flow is removed, the previously created data flow is also removed, so connection to the source node 201 or the destination node 205 may be blocked. That is, when the control flow is removed, the logical connection that exists between the source node 201 and the destination node 205 may be released and data packets cannot be transmitted or received.

데이터 플로우 테이블(316)은 출발지 노드(201) 및 도착지 노드(205) 사이에 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블이다. 데이터 플로우는 TCP 세션, 애플리케이션, 또는 보다 세부적인 단위로 생성될 수 있다. The data flow table 316 is a table for managing the flow (eg, data flow) in which detailed data packets are transmitted between the source node 201 and the destination node 205. Data flows can be created by TCP sessions, applications, or more granular units.

데이터 플로우를 식별하기 위한 데이터 플로우 식별 정보(예: ID), 노드(200)의 식별 정보 및 애플리케이션은 하나 이상의 논리적 연결을 생성할 수 있기 때문에, 데이터 플로우 테이블(316)은 제어 플로우 ID에 기반하여 관리될 수 있다. Data flow identification information (e.g., ID) to identify the data flow, identification information of the node 200, and because the application may create one or more logical connections, the data flow table 316 is based on the control flow ID. It can be managed.

또한, 데이터 플로우 테이블(316)은 데이터 패킷의 전송 프로토콜(TCP, UDP 등), 데이터 패킷의 출발지 IP 및 도착지 IP, 포트 정보를 기반으로 데이터 패킷 전송 또는 수신 여부를 판단하기 위한 인가된 대상 정보, 및 데이터 플로우가 유효한지 여부를 포함하는 상태 정보를 포함할 수 있다. In addition, the data flow table 316 includes the transmission protocol (TCP, UDP, etc.) of the data packet, the source IP and destination IP of the data packet, and authorized target information to determine whether to transmit or receive the data packet based on the port information; and status information including whether the data flow is valid.

실시예에 따르면, 데이터 플로우 테이블(316)은 허용된 대상이 데이터 패킷을 전송하였는지 여부를 확인하기 위하여 인증 정보를 삽입 및 검사하기 위한 일련의 정보로써 프로토콜 별로 인증 정보를 삽입하는 방식(예: TCP 의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷 별 인증 ㅈ어보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입 등, 인증 정보 암호화/복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보 중 적어도 어느 하나), 출발지 IP 인증 여부를 포함하는 인증 정보를 포함할 수 있다. According to the embodiment, the data flow table 316 is a series of information for inserting and checking authentication information to check whether an allowed target has transmitted a data packet. A method of inserting authentication information for each protocol (e.g., TCP In the case of TCP SYN packet insertion, in the case of UDP, insertion of authentication information for each data packet or insertion of authentication information at regular intervals (or cycles), information for encryption/decryption of authentication information, algorithm information for generating and verifying authentication information, and It may include a series of information included in the algorithm (e.g., at least one of information such as Secret Key when generating HMAC OTP) and authentication information including whether or not the source IP is authenticated.

실시예에 따르면, 데이터 플로우 테이블(316)은 출발지 노드(201), 도착지 노드(205)에 동일하게 저장될 수 있다. According to the embodiment, the data flow table 316 may be equally stored in the source node 201 and the destination node 205.

본 문서에 개시된 다른 실시예에 따른 컨트롤러(202)의 메모리(330)에 저장된 데이터 베이스는 그룹 정책 데이터베이스(317)를 더 포함할 수 있다. The database stored in the memory 330 of the controller 202 according to another embodiment disclosed in this document may further include a group policy database 317.

그룹 정책 데이터베이스(317)는 접속 정책 데이터베이스(311)와 연계되어 노드가 접속하고자 하는 애플리케이션의 인자(Argument 또는 Parameter) 정보를 식별하고, 해당 애플리케이션이 분산 네트워크를 구성하는 그룹화된 노드 식별 정보(예: 사용자, 인증서, 단말 식별 정보, IP 정보 등의 화이트 리스트)에 애플리케이션의 인자 정보가 포함되는지 여부를 확인하여 분산 네트워크에 접속 가능한지 여부를 확인할 수 있다.The group policy database 317 is linked to the access policy database 311 to identify the argument (argument or parameter) information of the application to which the node wishes to connect, and to identify the grouped nodes where the application composes the distributed network (e.g. You can check whether you can connect to the distributed network by checking whether the application's parameter information is included in the white list (user, certificate, terminal identification information, IP information, etc.).

도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. Figure 4 shows a functional block diagram of a node according to various embodiments.

도 4를 참조하면, 노드는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시 예에 따르면, 노드는 사용자와 인터페이스를 수행하기 위하여 디스플레이(440)를 더 포함할 수 있다. Referring to FIG. 4 , a node may include a processor 410, memory 420, and communication circuit 430. According to one embodiment, the node may further include a display 440 to interface with the user.

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

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

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

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

메모리(420)는 휘발성 메모리(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 420 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.

메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 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.

일 실시예에 따르면, 메모리(420)는 도 2의 제1 타겟 애플리케이션(212) 및 제1 접속 제어 애플리케이션(211)을 저장할 수 있다. 또한, 메모리(420)는 도 2의 제2 접속 제어 애플리케이션(215) 및 제2 타겟 애플리케이션(216)을 저장할 수도 있다. 제1 접속 제어 애플리케이션(211) 및 제2 접속 제어 애플리케이션(215)은 컨트롤러(202)와의 제어 플로우 생성 및 갱신 기능을 수행할 수 있다. 이를 위하여 제1 접속 제어 애플리케이션(211) 및 제2 접속 제어 애플리케이션(215)은 하나 이상의 보안 모듈을 포함할 수 있다. According to one embodiment, the memory 420 may store the first target application 212 and the first access control application 211 of FIG. 2. Additionally, the memory 420 may store the second access control application 215 and the second target application 216 of FIG. 2 . The first access control application 211 and the second access control application 215 may perform control flow creation and update functions with the controller 202. To this end, the first access control application 211 and the second access control application 215 may include one or more security modules.

일 실시예에 따르면, 메모리(420)는 컨트롤러의 메모리(예: 도 3의 메모리(330))에 포함된 정보 중 일부를 저장할 수 있다. 예를 들어, 메모리(420)는 도 3에서 설명된 데이터 플로우 테이블(316)을 저장할 수 있다. According to one embodiment, the memory 420 may store some of the information included in the controller's memory (eg, memory 330 in FIG. 3). For example, memory 420 may store data flow table 316 described in FIG. 3 .

통신 회로(430)는 노드와 외부 전자 장치(예: 도 2의 컨트롤러(202), 도착지 노드(205))간의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 회로(430)는 무선 통신 회로(예: 셀룰러 통신 회로, 근거리 무선 통신 회로, 또는 GNSS(global navigation satellite system) 통신 회로) 또는 유선 통신 회로(예: LAN(local area network) 통신 회로, 또는 전력선 통신 회로)를 포함하고, 그 중 해당하는 통신 회로를 이용하여 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크 또는 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크와 같은 원거리 통신 네트워크를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 회로(430)는 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다. The communication circuit 430 may support establishment of a wired or wireless communication connection between a node and an external electronic device (e.g., the controller 202 and the destination node 205 of FIG. 2), and performing communication through the established connection. According to one embodiment, the communication circuit 430 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 430 described above may be implemented as one chip or may be implemented as separate chips.

디스플레이(440)는, 컨텐츠, 데이터, 또는 신호를 출력할 수 있다. 다양한 실시 예들에서, 디스플레이(440)는 프로세서(410)에 의해 가공된 이미지 데이터를 표시할 수 있다. 실시예들에 따라, 디스플레이(440)는 터치 입력 등을 수신할 수 있는 복수의 터치 센서들(미도시)과 결합됨으로써, 일체형의 터치 스크린(touch screen)으로 구성될(configured with) 수도 있다. 디스플레이(440)가 터치 스크린으로 구성되는 경우, 복수의 터치 센서들은, 디스플레이(440) 위에 배치되거나, 디스플레이(440) 아래에 배치될 수 있다.The display 440 can output content, data, or signals. In various embodiments, the display 440 may display image data processed by the processor 410. Depending on embodiments, the display 440 may be configured with an integrated touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving touch input, etc. When the display 440 is configured as a touch screen, a plurality of touch sensors may be placed above the display 440 or below the display 440.

일 실시예에 따른 서버(예: 컨트롤러)는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 서버에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다.A server (eg, controller) according to one embodiment may include a processor 410, memory 420, and communication circuit 430. The processor 410, memory 420, and communication circuit 430 included in the server may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.

도 5는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.Figure 5 explains an operation for controlling transmission of data packets according to various embodiments.

도 5를 참조하면, 제1 접속 제어 애플리케이션(211)은 출발지 노드(201)에 포함된 제1 타겟 애플리케이션(212)으로부터 도착지 노드(205)에 대한 네트워크 접속 요청을 감지하고, 출발지 노드(201) 또는 제1 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태인지 여부를 결정할 수 있다. 출발지 노드(201) 또는 제1 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아닌 경우, 제1 접속 제어 애플리케이션(211)은 운영체제가 포함되는 커널(kernel)이나 네트워크 드라이버에서 데이터 패킷의 전송을 차단할 수 있다. 제1 접속 제어 애플리케이션(211)을 통해, 출발지 노드(201)는 OSI 계층 중 응용 계층에서 악의적인 애플리케이션의 접속을 사전에 차단할 수 있다. Referring to FIG. 5, the first access control application 211 detects a network connection request to the destination node 205 from the first target application 212 included in the source node 201, and Alternatively, it may be determined whether the first connection control application 211 is connected to the controller 202. If the source node 201 or the first access control application 211 is not connected to the controller 202, the first access control application 211 executes a data packet in the kernel or network driver including the operating system. transmission can be blocked. Through the first access control application 211, the source node 201 can block access of malicious applications in advance at the application layer of the OSI layer.

출발지 노드(201)의 제1 타겟 애플리케이션(212)은 반드시 컨트롤러(202)에 접속하여 인증을 수행하여야 하며, 인증 수행 이후 도착지 노드(205) 접속 시, 접속 네트워크 정보를 컨트롤러(202)에 질의하여 접속 가능 여부를 확인하고, 접속이 가능한 경우 인증 정보를 포함하는 데이터 패킷을 도착지 노드(205)로 전송할 수 있다. The first target application 212 of the source node 201 must connect to the controller 202 to perform authentication, and when connecting to the destination node 205 after performing authentication, it queries the controller 202 for connection network information. It is possible to check whether connection is possible, and if connection is possible, a data packet containing authentication information can be transmitted to the destination node 205.

도착지 노드(205)는 출발지 노드(201)로부터 수신된 데이터 패킷의 인증 정보를 컨트롤러(202)를 통해서 확인하고, 인가된 출발지 노드(201)가 전송한 데이터 패킷인 경우 응답 데이터 패킷을 출발지 노드(201)로 전송하는 것을 허용할 수 있다. 즉, 제2 접속 제어 애플리케이션(215)은 인가된 출발지 노드(201)로부터의 데이터 패킷을 수신하고, 해당 데이터 패킷에 대한 응답을 출발지 노드(201)에게 전송할 수 있다. 반면에, 제2 접속 제어 애플리케이션(215)은 인가되지 않은 노드로부터 수신되는 데이터 패킷은 인증 정보를 검사하거나 컨트롤러(202)에게 질의하는 과정을 통해 데이터 패킷을 드랍할 수 있다. The destination node 205 verifies the authentication information of the data packet received from the source node 201 through the controller 202, and if it is a data packet transmitted by the authorized source node 201, sends a response data packet to the source node ( 201) can be permitted. That is, the second access control application 215 may receive a data packet from the authorized source node 201 and transmit a response to the data packet to the source node 201. On the other hand, the second access control application 215 may drop data packets received from unauthorized nodes through a process of checking authentication information or querying the controller 202.

결과적으로, 비인가 노드 또는 애플리케이션은 기본적으로 상호간에 통신을 할 수 없는 상태이고, 인가된 노드 또는 애플리케이션이어도 컨트롤러(202)를 통해 상호간에 인증을 수행하지 않으면 데이터 패킷을 전송 및 수신할 수 없어 본 문서에 개시된 실시예에 따른 네트워크 접속 제어 시스템은 노드가 컨트롤러(202)에게 상호간 연결을 인증하기 이전에는 상호간에 격리된 상태를 제공할 수 있다. As a result, unauthorized nodes or applications are basically unable to communicate with each other, and even if they are authorized nodes or applications, they cannot transmit and receive data packets unless they authenticate each other through the controller 202. The network access control system according to the embodiment disclosed in may provide a state in which nodes are isolated from each other before authenticating their connection to the controller 202.

도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. Figure 6 shows a signal flow diagram for controller connection according to various embodiments.

노드(200)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 노드(200)의 접속 제어 애플리케이션(210)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로써 노드(200)의 컨트롤러 접속을 시도할 수 있다. 실시예에 따르면, 노드(200)는 제1 접속 제어 애플리케이션(211)이 설치된 도 2의 출발지 노드(201) 또는 제2 접속 제어 애플리케이션(215)이 설치된 도 2의 도착지 노드(205)와 실질적으로 동일할 수 있다. 즉, 접속 제어 애플리케이션(210)은 제1 접속 제어 애플리케이션(211) 또는 제2 접속 제어 애플리케이션(216)과 실질적으로 동일할 수 있다. In order for the node 200 to connect to or receive a network, it needs to be authorized by the controller 202, so the access control application 210 of the node 200 requests the controller 202 to create a control flow, thereby establishing the node ( 200), you can try to connect to the controller. According to the embodiment, the node 200 is substantially connected to the source node 201 of FIG. 2 where the first access control application 211 is installed or the destination node 205 of FIG. 2 where the second access control application 215 is installed. may be the same. That is, the access control application 210 may be substantially the same as the first access control application 211 or the second access control application 216.

도 6을 참조하면, 노드(200)는 컨트롤러 접속 이벤트를 감지할 수 있다. 예를 들어, 노드(200) 내에서 접속 제어 애플리케이션(210)이 설치 및 실행되면, 노드(200)는 컨트롤러(202)에 대한 접속이 요청됨을 감지할 수 있다. Referring to FIG. 6, node 200 can detect a controller connection event. For example, when the access control application 210 is installed and executed within the node 200, the node 200 may detect that a connection to the controller 202 is requested.

동작 605에서, 노드(200)는 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 접속 제어 애플리케이션(210)의 식별 정보를 컨트롤러(202)에게 전송할 수 있다. 추가적으로, 접속 제어 애플리케이션(210)은 노드(200)의 식별 정보(예: 단말 ID, IP 주소, MAC 주소), 종류, 위치, 환경, 노드(200)가 속하는 네트워크의 식별 정보, 및/또는 네트워크 시스템에 의하여 자체적으로 생성된 임의의 식별 정보를 더 전송할 수 있다. At operation 605, node 200 may request controller connection to controller 202. For example, the access control application 210 may transmit identification information of the access control application 210 to the controller 202. Additionally, the access control application 210 may include identification information (e.g., terminal ID, IP address, MAC address) of the node 200, type, location, environment, identification information of the network to which the node 200 belongs, and/or the network. Random identification information generated by the system itself may be further transmitted.

동작 610에서, 컨트롤러(202)는 컨트롤러 접속을 요청한 대상(예: 접속 제어 애플리케이션(210) 또는 노드(200))의 접속 가능 여부를 확인(identify)할 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 노드(200)로부터 수신된 정보가 접속 정책 데이터 베이스(311)에 포함되는지 여부 또는, 노드(200), 노드(200)가 속한 네트워크, 및/또는 접속 제어 애플리케이션(210)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되는지 여부 중 적어도 하나에 기반하여 컨트롤러 접속을 요청한 대상의 접속 가능 여부를 확인할 수 있다. In operation 610, the controller 202 may identify whether the object requesting controller connection (e.g., the access control application 210 or the node 200) can be connected. According to one embodiment, the controller 202 determines whether information received from the node 200 is included in the connection policy database 311, or determines whether the node 200, the network to which the node 200 belongs, and/or the connection It is possible to check whether the object requesting controller access can be connected based on at least one of whether the identification information of the control application 210 is included in the blacklist database 314.

접속 가능하다면, 동작 615에서, 컨트롤러(202)는 노드(200)(또는 접속 제어 애플리케이션(210))와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 노드(200), 노드(200)가 속한 네트워크, 또는 접속 제어 애플리케이션(210) 중 적어도 하나의 식별 정보를 제어 플로우 테이블(315)에 저장할 수 있다. 제어 플로우 테이블(315)에 저장된 정보는 노드(200)의 사용자 인증, 노드(200)의 정보 업데이트, 노드(200)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다. If a connection is available, at operation 615 the controller 202 may create a control flow between the node 200 (or the connection control application 210) and the controller 202. In this case, the controller 202 generates control flow identification information in the form of a random number and stores the identification information of at least one of the node 200, the network to which the node 200 belongs, or the access control application 210 in the control flow table ( 315). The information stored in the control flow table 315 may be used for user authentication of the node 200, update of information of the node 200, confirmation of policy for network connection of the node 200, and/or validation.

동작 620에서, 컨트롤러(202)는 식별된 정보(예: 노드(200), 노드(200)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 인증 정책 데이터 베이스(312)에 기반하여 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 625에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(210)에게 전송할 수 있다. In operation 620, the controller 202 based on the access policy database 311 and the authentication policy database 312 corresponding to the identified information (e.g., node 200, source network information to which node 200 belongs). You can create whitelist information of accessible applications. In one embodiment, controller 202 may transmit an application white list to connection control application 210 in operation 625.

동작 625에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답으로 제어 플로우 식별 정보를 노드(200)에게 전송할 수 있다. 실시예에 따라 컨트롤러 접속을 요청한 대상이 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 제어 플로우를 생성하지 않고 동작 625에서 접속 불가 정보를 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 620의 수행을 통하여 생성된 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(210)에게 전송할 수 있다.At operation 625, the controller 202 may transmit control flow identification information to the node 200 in response to the controller connection request. Depending on the embodiment, if the object requesting controller connection is unconnectable or included in the blacklist, the controller 202 may transmit unconnection information in operation 625 without generating a control flow. In one embodiment, the controller 202 may transmit the application white list created by performing operation 620 to the access control application 210.

동작 630 에서, 접속 제어 애플리케이션(210)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(210)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(200)에 존재하는지(설치되어있는지) 여부를 확인할 수 있고, 애플리케이션 화이트리스트에 포함된 애플리케이션 검사 정보에 기반하여 각각의 검사를 수행할 수 있다. In operation 630, the access control application 210 may perform a check on the application. For example, the access control application 210 may perform a check on applications based on a white list of accessible applications received from the controller 202. The access control application 210 can check whether an application exists (installed) on the node 200 based on accessible application information, and performs each check based on application inspection information included in the application whitelist. It can be done.

동작 635에서, 접속 제어 애플리케이션(210)은 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 애플리케이션 검사 정보에 기반하여 각각의 검사를 수행한 결과를 컨트롤러(202)에게 전송할 수 있다. At operation 635, the access control application 210 may transmit the test results to the controller 202. For example, the access control application 210 may transmit the results of performing each test to the controller 202 based on application test information.

동작 640에서, 컨트롤러(202)는 수신된 검사 결과를 기초로 데이터 플로우 처리를 수행할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 애플리케이션 검사 결과를 기초로 애플리케이션이 유효한지 여부를 검사하고, 유효한 애플리케이션인 경우, 노드(200)의 접속을 허용하기 위해 접속 정책(311) 및 인증 정책(312)에 기반하여 노드(200)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송할 수 있도록 하는 데이터 플로우를 생성할 수 있다. 실시예에 따르면, 데이터 플로우는 전송 프로토콜 정보, 출발지 IP, 도착지 IP 및 포트 정보, 데이터 패킷 인증을 수행하는 경우 전송 프로토콜에 인증 정보를 삽입하는 방식(예: TCP의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷별 인증 정보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입), 인증 정보 암호화/복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보, 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보 등), 출발지 IP 인증 여부를 포함하는 인증 정보를 포함)를 포함할 수 있다. 다만, 위 정보들을 모두 포함할 필요는 없으며, 데이터 플로우는 위 정보들 중 적어도 하나, 또는 복수개를 포함할 수 있다. In operation 640, the controller 202 may perform data flow processing based on the received test result. For example, the controller 202 checks whether the application is valid based on the received application inspection result, and if it is a valid application, sets the connection policy 311 and the authentication policy ( Based on 312), a data flow that allows the node 200 to transmit data packets without a network connection request procedure can be created. According to an embodiment, the data flow includes transmission protocol information, source IP, destination IP and port information, and a method of inserting authentication information into the transmission protocol when performing data packet authentication (e.g., for TCP, TCP SYN packet insertion, UDP In the case of inserting authentication information for each data packet or inserting authentication information at regular intervals (or cycles)), information for encryption/decryption of authentication information, algorithm information for generating and verifying authentication information, a series of information included in the algorithm (e.g. When creating an HMAC OTP, information such as Secret Key, etc.), and authentication information including whether the source IP is authenticated) may be included. However, it is not necessary to include all of the above information, and the data flow may include at least one or a plurality of the above information.

동작 645에서, 컨트롤러(202)는 생성된 데이터 플로우를 노드(200)에 전송할 수 있다. 실시예예 따르면, 데이터 플로우가 생성되지 않은 경우에는 컨트롤러(202)는 접속 실패 결과를 노드(200)에 전송하며 데이터 플로우를 전송하지 않을 수 있다. At operation 645, the controller 202 may transmit the generated data flow to the node 200. According to the embodiment, if a data flow is not created, the controller 202 may transmit a connection failure result to the node 200 and not transmit the data flow.

동작 650에서, 접속 제어 애플리케이션(210)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 수신된 제어 플로우 식별 정보를 저장하고 컨트롤러 접속이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 컨트롤러 접속이 완료되면, 노드(200)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 650, the access control application 210 may process a result value according to the received response. For example, the access control application 210 may store the received control flow identification information and display a user interface screen to the user indicating that the controller connection is complete. Once the controller connection is completed, the network connection request for the destination network of the node 200 can be controlled by the controller 202.

다른 실시예에 따라, 컨트롤러(202)는 노드(200)가 접속 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(200) 및/또는 노드(200)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(200)가 접속 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 615에서 제어 플로우를 생성하지 않고, 동작 625에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 630 내지 동작 645는 수행되지 않을 수 있다. 실시예에 따라서, 컨트롤러 접속의 재시도가 필요로 한 경우 접속 제어 애플리케이션(210)은 다시 동작 605를 수행할 수 있다. According to another embodiment, controller 202 may determine that node 200 is unreachable. For example, if the identification information of the node 200 and/or the network to which the node 200 belongs is included in the blacklist database, the controller 202 may determine that the node 200 is inaccessible. In this case, the controller 202 may not generate a control flow in operation 615 and may transmit a response indicating that the controller connection is unavailable in operation 625. Additionally, in this case, operations 630 to 645 may not be performed. Depending on the embodiment, if a retry of controller connection is required, the connection control application 210 may perform operation 605 again.

또한, 접속 제어 애플리케이션(210)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(200)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. 이후 데이터 패킷 전송 요청이 감지되는 경우, 접속 제어 애플리케이션(210)은 수신된 데이터 플로우에 기반하여 전송하고자하는 데이터 패킷을 처리할 수 있다. In addition, the access control application 210 can update the data flow of the node 200 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that Afterwards, when a data packet transmission request is detected, the access control application 210 may process the data packet to be transmitted based on the received data flow.

실시예에 따르면, 접속 제어 애플리케이션(210)은 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. According to an embodiment, when the connection control application 210 receives network connection release information from the controller 202, it may terminate the application or block all network connections of the application.

도 7은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.7 shows a signal flow diagram for user authentication according to various embodiments.

노드(200)가 목적지 네트워크에 대한 상세한 접속 권한을 부여 받기 위해서, 노드(200)의 접속 제어 애플리케이션(210)은 컨트롤러(202)로부터 노드(200)의 사용자에 대한 인증을 받을 수 있다. 실시예에 따르면, 노드(200)는 제1 접속 제어 애플리케이션(211)이 설치된 도 2의 출발지 노드(201) 또는 제2 접속 제어 애플리케이션(215)이 설치된 도 2의 도착지 노드(205)와 실질적으로 동일할 수 있다. 즉, 접속 제어 애플리케이션(210)은 제1 접속 제어 애플리케이션(211) 또는 제2 접속 제어 애플리케이션(216)과 실질적으로 동일할 수 있다. In order for the node 200 to be granted detailed access rights to the destination network, the access control application 210 of the node 200 may receive authentication for the user of the node 200 from the controller 202. According to the embodiment, the node 200 is substantially connected to the source node 201 of FIG. 2 on which the first access control application 211 is installed or the destination node 205 of FIG. 2 on which the second access control application 215 is installed. may be the same. That is, the access control application 210 may be substantially the same as the first access control application 211 or the second access control application 216.

도 7을 참조하면, 노드(200)는 사용자 인증을 위한 입력을 수신할 수 있다. 사용자 인증을 위한 입력은 예를 들어, 사용자 ID 및 비밀번호를 입력하는 사용자 입력일 수 있다. 다른 예를 들어, 사용자 인증을 위한 입력은 보다 강화된 인증을 위한 사용자 입력(예: 생체 정보)일 수 있다. 이 경우, 동작 705에서 노드(200)의 접속 제어 애플리케이션(210)은 컨트롤러(202)에게 사용자 인증을 요청할 수 있다. 노드(200)와 컨트롤러(202) 간 제어 플로우가 이미 생성된 상태이면, 접속 제어 애플리케이션(210)은 사용자 인증을 위한 입력 정보를 제어 플로우 식별 정보와 함께 전송할 수 있다.Referring to FIG. 7, node 200 may receive input for user authentication. The input for user authentication may be, for example, a user input of entering a user ID and password. For another example, the input for user authentication may be a user input for stronger authentication (e.g., biometric information). In this case, in operation 705, the access control application 210 of the node 200 may request user authentication from the controller 202. If a control flow between the node 200 and the controller 202 has already been created, the access control application 210 may transmit input information for user authentication along with control flow identification information.

동작 710에서, 컨트롤러(202)는 노드(200)로부터 수신된 정보에 기반하여 사용자를 인증할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 정보에 포함된 사용자 ID, 비밀번호, 및/또는 강화된 인증 정보와, 컨트롤러(202)의 메모리에 포함된 데이터 베이스(예: 도 3의 접속 정책 데이터 베이스(311) 또는 블랙리스트 데이터 베이스(314))에 기반하여 사용자가 접속 정책에 따라 접속 가능한지 여부 및 사용자가 블랙리스트에 포함되는지 여부를 결정할 수 있다. At operation 710, controller 202 may authenticate the user based on information received from node 200. For example, the controller 202 may store the user ID, password, and/or enhanced authentication information contained in the received information and a database contained in the memory of the controller 202 (e.g., the access policy database of FIG. 3). Based on (311) or the blacklist database (314), it can be determined whether the user can access according to the access policy and whether the user is included in the blacklist.

사용자가 인증되면, 동작 715에서, 컨트롤러(202)는 제어 플로우의 식별 정보에 사용자의 식별 정보(예: 사용자 ID)를 추가할 수 있다. 추가된 사용자 식별 정보는 인증된 사용자의 컨트롤러 접속 또는 네트워크 접속에 이용될 수 있다.If the user is authenticated, in operation 715, the controller 202 may add the user's identification information (e.g., user ID) to the control flow's identification information. The added user identification information can be used to connect the authenticated user to the controller or network.

동작 720에서, 컨트롤러(202)는 식별된 정보(예: 노드(200), 노드(200)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 인증 정책 데이터 베이스(312)에서 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 725에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(210)에게 전송할 수 있다. In operation 720, the controller 202 accesses the access policy database 311 and the authentication policy database 312 corresponding to the identified information (e.g., node 200, source network information to which node 200 belongs). Whitelist information of possible applications can be created. In one embodiment, controller 202 may transmit an application white list to connection control application 210 in operation 725.

동작 725에서, 컨트롤러(202)는 사용자 인증 요청에 대한 응답으로써 사용자가 인증됨을 나타내는 정보를 노드(200)에게 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 720의 수행을 통하여 생성된 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(210)에게 전송할 수 있다.In operation 725, the controller 202 may transmit information indicating that the user is authenticated to the node 200 in response to the user authentication request. In one embodiment, the controller 202 may transmit the application white list created by performing operation 720 to the access control application 210.

동작 730에서, 접속 제어 애플리케이션(210)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(210)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(200)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 애플리케이션 화이트리스트에 포함된 애플리케이션 검사 정보에 기반하여 각각의 검사를 수행할 수 있다. In operation 730, the access control application 210 may perform a check on the application. For example, the access control application 210 may perform a check on applications based on a white list of accessible applications received from the controller 202. The access control application 210 can check whether an application exists (installed) on the node 200 based on accessible application information and performs each check based on application inspection information included in the application whitelist. It can be done.

동작 735에서, 접속 제어 애플리케이션(210)은 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 애플리케이션 검사 정보에 기반하여 각각의 검사를 수행한 결과를 컨트롤러(202)에게 전송할 수 있다. At operation 735, the access control application 210 may transmit the test results to the controller 202. For example, the access control application 210 may transmit the results of performing each test to the controller 202 based on application test information.

동작 740에서, 컨트롤러(202)는 수신된 검사 결과를 기초로 데이터 플로우 처리를 수행할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 애플리케이션 검사 결과를 기초로 애플리케이션이 유효한지 여부를 검사하고, 유효한 애플리케이션인 경우, 노드(200)의 접속을 허용하기 위해 접속 정책(311) 및 인증 정책(312)에 기반하여 노드(200)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송할 수 있도록 하는 데이터 플로우를 생성할 수 있다. 실시예 에 따르면, 데이터 플로우는 전송 프로토콜 정보, 출발지 IP, 도착지 IP 및 포트 정보, 데이터 패킷 인증을 수행하는 경우 전송 프로토콜에 인증 정보를 삽입하는 방식(예: TCP의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷별 인증 정보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입), 인증 정보 암호화/복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보, 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보 등), 출발지 IP 인증 여부를 포함하는 인증 정보를 포함)를 포함할 수 있다. 다만, 위 정보들을 모두 포함할 필요는 없으며, 데이터 플로우는 위 정보들 중 적어도 하나, 또는 복수개를 포함할 수 있다. In operation 740, the controller 202 may perform data flow processing based on the received test results. For example, the controller 202 checks whether the application is valid based on the received application inspection result, and if it is a valid application, sets the connection policy 311 and the authentication policy ( Based on 312), a data flow that allows the node 200 to transmit data packets without a network connection request procedure can be created. According to the embodiment, the data flow includes transmission protocol information, source IP, destination IP and port information, and a method of inserting authentication information into the transmission protocol when performing data packet authentication (e.g., for TCP, TCP SYN packet insertion, UDP In the case of inserting authentication information for each data packet or inserting authentication information at regular intervals (or cycles)), information for encryption/decryption of authentication information, algorithm information for generating and verifying authentication information, a series of information included in the algorithm (e.g. When creating an HMAC OTP, information such as Secret Key, etc.), and authentication information including whether the source IP is authenticated) may be included. However, it is not necessary to include all of the above information, and the data flow may include at least one or a plurality of the above information.

동작 745에서, 컨트롤러(202)는 생성된 데이터 플로우를 노드(200)로 전송할 수 있다. At operation 745, the controller 202 may transmit the generated data flow to the node 200.

동작 750에서, 접속 제어 애플리케이션(210)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 수신된 제어 플로우 식별 정보를 저장하고 사용자 인증이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 사용자 인증이 완료되면, 노드(200)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 750, the access control application 210 may process a result value according to the received response. For example, the access control application 210 may store the received control flow identification information and display a user interface screen to the user indicating that user authentication is complete. Once user authentication is completed, the node 200's network connection request for the destination network may be controlled by the controller 202.

다른 실시예에 따르면, 컨트롤러(202)는 노드(200)의 사용자 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(200) 및/또는 노드(200)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(200)가 접속 불가능 및 사용자 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 715에서 사용자 식별 정보를 반영하지 않고, 동작 725에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 730 내지 동작 745는 수행되지 않을 수 있다. According to another embodiment, the controller 202 may determine that user authentication of node 200 is not possible. For example, if the identification information of node 200 and/or the network to which node 200 belongs is included in the blacklist database, the controller 202 may determine that node 200 is inaccessible and user authentication is not possible. . In this case, the controller 202 may not reflect the user identification information in operation 715 and may transmit a response indicating that controller access is not possible in operation 725. Additionally, in this case, operations 730 to 745 may not be performed.

또한, 접속 제어 애플리케이션(210)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(200)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, the access control application 210 can update the data flow of the node 200 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that

실시예에 따르면, 접속 제어 애플리케이션(210)은 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. According to an embodiment, when the connection control application 210 receives network connection release information from the controller 202, it may terminate the application or block all network connections of the application.

도 8은 다양한 실시예들에 따른 인증서 인증을 위한 신호 흐름도를 도시한다. Figure 8 shows a signal flow diagram for certificate authentication according to various embodiments.

노드(200)는 UI(User Interface)를 통해서 사용자 인증을 수행할 수도 있지만, 서버 형태로 동작하는 노드(200)의 경우 UI가 없이 사용자 인증이 아닌 사전에 발급받은 인증서를 기반으로 인증을 수행할 수도 있다. 이 경우, 노드(200)는 UI가 없는 상황에서 인증서를 기반으로 인증을 수행할 수 있어야 한다. 실시예에 따르면, 노드(200)는 제1 접속 제어 애플리케이션(211)이 설치된 도 2의 출발지 노드(201) 또는 제2 접속 제어 애플리케이션(215)이 설치된 도 2의 도착지 노드(205)와 실질적으로 동일할 수 있다. 즉, 접속 제어 애플리케이션(210)은 제1 접속 제어 애플리케이션(211) 또는 제2 접속 제어 애플리케이션(216)과 실질적으로 동일할 수 있다. The node 200 may perform user authentication through a UI (User Interface), but in the case of the node 200 operating in the form of a server, authentication may be performed based on a previously issued certificate rather than user authentication without a UI. It may be possible. In this case, the node 200 must be able to perform authentication based on a certificate in a situation where there is no UI. According to the embodiment, the node 200 is substantially connected to the source node 201 of FIG. 2 on which the first access control application 211 is installed or the destination node 205 of FIG. 2 on which the second access control application 215 is installed. may be the same. That is, the access control application 210 may be substantially the same as the first access control application 211 or the second access control application 216.

동작 805에서, 노드(200)의 접속 제어 애플리케이션(210)은 컨트롤러(202)와의 제어 플로우 생성 이후 사전에 발급 받은 인증서를 기반으로 생성된 전자 서명, 또는 관련 인증 정보를 컨트롤러(202)에게 전송하며 인증서 인증을 요청할 수 있다. In operation 805, the access control application 210 of the node 200 transmits an electronic signature generated based on a previously issued certificate or related authentication information to the controller 202 after creating a control flow with the controller 202. You can request certificate authentication.

동작 810에서, 컨트롤러(202)는 인증서 인증을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(210)이 인증 요청한 정보(예: 전자 서명 및 인증서에 의한 인증 정보 등)를 기반으로 접속 가능한 인증서 여부와 블랙리스트(314)에 포함되어 있는지 여부를 검사하여, 인증 요청한 인증서가 차단되어 있는지 여부를 확인할 수 있다. 실시예에 따르면, 접속이 불가능하거나 인증서가 블랙리스트에 포함된 경우 컨트롤러(202)는 노드(200)에게 접속 불가 정보를 전송할 수 있다(동작 825). At operation 810, controller 202 may verify certificate authentication. For example, the controller 202 determines whether the access control application 210 has a certificate that allows access based on information requested for authentication (e.g., electronic signature and authentication information by certificate, etc.) and whether it is included in the blacklist 314. You can check whether the certificate requested for authentication is blocked. According to an embodiment, when connection is impossible or the certificate is included in the blacklist, the controller 202 may transmit connection inaccessibility information to the node 200 (operation 825).

동작 815에서, 접속 가능한 인증서인 경우, 컨트롤러(202)는 전송한 제어 플로우 식별 정보에 대응되는 제어 플로우를 검색하고, 검색된 제어 플로우에 인증서 식별 정보를 추가할 수 있다. 실시예에 따르면, 컨트롤러(202)는 인증서 인증의 결과로 인증서 인증 완료 상태 및 인증된 인증서의 접속 정책 정보를 노드(200)로 반환할 수 있다(동작 825). In operation 815, if the certificate is accessible, the controller 202 may search for a control flow corresponding to the transmitted control flow identification information and add the certificate identification information to the searched control flow. According to an embodiment, the controller 202 may return a certificate authentication completion status and access policy information of the authenticated certificate to the node 200 as a result of certificate authentication (operation 825).

동작 820에서, 컨트롤러(202)는 식별된 정보(예: 노드(200), 노드(200)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 인증 정책 데이터 베이스(312)에서 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 825에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(210)에게 전송할 수 있다. In operation 820, the controller 202 accesses the access policy database 311 and the authentication policy database 312 corresponding to the identified information (e.g., node 200, source network information to which node 200 belongs). Whitelist information of possible applications can be created. In one embodiment, controller 202 may transmit an application white list to connection control application 210 in operation 825.

동작 825에서, 컨트롤러(202)는 사용자 인증 요청에 대한 응답으로써 사용자가 인증됨을 나타내는 정보를 노드(200)에게 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 820의 수행을 통하여 생성된 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(210)에게 전송할 수 있다.In operation 825, the controller 202 may transmit information indicating that the user is authenticated to the node 200 in response to the user authentication request. In one embodiment, the controller 202 may transmit the application white list created by performing operation 820 to the access control application 210.

동작 830에서, 접속 제어 애플리케이션(210)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(210)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(200)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 애플리케이션 화이트리스트에 포함된 애플리케이션 검사 정보에 기반하여 각각의 검사를 수행할 수 있다. In operation 830, the access control application 210 may perform a check on the application. For example, the access control application 210 may perform a check on applications based on a white list of accessible applications received from the controller 202. The access control application 210 can check whether an application exists (installed) on the node 200 based on accessible application information and performs each check based on application inspection information included in the application whitelist. It can be done.

동작 835에서, 접속 제어 애플리케이션(210)은 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 애플리케이션 검사 정보에 기반하여 각각의 검사를 수행한 결과를 컨트롤러(202)에게 전송할 수 있다. At operation 835, the access control application 210 may transmit the test results to the controller 202. For example, the access control application 210 may transmit the results of performing each test to the controller 202 based on application test information.

동작 840에서, 컨트롤러(202)는 수신된 검사 결과를 기초로 데이터 플로우 처리를 수행할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 애플리케이션 검사 결과를 기초로 애플리케이션이 유효한지 여부를 검사하고, 유효한 애플리케이션인 경우, 노드(200)의 접속을 허용하기 위해 접속 정책(311) 및 인증 정책(312)에 기반하여 노드(200)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송할 수 있도록 하는 데이터 플로우를 생성할 수 있다. 실시예 에 따르면, 데이터 플로우는 전송 프로토콜 정보, 출발지 IP, 도착지 IP 및 포트 정보, 데이터 패킷 인증을 수행하는 경우 전송 프로토콜에 인증 정보를 삽입하는 방식(예: TCP의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷별 인증 정보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입), 인증 정보 암호화/복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보, 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보 등), 출발지 IP 인증 여부를 포함하는 인증 정보를 포함)를 포함할 수 있다. 다만, 위 정보들을 모두 포함할 필요는 없으며, 데이터 플로우는 위 정보들 중 적어도 하나, 또는 복수개를 포함할 수 있다. In operation 840, the controller 202 may perform data flow processing based on the received test results. For example, the controller 202 checks whether the application is valid based on the received application inspection result, and if it is a valid application, sets the connection policy 311 and the authentication policy ( Based on 312), a data flow that allows the node 200 to transmit data packets without a network connection request procedure can be created. According to the embodiment, the data flow includes transmission protocol information, source IP, destination IP and port information, and a method of inserting authentication information into the transmission protocol when performing data packet authentication (e.g., for TCP, TCP SYN packet insertion, UDP In the case of inserting authentication information for each data packet or inserting authentication information at regular intervals (or cycles)), information for encryption/decryption of authentication information, algorithm information for generating and verifying authentication information, a series of information included in the algorithm (e.g. When creating an HMAC OTP, information such as Secret Key, etc.), and authentication information including whether the source IP is authenticated) may be included. However, it is not necessary to include all of the above information, and the data flow may include at least one or a plurality of the above information.

동작 845에서, 컨트롤러(202)는 생성된 데이터 플로우를 노드(200)로 전송할 수 있다. At operation 845, the controller 202 may transmit the generated data flow to the node 200.

동작 850에서, 접속 제어 애플리케이션(210)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 수신된 제어 플로우 식별 정보를 저장하고 사용자 인증이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 사용자 인증이 완료되면, 노드(200)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 850, the access control application 210 may process a result value according to the received response. For example, the access control application 210 may store the received control flow identification information and display a user interface screen to the user indicating that user authentication is complete. Once user authentication is completed, the node 200's network connection request for the destination network may be controlled by the controller 202.

다른 실시예에 따르면, 컨트롤러(202)는 노드(200)의 사용자 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(200) 및/또는 노드(200)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(200)가 접속 불가능 및 인증서 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 815에서 인증서 식별 정보를 반영하지 않고, 동작 825에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 830 내지 동작 845는 수행되지 않을 수 있다. According to another embodiment, the controller 202 may determine that user authentication of node 200 is not possible. For example, if the identification information of node 200 and/or the network to which node 200 belongs is included in the blacklist database, the controller 202 may determine that node 200 is inaccessible and certificate authentication is not possible. . In this case, the controller 202 may not reflect the certificate identification information in operation 815 and may transmit a response indicating that the controller connection is impossible in operation 825. Additionally, in this case, operations 830 to 845 may not be performed.

또한, 접속 제어 애플리케이션(210)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(200)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, the access control application 210 can update the data flow of the node 200 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that

실시예에 따르면, 접속 제어 애플리케이션(210)은 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. According to an embodiment, when the connection control application 210 receives network connection release information from the controller 202, it may terminate the application or block all network connections of the application.

도 9는 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다. Figure 9 shows a signal flow diagram for network access according to various embodiments.

출발지 노드(201)가 컨트롤러(202)로부터 인가된 이후에, 출발지 노드(201)는 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)을 통해 출발지 노드(201) 내에 저장된 다른 애플리케이션들의 네트워크 접속을 제어함으로서 신뢰된 데이터 전송을 보장할 수 있다. 실시예에 따르면, 출발지 노드(201)는 제1 접속 제어 애플리케이션(211)이 설치된 도 2의 출발지 노드(201)와 실질적으로 동일할 수 있다. After the source node 201 is authorized by the controller 202, the source node 201 connects to the network of other applications stored in the source node 201 through the first access control application 211 of the source node 201. By controlling, trusted data transmission can be guaranteed. According to the embodiment, the source node 201 may be substantially the same as the source node 201 of FIG. 2 where the first access control application 211 is installed.

도 9를 참조하면, 동작 905에서, 제1 접속 제어 애플리케이션(211)은 출발지 노드(201) 내에 저장된 다른 애플리케이션(예: 도 2의 제1 타겟 애플리케이션(212))의 네트워크 접속 이벤트를 감지할 수 있다. Referring to FIG. 9, in operation 905, the first connection control application 211 may detect a network connection event of another application (e.g., the first target application 212 in FIG. 2) stored in the source node 201. there is.

동작 910에서, 제1 접속 제어 애플리케이션(211)은 네트워크 접속 요청한 애플리케이션의 식별 정보, 목적지 네트워크 식별 정보 및 포트 정보에 대응되는 데이터 플로우의 존재를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지만 유효하지 않은 경우, 제1 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. 다른 실시예에 따라서, 데이터 플로우가 존재하는 경우, 제1 접속 제어 애플리케이션(211)은 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 실시예에 따르면 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)은 동작 910을 수행하지 않고 동작 915에서 네트워크 접속 요청을 수행할 수도 있다. In operation 910, the first access control application 211 may confirm the existence of a data flow corresponding to the identification information, destination network identification information, and port information of the application requesting network access. Depending on the embodiment, if a data flow exists but is not valid, the first access control application 211 may drop the data packet. According to another embodiment, when a data flow exists, the first access control application 211 may transmit a data packet based on the data flow. According to an embodiment, the first access control application 211 of the source node 201 may perform a network connection request in operation 915 without performing operation 910.

데이터 플로우가 존재하지 않거나 인증 시각이 만료되어 갱신이 필요한 경우 등 데이터 플로우를 갱신해야 하는 경우, 동작 915에서, 제1 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속 요청을 수행할 수 있다. 예를 들어, 네트워크 접속 요청은 제어 플로우 식별 정보, 목적지 네트워크의 식별 정보 및 포트 정보를 포함할 수 있다. When the data flow needs to be updated, such as when the data flow does not exist or when the authentication time has expired and needs to be updated, in operation 915, the first access control application 211 may request a network connection to the controller 202. . For example, a network connection request may include control flow identification information, identification information of the destination network, and port information.

본 문서에 개시된 다른 실시예에 따르면, 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 실행시 지정된 인자값을 컨트롤러(202)에게 더 전송하며 네트워크 접속 요청을 수행할 수 있다(동작 915). 이 경우, 컨트롤러(202)는 도착지 노드(205)의 식별 정보에 대응되는 분산 네트워크를 구성하는 그룹 정책(도 3의 그룹 정책 데이터베이스(318))에 기반하여 타겟 애플리케이션의 실행시 지정된 인자값이 등록된 대상인지 여부를 확인하여 접속 가능여부를 확인할 수 있다(동작 920), According to another embodiment disclosed in this document, the first connection control application 211 of the source node 201 may further transmit a specified parameter value to the controller 202 when executing the target application and perform a network connection request. (Action 915). In this case, the controller 202 registers the specified parameter value when executing the target application based on the group policy (group policy database 318 in FIG. 3) constituting the distributed network corresponding to the identification information of the destination node 205. You can check whether connection is possible by checking whether the target is connected (operation 920),

따라서, 위와 같은 동작을 통해 본 문서에 개시된 다른 실시예에 따른 출발지 노드(201) 및 컨트롤러(202)는 하나의 애플리케이션으로 복수의 분산 네트워크에 참여하도록 제어할 수 있다, 또한, 컨트롤러(202)는 분산 네트워크에 참여하는 애플리케이션을 실행할 때 참여하고자 하는 분산 네트워크 그룹에 대한 정보를 포함하는 명령어를 식별하고 해당 정보에 따라 출발지 노드(201)가 식별된 분산 네트워크에 참여하고 있는 도착지 노드(205)와 통신할 수 있도록 제어할 수 있다. Therefore, through the above operation, the source node 201 and the controller 202 according to another embodiment disclosed in this document can be controlled to participate in a plurality of distributed networks with one application. Additionally, the controller 202 When executing an application participating in a distributed network, a command containing information about the distributed network group desired to participate is identified, and according to that information, the source node 201 communicates with the destination node 205 participating in the identified distributed network. You can control it so that you can do it.

동작 920에서, 컨트롤러(202)는 제어 플로우 식별 정보를 기반으로 식별된 정보(예: 노드, 사용자, 출발지 네트워크 식별 정보)와 대응되는 접속 정책에서, 접속 요청한 식별 정보(예: 도착지 노드의 식별 정보 및 포트 정보)의 포함 여부 및 도착지 노드(205)의 접속 가능 여부를 확인할 수 있다. 실시예에 따르면, 컨트롤러(202)는 타겟 애플리케이션이 도착지 노드(205)에 접속 가능한지 여부를 확인할 수 있다. 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 불가능한 경우 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다(동작 930).In operation 920, the controller 202 collects the connection request identification information (e.g., identification information of the destination node) from the connection policy corresponding to the identified information (e.g., node, user, source network identification information) based on the control flow identification information. and port information) and whether the destination node 205 is accessible can be checked. According to the embodiment, the controller 202 may check whether the target application can connect to the destination node 205. Depending on the embodiment, when network connection is impossible, the controller 202 may transmit a connection failure result to the first connection control application 211 of the source node 201 (operation 930).

실시예에 따르면, 동작 920에서 컨트롤러(202)는 출발지 노드(201)가 접속하고자 하는 도착지 노드(205)를 IP에 기반하여 식별할 수 있다. 이 경우, IP의 특성상 서브 네트워크가 구성된 환경에서 정확한 도착지 노드(205)를 식별할 수 없는 문제가 존재하므로, 컨트롤러(202)는 분산 네트워크를 구성하기 위한 최소한의 조건으로써 분산 네트워크를 구성하는 IP 화이트리스트 또는 분산 네트워크에 접속할 수 없는 IP 주소 블랙리스트 및 분산 네트워크에 접속 가능한 애플리케이션 화이트리스트 등과 같이 분산 네트워크를 구성하기 위한 접속 정책 관점에서의 접속 가능 여부를 확인할 수 있다. According to the embodiment, in operation 920, the controller 202 may identify the destination node 205 to which the source node 201 wishes to connect based on IP. In this case, since there is a problem of not being able to identify the exact destination node 205 in an environment where a sub-network is configured due to the nature of IP, the controller 202 uses IP White Paper to configure the distributed network as the minimum condition for configuring the distributed network. You can check whether access is possible from the perspective of the access policy for configuring a distributed network, such as a list or blacklist of IP addresses that cannot access the distributed network, and a whitelist of applications that can access the distributed network.

접속이 가능한 경우, 동작 925에서, 컨트롤러(202)는 도착지 노드(205)에 접속하기 위해 인증 정책 데이터베이스(312)에서 데이터 패킷 인증 여부 및 인증 방식을 확인하고, 데이터 플로우 테이블에서 접속 가능한 유효한 데이터 플로우 정보를 확인할 수 있다. If connection is possible, in operation 925, the controller 202 checks whether the data packet is authenticated and the authentication method in the authentication policy database 312 to connect to the destination node 205, and selects a valid accessible data flow from the data flow table. You can check the information.

실시예에 따르면, 가능한 유효한 데이터 플로우 정보가 없는 경우 컨트롤러(202)는 전송 프로토콜 정보, 출발지 IP, 도착지 IP 및 포트 정보 및 인증 정책에 의해 데이터 패킷 인증을 수행하는 경우, 해당 전송 프로토콜의 인증 정보를 삽입하는 방식(예: TCP의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷별 인증 정보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입 등), 인증 정보 암·복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보 등), 출발지 노드(201) IP 인증 여부를 포함하는 인증 정보를 생성하고, 인증 정보를 포함하는 데이터 플로우 정보를 생성할 수 있다. 데이터 플로우가 생성되면, 컨트롤러(202)는 생성된 데이터 플로우를 출발지 노드(201)로 전송할 수 있다(동작 930). According to the embodiment, when there is no available valid data flow information, the controller 202 performs data packet authentication by transmission protocol information, source IP, destination IP and port information, and authentication policy, and authenticates the transmission protocol using authentication information. Insertion method (e.g., for TCP, TCP SYN packet insertion, for UDP, insertion of authentication information for each data packet or insertion of authentication information at regular intervals (or cycles), etc.), information for encryption and decryption of authentication information, and generation of authentication information And algorithm information for verification and a series of information included in the algorithm (e.g. information such as Secret Key when generating HMAC OTP), generate authentication information including whether the source node (201) IP is authenticated, and include the authentication information. Data flow information can be created. When a data flow is created, the controller 202 may transmit the generated data flow to the source node 201 (operation 930).

실시예에 따르면, 유효한 데이터 플로우가 존재하는 경우 컨트롤러(202)는 데이터 플로우를 생성하지 않고, 해당 데이터 플로우를 출발지 노드(201)로 전송할 수 있다. According to an embodiment, when a valid data flow exists, the controller 202 may transmit the data flow to the source node 201 without creating the data flow.

동작 935에서, 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 제1 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 불가 결과를 수신한 경우, 타겟 애플리케이션이 전송하고자 하는 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 제1 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 데이터 플로우가 수신되는 경우, 수신된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 이 경우, 제1 접속 제어 애플리케이션(211)은 수신된 데이터 플로우로 기존 데이터 플로우를 갱신할 수 있다. In operation 935, the first access control application 211 of the source node 201 may process a result value for the response received from the controller 202. For example, when the first access control application 211 receives a network connection unavailable result from the controller 202, it may drop the data packet that the target application wants to transmit. For another example, when a data flow is received from the controller 202, the first access control application 211 may transmit a data packet based on the received data flow. In this case, the first access control application 211 may update the existing data flow with the received data flow.

도 10은 다양한 실시예들에 따른 출발지 노드의 데이터 패킷 전송을 위한 동작 흐름도를 도시한다. 실시예에 따르면, 도 10에 도시된 동작들은 도 2의 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. 본 문서에 개시된 다른 실시예에 따르면, 도 10에 도시된 동작들은 도착지 노드(205)의 제2 접속 제어 애플리케이션(215)을 통해 수행될 수도 있다. FIG. 10 illustrates an operation flowchart for data packet transmission by a source node according to various embodiments. According to the embodiment, the operations shown in FIG. 10 may be performed through the first access control application 211 of the source node 201 of FIG. 2. According to another embodiment disclosed in this document, the operations shown in FIG. 10 may be performed through the second access control application 215 of the destination node 205.

출발지 노드(201)는 네트워크 접속 요청 이후 데이터 패킷을 도착지 노드(205)로 전송하여 도착지 노드(205)로 하여금 출발지 노드(201)로부터 수신된 데이터 패킷이 정상적임을 확인하도록 하기 위하여 데이터 패킷에 인증 정보를 삽입할 수 있다. After requesting a network connection, the source node 201 transmits a data packet to the destination node 205 and includes authentication information in the data packet to allow the destination node 205 to confirm that the data packet received from the source node 201 is normal. can be inserted.

동작 1005에서 제1 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 데이터 패킷 전송 이벤트를 감지할 수 있다. In operation 1005, the first access control application 211 may detect a data packet transmission event of the target application.

동작 1010에서, 제1 접속 제어 애플리케이션(211)은 1 접속 제어 애플리케이션(211)은 최초 네트워크 접속이 컨트롤러(202)로부터 허용된 이후 데이터 패킷이 전송되는 경우 전송되는 데이터 패킷의 전송 프로토콜, 도착지 노드(205)의 IP, 포트 및 애플리케이션에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우가 존재하지 않는 경우 제1 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다(동작 1015). In operation 1010, the first access control application 211 sets the transmission protocol of the data packet transmitted when the data packet is transmitted after the first network connection is permitted from the controller 202, the destination node ( You can check whether a data flow corresponding to the IP, port, and application of 205) exists. According to an embodiment, when no data flow exists, the first access control application 211 may drop a data packet (operation 1015).

유효한 데이터 플로우가 존재하는 경우 동작 1020에서, 제1 접속 제어 애플리케이션(211)은 데이터 패킷의 종류를 검사할 수 있다. 예를 들어, 제1 접속 제어 애플리케이션(211)은 데이터 패킷이 TCP 데이터 패킷인지, UDP 데이터 패킷인지 검사할 수 있고, 데이터 패킷이 TCP 데이터 패킷이면 TCP 데이터 패킷 처리(동작 1025)를 수행할 수 있고, 데이터 패킷이 UDP 데이터 패킷이면 UDP 데이터 패킷 처리(동작 1055)를 수행할 수 있다. If a valid data flow exists, in operation 1020, the first access control application 211 may check the type of data packet. For example, the first connection control application 211 may check whether the data packet is a TCP data packet or a UDP data packet, and if the data packet is a TCP data packet, perform TCP data packet processing (operation 1025), , If the data packet is a UDP data packet, UDP data packet processing (operation 1055) can be performed.

실시예예 따르면, 데이터 패킷이 TCP 세션 생성 데이터 패킷인 경우, 제1 접속 제어 애플리케이션(211)은 TCP SYN 패킷에 인증 정보를 삽입하고 데이터 패킷을 전송할 수 있다(동작 1030, 1045). 예를 들어, 인증 정보를 삽입하는 동작은 도 11에 도시된 동작을 통해 수행될 수 있다. According to the embodiment, when the data packet is a TCP session creation data packet, the first connection control application 211 may insert authentication information into the TCP SYN packet and transmit the data packet (operations 1030 and 1045). For example, the operation of inserting authentication information can be performed through the operation shown in FIG. 11.

실시예예 따르면, TCP SYN 패킷을 전송한 후 도착지 노드(205)로부터 TCP 세션 생성 완료 데이터 패킷을 수신하는 경우, 제1 접속 제어 애플리케이션(211)은 데이터 패킷에 대응되는 데이터 플로우의 상태 정보를 TCP 세션 생성 완료 상태로 변경하여 TCP 기반 데이터 패킷을 전송할 수 있도록 할 수 있다. According to the embodiment, when receiving a TCP session creation complete data packet from the destination node 205 after transmitting the TCP SYN packet, the first connection control application 211 sends the status information of the data flow corresponding to the data packet to the TCP session. You can change the status to creation completed so that TCP-based data packets can be transmitted.

실시예예 따르면, 데이터 패킷이 TCP 세션 종료 데이터 패킷인 경우, 제1 접속 제어 애플리케이션(211)은 데이터 플로우의 상태 정보를 TCP 세션 생성 종료 상태로 변경하여, TCP 기반 데이터 패킷(실 데이터 패킷)을 전송할 수 없도록 하고, TCP 세션 종료 데이터 패킷을 전송할 수 있다(동작 1035, 1045).According to the embodiment, when the data packet is a TCP session end data packet, the first connection control application 211 changes the status information of the data flow to the TCP session creation end state to transmit a TCP-based data packet (real data packet). and transmit a TCP session termination data packet (operations 1035 and 1045).

실시예예 따르면, 데이터 패킷이 TCP 기반 데이터 패킷(실 데이터 패킷)인 경우, 제1 접속 제어 애플리케이션(211)은 데이터 플로우의 상태 정보에서 TCP 세션이 생성 완료되었는지 여부를 확인할 수 있다(동작 1040). 예를 들어, TCP 세션 생성이 완료된 경우, 제1 접속 제어 애플리케이션(211)은 데이터 패킷을 전송할 수 있다(동작 1045). 다른 예를 들어, TCP 세션 생성이 완료되지 않은 상태인 경우 제1 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다(동작 1050). According to the embodiment, if the data packet is a TCP-based data packet (real data packet), the first connection control application 211 may check whether the TCP session has been created from the status information of the data flow (operation 1040). For example, when TCP session creation is completed, the first connection control application 211 may transmit a data packet (operation 1045). For another example, when TCP session creation is not completed, the first connection control application 211 may drop a data packet (operation 1050).

실시예에 따르면, 데이터 패킷이 UDP 기반 데이터 패킷인 경우 제1 접속 제어 애플리케이션(211)은 데이터 패킷 인증 필요 여부를 확인하고, 인증이 필요한 경우 데이터 패킷에 인증 정보를 삽입하여 전송할 수 있고(동작 1060, 1065), 인증이 필요하지 않은 경우 인증 정보 삽입 없이 데이터 패킷을 전송할 수 있다(동작 1065). 실시예에 따르면, 인증 정보 삽입은 도 11에 도시된 동작을 통해 수행될 수 있다. According to the embodiment, when the data packet is a UDP-based data packet, the first access control application 211 checks whether the data packet requires authentication, and if authentication is required, inserts authentication information into the data packet and transmits it (operation 1060). , 1065), if authentication is not required, the data packet can be transmitted without inserting authentication information (operation 1065). According to an embodiment, inserting authentication information may be performed through the operation shown in FIG. 11.

실시예에 따르면, 데이터 패킷에 삽입되는 인증 정보는 도착지 노드(205)가 컨트롤러(202)에게 인증 정보의 정상 여부를 확인하여 정상인 경우 응답하기 위해 사용될 수 있다. According to the embodiment, the authentication information inserted into the data packet can be used by the destination node 205 to check whether the authentication information is normal with the controller 202 and respond if it is normal.

도 11은 다양한 실시예들에 따른 출발지 노드의 데이터 패킷 인증 정보 삽입을 위한 동작 흐름도를 도시한다. FIG. 11 illustrates an operation flowchart for inserting authentication information into a data packet of a source node according to various embodiments.

본 문서에 개시된 다른 실시예에 따르면, 도 11에 도시된 동작들은 도착지 노드(205)의 제2 접속 제어 애플리케이션(215)을 통해 수행될 수도 있다. According to another embodiment disclosed in this document, the operations shown in FIG. 11 may be performed through the second access control application 215 of the destination node 205.

출발지 노드(201)의 제1 접속 제어 애플리케이션(211)은 데이터 패킷에 인증 정보를 삽입하여 도착지 노드(205)로 전송함으로서 컨트롤러(202)에서 생성된 인증 정보를 통해 도착지 노드(205)와 신뢰된 네트워크 연결을 수립할 수 있다. The first access control application 211 of the source node 201 inserts authentication information into the data packet and transmits it to the destination node 205, thereby establishing a trusted relationship with the destination node 205 through the authentication information generated by the controller 202. A network connection can be established.

동작 1105에서, 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)은 데이터 패킷 인증 정보 삽입 이벤트를 감지할 수 있다. 예를 들어, 제1 접속 제어 애플리케이션(211)은 도 10의 동작 1030, 1060을 통해 데이터 패킷 인증 정보 삽입 이벤트를 감지할 수 있다. In operation 1105, the first access control application 211 of the source node 201 may detect a data packet authentication information insertion event. For example, the first access control application 211 may detect a data packet authentication information insertion event through operations 1030 and 1060 of FIG. 10.

실시예에 따르면, 제1 접속 제어 애플리케이션(211)은 데이터 패킷 인증 정보 삽입 이벤트가 발생하는 경우, 데이터 플로우의 인증 정보를 사용하여 데이터 패킷에 인증 정보를 삽입한 이후 전송할 것인지 여부를 확인할 수 있고, 인증 정보를 삽입할 필요가 없는 경우, 동작 1110 내지 동작 1120을 수행하지 않고 데이터 패킷을 전송할 수 있다(동작 1125).According to the embodiment, when a data packet authentication information insertion event occurs, the first access control application 211 may use the authentication information of the data flow to check whether to transmit after inserting the authentication information into the data packet, If there is no need to insert authentication information, the data packet can be transmitted without performing operations 1110 to 1120 (operation 1125).

동작 1110에서, 제1 접속 제어 애플리케이션(211)은 인증 정보를 생성할 수 있다. 예를 들어, 제1 접속 제어 애플리케이션(211)은 데이터 패킷에 대응되는 데이터 플로우에 포함된 인증 정보를 확인하여, 인증 정보에 포함된 인증 정보 생성 알고리즘 및 부가 정보를 통해 인증 정보를 생성할 수 있다. In operation 1110, the first access control application 211 may generate authentication information. For example, the first access control application 211 may check the authentication information included in the data flow corresponding to the data packet and generate authentication information through the authentication information generation algorithm and additional information included in the authentication information. .

동작 1115에서, 제1 접속 제어 애플리케이션(211)은 인증 정보를 암호화할 수 있다. 예를 들어, 제1 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 인증 정보의 암호화 알고리즘 및 암호화 키로 생성된 인증 정보를 암호화할 수 있다. In operation 1115, the first access control application 211 may encrypt authentication information. For example, the first access control application 211 may encrypt the authentication information generated using the encryption algorithm and encryption key of the authentication information included in the data flow.

동작 1120에서, 제1 접속 제어 애플리케이션(211)은 암호화된 인증 정보와 데이터 플로우 식별 정보를 결합한 데이터 플로우 헤더를 인증 정보의 인증 정보 삽입 방식에 따라 데이터 패킷에 삽입 처리할 수 있다. In operation 1120, the first access control application 211 may insert a data flow header combining encrypted authentication information and data flow identification information into a data packet according to the authentication information insertion method.

실시예에 따르면, 제1 접속 제어 애플리케이션(211)은 전송 프로토콜이 TCP인 경우 TCP SYN 데이터 패킷의 페이로드에 해당 데이터 플로우 헤더를 삽입할 수 있다.According to the embodiment, the first connection control application 211 may insert the corresponding data flow header into the payload of the TCP SYN data packet when the transmission protocol is TCP.

실시예에 따르면, 제1 접속 제어 애플리케이션(211)은 전송 프로토콜이 UDP인 경우 UDP 데이터 패킷의 페이로드에 해당 데이터 플로우 헤더를 삽입할 수 있다.According to an embodiment, the first access control application 211 may insert the corresponding data flow header into the payload of a UDP data packet when the transmission protocol is UDP.

실시예에 따르면, 제1 접속 제어 애플리케이션(211)은 UDP 데이터 패킷의 경우, 매 UDP 데이터 패킷에 데이터 플로우 헤더를 삽입하거나 일정 데이터 패킷 단위 또는 시간 단위로 데이터 플로우 헤더를 삽입하거나 데이터 패킷의 흐름이 시작되는 시점에 데이터 플로우 헤더를 삽입하는 등, 인증 정보 삽입 방식에 따라 데이터 플로우 헤더를 삽입할 수 있다.According to the embodiment, in the case of UDP data packets, the first access control application 211 inserts a data flow header in every UDP data packet, inserts a data flow header in units of certain data packets or time units, or inserts a data flow header in units of certain data packets or time units, or inserts a data flow header in the case of UDP data packets. The data flow header can be inserted according to the authentication information insertion method, such as inserting the data flow header at the start point.

데이터 플로우 헤더 삽입이 완료되면, 제1 접속 제어 애플리케이션(211)은 데이터 패킷을 전송할 수 있다(동작 1125). When data flow header insertion is completed, the first access control application 211 may transmit a data packet (operation 1125).

도 12는 다양한 실시예들에 따른 도착지 노드의 네트워크 접속 요청 수신을 위한 동작 흐름도를 도시한다. 도 12에 도시된 동작들은 도 2의 도착지 노드(205)의 제2 접속 제어 애플리케이션(215)을 통해 수행될 수 있다. 본 문서에 개시된 다른 실시예에 따르면, 도 12에 도시된 동작들은 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)을 통해 수행될 수도 있다.FIG. 12 illustrates an operation flowchart for receiving a network connection request from a destination node according to various embodiments. The operations shown in FIG. 12 may be performed through the second access control application 215 of the destination node 205 of FIG. 2. According to another embodiment disclosed in this document, the operations shown in FIG. 12 may be performed through the first access control application 211 of the source node 201.

도착지 노드(205)는 출발지 노드(201)로부터 네트워크 접속을 요청하는 데이터 패킷을 수신하면, 데이터 패킷의 종류에 기반하여 데이터 패킷을 처리할 수 있다. When the destination node 205 receives a data packet requesting network access from the source node 201, it can process the data packet based on the type of the data packet.

동작 1205에서, 도착지 노드(205)의 제2 접속 제어 애플리케이션(215)은 출발지 노드(201)로부터 네트워크 접속 요청을 위한 데이터 패킷을 수신할 수 있다. In operation 1205, the second connection control application 215 of the destination node 205 may receive a data packet for a network connection request from the source node 201.

동작 1210에서, 제2 접속 제어 애플리케이션(215)은 데이터 패킷에 대응되는 IP (Internet Protocol)의 5 Tuples 정보에 포함된 전송 프로토콜, 도착지 IP, 도착지 포트 정보를 기반으로 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우가 존재하지 않으면 제2 접속 제어 애플리케이션(215)은 데이터 패킷을 드랍할 수 있다. In operation 1210, the second access control application 215 may check whether a data flow exists based on the transport protocol, destination IP, and destination port information included in the 5 Tuples information of the IP (Internet Protocol) corresponding to the data packet. . According to an embodiment, if no data flow exists, the second access control application 215 may drop the data packet.

유효한 데이터 플로우가 존재하면, 동작 1215에서 제2 접속 제어 애플리케이션(215)은 데이터 패킷의 종류를 검사할 수 있다. 예를 들어, 제2 접속 제어 애플리케이션(215)은 데이터 패킷이 TCP 기반 데이터 패킷이면 동작 1220을 통해 데이터 패킷을 처리할 수 있고, UDP 기반 데이터 패킷이면 동작 1235를 통해 데이터 패킷을 처리할 수 있다. If a valid data flow exists, the second access control application 215 may check the type of data packet in operation 1215. For example, the second access control application 215 may process the data packet through operation 1220 if the data packet is a TCP-based data packet, and may process the data packet through operation 1235 if the data packet is a UDP-based data packet.

실시예에 따르면, 데이터 패킷이 TCP Session 생성 데이터 패킷인 경우, 제2 접속 제어 애플리케이션(215)은 데이터 패킷 인증 정보 검사 단계를 수행할 수 있다. 데이터 패킷 인증 정보 검사 단계는 도 13에 도시된 동작들을 통해 수행될 수 있다. According to the embodiment, when the data packet is a TCP Session creation data packet, the second access control application 215 may perform a data packet authentication information inspection step. The data packet authentication information checking step can be performed through the operations shown in FIG. 13.

실시예에 따르면, 데이터 패킷이 TCP Session 생성 데이터 패킷이 아닌 경우, 제2 접속 제어 애플리케이션(215)은 데이터 패킷을 포워딩할 수 있다.According to the embodiment, if the data packet is not a TCP Session creation data packet, the second access control application 215 may forward the data packet.

실시예에 따르면, 데이터 패킷이 UDP 기반 데이터 패킷인 경우, 제2 접속 제어 애플리케이션(215)은 데이터 패킷 인증 정보 검사 단계를 수행할 수 있다. 데이터 패킷 인증 정보 검사 단계는 도 13에 도시된 동작들을 통해 수행될 수 있다.According to the embodiment, when the data packet is a UDP-based data packet, the second access control application 215 may perform a data packet authentication information inspection step. The data packet authentication information checking step can be performed through the operations shown in FIG. 13.

도 13은 다양한 실시예들에 따른 도착지 노드의 데이터 패킷 인증 정보 검사를 위한 신호 흐름도를 도시한다. Figure 13 shows a signal flow diagram for checking data packet authentication information of a destination node according to various embodiments.

도착지 노드(205)는 수신된 데이터 패킷에 포함된 인증 정보에 대하여 컨트롤러(202)에게 검사를 요청하고, 검사 결과를 기초로 데이터 패킷을 전송한 대상이 컨트롤러(202)로부터 인증된 대상인지 여부를 식별할 수 있다. 또한, 컨트롤러(202)는 데이터 패킷을 전송한 대상이 인증된 대상인 경우 도착지 노드(205)와 연결이 수립됨을 인지할 수 있다. The destination node 205 requests the controller 202 to inspect the authentication information included in the received data packet, and based on the inspection result, determines whether the target sending the data packet is authenticated by the controller 202. can be identified. Additionally, the controller 202 may recognize that a connection is established with the destination node 205 when the destination to which the data packet is transmitted is an authenticated destination.

동작 1305에서, 제2 접속 제어 애플리케이션(215)은 데이터 패킷 인증 정보 검사 이벤트를 감지할 수 있다. 이 경우, 제2 접속 제어 애플리케이션(215)은 데이터 패킷에 대응되는 데이터 플로우의 인증 정보에서 데이터 패킷이 인증 정보 검사가 필요한지 여부를 확인할 수 있다. 실시예에 따르면, 인증 정보 검사가 필요하지 않은 경우 제2 접속 제어 애플리케이션(215)은 수신된 데이터 패킷에 대한 응답을 전송할 수 있다. In operation 1305, the second access control application 215 may detect a data packet authentication information check event. In this case, the second access control application 215 may check whether the data packet requires verification of authentication information from the authentication information of the data flow corresponding to the data packet. According to an embodiment, when verification of authentication information is not necessary, the second access control application 215 may transmit a response to the received data packet.

동작 1310에서 인증 정보 검사가 필요한 경우, 제2 접속 제어 애플리케이션(215)은 데이터 패킷에 인증 정보 삽입 여부를 확인할 수 있다. 예를 들어, 제2 접속 제어 애플리케이션(215)은 전송 프로토콜에 따라 TCP 데이터 패킷의 경우, TCP SYN 패킷의 페이로드 정보에 데이터 플로우 헤더가 삽입되어 있는지 여부를 확인할 수 있다. 다른 예를 들어, 제2 접속 제어 애플리케이션(215)은 UDP 데이터 패킷의 경우, 인증 정보에 포함된 검사 방식에 따라 매 데이터 패킷 마다 데이터 플로우 헤더가 삽입되어 있는지 여부를 확인할 수 있다. If verification of authentication information is required in operation 1310, the second access control application 215 may check whether authentication information is inserted into the data packet. For example, in the case of a TCP data packet, the second access control application 215 may check whether a data flow header is inserted into the payload information of the TCP SYN packet according to the transmission protocol. For another example, in the case of UDP data packets, the second access control application 215 may check whether a data flow header is inserted in each data packet according to a check method included in the authentication information.

인증 정보가 포함된 경우, 동작 1315에서 제2 접속 제어 애플리케이션(215)은 컨트롤러(202)에게 인증 정보 검사 요청을 수행할 수 있다. 예를 들어, 제2 접속 제어 애플리케이션(215)은 제어 플로우 식별 정보, 데이터 플로우 헤더(인증 정보), 출발지 IP 및 포트를 기반으로 컨트롤러(202)에게 데이터 플로우 헤더 검사 요청을 수행할 수 있다. If authentication information is included, in operation 1315, the second access control application 215 may request the controller 202 to check authentication information. For example, the second access control application 215 may request data flow header inspection to the controller 202 based on control flow identification information, data flow header (authentication information), source IP, and port.

실시예에 따르면, 제2 접속 제어 애플리케이션(215)은 데이터 플로우 헤더 검사 요청이 완료될 때까지 응답 데이터 패킷을 출발지 출발지 노드(201)로 전송하지 않고 대기할 수 있다. According to an embodiment, the second access control application 215 may wait without transmitting a response data packet to the source node 201 until the data flow header inspection request is completed.

동작 1320에서, 컨트롤러(202)는 제어 플로우 식별 정보에 대응되는 제어 플로우 상에 식별된 정보 (도착지 노드(205), 애플리케이션, 출발지 노드(201) 정보 등)와 매칭된 접속 정책에서, 데이터 플로우 헤더 검사를 요청한 식별 정보(전송 프로토콜, 출발지 IP 및 포트 정보 등)의 포함 여부 및 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보에 대응되는 데이터 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따르면, 데이터 플로우가 존재하지 않는 경우, 컨트롤러(202)는 도착지 노드(205)로 인증 정보 검사 실패 결과를 전송할 수 있다(동작 1325). At operation 1320, the controller 202 generates a data flow header in a connection policy that matches information identified on the control flow (destination node 205, application, source node 201 information, etc.) corresponding to the control flow identification information. It is possible to check whether the identification information requested for inspection (transmission protocol, source IP and port information, etc.) is included and whether a data flow corresponding to the data flow identification information included in the data flow header exists. According to an embodiment, if a data flow does not exist, the controller 202 may transmit an authentication information check failure result to the destination node 205 (operation 1325).

데이터 플로우가 존재하면, 컨트롤러(202)는 데이터 플로우 헤더에 포함된 인증 정보를 검사하기 위해 데이터 플로우의 인증 정보에 포함된 인증 정보 복호화 알고리즘 및 복호화키를 통해서 인증 정보를 복호화할 수 있다. If a data flow exists, the controller 202 may decrypt the authentication information through an authentication information decryption algorithm and a decryption key included in the authentication information of the data flow in order to check the authentication information included in the data flow header.

또한, 복호화에 성공한 경우, 컨트롤러(202)는 데이터 플로우의 인증 정보에 포함된 인증 정보 검사 알고리즘 또는 관련 정보에 의해서 복호화된 인증 정보가 유효한지 여부를 확인할 수 있다. 실시예에 따르면, 인증 정보가 유효하지 않은 경우 컨트롤러(202)는 도착지 노드(205)로 인증 정보 검사 실패 결과를 전송할 수 있다(동작 1325).Additionally, if decryption is successful, the controller 202 can check whether the decrypted authentication information is valid based on the authentication information check algorithm or related information included in the authentication information of the data flow. According to an embodiment, if the authentication information is invalid, the controller 202 may transmit an authentication information check failure result to the destination node 205 (operation 1325).

인증 정보가 유효한 경우, 컨트롤러(202)는 출발지 노드(201)와 도착지 노드(205) 사이에 연결을 허용하기 위해 데이터 플로우 상태 및 해당 데이터 플로우 상에서 도착지 노드의 식별 정보를 갱신하고, 갱신된 데이터 플로우 정보를 도착지 노드(205)에 전송할 수 있다(동작 1325). 따라서, 컨트롤러(202)는 도착지 노드(205)와 출발지 노드(201) 사이의 연결을 인지할 수 있다. If the authentication information is valid, the controller 202 updates the data flow status and the identification information of the destination node on the data flow to allow a connection between the source node 201 and the destination node 205, and sends the updated data flow. Information may be transmitted to the destination node 205 (operation 1325). Accordingly, the controller 202 can recognize the connection between the destination node 205 and the source node 201.

동작 1330에서 제2 접속 제어 애플리케이션(215)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 데이터 플로우 헤더 검사 요청에 성공한 경우, 제2 접속 제어 애플리케이션(215)은 이후 출발지 노드로부터 전송된 데이터 패킷에 대한 응답 데이터 패킷이 전송될 수 있도록 컨트롤러로부터 수신된 데이터 플로우로 갱신할 수 있다. 다른 예를 들어, 만약 데이터 플로우 헤더 검사 요청에 실패한 경우, 제2 접속 제어 애플리케이션(215)은 데이터 플로우를 제거할 수 있다.In operation 1330, the second access control application 215 may process a result value of the response received from the controller 202. For example, if the data flow header inspection request is successful, the second access control application 215 can be updated with the data flow received from the controller so that a response data packet for the data packet transmitted from the source node can be transmitted. there is. For another example, if the data flow header inspection request fails, the second access control application 215 may remove the data flow.

본 문서에 개시된 다른 실시예에 따른 컨트롤러(202)는 동작 1320에서 데이터 플로우를 갱신하는 경우 출발지 노드(201)가 네트워크 접속 요청시 생성된 데이터 플로우 정보에 포함된 인증 정보를 갱신할 수 있다. 예를 들어, 컨트롤러(202)는 도착지 노드(205)가 출발지 노드(201)로 네트워크 접속 요청 응답 및 관련 데이터 패킷을 전송하는 경우에 포함할 인증 정보를 생성하기 위해 해당 전송 프로토콜의 인증 정보를 삽입하는 방식(예 : TCP의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷별 인증 정보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입 등, 인증 정보 암·복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예 : HMAC OTP 생성시 Secret Key 등의 정보 등))를 포함하도록 데이터 플로우를 갱신할 수 있다. 이 경우, 갱신된 데이터 플로우를 수신하는 도착지 노드(205)는 갱신된 데이터 플로우에 포함된 인증 정보에 기반하여 도 10 및 도 11에 포함된 동작들을 수행하여 응답 데이터 패킷에 인증 정보를 삽입하고, 인증 정보가 삽입된 응답 데이터 패킷을 출발지 노드(201)로 전송할 수 있다. When updating the data flow in operation 1320, the controller 202 according to another embodiment disclosed in this document may update authentication information included in the data flow information generated when the source node 201 requests network connection. For example, the controller 202 inserts authentication information of the corresponding transmission protocol to generate authentication information to be included when the destination node 205 transmits a network connection request response and related data packets to the source node 201. method (e.g., in the case of TCP, inserting a TCP SYN packet, in the case of UDP, inserting authentication information for each data packet or inserting authentication information at regular intervals (or cycles), etc., information for encrypting and decrypting authentication information, and generating and verifying authentication information. The data flow can be updated to include algorithm information for and a series of information included in the algorithm (e.g. information such as Secret Key when generating HMAC OTP). In this case, the destination node 205 receiving the updated data flow performs the operations included in FIGS. 10 and 11 based on the authentication information included in the updated data flow and inserts the authentication information into the response data packet, A response data packet containing authentication information may be transmitted to the source node 201.

도 14는 다양한 실시예들에 따른 도착지 노드의 네트워크 접속 요청에 대한 응답을 위한 동작 흐름도를 도시한다. FIG. 14 illustrates an operation flowchart for responding to a network connection request from a destination node according to various embodiments.

도착지 노드(205)는 출발지 노드(201)의 네트워크 접속 요청에 대한 응답을 수행할 때 데이터 플로우 검사를 수행함으로서 데이터 플로우가 도 13에 도시된 동작을 통해 갱신된 경우에만 데이터 패킷을 전송할 수 있다. 동작 1405에서, 제2 접속 제어 애플리케이션(215)은 출발지 노드(201)로부터 전송된 네트워크 접속 요청에 대한 응답 및 관련 데이터 패킷을 전송하기 위한 이벤트를 감지할 수 있다. The destination node 205 performs a data flow check when responding to a network connection request from the source node 201, and can transmit a data packet only when the data flow is updated through the operation shown in FIG. 13. In operation 1405, the second access control application 215 may detect an event for transmitting a response to a network connection request transmitted from the source node 201 and a related data packet.

동작 1410에서, 제2 접속 제어 애플리케이션(215)은 응답되는 데이터 패킷의 전송 프로토콜, 도착지 IP, 포트 및 애플리케이션에 대응되는 데이터 플로우가 존재하는지 여부를 확인할 수 있다.In operation 1410, the second access control application 215 may check whether a data flow corresponding to the transmission protocol, destination IP, port, and application of the responded data packet exists.

실시예에 따르면, 데이터 플로우가 존재하지 않거나 데이터 플로우가 유효하지 않은 경우 제2 접속 제어 애플리케이션(215)은 데이터 패킷을 드랍할 수 있다(동작 1420). According to an embodiment, the second access control application 215 may drop the data packet if the data flow does not exist or the data flow is invalid (operation 1420).

동작 1410에서 데이터 플로우가 존재하고 데이터 플로우의 상태가 대기인 경우 데이터 패킷을 저장하였다가 제2 접속 제어 애플리케이션(215)은 데이터 플로우의 상태가 정상이 되는 경우 저장된 데이터 패킷을 전송(동작 1415)할 수 있다. 예를 들어, 데이터 플로우의 상태가 정상이 되는 경우는 도 13의 동작을 통해 컨트롤러(202)가 갱신된 데이터 플로우를 전송한 경우를 포함할 수 있다. In operation 1410, if a data flow exists and the data flow status is standby, the data packet is stored, and then the second access control application 215 transmits the stored data packet when the data flow status becomes normal (operation 1415). You can. For example, a case where the data flow state becomes normal may include a case where the controller 202 transmits an updated data flow through the operation of FIG. 13.

실시예에 따르면, 데이터 플로우가 존재하고 데이터 플로우의 상태가 정상인 경우 제2 접속 제어 애플리케이션(215)은 데이터 패킷을 전송할 수 있다(동작 1415).According to an embodiment, if a data flow exists and the state of the data flow is normal, the second access control application 215 may transmit a data packet (operation 1415).

본 문서에 개시된 다른 실시예에 따르면, 도착지 노드(205)의 제2 접속 제어 애플리케이션(215)은 도 14에 도시된 동작 대신 도 10 및 도 11에 도시된 동작들에 기반하여 인증 정보를 삽입하여 출발지 노드(201)에게 전송할 수도 있다. According to another embodiment disclosed in this document, the second access control application 215 of the destination node 205 inserts authentication information based on the operations shown in FIGS. 10 and 11 instead of the operations shown in FIG. 14. It may also be transmitted to the source node 201.

도 15는 다양한 실시예들에 따른 출발지 노드의 네트워크 접속 요청 응답 수신을 위한 신호 흐름도를 도시한다. Figure 15 shows a signal flow diagram for receiving a network connection request response from a source node according to various embodiments.

출발지 노드(201)의 제1 접속 제어 애플리케이션(211)은 도착지 노드(205)로부터 네트워크 접속 요청에 대한 응답을 수신하면, 수신된 데이터 패킷을 기초로 컨트롤러(202)에게 정상적인 응답인지 여부를 질의하고 그 결과를 기초로 도착지 노드(205)로 데이터 패킷을 전송할 수 있다. When the first access control application 211 of the source node 201 receives a response to the network connection request from the destination node 205, it asks the controller 202 whether it is a normal response based on the received data packet, and Based on the result, a data packet can be transmitted to the destination node 205.

동작 1505에서, 제1 접속 제어 애플리케이션(211)은 네트워크 접속 요청에 대한 응답을 수신할 수 있다. 예를 들어, 출발지 노드(201)는 도착지 노드(205)로부터 응답 데이터 패킷을 수신할 수 있다. In operation 1505, the first access control application 211 may receive a response to the network access request. For example, the source node 201 may receive a response data packet from the destination node 205.

동작 1510에서, 제1 접속 제어 애플리케이션(211)은 수신된 데이터 패킷의 전송 프로토콜, 도착지 노드(205)의 식별 정보, 포트에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. In operation 1510, the first access control application 211 may check the transmission protocol of the received data packet, identification information of the destination node 205, and whether a data flow corresponding to the port exists.

데이터 플로우가 존재하면, 동작 1515에서, 제1 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 데이터 플로우 검사 요청을 수행할 수 있다. 예를 들어, 데이터 플로우 검사 요청은 제어 플로우 식별 정보, 데이터 플로우 식별 정보를 포함할 수 있다. If a data flow exists, in operation 1515, the first access control application 211 may request the controller 202 to inspect the data flow. For example, a data flow inspection request may include control flow identification information and data flow identification information.

동작 1520에서, 컨트롤러(202)는 데이터 플로우를 검사할 수 있다. 예를 들어, 컨트롤러(202)는 제어 플로우 식별 정보에 대응되는 제어 플로우 상에 식별된 정보 (출발지 노드(201), 애플리케이션, 출발지 네트워크 정보 등)와 매칭된 접속 정책에서, 데이터 플로우 검사를 요청한 식별 정보(전송 프로토콜, 도착지 노드 IP(205) 및 포트 정보 등)의 포함 여부 및 데이터 플로우 식별 정보를 기반으로 데이터 플로우 테이블에서 해당 데이터 플로우가 존재하는지 여부 및 도착지 노드(205)에 의해서 해당 데이터 플로우가 갱신되었는지 여부를 확인할 수 있다. 실시예에 따르면 데이터 플로우가 존재하지 않는 경우, 컨트롤러(202)는 출발지 노드(201)에 데이터 플로우 검사 실패 결과를 전송한다(동작 1525).At operation 1520, controller 202 may inspect the data flow. For example, the controller 202 identifies a request for data flow inspection in a connection policy matched with information identified on the control flow (source node 201, application, source network information, etc.) corresponding to the control flow identification information. Based on the inclusion of information (transmission protocol, destination node IP (205) and port information, etc.) and data flow identification information, whether the corresponding data flow exists in the data flow table and whether the corresponding data flow is determined by the destination node (205) You can check whether it has been updated. According to the embodiment, if a data flow does not exist, the controller 202 transmits a data flow check failure result to the source node 201 (operation 1525).

실시예에 따르면, 갱신된 데이터 플로우가 존재하지 않는 경우, 컨트롤러(202)는 데이터 플로우 식별 정보에 대응되는 데이터 플로우를 삭제하고 출발지 노드(201)에 데이터 플로우 검사 실패 결과를 전송한다(동작 1525).According to an embodiment, when an updated data flow does not exist, the controller 202 deletes the data flow corresponding to the data flow identification information and transmits a data flow check failure result to the source node 201 (operation 1525). .

실시예에 따르면, 유효한 데이터 플로우가 존재하고, 유효한 데이터 플로우에 도착지 노드(205)의 식별 정보가 갱신되어 있는 경우, 컨트롤러(202)는 데이터 플로우 검사 성공 결과를 전송한다(동작 1525).According to an embodiment, if a valid data flow exists and the identification information of the destination node 205 is updated in the valid data flow, the controller 202 transmits a successful data flow check result (operation 1525).

동작 1530에서, 제1 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 데이터 플로우 검사 결과가 실패인 경우, 제1 접속 제어 애플리케이션(211)은 도착지 노드(205)로 데이터 패킷이 전송될 수 없도록 데이터 플로우를 제거할 수 있다. 다른 예를 들어, 데이터 플로우 검사 결과가 성공인 경우, 제1 접속 제어 애플리케이션(211)은 도착지 노드(205)로 데이터 패킷이 전송될 수 있도록 데이터 플로우의 상태를 갱신할 수 있다. In operation 1530, the first access control application 211 may process a result value of the response received from the controller 202. For example, if the data flow check result is failure, the first access control application 211 may remove the data flow so that data packets cannot be transmitted to the destination node 205. For another example, if the data flow check result is successful, the first access control application 211 may update the status of the data flow so that the data packet can be transmitted to the destination node 205.

실시예에 따르면, 데이터 플로우에 대응되는 경우, 제1 접속 제어 애플리케이션(211)은 출발지 노드(201)와 도착지 노드(205) 간 논리적 연결을 허용하여 논리적 연결에 기반하여 데이터 패킷을 처리할 수 있다. According to the embodiment, when corresponding to a data flow, the first access control application 211 may allow a logical connection between the source node 201 and the destination node 205 and process data packets based on the logical connection. .

본 문서에 개시된 다른 실시예에 따르면, 출발지 노드(201)는 도 15에 도시된 동작을 수행하지 않고, 도 12에 도시된 동작들을 수행하여 도착지 노드(205)의 데이터 패킷을 수신하고, 수신된 데이터 패킷에 포함된 인증 정보를 검사할 수 있다. 출발지 노드(201)에서 데이터 패킷에 포함된 인증 정보를 검사하는 동작은 도 22에 도시된 동작들을 통해 수행될 수 있다. According to another embodiment disclosed in this document, the source node 201 does not perform the operations shown in FIG. 15, but performs the operations shown in FIG. 12 to receive the data packet of the destination node 205, and You can check the authentication information included in the data packet. The operation of checking the authentication information included in the data packet at the source node 201 can be performed through the operations shown in FIG. 22.

도 16은 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. Figure 16 shows a signal flow diagram for control flow update according to various embodiments.

도 16을 참조하면, 동작 1605에서, 접속 제어 애플리케이션(210)은 제어 플로우 갱신 이벤트를 감지할 수 있다. Referring to FIG. 16, at operation 1605, the access control application 210 may detect a control flow update event.

동작 1610에서, 접속 제어 애플리케이션(210)은 제어 플로우 식별 정보를 기초로 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. In operation 1610, the access control application 210 may request a control flow update from the controller 202 based on control flow identification information.

동작 1615에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 노드(200)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(210)에게 전송할 수 있다(동작 1620). In operation 1615, the controller 202 may check whether a control flow exists in a control flow table (e.g., control flow table 315 of FIG. 3) based on the received control flow identification information. Depending on the embodiment, when the control flow does not exist (e.g., when the connection is disconnected by another security system, when the connection is disconnected due to its own risk detection, etc.), the controller 202 determines that the connection of the node 200 is valid. Since this is not done, a connection failure result can be transmitted to the access control application 210 (operation 1620).

실시예에 따르면, 컨트롤러(202)는 노드(200)에 저장된 데이터 플로우 정보가 유효한지, 데이터 플로우가 다른 노드에 의해서 제거되거나(출발지 노드(201) 또는 도착지 노드(205) 해제에 따라 사용 불가능한 데이터 플로우, 도착지 노드(205)의 제2 타겟 애플리케이션 및 서비스 포트 수신 불가 상태 등) 유효하지 않은 상태인지 여부를 확인할 수 있다. 또한 컨트롤러(202)는, 비동기 방식으로 컨트롤러(202)에서 데이터 플로우 접속 및 수신 가능 여부를 동기화하여 데이터 플로우의 유효성을 관리하는 경우, 갱신된 데이터 플로우 상태 정보 등에 대하여 노드(200)가 데이터 패킷을 전송 또는 수신하기 위한 데이터 플로우 갱신 정보를 전송할 수 있다. According to the embodiment, the controller 202 determines whether the data flow information stored in the node 200 is valid, or determines whether the data flow is removed by another node (the source node 201 or the destination node 205) or unusable data is released. It is possible to check whether the flow, the second target application of the destination node 205, the service port cannot be received, etc.) are in an invalid state. In addition, when the controller 202 manages the validity of the data flow by synchronizing the availability of data flow access and reception in the controller 202 in an asynchronous manner, the node 200 sends a data packet for updated data flow status information, etc. Data flow update information for transmission or reception can be transmitted.

실시예에 따르면, 컨트롤러(202)는 데이터 플로우 중 재인증을 수행해야하거나, 더 이상 접속이 불가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우 정보를 반환할 수 있다(동작 1620).According to an embodiment, the controller 202 may return the corresponding data flow information when re-authentication must be performed among the data flows or when there is a data flow that is no longer accessible (operation 1620).

동작 1625에서, 노드(200)의 접속 제어 애플리케이션(210)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 제어 플로우 갱신 결과가 불가능인 경우, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(210)은 제어 플로우 갱신 결과가 정상이고, 갱신된 데이터 플로우 정보가 존재하는 경우, 데이터 플로우를 갱신할 수 있다. In operation 1625, the access control application 210 of the node 200 may process a result of the response received from the controller 202. For example, if the control flow update result is impossible, the access control application 210 may block all network connections of the application. For another example, the access control application 210 may update the data flow if the control flow update result is normal and updated data flow information exists.

도 17은 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다. 17 shows a signal flow diagram for disconnection according to various embodiments.

도 17을 참조하면, 동작 1705에서 노드(200)는 노드(200)의 종료, 접속 제어 애플리케이션(210)의 종료, 타겟 애플리케이션의 종료, 더 이상 네트워크 접속을 사용하지 않음 및 연동 시스템으로부터 식별된 정보를 기반으로 접속 종료 요청 중 적어도 어느 하나를 감지할 수 있다. 이 경우 동작 1710에서, 노드(200) 또는 접속 제어 애플리케이션(210)은 컨트롤러(202)에게 제어 플로우 제거를 요청할 수 있다.Referring to FIG. 17, in operation 1705, the node 200 terminates the node 200, terminates the access control application 210, terminates the target application, no longer uses the network connection, and collects information identified from the interworking system. Based on , at least one of the connection termination requests can be detected. In this case, in operation 1710, the node 200 or the access control application 210 may request the controller 202 to remove the control flow.

동작 1715에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 식별된 제어 플로우를 제거할 수 있다. At operation 1715, the controller 202 may remove the identified control flow based on the received control flow identification information.

동작 1720에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 노드(200)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다.In operation 1720, the controller 202 may remove all data flows dependent on the removed control flow. Accordingly, node 200 can no longer access the destination network based on the removed data flow.

도 18은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.Figure 18 shows a signal flow diagram for terminating application execution according to various embodiments.

도 18을 참조하면, 동작 1805에서, 노드(200)의 접속 제어 애플리케이션(210)은 실행 중인 애플리케이션의 종료 여부를 실시간으로 확인할 수 있고, 애플리케이션 실행 종료 이벤트를 감지할 수 있다.Referring to FIG. 18, in operation 1805, the access control application 210 of the node 200 can check in real time whether the running application is terminated and detect an application execution termination event.

실시예에 따라서, 접속 제어 애플리케이션(210)은 종료된 애플리케이션 식별 정보 및 PID(Process ID 및 Child Process ID Tree) 정보에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. Depending on the embodiment, the access control application 210 may check whether a data flow corresponding to the terminated application identification information and PID (Process ID and Child Process ID Tree) information exists.

동작 1810에서, 접속 제어 애플리케이션(210)은 컨트롤러(202)에게 데이터 플로우 제거 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(210)은 종료된 애플리케이션의 식별 정보 또는 종료된 애플리케이션에 대응되는 데이터 플로우의 식별 정보를 컨트롤러(202)에게 전송하며 데이터 플로우 제거 요청을 수행할 수 있다. In operation 1810, the access control application 210 may request data flow removal from the controller 202. For example, the access control application 210 may transmit identification information of a terminated application or identification information of a data flow corresponding to the terminated application to the controller 202 and perform a data flow removal request.

동작 1815에서, 컨트롤러(202)는 제거 요청된 데이터 플로우를 삭제할 수 있다. At operation 1815, the controller 202 may delete the data flow for which removal has been requested.

도 19는 다양한 실시예들에 따른 출발지 노드에 포함된 접속 제어 애플리케이션의 동작 방법을 나타내는 동작 흐름도이다. 도 19에 도시된 동작들은 도 2의 출발지 노드(201)에 포함된 제1 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. Figure 19 is an operation flowchart showing a method of operating an access control application included in a source node according to various embodiments. The operations shown in FIG. 19 may be performed through the first access control application 211 included in the source node 201 of FIG. 2.

동작 1905에서, 제1 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 데이터 패킷의 전송 프로토콜 및 외부 서버로부터 인가된 데이터 플로우에 포함된 인증 정보에 기반하여 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입하여 도착지 노드로 전송할 수 있다. In operation 1905, the first access control application 211 inserts authentication information into the data packet of the target application based on the transmission protocol of the data packet of the target application and the authentication information included in the data flow authorized from the external server to the destination node. It can be sent to .

동작 1910에서, 제1 접속 제어 애플리케이션(211)은 도착지 노드로부터 데이터 패킷에 대한 응답을 수신하되, 데이터 패킷에 대한 응답이 데이터 플로우에 대응되는지 확인할 수 있다. In operation 1910, the first access control application 211 may receive a response to the data packet from the destination node and check whether the response to the data packet corresponds to the data flow.

동작 1915에서, 제1 접속 제어 애플리케이션(211)은 데이터 패킷에 대한 응답이 데이터 플로우에 대응되면 외부 서버에서 도착지 노드의 식별 정보가 데이터 플로우에 갱신되었는지 여부를 확인하여 데이터 플로우를 갱신할 수 있다. In operation 1915, if the response to the data packet corresponds to the data flow, the first access control application 211 may update the data flow by checking whether the identification information of the destination node has been updated in the data flow in the external server.

동작 1920에서, 제1 접속 제어 애플리케이션(211)은 갱신된 데이터 플로우에 기반하여 타겟 애플리케이션의 데이터 패킷을 전송할 수 있다. In operation 1920, the first access control application 211 may transmit a data packet of the target application based on the updated data flow.

실시예에 따르면, 데이터 패킷에 삽입되는 인증 정보는 도착지 노드(205)가 외부 서버에게 인증 정보의 정상 여부를 확인하는 경우 및 외부 서버가 데이터 플로우를 갱신하는 경우에 사용될 수 있다. According to the embodiment, the authentication information inserted into the data packet may be used when the destination node 205 checks whether the authentication information is normal with an external server and when the external server updates the data flow.

도 20은 다양한 실시예들에 따른 도착지 노드에 포함된 접속 제어 애플리케이션의 동작 방법을 나타내는 동작 흐름도이다. 도 20에 도시된 동작들은 도 2의 도착지 노드(205)에 포함된 제2 접속 제어 애플리케이션(215)을 통해 수행될 수 있다. Figure 20 is an operation flowchart showing a method of operating a connection control application included in a destination node according to various embodiments. The operations shown in FIG. 20 may be performed through the second access control application 215 included in the destination node 205 of FIG. 2.

동작 2005에서, 제2 접속 제어 애플리케이션(215)은 출발지 노드로부터 데이터 패킷을 수신할 수 있다. At operation 2005, the second connection control application 215 may receive a data packet from the source node.

동작 2010에서, 제2 접속 제어 애플리케이션(215)은 데이터 패킷에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인할 수 있다. In operation 2010, the second access control application 215 may confirm the existence of a data flow that corresponds to the data packet and is authorized from an external server.

동작 2015에서, 제2 접속 제어 애플리케이션(215)은 데이터 패킷에 인증 정보가 포함되어 있는지 여부를 확인할 수 있다. In operation 2015, the second access control application 215 may check whether the data packet includes authentication information.

동작 2020에서, 제2 접속 제어 애플리케이션(215)은 외부 서버에게 데이터 패킷에 포함된 인증 정보 검사를 요청할 수 있다. In operation 2020, the second access control application 215 may request an external server to check authentication information included in the data packet.

동작 2025에서, 제2 접속 제어 애플리케이션(215)은 외부 서버로부터 인증 정보 검사 결과를 수신하되, 인증 정보 검사가 성공하면 도착지 노드의 식별 정보가 갱신된 데이터 플로우를 수신할 수 있다. In operation 2025, the second access control application 215 may receive an authentication information check result from an external server. If the authentication information check is successful, the second access control application 215 may receive a data flow with updated identification information of the destination node.

동작 2030에서, 제2 접속 제어 애플리케이션(215)은 수신된 데이터 패킷에 대한 응답을 갱신된 데이터 플로우에 기반하여 출발지 노드로 전송할 수 있다. In operation 2030, the second access control application 215 may transmit a response to the received data packet to the source node based on the updated data flow.

도 21은 다양한 실시예들에 따른 서버의 동작 방법을 나타내는 동작 흐름도이다. 도 21에 도시된 동작들은 도 2의 컨트롤러(202)를 통해 수행될 수 있다. Figure 21 is an operation flowchart showing a server operation method according to various embodiments. The operations shown in FIG. 21 may be performed through the controller 202 of FIG. 2.

동작 2105에서, 서버는 출발지 노드로부터 도착지 노드의 IP를 포함하는 네트워크 접속 요청을 수신할 수 있다. In operation 2105, the server may receive a network connection request including the IP of the destination node from the source node.

동작 2110에서, 서버는 데이터 베이스에 기반하여 도착지 노드의 IP가 분산 네트워크를 구성하는지 여부에 기반하여 출발지 노드의 접속 가능 여부를 확인할 수 있다. In operation 2110, the server may check whether the source node is accessible based on whether the IP of the destination node constitutes a distributed network based on the database.

동작 2115에서, 서버는 데이터 베이스에 기반하여 도착지 노드에 접속하기 위한 제1 인증 정보를 포함하는 데이터 플로우를 생성하여 출발지 노드에게 전송할 수 있다.In operation 2115, the server may create a data flow including first authentication information for accessing the destination node based on the database and transmit it to the source node.

동작 2120에서, 서버는 도착지 노드로부터 출발지 노드의 IP 및 제2 인증 정보를 포함하는 인증 정보 검사 요청을 수신할 수 있다.In operation 2120, the server may receive an authentication information check request including the IP of the source node and the second authentication information from the destination node.

동작 2125에서, 서버는 제2 인증 정보에 대응되는 데이터 플로우의 존재 여부 및 제2 인증 정보의 유효 여부에 기반하여 제2 인증 정보에 대응되는 데이터 플로우에 도착지 노드의 식별 정보를 갱신할 수 있다.In operation 2125, the server may update the identification information of the destination node in the data flow corresponding to the second authentication information based on whether the data flow corresponding to the second authentication information exists and whether the second authentication information is valid.

동작 2130에서, 서버는 도착지 노드의 식별 정보가 갱신된 데이터 플로우를 도착지 노드로 전송할 수 있다. In operation 2130, the server may transmit a data flow with updated identification information of the destination node to the destination node.

도 22는 본 문서에 개시된 다른 실시예에 따른 출발지 노드에서 도착지 노드로부터 수신된 데이터 패킷에 포함된 인증 정보를 검사하는 방법을 나타내는 동작 흐름도이다. Figure 22 is an operational flowchart showing a method of checking authentication information included in a data packet received from a destination node at a source node according to another embodiment disclosed in this document.

도 22에 도시된 동작들을 통해서 본 문서에 개시된 다른 실시예에 따른 출발지 노드는 도착지 노드로부터 수신된 응답 데이터 패킷에 포함된 인증 정보를 검사하여 응답 데이터 패킷이 컨트롤러(202)로부터 인가된 데이터 패킷인지, 도착지 노드(205)가 컨트롤러(202)로부터 인가된 대상인지 여부를 확인할 수 있다. Through the operations shown in FIG. 22, the source node according to another embodiment disclosed in this document checks the authentication information included in the response data packet received from the destination node to determine whether the response data packet is a data packet authorized by the controller 202. , it is possible to check whether the destination node 205 is authorized by the controller 202.

실시예에 따르면, 도착지 노드(205)는 도 13에 추가적인 실시예로 개시된 동작을 통해 컨트롤러(202)로부터 인증 정보를 포함하는 데이터 플로우를 수신할 수 있고, 수신된 데이터 플로우에 포함된 인증 정보에 기반하여 도 10 및 도 11에 도시된 동작들을 통해 응답 데이터 패킷에 인증 정보를 삽입하여 출발지 노드(201)로 전송할 수 있다. 이 경우, 출발지 노드(201)는 도 12에 도시된 동작들을 통해 도착지 노드(205)로부터 수신된 응답 데이터 패킷을 처리하고, 이후 도 22에 도시된 동작들을 통해 응답 데이터 패킷에 포함된 인증 정보를 검사할 수 있다. According to an embodiment, the destination node 205 may receive a data flow including authentication information from the controller 202 through an operation disclosed as an additional embodiment in FIG. 13, and may receive a data flow including authentication information in the received data flow. Based on this, authentication information can be inserted into the response data packet and transmitted to the source node 201 through the operations shown in FIGS. 10 and 11. In this case, the source node 201 processes the response data packet received from the destination node 205 through the operations shown in FIG. 12, and then authenticates the authentication information included in the response data packet through the operations shown in FIG. 22. can be inspected.

도 22를 참조하면, 동작 2205에서, 출발지 노드(201)의 제1 접속 제어 애플리케이션(211)은 도착지 노드(205)로부터 수신된 응답 데이터 패킷에 포함된 인증 정보를 검사해야 하는지 여부를 확인할 수 있다. 예를 들어, 제1 접속 제어 애플리케이션(211)은 수신된 응답 데이터 패킷에 대응되는 데이터 플로우에 포함된 인증 정보에서 수신된 응답 데이터 패킷의 인증 정보 검사가 필요한지 여부를 확인할 수 있다. Referring to FIG. 22, in operation 2205, the first access control application 211 of the source node 201 may check whether authentication information included in the response data packet received from the destination node 205 should be checked. . For example, the first access control application 211 may check whether authentication information of the received response data packet needs to be checked from the authentication information included in the data flow corresponding to the received response data packet.

인증 정보 검사가 필요하면, 동작 2210에서, 제1 접속 제어 애플리케이션(211)은 응답 데이터 패킷에 인증 정보(데이터 플로우 헤더)가 삽입되어 있는지 확인할 수 있다. 실시예에 따르면, 제1 접속 제어 애플리케이션(211)은 응답 데이터 패킷이 TCP 데이터 패킷이면 TCP SYN ACK 패킷의 페이로드 정보를 검사할 수 있다. 다른 실시예에 따르면, 제1 접속 제어 애플리케이션(211)은 응답 데이터 패킷이 UDP 데이터 패킷이면 인증 정보에 포함된 검사 방식에 따라 매 데이터 패킷마다 데이터 플로우 헤더 삽입 여부를 검사하거나, 일정 주기 또는 데이터 패킷 전송 횟수에 따라 데이터 패킷의 데이터 플로우 헤더를 검사할 수 있다. 데이터 플로우 헤더가 응답 데이터 패킷에 존재하지 않으면, 제1 접속 제어 애플리케이션(211)은 응답 데이터 패킷에 대응되는 데이터 플로우를 제거할 수 있다(동작 2235).If verification of authentication information is necessary, in operation 2210, the first access control application 211 may check whether authentication information (data flow header) is inserted in the response data packet. According to the embodiment, the first access control application 211 may check the payload information of the TCP SYN ACK packet if the response data packet is a TCP data packet. According to another embodiment, if the response data packet is a UDP data packet, the first access control application 211 checks whether the data flow header is inserted for every data packet according to the check method included in the authentication information, or checks whether the data flow header is inserted at a certain period or data packet. Depending on the number of transmissions, the data flow header of the data packet can be inspected. If the data flow header is not present in the response data packet, the first access control application 211 may remove the data flow corresponding to the response data packet (operation 2235).

응답 데이터 패킷에 데이터 플로우 헤더가 존재하면, 동작 2215에서, 제1 접속 제어 애플리케이션(211)은 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보를 기초로 대응되는 데이터 플로우의 존재 여부를 확인할 수 있다. 실시예에 따르면, 데이터 플로우 식별 정보를 기초로 대응되는 데이터 플로우가 존재하지 않거나, 대응되는 데이터 플로우가 존재하지만 유효하지 않으면, 제1 접속 제어 애플리케이션(211)은 응답 데이터 패킷에 대응되는 데이터 플로우를 제거할 수 있다(동작 2235).If a data flow header is present in the response data packet, in operation 2215, the first access control application 211 may check whether a corresponding data flow exists based on data flow identification information included in the data flow header. According to the embodiment, if the corresponding data flow does not exist based on the data flow identification information, or if the corresponding data flow exists but is not valid, the first access control application 211 creates the data flow corresponding to the response data packet. May be removed (Operation 2235).

데이터 플로우 식별 정보에 대응되는 데이터 플로우가 존재하면서 유효하면, 제1 접속 제어 애플리케이션(211)은 데이터 플로우 식별 정보에 대응되는 데이터 플로우와 기존에 응답 데이터 패킷에 대응되는 데이터 플로우에 포함된 도착지 IP, 포트, 전송 프로토콜 정보 등이 동일한지 여부를 확인할 수 있다. 확인 결과 상이한 경우, 제1 접속 제어 애플리케이션(211)은 응답 데이터 패킷에 대응되는 데이터 플로우를 제거할 수 있다(동작 2235).If the data flow corresponding to the data flow identification information exists and is valid, the first access control application 211 sends the data flow corresponding to the data flow identification information and the destination IP included in the data flow corresponding to the existing response data packet, You can check whether the port, transmission protocol information, etc. are the same. If the confirmation results are different, the first access control application 211 may remove the data flow corresponding to the response data packet (operation 2235).

데이터 플로우에 포함된 정보가 서로 동일한 경우, 동작 2220에서 제1 접속 제어 애플리케이션(211)은 데이터 플로우 헤더에 포함된 인증 정보를 데이터 플로우 식별 정보에 대응되는 데이터 플로우에 포함된 인증 정보에 기반하여 복호화할 수 있다. 예를 들어, 제1 접속 제어 애플리케이션(211)은데이터 플로우 식별 정보에 대응되는 데이터 플로우에 포함된 인증 정보에 포함되는 인증 정보 복호화 알고리즘 및 복호화키를 통해서 인증 정보를 복호화할 수 있다. 인증 정보의 복호화에 실패하면, 제1 접속 제어 애플리케이션(211)은 응답 데이터 패킷에 대응되는 데이터 플로우를 제거할 수 있다(동작 2235).If the information included in the data flow is the same, in operation 2220, the first access control application 211 decrypts the authentication information included in the data flow header based on the authentication information included in the data flow corresponding to the data flow identification information. can do. For example, the first access control application 211 may decrypt the authentication information through an authentication information decryption algorithm and a decryption key included in the authentication information included in the data flow corresponding to the data flow identification information. If decryption of the authentication information fails, the first access control application 211 may remove the data flow corresponding to the response data packet (operation 2235).

복호화에 성공하면, 동작 2225에서, 제1 접속 제어 애플리케이션(211)은 데이터 플로우 식별 정보에 대응되는 데이터 플로우에 포함된 인증 정보에 포함된 인증 정보 검사 알고리즘 또는 관련 정보에 의해서 복호화된 인증 정보가 유효한지 여부를 확인할 수 있다. 인증 정보가 유효하지 않은 경우, 제1 접속 제어 애플리케이션(211)은 응답 데이터 패킷에 대응되는 데이터 플로우를 제거할 수 있다(동작 2235).If decryption is successful, in operation 2225, the first access control application 211 determines whether the authentication information decrypted by the authentication information check algorithm or related information included in the authentication information included in the data flow corresponding to the data flow identification information is valid. You can check whether it was done or not. If the authentication information is invalid, the first access control application 211 may remove the data flow corresponding to the response data packet (operation 2235).

인증 정보가 유효하면, 동작 2230에서 제1 접속 제어 애플리케이션(211)은 도착지 노드(205)와 출발지 노드(201)가 통신이 가능하도록 데이터 플로우를 갱신할 수 있다. If the authentication information is valid, in operation 2230, the first access control application 211 may update the data flow to enable communication between the destination node 205 and the source node 201.

이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 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 (18)

노드에 있어서,
통신 회로; 상기 통신 회로와 작동적으로 연결되는 프로세서; 및 상기 프로세서와 작동적으로 연결되고, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 타겟 애플리케이션의 데이터 패킷의 전송 프로토콜 및 외부 서버로부터 인가된 데이터 플로우에 포함된 인증 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입하여 도착지 노드로 전송하고,
상기 도착지 노드로부터 상기 데이터 패킷에 대한 응답을 수신하되, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되는지 확인하고,
상기 외부 서버에게 상기 도착지 노드의 응답에 대응하는 데이터 플로우의 식별 정보를 전송하며, 상기 데이터 플로우의 식별 정보에 대응하는 데이터 플로우가 상기 외부 서버에서 상기 도착지 노드에 의해 상태가 갱신되었는지 여부를 확인하여 상기 노드와 상기 도착지 노드 간 논리적 연결 생성을 위한 인증이 정상적인지 확인하고,
상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되고, 상기 노드와 상기 도착지 노드 간 논리적 연결 생성을 위한 인증이 정상적인 경우, 상기 노드와 상기 도착지 노드 간 논리적 연결을 허용하여 상기 논리적 연결에 기반하여 데이터 패킷을 처리하도록 구성되고,
상기 노드에서 상기 데이터 패킷에 삽입되는 인증 정보는 상기 도착지 노드가 상기 외부 서버에게 상기 인증 정보의 정상 여부를 확인하여 정상인 경우 응답하기 위해 사용되고,
상기 도착지 노드에 의해 데이터 패킷에 삽입되는 제2 인증 정보는 상기 노드가 상기 외부 서버에게 상기 도착지 노드의 인증이 정상적인지 여부를 확인하기 위해 사용되고,
상기 데이터 플로우는 상기 노드와 상기 도착지 노드를 포함하는 분산 네트워크를 구성하기 위해 사용되는, 명령어들을 저장하는, 노드.
In the node,
communication circuit; a processor operatively connected to the communication circuit; and a memory operatively coupled with the processor, storing a target application and a connection control application, the memory configured to cause the node to:
Through the access control application, insert authentication information into the data packet of the target application based on the transmission protocol of the data packet of the target application and authentication information included in the data flow authorized from an external server and transmit it to the destination node,
Receive a response to the data packet from the destination node, and check whether the response to the data packet corresponds to the data flow,
Transmits identification information of the data flow corresponding to the response of the destination node to the external server, and checks whether the status of the data flow corresponding to the identification information of the data flow has been updated by the destination node in the external server. Check whether authentication for creating a logical connection between the node and the destination node is normal,
If the response to the data packet corresponds to the data flow and the authentication for creating a logical connection between the node and the destination node is normal, a logical connection between the node and the destination node is allowed and data is generated based on the logical connection. configured to process packets,
The authentication information inserted into the data packet from the node is used by the destination node to check whether the authentication information is normal with the external server and respond if it is normal,
The second authentication information inserted into the data packet by the destination node is used by the node to check with the external server whether the authentication of the destination node is normal,
A node storing instructions, wherein the data flow is used to configure a distributed network including the node and the destination node.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 데이터 플로우에 포함된 인증 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입이 필요한지 여부를 결정하고,
상기 인증 정보 삽입이 필요한 경우 상기 데이터 플로우에 포함된 인증 정보에 기반하여 삽입할 인증 정보를 생성하고,
상기 생성된 인증 정보를 암호화하여 상기 데이터 플로우의 식별 정보와 결합한 데이터 플로우 헤더를 상기 데이터 패킷에 삽입하도록 구성된, 노드.
The method of claim 1, wherein the commands cause the node to:
Determine whether authentication information needs to be inserted into the data packet of the target application based on authentication information included in the data flow through the access control application,
If insertion of the authentication information is necessary, generate authentication information to be inserted based on the authentication information included in the data flow,
A node configured to encrypt the generated authentication information and insert a data flow header combined with identification information of the data flow into the data packet.
제 2 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 전송 프로토콜이 TCP인 경우 TCP SYN 패킷의 페이로드에 상기 데이터 플로우 헤더를 삽입하고,
상기 전송 프로토콜이 UDP인 경우 상기 데이터 플로우에 포함된 인증 정보에 기반하여 매 UDP 패킷마다 상기 데이터 플로우 헤더를 삽입하거나 일정 UDP 패킷 단위 또는 시간 단위로 상기 데이터 플로우 헤더를 삽입할지 결정하여, UDP 패킷의 페이로드에 상기 데이터 플로우 헤더를 삽입하도록 구성된, 노드.
The method of claim 2, wherein the commands cause the node to:
If the transport protocol is TCP, insert the data flow header into the payload of a TCP SYN packet through the connection control application,
When the transport protocol is UDP, it is determined whether to insert the data flow header for every UDP packet based on the authentication information included in the data flow or to insert the data flow header on a certain UDP packet basis or on a time basis, and then insert the data flow header into the UDP packet. A node configured to insert the data flow header into a payload.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 타겟 애플리케이션의 데이터 패킷이 TCP 세션 생성 데이터 패킷이면 TCP SYN 패킷에 상기 인증 정보를 삽입하고,
상기 도착지 노드로부터 TCP 세션 생성 완료 데이터 패킷을 수신하면 상기 데이터 플로우의 상태를 TCP 세션 생성 완료 상태로 변경하여 TCP 세션 기반 데이터 패킷이 전송 가능하도록 설정하도록 구성된, 노드.
The method of claim 1, wherein the commands cause the node to:
If the data packet of the target application is a TCP session creation data packet through the connection control application, insert the authentication information into a TCP SYN packet,
A node configured to change the state of the data flow to a TCP session creation complete state when receiving a TCP session creation complete data packet from the destination node to enable transmission of a TCP session-based data packet.
제 4 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 타겟 애플리케이션의 데이터 패킷이 TCP 세션 종료 데이터 패킷이면 상기 데이터 플로우의 상태를 TCP 세션 종료 상태로 변경하여 TCP 세션 기반 데이터 패킷의 전송이 불가능하도록 설정하고,
상기 TCP 세션 종료 데이터 패킷을 상기 도착지 노드로 전송하도록 구성된, 노드.
The method of claim 4, wherein the commands cause the node to:
If the data packet of the target application is a TCP session termination data packet through the connection control application, change the state of the data flow to a TCP session termination state to disable transmission of TCP session-based data packets,
A node configured to transmit the TCP session termination data packet to the destination node.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 외부 서버에게 상기 도착지 노드의 IP, 상기 전송 프로토콜을 포함하는 네트워크 접속 요청을 수행하고,
상기 외부 서버로부터 네트워크 접속 가능 여부 및 상기 인증 정보를 포함하는 데이터 플로우를 수신하되, 상기 네트워크 접속 가능 여부는 상기 도착지 노드의 IP가 분산 네트워크를 구성하는지 여부에 기반하여 결정되는, 노드.
The method of claim 1, wherein the commands cause the node to:
Performing a network connection request including the IP of the destination node and the transport protocol to the external server through the access control application,
A node that receives a data flow including network connectivity and the authentication information from the external server, wherein network connectivity is determined based on whether the IP of the destination node constitutes a distributed network.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 외부 서버에 접속을 요청하여 접속이 가능하면 제어 플로우 식별 정보를 수신하고,
인증서를 기반으로 생성된 전자 서명 또는 관련 인증 정보를 상기 제어 플로우 식별 정보와 함께 상기 외부 서버로 전송하고,
상기 외부 서버로부터 인증 결과를 수신하는, 노드.
The method of claim 1, wherein the commands cause the node to:
Request a connection to the external server through the access control application and, if connection is possible, receive control flow identification information,
Transmitting the electronic signature or related authentication information generated based on the certificate together with the control flow identification information to the external server,
A node that receives an authentication result from the external server.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되면 상기 외부 서버에서 상기 도착지 노드의 식별 정보가 데이터 플로우에 갱신되었는지 여부를 확인하여 상기 데이터 플로우를 갱신하고,
상기 갱신된 데이터 플로우에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 전송하도록 구성되는, 노드.
The method of claim 1, wherein the commands cause the node to:
If the response to the data packet corresponds to the data flow, the external server checks whether the identification information of the destination node has been updated in the data flow and updates the data flow,
Node configured to transmit data packets of the target application based on the updated data flow.
삭제delete 삭제delete 삭제delete 삭제delete 서버에 있어서,
통신 회로;
상기 통신 회로와 작동적으로 연결되는 프로세서; 및
상기 프로세서와 작동적으로 연결되고, 데이터 베이스를 저장하는 메모리를 포함하고, 상기 메모리는 상기 프로세서에 의해서 실행될 때 상기 서버가,
출발지 노드로부터 도착지 노드의 IP를 포함하는 네트워크 접속 요청을 수신하고,
상기 데이터 베이스에 기반하여 상기 도착지 노드의 IP가 분산 네트워크를 구성하는지 여부에 기반하여 상기 출발지 노드의 접속 가능 여부를 확인하고,
상기 데이터 베이스에 기반하여 상기 도착지 노드에 접속하기 위한 제1 인증 정보를 포함하는 데이터 플로우를 생성하여 상기 출발지 노드에게 전송하고,
상기 도착지 노드로부터 상기 출발지 노드의 IP 및 제2 인증 정보를 포함하는 인증 정보 검사 요청을 수신하고,
상기 제2 인증 정보에 대응되는 데이터 플로우의 존재 여부 및 상기 제2 인증 정보의 유효 여부에 기반하여 상기 제2 인증 정보에 대응되는 데이터 플로우에 상기 도착지 노드의 식별 정보를 갱신하고,
상기 도착지 노드의 식별 정보가 갱신된 데이터 플로우를 상기 도착지 노드로 전송하도록 구성되고,
상기 제2 인증 정보는 데이터 플로우 식별 정보와 상기 출발지 노드에서 데이터 패킷에 삽입되는 상기 제1 인증 정보에 관련된 정보인, 서버.
On the server,
communication circuit;
a processor operatively connected to the communication circuit; and
a memory operatively connected to the processor and storing a database, wherein the memory, when executed by the processor, causes the server to:
Receive a network connection request including the IP of the destination node from the source node,
Based on the database, check whether the source node can be connected based on whether the IP of the destination node constitutes a distributed network,
Generating a data flow including first authentication information for accessing the destination node based on the database and transmitting it to the source node,
Receiving an authentication information check request including the IP of the source node and second authentication information from the destination node,
updating the identification information of the destination node in the data flow corresponding to the second authentication information based on whether a data flow corresponding to the second authentication information exists and whether the second authentication information is valid;
configured to transmit a data flow with updated identification information of the destination node to the destination node,
The second authentication information is information related to data flow identification information and the first authentication information inserted into a data packet at the source node.
제 13 항에 있어서,
상기 제2 인증 정보는 데이터 플로우 식별 정보와 상기 출발지 노드에서 생성되고 암호화된 인증 정보의 결합이고,
상기 프로세서는,
상기 제2 인증 정보에 포함된 데이터 플로우 식별 정보에 대응되는 데이터 플로우의 존재 여부를 확인하는, 서버.
According to claim 13,
The second authentication information is a combination of data flow identification information and authentication information generated and encrypted at the source node,
The processor,
A server that checks whether a data flow corresponding to data flow identification information included in the second authentication information exists.
제 14 항에 있어서, 상기 프로세서는,
상기 제2 인증 정보에 포함된 데이터 플로우 식별 정보에 대응되는 데이터 플로우에 기반하여 상기 출발지 노드에서 생성되고 암호화된 인증 정보가 유효한지 확인하고,
상기 출발지 노드에서 생성되고 암호화된 인증 정보가 유효하면 상기 도착지 노드가 상기 출발지 노드와 데이터 패킷을 송수신할 수 있도록 상기 갱신된 데이터 플로우를 상기 도착지 노드로 전송하며,
상기 출발지 노드와 상기 도착지 노드가 연결되었음을 상기 데이터 베이스에 저장하는, 서버.
15. The method of claim 14, wherein the processor:
Verify whether the authentication information generated and encrypted by the source node is valid based on the data flow corresponding to the data flow identification information included in the second authentication information,
If the authentication information generated and encrypted at the source node is valid, the updated data flow is transmitted to the destination node so that the destination node can transmit and receive data packets with the source node,
A server that stores in the database that the source node and the destination node are connected.
출발지 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 있어서,
타겟 애플리케이션의 데이터 패킷의 전송 프로토콜 및 외부 서버로부터 인가된 데이터 플로우에 포함된 인증 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입하여 도착지 노드로 전송하는 동작;
상기 도착지 노드로부터 상기 데이터 패킷에 대한 응답을 수신하되, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되는지 확인하는 동작;
상기 외부 서버에게 상기 도착지 노드의 응답에 대응하는 데이터 플로우의 식별 정보를 전송하며, 상기 데이터 플로우의 식별 정보에 대응하는 데이터 플로우가 상기 외부 서버에서 상기 도착지 노드에 의해 상태가 갱신되었는지 여부를 확인하여 상기 출발지 노드와 상기 도착지 노드 간 논리적 연결 생성을 위한 인증이 정상적인지 확인하는 동작; 및
상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되고, 상기 출발지 노드와 상기 도착지 노드 간 논리적 연결 생성을 위한 인증이 정상적인 경우, 상기 출발지 노드와 상기 도착지 노드 간 논리적 연결을 허용하여 상기 논리적 연결에 기반하여 데이터 패킷을 처리하는 동작; 을 포함하고,
상기 출발지 노드에서 상기 데이터 패킷에 삽입되는 인증 정보는 상기 도착지 노드가 상기 외부 서버에게 상기 인증 정보의 정상 여부를 확인하여 정상인 경우 응답하기 위해 사용되고,
상기 도착지 노드에 의해 데이터 패킷에 삽입되는 제2 인증 정보는 상기 출발지 노드가 상기 외부 서버에게 상기 도착지 노드의 인증이 정상적인지 여부를 확인하기 위해 사용되고,
상기 데이터 플로우는 상기 출발지 노드와 상기 도착지 노드를 포함하는 분산 네트워크를 구성하기 위해 사용되는, 방법.
In the method of operating the access control application installed on the source node,
Inserting authentication information into a data packet of the target application based on the transmission protocol of the data packet of the target application and authentication information included in a data flow authorized from an external server and transmitting it to a destination node;
Receiving a response to the data packet from the destination node, and checking whether the response to the data packet corresponds to the data flow;
Transmits identification information of the data flow corresponding to the response of the destination node to the external server, and checks whether the status of the data flow corresponding to the identification information of the data flow has been updated by the destination node in the external server. An operation to check whether authentication for creating a logical connection between the source node and the destination node is normal; and
If the response to the data packet corresponds to the data flow and the authentication for creating a logical connection between the source node and the destination node is normal, a logical connection is permitted between the source node and the destination node based on the logical connection. processing data packets; Including,
The authentication information inserted into the data packet from the source node is used by the destination node to check whether the authentication information is normal with the external server and respond if it is normal,
The second authentication information inserted into the data packet by the destination node is used by the source node to check with the external server whether the authentication of the destination node is normal,
The data flow is used to construct a distributed network including the source node and the destination node.
네트워크 접속 제어 시스템에 있어서,
출발지 노드, 도착지 노드 및 서버를 포함하고,
상기 출발지 노드에 설치된 제1 접속 제어 애플리케이션은 상기 서버로부터 수신된 제1 데이터 플로우에 포함된 제1 인증 정보에 기반하여 데이터 패킷에 제2 인증 정보를 삽입하여 상기 도착지 노드로 전송하고,
상기 도착지 노드에 설치된 제2 접속 제어 애플리케이션은 상기 데이터 패킷을 수신하고, 상기 데이터 패킷에 포함된 상기 제2 인증 정보에 기반하여 상기 서버에게 인증 정보 검사 요청을 수행하고,
상기 서버는 상기 제2 인증 정보에 대응되는 데이터 플로우의 존재 여부 및 상기 제2 인증 정보가 유효한지 여부를 검사하여 데이터 플로우에 상기 도착지 노드의 식별 정보 및 제3 인증 정보를 갱신하여, 갱신된 제2 데이터 플로우를 상기 도착지 노드로 전송하고,
상기 도착지 노드의 상기 제2 접속 제어 애플리케이션은 상기 제2 데이터 플로우에 포함된 상기 제3 인증 정보에 기반하여 제4 인증 정보를 응답 데이터 패킷에 삽입하여 상기 출발지 노드로 전송하고,
상기 출발지 노드의 상기 제1 접속 제어 애플리케이션은 상기 제4 인증 정보에 상기 제1 데이터 플로우가 대응되는지 여부 및 상기 제4 인증 정보가 유효한지 여부를 검사하여 상기 도착지 노드로 데이터 패킷의 전송이 가능한지 여부를 결정하도록 구성되는, 네트워크 접속 제어 시스템.
In a network access control system,
Includes a source node, a destination node, and a server,
A first access control application installed on the source node inserts second authentication information into a data packet based on the first authentication information included in the first data flow received from the server and transmits it to the destination node,
A second access control application installed in the destination node receives the data packet and requests the server to check authentication information based on the second authentication information included in the data packet,
The server checks whether a data flow corresponding to the second authentication information exists and whether the second authentication information is valid, updates the identification information of the destination node and the third authentication information in the data flow, and updates the updated first authentication information. 2 Transmit the data flow to the destination node,
The second access control application of the destination node inserts fourth authentication information into a response data packet based on the third authentication information included in the second data flow and transmits it to the source node,
The first access control application of the source node checks whether the first data flow corresponds to the fourth authentication information and whether the fourth authentication information is valid, and whether transmission of a data packet to the destination node is possible. A network access control system configured to determine.
노드에 있어서,
통신 회로; 상기 통신 회로와 작동적으로 연결되는 프로세서; 및 상기 프로세서와 작동적으로 연결되고, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가,
상기 접속 제어 애플리케이션을 통해 외부 서버에게 네트워크 접속 요청을 수행하고, 상기 네트워크 접속 요청은 상기 타겟 애플리케이션의 식별 정보, 전송 프로토콜, 도착지 노드의 식별 정보 및 상기 타겟 애플리케이션의 실행시 지정된 인자값을 포함하고,
상기 외부 서버로부터 인증 정보를 포함하는 데이터 플로우를 수신하고,
상기 수신된 데이터 플로우에 기반하여 상기 타겟 애플리케이션의 데이터 패킷에 인증 정보를 삽입하여 상기 도착지 노드로 전송하고,
상기 도착지 노드로부터 상기 데이터 패킷에 대한 응답을 수신하되, 상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되는지 확인하고,
상기 데이터 패킷에 대한 응답이 상기 데이터 플로우에 대응되면 상기 외부 서버에서 상기 도착지 노드의 식별 정보가 데이터 플로우에 갱신되었는지 여부를 확인하여 상기 데이터 플로우를 갱신하고,
상기 갱신된 데이터 플로우에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 전송하도록 구성되고,
상기 데이터 패킷에 삽입되는 인증 정보는 상기 도착지 노드가 상기 외부 서버에게 상기 인증 정보의 정상 여부를 확인하는 경우 및 상기 외부 서버가 데이터 플로우를 갱신하는 경우에 사용되고,
상기 타겟 애플리케이션의 실행시 지정된 인자값은 상기 외부 서버에서 상기 도착지 노드의 식별 정보에 대응되는 분산 네트워크를 구성하는 그룹에 등록된 대상인지 확인하는 경우에 사용되는, 노드.
In the node,
communication circuit; a processor operatively connected to the communication circuit; and a memory operatively coupled with the processor, storing a target application and a connection control application, the memory configured to cause the node to:
A network connection request is made to an external server through the access control application, and the network connection request includes identification information of the target application, a transmission protocol, identification information of a destination node, and a parameter value specified when executing the target application,
Receive a data flow containing authentication information from the external server,
Based on the received data flow, authentication information is inserted into the data packet of the target application and transmitted to the destination node,
Receive a response to the data packet from the destination node, and check whether the response to the data packet corresponds to the data flow,
If the response to the data packet corresponds to the data flow, the external server checks whether the identification information of the destination node has been updated in the data flow and updates the data flow,
configured to transmit a data packet of the target application based on the updated data flow,
The authentication information inserted into the data packet is used when the destination node checks with the external server whether the authentication information is normal and when the external server updates the data flow,
The parameter value specified when executing the target application is used to check whether the target is registered in the group constituting the distributed network corresponding to the identification information of the destination node in the external server.
KR1020220180649A 2022-12-21 2022-12-21 System for controlling network access and method of the same KR102620214B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220180649A KR102620214B1 (en) 2022-12-21 2022-12-21 System for controlling network access and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220180649A KR102620214B1 (en) 2022-12-21 2022-12-21 System for controlling network access and method of the same

Publications (1)

Publication Number Publication Date
KR102620214B1 true KR102620214B1 (en) 2024-01-03

Family

ID=89538750

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220180649A KR102620214B1 (en) 2022-12-21 2022-12-21 System for controlling network access and method of the same

Country Status (1)

Country Link
KR (1) KR102620214B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102349038B1 (en) * 2021-09-02 2022-01-11 프라이빗테크놀로지 주식회사 Tunneling and gateway access system optimized for distributed gateway environment and method therefor
KR102379721B1 (en) * 2021-09-03 2022-03-29 프라이빗테크놀로지 주식회사 System for controlling network access of application based on tcp session control and method therefor
KR102439881B1 (en) * 2022-01-27 2022-09-05 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102460691B1 (en) * 2021-11-15 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
KR102349038B1 (en) * 2021-09-02 2022-01-11 프라이빗테크놀로지 주식회사 Tunneling and gateway access system optimized for distributed gateway environment and method therefor
KR102379721B1 (en) * 2021-09-03 2022-03-29 프라이빗테크놀로지 주식회사 System for controlling network access of application based on tcp session control and method therefor
KR102460691B1 (en) * 2021-11-15 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102439881B1 (en) * 2022-01-27 2022-09-05 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Similar Documents

Publication Publication Date Title
KR102223827B1 (en) System for authenticating and controlling network access of terminal and method thereof
KR102396528B1 (en) System for controlling network access based on controller and method of the same
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
US20240080299A1 (en) Controller-based network access control system, and method thereof
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
KR102495369B1 (en) System for controlling network access based on controller and method of the same
KR102502367B1 (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
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
KR102333553B1 (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
KR102472554B1 (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
KR102407135B1 (en) System for controlling network access based on controller and method of the same
KR102446933B1 (en) System for controlling transmission and reception of file of application and method thereof
KR102460692B1 (en) System for controlling network access based on controller and method of the same
KR102620214B1 (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
KR102564417B1 (en) System for controlling network access and method of the same
KR102609368B1 (en) System for controlling network access and method of the same
KR102583604B1 (en) System for controlling data flow based on logical connection identification and method of the same

Legal Events

Date Code Title Description
AMND Amendment
X091 Application refused [patent]
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant