KR102609368B1 - 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
KR102609368B1
KR102609368B1 KR1020230023900A KR20230023900A KR102609368B1 KR 102609368 B1 KR102609368 B1 KR 102609368B1 KR 1020230023900 A KR1020230023900 A KR 1020230023900A KR 20230023900 A KR20230023900 A KR 20230023900A KR 102609368 B1 KR102609368 B1 KR 102609368B1
Authority
KR
South Korea
Prior art keywords
protocol
router
information
check
node
Prior art date
Application number
KR1020230023900A
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 KR1020230023900A priority Critical patent/KR102609368B1/en
Application granted granted Critical
Publication of KR102609368B1 publication Critical patent/KR102609368B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles
    • 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/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Abstract

본 문서에 개시된 일 실시예에 따른 라우터는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 대상 애플리케이션, 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 라우터가, 상기 접속 제어 애플리케이션을 통해 노드 또는 상기 대상 애플리케이션의 데이터 패킷 전송 이벤트를 감지하고, 상기 데이터 패킷 전송 이벤트는 상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나를 포함하고, 상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나에 대응되고, 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인하고, 상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 데이터 패킷의 프로토콜 검사를 자체적으로 수행할지 또는 상기 외부 서버를 통해 수행할지 확인하여 자체적으로 프로토콜을 검사하거나 또는 상기 외부 서버를 통해 프로토콜을 검사하고, 상기 데이터 패킷의 프로토콜 검사가 완료되면 상기 데이터 패킷을 전송하도록 구성된, 명령어들을 저장할 수 있다. A router 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 target application and a connection control application, The memory, when executed by the processor, causes the router to detect a data packet transmission event of a node or the target application through the access control application, and the data packet transmission event includes MAC address information of the node, identification of the node, A data flow that includes at least one of information and identification information of the target application, corresponds to at least one of MAC address information of the node, identification information of the node, and identification information of the target application, and is received from an external server. Check the existence of and determine whether to perform the protocol check of the data packet on its own or through the external server based on the protocol information included in the data flow, and check the protocol on its own or through the external server. Commands configured to check the protocol and transmit the data packet when the protocol check of the data packet is completed may be stored.

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.

사용자가 일반적으로 사용하는 단말이 아닌 산업용 단말 및 IoT(Internet of Things) 등의 단말 및 노드는 유무선 네트워크에 연결 및 통신하기 위한 라우터에 연결된다. Terminals and nodes other than those commonly used by users, such as industrial terminals and IoT (Internet of Things), are connected to a router for connection and communication with wired and wireless networks.

라우터는 LTE/5G와 같은 무선 통신 기술을 사용하여 통신사의 무선 네트워크에 연결되거나 유선 네트워크를 통해서 ISP(Internet Service Provider)를 통해 각각 서비스에 접속할 수 있으며, 실질적 통신을 수행하는 단말은 유선 또는 WIFI, LoRa (Long Range), Serial 등 다양한 연결 방식을 통해서 라우터와 연결될 수 있다.The router can be connected to a telecommunication company's wireless network using wireless communication technology such as LTE/5G, or access the service through an ISP (Internet Service Provider) through a wired network. The terminal that actually performs communication is wired or WIFI, It can be connected to the router through various connection methods such as LoRa (Long Range) and Serial.

터널링 또는 채널 및 이를 포함하는 채널을 기반으로 노드의 실질적인 통신 대상인 애플리케이션의 네트워크 접속 이벤트에 대응하여 네트워크 접속 제어를 수행하는 기술은 허용되지 않은 대상 또는 안전하지 않은 대상이 네트워크에 접속하는 것을 사전에 차단할 수 있다. Technology that performs network access control in response to network access events of applications that are the actual communication targets of nodes based on tunneling or channels and channels containing them can prevent unauthorized or unsafe targets from accessing the network in advance. You can.

산업용 단말과 IoT 단말 등은 저전력 또는 저사양의 단말이거나 자체적인 운영체제를 사용하기 때문에 네트워크 접속 제어 애플리케이션을 설치할 수 없는 문제가 발생할 수 있다. Because industrial terminals and IoT terminals are low-power or low-spec terminals or use their own operating systems, problems may occur in which network access control applications cannot be installed.

이러한 문제점을 해결하기 위해 통신사 및 ISP사는 라우터와 연결된 게이트웨이를 통해서 인터넷 또는 서비스 사이에 네트워크 접속 제어를 수행하고 있으며, 전통적인 방화벽 및 IPS (Intrusion Prevention System) 및 DPI (Deep Packet Inspection) 기술이 사용되며, 라우터를 식별하기 위한 고유의 정보(예: USIM 기반의 Subscriber ID)를 기반으로 할당된 IP를 기준으로 접속 가능한 서비스 IP 정책을 수동으로 등록하는 방법을 사용하고 있지만, 실질적으로 통신의 주체인 단말의 네트워크 접속을 직접적으로 제어하는 것에는 한계가 존재할 수 있다. To solve these problems, telecommunication companies and ISPs perform network access control between the Internet or services through gateways connected to routers, and traditional firewalls, IPS (Intrusion Prevention System), and DPI (Deep Packet Inspection) technologies are used. A method is used to manually register the service IP policy that can be accessed based on the assigned IP based on unique information to identify the router (e.g. USIM-based Subscriber ID), but in reality, the terminal that is the subject of communication There may be limitations to directly controlling network access.

또한, 허용된 애플리케이션이 목적지 서비스에 접속하여 실질적인 데이터 패킷을 송수신하는 경우, 네트워크 접속 제어 애플리케이션에 의해 식별된 정보인 애플리케이션과 목적지 IP 및 포트 정보에 기반하면 데이터 패킷이 허용된 프로토콜에 의해서 통신하는지 알 수 없는 문제가 발생할 수 있다. In addition, when a permitted application connects to a destination service and transmits and receives actual data packets, it can be determined whether the data packet communicates using the permitted protocol based on the application and destination IP and port information, which is information identified by the network access control application. Uncontrollable problems may arise.

프로토콜은 OSI(Open Systems Interconnection) 7계층에서 IP(Internet Protocol) 기반의 TCP(Transmission Control Protocol), UDP(User Datagram Protocol)와 같은 전송 계층(Layer 4, Transport Layer)에서 동작하는 프로토콜이 아닌 애플리케이션 계층(Layer 7, Application Layer)에서 HTTP(HyperText Transfer Protocol)와 같은 IETF(Internet Engineering Task Force) 표준으로 정의된 프로토콜 이외에도 실질적 통신 대상인 애플리케이션이 데이터 패킷을 송수신하기 위한 일련의 규격을 의미할 수 있다.The protocol is an application layer rather than a protocol that operates on the transport layer (Layer 4, Transport Layer) such as IP (Internet Protocol)-based TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) at the 7th layer of OSI (Open Systems Interconnection). In addition to protocols defined by IETF (Internet Engineering Task Force) standards such as HTTP (HyperText Transfer Protocol) at (Layer 7, Application Layer), it can refer to a series of specifications for the application that is the actual communication target to transmit and receive data packets.

