KR102472554B1 - System for controlling network access based on controller and method of the same - Google Patents

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

Info

Publication number
KR102472554B1
KR102472554B1 KR1020220040744A KR20220040744A KR102472554B1 KR 102472554 B1 KR102472554 B1 KR 102472554B1 KR 1020220040744 A KR1020220040744 A KR 1020220040744A KR 20220040744 A KR20220040744 A KR 20220040744A KR 102472554 B1 KR102472554 B1 KR 102472554B1
Authority
KR
South Korea
Prior art keywords
authentication
data packet
data
data flow
node
Prior art date
Application number
KR1020220040744A
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 KR1020220040744A priority Critical patent/KR102472554B1/en
Application granted granted Critical
Publication of KR102472554B1 publication Critical patent/KR102472554B1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2475Traffic characterised by specific attributes, e.g. priority or QoS for supporting traffic characterised by the type of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/30Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
    • H04L63/306Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information intercepting packet switched data communications, e.g. Web, Internet or IMS communications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An objective of the present invention is to effectively resolve various network security problems. According to one embodiment of the present invention, a node comprises a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing an access control application and a target application. The memory can store instructions which, when executed by the processor, cause the node to sense a network access event through the access control application, check the existence of a data flow applied from an external server, corresponding to a data packet to be transmitted by the target application, and including an authentication state, transmit the data packet if the authentication state is authenticated and the data flow which can be accessed or is allowed to be transmitted regardless of the authentication state exists, perform a network access test associated with whether the data packet can be transmitted if the authentication state is authenticated and a data flow which cannot be accessed exists, and drop the data packet if the authentication state of the data flow is not valid.

Description

컨트롤러 기반 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법{SYSTEM FOR CONTROLLING NETWORK ACCESS BASED ON CONTROLLER AND METHOD OF THE SAME}System for controlling controller-based network access and method therefor

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

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

일반적으로 노드와 서버간 통신은 IP(Internet Protocol) 기반의 TCP(Transmission Control Protocol)를 사용하며, 데이터 패킷내에 포함된 5 Tuples 정보로 출발지 IP, 도착지 IP 및 포트 정보를 식별하는 방식의 접속 제어를 수행하는 방화벽 기술을 보편적으로 사용한다.In general, communication between nodes and servers uses IP (Internet Protocol)-based TCP (Transmission Control Protocol), and access control is performed by identifying source IP, destination IP, and port information with 5 Tuples information included in data packets. Commonly used firewall technology that performs

방화벽 기술은 노드 또는 네트워크 노드에 할당된 IP를 식별하여 네트워크 경계 사이에서 인바운드 또는 아웃바운드 데이터 패킷의 접근 제어를 수행함으로서 비인가된 IP가 비인가된 목적지 네트워크로의 접속을 차단하는 역할을 수행한다. Firewall technology identifies IPs assigned to nodes or network nodes and controls access of inbound or outbound data packets between network boundaries, thereby blocking unauthorized IPs from accessing unauthorized destination networks.

IP를 기반으로 하는 방화벽과 같은 기술은 IP 할당 및 제어가 어려운 인터넷 대역에 있는 노드의 경우 또는 공유기 및 게이트웨이에 의해 서브 네트워크를 구성하여 사설 IP 대역을 만드는 경우 IP 단위로의 통제가 어려운 문제가 발생할 수 있어, 실질적으로 방화벽은 최소한의 안전 장치로서 사용된다. Technologies such as IP-based firewalls can cause problems that are difficult to control by IP unit in the case of nodes in the Internet band where IP allocation and control are difficult, or in the case of creating a private IP band by configuring a sub-network with routers and gateways. In practice, firewalls are used as a minimum safeguard.

위와 같은 문제점을 해결하기위해 노드와 서버 또는 게이트웨이 사이에 전송되는 데이터 패킷을 암호화하거나, 위조 및 변조 되지 않도록 하고 인가된 대상만 유일한 접속을 허용할 수 있도록 하는 터널링 기술 또는 보안 세션 등의 접속성 제어 기술이 사용되고 있다. In order to solve the above problems, connectivity control such as tunneling technology or secure session that encrypts data packets transmitted between nodes and servers or gateways, prevents forgery and tampering, and allows unique access only to authorized targets. technology is being used.

하지만, 단말 수준으로 생성되는 터널링 기술 기반의 VPN(Virtual Private Network)은 사용시 최초 인증 이후 상시 연결된 터널링을 통해서 비허용된 또는 안전하지 않은 애플리케이션이 허용되지 않은 목적지 네트워크에 접속하는 취약점을 가지고있다. 즉, 위와 같은 취약점에 있어서 VPN 기술은 각종 멀웨어 및 랜섬웨어 침투에 의한 보안 사고가 증가하고 있다. However, VPN (Virtual Private Network) based on tunneling technology created at the terminal level has a vulnerability in that unapproved or unsafe applications access unallowed destination networks through always-connected tunneling after initial authentication. In other words, in the above vulnerability, VPN technology is increasing security incidents due to infiltration of various malware and ransomware.

또한, 최근 비즈니스의 복잡도와 함께 상시 연결된 네트워크 상에서 서버간의 통신이 증가하였고 서버내에서 동작하는 대상 애플리케이션은 하나의 애플리케이션에서 모든 서비스 로직이 동작하는 것이 아닌 모듈 또는 기능 단위로 분리되어 동작하는 Micro Service Architecture 형태로 발전되면서, 실질적 통신은 애플리케이션 보다 더 낮은 수준인 모듈이나 기능 단위의 통신으로 식별 단위가 변화되어 애플리케이션 보다 낮은 수준에서의 네트워크 접속 제어 기술이 필요하다. In addition, communication between servers on an always-connected network has increased along with recent business complexity, and the target application operating in the server is a Micro Service Architecture in which all service logic is not operated in one application, but is separated and operated in modules or functional units. As it develops into a form, actual communication is changed to communication of a module or functional unit that is lower than the application level, and the identification unit is changed, requiring a network access control technology at a level lower than the application level.

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

본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션 및 타겟 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해 네트워크 접속 이벤트를 감지하고, 상기 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고, 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하고, 상기 데이터 플로우는 인증 상태를 포함하고, 상기 인증 상태가 인증 완료이고 접속 가능하거나 상기 인증 상태와 관계없이 전송이 허용된 상기 데이터 플로우가 존재하면, 상기 데이터 패킷을 전송하고, 상기 인증 상태가 인증 완료이고, 접속이 불가능한 데이터 플로우가 존재하면, 상기 데이터 패킷의 전송 가능 여부에 관련된 네트워크 접속 검사를 수행하고, 상기 데이터 플로우의 상기 인증 상태가 유효하지 않으면 상기 데이터 패킷을 드랍하도록 하는, 명령어들을 저장할 수 있다. A node according to an embodiment disclosed herein includes communication circuitry, a processor operatively connected to the communication circuitry, and a memory operatively connected to the processor and storing a connection control application and a target application; When the memory is executed by the processor, the node detects a network connection event through the access control application, corresponds to a data packet to be transmitted by the target application, and confirms the existence of a data flow authorized from an external server , The data flow includes an authentication state, and if the authentication state is authentication complete and accessible or the data flow is allowed to be transmitted regardless of the authentication state, the data packet is transmitted, and the authentication state is authenticated complete, and if there is an inaccessible data flow, perform a network connection check related to whether the data packet can be transmitted, and store instructions to drop the data packet if the authentication state of the data flow is invalid can

본 문서에 개시된 일 실시예예 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법은, 상기 접속 제어 애플리케이션을 통해 네트워크 접속 이벤트를 감지하는 단계, 상기 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고, 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하는 단계, 상기 데이터 플로우는 인증 상태를 포함하고, 상기 인증 상태가 인증 완료이거나 상기 인증 상태와 관계없이 전송이 허용된 상기 데이터 플로우가 존재하면 상기 데이터 패킷을 전송하거나, 상기 인증 상태가 인증 완료이고 접속이 불가능한 상기 데이터 플로우가 존재하면 상기 데이터 패킷 전송 가능 여부에 관련된 네트워크 접속 검사를 수행하거나, 또는 상기 데이터 플로우의 상기 인증 상태가 유효하지 않으면 상기 데이터 패킷을 드랍하는 단계를 포함할 수 있다. A method of operating an access control application installed in a node according to an embodiment disclosed in this document includes detecting a network access event through the access control application, corresponding to a data packet to be transmitted by the target application, and applying an application from an external server. confirming the existence of a data flow that has been authenticated, the data flow includes an authentication state, and if the authentication state is authentication complete or the data flow allowed to be transmitted exists regardless of the authentication state, the data packet is transmitted; If the authentication status is authentication complete and there is an inaccessible data flow, performing a network connection check related to whether or not the data packet transmission is possible, or dropping the data packet if the authentication status of the data flow is invalid can include

본 문서에 개시되는 실시예들에 따르면, 허용된 안전한 애플리케이션만 허용된 네트워크에 접속할 수 있는 애플리케이션 접송성 제어 기술을 적용하여 근본적인 통신 주체인 애플리케이션을 식별하고, 허용되지 않은 애플리케이션의 접속을 사전에 차단함으로서 각종 멀웨어 및 랜섬웨어가 허용되지 않은 목적지 네트워크에 접속하는 것을 방지함과 동시에 현재 발생되고 있는 각종 네트워크 보안 문제를 효과적으로 해결할 수 있다. According to the embodiments disclosed in this document, an application accessibility control technology that allows only permitted safe applications to access a permitted network is applied to identify applications that are fundamental communication subjects and block access of disallowed applications in advance. By doing so, it is possible to prevent various types of malware and ransomware from accessing an unauthorized destination network and effectively solve various network security problems currently occurring.

본 문서에 개시되는 실시예들에 따르면, 데이터댐 및 마이데이터, AI 서비스의 증가로 인해 모듈 또는 기능 단위의 통신을 애플리케이션 보다 더 세밀한 단위로 제어할 수 있고, 데이터 제공자가 보유하고 있는 데이터 또는 데이터 소유자가 위탁한 데이터를 데이터 수요자에게 전달하기 위해, 허용된 모듈이 데이터 소유자에 의해서 허용되거나 사전에 정책에 의해서 허용된 데이터만 전송하도록 네트워크 접속을 제어할 수 있다. According to the embodiments disclosed in this document, due to the increase in datadam, my data, and AI services, communication of modules or functional units can be controlled in a more granular unit than applications, and data or data possessed by data providers In order to deliver the data entrusted by the owner to the data consumer, the allowed module may control network access so that only data permitted by the data owner or previously permitted by policy is transmitted.

본 문서에 개시되는 실시예들에 따르면, 종래의 IP 기반 네트워크에 Overlay 된 Data Centric Networking 중심의 AI가 연산한 결과 및 서버에 보관하고 있는 무수히 많은 가공된 가치있는 데이터를 수요자에게 전송하고 실질적 가치를 부여하기 위한 기반 기술로 사용될 수 있다. According to the embodiments disclosed in this document, the calculation result of Data Centric Networking-centered AI overlaid on the conventional IP-based network and countless processed valuable data stored in the server are transmitted to the consumer and real value It can be used as a base technology for granting.

또한, 본 문서에 개시된 실시예들에 따르면, 종래의 애플리케이션 접속성 제어 기술로 제어할 수 없는 모듈 단위 및 데이터 단위의 네트워크 접속을 제어하기 위해 운영체제(Kernel Level)에서 식별할 수 없는 애플리케이션보다 더 낮은 단위 식별을 위해 대상 애플리케이션 (User Level)에서 네트워크 접속시 추가된 식별 계층을 삽입하여, 모듈 또는 데이터 수준의 네트워크 접속을 제어하기 위한 방법을 제공할 수 있다. In addition, according to the embodiments disclosed in this document, in order to control network access of module unit and data unit that cannot be controlled by conventional application connectivity control technology, the operating system (Kernel Level) has a lower level than an application that cannot be identified. For unit identification, a method for controlling module or data level network access may be provided by inserting an identification layer added when network access is performed in the target application (user level).

또한, 본 문서에 개시된 실시예들에 따르면 운영체제 (Kernel Level)에서 식별할 수 없는 대상 애플리케이션 내(User Level)의 모듈 또는 기능이 네트워크에 접속하여 데이터를 전송하는 경우, 대상 애플리케이션이 네트워크 접속시 전송한 인증 데이터 패킷내에 포함된 각 식별 정보를 컨트롤러에 확인하여 해당 식별 정보를 포함하고 있는 네트워크 접속을 허용할 것인지 여부에 따라 네트워크 접속을 허용하거나 비허용하는 구조를 제공할 수 있다. In addition, according to the embodiments disclosed in this document, when a module or function in a target application (user level) that cannot be identified in an operating system (kernel level) accesses a network and transmits data, transmission is performed when the target application accesses the network. It is possible to provide a structure that allows or disallows network access depending on whether or not to allow network access including the identification information by checking each identification information included in one authentication data packet with the controller.

또한, 본 문서에 개시된 실시예들에 따르면, 사전에 설정된 컨트롤러의 인증 정책에 따라 식별 단위별로 화이트리스트 기반의 네트워크 접속을 허용하거나, 제 3자(예: 데이터 소유자)에 서 해당 식별 단위의 네트워크 접속을 허용할 것인지 여부를 추가 확인함으로써 제3자의 승인에 의해서만 네트워크 접속을 허용하는 구조를 제공할 수 있으며, 각 식별 단위별로의 네트워크 접속이 기록되므로 언제 어디로 어떠한 모듈이 어떠한 데이터를 전송하였는지 조회할 수 있는 방법을 제공할 수 있다.In addition, according to the embodiments disclosed in this document, whitelist-based network access is allowed for each identification unit according to the authentication policy of the controller set in advance, or a third party (eg, data owner) allows a network access of the corresponding identification unit. By additionally checking whether or not to allow access, it is possible to provide a structure that allows network access only with the approval of a third party, and since network access by each identification unit is recorded, it is possible to inquire what data was transmitted by which module at what time and where. can provide a way to do it.

또한, 본 문서에 개시된 실시예들에 따르면, Data Centric Networking을 구성하여 신용기관에 위탁된 데이터 소유자의 신용 정보를 타기관에 전송하는 경우, 데이터 소유자의 신용 정보 데이터를 위탁된 신용기관에서 승인된 타기관에 전송하는 것을 통제하기 위해, 사용자가 허용한 데이터만, 허용된 데이터 공급 기관에서 허용된 타기관에 맞춰서 데이터 제공 시점에 네트워크 접속을 생성하고, 데이터 제공이 끝난 시점에 네트워크 접속을 해제할 수 있는 기술을 제공할 수 있기 때문에 마이데이터의 실질적 취지에 도달할 수 있는 방법을 제공할 수 있다. In addition, according to the embodiments disclosed in this document, when data centric networking is configured to transmit credit information of a data owner entrusted to a credit institution to another institution, the credit information data of the data owner is transferred to In order to control the transmission to other institutions, only the data permitted by the user, the permitted data supplying institution may create network access at the time of data provision, and release the network connection at the end of data provision, in accordance with the permitted third party. It is possible to provide a method that can reach the practical purpose of My Data.