노드에서 애플리케이션 식별 및 네트워크 접속을 통제하지 않는 전통적인 네트워크 경계 기술 중 하나인 IPS(Intrusion Prevention System)는 사전에 정의된 DPI(Deep Packet Inspection) 룰 또는 패턴 정보를 기반으로 알려져 있는 프로토콜의 데이터 패킷만 송수신할 수 있는 기술을 제공하지만, 이러한 네트워크 경계 기술은 노드가 전송한 데이터 패킷을 모두 수신한 이후에 처리하기 때문에 성능이 낮고, 실질적으로 어떠한 대상이 통신을 수행하는지 식별할 수 없기 때문에 다양한 식별 정보(예; 사용자, 노드, 애플리케이션)와 결합하여 효과적인 프로토콜 송수신 통제가 불가능한 문제가 존재한다. IPS (Intrusion Prevention System), one of the traditional network perimeter technologies that does not control application identification and network access at the node, transmits and receives only data packets of known protocols based on predefined DPI (Deep Packet Inspection) rules or pattern information. However, this network border technology has low performance because it processes all data packets sent by the node after receiving them, and it cannot identify which target is actually communicating, so it provides various identification information ( There is a problem where effective protocol transmission and reception control is impossible in combination with (e.g. users, nodes, applications).

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

본 문서에 개시된 일 실시예에 따른 라우터는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 대상 애플리케이션, 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 라우터가, 상기 접속 제어 애플리케이션을 통해 노드 또는 상기 대상 애플리케이션의 데이터 패킷 전송 이벤트를 감지하고, 상기 데이터 패킷 전송 이벤트는 상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나를 포함하고, 상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나에 대응되고, 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인하고, 상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 데이터 패킷의 프로토콜 검사를 자체적으로 수행할지 또는 상기 외부 서버를 통해 수행할지 확인하여 자체적으로 프로토콜을 검사하거나 또는 상기 외부 서버를 통해 프로토콜을 검사하고, 상기 데이터 패킷의 프로토콜 검사가 완료되면 상기 데이터 패킷을 전송하도록 구성된, 명령어들을 저장할 수 있다. A router 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 target application and a connection control application, The memory, when executed by the processor, causes the router to detect a data packet transmission event of a node or the target application through the access control application, and the data packet transmission event includes MAC address information of the node, identification of the node, A data flow that includes at least one of information and identification information of the target application, corresponds to at least one of MAC address information of the node, identification information of the node, and identification information of the target application, and is received from an external server. Check the existence of and determine whether to perform the protocol check of the data packet on its own or through the external server based on the protocol information included in the data flow, and check the protocol on its own or through the external server. Commands configured to check the protocol and transmit the data packet when the protocol check of the data packet is completed may be stored.

본 문서에 개시된 일 실시예에 따른 서버는, 통신 회로, 데이터 베이스를 저장하는 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 라우터의 접속 제어 애플리케이션으로부터 데이터 패킷 프로토콜 검사 요청을 수신하고, 상기 데이터 패킷 프로토콜 검사 요청은 프로토콜 검사에 필요한 검사 범위까지 수집된 데이터 패킷 및 상기 데이터 패킷에 대응되는 데이터 플로우의 식별 정보를 포함하고, 상기 데이터 플로우의 식별 정보에 대응되는 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 프로토콜 검사에 필요한 검사 범위까지 수집된 데이터 패킷의 프로토콜을 검사하고, 검사가 완료되면 상기 데이터 플로우의 프로토콜 검사 상태를 완료 상태로 갱신하고, 갱신된 데이터 플로우를 상기 라우터에게 전송하도록 구성될 수 있다. A server according to an embodiment disclosed in this document includes a communication circuit, a memory for storing a database, and a processor operatively connected to the communication circuit and the memory, wherein the processor stores data from a connection control application of a router. Receiving a packet protocol inspection request, wherein the data packet protocol inspection request includes data packets collected up to an inspection range required for protocol inspection and identification information of a data flow corresponding to the data packet, corresponding to the identification information of the data flow. Based on the protocol information included in the data flow, the protocol of the collected data packets is inspected up to the inspection range required for the protocol inspection, and when the inspection is completed, the protocol inspection status of the data flow is updated to the completed status, and the updated data It may be configured to transmit a flow to the router.

본 문서에 개시된 일 실시예에 따른 라우터에 설치된 접속 제어 애플리케이션의 동작 방법은, 노드 또는 대상 애플리케이션의 데이터 패킷 전송 이벤트를 감지하는 동작, 상기 데이터 패킷 전송 이벤트는 상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나를 포함하고, 상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나에 대응되고, 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인하는 동작, 상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 데이터 패킷의 프로토콜 검사를 자체적으로 수행할지 또는 상기 외부 서버를 통해 수행할지 확인하여 자체적으로 프로토콜을 검사하거나 또는 상기 외부 서버를 통해 프로토콜을 검사하는 동작 및 상기 데이터 패킷의 프로토콜 검사가 완료되면 상기 데이터 패킷을 전송하는 동작을 포함할 수 있다. A method of operating an access control application installed on a router according to an embodiment disclosed in this document includes detecting a data packet transmission event of a node or target application, wherein the data packet transmission event includes MAC address information of the node, Data that includes at least one of identification information and identification information of the target application, corresponds to at least one of MAC address information of the node, identification information of the node, and identification information of the target application, and is received from an external server. The operation of checking whether a flow exists, based on the protocol information included in the data flow, whether to perform the protocol check of the data packet itself or through the external server to check the protocol itself or the external server It may include an operation of checking a protocol through a server and an operation of transmitting the data packet when the protocol check of the data packet is completed.

본 문서에 개시되는 실시예들에 따르면, 라우터에 연결된 노드를 식별할 수 있는 최소한의 인증 단계를 포함하며, 실질적 통신을 중계하는 라우터에서 컨트롤러를 통해서 부여받은 데이터 플로우 정보에 기반하여 네트워크 접속 제어를 수행하기 위한 방법을 제공할 수 있다. According to the embodiments disclosed in this document, it includes a minimum authentication step to identify a node connected to the router, and performs network access control based on data flow information provided through a controller in the router relaying actual communication. Methods for performing it can be provided.

또한, 본 문서에 개시되는 실시예들에 따르면 물리적 인터페이스를 통해서 노드가 라우터에 연결되는 경우, 라우터는 단말의 네트워크 접속 요청 데이터 패킷에 포함된 Layer 2에서의 MAC (Media Access Control) 주소를 식별할 수 있다. In addition, according to the embodiments disclosed in this document, when a node is connected to a router through a physical interface, the router can identify the MAC (Media Access Control) address in Layer 2 included in the terminal's network connection request data packet. You can.

또한, 본 문서에 개시되는 실시예들에 따르면 식별된 MAC 주소로 네트워크 접속 이벤트가 발생하는 경우, 라우터는 컨트롤러에 접속 가능한 여부를 확인하고 그 결과에 따라 채널을 생성하거나 생성된 채널을 기반으로 네트워크 접속을 허용할 수 있다. In addition, according to embodiments disclosed in this document, when a network connection event occurs with an identified MAC address, the router checks whether the controller can be accessed and creates a channel based on the result or a network connection event based on the created channel. Access may be permitted.

또한, 본 문서에 개시되는 실시예들에 따르면 라우터에 설치된 접속 제어 애플리케이션을 통해 라우터에 연결된 노드의 네트워크 접속을 일원화하여 제어할 수 있어 보다 효율적으로 노드의 네트워크 접속을 안전하게 제어할 수 있다. In addition, according to the embodiments disclosed in this document, the network access of nodes connected to the router can be unified and controlled through an access control application installed on the router, so that the node's network access can be controlled more efficiently and safely.

또한, 본 문서에 개시되는 실시예들에 따르면, MAC 주소를 모르는 독자적인 프로토콜을 통해 노드의 통신을 중계하는 경우에, 네이티브 프로토콜을 IP 프로토콜로 재전송하기 위한 접속 중계 애플리케이션을 라우터에 포함시켜, 접속 중계 애플리케이션이 노드를 대리하여 네트워크 접속 요청 및 각종 통신을 처리하도록 하는 구조를 제공할 수 있다. In addition, according to embodiments disclosed in this document, when relaying a node's communication through a proprietary protocol that does not know the MAC address, a connection relay application for retransmitting the native protocol to the IP protocol is included in the router to relay the connection. A structure can be provided that allows the application to handle network connection requests and various communications on behalf of the node.

또한, 본 문서에 개시되는 실시예들에 따르면, 접속 중계 애플리케이션을 통해 네이티브 프로토콜을 통해서 노드를 자체적으로 인증하고, 접속 중계 애플리케이션을 통해 네트워크 접속 요청을 수신하는 경우 접속 제어 애플리케이션은 기본적인 통신 주체를 통신 대상 애플리케이션으로 한정하는 것이 가능하여 애플리케이션 단위로 통신을 중계하여 네트워크 접속 제어를 수행할 수 있다. In addition, according to the embodiments disclosed in this document, when a node authenticates itself through a native protocol through a connection relay application and receives a network connection request through a connection relay application, the access control application communicates the basic communication subject. Since it is possible to limit to target applications, network access control can be performed by relaying communications on a per-application basis.

또한, 본 문서에 개시되는 실시예들에 따르면, 허용되지 않은 프로토콜로 통신하는 애플리케이션의 통신을 식별하거나 차단할 수 있다. Additionally, according to embodiments disclosed in this document, communication of an application that communicates using an unauthorized protocol can be identified or blocked.

또한, 본 문서에 개시되는 실시예들에 따르면, TCP/IP 기반 네트워크 보안 기술이 내재하고 있는 문제점을 해소하고 안전한 네트워크 연결을 제공할 수 있다. Additionally, according to the embodiments disclosed in this document, problems inherent in TCP/IP-based network security technology can be resolved and a secure network connection can be provided.

또한, 본 문서에 개시되는 실시예들에 따르면, 접속 제어 애플리케이션이 실질적 통신 대상 애플리케이션의 네트워크 접속 허용 이후 데이터 패킷 전송 및 수신 이벤트에 따라 컨트롤러에 의해 허용된 프로토콜로 통신하는지를 감시할 수 있고, 허용되지 않는 프로토콜을 사용하는 경우, 네트워크 접속을 차단하거나 위험한 프로토콜을 사용하는 경우 제어 플로우를 해제 및 격리하여 네트워크 접속을 유지할 수 없게 하거나 네트워크로부터 격리하기 위한 기술을 제공할 수 있다. In addition, according to embodiments disclosed in this document, the access control application can monitor whether communication is performed using a protocol permitted by the controller according to data packet transmission and reception events after the network connection of the actual communication target application is permitted, and whether allowed is not permitted. If an unsuitable protocol is used, network access can be blocked, or if a dangerous protocol is used, the control flow can be disarmed and isolated, making it impossible to maintain network access, or technology can be provided to isolate it from the 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는 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다.
도 10a 및 도 10b는 다양한 실시예들에 따른 데이터 패킷의 전송을 처리하기 위한 신호 흐름도를 도시한다.
도 11a 및 도 11b는 다양한 실시예들에 따른 데이터 패킷의 수신을 처리하기 위한 신호 흐름도를 도시한다.
도 12는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다.
도 13은 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다.
도 14는 다양한 실시예들에 따른 접속 제어 애플리케이션의 동작 방법을 나타내는 흐름도를 도시한다.
도 15는 다양한 실시예들에 따른 서버의 동작 방법을 나타내는 흐름도를 도시한다.
도 16은 다양한 실시예들에 따른 데이터 패킷의 구조를 나타내는 도면이다.
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 router according to various embodiments.
Figure 5 explains an operation for controlling transmission of data packets according to various embodiments.
Figure 6 shows a signal flow diagram for controller connection according to various embodiments.
7 shows a signal flow diagram for user authentication according to various embodiments.
Figure 8 shows a signal flow diagram for changing channel state information according to various embodiments.
Figure 9 shows a signal flow diagram for network access according to various embodiments.
10A and 10B illustrate signal flow diagrams for processing transmission of data packets according to various embodiments.
11A and 11B illustrate signal flow diagrams for processing reception of data packets according to various embodiments.
Figure 12 shows a signal flow diagram for control flow update according to various embodiments.
13 shows a signal flow diagram for disconnection according to various embodiments.
Figure 14 shows a flowchart showing a method of operating a connection control application according to various embodiments.
Figure 15 shows a flowchart showing a method of operating a server according to various embodiments.
Figure 16 is a diagram showing the structure of a data packet according to various embodiments.

이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시예의 다양한 변경(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 a router or 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를 참조하면, 노드(231, 232)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 노드(231, 232)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 노드(231, 232)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 노드(231, 232)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. 실시예에 따르면, 노드(231, 232) 복수개의 노드(예: 제1 노드(231) 및 제2 노드(232))를 포함할 수 있다. Referring to FIG. 2, nodes 231 and 232 may be various types of devices capable of performing data communication. For another example, the nodes 231 and 232 may be connected to portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, and virtual reality (VR) devices. ) may include devices, or home appliances, and is not limited to the above-mentioned devices. For example, nodes 231 and 232 may include servers or gateways capable of transmitting data packets through an application. Nodes 231 and 232 may also be referred to as ‘electronic devices’ or ‘terminals.’ According to the embodiment, the nodes 231 and 232 may include a plurality of nodes (eg, the first node 231 and the second node 232).

라우터(201)는 노드(231, 232)와 연결될 수 있다. 예를 들어, 라우터(201)는 연결된 노드(231, 232)가 서비스(233, 234)에 접속하기 위해서는 컨트롤러(202)에 의해서 인가된 데이터 플로우가 존재하여야 통신이 가능한 구조를 제공할 수 있고, 데이터 플로우가 존재하지 않는 경우 노드(231, 232)가 통신을 수행할 수 없는 구조를 제공할 수 있다. 또한, 라우터(201)는 라우터(201)에 연결된 노드(231, 232)의 네트워크 접속 제어를 위하여 접속 제어 애플리케이션(211) 및 네트워크 드라이버를 포함할 수 있다. Router 201 may be connected to nodes 231 and 232. For example, the router 201 can provide a structure in which communication is possible only when a data flow authorized by the controller 202 exists in order for the connected nodes 231 and 232 to access the services 233 and 234, If a data flow does not exist, a structure in which the nodes 231 and 232 cannot communicate may be provided. Additionally, the router 201 may include an access control application 211 and a network driver to control network access of nodes 231 and 232 connected to the router 201.

실시예에 따르면, 라우터(201)는 접속 중계 애플리케이션(212)을 통해 제1 노드(231)의 네트워크 접속을 감지할 수 있고, 이후 접속 중계 애플리케이션(212)의 데이터 패킷 또는 서비스 처리 요청은 접속 제어 애플리케이션(211)을 통해 제어될 수 있다. 다른 실시예에 따르면, 라우터(201)는 접속 제어 애플리케이션(211)을 통해 직접적으로 제2 노드(232)의 네트워크 접속을 감지 및 제어할 수 있다. According to the embodiment, the router 201 may detect the network connection of the first node 231 through the access relay application 212, and then the data packet or service processing request of the access relay application 212 is controlled by connection control. It can be controlled through the application 211. According to another embodiment, the router 201 may directly detect and control the network connection of the second node 232 through the access control application 211.

실시예에 따르면, 라우터(201)는 노드(231, 232)로부터 네트워크 접속 요청이 발생하면, 컨트롤러(202)에게 접속 가능 여부를 확인할 수 있고, 접속 가능한 경우에만 컨트롤러(202)에 의해 생성된 데이터 플로우 정보를 통해 서비스(233, 234)를 제공하는 네트워크의 경계에 존재하는 게이트웨이(203)로 데이터 패킷을 전송할 수 있다. According to the embodiment, when a network connection request occurs from the nodes 231 and 232, the router 201 can check whether connection is possible with the controller 202, and only if connection is possible, data generated by the controller 202 Data packets can be transmitted to the gateway 203 located at the border of the network providing services 233 and 234 through flow information.

실시예에 따르면, 노드(231, 232) 또는 접속 중계 애플리케이션(212)이 사전에 부여된 인증서를 기반으로 서비스(233, 234) 또는 게이트웨이(203)와 채널을 통해 통신을 수행하는 경우에, 라우터(201)는 인증서를 확인하고 허용된 인증서의 경우에만 채널을 생성할 수 있도록 제어할 수 있다. 따라서, 라우터(201)는 노드(231, 232) 또는 접속 중계 애플리케이션(212)이 직접적으로 서비스(233, 234) 또는 게이트웨이(203)와 채널을 생성하는 것이 아니고, 채널을 중계하는 형태로 채널 접속 제어를 수행할 수 있다. According to the embodiment, when the nodes 231 and 232 or the access relay application 212 communicate with the services 233 and 234 or the gateway 203 through a channel based on a previously granted certificate, the router (201) can be controlled to check the certificate and create a channel only in the case of an accepted certificate. Therefore, the router 201 does not create a channel with the nodes 231, 232 or the access relay application 212 directly with the service 233, 234 or the gateway 203, but connects the channel by relaying the channel. Control can be performed.

실시예에 따르면, 라우터(201)는 노드(231, 232) 또는 접속 중계 애플리케이션(212)의 서비스(233, 234)로 서비스 요청을 수행하는 경우, 서비스 요청을 확인하고 허용된 프로토콜 및 불필요한 서비스 요청을 제한하거나 필터링하는 형태로 노드(231, 232) 또는 접속 중계 애플리케이션(212)의 서비스 요청을 중계 및 처리할 수 있다. According to the embodiment, when the router 201 performs a service request with the services 233 and 234 of the nodes 231 and 232 or the access relay application 212, the router 201 checks the service request and determines the allowed protocol and unnecessary service requests. Service requests from the nodes 231 and 232 or the connection relay application 212 can be relayed and processed in the form of limiting or filtering.

실시예에 따르면, 라우터(201)는 라우터(201)에 연결된 노드(231, 232)의 네트워크 접속을 중계하는 접속 중계 애플리케이션(212)을 포함할 수 있다. 예를 들어, 접속 중계 애플리케이션(212)은 WIFI, LoRa, Serial 통신 등 독자적인 프로토콜 사용 또는 중계 형태로 동작하는 프로토콜로 통신하는 노드(231, 232)의 네트워크 접속을 중계하기 위한 애플리케이션일 수 있다. 이 경우, 노드(231, 232)가 목적지 네트워크에 접속하기 위해서는 컨트롤러(202)에 의해서 인가된 데이터 플로우가 존재하여야 하고, 데이터 플로우가 존재하지 않는 경우 접속 중계 애플리케이션(212)이 통신을 수행하지 못하는 구조를 제공할 수 있다. According to the embodiment, the router 201 may include a connection relay application 212 that relays the network connection of the nodes 231 and 232 connected to the router 201. For example, the connection relay application 212 may be an application for relaying the network connection of the nodes 231 and 232 that communicate using a proprietary protocol such as WIFI, LoRa, or serial communication or a protocol operating in a relay format. In this case, in order for the nodes 231 and 232 to connect to the destination network, a data flow authorized by the controller 202 must exist, and if the data flow does not exist, the connection relay application 212 cannot perform communication. It can provide structure.

실시예에 따르면, 라우터(201)는 접속 중계 애플리케이션(212)의 네트워크 접속을 위해 접속 제어 애플리케이션(211)과 네트워크 드라이버를 포함할 수 있다. 라우터(201)는 접속 중계 애플리케이션으로부터 수신된 네트워크 접속 발생시, 컨트롤러(202)로부터 접속 가능 여부를 확인하고, 접속이 가능한 경우에만 컨트롤러(202)에서 생성된 데이터 플로우를 통해 접속 대상 네트워크의 경계에 존재하는 게이트웨이(203)로 데이터 패킷을 전송할 수 있다. According to the embodiment, the router 201 may include a connection control application 211 and a network driver for network connection of the connection relay application 212. When a network connection received from a connection relay application occurs, the router 201 checks whether connection is possible from the controller 202, and exists at the border of the network to be connected through the data flow generated by the controller 202 only if connection is possible. Data packets can be transmitted to the gateway 203.

또한, 서비스(233, 234)를 제공하는 장치는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 다른 예를 들어, 서비스(233, 234)를 제공하는 장치는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 서비스(233, 234)를 제공하는 장치는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 서비스(233, 234)를 제공하는 장치는 '전자 장치' 또는 '단말'로도 참조될 수 있다. Additionally, devices providing services 233 and 234 may be various types of devices capable of performing data communication. As another example, devices providing services 233, 234 include portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, It may include a virtual reality (VR) device, or a home appliance device, and is not limited to the aforementioned devices. For example, a device providing services 233, 234 may include a server or gateway that can transmit data packets through an application. Devices that provide services 233 and 234 may also be referred to as 'electronic devices' or 'terminals'.

노드(231, 232)는 라우터(201)에 포함된 접속 제어 애플리케이션(211)의 제어를 받고, 서비스(233, 234)를 제공하는 장치로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. 노드(231, 232)에 포함된 애플리케이션 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 신뢰된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 신뢰되지 않거나 보안되지 않은 악성 프로그램일 수 있으므로, 실시예들에 따른 네트워크 접속 시스템은 접속 제어 애플리케이션(211)의 네트워크 접속 제어를 통해 인가되지 않은 프로그램(애플리케이션)의 서비스(233, 234)를 제공하는 장치에 대한 접속을 차단하고 해당 프로그램을 격리할 수 있다. The nodes 231 and 232 are controlled by the access control application 211 included in the router 201 and can transmit data packets to devices providing services 233 and 234 or, conversely, receive data packets. Some of the applications contained in nodes 231 and 232 may be trusted and/or secure applications, such as web browsers or business applications, while others may be untrusted or unsecured malicious programs, so in embodiments The network access system according to the present invention can block access to devices providing services 233 and 234 of unauthorized programs (applications) through network access control of the access control application 211 and isolate the programs.

컨트롤러(202)는 예를 들어, 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 라우터(201) 및 서비스(233, 234)를 제공하는 장치 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 라우터(201)(또는 접속 제어 애플리케이션(211))의 네트워크 접속을 허용할 수 있다. 컨트롤러(202)는 라우터(201)와 서비스(233, 234)를 제공하는 장치 간 인증을 수행할 수 있는 인증 정보를 제공할 수 있다. 따라서, 라우터(201)의 접속 제어 애플리케이션(211)은 허용되지 않은 노드(231, 232)가 허용되지 않은 목적으로 데이터 패킷을 전송하는 것을 방지할 수 있다. 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 router 201 and devices providing services 233 and 234. For example, the controller 202 may allow the authorized router 201 (or the access control application 211) to access the network through policy information or blacklist information. The controller 202 may provide authentication information to perform authentication between the router 201 and devices providing services 233 and 234. Accordingly, the access control application 211 of the router 201 can prevent unauthorized nodes 231 and 232 from transmitting data packets for unauthorized purposes.

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

실시예에 따르면, 컨트롤러(202)는 통신 서비스(206)와 통신할 수 있고, 라우터(201)가 무선 통신 사업자 또는 ISP(Internet Service Provider) 사업자의 고유 네트워크에 연결되어 동작하는 경우, 라우터(201)가 접속 가능한 유효한 대상인지 여부를 확인하기 위하여 통신 서비스(206)에 라우터 접속 허용 여부 검사를 요청하고 그 결과를 수신할 수 있다. According to the embodiment, the controller 202 may communicate with the communication service 206, and when the router 201 operates while connected to a wireless communication provider or an Internet Service Provider (ISP) provider's own network, the router 201 ) can be requested to check whether router access is allowed to the communication service 206 and the result can be received to check whether it is a valid target that can be connected.

다양한 실시예들에 따르면, 라우터(201)는 노드(231, 232)의 네트워크 접속을 관리하기 위한 접속 중계 애플리케이션(212), 접속 제어 애플리케이션(211) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 노드(231, 232)로부터 서비스(233, 234)를 제공하는 장치에 대한 접속 이벤트가 발생하면, 접속 제어 애플리케이션(211)은 노드(231, 232)의 접속 가능 여부를 결정할 수 있다. 노드(231, 232)가 접속 가능하면, 접속 제어 애플리케이션(211)은 데이터 패킷을 서비스(233, 234)를 제공하는 장치로 보낼 수 있고, 서비스(233, 234)를 제공하는 장치로부터 데이터 패킷을 수신할 수 있다. 접속 제어 애플리케이션(211)은 라우터(201) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다. According to various embodiments, the router 201 may include a connection relay application 212, a connection control application 211, and a network driver (not shown) for managing the network connection of the nodes 231 and 232. . For example, when a connection event occurs from the nodes 231 and 232 to a device providing services 233 and 234, the connection control application 211 may determine whether the nodes 231 and 232 can be connected. . If the nodes 231 and 232 are connectable, the connection control application 211 can send data packets to the devices providing services 233 and 234, and receive data packets from the devices providing services 233 and 234. You can receive it. The access control application 211 can control the transmission of data packets within the router 201 through a kernel including an operating system and a network driver.

실시예에 따르면, 접속 중계 애플리케이션(212)은 대상 애플리케이션으로 참조될 수 있다. 즉, 라우터(201)는 접속 중계 애플리케이션(212) 이외에도 다양한 애플리케이션(예: 대상 애플리케이션)을 포함할 수 있다. 따라서, 라우터(201)의 접속 제어 애플리케이션(211)은 대상 애플리케이션의 네트워크 접속을 제어할 수 있다. 즉, 본 문서의 도 6 내지 도 14에 도시된 동작들은 접속 제어 애플리케이션(211)이 접속 중계 애플리케이션(212) 뿐만 아니라 대상 애플리케이션의 네트워크 접속을 제어하는 경우에도 실질적으로 동일하게 수행될 수 있다. According to the embodiment, the connection relay application 212 may be referred to as a target application. That is, the router 201 may include various applications (eg, target applications) in addition to the connection relay application 212. Accordingly, the connection control application 211 of the router 201 can control the network connection of the target application. That is, the operations shown in FIGS. 6 to 14 of this document can be performed substantially the same even when the access control application 211 controls network access of the target application as well as the access relay application 212.

도 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)에 접속하여 접속 제어 애플리케이션(211)과 게이트웨이(203) 및 서비스(233, 234)를 제공하는 장치 간 접속을 제어하기 위한 연결 중심의 정책을 설정할 수 있으므로, 서비스 단에서 세션을 관리하는 것 보다 세밀하고 안전하게 네트워크 접속을 제어할 수 있다. The administrator can access the controller 202 and set a connection-oriented policy to control access between the access control application 211 and the gateway 203 and devices providing services 233 and 234, so that the session can be established at the service end. You can control network access more precisely and safely than managing .

접속 정책 데이터 베이스(311)는 라우터(201)의 식별(라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 등) 및 인증(예: 인증서)을 위한 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 요청 시, 접속 정책 데이터 베이스(311)의 정책에 기반하여 네트워크 접속 요청시 식별된 네트워크(예: 라우터(201)가 속하는 네트워크, 서비스(233, 234)를 제공하는 장치가 속하는 네트워크), 노드 및/또는 애플리케이션(예: 라우터(201)에 연결된 노드에 포함된 애플리케이션)이 목적지(예: 서비스(233, 234)를 제공하는 장치 또는 라우터(201))에 접속이 가능한지 여부를 결정할 수 있다. 실시예에 따르면, 컨트롤러(202)는 접속 대상을 식별하기 위한 방법 및 식별 정보(예: 노드의 MAC 주소 기반 식별 방식, 노드가 네트워크 접속 요청시 전송한 인증 정보 기반 식별 방식, 라우터(201) 내에서 네트워크 접속 요청한 애플리케이션 식별 방식 및 이에 따라 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP, UDP 등), MAC 주소, 애플리케이션 식별 정보, 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 등)에 기반하여 접속 가능 여부를 확인하고 데이터 플로우를 생성할 수 있다. The access policy database 311 may include information for identification (router unique identification information, USIM identification information connected to the router, MAC address, etc.) and authentication (e.g., certificate) of the router 201. For example, when a network connection request is made by the access control application 211, the controller 202 identifies the network (e.g., the network to which the router 201 belongs) based on the policy of the access policy database 311. , the network to which the device providing the services 233, 234 belongs), the node and/or application (e.g., the application included in the node connected to the router 201) to the destination (e.g., the network providing the services 233, 234). It is possible to determine whether connection to the device or router 201 is possible. According to the embodiment, the controller 202 provides a method for identifying a connection target and identification information (e.g., a MAC address-based identification method of the node, an identification method based on authentication information transmitted by the node when requesting network access, within the router 201). How to identify the application requesting network access and, accordingly, destination IP and port information included in the IP header, protocol information (e.g. TCP, UDP, etc.), MAC address, application identification information, IP assigned to the node, and identification of the received network interface. information, etc.), you can check whether connection is possible and create a data flow.

채널 정책 데이터베이스(312)는 접속 정책에 따라 접속 (Connection) 경로 상에서 라우터(201)가 게이트웨이(203)에 연결할 채널이 필요로 한 경우, 채널의 종류 (터널링 또는 채널 등) 및 암호화 방법 및 수준 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 라우터(201)에 연결된 노드의 네트워크 접속 요청시 채널 정책을 기반으로 라우터(201)가 게이트웨이(203)와 통신하기 위한 최적의 채널을 제공할 수 있다. If the router 201 needs a channel to connect to the gateway 203 on the connection path according to the connection policy, the channel policy database 312 provides channel type (tunneling or channel, etc.) and encryption method and level information. may include. For example, the controller 202 may provide an optimal channel for the router 201 to communicate with the gateway 203 based on a channel policy when a node connected to the router 201 requests network access.

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

실시예에 따르면, 블랙리스트 정책 데이터 베이스(313)는 프로토콜 검사 결과에 따라 프로토콜을 사용한 노드 또는 사용자, 애플리케이션의 위험 수준을 판단하고 위험 수준에 따라 일시적 또는 영구적 격리 여부를 판단하기 위한 정보를 포함할 수 있다. According to the embodiment, the blacklist policy database 313 determines the risk level of nodes, users, and applications that use the protocol according to the protocol inspection results and includes information to determine whether to temporarily or permanently isolate them depending on the risk level. You can.

블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해서 차단된 대상에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러(202)는 네트워크 접속을 요청하는 라우터(201)의 식별 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 등)가 블랙리스트 데이터 베이스(314)에 포함되면 네트워크 접속 요청을 거부함으로써 라우터(201)를 격리시킬 수 있다. The blacklist database 314 may include a list of targets blocked by the blacklist policy database 313. For example, the controller 202 includes the identification information (e.g., router unique identification information, USIM identification information connected to the router, MAC address, etc.) of the router 201 requesting network access in the blacklist database 314. If so, the router 201 can be isolated by rejecting the network access request.

제어 플로우 테이블(315)은 라우터(201)와 컨트롤러(202) 사이에 생성된 제어 데이터 패킷의 흐름(예: 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 성공적으로 컨트롤러(202)에 접속하는 경우, 제어 플로우 정보는 컨트롤러(202)에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 컨트롤러에 대한 접속 및 인증 시 식별되는 라우터(201)의 정보를 포함할 수 있다. 예를 들어, 라우터(201)로부터 서비스(233, 234)를 제공하는 장치에 대한 접속이 요청되면 컨트롤러(202)는 라우터(201)로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 식별 정보를 접속 정책 데이터 베이스(311)에 매핑함으로서 라우터(201) 또는 라우터(201)에 연결된 노드가 서비스(233, 234)를 제공하는 장치에 접속이 가능한지 여부, 데이터 패킷 전송을 위한 데이터 플로우 생성 여부를 판단(결정)할 수 있다. 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 router 201 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 identification information of the control flow, and information on the router 201 identified when connecting to and authenticating the controller. For example, when access to a device providing services 233 and 234 is requested from the router 201, the controller 202 can retrieve control flow information through the control flow identification information received from the router 201. and whether the router 201 or a node connected to the router 201 can access the device providing the services 233 and 234 by mapping the identification information included in the searched control flow information to the connection policy database 311. , it is possible to determine (determine) whether to create a data flow for data packet transmission.

일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 라우터(201)는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 라우터(201)로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우, 컨트롤러(202)는 라우터(201)의 접속 종료 요청에 따라서 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 라우터(201)의 접속이 차단될 수 있다. 즉, 제어 플로우가 제거되면 라우터(201)의 논리적 연결은 해제되어 실질적으로 데이터 패킷을 전송 및 수신할 수 없는 상태가 될 수 있다. According to one embodiment, a control flow may have an expiration time. The router 201 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. Additionally, if it is determined that immediate connection blocking is necessary according to security events collected from the router 201, the controller 202 may remove the control flow according to the connection termination request from the router 201. When the control flow is removed, the previously created data flow is also removed, so the connection to the router 201 may be blocked. That is, if the control flow is removed, the logical connection of the router 201 may be disconnected, making it virtually impossible to transmit and receive data packets.

데이터 플로우 테이블(316)은 라우터(201)에 연결된 노드와 게이트웨이(203) 사이에 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블이다. 데이터 플로우는 라우터(201)에 연결된 노드의 네트워크 접속 단위로 흐름을 관리할 수 있다. The data flow table 316 is a table for managing the flow (eg, data flow) in which detailed data packets are transmitted between the node connected to the router 201 and the gateway 203. Data flow can be managed in units of network connections of nodes connected to the router 201.

데이터 플로우를 식별하기 위한 데이터 플로우 식별 정보(예: ID), 라우터(201)의 식별 정보 및 라우터(201)에 연결된 노드의 MAC 주소 정보는 하나 이상의 논리적 연결을 생성할 수 있기 때문에, 데이터 플로우 테이블(316)은 제어 플로우 ID에 기반하여 관리될 수 있다. Since data flow identification information (e.g., ID) for identifying a data flow, identification information of the router 201, and MAC address information of a node connected to the router 201 can create one or more logical connections, the data flow table 316 can be managed based on control flow ID.

실시예에 따르면, 데이터 플로우 테이블(316)은 인가된 대상의 데이터 플로우를 식별하기 위한 방법 및 식별 정보(예: 노드의 MAC 주소 기반 식별 방식, 노드가 네트워크 접속 요청시 전송한 인증 정보 기반 식별 방식, 라우터 내에서 네트워크 접속 요청한 애플리케이션 식별 방식 및 이에 따라 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP, UDP 등), MAC 주소, 애플리케이션 식별 정보, 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 등) 등의 세부 관리 단위 정보를 포함할 수 있다. According to the embodiment, the data flow table 316 includes a method for identifying the data flow of an authorized target and identification information (e.g., an identification method based on the MAC address of the node, an identification method based on authentication information transmitted by the node when requesting network access). , How to identify the application requesting network access within the router, and accordingly, destination IP and port information included in the IP header, protocol information (e.g. TCP, UDP, etc.), MAC address, application identification information, IP assigned to the node, and received It may include detailed management unit information such as network interface identification information, etc.).

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

실시예에 따르면, 데이터 플로우 테이블(316)은 데이터 플로우에 대응되는 프로토콜을 검사하기 위한 프로토콜 정보를 포함할 수 있다. 예를 들어, 프로토콜 정보는 프로토콜 정책(318)에 기반하여 설정되는 정보일 수 있다. 다른 예를 들어, 데이터 플로우 테이블(316)은 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보를 포함할 수 있다. 또 다른 예를 들어, 데이터 플로우 테이블(316)은 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 프로토콜 검사를 네트워크 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 중 적어도 어느 하나를 포함할 수 있다. According to an embodiment, the data flow table 316 may include protocol information for checking the protocol corresponding to the data flow. For example, protocol information may be information set based on the protocol policy 318. For another example, the data flow table 316 may include a protocol identification signature and version information, header information, and protocol information for identifying protocol information. As another example, the data flow table 316 checks the data packet to a certain extent (length) as necessary to identify the protocol, provides information on whether to process it as a normal protocol, and provides protocol inspection to the network access control application. information about whether to perform this test or whether to do it by sending data packet information to the controller, whether to check the protocol at the time of a network connection attempt or periodically, and status information about whether the test is complete or whether more tests are needed. It can include at least one of them.

실시예에 따르면, 데이터 플로우 테이블(316)은, 인가된 접속 대상(노드 또는 접속 중계 애플리케이션 또는 프록시)의 채널 생성 요청을 처리하기 위해 사전에 발급한 인증서 정보를 포함할 수 있다.According to an embodiment, the data flow table 316 may include certificate information issued in advance to process a channel creation request from an authorized connection target (node, connection relay application, or proxy).

실시예에 따르면, 데이터 플로우 테이블(316)은 라우터(201) 또는 게이트웨이(203)에 동일하게 저장될 수 있다. According to the embodiment, the data flow table 316 may be equally stored in the router 201 or the gateway 203.

인증 정책 데이터베이스(317)는 접속 정책(311)에 따라서 라우터(201)에 연결된 노드의 네트워크 접속 시 노드의 식별 정보를 기반으로 네트워크 접속을 인증할 것인지 여부 및 인증을 수행할 경우 인증 방식과 관련된 일련의 정보를 포함할 수 있다. 또한, 인증 정책 데이터베이스(317)는 접속 대상(예: 노드 또는 접속 중계 애플리케이션)이 채널을 생성하기 위해 사전에 발급한 인증서 정보를 포함할 수 있다. The authentication policy database 317 determines whether to authenticate network access based on the identification information of the node when connecting to the network of the node connected to the router 201 according to the access policy 311, and a series of information related to the authentication method when performing authentication. may include information. Additionally, the authentication policy database 317 may include certificate information previously issued by a connection target (e.g., node or connection relay application) to create a channel.

프로토콜 정책 데이터베이스(318)는 대상 애플리케이션(예; 접속 중계 애플리케이션(212))이 통신할 수 있는 프로토콜 정보를 포함할 수 있다. 예를 들어, 프로토콜 정책 데이터베이스(318)는 데이터 패킷 전송 또는 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보를 포함할 수 있다. 다른 예를 들어, 프로토콜 정책 데이터 베이스(318)는 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 프로토콜 검사를 네트워크 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 프로토콜을 준수하지 않았을 경우 네트워크 접속 해제 또는 제어 플로우 해제, 격리와 관련된 정보 중 적어도 어느 하나를 포함할 수 있다.The protocol policy database 318 may include protocol information with which a target application (eg, access relay application 212) can communicate. For example, the protocol policy database 318 may include a protocol identification signature and version information, header information, and protocol information to identify protocol information included when transmitting or receiving a data packet. For another example, the protocol policy database 318 identifies the protocol by examining the data packet to a certain extent (length) as necessary, provides information on whether to process it as a normal protocol, at the time of a network connection attempt, or periodically. Information about whether the protocol will be checked, whether the protocol check will be performed by a network access control application or by sending data packet information to the controller, disconnection of the network or control flow if the protocol is not followed, and information related to isolation. It may contain at least one of the information.

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

보안 검사 정책 데이터베이스(320)는 라우터(201)의 유효성 검사를 위한 보안 검사 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영제체가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 등) 및 보안 검사 주기, 보안 검사 실패 시 제어 플로우 해제 여부 등의 정보를 포함할 수 있다. The security check policy database 320 contains security check information for validating the router 201 (e.g., the execution or installation location of the operating system and major applications, signatures, fingerprints, hashes, registry, etc., unique information of the operating system and applications, operating system and a series of information for binary analysis of major applications, such as executable files, libraries and a series of files or processes referenced by the executable, memory information, and a malware detection tool or pattern DB to check whether the application and operating system are safe. Information, the router's hardware and operating system configuration information and version information, information on physically connectable devices, etc.) and security check cycle, and whether or not the control flow is released when the security check fails.

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

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

프로세서(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 may control the overall operation of the router. 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 router (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 router, 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 the router, 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의 접속 제어 애플리케이션(211)을 저장할 수 있다. 접속 제어 애플리케이션(211)은 컨트롤러(202)와의 제어 플로우 생성 및 갱신 기능을 수행할 수 있다. 이를 위하여 접속 제어 애플리케이션(211)은 하나 이상의 보안 모듈을 포함할 수 있다. According to one embodiment, the memory 420 may store the access control application 211 of FIG. 2. The connection control application 211 may perform control flow creation and update functions with the controller 202. To this end, the access control application 211 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), 서비스(233, 234)를 제공하는 장치)간의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 회로(430)는 무선 통신 회로(예: 셀룰러 통신 회로, 근거리 무선 통신 회로, 또는 GNSS(global navigation satellite system) 통신 회로) 또는 유선 통신 회로(예: LAN(local area network) 통신 회로, 또는 전력선 통신 회로)를 포함하고, 그 중 해당하는 통신 회로를 이용하여 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크 또는 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크와 같은 원거리 통신 네트워크를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 회로(430)는 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다. Communication circuitry 430 establishes a wired or wireless communication connection between the router and an external electronic device (e.g., controller 202 of FIG. 2, a device providing services 233, 234), and performs communication over the established connection. can support. 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를 참조하면, 접속 제어 애플리케이션(211)은 라우터(201)에 연결된 노드(231, 232)로부터 서비스(233, 234)를 제공하는 장치에 대한 네트워크 접속 요청을 감지하고, 라우터(201) 또는 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태인지 여부를 결정할 수 있다. 라우터(201) 또는 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아닌 경우, 접속 제어 애플리케이션(211)은 운영체제가 포함되는 커널(kernel)이나 네트워크 드라이버에서 데이터 패킷의 전송을 차단할 수 있다. 접속 제어 애플리케이션(211)을 통해, 라우터(201)는 OSI 계층 중 응용 계층에서 악의적인 노드의 접속을 사전에 차단할 수 있다. Referring to FIG. 5, the access control application 211 detects a network connection request for a device providing services 233 and 234 from nodes 231 and 232 connected to the router 201, and connects the router 201 or The connection control application 211 may determine whether it is connected to the controller 202. If the router 201 or the access control application 211 is not connected to the controller 202, the access control application 211 may block the transmission of data packets in the kernel or network driver that includes the operating system. there is. Through the access control application 211, the router 201 can block access of malicious nodes in advance at the application layer of the OSI layer.

라우터(201)와 연결된 노드(231, 232)는 반드시 컨트롤러(202)에 접속하여 인증을 수행하여야 하며, 인증 수행 이후 서비스(233, 234)를 제공하는 장치 접속 시, 접속 네트워크 정보를 컨트롤러(202)에 질의하여 접속 가능 여부를 확인하고, 접속이 가능한 경우 데이터 패킷을 서비스(233, 234)를 제공하는 장치로 전송할 수 있다. Nodes 231 and 232 connected to the router 201 must connect to the controller 202 to perform authentication, and when connecting devices providing services 233 and 234 after performing authentication, the connection network information is sent to the controller 202. ) to check whether connection is possible, and if connection is possible, data packets can be transmitted to the device providing the service (233, 234).

라우터(201)는 허용되지 않은 인증서를 사용한 채널 생성 요청을 차단할 수 있고, 데이터 플로우에 의해 네트워크 접속이 허용되어 있어도 실질적 서비스에 접속하기 위해서는 서비스 요청 정보를 검사하여 허용되지 않은 접속 대상이 서비스에 서비스 요청을 수행하는 것을 차단할 수 있다. The router 201 can block channel creation requests using unauthorized certificates, and even if network access is permitted by data flow, in order to access the actual service, the service request information is checked to determine if the unauthorized access target is connected to the service. You can block the request from being performed.

게이트웨이(203)는 라우터(201)로부터 수신된 데이터 패킷을 컨트롤러(202)를 통해서 확인하고, 인가된 라우터(201)가 전송한 데이터 패킷인 경우 응답 데이터 패킷을 라우터(201)로 전송하는 것을 허용할 수 있다. 예를 들어, 게이트웨이(203)는 데이터 패킷이 수신된 라우터(201)와 채널이 생성되어 있는지 여부를 확인하여, 채널이 생성된 경우에만 데이터 패킷을 목적지로 포워딩할 수 있다. The gateway 203 checks the data packet received from the router 201 through the controller 202, and allows sending a response data packet to the router 201 if it is a data packet transmitted by the authorized router 201. can do. For example, the gateway 203 can check whether a channel is created with the router 201 from which the data packet was received, and forward the data packet to the destination only when the channel is created.

결과적으로, 비인가 노드는 기본적으로 상호간에 통신을 할 수 없는 상태이고, 인가된 노드이어도 컨트롤러(202)에서 결정된 채널이 생성되지 않으면 데이터 패킷을 전송 및 수신할 수 없어 본 문서에 개시된 실시예에 따른 네트워크 접속 제어 시스템은 라우터(201)에 연결된 노드가 컨트롤러(202)에게 상호간 연결을 인증하기 이전에는 상호간에 격리된 상태를 제공할 수 있다. As a result, unauthorized nodes are basically unable to communicate with each other, and even authorized nodes cannot transmit and receive data packets unless a channel determined by the controller 202 is created, according to the embodiment disclosed in this document. The network access control system may provide a state in which nodes connected to the router 201 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.

라우터(201)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 라우터(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로써 라우터(201)의 컨트롤러 접속을 시도할 수 있다. In order for the router 201 to connect to or receive a network, it needs to be authorized by the controller 202, so the access control application 211 of the router 201 requests the controller 202 to create a control flow, thereby enabling the router ( 201), you can try to connect to the controller.

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

동작 605에서, 라우터(201)는 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 제어 애플리케이션(211)의 식별 정보를 컨트롤러(202)에게 전송할 수 있다. 추가적으로, 접속 제어 애플리케이션(211)은 라우터(201)의 식별 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나) 및/또는 네트워크 시스템에 의하여 자체적으로 생성된 임의의 식별 정보를 더 전송할 수 있다. In operation 605, the router 201 may request controller connection to the controller 202. For example, the access control application 211 may transmit identification information of the access control application 211 to the controller 202. Additionally, the access control application 211 may use identification information of the router 201 (e.g., at least one of router unique identification information, USIM identification information connected to the router, and MAC address) and/or random information generated by the network system itself. Additional identification information may be transmitted.

동작 610에서, 컨트롤러(202)는 컨트롤러 접속을 요청한 대상(예: 접속 제어 애플리케이션(211) 또는 라우터(201))의 접속 가능 여부를 확인(identify)할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)이 접속 요청한 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)가 접속 정책 데이터 베이스(311)에 의해 접속 가능한 상태인지 여부, 라우터(201)의 식별 정보(라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)가 블랙리스트 데이터 베이스(314)에 포함되어 있는지 여부를 검사하여 라우터(201)가 접속 가능한 상태인지 확인할 수 있다. In operation 610, the controller 202 may identify whether the object requesting controller connection (e.g., the access control application 211 or the router 201) can be connected. For example, the controller 202 stores the information requested by the access control application 211 for access (e.g., at least one of router unique identification information, USIM identification information connected to the router, and MAC address) in the access policy database 311. By checking whether the router 201 is in a connectable state and whether the identification information of the router 201 (at least one of the router unique identification information, USIM identification information connected to the router, and MAC address) is included in the blacklist database 314, It can be confirmed whether the router 201 is accessible.

실시예에 따르면, 컨트롤러(202)는 라우터(201)가 무선 통신 사업자 또는 ISP(Internet Service Provider) 사업자의 고유 네트워크에 연결되어 동작하는 경우, 라우터(201)가 접속 가능한 유효한 대상인지 여부를 확인하기 위하여 연결된 통신 서비스에 라우터(201)의 접속 허용 여부 검사를 요청하고 결과를 수신할 수 있다. According to the embodiment, when the router 201 operates while connected to the unique network of a wireless communication service provider or an Internet Service Provider (ISP) service provider, the controller 202 checks whether the router 201 is a valid target that can be accessed. In order to do so, the connected communication service can be requested to check whether the router 201 is allowed to access the router 201 and the result can be received.

접속 가능하다면, 동작 615에서, 컨트롤러(202)는 라우터(201)(또는 접속 제어 애플리케이션(211))와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 라우터(201)의 식별 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)를 제어 플로우 테이블(315)에 저장할 수 있다. 제어 플로우 테이블(315)에 저장된 정보는 라우터(201)의 인증서 인증, 라우터(201)의 정보 업데이트, 라우터(201)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다. If a connection is available, at operation 615, the controller 202 may create a control flow between the router 201 (or the connection control application 211) and the controller 202. In this case, the controller 202 generates control flow identification information in the form of a random number and controls the identification information of the router 201 (e.g., at least one of router unique identification information, USIM identification information connected to the router, and MAC address). It can be stored in the flow table 315. The information stored in the control flow table 315 may be used to authenticate the certificate of the router 201, update information of the router 201, check a policy for network access of the router 201, and/or check validity.

동작 620에서, 컨트롤러(202)는 식별된 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)와 대응되는 접속 정책 데이터 베이스(311)에 기반하여 접속 가능한 데이터 플로우를 생성할 수 있다. 또한, 컨트롤러(202)는 접속 결과로서 접속 완료 상태 및 라우터(201)가 추가 인증서 인증 요청 및 지속적인 라우터(201) 정보 업데이트시 제어 플로우를 식별하기 위한 제어 플로우 식별 정보를 접속 제어 애플리케이션(211)에게 반환할 수 있다(동작 625). In operation 620, the controller 202 collects accessible data based on the access policy database 311 corresponding to the identified information (e.g., at least one of router unique identification information, USIM identification information connected to the router, and MAC address). You can create flows. In addition, the controller 202 provides the connection completion status as a result of the connection and the control flow identification information for identifying the control flow when the router 201 requests additional certificate authentication and continuously updates the router 201 information to the access control application 211. May return (action 625).

실시예에 따르면, 컨트롤러(202)는 보안 검사 정책(320)에 기반하여 라우터(201)의 유효성을 검사하기 위한 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영체제가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)를 확인하여 보안 검사 정보를 라우터(201)에게 전송할 수 있다. According to an embodiment, the controller 202 collects information for validating the router 201 based on the security check policy 320 (e.g., execution or installation location of the operating system and major applications, signature, fingerprint, hash, Unique information of the operating system and applications such as the registry, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable files, memory information, and whether the application and operating system are safe. Security inspection information can be transmitted to the router 201 by checking at least one of malware detection tool or pattern DB information for inspection, hardware and operating system configuration information and version information of the router, and information on physically connectable devices.

동작 625에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답으로 제어 플로우 식별 정보를 라우터(201)에게 전송할 수 있다. 실시예에 따라 컨트롤러 접속을 요청한 대상이 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 제어 플로우를 생성하지 않고 동작 625에서 접속 불가 정보를 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 620의 수행을 통하여 확인된 보안 검사 정보를 접속 제어 애플리케이션(211)에게 추가적으로 전송할 수 있다. In operation 625, the controller 202 may transmit control flow identification information to the router 201 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 additionally transmit the confirmed security check information to the access control application 211 by performing operation 620.

동작 630 에서, 접속 제어 애플리케이션(211)은 보안 검사를 수행할 수 있다. 예를 들어, 라우터(201)는 컨트롤러(202)로부터 보안 검사 정보를 수신하면 수신된 보안 검사 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영체제가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)에 기반하여 보안 검사를 수행할 수 있다. In operation 630, the access control application 211 may perform a security check. For example, when the router 201 receives security check information from the controller 202, the received security check information (e.g., operation or installation location of the operating system and major applications, signature, fingerprint, hash, registry, etc.) Unique information, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable, memory information, and malware detection to check whether the application and operating system are safe. A security check may be performed based on at least one of tool or pattern DB information, router hardware and operating system configuration information and version information, and physically connectable device information.

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