또한, 본 문서에 개시된 실시예들에 따르면, 각종 인증 정보 (예: 공개키 기반 암복호화 키 및 인증서), 인증 정보를 기반으로 사이닝된 데이터 정보(예: 블록체인 네트워크 상에서의 승인된 데이터 전파) 전송, 클라우드 내에 저장된 개인 정보 등, 네트워크에 상시 연결되어 있지만, 인터넷과 격리되어야 하는 정보를 포함하는 원격 저장소를 필요로 한 경우에만 인터넷과의 연결함으로써 인터넷으로부터 유입되는 외부 위험을 차단함과 동시에, 허용된 데이터만 전송함으로써 비허용된 대상이 비허용된 데이터를 전송하는 행위(예: 탈취자에 의해 임의로 개인 정보를 유출하는 경우)를 차단할 수 있다. In addition, according to the embodiments disclosed in this document, various authentication information (eg, public key-based encryption/decryption key and certificate), data information signed based on authentication information (eg, propagation of approved data on a blockchain network) ) Transmission and personal information stored in the cloud, which is always connected to the network, but connects to the Internet only when remote storage including information that needs to be isolated from the Internet is required, thereby blocking external risks from the Internet. , By transmitting only allowed data, it is possible to block the transmission of non-permitted data by non-permitted subjects (e.g., when personal information is arbitrarily leaked by a thief).

또한, 본 문서에 개시된 실시예들에 따르면, 타겟 애플리케이션이 인증 데이터 패킷 전송 이후 데이터 패킷 전송이 실패한 경우 설정된 타임 아웃 시간만큼 대기하거나 접속을 재시도해야하여 인증 결과를 판단하기 위한 지연 시간 및 직관적인 인증 결과를 확인할 수 없는 문제를 해결할 수 있다.In addition, according to the embodiments disclosed in this document, if the target application fails to transmit the data packet after transmitting the authentication data packet, it must wait for a set timeout period or retry the connection, thereby providing a delay time and intuitive It can solve the problem of not being able to check the authentication result.

또한, 본 문서에 개시된 실시예들에 따르면, 접속 제어 애플리케이션에 포함된 애플리케이션이 인터페이스(API 또는 Remote Procedure Call, RPC 서버)를 통해서 타겟 애플리케이션의 데이터 패킷 인증을 사전에 수행하고, 인증 결과를 확인한 후 네트워크 접속을 시도함으로서 직관적으로 인증 결과를 확인할 수 있고, 네트워크 접속 시점에서의 네트워크 접속 통제를 수행하여 비허용된 데이터 패킷이 전송되는 것을 차단할 수 있다. In addition, according to the embodiments disclosed in this document, an application included in an access control application performs data packet authentication of a target application in advance through an interface (API or Remote Procedure Call, RPC server), and after confirming the authentication result, Authentication results can be intuitively checked by attempting network access, and transmission of unauthorized data packets can be blocked by performing network access control at the time of network access.

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

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.
도 2는 다양한 실시 예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.
도 3은 다양한 실시예들에 따른 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다.
도 5는 다양한 실시예들에 따른 인증 데이터 패킷의 구조를 보여주는 도면이다.
도 6은 다양한 실시예들에 따른 데이터 패킷의 전송을 제어하는 동작을 보여주는 도면이다.
도 7은 다양한 실시예들에 따른 노드의 컨트롤러 접속을 위한 신호 흐름도를 나타낸다.
도 8은 다양한 실시예들에 따른 노드의 네트워크 접속 인증을 위한 신호 흐름도를 나타낸다.
도 9a는 다양한 실시예들에 따른 노드의 네트워크 접속을 제어하기 위한 신호 흐름도를 나타낸다.
도 9b는 다양한 실시예들에 따른 노드의 네트워크 접속 검사를 위한 신호 흐름도를 나타낸다.
도 10은 다양한 실시예들에 따른 노드의 데이터 패킷을 전송하기 위한 신호 흐름도를 나타낸다.
도 11은 다양한 실시예들에 따른 게이트웨이의 데이터 패킷 수신을 제어하기 위한 신호 흐름도를 나타낸다.
도 12는 다양한 실시예들에 따른 노드의 제어 플로우를 갱신하기 위한 신호 흐름도를 나타낸다.
도 13은 다양한 실시예들에 따른 노드의 접속 해제에 대한 신호 흐름도를 나타낸다.
도 14는 다양한 실시예들에 따른 노드의 애플리케이션 실행 종료에 대한 신호 흐름도를 나타낸다.
1 shows an environment including a plurality of networks.
2 illustrates an architecture within a network environment according to various embodiments.
3 is a functional block diagram illustrating a database stored in a controller according to various embodiments.
4 shows a functional block diagram of a node in accordance with various embodiments.
5 is a diagram showing the structure of an authentication data packet according to various embodiments.
6 is a diagram illustrating an operation of controlling transmission of a data packet according to various embodiments.
7 shows a signal flow diagram for controller connection of a node according to various embodiments.
8 shows a signal flow diagram for network connection authentication of a node according to various embodiments.
9A shows a signal flow diagram for controlling network access of a node according to various embodiments.
9B is a signal flow diagram for network connection test of a node according to various embodiments.
10 shows a signal flow diagram for transmitting a data packet of a node according to various embodiments.
11 shows a signal flow diagram for controlling reception of a data packet by a gateway according to various embodiments.
12 shows a signal flow diagram for updating a control flow of a node according to various embodiments.
13 shows a signal flow diagram for disconnection of a node according to various embodiments.
14 illustrates a signal flow diagram for termination of application execution of a node according to various embodiments.

이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that this is not intended to limit the present invention to the specific embodiments, and includes various modifications, equivalents, and/or alternatives of 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 item or a plurality of items, unless the context clearly dictates 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 the phrases such as "at least one of B or C" may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (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 the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서에서 설명되는 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.Each component (eg, module or program) of the components described in this document may include singular or plural entities. According to various embodiments, one or more components or operations among corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of 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 of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by modules, programs, or other components are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or 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 integrally constructed component or a minimal unit of components or a portion 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 the present document may be implemented as software (eg, a program or application) including one or more instructions stored in a storage medium (eg, memory) readable by a machine. For example, the processor of the device may call at least one command among one or more commands stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

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

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. 1 shows an environment including a plurality of networks.

도 1을 참조하면, 제1 네트워크(10) 및 제2 네트워크(20)는 서로 다른 네트워크일 수 있다. 예를 들어, 제1 네트워크(10)는 인터넷과 같은 공용 네트워크이고, 제2 네트워크(20)는 인트라넷 또는 VPN과 같은 사설 네트워크일 수 있다. 실시예에 따라서, 제1 네트워크(10)는 도 2의 데이터 공급자 네트워크(210)를 포함할 수 있고, 제2 네트워크(20)는 도 2의 데이터 수요자 네트워크(220)를 포함할 수 있다. 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. According to embodiments, the first network 10 may include the data provider network 210 of FIG. 2 , and the second network 20 may include the data consumer network 220 of FIG. 2 .

제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 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, but is not limited to the aforementioned devices. For example, source node 101 may include a server or gateway capable of transmitting data packets through an application. The source node 101 may also be referred to as 'electronic device' or 'terminal'. Meanwhile, the destination node 102 may include the same or similar device as the above-described source node 101 . For another example, the destination node 102 can be substantially the same as the destination network.

출발지 노드(101)는 제2 네트워크(20)로의 접속(access)을 시도하고 제2 네트워크(20)에 포함된 도착지 노드(102)로 데이터를 전송할 수 있다. 출발지 노드(101)는 게이트웨이(103) 및 터널(105)을 통해 데이터를 도착지 노드(102)로 전송할 수 있다. 다만 이에 한정되는 것은 아니고, 출발지 노드(101)는 터널, 보안 세션 및 채널 등 다양한 경로를 통해 데이터를 도착지 노드(102)로 전송할 수 있다. The source node 101 may attempt access to the second network 20 and transmit data to the destination node 102 included in the second network 20 . Source node 101 may transmit data to destination node 102 via gateway 103 and tunnel 105 . However, it is not limited thereto, and the source node 101 may transmit data to the destination node 102 through various paths such as a tunnel, a secure session, and a channel.

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

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

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

도 2를 참조하면, 노드(201), 게이트웨이(203), 목적지 네트워크(204), 데이터 공급자 네트워크(210) 및 데이터 수요자 네트워크(220)의 개수는 도 2에 도시된 개수로 한정되는 것은 아니다. 예를 들어, 복수의 노드는 컨트롤러(202)로부터 네트워크 접속이 제어될 수 있고, 컨트롤러(202)는 복수개의 게이트웨이와 통신할 수 있고, 복수개의 목적지 네트워크로 데이터를 전송하는 것을 제어할 수 있다. Referring to FIG. 2, the number of nodes 201, gateways 203, destination networks 204, data provider networks 210, and data consumer networks 220 is not limited to the number shown in FIG. For example, a plurality of nodes may have network access controlled by the controller 202, and the controller 202 may communicate with a plurality of gateways and control transmission of data to a plurality of destination networks.

노드(201)는 접속 제어 애플리케이션(211) 및 타겟 애플리케이션(221)을 포함할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 네트워크 접속 발생시 컨트롤러(202)로부터 접속 가능 여부를 확인하고, 접속 가능한 경우에만 컨트롤러(202)에 의하여 생성된 데이터 플로우에 기반하여 게이트웨이(203)를 통해 목적지 네트워크(204)로 데이터 패킷을 전송할 수 있다. 예를 들어, 게이트웨이(203)는 노드(201) 측 네트워크 경계에 존재하는 제1 게이트웨이(213) 및 목적지 네트워크(204) 측 네트워크 경계에 존재하는 제2 게이트웨이(223)를 포함할 수 있다. Node 201 may include a connection control application 211 and a target application 221 . For example, the access control application 211 checks whether a connection is possible from the controller 202 when a network connection occurs, and only if the connection is possible, the destination through the gateway 203 based on the data flow generated by the controller 202. Data packets may be transmitted over the network 204 . For example, the gateway 203 may include a first gateway 213 present at the node 201 side network boundary and a second gateway 223 present at the destination network 204 side network boundary.

데이터 플로우 기반 접속성 제어 기술은 노드(201)가 목적지 네트워크(204)에 접속하기 위해 컨트롤러(202)에 의해서 인가된 데이터 플로우가 존재하는 경우에만 통신이 가능한 구조를 제공하며, 데이터 플로우가 존재하지 않는 경우 노드(201)가 통신을 수행할 수 없는 구조를 제공할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우가 존재하지 않는 경우 타겟 애플리케이션(212)의 데이터 패킷을 전송하는 것을 제한할 수 있다. The data flow-based connectivity control technology provides a structure in which communication is possible only when there is a data flow authorized by the controller 202 in order for the node 201 to access the destination network 204, and the data flow does not exist. If not, a structure in which the node 201 cannot perform communication may be provided. For example, the access control application 211 may restrict transmission of data packets of the target application 212 if no data flow exists.

실시예에 따르면, 접속 제어 애플리케이션(211)은 네트워크 드라이버 및 데이터 플로우 처리부, 제어 플로우 처리부 및 애플리케이션 인터페이스(API)를 포함할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 운영 체제(Kernel Level)에서 네트워크 접속을 통제하기 위한 네트워크 드라이버 및 데이터 플로우 기반으로 데이터 패킷의 전송 여부를 확인하고 처리하기 위한 데이터 플로우 처리부를 포함할 수 있다. 또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)간의 통신 및 명령어, 전문을 처리하는 역할(네트워크 접속 요청, 네트워크 접속 인증 요청)을 수행하는 제어 플로우 처리부를 포함할 수 있다. 또한, 접속 제어 애플리케이션(211)은 대상 애플리케이션이 전송하고자 하는 데이터 패킷을 인증하거나, 이전에 인증한 데이터 패킷이 계속적으로 전송할 수 있는 상태인지 또는 재인증을 수행해야 하는지 여부를 확인하기 위한 인터페이스(Application Procedure Interface, API, Remote Procedure Call, RPC)를 제공하는 애플리케이션 인터페이스를 포함할 수 있다. According to an embodiment, the access control application 211 may include a network driver, a data flow processor, a control flow processor, and an application interface (API). For example, the access control application 211 may include a network driver for controlling network access in an operating system (kernel level) and a data flow processing unit for checking whether data packets are transmitted and processing them based on the data flow. . In addition, the access control application 211 may include a control flow processor that performs communication between the controllers 202 and processes commands and messages (network access request, network access authentication request). In addition, the access control application 211 authenticates a data packet to be transmitted by the target application, or an interface (Application Application It may include application interfaces that provide Procedure Interfaces, APIs, Remote Procedure Calls (RPCs).

컨트롤러(202)는 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 노드(201)의 목적지 네트워크(204)에 대한 네트워크 접속 통제를 수행할 수 있다. Controller 202 may be a server (or cloud server). Controller 202 may perform network access control of node 201 to destination network 204 .

일 실시예에 따르면, 컨트롤러(202)는 노드(201)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 노드(201)와 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름은 제어 플로우(control flow)로 참조될 수 있다.According to one embodiment, the controller 202 may send and receive control data packets to and from the node 201 to perform various operations (eg, registration, approval, authentication, renewal, and termination) associated with the network connection of the node 201. can A flow through which the control data packet is transmitted may be referred to as a control flow.

상술한 동작들을 통해 컨트롤러(202)는 비허용 노드의 목적지 네트워크(204)에 대한 접속을 차단할 수 있는 환경을 제공할 수 있다. Through the above operations, the controller 202 may provide an environment capable of blocking access to the destination network 204 of disallowed nodes.

게이트웨이(203)는 제1 게이트웨이(213) 및 제2 게이트웨이(223)를 포함할 수 있다. 예를 들어, 게이트웨이(203)는 보안 채널을 통해 네트워크 구간에서 안전하게 데이터 패킷을 전송할 수 있는 기술을 제공할 수 있다. 또한, 게이트웨이(203)는 접속 제어 애플리케이션(211)으로부터 수신된 데이터 패킷이 실질적으로 허용된 노드(201)가 전송한 것인지 여부를 검사하여, 접속 제어 애플리케이션(211)을 우회해서 전송되는 데이터 패킷을 차단하는 역할을 수행할 수 있다. 즉, 게이트웨이(203)는 데이터 공급자 네트워크(210) 및 데이터 수요자 네트워크(220) 전반에 걸쳐서 상시 안전한 네트워크 구성을 가능하게 할 수 있다. The gateway 203 may include a first gateway 213 and a second gateway 223 . For example, the gateway 203 may provide a technology capable of safely transmitting data packets in a network section through a secure channel. In addition, the gateway 203 checks whether the data packet received from the access control application 211 is actually transmitted by the allowed node 201, and the data packet that is transmitted by bypassing the access control application 211 It can play a blocking role. That is, the gateway 203 may always enable a secure network configuration throughout the data provider network 210 and the data consumer network 220 .

데이터 소유자(206)는 컨트롤러(202)와 통신할 수 있다. 컨트롤러(202)는 인증 정책에 따라 식별 단위 별로 화이트리스트 기반의 네트워크 접속을 허용할 수 있고, 데이터 소유자(206)에서 해당 식별 단위의 네트워크 접속을 허용할 것인지 여부를 추가로 확인함으로서, 데이터 소유자(206)의 승인에 의해서만 네트워크 접속을 허용하는 구조를 제공할 수 있다. 또한, 각각의 식별 단위 별로 네트워크 접속이 기록될 수 있기 때문에, 데이터 소유자(206)는 언제 어디로 어떠한 모듈이 어떠한 데이터를 전송하였는지 조회할 수 있다. Data owner 206 can communicate with controller 202 . The controller 202 may allow whitelist-based network access for each identification unit according to the authentication policy, and further confirms whether or not the data owner 206 allows the network access of the corresponding identification unit, so that the data owner ( 206) can provide a structure that allows network access only by approval. In addition, since network access can be recorded for each identification unit, the data owner 206 can inquire what data was transmitted by which module and when and where.

도 3은 다양한 실시예들에 따른 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 도 3은 메모리(330)만을 도시하지만, 컨트롤러는 외부 전자 장치와 통신을 수행하기 위한 통신 회로(예: 도 4의 통신 회로(430)) 및 컨트롤러의 전반적인 동작을 제어하기 위한 프로세서(예: 도 4의 프로세서(410))를 더 포함할 수 있다.3 is a functional block diagram illustrating 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 communicating with an external electronic device (eg, the communication circuit 430 of FIG. 4) and a processor for controlling the overall operation of the controller (eg, FIG. Four processors 410) may be further included.

관리자는 컨트롤러(202)에 접속하여 애플리케이션과 서버간의 접속을 제어하기 위한 접속 중신의 정책을 설정할 수 있으므로, 단순히 IP를 기준으로 접속 통제를 수행하는 기존의 NAC(Network Access Control) 및 방화벽과 같은 보안 기술보다 더 세밀하고 네트워크 접속 관점에서 더 안전한 네트워크 접속 제어가 가능하다.Since the administrator can connect to the controller 202 and set a connection-oriented policy to control access between applications and servers, security such as existing Network Access Control (NAC) and firewalls that simply perform access control based on IP It is possible to control network access that is more granular than technology and more secure from the point of view of network access.

접속 정책 데이터 베이스(311)는 식별된 네트워크, 노드(예: 도 2의 노드(201)), 사용자, 비식별 사용자, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 노드로부터 목적지 네트워크에 대한 접속이 요청되면, 컨트롤러는 접속 정책 데이터 베이스(311)에 기반하여 식별된 네트워크(예: 노드가 속하는 네트워크), 노드, 사용자(예: 노드의 사용자), 및/또는 애플리케이션(노드에 포함되는 애플리케이션)이 목적지 네트워크에 접속이 가능한지 여부를 결정할 수 있다. The access policy database 311 may include information on networks and/or services to which an identified network, node (eg, node 201 of FIG. 2 ), user, unidentified user, or application may access. For example, when access to a destination network is requested from a node, the controller identifies the network (eg, the network to which the node belongs), the node, the user (eg, the user of the node), based on the access policy database 311, and/or determine whether an application (an application included in a node) is allowed to connect to the destination network.

인증 정책 데이터 베이스(312)는 접속 정책(예: 접속 정책 데이터 베이스(311)에 포함되는 정보)에서의 접속 제어 최소 단위인 애플리케이션보다 더 세밀한 수준으로 접속 대상을 식별하고, 식별된 대상이 접속 가능한 서비스 정보를 포함할 수 있다. 예를 들어, 인증 정책 데이터 베이스(312)는 해당 식별 정보로 네트워크 접속 요청이 존재하는 경우, 정책에 의해 접속 가능한 서비스의 접속을 상시 허용할 것인지 여부 또는 컨트롤러와 연결된 타 시스템 또는 제 3자(예: 데이터 소유자)를 통해서 승인된 경우에만 접속을 허용할 것인지 여부를 포함할 수 있다. 다른 예를 들어, 인증 정책 데이터 베이스(312)는 네트워크 접속 허용 이후 계속적으로 네트워크 접속을 허용할 것인지 여부 또는 특정 조건(예: TCP SYM Packet, TCP FIN Packet, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자를 포함하는 등의 룰)이 충족되는 경우 네트워크 접속을 해제하고 데이터 패킷 인증을 재수행할 것인지 여부를 포함할 수 있다. 또한, 인증 정책 데이터 베이스(312)는 데이터 패킷 인증을 최초 네트워크 접속시에만 수행할 것인지, 매 데이터 패킷 전송시점마다 데이터 패킷 인증을 검사할 것인지 여부를 포함할 수 있다. 실시예에 따라서, 인증 정책 데이터 베이스(312)는 인증 데이터 패킷에 포함된 식별 정보의 추출 방법 및 검사 방법(예: One time Password, HMAC 등과 같은 인증 정보 생성 및 검사 알고리즘)을 포함할 수 있다. 실시예에 따라서, 인증 정책 데이터 베이스(312)는 추가 인증 없이 데이터 패킷을 전송하는 것이 가능한지 여부에 대한 정보 및 데이터 플로우의 갱신 조건을 만족하는 경우 데이터 플로우의 인증 상태를 변경하는 정보를 포함하는 인증 정보를 생성하기 위한 정보를 포함할 수 있다. 즉, 컨트롤러(202)는 인증 정책 데이터 베이스(312)에 기반하여 인증 정보를 생성할 수 있다. The authentication policy database 312 identifies an access target at a more granular level than an application, which is the smallest unit of access control in an access policy (eg, information included in the access policy database 311), and allows the identified target to access. It may contain service information. For example, the authentication policy database 312 determines whether or not access to a service accessible by policy is always allowed when there is a request for network access with corresponding identification information, or whether other systems or third parties connected to the controller (eg : whether or not to allow access only when approved by the data owner). For another example, the authentication policy database 312 determines whether or not network access is continuously allowed after network access is allowed or under certain conditions (eg, TCP SYM Packet, TCP FIN Packet, the amount of transmitted data packets depends on the data flow). It may include whether or not to release the network connection and re-perform data packet authentication when the amount of data packets included in the data flow is exceeded, the update process character of the data packets included in the data flow, etc.) is satisfied. have. In addition, the authentication policy database 312 may include whether to perform data packet authentication only when first connecting to a network or whether to check data packet authentication every data packet transmission time. Depending on the embodiment, the authentication policy database 312 may include a method for extracting identification information included in an authentication data packet and a method for checking (eg, one time password, authentication information generation and checking algorithms such as HMAC). Depending on the embodiment, the authentication policy database 312 includes information about whether it is possible to transmit data packets without additional authentication and information about changing the authentication state of the data flow when the renewal condition of the data flow is satisfied. It may contain information for generating information. That is, the controller 202 may generate authentication information based on the authentication policy database 312 .

블랙리스트 정책 데이터 베이스(313)는 노드의 접속을 영구적 또는 일시적으로 차단하기 위한 정책을 포함할 수 있다. 블랙리스트 정책 데이터 베이스(313)는 노드 또는 게이트웨이에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 정보(예: 노드, IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)를 기반으로 생성될 수 있다. The blacklist policy database 313 may include a policy for permanently or temporarily blocking access of nodes. The blacklist policy database 313 includes information (e.g., node, IP address, MAC (media access) identified through analysis of risk, occurrence cycle, and/or behavior of security events among security events periodically collected from nodes or gateways. control) address, or at least one of user ID).

블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해서 차단된 노드, IP 주소, MAC 주소, 또는 사용자 중 적어도 하나에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러는 목적지 네트워크로의 접속을 요청하는 노드가 블랙리스트 데이터 베이스(314)에 포함되면 노드의 접속 요청을 거부함으로써 목적지 네트워크로부터 노드를 격리시킬 수 있다. The blacklist database 314 may include a list of at least one of nodes, IP addresses, MAC addresses, or users blocked by the blacklist policy database 313 . For example, if a node requesting access to the destination network is included in the blacklist database 314, the controller may isolate the node from the destination network by rejecting the connection request of the node.

제어 플로우 테이블(315)은 노드와 컨트롤러 사이에 생성된 제어 데이터 패킷의 흐름(예: 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 성공적으로 컨트롤러에 접속하는 경우, 제어 플로우 정보는 컨트롤러에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 컨트롤러에 대한 접속 및 인증 시 식별되는 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 포함할 수 있다. 예를 들어, 노드로부터 목적지 네트워크에 대한 접속이 요청되면 컨트롤러는 노드로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 접속 정책 데이터 베이스(311)에 매핑함으로서 노드가 접속이 가능한지 여부 및 목적지 네트워크와의 TCP 세션 생성을 위한 데이터 플로우 생성 가능 여부를 판단(결정)할 수 있다. The control flow table 315 is an example of a session table for managing a flow (eg, control flow) of control data packets generated between a node and a controller. When accessing the controller successfully, control flow information may be generated by the controller. The control flow information may include at least one of control flow identification information, an IP address identified during access to and authentication of a controller, a node ID, and a user ID. For example, when access to a destination network is requested from a node, the controller may search for control flow information through control flow identification information received from the node, and the IP address, node ID, or user information included in the searched control flow information By mapping at least one of the IDs to the access policy database 311, it is possible to determine (determine) whether a node can be connected and whether a data flow for creating a TCP session with a destination network can be created.

일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 노드는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 노드로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우, 컨트롤러는 노드의 접속 종료 요청에 따라서 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 노드의 접속이 차단될 수 있다. According to one embodiment, a control flow may have an expiration time. The node needs to update the expiration time of the control flow, and if the expiration time is not updated for a certain period of time, the control flow (or control flow information) may be removed. In addition, when it is determined that immediate disconnection is necessary according to the security event collected from the node, the controller may remove the control flow according to the request of the node to terminate the connection. If the control flow is removed, the previously created data flow is also removed, so node access may be blocked.

데이터 플로우 테이블(316)은 노드와 게이트웨이 및 목적지 네트워크 사이의 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)를 관리하기 위한 테이블이다. 데이터 플로우는 노드 또는 IP 단위로 생성되는 TCP 세션, 노드의 애플리케이션, 또는 보다 세부적인 단위로 생성될 수 있다. 데이터 플로우 테이블(316)은 데이터 플로우 식별 정보, 데이터 플로우가 제어 플로우에 종속되는 경우에는 제어 플로우 식별 정보, 노드로부터 전송된 데이터 패킷이 인가된 데이터 패킷인지를 식별하기 위한 애플리케이션 ID, 출발지 네트워크 식별 정보, 목적지 네트워크 식별 정보 및/또는 서비스 포트를 포함할 수 있다. 데이터 플로우 테이블(316)은 네트워크 접속 허용 이후 계속적으로 네트워크 접속을 허용할 것인지 여부 또는 특정 조건(예: TCP SYM Packet, TCP FIN Packet, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자를 포함하는 등의 룰)이 충족되는 경우 네트워크 접속을 해제하고 데이터 패킷 인증을 재수행할 것인지 여부를 포함하는 인증 정보를 포함할 수 있다. 실시예에 따라서, 인증 정보는 데이터 패킷 인증을 최초 네트워크 접속시에만 수행할 것인지, 매 데이터 패킷 전송시점마다 데이터 패킷 인증을 검사할 것인지 여부를 포함할 수 있다. 또한, 데이터 플로우 테이블(316)은 데이터 플로우의 인증이 완료되어 전송 가능한 상태인지, 인증이 필요로 한 상태인지, 인증이 불필요하여 인증 없이 네트워크 접속이 가능한 상태인지 여부를 포함하는 데이터 플로우 상태 정보(또는 데이터 플로우의 인증 상태 정보)를 포함할 수 있다. The data flow table 316 is a table for managing a flow (eg, data flow) in which detailed data packets are transmitted between nodes, gateways, and destination networks. A data flow can be created by a TCP session created by node or IP unit, by application of a node, or by a more granular unit. The data flow table 316 includes data flow identification information, control flow identification information when the data flow is subordinate to the control flow, application ID for identifying whether the data packet transmitted from the node is an authorized data packet, and source network identification information , destination network identification information and/or service port. The data flow table 316 determines whether or not network access is continuously allowed after network access is allowed or specific conditions (eg, TCP SYM Packet, TCP FIN Packet, amount of transmitted data packets, amount of data packets included in the data flow) may include authentication information including whether to release the network connection and re-perform data packet authentication when a rule such as including an update processing character of a data packet included in a data flow is satisfied. . Depending on the embodiment, the authentication information may include whether to perform data packet authentication only when first connecting to a network or whether to check data packet authentication every data packet transmission time. In addition, the data flow table 316 includes data flow state information including whether the data flow has been authenticated and can be transmitted, whether authentication is required, or whether network access is possible without authentication because authentication is unnecessary ( or authentication status information of a data flow).

실시예에 따라서, 데이터 플로우 테이블(316)은 노드(예: 도 2의 노드(201)) 및 게이트웨이(예: 도 2의 게이트웨이(203))에 동일하게 포함될 수 있다. Depending on the embodiment, the data flow table 316 may be equally included in a node (eg, node 201 of FIG. 2 ) and a gateway (eg, gateway 203 of FIG. 2 ).

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

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

프로세서(410)는 노드의 전반적인 동작을 제어할 수 있다. 다양한 실시 예들에서, 프로세서(410)는 하나의 프로세서 코어(single core)를 포함하거나, 복수의 프로세서 코어들을 포함할 수 있다. 예를 들면, 프로세서(410)는 듀얼 코어(dual-core), 쿼드 코어(quad-core), 헥사 코어(hexa-core) 등의 멀티 코어(multi-core)를 포함할 수 있다. 실시 예들에 따라, 프로세서(410)는 내부 또는 외부에 위치된 캐시 메모리(cache memory)를 더 포함할 수 있다. 실시 예들에 따라, 프로세서(410)는 하나 이상의 프로세서들로 구성될(configured with) 수 있다. 예를 들면, 프로세서(410)는, 애플리케이션 프로세서(application processor), 통신 프로세서(communication processor), 또는 GPU(graphical processing unit) 중 적어도 하나를 포함할 수 있다. The processor 410 may control the overall operation of the node. In various embodiments, the processor 410 may include a single processor core or may include a plurality of processor cores. For example, the processor 410 may include multi-cores such as dual-core, quad-core, and hexa-core. According to embodiments, the processor 410 may further include an internal or external cache memory. According to 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 part of processor 410 is electrically or operatively coupled to other components within the node (e.g., memory 420, communication circuitry 430, or display 440). (coupled with) or connected to. The processor 410 may receive commands from other components of the node, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor 410 may interpret and process messages, data, commands, or signals received from the memory 420 , the communication circuit 430 , or the display 440 . The processor 410 may generate a new message, data, command, or signal based on the received message, data, command, or signal. Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420 , communication circuitry 430 , or display 440 .