동작 640에서, 컨트롤러(202)는 보안 검사 결과를 검사할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 보안 검사 결과 정보에 기반하여 보안 검사 정책에 따라 보안 검사 정책에서 라우터(201)에 포함된 운영체제 및 애플리케이션 정보가 유효한지 여부를 검사할 수 있다. 실시예에 따르면, 컨트롤러(202)에 포함된 또는 컨트롤러(202)와 연결된 타 시스템에 존재하는 유해 애플리케이션 검사 모듈(Static 검사 또는 AI 기반 검사)을 통해 라우터(201)의 운영체제 및 애플리케이션의 검사 결과가 정상적인지 여부를 판단할 수 있다. At operation 640, controller 202 may check the security check results. For example, the controller 202 may check whether the operating system and application information included in the router 201 are valid according to the security check policy based on the received security check result information. According to the embodiment, the inspection results of the operating system and application of the router 201 are obtained through a harmful application inspection module (static inspection or AI-based inspection) included in the controller 202 or existing in another system connected to the controller 202. You can judge whether it is normal or not.

실시예에 따르면, 라우터(201)의 운영체제 및 애플리케이션의 검사가 정상적이지 않은 경우, 컨트롤러(202)는 보안 검사 정책(320)에 기반하여 보안 검사 결과의 위험 수준을 평가할 수 있고, 위험 수준에 따라 제어 플로우를 해제하여 라우터(201)의 접속을 차단하거나 블랙리스트에 추가하여 라우터(201)의 접속을 격리할 수 있다. 또한, 이 경우 컨트롤러(202)는 라우터(201)에게 접속 불가 결과를 반환할 수 있다. According to the embodiment, if the check of the operating system and application of the router 201 is not normal, the controller 202 may evaluate the risk level of the security check result based on the security check policy 320 and according to the risk level. You can block the connection to the router 201 by disabling the control flow, or isolate the connection to the router 201 by adding it to the blacklist. Additionally, in this case, the controller 202 may return a connection unavailable result to the router 201.

동작 645에서, 컨트롤러(202)는 라우터(201)의 운영체제 및 애플리케이션 검사가 정상적 경우 채널 및 데이터 플로우를 처리할 수 있다. 예를 들어, 컨트롤러(202)는 라우터(201)에 연결된 노드 또는 접속 중계 애플리케이션(212)의 접속을 사전에 허용하기 위하여 허용된 접속 대상을 식별하기 위한 방법 및 식별 정보(예: 노드의 MAC 주소 기반 식별 방식, 노드가 네트워크 접속 요청시 전송한 인증 정보 기반 식별 방식, 라우터(201) 내에서 네트워크 접속 요청한 애플리케이션 식별 방식 및 이에 따라 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보, MAC 주소, 애플리케이션 식별 정보, 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 중 적어도 어느 하나) 및 라우터(201)와 게이트웨이(203) 간 채널 필요 여부를 포함하는 데이터 플로우를 생성할 수 있다. In operation 645, the controller 202 may process the channel and data flow if the operating system and application checks of the router 201 are normal. For example, the controller 202 may provide a method and identification information (e.g., MAC address of the node) to identify the permitted access target in order to allow access in advance to the node connected to the router 201 or the access relay application 212. Based identification method, identification method based on authentication information transmitted by the node when requesting network access, identification method of application requesting network access within the router 201, and destination IP and port information included in the IP header accordingly, protocol information, MAC address, A data flow including at least one of application identification information, an IP assigned to a node, and received network interface identification information) and whether a channel is needed between the router 201 and the gateway 203 can be created.

실시예에 따르면, 데이터 플로우에 포함되는 프로토콜 정보는 애플리케이션이 송수신하는 데이터 패킷의 프로토콜을 검사하기 위한 정보로써 데이터 패킷 전송 및 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보를 포함할 수 있다. 또한, 다른 실시예에 따르면 프로토콜 정보는 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 프로토콜 검사를 네트워크 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 중 적어도 어느 하나를 더 포함할 수 있다. According to the embodiment, the protocol information included in the data flow is information for examining the protocol of data packets transmitted and received by the application, and includes protocol identification signature and version information, and header information to identify protocol information included when transmitting and receiving data packets. , may include protocol information. In addition, according to another embodiment, the protocol information identifies the protocol by examining the data packet to a certain extent (length) as necessary, information on whether to process it as a normal protocol, and a network access control application to perform the protocol inspection. at least one of the following: information about whether to transmit data packet information to the controller, information about when a network connection is attempted or whether to periodically check the protocol, and status information about whether the test is complete or whether more tests are needed. It may further include.

실시예에 따르면, 컨트롤러(202)에서 생성하는 데이터 플로우는 접속 대상이 채널을 생성하는 경우 허용된 대상인지 확인하기 위한 인증서 정보를 포함할 수 있다. According to an embodiment, the data flow generated by the controller 202 may include certificate information to confirm whether the connection target is permitted when creating a channel.

또한, 컨트롤러(202)는 라우터(201)의 네트워크 접속을 허용하기 위하여 채널 정책 데이터베이스(312)에서 라우터(201)가 기본 접속 가능한 게이트웨이(203)를 확인할 수 있다. 예를 들어, 기본 접속 가능한 게이트웨이(203)가 존재하면, 컨트롤러(202)는 라우터(201)와 게이트웨이(203) 간 연결할 수 있는 채널 종류(예: 터널, 채널) 및 채널 생성을 위한 일련의 정보(인증 정보, 암호화 알고리즘, Tunnel End Point IP 등)를 포함하는 채널 정보를 생성할 수 있다. Additionally, the controller 202 may check the gateway 203 to which the router 201 can access the network in the channel policy database 312 in order to allow the router 201 to access the network. For example, if there is a basic accessible gateway 203, the controller 202 sets the type of channel (e.g. tunnel, channel) that can be connected between the router 201 and the gateway 203 and a series of information for creating the channel. Channel information including (authentication information, encryption algorithm, Tunnel End Point IP, etc.) can be created.

실시예에 따르면, 라우터(201)와 게이트웨이(203) 사이에 채널이 생성되는 구조가 아니고 라우터(201)가 속한 네트워크에 존재하는 통신사의 무선 네트워크 또는 ISP의 네트워크에 존재하는 게이트웨이(203) 사이에 사전에 연결된 채널을 통해서 접속하는 경우, 또는 라우터(201)와 게이트웨이(203) 사이에 타 채널 기술을 통해서 접속하는 경우, 컨트롤러(202)는 별도의 채널 생성 정보를 라우터에 전송하지 않을 수 있다. According to the embodiment, a channel is not created between the router 201 and the gateway 203, but between the gateway 203 existing in the wireless network of a telecommunication company or ISP network that exists in the network to which the router 201 belongs. When connecting through a pre-connected channel or when connecting through another channel technology between the router 201 and the gateway 203, the controller 202 may not transmit separate channel creation information to the router.

동작 650에서, 컨트롤러(202)는 생성된 채널 및 데이터 플로우 정보를 라우터(201)에게 전송할 수 있다. 실시예에 따르면, 컨트롤러(202)는 생성된 채널 및 데이터 플로우 정보를 게이트웨이(203)에게도 전송할 수 있다. 실시예예 따르면, 데이터 플로우가 생성되지 않은 경우에는 컨트롤러(202)는 접속 실패 결과를 라우터(201)에 전송하며 데이터 플로우를 전송하지 않을 수 있다. In operation 650, the controller 202 may transmit the generated channel and data flow information to the router 201. According to the embodiment, the controller 202 may also transmit the generated channel and data flow information to the gateway 203. According to the embodiment, if a data flow is not created, the controller 202 may transmit a connection failure result to the router 201 and not transmit the data flow.

동작 655에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 컨트롤러(202) 접속이 완료되면, 라우터(201)에 연결된 노드의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 655, the access control application 211 may process a result value according to the received response. For example, when connection to the controller 202 is completed, a network connection request for a destination network of a node connected to the router 201 may be controlled by the controller 202.

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

또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 라우터(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. 이후 데이터 패킷 전송 요청이 감지되는 경우, 접속 제어 애플리케이션(211)은 수신된 데이터 플로우에 기반하여 전송하고자하는 데이터 패킷을 처리할 수 있다. In addition, the access control application 211 can update the data flow of the router 201 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 211 may process the data packet to be transmitted based on the received data flow.

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

실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 채널 정보가 존재하고 생성해야 할 채널이 존재하는 경우, 채널 정보에 기반하여 게이트웨이(203)에게 채널 생성 요청을 수행하여 채널을 생성할 수 있다. According to the embodiment, when there is channel information received from the controller 202 and a channel to be created, the access control application 211 requests the gateway 203 to create a channel based on the channel information to create a channel. can be created.

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

라우터(201)는 UI(User Interface)를 통해서 사용자 인증을 수행할 수도 있지만, 서버 형태로 동작하는 라우터(201)의 경우 UI가 없이 사용자 인증이 아닌 사전에 발급받은 인증서를 기반으로 인증을 수행할 수도 있다. 이 경우, 라우터(201)는 UI가 없는 상황에서 인증서를 기반으로 인증을 수행할 수 있어야 한다. The router 201 may perform user authentication through a UI (User Interface), but in the case of the router 201 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 router 201 must be able to perform authentication based on a certificate in a situation where there is no UI.

동작 705에서, 라우터(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)와의 제어 플로우 생성 이후 네트워크의 상세한 접속 권한을 부여받기 위해 라우터 인증서 인증을 수행할 수 있다. 예를 들어, 라우터(201)의 접속 제어 애플리케이션(211)은 라우터(201)에 설정된 인증서를 통해서 생서된 인증 정보를 컨트롤러(202)에게 전송하며 인증서 인증을 요청할 수 있다. In operation 705, the access control application 211 of the router 201 may perform router certificate authentication to receive detailed network access rights after creating a control flow with the controller 202. For example, the access control application 211 of the router 201 may transmit authentication information generated through a certificate set in the router 201 to the controller 202 and request certificate authentication.

동작 710에서, 컨트롤러(202)는 인증서 인증을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)이 인증 요청한 정보(예: 인증 식별 정보, 전자서명 정보 등)를 기반으로 접속 가능한 인증서 여부와 인증서에 대응되는 라우터 정보(예: 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 중 적어도 어느 하나)가 정책에 의해 접속 가능한 상태인지 여부를 확인할 수 있다. 또한, 컨트롤러(202)는 인증서 식별 정보가 블랙리스트(314)에 포함되어 있는지 여부를 검사하여, 인증 요청한 인증서가 차단되어 있는지 여부를 확인할 수 있다. 실시예에 따르면, 접속이 불가능하거나 인증서가 블랙리스트에 포함된 경우 컨트롤러(202)는 라우터(201)에게 접속 불가 정보를 전송할 수 있다(동작 725). At operation 710, controller 202 may verify certificate authentication. For example, the controller 202 determines whether a certificate is available for access based on information requested for authentication by the access control application 211 (e.g., authentication identification information, electronic signature information, etc.) and router information corresponding to the certificate (e.g., router-specific information). It is possible to check whether at least one of identification information, USIM identification information connected to the router, and MAC address) is accessible according to the policy. Additionally, the controller 202 can check whether the certificate identification information is included in the blacklist 314 and check whether the certificate requesting authentication is blocked. According to the embodiment, when connection is impossible or the certificate is included in the blacklist, the controller 202 may transmit connection inaccessibility information to the router 201 (operation 725).

실시예에 따르면, 컨트롤러(202)는 라우터(201)가 무선 통신 사업자 또는 ISP (Internet Service Provider) 사업자의 고유 네트워크에 연결되어 동작하는 경우, 라우터(201)가 접속 가능한 유효한 대상인지 여부를 확인하기 위해서 연결된 통신 서비스에 라우터 접속 허용 여부 검사를 요청하고 그 결과를 수신할 수 있다. According to the embodiment, when the router 201 operates while connected to a wireless communication service provider or an Internet Service Provider (ISP) service provider's own network, the controller 202 checks whether the router 201 is a valid connectionable target. To do this, you can request a connection to the router to be checked for connection to the connected communication service and receive the result.

동작 715에서, 접속 가능한 인증서인 경우, 컨트롤러(202)는 전송한 제어 플로우 식별 정보에 대응되는 제어 플로우를 검색하고, 검색된 제어 플로우에 인증서 식별 정보를 추가할 수 있다. 실시예에 따르면, 컨트롤러(202)는 인증서 인증의 결과로 인증서 인증 완료 상태 및 인증된 인증서의 접속 정책 정보를 라우터(201)로 반환할 수 있다(동작 725). In operation 715, 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 the embodiment, the controller 202 may return the certificate authentication completion status and the access policy information of the authenticated certificate to the router 201 as a result of certificate authentication (operation 725).

동작 720에서, 컨트롤러(202)는 식별된 정보(인증서 식별 정보, 라우터 고유 식별 정보, 라우터에 연결된 USIM 식별 정보, MAC 주소 등)와 대응되는 접속 정책 데이터 베이스(311)에 기반하여 접속 가능한 데이터 플로우 정보를 생성할 수 있다. In operation 720, the controller 202 selects an accessible data flow based on the access policy database 311 corresponding to the identified information (certificate identification information, router unique identification information, USIM identification information connected to the router, MAC address, etc.). Information can be generated.

실시예에 따르면, 컨트롤러(202)는 보안 검사 정책(320)에 기반하여 라우터(201)의 유효성을 검사하기 위한 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영체제가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)를 확인하여 보안 검사 정보를 라우터(201)에게 전송할 수 있다. According to an embodiment, the controller 202 collects information for validating the router 201 based on the security check policy 320 (e.g., execution or installation location of the operating system and major applications, signature, fingerprint, hash, Unique information of the operating system and applications such as the registry, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable files, memory information, and whether the application and operating system are safe. Security inspection information can be transmitted to the router 201 by checking at least one of malware detection tool or pattern DB information for inspection, hardware and operating system configuration information and version information of the router, and information on physically connectable devices.

동작 725에서, 컨트롤러(202)는 인증서 인증 요청에 대한 응답으로써 인증서가 인증됨을 나타내는 정보를 라우터(201)에게 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 720의 수행을 통하여 생성된 보안 검사 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다.In operation 725, the controller 202 may transmit information indicating that the certificate is authenticated to the router 201 in response to the certificate authentication request. In one embodiment, the controller 202 may transmit the security check information generated by performing operation 720 to the access control application 211.

동작 730에서, 접속 제어 애플리케이션(211)은 보안 검사를 수행할 수 있다. 예를 들어, 라우터(201)는 컨트롤러(202)로부터 보안 검사 정보를 수신하면 수신된 보안 검사 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영체제가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)에 기반하여 보안 검사를 수행할 수 있다. In operation 730, the access control application 211 may perform a security check. For example, when the router 201 receives security check information from the controller 202, the received security check information (e.g., operation or installation location of the operating system and major applications, signature, fingerprint, hash, registry, etc.) Unique information, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable, memory information, and malware detection to check whether the application and operating system are safe. A security check may be performed based on at least one of tool or pattern DB information, router hardware and operating system configuration information and version information, and physically connectable device information).

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

동작 740에서, 컨트롤러(202)는 보안 검사 결과를 검사할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 보안 검사 결과 정보에 기반하여 보안 검사 정책에 따라 보안 검사 정책에서 라우터(201)에 포함된 운영체제 및 애플리케이션 정보가 유효한지 여부를 검사할 수 있다. 실시예에 따르면, 컨트롤러(202)에 포함된 또는 컨트롤러(202)와 연결된 타 시스템에 존재하는 유해 애플리케이션 검사 모듈(Static 검사 또는 AI 기반 검사)을 통해 라우터(201)의 운영체제 및 애플리케이션의 검사 결과가 정상적인지 여부를 판단할 수 있다. At operation 740, controller 202 may check the security check results. For example, the controller 202 may check whether the operating system and application information included in the router 201 are valid according to the security check policy based on the received security check result information. According to the embodiment, the inspection results of the operating system and application of the router 201 are obtained through a harmful application inspection module (static inspection or AI-based inspection) included in the controller 202 or existing in another system connected to the controller 202. You can judge whether it is normal or not.

실시예에 따르면, 라우터(201)의 운영체제 및 애플리케이션의 검사가 정상적이지 않은 경우, 컨트롤러(202)는 보안 검사 정책(320)에 기반하여 보안 검사 결과의 위험 수준을 평가할 수 있고, 위험 수준에 따라 제어 플로우를 해제하여 라우터(201)의 접속을 차단하거나 블랙리스트에 추가하여 라우터(201)의 접속을 격리할 수 있다. 또한, 이 경우 컨트롤러(202)는 라우터(201)에게 접속 불가 결과를 반환할 수 있다. According to the embodiment, if the check of the operating system and application of the router 201 is not normal, the controller 202 may evaluate the risk level of the security check result based on the security check policy 320 and according to the risk level. You can block the connection to the router 201 by disabling the control flow, or isolate the connection to the router 201 by adding it to the blacklist. Additionally, in this case, the controller 202 may return a connection unavailable result to the router 201.

동작 745에서, 컨트롤러(202)는 라우터(201)의 운영체제 및 애플리케이션 검사가 정상적 경우 채널 및 데이터 플로우를 처리할 수 있다. 예를 들어, 컨트롤러(202)는 라우터(201)에 연결된 노드 또는 접속 중계 애플리케이션(212)의 접속을 사전에 허용하기 위하여 허용된 접속 대상을 식별하기 위한 방법 및 식별 정보(예: 노드의 MAC 주소 기반 식별 방식, 노드가 네트워크 접속 요청시 전송한 인증 정보 기반 식별 방식, 라우터(201) 내에서 네트워크 접속 요청한 애플리케이션 식별 방식 및 이에 따라 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보, MAC 주소, 애플리케이션 식별 정보, 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 중 적어도 어느 하나) 및 라우터(201)와 게이트웨이(203) 간 채널 필요 여부를 포함하는 데이터 플로우를 생성할 수 있다. In operation 745, the controller 202 may process the channel and data flow if the operating system and application checks of the router 201 are normal. For example, the controller 202 may provide a method and identification information (e.g., MAC address of the node) to identify the permitted access target in order to allow access in advance to the node connected to the router 201 or the access relay application 212. Based identification method, identification method based on authentication information transmitted by the node when requesting network access, identification method of application requesting network access within the router 201, and destination IP and port information included in the IP header accordingly, protocol information, MAC address, A data flow including at least one of application identification information, an IP assigned to a node, and received network interface identification information) and whether a channel is needed between the router 201 and the gateway 203 can be created.