프로세서(410)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 410 may 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 in the memory 420 to execute or control a program.

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

메모리(420)는 휘발성 메모리(volatile memory) 또는 불휘발성(non-volatile memory) 중 하나 이상을 포함할 수 있다. 휘발성 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), SDRAM(synchronous DRAM), PRAM(phase-change RAM), MRAM(magnetic RAM), RRAM(resistive RAM), FeRAM(ferroelectric RAM) 등을 포함할 수 있다. 불휘발성 메모리는 ROM(read only memory), PROM(programmable ROM), EPROM(electrically programmable ROM), EEPROM(electrically erasable programmable ROM), 플래시 메모리(flash memory) 등을 포함할 수 있다. The memory 420 may include one or more of volatile memory and 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). can include The nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, and the like.

메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 uses a nonvolatile medium such as a hard disk drive (HDD), a solid state disk (SSD), an embedded multi media card (eMMC), or a universal flash storage (UFS). can include more.

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

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

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

일 실시예에 따른 서버(예: 도 2의 컨트롤러(202))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 서버에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다. A server (eg, the controller 202 of FIG. 2 ) according to an embodiment may include a processor 410 , a memory 420 , and a 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.

일 실시예에 따른 게이트웨이(예: 도 2의 게이트웨이(203))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 게이트웨이에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다.A gateway (eg, the gateway 203 of FIG. 2 ) according to an embodiment may include a processor 410 , a memory 420 , and a communication circuit 430 . The processor 410, memory 420, and communication circuit 430 included in the gateway may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.

도 5는 다양한 실시예들에 따른 인증 데이터 패킷의 구조를 보여주는 도면이다. 5 is a diagram showing the structure of an authentication data packet according to various embodiments.

기존의 데이터 패킷은 IP 통신시 OSI(Open System Interconnection)에서 식별할 수 있는 단위인 5 Tuples(출발지, 도착지 정보 등) 정보를 포함하는 IP 헤더와 페이로드를 포함하는 데이터 패킷 구조로 구성될 수 있다. Existing data packets can be composed of a data packet structure including an IP header and payload including 5 tuples (source, destination information, etc.) information, which is a unit that can be identified in OSI (Open System Interconnection) during IP communication. .

Micro Service Architecture 및 Data Centric Networking을 구현하기 위해서는 5 Tuples 및 노드의 운영체제(Kernel Level)에서 식별할 수 있는 실질적 통신 주체인 애플리케이션 보다 세밀한 수준의 모듈 또는 기능, 데이터의 네트워크 접속 통제를 위해 타겟 애플리케이션(예: 도 2의 타겟 애플리케이션(212))내의 최소 식별 단위 (User Level에서 정의한 단위)의 네트워크 접속 여부를 알아야할 수 있다. In order to implement Micro Service Architecture and Data Centric Networking, 5 tuples and applications that are actual communication subjects that can be identified in the operating system (Kernel Level) of nodes are targeted applications (e.g. : It may be necessary to know whether the minimum identification unit (unit defined in the user level) in the target application 212 of FIG. 2 is connected to the network.

타겟 애플리케이션(예: 도 2의 타겟 애플리케이션(212))은 포함된 모듈 또는 기능, 데이터가 네트워크에 접속하는 경우, 해당 요소를 식별할 수 있는 정보를 포함하는 인증 데이터 패킷(예: 단일 인증 데이터 패킷(510) 및 인증 데이터 패킷을 헤더로 사용한 데이터 패킷(520))을 전송할 수 있다. 이 경우, 노드의 운영체제(Kernel Level)에서 네트워크 접속을 통제하고 있는 네트워크 접속 제어 애플리케이션(예: 도 2의 접속 제어 애플리케이션(211))은 수신된 인증 데이터 패킷(510, 520)을 확인할 수 있고, 인증 데이터 패킷(510, 520)으로부터 인증 정보를 추출하여 컨트롤러(예: 도 2의 컨트롤러(202))로 전송하여 해당 인증 정보에 기반하여 네트워크 접속을 허용할 것인지 여부를 확인하고, 컨트롤러로부터 확인된 네트워크 접속 허용 여부에 기초하여 네트워크 접속을 허용하는 구조를 제공할 수 있다. The target application (e.g. target application 212 in FIG. 2) is an authentication data packet (e.g. a single authentication data packet) containing information that can identify the included module or function, and data that can be used to access the network. 510 and a data packet 520 using the authentication data packet as a header may be transmitted. In this case, a network access control application (e.g., the access control application 211 of FIG. 2) controlling network access at the operating system (kernel level) of the node can check the received authentication data packets 510 and 520, Authentication information is extracted from the authentication data packets 510 and 520 and transmitted to a controller (e.g., the controller 202 of FIG. 2) to determine whether to allow network access based on the authentication information, and A structure allowing network access based on whether or not network access is allowed may be provided.

인증 데이터 패킷(510, 520) 내의 인증 정보는 운영체제(Kernel)에서 식별할 수 없는 수준을 식별하는 것이 가능하고, 네트워크 접속을 통제하기 위해 타겟 애플리케이션이 네트워크 접속시 네트워크 접속 허용을 요청할 최소한의 식별 단위를 포함할 수 있다. 예를 들어, 식별 단위는 모듈 또는 기능, 데이터 등과 같은 정보를 포함할 수 있고, 타겟 애플리케이션을 개발 및 운영하는 대상의 의도에 따라서 식별 단위가 부여될 수 있다. 다른 예를 들어, 인증 정보는 타겟 애플리케이션의 네트워크 접속을 이중으로 검사하기 위해 컨트롤러에서 지정한 인증 정보 생성 알고리즘을 포함할 수 있다. Authentication information in the authentication data packets 510 and 520 can identify a level that cannot be identified by the operating system (Kernel), and is the minimum identification unit for requesting network access permission when a target application accesses a network in order to control network access. can include For example, the identification unit may include information such as a module, function, or data, and the identification unit may be assigned according to the intention of a target developing and operating a target application. For another example, the authentication information may include an authentication information generation algorithm designated by the controller to double check the network access of the target application.

단일 인증 데이터 패킷(510)은 IP 헤더와 페이로드를 포함할 수 있다. 예를 들어, 단일 인증 데이터 패킷(510)의 페이로드에는 인증 데이터 패킷이 포함될 수 있다. 실시예에 따라서 단일 인증 데이터 패킷(510)은 최초 네트워크 접속 인증을 위한 구조일 수 있다. A single authentication data packet 510 may include an IP header and payload. For example, the payload of a single authentication data packet 510 may include an authentication data packet. Depending on the embodiment, the single authentication data packet 510 may be a structure for initial network access authentication.

인증 데이터 패킷을 헤더로 사용한 데이터 패킷(520)은 IP 헤더, 인증 데이터 패킷을 포함하는 페이로드 및 실제 전송 데이터 패킷을 포함하는 페이로드를 포함할 수 있다. 실시예에 따라서, 인증 데이터 패킷을 헤더로 사용한 데이터 패킷(520)은 연속되는 데이터 패킷을 검사하기 위한 데이터 패킷일 수 있다. The data packet 520 using the authentication data packet as a header may include an IP header, a payload including the authentication data packet, and a payload including the actual transmission data packet. Depending on the embodiment, the data packet 520 using the authentication data packet as a header may be a data packet for inspecting successive data packets.

일 실시예에서, 인증 데이터 패킷(510, 520)은 1개 이상의 인증 정보를 포함할 수 있다. In one embodiment, authentication data packets 510 and 520 may include one or more pieces of authentication information.

도 6은 다양한 실시예들에 따른 데이터 패킷의 전송을 제어하는 동작을 보여주는 도면이다.6 is a diagram illustrating an operation of controlling transmission of a data packet according to various embodiments.

도 6을 참조하면, 노드(201)는 컨트롤러(202) 접속 이후 목적지 네트워크(204)로 전송되는 데이터 패킷 중 데이터 플로우가 존재하지 않는 비허용 데이터 패킷의 경우 네트워크 드라이버 및 운영체제의 커널 단에서 차단될 수 있다. 따라서, 노드(201)는 접속 제어 애플리케이션(211)을 거치지 않는 어떠한 데이터 패킷도 목적지 네트워크(204)로 전송되지 않을 수 있다.Referring to FIG. 6 , node 201 blocks data packets transmitted to destination network 204 after controller 202 is connected to network drivers and operating system kernel levels in the case of unacceptable data packets having no data flow. can Thus, node 201 may not transmit any data packets to destination network 204 that do not go through connection control application 211 .

접속 제어 애플리케이션(211)은 반드시 컨트롤러(202)에 접속하여 노드 또는 하나 이상의 식별 정보 및 애플리케이션, 애플리케이션내에 포함된 모듈 및 기능, 데이터 등에 대한 식별 및 인증을 수행해야할 수 있다. 인증 수행 이후 접속 제어 애플리케이션(211)은 타겟 애플리케이션(212)의 목적지 네트워크(204) 접속시, 접속 네트워크 정보를 컨트롤러(202)에 질의하여 접속 가능 여부를 확인하고, 인가된 애플리케이션의 모듈 및 기능, 데이터 등의 대상만 네트워크에 접속 가능하도록 제어할 수 있다.The access control application 211 must access the controller 202 to identify and authenticate a node or one or more identification information and applications, modules, functions, and data included in the application. After authentication is performed, the access control application 211 queries the controller 202 for access network information when the target application 212 accesses the destination network 204 to determine whether access is possible, modules and functions of the authorized application, Only objects such as data can be controlled to be accessible to the network.

비인가 노드 또는 애플리케이션, 애플리케이션내에 포함된 모듈 및 기능, 데이터 등은 기본적으로 목적지 네트워크(204)에 접속할 수 없는 상태이며, 컨트롤러(202)로부터 타겟 애플리케이션(212) 및 타겟 애플리케이션(212) 내에 포함된 모듈 및 기능, 데이터 등의 접속 정보를 포함하는 데이터 플로우 정보가 제1 게이트웨이(213) 또는 제2 게이트웨이(223)에 전달되지 않은 경우, 제1 게이트웨이(213) 또는 제2 게이트웨이(223)는 데이터 패킷의 포워딩을 차단하기 때문에 노드(201)는 목적지 네트워크(204)에 도달할 수 없는 상태, 즉 격리된 상태가 된다.Unauthorized nodes or applications, modules, functions, data, etc. included in the application are basically in a state in which they cannot access the destination network 204, and the target application 212 and the modules included in the target application 212 from the controller 202. and when data flow information including access information such as function and data is not transmitted to the first gateway 213 or the second gateway 223, the first gateway 213 or the second gateway 223 sends a data packet Since forwarding of is blocked, the node 201 cannot reach the destination network 204, that is, it is in an isolated state.

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

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

도 7을 참조하면, 노드(201)의 접속 제어 애플리케이션(211)은, 동작 705에서, 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)와 제어 플로우를 생성하기 위하여 컨트롤러 접속 요청을 수행할 수 있다. 예를 들어, 컨트롤러 접속 요청은 노드(201) 또는 접속 제어 애플리케이션(211)에 관한 정보를 포함할 수 있다. Referring to FIG. 7 , the connection control application 211 of the node 201 may, in operation 705 , request a controller connection to the controller 202 . For example, the access control application 211 may perform a controller connection request to create a control flow with the controller 202 . For example, the controller connection request may include information about node 201 or connection control application 211 .

동작 710에서, 컨트롤러(202)는 접속 제어 애플리케이션(211)이 접속 요청한 정보에 기반하여 접속 정책에 의해 접속 가능한 상태인지 여부를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)이 접속 요청한 정보는 노드(201)의 종류, 위치 정보, 환경, 노드(201)가 포함되어있는 네트워크 및 접속 제어 애플리케이션(211)에 관한 정보를 포함할 수 있다. In operation 710, the controller 202 may check whether or not the access control application 211 is in an accessible state according to an access policy based on information requested for access. For example, the information requested for access by the access control application 211 may include the type of node 201, location information, environment, network including the node 201, and information about the access control application 211. have.

일 실시예에서, 컨트롤러(202)는 식별된 노드(201) 또는 노드(201)가 포함된 네트워크가 블랙리스트(예: 도 3의 블랙리스트 데이터 베이스(314))에 포함되는 경우 접속 제어 애플리케이션(211)에게 접속 불가 정보를 전송할 수 있다(동작 725).In one embodiment, the controller 202 may use an access control application (eg, blacklist database 314 in FIG. 211) may transmit connection failure information (operation 725).

접속 가능한 노드(201)인 경우, 동작 715에서, 컨트롤러(202)는 접속 제어 애플리케이션(211) 또는 노드(201)와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성할 수 있고, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보를 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에 저장할 수 있다. 제어 플로우 테이블에 저장된 정보(예: 제어 플로우 식별 정보 및/또는 제어 플로우 정보)는 노드(201)의 사용자 인증, 노드(201)의 정보 업데이트, 노드(201)의 네트워크 접속을 위한 정책 확인 및/또는 유효성 검사에 이용될 수 있다. 일 실시예에서, 컨트롤러(120)는 노드(201)와 매칭되는 접속 정책에서 접속 가능한 애플리케이션 화이트리스트 정보를 생성할 수 있다. If the node 201 is accessible, in operation 715, the controller 202 may create a connection control application 211 or a control flow between the node 201 and the controller 202. In this case, the controller 202 may generate control flow identification information in the form of random numbers, and the identification information of the node 201 and/or the network to which the node 201 belongs is stored in a control flow table (eg, the control flow of FIG. 3 ). table 315). Information stored in the control flow table (e.g., control flow identification information and/or control flow information) is used for user authentication of the node 201, information update of the node 201, policy check for node 201 network access, and/or Or it can be used for validation. In one embodiment, the controller 120 may generate accessable application whitelist information in an access policy matching node 201 .

동작 720에서, 컨트롤러(202)는 노드, 사용자, 출발지 네트워크의 식별 정보와 매칭된 접속 정책에 기반하여 접속 가능한 애플리케이션의 화이트리스트를 생성할 수 있다. 화이트리스트가 생성되면, 컨트롤러(202)는 접속 결과로서 접속 완료 상태 및 이후 노드의 사용자 인증 요청 및 지속적인 노드 정보의 업데이트가 필요한 경우, 제어 플로우를 식별하기 위한 제어 플로우 식별 정보(예: ID) 및 애플리케이션 화이트리스트를 노드(201)의 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 725).In operation 720, the controller 202 may generate a whitelist of accessible applications based on identification information of nodes, users, and source networks and matching access policies. When the whitelist is created, the controller 202 provides control flow identification information (e.g., ID) for identifying a control flow when a connection completion status as a result of the connection, a request for user authentication from a subsequent node, and a continuous update of node information are required. The application whitelist may be sent to the access control application 211 of the node 201 (act 725).