실시예에 따르면, 데이터 플로우에 포함되는 프로토콜 정보는 애플리케이션이 송수신하는 데이터 패킷의 프로토콜을 검사하기 위한 정보로써 데이터 패킷 전송 및 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보를 포함할 수 있다. 또한, 다른 실시예에 따르면 프로토콜 정보는 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 프로토콜 검사를 네트워크 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 중 적어도 어느 하나를 더 포함할 수 있다. According to the embodiment, the protocol information included in the data flow is information for examining the protocol of data packets transmitted and received by the application, and includes protocol identification signature and version information, and header information to identify protocol information included when transmitting and receiving data packets. , may include protocol information. In addition, according to another embodiment, the protocol information identifies the protocol by examining the data packet to a certain extent (length) as necessary, information on whether to process it as a normal protocol, and a network access control application to perform the protocol inspection. at least one of the following: information about whether to transmit data packet information to the controller, information about when a network connection is attempted or whether to periodically check the protocol, and status information about whether the test is complete or whether more tests are needed. It may further include.

실시예에 따르면, 컨트롤러(202)에서 생성하는 데이터 플로우는 접속 대상이 채널을 생성하는 경우 허용된 대상인지 확인하기 위한 인증서 정보를 포함할 수 있다. According to an embodiment, the data flow generated by the controller 202 may include certificate information to confirm whether the connection target is permitted when creating a channel.

또한, 컨트롤러(202)는 라우터(201)의 네트워크 접속을 허용하기 위하여 채널 정책 데이터베이스(312)에서 라우터(201)가 기본 접속 가능한 게이트웨이(203)를 확인할 수 있다. 예를 들어, 기본 접속 가능한 게이트웨이(203)가 존재하면, 컨트롤러(202)는 라우터(201)와 게이트웨이(203) 간 연결할 수 있는 채널 종류(예: 터널, 채널) 및 채널 생성을 위한 일련의 정보(인증 정보, 암호화 알고리즘, Tunnel End Point IP 등)를 포함하는 채널 정보를 생성할 수 있다. Additionally, the controller 202 may check the gateway 203 to which the router 201 can access the network in the channel policy database 312 in order to allow the router 201 to access the network. For example, if there is a basic accessible gateway 203, the controller 202 sets the type of channel (e.g. tunnel, channel) that can be connected between the router 201 and the gateway 203 and a series of information for creating the channel. Channel information including (authentication information, encryption algorithm, Tunnel End Point IP, etc.) can be created.

실시예에 따르면, 라우터(201)와 게이트웨이(203) 사이에 채널이 생성되는 구조가 아니고 라우터(201)가 속한 네트워크에 존재하는 통신사의 무선 네트워크 또는 ISP의 네트워크에 존재하는 게이트웨이(203) 사이에 사전에 연결된 채널을 통해서 접속하는 경우, 또는 라우터(201)와 게이트웨이(203) 사이에 타 채널 기술을 통해서 접속하는 경우, 컨트롤러(202)는 별도의 채널 생성 정보를 라우터에 전송하지 않을 수 있다. According to the embodiment, a channel is not created between the router 201 and the gateway 203, but between the gateway 203 existing in the wireless network of a telecommunication company or ISP network that exists in the network to which the router 201 belongs. When connecting through a pre-connected channel or when connecting through another channel technology between the router 201 and the gateway 203, the controller 202 may not transmit separate channel creation information to the router.

동작 750에서, 컨트롤러(202)는 생성된 채널 및 데이터 플로우 정보를 라우터(201)에게 전송할 수 있다. 실시예에 따르면, 컨트롤러(202)는 생성된 채널 및 데이터 플로우 정보를 게이트웨이(203)에게도 전송할 수 있다. 실시예예 따르면, 데이터 플로우가 생성되지 않은 경우에는 컨트롤러(202)는 접속 실패 결과를 라우터(201)에 전송하며 데이터 플로우를 전송하지 않을 수 있다. In operation 750, the controller 202 may transmit the generated channel and data flow information to the router 201. According to the embodiment, the controller 202 may also transmit the generated channel and data flow information to the gateway 203. According to the embodiment, if a data flow is not created, the controller 202 may transmit a connection failure result to the router 201 and not transmit the data flow.

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

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

또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 라우터(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, the access control application 211 can update the data flow of the router 201 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

실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 애플리케이션을 종료하거나, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. According to the embodiment, when the connection control application 211 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 changing channel state information according to various embodiments.

라우터(201)의 접속 제어 애플리케이션(211)은 채널 생성이 완료되거나, 채널 생성에 실패한 경우, 생성된 채널의 접속이 해제되는 경우, 등 채널의 상태가 변경되면 컨트롤러(202)에게 채널 상태 정보 변경을 요청할 수 있다. The access control application 211 of the router 201 changes the channel status information to the controller 202 when the channel status changes, such as when channel creation is completed, channel creation fails, or the connection to the created channel is released. You can request.

동작 805에서, 접속 제어 애플리케이션(211)은 채널 생성이 완료되거나, 채널 생성에 실패한 경우, 생성된 채널의 접속이 해제되는 경우 채널 상태 정보 변경 이벤트를 감지할 수 있다. In operation 805, the access control application 211 may detect a channel state information change event when channel creation is completed, channel creation fails, or the connection to the created channel is released.

동작 810에서, 접속 제어 애플리케이션(211)은 채널 상태 정보를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 채널 생성이 완료된 경우 채널 식별 정보 및 채널 생성시 부여받은 고유의 IP가 존재하는 경우 IP 정보를 전송할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 채널 생성에 실패하였거나 채널이 해제된 경우, 채널 식별 정보를 컨트롤러(202)에게 전송할 수 있다. In operation 810, the access control application 211 may transmit channel state information to the controller 202. For example, the access control application 211 may transmit channel identification information when channel creation is completed and IP information if a unique IP assigned at the time of channel creation exists. For another example, the access control application 211 may transmit channel identification information to the controller 202 when channel creation fails or the channel is released.

동작 815에서, 컨트롤러(202)는 채널 상태 및 데이터 플로우를 갱신할 수 있다. 예를 들어, 컨트롤러(202)는 라우터(201)로부터 수신된 채널 상태 정보 및 라우터(201)에 할당된 IP 정보에 기반하여 채널 상태를 갱신할 수 있다. At operation 815, controller 202 may update channel status and data flow. For example, the controller 202 may update the channel state based on channel state information received from the router 201 and IP information assigned to the router 201.

실시예에 따르면, 채널 생성이 완료된 경우, 컨트롤러(202)는 라우터(201)에 연결된 노드 또는 접속 중계 애플리케이션(212)의 접속을 사전에 허용하기 위하여 허용된 접속 대상을 식별하기 위한 방법 및 식별 정보(예: 노드의 MAC 주소 기반 식별 방식, 노드가 네트워크 접속 요청시 전송한 인증 정보 기반 식별 방식, 라우터(201) 내에서 네트워크 접속 요청한 애플리케이션 식별 방식 및 이에 따라 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보, MAC 주소, 애플리케이션 식별 정보, 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 중 적어도 어느 하나) 및 라우터(201)와 게이트웨이(203) 간 채널 필요 여부를 포함하는 데이터 플로우를 생성할 수 있다. According to the embodiment, when channel creation is completed, the controller 202 provides a method and identification information for identifying permitted access targets in order to allow access in advance to the node connected to the router 201 or the access relay application 212. (Example: MAC address-based identification method of the node, identification method based on authentication information transmitted by the node when requesting network access, identification method of application requesting network access within the router 201, and destination IP and port information included in the IP header accordingly , at least one of protocol information, MAC address, application identification information, IP assigned to the node, and received network interface identification information) and whether a channel is needed between the router 201 and the gateway 203 to generate a data flow. You can.

실시예에 따르면, 데이터 플로우에 포함되는 프로토콜 정보는 애플리케이션이 송수신하는 데이터 패킷의 프로토콜을 검사하기 위한 정보로써 데이터 패킷 전송 및 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보를 포함할 수 있다. 또한, 다른 실시예에 따르면 프로토콜 정보는 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 프로토콜 검사를 네트워크 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 중 적어도 어느 하나를 더 포함할 수 있다. According to the embodiment, the protocol information included in the data flow is information for examining the protocol of data packets transmitted and received by the application, and includes protocol identification signature and version information, and header information to identify protocol information included when transmitting and receiving data packets. , may include protocol information. In addition, according to another embodiment, the protocol information identifies the protocol by examining the data packet to a certain extent (length) as necessary, information on whether to process it as a normal protocol, and a network access control application to perform the protocol inspection. at least one of the following: information about whether to transmit data packet information to the controller, information about when a network connection is attempted or whether to periodically check the protocol, and status information about whether the test is complete or whether more tests are needed. It may further include.

실시예에 따르면, 컨트롤러(202)에서 생성하는 데이터 플로우는 접속 대상이 채널을 생성하는 경우 허용된 대상인지 확인하기 위한 인증서 정보를 포함할 수 있다. According to an embodiment, the data flow generated by the controller 202 may include certificate information to confirm whether the connection target is permitted when creating a channel.

실시예에 따르면, 채널이 해제되거나 채널 생성에 실패한 경우, 컨트롤러(202)는 기존에 생성된 채널 정보 및 데이터 플로우를 제거할 수 있다. According to an embodiment, when a channel is released or channel creation fails, the controller 202 may remove previously created channel information and data flows.

동작 820 및 동작 825에서 컨트롤러(202)는 갱신된 데이터 플로우를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다. 또한, 컨트롤러(202)는 갱신된 채널 정보도 전송할 수 있다. In operations 820 and 825, the controller 202 may transmit the updated data flow to the router 201 and the gateway 203. Additionally, the controller 202 may also transmit updated channel information.

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

라우터(201)가 컨트롤러(202)로부터 인가된 이후에, 라우터(201)는 라우터(201)의 접속 제어 애플리케이션(211)을 통해 라우터(201)에 연결된 노드들의 네트워크 접속을 제어함으로서 신뢰된 데이터 전송을 보장할 수 있다. After the router 201 is authorized by the controller 202, the router 201 transmits trusted data by controlling the network access of nodes connected to the router 201 through the access control application 211 of the router 201. can be guaranteed.

도 9를 참조하면, 동작 905에서, 접속 제어 애플리케이션(211)은 라우터(201)에 연결된 노드의 네트워크 접속 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 라우터(201)에 내장된 네트워크 인터페이스로부터 수신된 네트워크 접속 이벤트를 운영체제의 네트워크 커널로부터 수신할 수 있다. Referring to FIG. 9 , in operation 905, the access control application 211 may detect a network connection event of a node connected to the router 201. For example, the access control application 211 may receive a network connection event received from a network interface built into the router 201 from the network kernel of the operating system.

동작 910에서, 접속 제어 애플리케이션(211)은 수신된 노드 또는 라우터(201) 내의 접속 중계 애플리케이션(212)과 서비스 간의 네트워크 접속을 위한 데이터 패킷(예: TCP Session 생성, 첫번째 UDP 패킷 또는 연속된 UDP 패킷의 흐름 등)에 포함된 노드 인증 정보, 데이터 패킷에 포함된 MAC 주소 또는 접속 중계 애플리케이션(212)의 식별 정보 중 적어도 어느 하나 또는 하나 이상과 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보에 기반하여 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 데이터 패킷 전송 불가 상태, 데이터 플로우 상에서 인가된 네트워크 인터페이스로부터 수신된 데이터 패킷이 아닌 경우, 데이터 패킷 전송을 위한 채널이 존재하지 않는 경우 중 적어도 어느 하나), 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. 다른 실시예에 따라서, 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(211)은 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 실시예에 따르면 라우터(201)의 접속 제어 애플리케이션(211)은 동작 910을 수행하지 않고 동작 915에서 네트워크 접속 요청을 수행할 수도 있다. In operation 910, the connection control application 211 receives data packets (e.g., TCP Session creation, first UDP packet or consecutive UDP packets) for network connection between the service and the connection relay application 212 in the node or router 201. flow, etc.), at least one or more of the node authentication information included in the data packet, the MAC address or the identification information of the connection relay application 212, the destination IP and port information included in the IP header, and the protocol information. Based on this, you can check whether a data flow exists. According to an embodiment, when a data flow exists but is invalid (e.g., data packet transmission is not possible, data packets are not received from a network interface authorized on the data flow, or a channel for data packet transmission does not exist) at least one of), the access control application 211 may drop a data packet. According to another embodiment, when a data flow exists, the access control application 211 may transmit data packets based on the data flow. According to an embodiment, the access control application 211 of the router 201 may perform a network connection request in operation 915 without performing operation 910.

데이터 플로우가 존재하지 않거나 인증 시각이 만료되어 갱신이 필요한 경우 등 데이터 플로우를 갱신해야 하는 경우, 동작 915에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속 요청을 수행할 수 있다. 예를 들어, 네트워크 접속 요청은 제어 플로우 식별 정보, 목적지 네트워크의 식별 정보, 포트 정보를 포함할 수 있다. 또한, 네트워크 접속 요청은 데이터 패킷에 포함된 노드 인증 정보, 데이터 패킷에 포함된 MAC 주소 또는 접속 중계 애플리케이션(212)의 식별 정보 중 적어도 어느 하나 또는 하나 이상의 식별 정보를 포함할 수 있다. 실시예에 따르면 네트워크 접속 요청은 프로토콜 정보(예: TCP. UDP 등) 및 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 중 적어도 어느 하나를 더 포함할 수 있다. 실시예에 따르면, 네트워크 접속 요청에 포함되는 프로토콜 정보는 데이터 플로우에 포함되는 프로토콜 정보와는 상이한 정보일 수 있다. 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 access control application 211 may request network access from the controller 202. For example, a network connection request may include control flow identification information, destination network identification information, and port information. Additionally, the network connection request may include at least one or more identification information among node authentication information included in the data packet, MAC address included in the data packet, or identification information of the access relay application 212. According to the embodiment, the network connection request may further include at least one of protocol information (eg, TCP, UDP, etc.), an IP assigned to the node, and received network interface identification information. According to an embodiment, the protocol information included in the network connection request may be different from the protocol information included in the data flow.

동작 920에서, 컨트롤러(202)는 제어 플로우 식별 정보를 기반으로 식별된 정보(예: 라우터, 채널 정보)와 대응되는 접속 정책에서, 접속 요청한 식별 정보(예: 노드 인증 정보, MAC 주소, 접속 중계 애플리케이션(212)의 식별 정보, 도착지 IP 및 서비스 포트 정보, 프로토콜 정보, 수신된 네트워크 인터페이스 식별 정보)에 기반하여 접속 가능 여부를 확인할 수 있다. 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 불가능한 경우 라우터(201)의 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다(동작 940).In operation 920, the controller 202 collects the connection request identification information (e.g., node authentication information, MAC address, connection relay) from the connection policy corresponding to the identified information (e.g., router, channel information) based on the control flow identification information. It is possible to check whether connection is possible based on the identification information of the application 212, destination IP and service port information, protocol information, and received network interface identification information). Depending on the embodiment, when network connection is not possible, the controller 202 may transmit a connection failure result to the connection control application 211 of the router 201 (operation 940).

접속이 가능한 경우, 동작 925에서, 컨트롤러(202)는 인증 정책(317)을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 인증 정책(317)에 기반하여 노드가 인증을 수행해야 하는 경우, 인증 정책(317)에 포함된 인증 방식(예: TCP의 경우, TCP SYN 패킷 인증, UDP의 경우 데이터 패킷별 인증 또는 일정 간격(또는 주기)으로 인증, 인증 방식 및 시점 등), 인증 정보 복호화를 위한 정보, 인증 정보 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예 : HMAC OTP 생성시 Secret Key 등의 정보 등)에 따라 노드 인증 정보의 인증을 수행할 수 있다. 실시예에 따르면, 인증이 실패한 경우 컨트롤러(202)는 네트워크 접속을 거절할 수 있다(동작 940). If the connection is available, at operation 925 the controller 202 may check the authentication policy 317. For example, if the node must perform authentication based on the authentication policy 317, the controller 202 may use the authentication method included in the authentication policy 317 (e.g., for TCP, TCP SYN packet authentication, UDP). (authentication by data packet or authentication at regular intervals (or cycles), authentication method and timing, etc.), information for decoding authentication information, algorithm information for verifying authentication information, and a series of information included in the algorithm (e.g. HMAC OTP generation) Authentication of node authentication information can be performed according to information such as Secret Key, etc.). According to an embodiment, if authentication fails, the controller 202 may deny network access (operation 940).

실시예에 따르면, 인증을 수행해야 하지만 네트워크 접속 요청에 노드 인증 정보가 존재하지 않는 경우 컨트롤러(202)는 네트워크 접속을 거절할 수 있다(동작 940). According to an embodiment, if authentication must be performed but node authentication information is not present in the network connection request, the controller 202 may deny the network connection (act 940).

실시예에 따르면, 인증을 라우터(201)에서 수행해야 하는 경우, 컨트롤러(202)는 인증을 수행하지 않고, 인증 정책(317)에 기반하여 인증 정보를 생성하여 데이터 플로우에 포함시켜 라우터(201)에게 전송할 수 있다(동작 940). According to the embodiment, when authentication must be performed in the router 201, the controller 202 does not perform authentication, but generates authentication information based on the authentication policy 317 and includes it in the data flow to transmit the authentication information to the router 201. (Operation 940).

접속이 가능하고 인증이 완료된 경우, 동작 930에서, 컨트롤러(202)는 라우터(201)의 네트워크 접속을 허용하기 위하여 채널 정책 데이터베이스(312) 및 서비스 정책 데이터베이스(318)를 확인할 수 있다. 예를 들어, 컨트롤러(202)는 채널 정책 데이터베이스(312)에 기반하여 목적지 서비스와의 경로 상에 게이트웨이(203)의 존재 여부 및 게이트웨이(203)와 라우터(201) 간에 채널이 필요한지 여부를 확인할 수 있고, 채널이 필요한 경우 채널이 생성되었는지 여부를 확인할 수 있다. 실시예에 따르면, 컨트롤러(202)는 채널 테이블(319)에 기반하여 채널이 생성되어 있는지 여부를 확인할 수 있다. If access is possible and authentication is complete, in operation 930, the controller 202 may check the channel policy database 312 and the service policy database 318 to allow the router 201 to access the network. For example, the controller 202 can determine whether a gateway 203 exists on the path to the destination service and whether a channel is needed between the gateway 203 and the router 201 based on the channel policy database 312. And, if a channel is needed, you can check whether the channel has been created. According to the embodiment, the controller 202 may check whether a channel has been created based on the channel table 319.

실시예에 따르면, 채널이 생성되어 있거나, 채널 생성이 필요하지 않은 경우 컨트롤러(202)는 라우터(201)에 연결된 노드 또는 접속 중계 애플리케이션(212)의 접속을 사전에 허용하기 위하여 허용된 접속 대상을 식별하기 위한 방법 및 식별 정보(예: 노드의 MAC 주소 기반 식별 방식, 노드가 네트워크 접속 요청시 전송한 인증 정보 기반 식별 방식, 라우터(201) 내에서 네트워크 접속 요청한 애플리케이션 식별 방식 및 이에 따라 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보, MAC 주소, 애플리케이션 식별 정보, 노드에 할당된 IP, 수신된 네트워크 인터페이스 식별 정보 중 적어도 어느 하나) 및 라우터(201)와 게이트웨이(203) 간 채널 필요 여부를 포함하는 데이터 플로우를 생성할 수 있다. According to the embodiment, when a channel has been created or when channel creation is not necessary, the controller 202 selects an allowed connection target in advance to allow the node connected to the router 201 or the connection relay application 212 to access the connection. Method for identification and identification information (e.g., identification method based on the node's MAC address, identification method based on authentication information transmitted by the node when requesting network access, identification method for the application requesting network access within the router 201, and accordingly in the IP header) At least one of the included destination IP and port information, protocol information, MAC address, application identification information, IP assigned to the node, and received network interface identification information) and whether a channel is needed between the router 201 and the gateway 203. You can create a data flow that includes

실시예에 따르면, 데이터 플로우에 포함되는 프로토콜 정보는 애플리케이션이 송수신하는 데이터 패킷의 프로토콜을 검사하기 위한 정보로써 데이터 패킷 전송 및 수신시 포함된 프로토콜 정보를 식별하기 위한 프로토콜 식별 시그니처 및 버전 정보, 헤더 정보, 규약 정보를 포함할 수 있다. 또한, 다른 실시예에 따르면 프로토콜 정보는 필요에 따라 어느 정도의 범위(길이)까지 데이터 패킷을 검사하여 프로토콜을 식별하고, 정상적인 프로토콜로 처리할 것인지에 대한 정보, 프로토콜 검사를 네트워크 접속 제어 애플리케이션이 수행할 것인지 또는 데이터 패킷 정보를 컨트롤러로 전송하여 수행할 것인지 여부, 네트워크 접속 시도 시점 또는 주기적으로 프로토콜을 검사할 것인지에 대한 정보, 및 검사가 완료되었는지 또는 검사가 더 필요로 한지에 대한 상태 정보 중 적어도 어느 하나를 더 포함할 수 있다. According to the embodiment, the protocol information included in the data flow is information for examining the protocol of data packets transmitted and received by the application, and includes protocol identification signature and version information, and header information to identify protocol information included when transmitting and receiving data packets. , may include protocol information. In addition, according to another embodiment, the protocol information identifies the protocol by examining the data packet to a certain extent (length) as necessary, information on whether to process it as a normal protocol, and a network access control application to perform the protocol inspection. at least one of the following: information about whether to transmit data packet information to the controller, information about when a network connection is attempted or whether to periodically check the protocol, and status information about whether the test is complete or whether more tests are needed. It may further include.

실시예에 따르면, 컨트롤러(202)에서 생성하는 데이터 플로우는 접속 대상이 채널을 생성하는 경우 허용된 대상인지 확인하기 위한 인증서 정보를 포함할 수 있다. 이 경우, 컨트롤러(202)는 생성된 데이터 플로우를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다. 다만, 데이터 플로우가 기 생성된 경우에 컨트롤러(202)는 데이터 플로우를 다시 생성하지 않을 수 있다. According to an embodiment, the data flow generated by the controller 202 may include certificate information to confirm whether the connection target is permitted when creating a channel. In this case, the controller 202 may transmit the generated data flow to the router 201 and the gateway 203. However, if the data flow has already been created, the controller 202 may not create the data flow again.

실시예에 따르면, 채널이 생성되어 있지 않아 채널 생성이 필요한 경우, 컨트롤러(202)는 라우터(201)와 게이트웨이(203) 간에 연결할 수 있는 채널 종류(터널 및 채널 등) 및 채널 생성을 위한 일련의 정보(예: 인증 정보, 암호화 알고리즘, Tunnel End Point IP 등)를 포함하는 채널 정보를 생성하고, 생성된 채널 정보를 라우터(201) 및 게이트웨이(203)에 전송할 수 있다(동작 935, 940). According to the embodiment, when a channel has not been created and channel creation is necessary, the controller 202 sets the type of channel (tunnel, channel, etc.) that can be connected between the router 201 and the gateway 203 and a series of channels for creating the channel. Channel information including information (e.g., authentication information, encryption algorithm, Tunnel End Point IP, etc.) may be created, and the created channel information may be transmitted to the router 201 and the gateway 203 (operations 935 and 940).

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

실시예에 따르면, 컨트롤러(202)로부터 채널 정보가 수신되는 경우 접속 제어 애플리케이션(211)은 수신된 채널 정보에 기반하여 게이트웨이(203)에게 채널 생성 요청을 수행할 수 있다. 이 경우, 접속 제어 애플리케이션(211)은 게이트웨이(203)와 채널 생성이 완료되면 컨트롤러(202)에게 채널 생성이 완료됨을 나타내는 정보를 전송할 수 있다(예: 도 8에 도시된 동작). According to an embodiment, when channel information is received from the controller 202, the access control application 211 may request channel creation to the gateway 203 based on the received channel information. In this case, when channel creation with the gateway 203 is completed, the access control application 211 may transmit information indicating that channel creation is complete to the controller 202 (e.g., operation shown in FIG. 8).

실시예에 따르면, 네트워크 접속이 가능하지만 인증이 완료되지 않고, 컨트롤러(202)로부터 인증 정보가 수신된 경우, 접속 제어 애플리케이션(211)은 인증 정보에 기반하여 노드 인증 정보를 복호화하여 인증을 수행할 수 있다. 예를 들어, 인증이 완료되면 접속 제어 애플리케이션(211)은 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 다른 예를 들어, 인증이 실패하면 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. According to the embodiment, when network access is possible but authentication is not completed and authentication information is received from the controller 202, the access control application 211 decrypts the node authentication information based on the authentication information and performs authentication. You can. For example, when authentication is completed, the access control application 211 may transmit a data packet based on the data flow. As another example, if authentication fails, the access control application 211 may drop the data packet.

도 10a 및 도 10b는 다양한 실시예들에 따른 데이터 패킷의 전송을 처리하기 위한 신호 흐름도를 도시한다. 10A and 10B illustrate signal flow diagrams for processing transmission of data packets according to various embodiments.

도 10a를 참조하면, 동작 1005에서 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션의 데이터 패킷 전송 이벤트를 감지할 수 있다. Referring to FIG. 10A, in operation 1005, the access control application 211 may detect a data packet transmission event of a node or target application.

동작 1010에서, 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되는 데이터 플로우의 존재 여부를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 노드의 식별 정보, 대상 애플리케이션의 식별 정보, MAC 주소, 도착지 IP 및 포트 정보 중 적어도 어느 하나에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우가 존재하지만 유효하지 않거나(예: 전송 불가 상태, 이전에 컨트롤러(202)로부터 네트워크 접속이 거절된 경우), 데이터 플로우가 존재하지 않는 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. In operation 1010, the access control application 211 may check whether a data flow corresponding to the data packet that the node or target application wants to transmit exists. For example, the access control application 211 may check whether a data flow exists corresponding to at least one of node identification information, target application identification information, MAC address, destination IP, and port information. According to an embodiment, if a data flow exists but is not valid (e.g., in a transmission-impossible state, network connection was previously rejected from the controller 202), or if the data flow does not exist, the access control application 211 controls the data flow. Packets can be dropped.

유효한 데이터 플로우가 존재하는 경우, 동작 1015에서, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 프로토콜 정보에 기반하여 프로토콜 검사 필요 여부를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 프로토콜 정보에 포함된 프로토콜 검사 상태(프로토콜 검사 필요 여부, 이전 데이터 패킷 전송 검사에 의해 프로토콜 검사 완료 여부, 주기적으로 프로토콜 검사 필요 여부 등)에 따라 프로토콜 검사 필요로 한지 여부를 확인할 수 있다. 실시예에 따르면, 프로토콜 검사가 필요하지 않은 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 전송할 수 있다. If a valid data flow exists, in operation 1015, the access control application 211 may check whether protocol inspection is necessary based on protocol information included in the data flow. For example, the access control application 211 requires a protocol check according to the protocol check status included in the protocol information (whether the protocol check is needed, whether the protocol check is completed by a previous data packet transmission check, whether the protocol check is needed periodically, etc.) You can check whether it was done or not. According to an embodiment, the access control application 211 may transmit a data packet when protocol checking is not required.

실시예에 따르면, 프로토콜 검사가 필요하고 접속 제어 애플리케이션(211)에서 직접 프로토콜 검사를 수행하는 경우 접속 제어 애플리케이션(211)은 동작 1020을 수행할 수 있다. 다른 실시예에 따르면, 프로토콜 검사가 필요하고 컨트롤러(202)에서 프로토콜 검사를 수행하는 경우 접속 제어 애플리케이션(211)은 도 10b의 동작 1045를 수행할 수 있다. According to the embodiment, when a protocol check is necessary and the access control application 211 directly performs the protocol check, the access control application 211 may perform operation 1020. According to another embodiment, when a protocol check is necessary and the controller 202 performs the protocol check, the access control application 211 may perform operation 1045 of FIG. 10B.

동작 1020에서, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 프로토콜 정보에 기반하여 데이터 패킷의 프로토콜을 검사할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 패킷에서 허용된 프로토콜 여부를 식별하기 위한 시그니처 및 버전 정보, 헤더 정보, 규약 정보가 포함되어 있는지 여부를 검사할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 프로토콜 정보에 기반하여 프로토콜 검사에 필요한 검사 범위(길이)까지 데이터 패킷을 검사할 수 있다. In operation 1020, the access control application 211 may check the protocol of the data packet based on protocol information included in the data flow. For example, the access control application 211 may check whether the data packet includes signature and version information, header information, and protocol information to identify whether the protocol is allowed. According to the embodiment, the access control application 211 may inspect data packets up to the inspection range (length) required for protocol inspection based on protocol information.

실시예에 따르면, 프로토콜 검사가 실패한 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍하고 데이터 플로우를 제거하고 제어 플로우의 식별 정보를 포함하는 프로토콜 검사 결과를 컨트롤러(202)에게 전송할 수 있다(동작 1025). According to an embodiment, if the protocol check fails, the access control application 211 may drop the data packet, remove the data flow, and transmit the protocol check result including identification information of the control flow to the controller 202 (operation 1025 ).

실시예에 따르면, 검사가 성공한 경우 접속 제어 애플리케이션(211)은 전송 프로토콜 검사 상태를 완료로 변경하고 데이터 패킷을 전송할 수 있다. According to the embodiment, if the test is successful, the access control application 211 may change the transmission protocol test status to completed and transmit the data packet.

동작 1030에서, 컨트롤러(202)는 수신된 프로토콜 검사 결과, 프로토콜 정책 및 블랙리스트 정책에 기반하여 위험 정보를 판단할 수 있다. 예를 들어, 위험 정도가 제1 범위(예: 위험 정도가 낮은 경우)인 경우 컨트롤러(202)는 데이터 플로우를 제거하고, 데이터 플로우의 제거 정보를 라우터(201) 및 라우터(201)와 관련된 게이트웨이(203)에 전송할 수 있다(동작 1035). 다른 예를 들어, 위험 정도가 제2 범위(예: 위험 정도가 높은 경우)인 경우 컨트롤러(202)는 라우터(201)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우, 채널 및 데이터 플로우를 제거하고, 제거된 제어 플로우, 데이터 플로우 및 채널 정보를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다(동작 1035). 또 다른 예를 들어, 위험 정도가 제3 범위(예: 위험 정도가 심각한 경우)인 경우 컨트롤러(202)는 라우터(201)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우, 채널 및 데이터 플로우를 제거하고, 제거된 제어 플로우, 데이터 플로우 및 채널 정보를 라우터(201) 및 게이트웨이(203)에게 전송(동작 1035)하며 라우터(201) 및 라우터(201)의 사용자가 더 이상 접속할 수 없도록 블랙리스트(314)에 추가할 수 있다. At operation 1030, the controller 202 may determine risk information based on the received protocol check results, protocol policy, and blacklist policy. For example, if the risk degree is in the first range (e.g., if the risk degree is low), the controller 202 removes the data flow and sends the removal information of the data flow to the router 201 and the gateway associated with the router 201. It may be transmitted to (203) (operation 1035). For another example, if the risk level is in the second range (e.g., high risk level), the controller 202 removes the control flow, channel, and data flow so that the router 201 can no longer maintain network connectivity. , the removed control flow, data flow, and channel information may be transmitted to the router 201 and the gateway 203 (operation 1035). As another example, if the risk level is in the third range (e.g., if the risk level is severe), the controller 202 removes control flows, channels, and data flows so that the router 201 can no longer maintain network connectivity. and transmits the removed control flow, data flow, and channel information to the router 201 and the gateway 203 (operation 1035), and blacklists the router 201 and the users of the router 201 so that they can no longer access it (314). ) can be added to .

동작 1040에서 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 결과값을 처리할 수 있다. 예를 들어, 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션을 종료하거나, 노드 또는 대상 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. In operation 1040, the access control application 211 may process the result received from the controller 202. For example, when receiving network connection disconnection information from the controller 202, the access control application 211 may terminate the node or target application or block all network connections of the node or target application.

도 10b를 참조하면, 동작 1005 내지 동작 1015는 도 10a에 도시된 동작과 실질적으로 동일할 수 있다. Referring to FIG. 10B, operations 1005 to 1015 may be substantially the same as the operations shown in FIG. 10A.

동작 1045에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 프로토콜 검사 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 프로토콜 정보에 기반하여 프로토콜 검사에 필요한 검사 범위까지 데이터 패킷을 수집하여 컨트롤러(202)에게 전송하고 데이터 패킷에 대응되는 데이터 플로우의 식별 정보를 전송할 수 있다. 실시예에 따르면, 프로토콜 검사에 필요한 검사 범위는 데이터 패킷 일부, 전부 또는 필요에 따라서 복수의 데이터 패킷을 포함할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 프로토콜 검사를 컨트롤러(202)에게 요청한 경우 데이터 패킷은 전송 처리하고 이후 컨트롤러(202)로부터 프로토콜 검사 결과가 수신되면 프로토콜 검사 결과에 기반하여 노드 또는 대상 애플리케이션의 네트워크 접속을 제어할 수 있다. In operation 1045, the access control application 211 may perform a protocol check request to the controller 202. For example, the access control application 211 collects data packets up to the inspection range required for protocol inspection based on the protocol information included in the data flow, transmits them to the controller 202, and provides identification information of the data flow corresponding to the data packet. can be transmitted. According to an embodiment, the inspection range required for protocol inspection may include some, all, or a plurality of data packets as needed. According to the embodiment, when the access control application 211 requests a protocol check from the controller 202, the data packet is transmitted and processed, and when the protocol check result is received from the controller 202, the node or target application is based on the protocol check result. You can control network access.

동작 1045에서, 컨트롤러(202)는 데이터 플로우에 포함된 프로토콜 정보에 기반하여 데이터 패킷의 프로토콜을 검사할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 데이터 패킷에서 허용된 프로토콜 여부를 식별하기 위한 시그니처 및 버전 정보, 헤더 정보, 규약 정보가 포함되어 있는지 여부를 검사할 수 있다. At operation 1045, the controller 202 may check the protocol of the data packet based on protocol information included in the data flow. For example, the controller 202 may check whether the received data packet includes signature and version information, header information, and protocol information to identify whether the protocol is allowed.

실시예에 따르면, 검사가 성공한 경우 컨트롤러(202)는 데이터 플로우의 전송 프로토콜 검사 상태를 완료로 변경하고 데이터 플로우를 접속 제어 애플리케이션(211)에게 전송할 수 있다. According to the embodiment, if the test is successful, the controller 202 may change the transmission protocol test status of the data flow to completed and transmit the data flow to the access control application 211.

검사가 실패한 경우, 동작 1050에서, 컨트롤러(202)는 프로토콜 검사 결과, 프로토콜 정책 및 블랙리스트 정책에 기반하여 위험 정보를 판단할 수 있다. 예를 들어, 위험 정도가 제1 범위(예: 위험 정도가 낮은 경우)인 경우 컨트롤러(202)는 데이터 플로우를 제거하고, 데이터 플로우의 제거 정보를 라우터(201) 및 라우터(201)와 관련된 게이트웨이(203)에 전송할 수 있다(동작 1055). 다른 예를 들어, 위험 정도가 제2 범위(예: 위험 정도가 높은 경우)인 경우 컨트롤러(202)는 라우터(201)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우, 채널 및 데이터 플로우를 제거하고, 제거된 제어 플로우, 데이터 플로우 및 채널 정보를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다(동작 1055). 또 다른 예를 들어, 위험 정도가 제3 범위(예: 위험 정도가 심각한 경우)인 경우 컨트롤러(202)는 라우터(201)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우, 채널 및 데이터 플로우를 제거하고, 제거된 제어 플로우, 데이터 플로우 및 채널 정보를 라우터(201) 및 게이트웨이(203)에게 전송(동작 1055)하며 라우터(201) 및 라우터(201)의 사용자가 더 이상 접속할 수 없도록 블랙리스트(314)에 추가할 수 있다. If the check fails, in operation 1050, the controller 202 may determine risk information based on the protocol check results, protocol policy, and blacklist policy. For example, if the risk degree is in the first range (e.g., if the risk degree is low), the controller 202 removes the data flow and sends the removal information of the data flow to the router 201 and the gateway associated with the router 201. 203 (operation 1055). For another example, if the risk level is in the second range (e.g., high risk level), the controller 202 removes the control flow, channel, and data flow so that the router 201 can no longer maintain network connectivity. , the removed control flow, data flow, and channel information may be transmitted to the router 201 and the gateway 203 (operation 1055). As another example, if the risk level is in the third range (e.g., if the risk level is severe), the controller 202 removes control flows, channels, and data flows so that the router 201 can no longer maintain network connectivity. and transmits the removed control flow, data flow, and channel information to the router 201 and the gateway 203 (operation 1055), and blacklists the router 201 and the users of the router 201 so that they can no longer access it (314). ) can be added to .

동작 1060에서 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 결과값을 처리할 수 있다. 예를 들어, 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션을 종료하거나, 노드 또는 대상 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. In operation 1060, the access control application 211 may process the result received from the controller 202. For example, when receiving network connection disconnection information from the controller 202, the access control application 211 may terminate the node or target application or block all network connections of the node or target application.

도 11a 및 도 11b는 다양한 실시예들에 따른 데이터 패킷의 수신을 처리하기 위한 신호 흐름도를 도시한다.11A and 11B illustrate signal flow diagrams for processing reception of data packets according to various embodiments.

도 11a를 참조하면, 동작 1105에서 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션의 데이터 패킷 수신 이벤트를 감지할 수 있다. Referring to FIG. 11A, in operation 1105, the access control application 211 may detect a data packet reception event of a node or target application.

동작 1110에서, 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션이 수신하고자 하는 데이터 패킷에 대응되는 데이터 플로우의 존재 여부를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 노드의 식별 정보, 대상 애플리케이션의 식별 정보, MAC 주소, 출발지 IP 및 포트 정보 중 적어도 어느 하나에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우가 존재하지만 유효하지 않거나(예: 수신 불가 상태, 이전에 컨트롤러(202)로부터 네트워크 접속이 거절된 경우), 데이터 플로우가 존재하지 않는 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. In operation 1110, the access control application 211 may check whether a data flow corresponding to the data packet that the node or target application wants to receive exists. For example, the access control application 211 may check whether a data flow exists corresponding to at least one of node identification information, target application identification information, MAC address, source IP, and port information. According to an embodiment, if a data flow exists but is not valid (e.g., in a reception unavailable state, network connection was previously rejected from the controller 202), or if the data flow does not exist, the access control application 211 stores the data. Packets can be dropped.