또한, 컨트롤러(202)는 인증 정책(예: 도 3의 인증 정책 데이터 베이스(312))에 기반하여 인증을 수행하지 않은 데이터 패킷을 허용할 것인지 여부를 확인할 수 있다. 이 경우, 컨트롤러(202)는 인증 정책에 기반하여 노드(201)가 데이터 패킷 인증 없이 네트워크 접속을 허용할 것인지 여부를 판단하기 위한 미인증 네트워크 접속 가능 여부 정보를 확인할 수 있고, 미인증 네트워크 접속 가능 여부 정보를 노드(201)에게 전송할 수 있다(동작 725). In addition, the controller 202 may determine whether to allow a data packet for which authentication has not been performed based on an authentication policy (eg, the authentication policy database 312 of FIG. 3 ). In this case, the controller 202 may check information on whether or not unauthenticated network access is available to determine whether the node 201 will allow network access without data packet authentication based on the authentication policy, and unauthenticated network access is possible. Whether information may be transmitted to the node 201 (operation 725).

제어 플로우가 생성되면, 동작 725에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답을 노드(201)의 접속 제어 애플리케이션(211)에게 전송할 수 있다. 이 경우, 컨트롤러(202)는 생성된 제어 플로우 식별 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는 접속 제어 애플리케이션(211)에게 접속 가능한 애플리케이션 화이트리스트 정보를 전송할 수 있다. When the control flow is generated, in operation 725 , the controller 202 may transmit a response to the controller connection request to the connection control application 211 of the node 201 . In this case, the controller 202 may transmit the generated control flow identification information to the connection control application 211 . In one embodiment, the controller 202 may send accessible application whitelist information to the access control application 211 .

동작 730에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션의 경우 유효성 검사 정책에 따라서 무결성 및 안정성 여부 검사(애플리케이션 위, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사)를 수행할 수 있다. At operation 730, the access control application 211 may perform a check on the application. For example, the access control application 211 may perform a check on the application based on a whitelist of accessible applications received from the controller 202 . The access control application 211 may check whether the application exists (installed) in the node 201 based on the accessible application information, and in the case of the existing application, integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, fingerprint inspection) can be performed.

동작 735에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 애플리케이션 검사 결과를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 노드(201)에 존재하는 애플리케이션의 정보 및 유효성 검사의 결과를 컨트롤러(202)에게 전송할 수 있다. At operation 735 , the access control application 211 may send the application check result to the controller 202 . For example, the access control application 211 may transmit information about applications existing in the node 201 and results of validation to the controller 202 .

동작 740에서, 컨트롤러(202)는 수신된 애플리케이션 정보를 기반으로 애플리케이션이 유효한지 여부를 검사할 수 있다. 컨트롤러(202)는 수신된 애플리케이션 정보에 포함된 애플리케이션이 유효한 애플리케이션인 경우 애플리케이션이 포함된 네트워크에 연결된 노드(201)의 접속을 허용하기 위하여, 접속 정책에서 노드(201)가 위치한 게이트웨이(203)를 확인할 수 있고, 인증 정책에서 애플리케이션이 데이터 패킷 인증 없이 데이터 패킷 전송을 사전에 허용할 수 있도록 데이터 플로우를 생성할 수 있다. 예를 들어, 데이터 플로우는 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 생성될 수 있다. In operation 740, the controller 202 may check whether the application is valid based on the received application information. If the application included in the received application information is a valid application, the controller 202 selects the gateway 203 where the node 201 is located in the access policy in order to allow access of the node 201 connected to the network including the application. It can be checked, and a data flow can be created in the authentication policy so that the application can allow data packet transmission in advance without data packet authentication. For example, a data flow may be generated based on source IP, destination IP, and port information.

동작 745에서 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203)에게 전송할 수 있다. 다른 예를 들어, 생성된 데이터 플로우가 존재하지 않는 경우 컨트롤러(202)는 데이터 플로우를 게이트웨이(203)에게 전송하지 않을 수 있다. In operation 745 , the controller 202 may transmit the generated data flow to the gateway 203 . For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203 .

동작 750에서 컨트롤러(202)는 생성된 데이터 플로우를 노드(201)에게 전송할 수 있다. 다른 예를 들어, 생성된 데이터 플로우가 존재하지 않는 경우 컨트롤러(202)는 데이터 플로우를 게이트웨이(203)에게 전송하지 않을 수 있다.In operation 750 , the controller 202 may transmit the generated data flow to the node 201 . For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203 .

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

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

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

실시예에 따라서, 동작 730 내지 동작 750은 접속 제어 애플리케이션(211)에서 애플리케이션의 검사가 필요하지 않은 것으로 판단한 경우 수행되지 않을 수 있다. Depending on the embodiment, operations 730 to 750 may not be performed when the access control application 211 determines that the inspection of the application is not necessary.

도 8은 다양한 실시예들에 따른 노드의 네트워크 접속 인증을 위한 신호 흐름도를 나타낸다. 8 shows a signal flow diagram for network connection authentication of a node according to various embodiments.

노드(201)가 목적지 네트워크와 통신을 수행해야 하는 경우, 해당 목적지 네트워크와 통신하기 위해서는 인증이 완료되었는지 확인할 필요가 있다. When the node 201 needs to communicate with a destination network, it needs to check whether authentication is completed in order to communicate with the destination network.

도 8을 참조하면, 동작 805에서, 노드(201)의 접속 제어 애플리케이션(211)은 노드(201)에 설치된 타겟 애플리케이션(예: 도 2의 타겟 애플리케이션(212))의 네트워크 접속 인증 요청 이벤트를 감지할 수 있다. 예를 들어, 타겟 애플리케이션은 접속 제어 애플리케이션(211)에서 제공하는 애플리케이션 인터페이스(API, RPC 등)를 통해서 네트워크 접속 인증 요청을 수행할 수 있다. 실시예에 따르면, 타겟 애플리케이션은 네트워크 접속 인증 요청을 수행하는 경우, 타겟 애플리케이션의 식별 정보, 목적지 네트워크의 식별 정보(IP 및 포트 정보), 인증 정보(애플리케이션보다 상세한 수준의 식별 정보로서 모듈 또는 기능, 데이터 등의 식별 정보)를 접속 제어 애플리케이션(211)에게 전달할 수 있다. Referring to FIG. 8 , in operation 805, the access control application 211 of the node 201 detects a network access authentication request event of a target application (eg, the target application 212 of FIG. 2) installed on the node 201. can do. For example, the target application may request network access authentication through an application interface (API, RPC, etc.) provided by the access control application 211 . According to the embodiment, when the target application requests network access authentication, identification information of the target application, identification information (IP and port information) of the destination network, authentication information (module or function as identification information at a level more detailed than that of the application, identification information such as data) may be transmitted to the access control application 211 .

동작 810에서, 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 식별 정보, 목적지 네트워크의 식별 정보, 인증 정보에 대응되는 데이터 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 인증된 데이터 플로우가 존재하거나, 인증이 불필요로 한 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(211)은 네트워크 접속 인증 성공 결과를 타겟 애플리케이션에게 반환할 수 있다. 실시예에 따라서, 데이터 플로우는 존재하지만 유효하지 않은 경우, 접속 제어 애플리케이션(211)은 네트워크 접속 인증 실패 결과를 타겟 애플리케이션에게 반환할 수 있다. In operation 810, the access control application 211 may check whether a data flow corresponding to the identification information of the target application, the identification information of the destination network, and the authentication information exists. Depending on the embodiment, when an authenticated data flow exists or a data flow requiring no authentication exists, the access control application 211 may return a network access authentication success result to the target application. Depending on the embodiment, if the data flow exists but is not valid, the access control application 211 may return a network access authentication failure result to the target application.

데이터 플로우가 존재하지 않거나 데이터 플로우의 인증이 필요한 경우 동작 815에서, 접속 제어 애플리케이션(211)은 네트워크 접속 인증 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 네트워크 접속 이벤트 이전에 컨트롤러(202)와 생성된 제어 플로우 식별 정보, 타겟 애플리케이션의 식별 정보, 목적지 네트워크 식별 정보, 인증 정보를 기반으로 컨트롤러(202)에게 네트워크 접속 인증 요청을 수행할 수 있다. In operation 815 when the data flow does not exist or authentication of the data flow is required, the access control application 211 may perform a network access authentication request. For example, the access control application 211 provides the controller 202 with network information based on control flow identification information generated with the controller 202 before the network access event, target application identification information, destination network identification information, and authentication information. You can perform access authentication requests.

동작 820에서, 컨트롤러(202)는 제어 플로우 식별 정보에 기반하여 식별된 노드(201), 사용자 및 출발지 네트워크 정보와 매칭되는 접속 정책을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 요청한 식별 정보(예: 타겟 애플리케이션의 식별 정보, 목적지 네트워크의 식별 정보)가 접속 정책에 포함되어있는지 여부 및 해당 식별 정보에 대응되는 목적지 네트워크의 접속 가능 여부를 확인할 수 있다. 실시예에 따라서, 네트워크 접속이 불가능 한 경우 컨트롤러(202)는 동작 835에서 접속 제어 애플리케이션(211)에게 네트워크 접속 불가 결과를 전송할 수 있다. In operation 820, the controller 202 may check an access policy matched with information about the identified node 201, user, and source network based on the control flow identification information. For example, the controller 202 determines whether access-requested identification information (eg, target application identification information, destination network identification information) is included in the access policy and whether access to the destination network corresponding to the identification information is possible. You can check. Depending on the embodiment, when network access is impossible, the controller 202 may transmit a result of network connection failure to the connection control application 211 in operation 835 .

접속이 가능한 경우, 동작 825에서, 컨트롤러(202)는 인증 정책(예: 도 3의 인증 정책 데이터 베이스(312))에 기반하여 노드(201)가 전송한 인증 정보가 유효한지 여부를 검사할 수 있다. 예를 들어, 컨트롤러(202)는 인증 정보 유효성 검사를 위하여, 인증 정책에 포함된 전송 가능한 식별 정보와 노드(201)가 전송한 식별 정보와 동일한지 여부를 확인하고, 해당 식별 정보로 네트워크 접속이 가능한지 여부를 판단하거나, 네트워크 접속 인증을 위해서 인증 정보 생성 알고리즘을 통해서 생성된 인증 정보와 인증 정책에 포함된 인증 정보 검사 알고리즘을 통해서 인증 정보가 유효한지 여부를 판단할 수 있다. If access is possible, in operation 825, the controller 202 may check whether the authentication information transmitted by the node 201 is valid based on the authentication policy (eg, the authentication policy database 312 of FIG. 3). have. For example, the controller 202 checks whether the transmittable identification information included in the authentication policy is the same as the identification information transmitted by the node 201 in order to validate the authentication information, and confirms that the network connection is established with the identification information. It is possible to determine whether or not the authentication information is valid or not through the authentication information generated through the authentication information generation algorithm for network access authentication and the authentication information check algorithm included in the authentication policy.

실시예에 따라서, 컨트롤러(202)는 노드(201)의 식별 정보를 기초로 매칭된 제 3자(예: 도 2의 데이터 소유자(206))의 승인에 의해서 네트워크 접속을 허용할 수 있는 경우, 제 3자의 인증 확인을 통해서 인증 데이터 패킷 유효성 검사를 수행할 수 있다. 위와 같은 확인을 통해 제 3자는 소유하고 있는 데이터를 안전하게 관리할 수 있고, 데이터를 사용한 기록을 확인할 수 있다. Depending on the embodiment, when the controller 202 can allow network access by approval of a matched third party (eg, the data owner 206 of FIG. 2) based on the identification information of the node 201, Authentication data packet validation can be performed through authentication confirmation by a third party. Through the above confirmation, the third party can safely manage the data they own and check the record of using the data.

접속 및 인증 정책에 대한 확인이 완료된 경우, 동작 830에서, 컨트롤러(202)는 노드(201)의 네트워크 접속을 허용하기 위해 데이터 플로우 테이블(예: 도 3의 데이터 플로우 테이블(316))에 기반하여 목적지 네트워크의 식별 정보로 접속 가능한 데이터 플로우가 존재하는지 확인할 수 있다. When the verification of the access and authentication policies is complete, in operation 830, the controller 202 determines based on the data flow table (e.g., data flow table 316 of FIG. 3) to allow the node 201 to access the network. With the identification information of the destination network, it is possible to check whether there is a data flow that can be accessed.

데이터 플로우 테이블에 유효한 데이터 플로우가 존재하지 않는 경우, 타겟 애플리케이션이 목적지 네트워크로 네트워크 접속이 가능하도록 컨트롤러(202)는 출발지 IP, 목적지 네트워크 식별 정보 및 인증 정책에 따라 생성된 인증 정보를 포함하는 데이터 플로우를 생성할 수 있다. If there is no valid data flow in the data flow table, the controller 202 generates a data flow including authentication information generated according to the source IP, destination network identification information, and authentication policy so that the target application can access the network to the destination network. can create

실시예에 따라서, 인증 정보는 이후 추가 인증 갱신 없이 데이터 패킷을 상시 전송하는 것이 가능한지 여부 및 인증 갱신 시점을 포함하는 정보일 수 있다. 예를 들어, 인증 정보는 네트워크 접속 허용 이후 계속적으로 네트워크 접속을 허용할 것인지 여부 또는 특정 조건(예: TCP SYM Packet, TCP FIN Packet, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자를 포함하는 등의 룰)이 충족되는 경우 네트워크 접속을 해제하고 데이터 패킷 인증을 재수행할 것인지 여부를 포함할 수 있다. 또한, 인증 정보는 데이터 플로우 갱신 조건을 만족하는 경우 데이터 플로우의 인증 상태를 인증 필요 상태로 설정하도록 하는 정보를 포함할 수 있다. Depending on the embodiment, the authentication information may be information including whether it is possible to always transmit data packets without further authentication renewal and authentication renewal timing. For example, the authentication information is whether to allow network access continuously after allowing network access, or specific conditions (eg TCP SYM Packet, TCP FIN Packet, amount of transmitted data packets, amount of data packets included in data flow) may include whether to release the network connection and re-perform data packet authentication when a rule such as including an update processing character of a data packet included in a data flow) is satisfied. Also, the authentication information may include information for setting the authentication state of the data flow to the authentication required state when the data flow renewal condition is satisfied.