유효한 데이터 플로우가 존재하는 경우, 동작 1115에서, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 프로토콜 정보에 기반하여 프로토콜 검사 필요 여부를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 프로토콜 정보에 포함된 프로토콜 검사 상태(프로토콜 검사 필요 여부, 이전 데이터 패킷 수신 검사에 의해 프로토콜 검사 완료 여부, 주기적으로 프로토콜 검사 필요 여부 등)에 따라 프로토콜 검사 필요로 한지 여부를 확인할 수 있다. 실시예에 따르면, 프로토콜 검사가 필요하지 않은 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 수신할 수 있다. If a valid data flow exists, in operation 1115, the access control application 211 may check whether protocol inspection is necessary based on protocol information included in the data flow. For example, the access control application 211 requires a protocol check according to the protocol check status included in the protocol information (whether a protocol check is needed, whether the protocol check is completed by a previous data packet reception check, whether a protocol check is needed periodically, etc.). You can check whether it was done or not. According to an embodiment, the access control application 211 may receive data packets when protocol checking is not required.

실시예에 따르면, 프로토콜 검사가 필요하고 접속 제어 애플리케이션(211)에서 직접 프로토콜 검사를 수행하는 경우 접속 제어 애플리케이션(211)은 동작 1120을 수행할 수 있다. 다른 실시예에 따르면, 프로토콜 검사가 필요하고 컨트롤러(202)에서 프로토콜 검사를 수행하는 경우 접속 제어 애플리케이션(211)은 도 11b의 동작 1145를 수행할 수 있다. According to the embodiment, when a protocol check is necessary and the access control application 211 directly performs the protocol check, the access control application 211 may perform operation 1120. According to another embodiment, when a protocol check is necessary and the controller 202 performs the protocol check, the access control application 211 may perform operation 1145 of FIG. 11B.

동작 1120에서, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 프로토콜 정보에 기반하여 데이터 패킷의 프로토콜을 검사할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 패킷에서 허용된 프로토콜 여부를 식별하기 위한 시그니처 및 버전 정보, 헤더 정보, 규약 정보가 포함되어 있는지 여부를 검사할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 프로토콜 정보에 기반하여 프로토콜 검사에 필요한 검사 범위(길이)까지 데이터 패킷을 검사할 수 있다. In operation 1120, the access control application 211 may check the protocol of the data packet based on protocol information included in the data flow. For example, the access control application 211 may check whether the data packet includes signature and version information, header information, and protocol information to identify whether the protocol is allowed. According to the embodiment, the access control application 211 may inspect data packets up to the inspection range (length) required for protocol inspection based on protocol information.

실시예에 따르면, 프로토콜 검사가 실패한 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍하고 데이터 플로우를 제거하고 제어 플로우의 식별 정보를 포함하는 프로토콜 검사 결과를 컨트롤러(202)에게 전송할 수 있다(동작 1125). According to an embodiment, if the protocol check fails, the access control application 211 may drop the data packet, remove the data flow, and transmit the protocol check result including identification information of the control flow to the controller 202 (operation 1125 ).

실시예에 따르면, 검사가 성공한 경우 접속 제어 애플리케이션(211)은 수신 프로토콜 검사 상태를 완료로 변경하고 데이터 패킷을 수신할 수 있다. According to the embodiment, if the test is successful, the access control application 211 may change the reception protocol test status to complete and receive the data packet.

동작 1130에서, 컨트롤러(202)는 수신된 프로토콜 검사 결과, 프로토콜 정책 및 블랙리스트 정책에 기반하여 위험 정보를 판단할 수 있다. 예를 들어, 위험 정도가 제1 범위(예: 위험 정도가 낮은 경우)인 경우 컨트롤러(202)는 데이터 플로우를 제거하고, 데이터 플로우의 제거 정보를 라우터(201) 및 라우터(201)와 관련된 게이트웨이(203)에 전송할 수 있다(동작 1135). 다른 예를 들어, 위험 정도가 제2 범위(예: 위험 정도가 높은 경우)인 경우 컨트롤러(202)는 라우터(201)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우, 채널 및 데이터 플로우를 제거하고, 제거된 제어 플로우, 데이터 플로우 및 채널 정보를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다(동작 1135). 또 다른 예를 들어, 위험 정도가 제3 범위(예: 위험 정도가 심각한 경우)인 경우 컨트롤러(202)는 라우터(201)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우, 채널 및 데이터 플로우를 제거하고, 제거된 제어 플로우, 데이터 플로우 및 채널 정보를 라우터(201) 및 게이트웨이(203)에게 전송(동작 1135)하며 라우터(201) 및 라우터(201)의 사용자가 더 이상 접속할 수 없도록 블랙리스트(314)에 추가할 수 있다. At operation 1130, the controller 202 may determine risk information based on the received protocol check results, protocol policy, and blacklist policy. For example, if the risk degree is in the first range (e.g., if the risk degree is low), the controller 202 removes the data flow and sends the removal information of the data flow to the router 201 and the gateway associated with the router 201. 203 (operation 1135). For another example, if the risk level is in the second range (e.g., high risk level), the controller 202 removes the control flow, channel, and data flow so that the router 201 can no longer maintain network connectivity. , the removed control flow, data flow, and channel information may be transmitted to the router 201 and the gateway 203 (operation 1135). As another example, if the risk level is in the third range (e.g., if the risk level is severe), the controller 202 removes control flows, channels, and data flows so that the router 201 can no longer maintain network connectivity. and transmits the removed control flow, data flow, and channel information to the router 201 and the gateway 203 (operation 1135), and blacklists the router 201 and the users of the router 201 so that they can no longer access it (314). ) can be added to .

동작 1140에서 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 결과값을 처리할 수 있다. 예를 들어, 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션을 종료하거나, 노드 또는 대상 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. In operation 1140, the access control application 211 may process the result received from the controller 202. For example, when receiving network connection disconnection information from the controller 202, the access control application 211 may terminate the node or target application or block all network connections of the node or target application.

도 11b를 참조하면, 동작 1105 내지 동작 1115는 도 11a에 도시된 동작과 실질적으로 동일할 수 있다. Referring to FIG. 11B, operations 1105 to 1115 may be substantially the same as the operations shown in FIG. 11A.

동작 1145에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 프로토콜 검사 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 프로토콜 정보에 기반하여 프로토콜 검사에 필요한 검사 범위까지 데이터 패킷을 수집하여 컨트롤러(202)에게 전송하고 데이터 패킷에 대응되는 데이터 플로우의 식별 정보를 전송할 수 있다. 실시예에 따르면, 프로토콜 검사에 필요한 검사 범위는 데이터 패킷 일부, 전부 또는 필요에 따라서 복수의 데이터 패킷을 포함할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 프로토콜 검사를 컨트롤러(202)에게 요청한 경우 데이터 패킷은 수신 처리하고 이후 컨트롤러(202)로부터 프로토콜 검사 결과가 수신되면 프로토콜 검사 결과에 기반하여 노드 또는 대상 애플리케이션의 네트워크 접속을 제어할 수 있다. In operation 1145, the access control application 211 may perform a protocol check request to the controller 202. For example, the access control application 211 collects data packets up to the inspection range required for protocol inspection based on the protocol information included in the data flow, transmits them to the controller 202, and provides identification information of the data flow corresponding to the data packet. can be transmitted. According to an embodiment, the inspection range required for protocol inspection may include some, all, or a plurality of data packets as needed. According to the embodiment, when the access control application 211 requests a protocol check from the controller 202, the data packet is received and processed, and when the protocol check result is received from the controller 202, the node or target application is based on the protocol check result. You can control network access.

동작 1145에서, 컨트롤러(202)는 데이터 플로우에 포함된 프로토콜 정보에 기반하여 데이터 패킷의 프로토콜을 검사할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 데이터 패킷에서 허용된 프로토콜 여부를 식별하기 위한 시그니처 및 버전 정보, 헤더 정보, 규약 정보가 포함되어 있는지 여부를 검사할 수 있다. At operation 1145, the controller 202 may check the protocol of the data packet based on protocol information included in the data flow. For example, the controller 202 may check whether the received data packet includes signature and version information, header information, and protocol information to identify whether the protocol is allowed.

실시예에 따르면, 검사가 성공한 경우 컨트롤러(202)는 데이터 플로우의 수신 프로토콜 검사 상태를 완료로 변경하고 데이터 플로우를 접속 제어 애플리케이션(211)에게 전송할 수 있다. According to the embodiment, if the test is successful, the controller 202 may change the reception protocol test status of the data flow to completed and transmit the data flow to the access control application 211.

검사가 실패한 경우, 동작 1150에서, 컨트롤러(202)는 프로토콜 검사 결과, 프로토콜 정책 및 블랙리스트 정책에 기반하여 위험 정보를 판단할 수 있다. 예를 들어, 위험 정도가 제1 범위(예: 위험 정도가 낮은 경우)인 경우 컨트롤러(202)는 데이터 플로우를 제거하고, 데이터 플로우의 제거 정보를 라우터(201) 및 라우터(201)와 관련된 게이트웨이(203)에 전송할 수 있다(동작 1155). 다른 예를 들어, 위험 정도가 제2 범위(예: 위험 정도가 높은 경우)인 경우 컨트롤러(202)는 라우터(201)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우, 채널 및 데이터 플로우를 제거하고, 제거된 제어 플로우, 데이터 플로우 및 채널 정보를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다(동작 1155). 또 다른 예를 들어, 위험 정도가 제3 범위(예: 위험 정도가 심각한 경우)인 경우 컨트롤러(202)는 라우터(201)가 더 이상 네트워크 접속을 유지할 수 없도록 제어 플로우, 채널 및 데이터 플로우를 제거하고, 제거된 제어 플로우, 데이터 플로우 및 채널 정보를 라우터(201) 및 게이트웨이(203)에게 전송(동작 1155)하며 라우터(201) 및 라우터(201)의 사용자가 더 이상 접속할 수 없도록 블랙리스트(314)에 추가할 수 있다. If the check fails, in operation 1150, the controller 202 may determine risk information based on the protocol check results, protocol policy, and blacklist policy. For example, if the risk degree is in the first range (e.g., if the risk degree is low), the controller 202 removes the data flow and sends the removal information of the data flow to the router 201 and the gateway associated with the router 201. 203 (operation 1155). For another example, if the risk level is in the second range (e.g., high risk level), the controller 202 removes the control flow, channel, and data flow so that the router 201 can no longer maintain network connectivity. , the removed control flow, data flow, and channel information may be transmitted to the router 201 and the gateway 203 (operation 1155). As another example, if the risk level is in the third range (e.g., if the risk level is severe), the controller 202 removes control flows, channels, and data flows so that the router 201 can no longer maintain network connectivity. and transmits the removed control flow, data flow, and channel information to the router 201 and the gateway 203 (operation 1155), and blacklists the router 201 and the users of the router 201 so that they can no longer access it (314). ) can be added to .

동작 1160에서 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 결과값을 처리할 수 있다. 예를 들어, 컨트롤러(202)로부터 네트워크 접속 해제 정보를 수신한 경우, 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션을 종료하거나, 노드 또는 대상 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. In operation 1160, the access control application 211 may process the result received from the controller 202. For example, when receiving network connection disconnection information from the controller 202, the access control application 211 may terminate the node or target application or block all network connections of the node or target application.

도 12는 다양한 실시예들에 따른 라우터의 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. Figure 12 shows a signal flow diagram for updating a control flow of a router according to various embodiments.

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

실시예에 따르면, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 이벤트가 감지되면, 컨트롤러(202)로부터 수신된 보안 검사 정보(예 : 운영체제 및 주요 애플리케이션의 실행 또는 설치 위치, 서명, 핑거프린트, 해쉬, 레지스트리 등 운영체제 및 애플리케이션의 고유 정보, 운영체제 및 주요 애플리케이션의 바이너리 분석을 위한 일련의 정보로써 실행 파일, 실행 파일이 참조하는 라이브러리 및 일련의 파일 또는 프로세스, 메모리 정보, 해당 애플리케이션 및 운영제체가 안전한지 여부를 검사하기 위한 멀웨어 탐지 도구 또는 패턴 DB 정보, 라우터의 하드웨어 및 운영체제 형상 정보 및 버전 정보, 물리적으로 연결 가능한 기기 정보 중 적어도 어느 하나)에 기반하여 보안 검사를 수행하여 결과를 컨트롤러(202)에게 전송할 수 있다. According to an embodiment, when a control flow update event is detected, the access control application 211 collects the security check information received from the controller 202 (e.g., execution or installation location of the operating system and major applications, signature, fingerprint, hash, Unique information of the operating system and applications such as the registry, a series of information for binary analysis of the operating system and major applications, executable files, libraries and a series of files or processes referenced by the executable files, memory information, and whether the application and operating system are safe. A security check is performed based on at least one of malware detection tool or pattern DB information, router hardware and operating system configuration information and version information, and physically connectable device information) and transmits the results to the controller 202. You can.

동작 1210에서, 접속 제어 애플리케이션(211)은 제어 플로우 식별 정보를 기초로 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 보안 검사 결과를 컨트롤러(202)에게 함께 전송할 수 있다. In operation 1210, the access control application 211 may request a control flow update from the controller 202 based on control flow identification information. According to the embodiment, the access control application 211 may transmit the security check results to the controller 202.

동작 1215에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 라우터(201)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1225). In operation 1215, 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 router 201 is valid. Since this is not done, a connection failure result can be transmitted to the access control application 211 (operation 1225).

실시예에 따르면, 컨트롤러(202)는 제어 플로우가 존재하는 경우 수신된 보안 검사 결과 정보를 기반으로 보안 검사 정책에 따라 보안 검사 정책에서 라우터에 포함된 운영체제 및 애플리케이션 정보가 유효한지 여부를 검사하거나 컨트롤러에 포함된 또는 컨트롤러와 연결된 타 시스템에 존재하는 유해 애플리케이션 검사 모듈(Static 검사 또는 AI 기반 검사)을 통해 해당 라우터의 운영체제 및 애플리케이션의 검사 결과가 정상적인지 여부를 판단할 수 있다. 이 경우, 검사 결과가 정상적이지 않으면, 컨트롤러(202)는 제어 플로우 및 종속된 채널 정보, 데이터 플로우를 제거하고 제거된 정보를 라우터(201) 및 게이트웨이(203)에게 전송할 수 있다(동작 1220, 1225). According to the embodiment, if a control flow exists, the controller 202 checks whether the operating system and application information included in the router is valid according to the security check policy based on the received security check result information, or checks whether the operating system and application information included in the router is valid. Through the harmful application inspection module (static inspection or AI-based inspection) included in or existing in other systems connected to the controller, it is possible to determine whether the inspection results of the router's operating system and application are normal. In this case, if the test result is abnormal, the controller 202 may remove the control flow, dependent channel information, and data flow and transmit the removed information to the router 201 and gateway 203 (operations 1220 and 1225 ).

실시예에 따르면, 컨트롤러(202)는 검사 결과가 정상인 경우 갱신 시각을 업데이트하고, 제어 플로우에 종속된 데이터 플로우를 확인하여 데이터 플로우의 재인증을 수행하거나 데이터 플로우를 라우터(201)에게 반환할 수 있다(동작 1225). According to the embodiment, if the inspection result is normal, the controller 202 may update the update time, check the data flow dependent on the control flow, perform re-authentication of the data flow, or return the data flow to the router 201. There is (action 1225).

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

도 13은 다양한 실시예들에 따른 라우터의 접속 해제를 위한 신호 흐름도를 도시한다. Figure 13 shows a signal flow diagram for disconnection of a router according to various embodiments.

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

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

동작 1320에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 라우터(201)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다. 또한, 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 중계하는 게이트웨이(203)에 채널 및 데이터 플로우에 대한 제거 요청을 수행함으로서, 더 이상 목적지 네트워크로 데이터 패킷을 전송할 수 없는 상태를 제공할 수 있다. In operation 1320, the controller 202 may remove all data flows dependent on the removed control flow. Accordingly, the router 201 can no longer connect to the destination network based on the removed data flow. Additionally, the controller 202 performs a request to remove the channel and data flow to the gateway 203, which relays all data flows dependent on the removed control flow, thereby establishing a state in which data packets can no longer be transmitted to the destination network. can be provided.

도 14는 다양한 실시예들에 따른 라우터에 설치된 접속 제어 애플리케이션의 동작 방법을 나타내는 흐름도이다. 도 14에 도시된 동작들은 도 2의 라우터(201)에 설치된 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. Figure 14 is a flowchart showing a method of operating an access control application installed on a router according to various embodiments. The operations shown in FIG. 14 can be performed through the access control application 211 installed in the router 201 of FIG. 2.

도 14를 참조하면, 동작 1405에서, 접속 제어 애플리케이션(211)은 노드 또는 대상 애플리케이션의 데이터 패킷 전송 이벤트를 감지할 수 있다. Referring to FIG. 14, in operation 1405, the access control application 211 may detect a data packet transmission event of a node or target application.

동작 1410에서, 접속 제어 애플리케이션(211)은 노드의 MAC 주소 정보, 노드의 식별 정보 및 대상 애플리케이션의 식별 정보 중 적어도 어느 하나에 대응되고, 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인할 수 있다. In operation 1410, the access control application 211 may check the existence of a data flow received from an external server that corresponds to at least one of the MAC address information of the node, the identification information of the node, and the identification information of the target application.

동작 1415에서, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 프로토콜 정보에 기반하여 데이터 패킷의 프로토콜 검사를 자체적으로 수행할지 또는 외부 서버를 통해 수행할지 확인하여 자체적으로 프로토콜을 검사하거나 또는 외부 서버를 통해 프로토콜을 검사할 수 있다. In operation 1415, the access control application 211 determines whether to perform the protocol check of the data packet itself or through an external server based on the protocol information included in the data flow, and checks the protocol itself or uses an external server. You can check the protocol through

동작 1420에서, 접속 제어 애플리케이션(211)은 데이터 패킷의 프로토콜 검사가 완료되면 데이터 패킷을 전송할 수 있다. In operation 1420, the access control application 211 may transmit the data packet when the protocol check of the data packet is completed.

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

도 15를 참조하면, 동작 1505에서, 서버는 라우터의 접속 제어 애플리케이션으로부터 데이터 패킷 프로토콜 검사 요청을 수신할 수 있다. Referring to FIG. 15, in operation 1505, the server may receive a data packet protocol inspection request from the router's access control application.

동작 1510에서, 서버는 데이터 플로우의 식별 정보에 대응되는 데이터 플로우에 포함된 프로토콜 정보에 기반하여 프로토콜 검사에 필요한 검사 범위까지 수집된 데이터 패킷의 프로토콜을 검사할 수 있다. In operation 1510, the server may check the protocol of the collected data packets up to the inspection range required for protocol inspection based on the protocol information included in the data flow corresponding to the identification information of the data flow.

동작 1515에서, 서버는 검사가 완료되면 데이터 플로우의 프로토콜 검사 상태를 완료 상태로 갱신하고, 갱신된 데이터 플로우를 라우터에게 전송할 수 있다. In operation 1515, when the inspection is completed, the server may update the protocol inspection status of the data flow to a completed status and transmit the updated data flow to the router.