동작 835에서, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 인증 요청(동작 815)에 대한 응답을 전송할 수 있다. 예를 들어, 생성된 데이터 플로우가 존재하는 경우 컨트롤러(202)는 생성된 데이터 플로우를 접속 제어 애플리케이션(211)에게 전송할 수 있다. 다른 예를 들어, 데이터 플로우 테이블에서 접속 가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우를 노드(201)에게 전송할 수 있다. 또 다른 예를 들어, 노드(201)의 타겟 애플리케이션의 네트워크 접속이 불가능 하거나 인증이 실패한 경우, 컨트롤러(202)는 접속 불가 결과를 전송할 수 있다. In operation 835, the controller 202 may transmit a response to the network access authentication request of the connection control application 211 (operation 815). For example, if the generated data flow exists, the controller 202 may transmit the generated data flow to the access control application 211 . For another example, if there is a data flow accessible from the data flow table, the corresponding data flow may be transmitted to the node 201 . For another example, when the network access of the target application of the node 201 is impossible or authentication fails, the controller 202 may transmit a connection failure result.

동작 840에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신한 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 데이터 플로우를 수신한 경우, 수신된 데이터 플로우로 노드(201)의 데이터 플로우를 갱신하고, 타겟 애플리케이션에게 네트워크 접속 인증 성공 결과를 반환할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 인증 실패 결과 또는 접속 불가 결과를 수신한 경우 네트워크 접속 인증 실패 결과를 타겟 애플리케이션에게 반환할 수 있다. In operation 840 , the connection control application 211 may process the result value of the response received from the controller 202 . For example, when the access control application 211 receives a data flow from the controller 202, it updates the data flow of the node 201 with the received data flow, and returns a successful network access authentication result to the target application. can For another example, the access control application 211 may return a network access authentication failure result to the target application when receiving an authentication failure result or a connection failure result from the controller 202 .

실시예에 따르면, 타겟 애플리케이션은 접속 제어 애플리케이션(211)으로부터 반환된 네트워크 접속 인증 결과에 따라 데이터 패킷을 처리할 수 있다. 예를 들어, 네트워크 접속 인증 성공 결과를 수신한 경우, 타겟 애플리케이션은 데이터 패킷을 전송할 수 있다. 다른 예를 들어, 네트워크 접속 인증 실패 결과를 수신한 경우 타겟 애플리케이션은 데이터 패킷 전송을 중지할 수 있다. According to an embodiment, the target application may process the data packet according to the network connection authentication result returned from the access control application 211 . For example, upon receiving a successful network access authentication result, the target application may transmit a data packet. For another example, upon receiving a network access authentication failure result, the target application may stop transmitting data packets.

실시예에 따르면, 컨트롤러(202)의 인증 정책에 따라서 전송되는 데이터 패킷마다 인증 데이터 패킷을 헤더로 삽입해야 하는 경우, 타겟 애플리케이션은 인증 정보를 실제 전송되는 데이터 패킷에 추가하여 전송할 수 있다. According to the embodiment, when an authentication data packet needs to be inserted as a header in every data packet transmitted according to the authentication policy of the controller 202, the target application can add authentication information to the actually transmitted data packet and transmit it.

도 9a는 다양한 실시예들에 따른 노드의 네트워크 접속을 제어하기 위한 신호 흐름도를 나타낸다. 도 9a에 도시된 동작들은 도 2의 노드(201)의 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. 9A shows a signal flow diagram for controlling network access of a node according to various embodiments. The operations shown in FIG. 9A may be performed through the connection control application 211 of node 201 of FIG. 2 .

노드(201)는 접속 제어 애플리케이션(211)을 통해 타겟 애플리케이션의 네트워크 접속을 이벤트를 감지하는 경우, 인증 상태를 확인하여 인증 완료 여부를 확인함으로서 네트워크 접속을 제어할 수 있다. When the node 201 detects a network access event of the target application through the access control application 211, it can control the network access by checking the authentication status and confirming whether the authentication is completed.

도 9a를 참조하면, 동작 905에서, 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 네트워크 접속 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 타겟 애플리케이션이 전송하고자하는 데이터 패킷을 감지함으로서 타겟 애플리케이션의 네트워크 접속 이벤트를 감지할 수 있다. Referring to FIG. 9A , in operation 905, the access control application 211 may detect a network access event of the target application. For example, the access control application 211 may detect a network access event of the target application by detecting a data packet to be transmitted by the target application.

동작 910에서, 접속 제어 애플리케이션(211)은 데이터 패킷에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 식별 정보, 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우의 존재 여부를 확인할 수 있다. 예를 들어, 데이터 플로우는 인증 상태를 포함할 수 있다. In operation 910, the access control application 211 may check whether a data flow corresponding to the data packet exists. For example, the access control application 211 may check whether a data flow corresponding to identification information of the target application and identification information of the destination network exists. For example, a data flow may include an authentication state.

실시예에 따라서, 접속 가능한 데이터 플로우가 존재하며 인증이 완료된 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 전송할 수 있다(동작 915). Depending on the embodiment, when an accessible data flow exists and authentication is completed, the access control application 211 may transmit a data packet (operation 915).

실시예에 따라서, 인증이 완료되었지만 접속 불가능한 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(211)은 데이터 패킷의 전송 가능 여부에 관련된 네트워크 접속 검사를 수행할 수 있다(동작 920). 예를 들어, 네트워크 접속 검사는 도 9b에 도시된 동작들을 통해 수행될 수 있다. Depending on the embodiment, if authentication is completed but there is an unreachable data flow, the access control application 211 may perform a network connection check related to whether data packets can be transmitted (operation 920). For example, the network connection check may be performed through operations shown in FIG. 9B.

실시예에 따라서, 데이터 플로우가 존재하지만 유효하지 않은 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다(동작 925).Depending on the embodiment, if the data flow exists but is not valid, the access control application 211 may drop the data packet (operation 925).

도 9b는 다양한 실시예들에 따른 노드의 네트워크 접속 검사를 위한 신호 흐름도를 나타낸다. 9B is a signal flow diagram for network connection test of a node according to various embodiments.

데이터 플로우가 인증 완료되었지만 접속이 불가능한 경우, 접속 제어 애플리케이션(211)은 해당 데이터 플로우에 기반하여 데이터 패킷을 전송하기 위하여 네트워크 접속 검사를 수행할 수 있다. If the data flow is authenticated but access is impossible, the access control application 211 may perform a network connection check to transmit a data packet based on the data flow.

도 9b를 참조하면, 동작 930에서, 접속 제어 애플리케이션(211)은 네트워크 접속 검사 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 도 9a의 동작 920을 통해 네트워크 접속 검사 이벤트를 감지할 수 있다. Referring to FIG. 9B , in operation 930, the connection control application 211 may detect a network connection check event. For example, the access control application 211 may detect a network connection check event through operation 920 of FIG. 9A.

동작 935에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)와 생성된 제어 플로우 식별 정보, 타겟 애플리케이션 식별 정보, 목적지 네트워크의 식별 정보를 포함하는 네트워크 접속 요청을 수행할 수 있다. In operation 935 , the access control application 211 may perform a network connection request to the controller 202 . For example, the access control application 211 may perform a network access request including the controller 202 and generated control flow identification information, target application identification information, and destination network identification information.

동작 940에서, 컨트롤러(202)는 제어 플로우 식별 정보를 기반으로 식별된 정보(예: 노드, 사용자, 출발지 네트워크 식별 정보)와 대응되는 접속 정책에서, 접속 요청한 식별 정보(예: 목적지 네트워크의 식별 정보 및 포트 정보)의 포함 여부 및 목적지 네트워크의 접속 가능 여부를 확인할 수 있다. 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 불가능한 경우 노드(201)의 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다(동작 955). 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 가능한 경우 동작 925를 수행할 수 있다. In operation 940, the controller 202 determines the access requested identification information (eg, destination network identification information) in the access policy corresponding to the identified information (eg, node, user, source network identification information) based on the control flow identification information. and port information) and whether the destination network is accessible can be checked. Depending on the embodiment, the controller 202 may transmit a connection failure result to the connection control application 211 of the node 201 when network access is impossible (operation 955). Depending on embodiments, the controller 202 may perform operation 925 when a network connection is possible.

접속 정책에 대한 확인이 완료된 경우, 동작 945에서, 컨트롤러(202)는 노드(201)의 네트워크 접속을 허용하기 위해 데이터 플로우 테이블(예: 도 3의 데이터 플로우 테이블(316))에 기반하여 목적지 네트워크의 식별 정보로 접속 가능한 데이터 플로우가 존재하는지 확인할 수 있다. If the verification of the access policy is complete, in operation 945, the controller 202 selects the destination network based on the data flow table (e.g., data flow table 316 of FIG. 3) to allow the node 201 to access the network. It is possible to check whether there is a data flow that can be accessed with the identification information of .

데이터 플로우 테이블에 유효한 데이터 플로우가 존재하지 않는 경우, 타겟 애플리케이션이 목적지 네트워크로 네트워크 접속이 가능하도록 컨트롤러(202)는 출발지 IP, 목적지 네트워크 식별 정보 및 인증 정책에 따라 생성된 인증 정보를 포함하는 데이터 플로우를 생성할 수 있다. If there is no valid data flow in the data flow table, the controller 202 provides a data flow including source IP, destination network identification information, and authentication information generated according to the authentication policy so that the target application can access the destination network. can create

실시예에 따라서, 인증 정보는 이후 추가 인증 갱신 없이 데이터 패킷을 상시 전송하는 것이 가능한지 여부 및 인증 갱신 시점을 포함하는 정보일 수 있다. 예를 들어, 인증 정보는 네트워크 접속 허용 이후 계속적으로 네트워크 접속을 허용할 것인지 여부 또는 특정 조건(예: TCP SYM Packet, TCP FIN Packet, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자를 포함하는 등의 룰)이 충족되는 경우 네트워크 접속을 해제하고 데이터 패킷 인증을 재수행할 것인지 여부를 포함할 수 있다. 또한, 인증 정보는 데이터 플로우 갱신 조건을 만족하는 경우 데이터 플로우의 인증 상태를 인증 필요 상태로 설정하도록 하는 정보를 포함할 수 있다. Depending on the embodiment, the authentication information may be information including whether it is possible to always transmit data packets without further authentication renewal and authentication renewal timing. For example, the authentication information is whether to allow network access continuously after allowing network access, or specific conditions (eg TCP SYM Packet, TCP FIN Packet, amount of transmitted data packets, amount of data packets included in data flow) may include whether to release the network connection and re-perform data packet authentication when a rule such as including an update processing character of a data packet included in a data flow) is satisfied. Also, the authentication information may include information for setting the authentication state of the data flow to the authentication required state when the data flow renewal condition is satisfied.

동작 950에서, 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203)로 전송할 수 있다. 다른 예를 들어, 생성된 데이터 플로우가 존재하지 않는 경우 컨트롤러(202)는 데이터 플로우를 게이트웨이(203)에게 전송하지 않을 수 있다.At operation 950 , the controller 202 may transmit the generated data flow to the gateway 203 . For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203 .

동작 955에서, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 요청(동작 935)에 대한 응답을 전송할 수 있다. 예를 들어, 생성된 데이터 플로우가 존재하는 경우 컨트롤러(202)는 생성된 데이터 플로우를 접속 제어 애플리케이션(211)에게 전송할 수 있다. 다른 예를 들어, 데이터 플로우 테이블에서 접속 가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우를 노드(201)에게 전송할 수 있다. 또 다른 예를 들어, 노드(201)의 타겟 애플리케이션의 네트워크 접속이 불가능한 경우, 컨트롤러(202)는 접속 불가 결과를 전송할 수 있다. In operation 955, the controller 202 may transmit a response to the network access request (operation 935) of the connection control application 211. For example, if the generated data flow exists, the controller 202 may transmit the generated data flow to the access control application 211 . For another example, if there is a data flow accessible from the data flow table, the corresponding data flow may be transmitted to the node 201 . For another example, when the network connection of the target application of the node 201 is impossible, the controller 202 may transmit a connection failure result.

동작 960에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 전송된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(202)은 컨트롤러(202)로부터 데이터 플로우를 수신한 경우, 수신된 데이터 플로우로 노드(201)의 데이터 플로우를 갱신하고, 데이터 플로우에 기반하여 데이터 패킷을 전송 처리할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 접속 불가 결과를 수신한 경우 데이터 패킷을 드랍할 수 있다. In operation 960, the connection control application 211 may process the result value of the response transmitted from the controller 202. For example, when receiving a data flow from the controller 202, the access control application 202 updates the data flow of the node 201 with the received data flow, and transmits and processes the data packet based on the data flow. can For another example, the access control application 211 may drop a data packet when receiving a connection failure result from the controller 202 .

일 실시예에서, 동작 930을 수행한 후 접속 제어 애플리케이션(211)은 유효성 검사 정책에 따라서 접속 애플리케이션에 대한 유효성 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 애플리케이션의 무결성 및 안정성 여부 검사(애플리케이션 위조, 변조 여부 검사, 코드 사이닝 검사 및 핑거 프린트 검사 등)를 더 수행할 수 있다. 접속 제어 애플리케이션(211)은 유효성 검사 결과가 성공인 경우 동작 935를 수행할 수 있다.In one embodiment, after performing operation 930, the access control application 211 may perform validation on the access application according to the validation policy. For example, the access control application 211 may further perform an integrity and stability test of the access application (forgery or tampering test, code signing test, fingerprint test, etc.). The access control application 211 may perform operation 935 when the validation result is successful.

도 10은 다양한 실시예들에 따른 노드의 데이터 패킷을 전송하기 위한 신호 흐름도를 나타낸다.10 shows a signal flow diagram for transmitting a data packet of a node according to various embodiments.

노드(201)의 접속 제어 애플리케이션(211)은 데이터 패킷을 전송하기 전에 해당 데이터 패킷의 인증 여부 및 갱신 필요 여부를 확인하고, 인증이 되지 않았거나 갱신이 필요한 경우 데이터 패킷을 전송하지 않도록 제어할 수 있다. The access control application 211 of the node 201 checks whether the corresponding data packet is authenticated and whether renewal is required before transmitting the data packet, and controls not to transmit the data packet if authentication is not performed or renewal is required. have.

동작 1005에서, 접속 제어 애플리케이션(211)은 데이터 패킷 전송 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 노드(201)에 포함된 다른 애플리케이션(예: 도 2의 타겟 애플리케이션(212))이 데이터 패킷을 전송하는 동작을 감지할 수 있다.At operation 1005, the connection control application 211 may detect a data packet transmission event. For example, the access control application 211 may detect an operation of transmitting a data packet by another application included in the node 201 (eg, the target application 212 of FIG. 2 ).

동작 1010에서, 접속 제어 애플리케이션(211)은 데이터 패킷 인증 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 전송 요청된 데이터 패킷의 목적지 네트워크 식별 정보에 대응되는 데이터 플로우에 포함된 인증 정보를 확인할 수 있다. 접속 제어 애플리케이션(211)은 인증 정보에 기반하여 데이터 패킷 마다 인증 데이터 패킷 포함 여부를 검사할 것인지 여부를 확인할 수 있고, 인증 데이터 패킷 포함 여부를 검사해야하는 경우 데이터 패킷 검사를 수행할 수 있다. 이 경우 접속 제어 애플리케이션(211)은 데이터 패킷에 포함된 인증 데이터 패킷이 존재하지 않거나, 데이터 패킷 내에 포함된 인증 정보가 데이터 플로우에 포함된 인증 정보와 상이한 경우 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 인증 데이터 패킷 포함 여부를 검사하지 않아도 되는 경우, 접속 제어 애플리케이션(211)은 동작 1015를 수행할 수 있다. At operation 1010, access control application 211 may perform a data packet authentication check. For example, the access control application 211 may check authentication information included in the data flow corresponding to the destination network identification information of the data packet requested to be transmitted. The access control application 211 can check whether or not to check whether the authentication data packet is included in each data packet based on the authentication information, and can perform the data packet check if it needs to check whether or not the authentication data packet is included. In this case, the access control application 211 may drop the data packet when there is no authentication data packet included in the data packet or when authentication information included in the data packet is different from authentication information included in the data flow. For another example, if it is not necessary to check whether the authentication data packet is included, the access control application 211 may perform operation 1015.

동작 1015에서, 접속 제어 애플리케이션(211)은 데이터 패킷 갱신 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 인증 정보에 기반하여 인증 갱신을 위한 데이터 패킷 검사가 필요한지 여부를 확인할 수 있다. 예를 들어, 인증 갱신을 위한 데이터 패킷 검사가 필요한 경우, 접속 제어 애플리케이션(211)은 인증 정보에 포함된 인증 갱신 방식에 따라 전송 요청된 데이터 패킷을 검사할 수 있다. 실시예에 따라서, 접속 제어 애플리케이션(211)은 전송 요청된 데이터 패킷이 TCP SYN Packet이거나 TCP FIN Packet인 경우, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자 (Suffix)를 포함하는 등, 인증 정보에 포함된 일련의 룰에 따라 데이터 플로우 갱신 조건을 만족하는 경우, 데이터 플로우 갱신 절차를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우의 갱신 상태를 갱신 필요로 변경할 수 있고, 데이터 플로우에 관한 정보를 컨트롤러(202)에게 전송하며 데이터 플로우의 갱신을 요청할 수 있다(동작 1020).At operation 1015, connection control application 211 may perform a data packet update check. For example, the access control application 211 may determine whether data packet inspection for authentication renewal is required based on authentication information included in the data flow. For example, when it is necessary to inspect data packets for authentication renewal, the access control application 211 may inspect the data packet requested to be transmitted according to the authentication renewal method included in the authentication information. Depending on the embodiment, the access control application 211, if the data packet requested to be transmitted is a TCP SYN Packet or a TCP FIN Packet, if the amount of transmitted data packets exceeds the amount of data packets included in the data flow, the data When a data flow update condition is satisfied according to a set of rules included in the authentication information, such as including an update processing character (suffix) of a data packet included in the flow, a data flow update procedure may be performed. For example, the access control application 211 may change the update status of the data flow to need update, send information about the data flow to the controller 202 and request an update of the data flow (act 1020).

동작 1025에서 컨트롤러(202)는 접속 제어 애플리케이션(211)으로부터 수신된 데이터 플로우에 관한 정보에 기초하여 데이터 플로우를 갱신할 수 있다. In operation 1025, the controller 202 may update the data flow based on information about the data flow received from the access control application 211.

동작 1030에서, 컨트롤러(202)는 갱신된 데이터 플로우를 게이트웨이(203)에게 전송할 수 있다. At operation 1030 , the controller 202 may transmit the updated data flow to the gateway 203 .

실시예에 따라서, 동작 1020 내지 동작 1030은 데이터 플로우의 갱신이 필요하지 않은 경우 수행되지 않을 수 있다. Depending on embodiments, operations 1020 to 1030 may not be performed when data flow update is not required.

인증 갱신을 위한 데이터 패킷 검사가 필요하지 않은 경우, 동작 1035에서, 접속 제어 애플리케이션(211)은 데이터 패킷을 전송 처리할 수 있다. 또한, 인증 갱신이 완료된 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 전송 처리 할 수 있다. 또한, 접속 제어 애플리케이션(211)은 동작 1010 또는 동작 1015를 통해 데이터 패킷의 검사가 완료된 경우 데이터 패킷을 전송할 수 있다. 실시예에 따라서, 접속 제어 애플리케이션(211)은 동작 1010 또는 동작 1015에서 데이터 패킷의 검사가 실패한 경우 데이터 패킷을 드랍할 수 있다. If data packet inspection for authentication renewal is not required, in operation 1035, the access control application 211 may transfer the data packet. In addition, when authentication renewal is completed, the access control application 211 may transmit a data packet. In addition, the access control application 211 may transmit the data packet when the inspection of the data packet is completed through operation 1010 or operation 1015 . Depending on the embodiment, the access control application 211 may drop the data packet when the data packet inspection fails in operation 1010 or operation 1015 .

도 11은 다양한 실시예들에 따른 게이트웨이의 데이터 패킷 수신을 제어하기 위한 신호 흐름도를 나타낸다.11 shows a signal flow diagram for controlling reception of a data packet by a gateway according to various embodiments.

게이트웨이(203)는 데이터 패킷을 수신한 경우, 데이터 패킷을 포워딩하기 전에 해당 데이터 패킷의 인증 여부 및 갱신 필요 여부를 확인하고, 인증이 되지 않았거나 갱신이 필요한 경우 데이터 패킷을 포워딩하지 않도록 제어할 수 있다. When a data packet is received, the gateway 203 checks whether the corresponding data packet is authenticated and whether renewal is required before forwarding the data packet, and controls not to forward the data packet if authentication is not performed or renewal is required. have.

동작 1105에서, 게이트웨이(203)는 데이터 패킷 수신 이벤트를 감지할 수 있다. 예를 들어, 게이트웨이(203)는 노드(201)의 접속 제어 애플리케이션(211)으로부터 전송된 데이터 패킷을 감지할 수 있다. At operation 1105, gateway 203 may detect a data packet reception event. For example, gateway 203 may detect data packets transmitted from connection control application 211 of node 201 .

동작 1110에서, 게이트웨이(203)는 수신된 데이터 패킷의 출발지 IP, 목적지 네트워크의 식별 정보를 확인할 수 있고, 출발지 IP, 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우의 존재 여부를 확인할 수 있다. 실시예에 따라서, 출발지 IP, 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우가 존재하지 않는 경우 게이트웨이(203)는 데이터 패킷을 드랍할 수 있다. In operation 1110, the gateway 203 may check the source IP of the received data packet and identification information of the destination network, and may check whether a data flow corresponding to the source IP and destination network identification information exists. Depending on the embodiment, the gateway 203 may drop the data packet when a data flow corresponding to the source IP and identification information of the destination network does not exist.

데이터 플로우가 존재하는 경우, 동작 1115에서, 게이트웨이(203)는 데이터 패킷 인증 검사를 수행할 수 있다. 예를 들어, 게이트웨이(203)는 수신된 데이터 패킷의 목적지 네트워크 식별 정보에 대응되는 데이터 플로우에 포함된 인증 정보를 확인할 수 있다. 게이트웨이(203)는 인증 정보에 기반하여 데이터 패킷 마다 인증 데이터 패킷 포함 여부를 검사할 것인지 여부를 확인할 수 있고, 인증 데이터 패킷 포함 여부를 검사해야하는 경우 데이터 패킷 검사를 수행할 수 있다. 이 경우 게이트웨이(203)는 데이터 패킷에 포함된 인증 데이터 패킷이 존재하지 않거나, 데이터 패킷 내에 포함된 인증 정보가 데이터 플로우에 포함된 인증 정보와 상이한 경우 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 인증 데이터 패킷 포함 여부를 검사하지 않아도 되는 경우, 게이트웨이(203)는 동작 1120을 수행할 수 있다. If the data flow exists, at operation 1115, gateway 203 may perform a data packet authentication check. For example, the gateway 203 may check authentication information included in the data flow corresponding to the destination network identification information of the received data packet. The gateway 203 can check whether to check whether the authentication data packet is included in each data packet based on the authentication information, and can perform the data packet check if it needs to check whether or not the authentication data packet is included. In this case, the gateway 203 may drop the data packet when the authentication data packet included in the data packet does not exist or when authentication information included in the data packet is different from authentication information included in the data flow. For another example, when it is not necessary to check whether the authentication data packet is included, the gateway 203 may perform operation 1120.

동작 1120에서, 게이트웨이(203)는 데이터 패킷 갱신 검사를 수행할 수 있다. 예를 들어, 게이트웨이(203)는 데이터 플로우에 포함된 인증 정보에 기반하여 인증 갱신을 위한 데이터 패킷 검사가 필요한지 여부를 확인할 수 있다. 예를 들어, 인증 갱신을 위한 데이터 패킷 검사가 필요한 경우, 게이트웨이(203)는 인증 정보에 포함된 인증 갱신 방식에 따라 수신된 데이터 패킷을 검사할 수 있다. 실시예에 따라서, 게이트웨이(203)는 수신된 데이터 패킷이 TCP SYN Packet이거나 TCP FIN Packet인 경우, 수신된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자 (Suffix)를 포함하는 등, 인증 정보에 포함된 일련의 룰에 따라 데이터 플로우 갱신 조건을 만족하는 경우, 데이터 플로우 갱신 절차를 수행할 수 있다. 예를 들어, 게이트웨이(230)는 데이터 플로우의 갱신 상태를 갱신 필요로 변경할 수 있고, 데이터 플로우에 관한 정보를 컨트롤러(202)에게 전송하며 데이터 플로우의 갱신을 요청할 수 있다(동작 1125).At operation 1120, gateway 203 may perform a data packet update check. For example, the gateway 203 may determine whether data packet inspection for authentication renewal is required based on authentication information included in the data flow. For example, when it is necessary to inspect a data packet for authentication renewal, the gateway 203 may inspect the received data packet according to an authentication renewal method included in authentication information. Depending on the embodiment, if the received data packet is a TCP SYN Packet or a TCP FIN Packet, the gateway 203 includes the received data packet in the data flow if the amount exceeds the amount of data packet included in the data flow. When the data flow update conditions are satisfied according to a series of rules included in the authentication information, such as including the update processing character (suffix) of the updated data packet, the data flow update procedure may be performed. For example, the gateway 230 may change the update status of the data flow to update required, transmit information about the data flow to the controller 202, and request update of the data flow (operation 1125).

동작 1130에서 컨트롤러(202)는 게이트웨이(203)로부터 수신된 데이터 플로우에 관한 정보에 기초하여 데이터 플로우를 갱신할 수 있다. In operation 1130, the controller 202 may update the data flow based on the data flow information received from the gateway 203.

실시예에 따라서, 동작 1125 및 동작 1130은 데이터 플로우의 갱신이 필요하지 않은 경우 수행되지 않을 수 있다. Depending on embodiments, operations 1125 and 1130 may not be performed when data flow update is not required.

인증 갱신을 위한 데이터 패킷 검사가 필요하지 않은 경우, 동작 1135에서, 게이트웨이(203)는 데이터 패킷을 포워딩할 수 있다. 또한, 인증 갱신이 완료된 경우 게이트웨이(203)는 데이터 패킷을 포워딩할 수 있다. 또한, 게이트웨이(203)는 동작 1115 또는 동작 1120를 통해 데이터 패킷의 검사가 완료된 경우 데이터 패킷을 포워딩할 수 있다. 실시예에 따라서, 게이트웨이(203)는 동작 1115 또는 동작 1120에서 데이터 패킷의 검사가 실패한 경우 데이터 패킷을 드랍할 수 있다.If data packet inspection for authentication renewal is not required, at operation 1135, gateway 203 may forward the data packet. Also, when authentication renewal is completed, the gateway 203 may forward the data packet. In addition, the gateway 203 may forward the data packet when the inspection of the data packet is completed through operation 1115 or operation 1120 . Depending on embodiments, the gateway 203 may drop the data packet when the data packet inspection fails in operation 1115 or operation 1120.

도 12는 다양한 실시예들에 따른 노드의 제어 플로우를 갱신하기 위한 신호 흐름도를 나타낸다.12 shows a signal flow diagram for updating a control flow of a node according to various embodiments.

접속 제어 애플리케이션(211)은 노드(201)의 제어 플로우 및 데이터 플로우에 관한 정보를 유지하고, 갱신된 데이터 플로우를 컨트롤러(202)로부터 수신하거나 제어 플로우가 유효한지 여부를 확인하기 위하여 주기적으로 제어 플로우를 갱신 요청할 수 있다.The access control application 211 maintains information about the control flow and data flow of the node 201 and periodically checks the control flow to receive an updated data flow from the controller 202 or to check whether the control flow is valid. can request an update.

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

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

동작 1215에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 노드(201)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1220). In operation 1215, the controller 202 may check whether a control flow exists in a control flow table (eg, the 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 (eg, when the connection is disconnected by another security system, when the connection is disconnected by its own risk detection, etc.), the controller 202 determines that the connection of the node 201 is valid. Therefore, a connection failure result may be transmitted to the connection control application 211 (operation 1220).

컨트롤러(202)는 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는 경우 갱신 시각을 업데이트 할 수 있다. 이 경우, 컨트롤러(202)는 갱신된 제어 플로우의 식별 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1220).The controller 202 may update the update time when a control flow exists in the control flow table (eg, the control flow table 315 of FIG. 3 ). In this case, the controller 202 may transmit identification information of the updated control flow to the connection control application 211 (operation 1220).

일 실시예에서, 컨트롤러(202)는 식별된 제어 플로우에 종속된 데이터 플로우 중 재인증을 수행해야하거나, 더 이상 접속이 불가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우에 관한 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1220).In one embodiment, the controller 202 is required to perform re-authentication among data flows subordinate to the identified control flow, or if there is a data flow to which access is no longer possible, the controller 202 transmits information about the corresponding data flow to an access control application ( 211) (operation 1220).

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

도 13은 다양한 실시예들에 따른 노드의 접속 해제에 대한 신호 흐름도를 나타낸다.13 shows a signal flow diagram for disconnection of a node according to various embodiments.

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

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

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

동작 1325에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다. In operation 1325, the controller 202 may request the gateway 203 to remove all data flows dependent on the removed control flow.

도 14는 다양한 실시예들에 따른 노드의 애플리케이션 실행 종료에 대한 신호 흐름도를 나타낸다.14 illustrates a signal flow diagram for termination of application execution of a node according to various embodiments.

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