도 16은 다양한 실시예들에 따른 데이터 패킷의 예시를 도시한다. Figure 16 shows an example data packet according to various embodiments.

도 16을 참조하면, 라우터(201)에 연결된 노드 중 MAC 주소를 식별하는 것이 가능한 데이터 패킷(1605)은 IP 헤더와 함께 MAC 주소를 포함할 수 있다. Referring to FIG. 16, a data packet 1605 capable of identifying a MAC address among nodes connected to the router 201 may include a MAC address along with an IP header.

노드 헤더가 포함된 UDP 데이터 패킷(1610)은 IP 헤더와 노드 헤더(Device Header), 페이로드(Payload)를 포함할 수 있다. 예를 들어, 노드 헤더(1615)는 노드 식별 정보와 노드 인증 정보를 포함할 수 있다. A UDP data packet 1610 including a node header may include an IP header, a node header (Device Header), and a payload. For example, the node header 1615 may include node identification information and node authentication information.

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

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

노드는 사전에 컨트롤러(202)로부터 부여 받은 노드 식별 정보 및 인증 정보를 삽입하는 방식(예 : TCP의 경우, TCP SYN 패킷 삽입, UDP의 경우 데이터 패킷별 인증 정보 삽입 또는 일정 간격(또는 주기)으로 인증 정보 삽입, 삽입 방식 및 시점 등), 인증 정보 암호화를 위한 정보, 인증 정보 생성을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예 : HMAC OTP 생성시 Secret Key 등의 정보) 중 적어도 어느 하나)에 기반하여 노드 헤더를 생성하여 데이터 패킷에 포함시켜 전송할 수 있다. 데이터 패킷에 포함된 노드 헤더는 라우터(201) 또는 컨트롤러(202)로부터 인증이 수행되어 정상적으로 전송된 데이터 패킷인지 여부가 검사될 수 있다. The node inserts the node identification information and authentication information given in advance by the controller 202 (e.g., for TCP, inserting TCP SYN packets, for UDP, inserting authentication information for each data packet, or at regular intervals (or cycles). Authentication information insertion, insertion method and timing, etc.), information for encryption of authentication information, algorithm information for generating authentication information, and a series of information included in the algorithm (e.g. information such as Secret Key when generating HMAC OTP). ), a node header can be created and transmitted by including it in a data packet. The node header included in the data packet may be authenticated by the router 201 or the controller 202 to check whether it is a normally transmitted data packet.

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

라우터에 있어서,
통신 회로; 상기 통신 회로와 작동적으로 연결되는 프로세서; 및 상기 프로세서와 작동적으로 연결되고, 대상 애플리케이션, 접속 제어 애플리케이션 및 프록시를 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 노드 또는 상기 대상 애플리케이션의 데이터 패킷 전송 이벤트를 감지하고, 상기 데이터 패킷 전송 이벤트는 상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나를 포함하고,
상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나에 대응되고, 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인하고,
상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 데이터 패킷의 프로토콜 검사를 자체적으로 수행할지 또는 상기 외부 서버를 통해 수행할지 확인하고,
상기 프로토콜 정보에 기반하여 프로토콜 검사에 필요한 검사 범위까지 상기 데이터 패킷을 수집하고, 수집된 데이터 패킷에 기반하여 자체적으로 프로토콜을 검사하거나 또는 상기 외부 서버를 통해 프로토콜을 검사하고,
상기 데이터 패킷의 프로토콜 검사가 완료되면 상기 데이터 패킷을 전송하도록 구성된, 명령어들을 저장하는, 라우터.
In the router,
communication circuit; a processor operatively connected to the communication circuit; and a memory operatively connected to the processor, storing a target application, a connection control application, and a proxy, wherein the memory, when executed by the processor, causes the router to:
A data packet transmission event of a node or the target application is detected through the access control application, and the data packet transmission event includes at least one of MAC address information of the node, identification information of the node, and identification information of the target application. Contains,
Corresponding to at least one of the MAC address information of the node, the identification information of the node, and the identification information of the target application, and confirming the existence of a data flow received from an external server,
Based on the protocol information included in the data flow, determine whether to perform the protocol check of the data packet itself or through the external server,
Based on the protocol information, collect the data packets up to the inspection range required for protocol inspection, and inspect the protocol on its own or through the external server based on the collected data packets,
A router, storing instructions, configured to transmit the data packet when protocol checking of the data packet is completed.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 프로토콜 검사가 필요한지 여부를 확인하고,
상기 프로토콜 검사가 필요 없는 경우 노드 또는 상기 대상 애플리케이션이 전송하고자 하는 데이터 패킷을 전송하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
Check whether a protocol check is necessary based on the protocol information included in the data flow through the access control application,
A router configured to transmit a data packet intended to be transmitted by a node or the target application when the protocol check is not necessary.
제 1 항에 있어서,
상기 데이터 플로우는 채널 생성 가능 여부를 확인하는데 사용되는 인증서 정보를 포함하고,
상기 명령어들은 상기 라우터가, 상기 접속 제어 애플리케이션을 통해 상기 노드 또는 상기 대상 애플리케이션의 채널 생성 요청을 수신하면, 상기 프록시를 통해 상기 인증서 정보에 기반하여 상기 노드 또는 상기 대상 애플리케이션이 채널 생성이 가능한지 여부를 확인하고,
생성된 채널에 기반하여 상기 노드 또는 상기 대상 애플리케이션의 서비스 요청을 처리하도록 구성된, 라우터.
According to claim 1,
The data flow includes certificate information used to check whether a channel can be created,
The commands determine whether the node or the target application is capable of creating a channel based on the certificate information through the proxy when the router receives a channel creation request from the node or the target application through the access control application. Check,
A router configured to process service requests from the node or the target application based on the created channel.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 데이터 패킷의 프로토콜 검사를 자체적으로 수행하는 경우, 상기 접속 제어 애플리케이션을 통해 상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 데이터 패킷에 허용된 프로토콜 여부를 식별하기 위한 시그니처 정보, 버전 정보, 헤더 정보 및 규약 정보 중 적어도 어느 하나가 포함되어 있는지 여부를 검사하고,
상기 데이터 패킷의 프로토콜 검사가 실패한 경우 상기 데이터 패킷을 드랍하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
When performing a protocol check of the data packet on its own, signature information, version information, and header information to identify whether the protocol is allowed for the data packet based on the protocol information included in the data flow through the access control application. and check whether at least one of the protocol information is included,
A router, configured to drop the data packet if a protocol check of the data packet fails.
제 4 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 프로토콜 검사에 필요한 검사 범위까지 상기 데이터 패킷을 검사하도록 구성된, 라우터.
The method of claim 4, wherein the commands allow the router to:
A router, configured to inspect the data packet to an inspection range required for protocol inspection based on protocol information included in the data flow through the access control application.
제 4 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 데이터 패킷의 프로토콜 검사가 실패한 경우, 상기 외부 서버에게 프로토콜 검사 결과를 전송하고,
상기 외부 서버로부터 상기 프로토콜 검사 결과의 위험 정도에 관련되어 결정된 상기 데이터 플로우의 제거 정보 또는 상기 외부 서버와의 접속 차단 정보를 수신하도록 구성된, 라우터.
The method of claim 4, wherein the commands allow the router to:
If the protocol check of the data packet fails, transmit the protocol check result to the external server,
A router, configured to receive removal information of the data flow or connection blocking information with the external server determined in relation to a risk level of the protocol check result from the external server.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 외부 서버를 통해 프로토콜을 검사하는 경우, 상기 접속 제어 애플리케이션을 통해 상기 수집된 데이터 패킷을 상기 외부 서버에게 전송하며 프로토콜 검사 요청을 수행하고,
상기 외부 서버로부터 프로토콜 검사 결과를 수신하고, 수신된 프로토콜 검사 결과에 기반하여 상기 노드 또는 상기 대상 애플리케이션의 네트워크 접속을 제어하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
When checking a protocol through the external server, transmitting the collected data packets to the external server through the access control application and performing a protocol inspection request,
A router configured to receive a protocol check result from the external server and control network access of the node or the target application based on the received protocol check result.
제 7 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 외부 서버로부터 프로토콜 검사 완료 상태로 갱신된 데이터 플로우가 수신되는 경우, 상기 접속 제어 애플리케이션을 통해, 갱신된 데이터 플로우를 기초로 상기 노드 또는 상기 대상 애플리케이션의 데이터 패킷을 전송하고,
상기 외부 서버로부터 프로토콜 검사 결과의 위험 정도에 관련되어 결정된 상기 데이터 플로우의 제거 정보 또는 상기 외부 서버와의 접속 차단 정보를 수신하는 경우, 상기 접속 제어 애플리케이션을 통해 상기 노드 또는 상기 대상 애플리케이션의 네트워크 접속을 차단하도록 구성된, 라우터.
The method of claim 7, wherein the commands allow the router to:
When an updated data flow with a protocol check complete status is received from the external server, transmitting a data packet of the node or the target application based on the updated data flow through the connection control application,
When receiving removal information of the data flow determined in relation to the risk level of the protocol check result from the external server or information blocking the connection to the external server, network connection of the node or the target application is established through the access control application. Routers configured to block.
제 1 항에 있어서, 상기 명령어들은 상기 라우터가,
상기 접속 제어 애플리케이션을 통해 데이터 패킷 수신 이벤트를 감지하고,
상기 수신된 데이터 패킷에 대응되고, 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인하고,
상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 수신된 데이터 패킷의 프로토콜 검사를 자체적으로 수행할지 또는 상기 외부 서버를 통해 수행할지 확인하여 자체적으로 프로토콜을 검사하거나 또는 상기 외부 서버를 통해 프로토콜을 검사하고,
상기 수신된 데이터 패킷의 프로토콜 검사가 완료되면 상기 데이터 플로우에의 수신 프로토콜 검사 상태를 완료 상태로 변경하도록 구성된, 라우터.
The method of claim 1, wherein the commands allow the router to:
Detect a data packet reception event through the access control application,
Check whether a data flow corresponding to the received data packet and received from an external server exists,
Based on the protocol information included in the data flow, determine whether to perform the protocol check of the received data packet on its own or through the external server, and check the protocol itself or check the protocol through the external server. ,
The router, configured to change the received protocol check state for the data flow to a completed state when the protocol check of the received data packet is completed.
서버에 있어서,
통신 회로; 데이터 베이스를 저장하는 메모리; 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
라우터의 접속 제어 애플리케이션으로부터 데이터 패킷 프로토콜 검사 요청을 수신하고, 상기 데이터 패킷 프로토콜 검사 요청은 프로토콜 검사에 필요한 검사 범위까지 수집된 데이터 패킷 및 상기 데이터 패킷에 대응되는 데이터 플로우의 식별 정보를 포함하고,
상기 데이터 플로우의 식별 정보에 대응되는 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 프로토콜 검사에 필요한 검사 범위까지 수집된 데이터 패킷의 프로토콜을 검사하고,
검사가 완료되면 상기 데이터 플로우의 프로토콜 검사 상태를 완료 상태로 갱신하고, 갱신된 데이터 플로우를 상기 라우터에게 전송하도록 구성된, 서버.
On the server,
communication circuit; memory to store the database; and a processor operatively connected to the communication circuit and the memory, the processor comprising:
Receiving a data packet protocol inspection request from a connection control application of a router, the data packet protocol inspection request including data packets collected up to an inspection range required for protocol inspection and identification information of a data flow corresponding to the data packet,
Checking the protocol of the collected data packets to the inspection range necessary for the protocol inspection based on the protocol information included in the data flow corresponding to the identification information of the data flow,
The server, configured to update the protocol inspection status of the data flow to a completed state when the inspection is completed, and transmit the updated data flow to the router.
제 10 항에 있어서, 상기 프로세서는,
상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 프로토콜 검사에 필요한 검사 범위까지 수집된 데이터 패킷에 허용된 프로토콜 여부를 식별하기 위한 시그니처 정보, 버전 정보, 헤더 정보 및 규약 정보 중 적어도 어느 하나가 포함되어 있는지 여부를 검사하도록 구성된, 서버.
11. The method of claim 10, wherein the processor:
Based on the protocol information included in the data flow, at least one of signature information, version information, header information, and protocol information for identifying whether the protocol is allowed in the data packet collected up to the inspection range required for the protocol inspection is included. A server configured to check whether a server exists.
제 10 항에 있어서, 상기 프로세서는,
상기 프로토콜 검사가 실패한 경우, 상기 데이터 베이스에 포함된 프로토콜 정책 및 블랙리스트 정책에 기반하여 프로토콜 검사 위험 정도를 판단하고,
상기 위험 정도가 제1 범위인 경우 상기 데이터 플로우를 제거하고, 상기 데이터 플로우의 제거 정보를 상기 라우터 및 상기 라우터와 관련된 게이트웨이에 전송하고,
상기 위험 정도가 제2 범위인 경우, 상기 데이터 플로우를 제거하고 노드의 접속을 차단하고 및 상기 라우터와 상기 게이트웨이 간 채널을 제거하여 결과를 상기 라우터 및 상기 게이트웨이에 전송하고,
상기 위험 정도가 제3 범위인 경우, 상기 라우터의 접속을 차단하고 상기 라우터의 식별 정보를 블랙리스트에 추가하도록 구성된, 서버.
11. The method of claim 10, wherein the processor:
If the protocol check fails, determine the degree of protocol check risk based on the protocol policy and blacklist policy included in the database,
If the risk level is in a first range, remove the data flow and transmit removal information of the data flow to the router and a gateway associated with the router,
If the risk level is in the second range, remove the data flow, block the node's connection, remove the channel between the router and the gateway, and transmit the result to the router and the gateway,
If the risk level is in the third range, the server is configured to block the connection of the router and add the identification information of the router to a blacklist.
제 10 항에 있어서, 상기 프로세서는,
상기 라우터의 상기 접속 제어 애플리케이션으로부터 프로토콜 검사 결과를 수신하고, 상기 프로토콜 검사 결과는 상기 접속 제어 애플리케이션이 상기 데이터 플로우에 기반하여 자체적으로 프로토콜 검사를 수행한 결과이고,
상기 프로토콜 검사 결과, 상기 데이터 베이스에 포함된 프로토콜 정책 및 블랙리스트 정책에 기반하여 프로토콜 검사 결과의 위험 정도를 판단하고,
상기 위험 정도에 따라 상기 라우터의 네트워크 접속 차단 정도를 결정하도록 구성된, 서버.
11. The method of claim 10, wherein the processor:
A protocol check result is received from the access control application of the router, and the protocol check result is a result of the access control application performing a protocol check on its own based on the data flow,
Determine the degree of risk of the protocol inspection result based on the protocol inspection result, the protocol policy and the blacklist policy included in the database,
A server configured to determine a degree of blocking network access of the router according to the degree of risk.
라우터에 설치된 접속 제어 애플리케이션의 동작 방법에 있어서,
노드 또는 대상 애플리케이션의 데이터 패킷 전송 이벤트를 감지하는 동작, 상기 데이터 패킷 전송 이벤트는 상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나를 포함하고;
상기 노드의 MAC 주소 정보, 상기 노드의 식별 정보 및 상기 대상 애플리케이션의 식별 정보 중 적어도 어느 하나에 대응되고, 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인하는 동작;
상기 데이터 플로우에 포함된 프로토콜 정보에 기반하여 상기 데이터 패킷의 프로토콜 검사를 자체적으로 수행할지 또는 상기 외부 서버를 통해 수행할지 확인하는 동작;
상기 프로토콜 정보에 기반하여 프로토콜 검사에 필요한 검사 범위까지 상기 데이터 패킷을 수집하고, 수집된 데이터 패킷에 기반하여 자체적으로 프로토콜을 검사하거나 또는 상기 외부 서버를 통해 프로토콜을 검사하는 동작; 및
상기 데이터 패킷의 프로토콜 검사가 완료되면 상기 데이터 패킷을 전송하는 동작; 을 포함하는, 방법.
In the method of operating the access control application installed on the router,
Detecting a data packet transmission event of a node or a target application, the data packet transmission event including at least one of MAC address information of the node, identification information of the node, and identification information of the target application;
An operation of checking the existence of a data flow received from an external server and corresponding to at least one of MAC address information of the node, identification information of the node, and identification information of the target application;
An operation of determining whether to perform a protocol check of the data packet independently or through the external server based on protocol information included in the data flow;
An operation of collecting the data packets up to the inspection range required for protocol inspection based on the protocol information, and inspecting the protocol on its own or through the external server based on the collected data packets; and
Transmitting the data packet when the protocol check of the data packet is completed; Method, including.
KR1020230023900A 2023-02-22 2023-02-22 System for controlling network access and method of the same KR102609368B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230023900A KR102609368B1 (en) 2023-02-22 2023-02-22 System for controlling network access and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230023900A KR102609368B1 (en) 2023-02-22 2023-02-22 System for controlling network access and method of the same

Publications (1)

Publication Number Publication Date
KR102609368B1 true KR102609368B1 (en) 2023-12-05

Family

ID=89157013

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230023900A KR102609368B1 (en) 2023-02-22 2023-02-22 System for controlling network access and method of the same

Country Status (1)

Country Link
KR (1) KR102609368B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200006824A (en) * 2018-07-11 2020-01-21 삼성전자주식회사 Method and apparatus for routing control in sdn network
JP2021125752A (en) * 2020-02-03 2021-08-30 アラクサラネットワークス株式会社 Communication monitoring device, communication monitoring method, and communication monitoring program
KR102309116B1 (en) * 2021-09-07 2021-10-08 프라이빗테크놀로지 주식회사 System and method for controlling network access of data flow based application
KR102460691B1 (en) * 2021-11-15 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102495373B1 (en) * 2022-05-19 2023-02-06 프라이빗테크놀로지 주식회사 System for controlling network access based on application inspection and method of the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200006824A (en) * 2018-07-11 2020-01-21 삼성전자주식회사 Method and apparatus for routing control in sdn network
JP2021125752A (en) * 2020-02-03 2021-08-30 アラクサラネットワークス株式会社 Communication monitoring device, communication monitoring method, and communication monitoring program
KR102309116B1 (en) * 2021-09-07 2021-10-08 프라이빗테크놀로지 주식회사 System and method for controlling network access of data flow based application
KR102460691B1 (en) * 2021-11-15 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102495373B1 (en) * 2022-05-19 2023-02-06 프라이빗테크놀로지 주식회사 System for controlling network access based on application inspection 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
KR102364445B1 (en) System for controlling network access based on controller and method of the same
KR102460694B1 (en) System for controlling network access based on controller and method of the same
KR102396528B1 (en) System for controlling network access based on controller and method of the same
KR102460691B1 (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
KR102377247B1 (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
KR102514618B1 (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
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
KR102460695B1 (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
KR102427663B1 (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
KR102377248B1 (en) System for controlling network access based on controller and method of the same
KR102333553B1 (en) System for controlling network access based on controller and method of the same
KR102472554B1 (en) System for controlling network access based on controller and method of the same
KR102460692B1 (en) System for controlling network access based on controller and method of the same
KR102407135B1 (en) System for controlling network access based on controller and method of the same
KR102358595B1 (en) System for controlling network access based on controller and method of the same
KR102609368B1 (en) System for controlling network access and method of the same
KR102578800B1 (en) System for controlling network access and method of the same
KR102588355B1 (en) System for controlling network access and method of the same

Legal Events

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