동작 1410에서, 접속 제어 애플리케이션(211)은 종료된 애플리케이션 식별 정보 및 PID(Process ID 및 Child Process ID Tree) 정보에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 데이터 플로우가 존재하는 경우 접속 제어 애플리케이션은 해당 데이터 플로우를 삭제할 수 있다. 실시예에 따라서, 접속 제어 애플리케이션(211)은 다중으로 실행 가능한 애플리케이션의 종료를 추적하기 위하여 종료된 애플리케이션이 실행중인 프로세스 목록에서 존재하는지 여부를 확인할 수 있고, 존재하지 않는 경우 종료된 애플리케이션의 식별 정보에 대응되는 데이터 플로우를 모두 삭제할 수 있다. In operation 1410, the access control application 211 may check whether a data flow corresponding to the terminated application identification information and PID (Process ID and Child Process ID Tree) information exists. If a data flow exists, the access control application can delete that data flow. Depending on the embodiment, the access control application 211 may check whether the terminated application exists in the running process list in order to track the termination of the multi-executable application, and if not, the identification information of the terminated application. All data flows corresponding to can be deleted.

동작 1415에서, 접속 제어 애플리케이션(211)은 삭제된 데이터 플로우에 대하여 컨트롤러(202)에게 삭제 요청할 수 있다. In operation 1415, the access control application 211 may request the controller 202 to delete the deleted data flow.

동작 1420에서, 컨트롤러(202)는 삭제 요청된 데이터 플로우를 삭제할 수 있다. 또한, 컨트롤러(202)는 삭제된 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다. 따라서, 삭제된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다.In operation 1420, the controller 202 may delete the data flow requested to be deleted. Also, the controller 202 may perform a removal request for the deleted data flow to the gateway 203 . Accordingly, data packets corresponding to source network, destination network, and port information included in the deleted data flow cannot be transmitted any more.

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

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

Claims (12)

노드에 있어서,
통신 회로;
상기 통신 회로와 작동적으로 연결되는 프로세서; 및
상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션 및 타겟 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는 상기 프로세서에 의해서 실행될 때 상기 노드가,
상기 접속 제어 애플리케이션을 통해 네트워크 접속 이벤트를 감지하고,
상기 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고, 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하고, 상기 데이터 플로우는 인증 상태 및 인증 정보를 포함하고,
전송이 허용된 상기 데이터 플로우가 존재하면, 상기 데이터 패킷을 전송하고,
전송이 허용되지 않은 상기 데이터 플로우가 존재하면, 상기 인증 상태에 기반하여 상기 데이터 패킷의 전송 가능 여부에 관련된 네트워크 접속 검사를 수행하거나, 상기 인증 정보에 포함된 인증 필요 여부 및 인증 갱신을 위한 데이터 패킷 검사를 수행할지 여부에 기반하여 상기 데이터 패킷에 대한 검사를 수행하고,
전송 가능한 데이터 플로우로 갱신된 경우, 상기 데이터 패킷을 전송하고,
상기 데이터 플로우의 상기 인증 상태가 유효하지 않으면 상기 데이터 패킷을 드랍하도록 하는, 명령어들을 저장하는, 노드.
In node,
communication circuit;
a processor in operative connection with the communication circuitry; and
a memory operatively connected to the processor and storing a connection control application and a target application, wherein the memory, when executed by the processor, causes the node to:
detecting a network access event through the access control application;
Checking the existence of a data flow corresponding to a data packet to be transmitted by the target application and authorized from an external server, the data flow including authentication status and authentication information;
If the data flow allowed to be transmitted exists, transmit the data packet;
If the data flow that is not allowed to be transmitted exists, perform a network connection check related to whether or not transmission of the data packet is possible based on the authentication state, or whether or not authentication is required included in the authentication information and a data packet for authentication renewal Perform inspection on the data packet based on whether to perform inspection;
When updated to a transmittable data flow, transmit the data packet;
and drop the data packet if the authentication status of the data flow is not valid.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 네트워크 접속 검사를 수행하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 외부 서버에게 네트워크 접속 요청을 수행하고, 상기 네트워크 접속 요청은 상기 타겟 애플리케이션의 목적지 네트워크의 식별 정보 및 상기 타겟 애플리케이션의 식별 정보를 포함하고,
상기 접속 제어 애플리케이션을 통해 상기 외부 서버로부터 데이터 플로우 또는 접속 불가 정보를 수신하고,
상기 수신된 데이터 플로우에 기반하여 상기 데이터 패킷을 전송하거나, 또는 상기 접속 불가 정보에 기반하여 상기 데이터 패킷을 드랍하도록 하는, 노드.
The method of claim 1, wherein the instructions are the node,
When performing the network access check, a network access request is made to the external server through the access control application, and the network access request includes identification information of a destination network of the target application and identification information of the target application. do,
Receiving data flow or connection unavailability information from the external server through the access control application;
A node configured to transmit the data packet based on the received data flow or to drop the data packet based on the access unavailability information.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 제1 네트워크 접속 인증 요청을 수신하고, 상기 제1 네트워크 접속 인증 요청은 상기 타겟 애플리케이션의 식별 정보, 상기 타겟 애플리케이션의 목적지 네트워크의 식별 정보 및 인증 정보를 포함하고,
상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 식별 정보, 상기 목적지 네트워크의 식별 정보 및 상기 인증 정보에 대응되는 인증된 데이터 플로우가 존재하는지 확인하고,
상기 인증된 데이터 플로우가 존재하면, 상기 타겟 애플리케이션에게 네트워크 접속 인증 성공 결과를 반환하고,
상기 인증된 데이터 플로우가 존재하지만 유효하지 않으면 상기 타겟 애플리케이션에게 네트워크 접속 인증 실패 결과를 반환하도록 하는, 노드.
The method of claim 1, wherein the instructions are the node,
Through the access control application, a first network access authentication request of the target application is received, and the first network access authentication request includes identification information of the target application, identification information of a destination network of the target application, and authentication information. do,
Through the access control application, check whether an authenticated data flow corresponding to the identification information of the target application, the identification information of the destination network, and the authentication information exists;
If the authenticated data flow exists, returning a network access authentication success result to the target application;
and returning a network access authentication failure result to the target application if the authenticated data flow exists but is not valid.
제 3 항에 있어서, 상기 명령어들은 상기 노드가,
상기 인증된 데이터 플로우가 존재하지 않으면, 상기 접속 제어 애플리케이션을 통해 상기 외부 서버에게 제2 네트워크 접속 인증 요청을 수행하고,
상기 외부 서버로부터 인증 정보를 포함하는 데이터 플로우를 수신하고, 상기 타겟 애플리케이션에게 네트워크 접속 인증 성공 결과를 반환하도록 하는, 노드.
The method of claim 3, wherein the instructions are the node,
If the authenticated data flow does not exist, performing a second network access authentication request to the external server through the access control application;
A node configured to receive a data flow including authentication information from the external server and return a network connection authentication success result to the target application.
제 4 항에 있어서,
상기 인증 정보는 상기 외부 서버에 포함된 인증 정책에 기반하여 생성되고,
상기 인증 정보는 추가 인증 없이 데이터 패킷을 전송하는 것이 가능한지 여부에 대한 정보 및 상기 인증 정책에 기반하여 상기 데이터 플로우의 갱신 조건을 만족하는 경우 상기 데이터 플로우의 인증 상태를 변경하는 정보를 포함하는, 노드.
According to claim 4,
The authentication information is generated based on an authentication policy included in the external server,
The authentication information includes information on whether it is possible to transmit a data packet without additional authentication and information for changing the authentication state of the data flow when an update condition of the data flow is satisfied based on the authentication policy Node, .
제 4 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 외부 서버로부터 수신된 미인증 네트워크 접속 가능 여부 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 인증 없이 전송할 것인지 여부를 결정하고,
상기 데이터 패킷을 인증 없이 전송하는 경우 상기 외부 서버에게 네트워크 접속 요청을 수행하고,
상기 외부 서버로부터 상기 인증 정보를 포함하는 데이터 플로우를 수신하고,
상기 수신된 데이터 플로우에 기반하여 상기 데이터 패킷을 전송하도록 하는, 노드.
The method of claim 4, wherein the instructions are the node,
determining whether or not to transmit data packets of the target application without authentication based on the unauthenticated network access availability information received from the external server through the access control application;
When the data packet is transmitted without authentication, a network connection request is made to the external server;
Receiving a data flow including the authentication information from the external server;
A node to transmit the data packet based on the received data flow.
제 3 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션의 애플리케이션 인터페이스를 통해서 상기 타겟 애플리케이션의 상기 제1 네트워크 접속 인증 요청을 수행하도록 하는, 노드.
The method of claim 3, wherein the instructions are the node,
and perform the first network connection authentication request of the target application through an application interface of the access control application.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해, 상기 인증 정보에 기반하여 전송되는 데이터 패킷 마다 인증 데이터 패킷 포함 여부를 검사할지 여부를 확인하고,
상기 전송되는 데이터 패킷 마다 인증 데이터 패킷 포함 여부를 검사해야하는 경우 상기 데이터 패킷을 검사하고,
상기 데이터 패킷에 인증 데이터 패킷이 존재하지 않거나 또는 상기 데이터 패킷에 포함된 인증 정보가 상기 데이터 플로우에 포함된 인증 정보와 상이한 경우 상기 데이터 패킷을 드랍하도록 하는, 노드.
The method of claim 1, wherein the instructions are the node,
Through the access control application, check whether to check whether an authentication data packet is included in each data packet transmitted based on the authentication information,
If it is necessary to check whether or not an authentication data packet is included in each of the transmitted data packets, the data packet is checked,
and drop the data packet when no authentication data packet exists in the data packet or authentication information included in the data packet is different from authentication information included in the data flow.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해, 상기 인증 갱신을 위한 데이터 패킷 검사가 필요한 경우, 상기 인증 정보에 포함된 인증 갱신 방식에 기반하여 데이터 패킷을 검사하고,
상기 인증 정보에 포함된 데이터 플로우 갱신 조건을 만족하는 경우 상기 데이터 플로우의 갱신 상태를 갱신 필요로 설정하도록 하는, 노드.
The method of claim 1, wherein the instructions are the node,
Through the access control application, if data packet inspection for the authentication renewal is required, the data packet is inspected based on the authentication renewal method included in the authentication information;
A node configured to set an update state of the data flow to require update when a data flow update condition included in the authentication information is satisfied.
제 9 항에 있어서, 상기 명령어들은 상기 노드가,
상기 데이터 플로우의 갱신 상태가 갱신 필요인 경우 상기 외부 서버에게 상기 데이터 플로우 갱신 요청을 수행하고,
상기 데이터 플로우 갱신 요청은 상기 데이터 플로우 정보를 포함하도록 하는, 노드.
10. The method of claim 9, wherein the instructions are the node,
When the update status of the data flow is update required, a data flow update request is performed to the external server;
wherein the data flow update request includes the data flow information.
삭제delete 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 있어서,
상기 접속 제어 애플리케이션을 통해 네트워크 접속 이벤트를 감지하는 단계;
타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고, 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하는 단계, 상기 데이터 플로우는 인증 상태 및 인증 정보를 포함하고;
전송이 허용된 상기 데이터 플로우가 존재하면, 상기 데이터 패킷을 전송하거나, 전송이 허용되지 않은 상기 데이터 플로우가 존재하면 상기 인증 상태에 기반하여 상기 데이터 패킷의 전송 가능 여부에 관련된 네트워크 접속 검사를 수행하거나, 상기 인증 정보에 포함된 인증 필요 여부 및 인증 갱신을 위한 데이터 패킷 검사를 수행할지 여부에 기반하여 상기 데이터 패킷에 대한 검사를 수행하고 전송 가능한 데이터 플로우로 갱신된 경우 상기 데이터 패킷을 전송하거나, 또는 상기 데이터 플로우의 상기 인증 상태가 유효하지 않으면 상기 데이터 패킷을 드랍하는 단계; 를 포함하는, 방법.

In the operating method of the access control application installed in the node,
detecting a network connection event through the access control application;
confirming existence of a data flow corresponding to a data packet to be transmitted by the target application and authorized from an external server, the data flow including authentication status and authentication information;
If the data flow allowed to be transmitted exists, the data packet is transmitted; , The data packet is inspected based on whether authentication is required and whether or not to perform a data packet inspection for authentication renewal included in the authentication information, and transmits the data packet when updated to a transmittable data flow, or dropping the data packet if the authentication status of the data flow is invalid; Including, method.

KR1020220040744A 2022-03-31 2022-03-31 System for controlling network access based on controller and method of the same KR102472554B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220040744A KR102472554B1 (en) 2022-03-31 2022-03-31 System for controlling network access based on controller and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220040744A KR102472554B1 (en) 2022-03-31 2022-03-31 System for controlling network access based on controller and method of the same

Publications (1)

Publication Number Publication Date
KR102472554B1 true KR102472554B1 (en) 2022-12-01

Family

ID=84440716

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220040744A KR102472554B1 (en) 2022-03-31 2022-03-31 System for controlling network access based on controller and method of the same

Country Status (1)

Country Link
KR (1) KR102472554B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102613414B1 (en) * 2023-02-08 2023-12-14 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102223827B1 (en) * 2019-09-24 2021-03-08 프라이빗테크놀로지 주식회사 System for authenticating and controlling network access of terminal and method thereof
KR102364445B1 (en) * 2021-04-28 2022-02-18 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102377248B1 (en) * 2021-06-10 2022-03-23 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102223827B1 (en) * 2019-09-24 2021-03-08 프라이빗테크놀로지 주식회사 System for authenticating and controlling network access of terminal and method thereof
KR102364445B1 (en) * 2021-04-28 2022-02-18 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102377248B1 (en) * 2021-06-10 2022-03-23 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102613414B1 (en) * 2023-02-08 2023-12-14 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same

Similar Documents

Publication Publication Date Title
KR102119257B1 (en) System for controlling network access of terminal based on tunnel and method thereof
KR102396528B1 (en) System for controlling network access based on controller and method of the same
KR102439881B1 (en) System for controlling network access based on controller and method of the same
KR102460691B1 (en) System for controlling network access based on controller and method of the same
KR102460696B1 (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
KR102333555B1 (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
KR102495369B1 (en) System for controlling network access based on controller and method of the same
US11271777B2 (en) System for controlling network access of terminal based on tunnel and method thereof
KR102502367B1 (en) System for controlling network access based on controller and method of the same
KR102460695B1 (en) System for controlling network access based on controller and method of the same
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
KR102333553B1 (en) System for controlling network access based on controller and method of the same
KR102333554B1 (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
KR102495373B1 (en) System for controlling network access based on application inspection and method of the same
KR102407135B1 (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
KR102358595B1 (en) System for controlling network access based on controller and method of the same
KR102564416B1 (en) System for controlling network access and method of the same
KR102554200B1 (en) System for controlling data flow based on logical connection identification and method of the same
KR102593271B1 (en) System for controlling network access and method of the same
KR102545160B1 (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