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

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

Info

Publication number
KR102613414B1
KR102613414B1 KR1020230017021A KR20230017021A KR102613414B1 KR 102613414 B1 KR102613414 B1 KR 102613414B1 KR 1020230017021 A KR1020230017021 A KR 1020230017021A KR 20230017021 A KR20230017021 A KR 20230017021A KR 102613414 B1 KR102613414 B1 KR 102613414B1
Authority
KR
South Korea
Prior art keywords
node
data flow
service request
information
service
Prior art date
Application number
KR1020230017021A
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 KR1020230017021A priority Critical patent/KR102613414B1/en
Application granted granted Critical
Publication of KR102613414B1 publication Critical patent/KR102613414B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0272Virtual private networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements

Abstract

본 문서에 개시된 일 실시예에 따른 게이트웨이는 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 외부 서버로부터 데이터 플로우를 수신하되, 상기 데이터 플로우는 상기 외부 서버에게 네트워크 접속 요청을 수행한 노드의 접속 가능 여부에 관련된 정보 및 보안 세션 생성 가능 여부에 관련된 인증서 정보를 포함하고, 상기 노드로부터 보안 세션 생성 요청을 수신하고, 상기 보안 세션 생성 요청에 대응되는 데이터 플로우의 존재를 확인하고, 상기 보안 세션 생성 요청에 대응되는 데이터 플로우가 존재하면, 해당 데이터 플로우에 포함된 인증서 정보에 기반하여 상기 보안 세션 생성 요청이 유효한지 여부를 검사하고, 보안 세션이 생성되면, 상기 노드로부터 수신되는 서비스 처리 요청을 상기 보안 세션에 기반하여 처리하도록 구성될 수 있다. A gateway according to an embodiment disclosed in this document includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a data flow from an external server, and the data flow is Contains information related to whether the node that made the network connection request to the external server can be connected and certificate information related to whether a secure session can be created, receives a secure session creation request from the node, and responds to the secure session creation request. Check the existence of a data flow, and if a data flow corresponding to the secure session creation request exists, check whether the secure session creation request is valid based on the certificate information included in the data flow, and the secure session is created. Once created, it may be configured to process service processing requests received from the node based on the secure session.

Description

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

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

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

단말은 IP(Internet Protocol) 기반의 TCP(Transmission Control Protocol) 또는 UDP(User Datagram Protocol)를 활용하여 서버와 통신을 수행하며, TCP 또는 UDP 기술에서 인가된 출발지 IP와 도착지 IP 간 접속을 제어하기 위한 방화벽 기술이 이용될 수 있다. 이러한 IP 통신의 경우, 데이터 패킷이 평문으로 전송되기 때문에 제3 자는 태핑(tapping) 장비나 로그(rouge) WiFi와 같은 스니핑 기술을 이용하여 데이터 패킷의 중요 정보를 쉽게 열람할 수 있는 문제점이 있으므로, 이를 해결하기 위하여 단말과 서버 간 데이터 패킷을 암호화하기 위한 VPN(Virtual Private Network) 기술 및 터널링 기술이 이용된다. The terminal communicates with the server using IP (Internet Protocol)-based TCP (Transmission Control Protocol) or UDP (User Datagram Protocol), and is used to control the connection between the source IP and destination IP authorized by TCP or UDP technology. Firewall technology may be used. In the case of IP communication, because data packets are transmitted in plain text, there is a problem that a third party can easily view important information in the data packet using sniffing technology such as tapping equipment or rouge WiFi. To solve this problem, VPN (Virtual Private Network) technology and tunneling technology are used to encrypt data packets between the terminal and the server.

터널링 기술은 서비스 서버에 따라 터널링 사용 여부 및 관련 규격이 모두 상이하기 때문에, 특정 네트워크나 서비스에 종속되는 네트워크 접속만을 제어하는 것으로 범위가 한정될 수 있다. 또한, 터널링 기술은 광범위한 네트워크 대역을 설정해야 하므로 단말 내에서 구동되는 각각의 애플리케이션 및 애플리케이션이 접속하고자 하는 서비스 서버 단위의 통신을 제어하는데 어려움이 있을 수 있다. Because tunneling technology uses different tunneling technologies and related standards depending on the service server, the scope may be limited to controlling only network access dependent on a specific network or service. In addition, since tunneling technology requires setting up a wide network band, it may be difficult to control communication at the unit of each application running in the terminal and the service server to which the application wants to access.

이러한 터널링 기술의 단점을 보완하기 위하여 터널링 보다 쉽고 간편하게 안전한 통신을 보장할 수 있는 보안 세션 기술이 고려될 수 있다. 예를 들어, TLS(Transport Layer Security), SSL(Secure Sockets Layer), DTLS(Datagram Transport Layer Security), MTLS(Mutual Transport layer Security), 또는 HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer)와 같은 프로토콜에 보안 세션 기술이 적용될 수 있다. To compensate for these shortcomings of tunneling technology, secure session technology that can ensure safe communication more easily and conveniently than tunneling can be considered. For example, protocols such as Transport Layer Security (TLS), Secure Sockets Layer (SSL), Datagram Transport Layer Security (DTLS), Mutual Transport layer Security (MTLS), or Hyper Text Transfer Protocol over Secure Socket Layer (HTTPS). Secure session technology may be applied.

보안 세션 기술에서 단말과 서비스 서버는 사전에 세션 생성 및 협상(negotiation) 절차를 수행해야 하는데, OSI(Open Systems Interconnection) 7 계층을 기반으로 하는 IP 통신의 특성상 통신을 요청하는 대상(예: 단말 또는 애플리케이션)이 사전에 인가된 안전한 대상인지에 대해서 확인할 수 있는 방법이 존재하지 않으므로 네트워크 수준(즉, OSI 7계층)에서 인가되지 않은 대상을 차단하는 것이 어렵다. 서비스 서버가 인증 조건을 만족하는 않는 대상의 접속을 차단할 수 있지만, 이러한 방식은 이미 TCP 세션 또는 보안 세션이 생성되거나 서비스 프로토콜 접속 절차(예: HTTP)가 수행된 이후에 가능한 것이므로 해당 방식만으로는 허용되지 않은 대상의 네트워크 접속을 원천적으로 차단하거나 해제할 수 없으며, 공격자는 HTTPS와 같이 잘 알려진 프로토콜 및 열린 포트를 통해서 DoS(Denial of Service) 공격이 가능하다. 나아가, 단말의 애플리케이션 내에 포함된 보안 기능이 실행되지 않거나 애플리케이션 내에 위험 요소가 존재하는 경우, 단말 또는 네트워크가 이를 탐지하더라도 네트워크 연결 상태에서 탐지된 위협을 차단할 수 있는 방법이 존재하지 않는다. In secure session technology, the terminal and the service server must perform session creation and negotiation procedures in advance, but due to the nature of IP communication based on OSI (Open Systems Interconnection) 7 layer, the target requesting communication (e.g. the terminal or Since there is no way to check whether an application) is a pre-authorized and safe target, it is difficult to block unauthorized targets at the network level (i.e., OSI layer 7). The service server can block access from targets that do not meet the authentication conditions, but this method is possible after a TCP session or security session has already been created or a service protocol access procedure (e.g. HTTP) has been performed, so this method alone is not permitted. It is impossible to fundamentally block or disable network access of unauthorized targets, and attackers can launch DoS (Denial of Service) attacks through well-known protocols such as HTTPS and open ports. Furthermore, if the security function included in the terminal's application is not executed or if a risk element exists in the application, there is no way to block the detected threat while connected to the network even if the terminal or the network detects it.

또한, 단말과 서비스 서버 간 보안 세션이 생성되면 암호화된 데이터 패킷이 서비스 서버의 네트워크 경계에 존재하는 필터링 기반 보안 기술(예: IDS(Intrusion Detection System), IPS(Intrusion Prevention System), NGFW(Next Generation Firewall))을 사용할 수 없는 문제가 발생할 수 있다.In addition, when a security session is created between a terminal and a service server, encrypted data packets are sent using filtering-based security technologies (e.g., IDS (Intrusion Detection System), IPS (Intrusion Prevention System), NGFW (Next Generation System) that exist at the network boundary of the service server. Problems may arise where Firewall) cannot be used.

이동성을 가진 단말의 경우 핸드오버(Handover)에 의하여 출발지 IP가 지속적으로 변화하기 때문에 게이트웨이에서 출발지 IP 기준으로 데이터 패킷 전송을 차단하는 문제가 발생할 수 있다. 즉, 핸드오버가 잦은 단말의 경우 IP 변경시마다 매번 네트워크 접속 인증을 해야하는 문제가 발생할 수 있다.In the case of mobile terminals, because the source IP continuously changes due to handover, a problem may occur where the gateway blocks data packet transmission based on the source IP. In other words, in the case of terminals with frequent handovers, a problem may arise where network connection authentication is required every time the IP is changed.

또한, 최초 보안 세션 생성시 인증 과정을 통해서 인가된 애플리케이션만 보안 세션을 가능하게 하지만, 해당 보안 세션이 실질적으로 어느 애플리케이션과 매칭되어 인가되었는지 알 수 없기 때문에 애플리케이션이 종료되는 경우 즉시 해당 보안 세션을 종료할 수 있는 방법이 존재하지 않는다. In addition, when creating a security session for the first time, only applications authorized through the authentication process can create a secure session. However, since it is unknown which application the security session was actually matched with and authorized, the security session is immediately terminated when the application is terminated. There is no way to do it.

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

본 문서에 개시된 일 실시예에 따른 게이트웨이는 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 외부 서버로부터 데이터 플로우를 수신하되, 상기 데이터 플로우는 상기 외부 서버에게 네트워크 접속 요청을 수행한 노드의 접속 가능 여부에 관련된 정보 및 보안 세션 생성 가능 여부에 관련된 인증서 정보를 포함하고, 상기 노드로부터 보안 세션 생성 요청을 수신하고, 상기 보안 세션 생성 요청에 대응되는 데이터 플로우의 존재를 확인하고, 상기 보안 세션 생성 요청에 대응되는 데이터 플로우가 존재하면, 해당 데이터 플로우에 포함된 인증서 정보에 기반하여 상기 보안 세션 생성 요청이 유효한지 여부를 검사하고, 보안 세션이 생성되면, 상기 노드로부터 수신되는 서비스 처리 요청을 상기 보안 세션에 기반하여 처리하도록 구성될 수 있다. A gateway according to an embodiment disclosed in this document includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a data flow from an external server, and the data flow is Contains information related to whether the node that made the network connection request to the external server can be connected and certificate information related to whether a secure session can be created, receives a secure session creation request from the node, and responds to the secure session creation request. Check the existence of a data flow, and if a data flow corresponding to the secure session creation request exists, check whether the secure session creation request is valid based on the certificate information included in the data flow, and the secure session is created. Once created, it may be configured to process service processing requests received from the node based on the secure session.

본 문서에 개시된 일 실시예에 따른 게이트웨이에 있어서, 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 외부 서버로부터 데이터 플로우를 수신하되, 상기 데이터 플로우는 상기 외부 서버에게 네트워크 접속 요청을 수행한 노드의 접속 가능 여부에 관련된 정보, 보안 세션 생성 가능 여부에 관련된 인증서 정보를 포함하고, 상기 인증서 정보에 기반하여 노드와 보안 세션을 생성하고, 상기 보안 세션 생성이 완료된 상기 노드로부터 서비스 요청을 수신하면, 서비스 요청을 수신하는 서비스 서버가 상기 노드를 식별할 수 있도록, 상기 노드의 식별 정보를 상기 서비스 요청에 삽입하여 상기 서비스 서버로 전송하도록 구성될 수 있다. In the gateway according to an embodiment disclosed in this document, it includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a data flow from an external server, and The flow includes information related to whether the node that made the network connection request to the external server can be connected, certificate information related to whether a secure session can be created, creates a secure session with the node based on the certificate information, and creates the security session. When receiving a service request from the node for which session creation has been completed, the service server receiving the service request may be configured to insert the identification information of the node into the service request and transmit it to the service server so that the service server can identify the node. there is.

본 문서에 개시된 일 실시예에 따른 서비스 서버는, 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 외부 서버로부터 데이터 플로우를 수신하되, 상기 데이터 플로우는 상기 외부 서버에게 네트워크 접속 요청을 수행한 노드의 접속 가능 여부에 관련된 정보 및 보안 세션 생성 가능 여부에 관련된 인증서 정보를 포함하고, 상기 노드로부터 보안 세션 생성 요청을 수신하고, 상기 보안 세션 생성 요청에 대응되는 데이터 플로우의 존재를 확인하고, 상기 보안 세션 생성 요청에 대응되는 데이터 플로우가 존재하면, 해당 데이터 플로우에 포함된 인증서 정보에 기반하여 상기 보안 세션 생성 요청이 유효한지 여부를 검사하고, 보안 세션이 생성되면, 상기 노드로부터 수신되는 서비스 처리 요청을 상기 보안 세션에 기반하여 처리하도록 구성될 수 있다. A service server according to an embodiment disclosed in this document includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a data flow from an external server, and stores the data. The flow includes information related to whether the node that made the network connection request to the external server can be connected and certificate information related to whether a secure session can be created, receives a secure session creation request from the node, and receives the secure session creation request. Check the existence of a data flow corresponding to, and if a data flow corresponding to the secure session creation request exists, check whether the secure session creation request is valid based on the certificate information included in the data flow, and Once a session is created, it may be configured to process service processing requests received from the node based on the secure session.

본 문서에 개시된 일 실시예에 따른 게이트웨이의 동작 방법은 외부 서버로부터 데이터 플로우를 수신하는 동작, 상기 데이터 플로우는 상기 외부 서버에게 네트워크 접속 요청을 수행한 노드의 접속 가능 여부에 관련된 정보 및 보안 세션 생성 가능 여부에 관련된 인증서 정보를 포함하고, 상기 노드로부터 보안 세션 생성 요청을 수신하는 동작, 상기 보안 세션 생성 요청에 대응되는 데이터 플로우의 존재를 확인하는 동작, 상기 보안 세션 생성 요청에 대응되는 데이터 플로우가 존재하면, 해당 데이터 플로우에 포함된 인증서 정보에 기반하여 상기 보안 세션 생성 요청이 유효한지 여부를 검사하는 동작 및 보안 세션이 생성되면, 상기 노드로부터 수신되는 서비스 처리 요청을 상기 보안 세션에 기반하여 처리하는 동작을 포함할 수 있다. A method of operating a gateway according to an embodiment disclosed in this document includes receiving a data flow from an external server, the data flow including information related to the connection availability of the node that made a network connection request to the external server and creating a security session. Contains certificate information related to availability, and includes an operation of receiving a secure session creation request from the node, an operation of checking the existence of a data flow corresponding to the secure session creation request, and a data flow corresponding to the secure session creation request. If present, an operation is performed to check whether the security session creation request is valid based on the certificate information included in the data flow, and when a security session is created, the service processing request received from the node is processed based on the security session. It may include actions such as:

본 문서에 개시된 일 실시예에 따른 게이트웨이의 동작 방법은 게이트웨이의 동작 방법에 있어서, 외부 서버로부터 데이터 플로우를 수신하는 동작, 상기 데이터 플로우는 상기 외부 서버에게 네트워크 접속 요청을 수행한 노드의 접속 가능 여부에 관련된 정보, 보안 세션 생성 가능 여부에 관련된 인증서 정보를 포함하고, 상기 인증서 정보에 기반하여 노드와 보안 세션을 생성하는 동작, 상기 보안 세션 생성이 완료된 상기 노드로부터 서비스 요청을 수신하면, 서비스 요청을 수신하는 서비스 서버가 상기 노드를 식별할 수 있도록, 상기 노드의 식별 정보를 상기 서비스 요청에 삽입하여 상기 서비스 서버로 전송하는 동작을 포함할 수 있다.A method of operating a gateway according to an embodiment disclosed in this document includes an operation of receiving a data flow from an external server, and the data flow determines whether a node that has made a network connection request to the external server can be connected. information related to, certificate information related to whether or not a secure session can be created, an operation of creating a secure session with a node based on the certificate information, upon receiving a service request from the node for which the secure session creation has been completed, sending a service request. It may include inserting identification information of the node into the service request and transmitting it to the service server so that the receiving service server can identify the node.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 보안 세션을 기반으로 인가된 대상만 네트워크에 접속할 수 있는 방법을 제공하며, 비인가된 대상의 데이터 패킷 전송을 차단할 수 있다. According to embodiments disclosed in this document, a system for controlling network access provides a method by which only authorized subjects can access the network based on a security session, and can block data packet transmission by unauthorized subjects.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 유효하지 않은 대상에 대한 위협 탐지 및 접속 해제를 위한 방법을 제공하고, 애플리케이션과 서비스 서버 간의 모호한 네트워크 접속 해제 시점을 명확히 하여 라이프 사이클 관리를 용이하게 할 수 있다. According to embodiments disclosed in this document, a system for controlling network access provides a method for detection of threats and disconnection of invalid targets, and clarifies the ambiguous network connection release point between the application and the service server. Life cycle management can be facilitated.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 비인가 대상이 전송하는 데이터 패킷을 게이트웨이를 통해 차단함으로써 서비스 자원 접속을 통한 DoS 공격 및 무작위 대입 공격(Brute Force Attack)을 막을 수 있다. According to embodiments disclosed in this document, a system for controlling network access prevents DoS attacks and brute force attacks through service resource access by blocking data packets transmitted by unauthorized entities through a gateway. You can.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 애플리케이션의 네트워크 접속 통제, 위협 차단, 및 격리에 이르는 보안 네트워크 연결 라이프사이클을 구현함으로써 기존의 IP 통신이 내제하고 있는 문제점을 해결하고 안전한 네트워크 연결을 제공할 수 있다. According to embodiments disclosed in this document, a system for controlling network access solves the problems inherent in existing IP communication by implementing a secure network connection life cycle ranging from network access control, threat blocking, and isolation of applications. It can solve the problem and provide a secure network connection.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 광범위한 네트워크 범위에서 데이터 패킷을 보호하는 터널링 기술 대비 보다 쉽고 상세하게 전송 계층에서 데이터 전송을 제어할 수 있다. According to embodiments disclosed in this document, a system for controlling network access can control data transmission at the transport layer more easily and in detail than tunneling technology that protects data packets over a wide network range.

본 문서에 개시되는 실시예들에 따르면, 서비스 서버에 접속하려는 애플리케이션마다 개별적인 수정이 필요없이 게이트웨이 또는 서버와의 보안 세션을 생성할 수 있다.According to embodiments disclosed in this document, a secure session with a gateway or server can be created without the need for individual modification for each application that wants to connect to the service server.

본 문서에 개시된 실시예들에 따르면, 어떠한 애플리케이션이 서비스 서버와 보안 세션을 생성했는지 식별할 수 있어, 해당 애플리케이션이 종료되는 경우 즉시 해당 보안 세션을 종료할 수 있다. According to the embodiments disclosed in this document, it is possible to identify which application created a secure session with the service server, so that when the application is terminated, the secure session can be terminated immediately.

또한, 본 문서에 개시된 실시예들에 따르면, 애플리케이션이 보안 세션이 생성되지 않은 상태에서 데이터 패킷을 전송하거나 전송된 보안 세션 식별 정보가 목적지 네트워크에서 수집된 보안 세션 식별 정보와 상이한 경우, Rogue 보안 세션 프록시 서버 경유 여부를 판단하여 네트워크 접속을 즉시 종료 처리할 수 있고, 애플리케이션이 종료되었을 경우 보안 세션을 즉시 제거하여 이전에 인증된 보안 세션 정보를 활용하여 목적지 네트워크와 통신하는 것을 방지할 수 있다. Additionally, according to embodiments disclosed in this document, when an application transmits a data packet without a security session being created or when the transmitted security session identification information is different from the security session identification information collected from the destination network, a rogue security session is established. The network connection can be terminated immediately by determining whether it goes through a proxy server, and when the application is terminated, the security session can be immediately removed to prevent communication with the destination network using previously authenticated security session information.

또한, 본 문서에 개시된 실시예들에 따르면, 노드 및 게이트웨이에서 생성되는 보안 세션을 검사하고, 검사 결과를 컨트롤러를 통해 검증해야 하는 라운드 트립(Round Trip) 문제를 해결할 수 있다. Additionally, according to the embodiments disclosed in this document, it is possible to solve the round trip problem in which security sessions created at nodes and gateways must be inspected and the inspection results must be verified through a controller.

또한, 본 문서에 개시된 실시예들에 따르면, 노드의 각 통신 대상 애플리케이션이 컨트롤러에 의해서 발급받은 인증서를 사전에 설정 또는 저장하여 사용함으로서, 통신 대상 애플리케이션을 부분적으로 신뢰할 수 있다는 가정하에 컨트롤러는 애플리케이션이 도착지 게이트웨이 또는 서버에 접속을 시도하는 경우 보안 세션 생성을 위한 인증서 정보를 전달하고, 해당 인증서에 기반하여 네트워크 접속이 허용된 접속 대상과의 보안 세션을 생성함으로서 Round Trip 문제를 해결할 수 있고, 인증서를 사전에 발급하여 사용하는 애플리케이션들을 추가적으로 지원할 수 있는 기술을 제공할 수 있다. In addition, according to the embodiments disclosed in this document, each communication target application of the node sets or stores a certificate issued by the controller in advance, so that the controller can partially trust the communication target application. When attempting to connect to a destination gateway or server, the round trip problem can be resolved by passing the certificate information for creating a secure session and creating a secure session with the connection target permitted to access the network based on the certificate. It can provide technology that can additionally support applications that are issued and used in advance.

또한, 본 문서에 개시된 실시예들에 따르면, 게이트웨이에서 서비스 요청 결과를 반환하는 경우 헤더 정보를 제거하고 전송함으로서 노드에서 헤더 정보를 해석하여 악의적인 목적으로 사용하는 문제를 해결할 수 있다. Additionally, according to the embodiments disclosed in this document, when the gateway returns a service request result, the header information is removed and transmitted, thereby solving the problem of the node interpreting the header information and using it for malicious purposes.

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

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.
도 2a 및 도 2b는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다.
도 5a 및 도 5b는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.
도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다.
도 7은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.
도 8은 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다.
도 9는 다양한 실시예들에 따른 데이터 패킷 수신을 위한 동작 흐름도를 도시한다.
도 10을 다양한 실시예들에 따른 보안 세션 생성을 위한 동작 흐름도를 도시한다.
도 11은 다양한 실시예들에 따른 서비스 요청 처리를 위한 동작 흐름도를 도시한다.
도 12는 다양한 실시예들에 따른 서비스 요청의 예시를 도시한다.
도 13은 다양한 실시예들에 따른 서비스 요청 결과 수신을 위한 동작 흐름도를 도시한다.
도 14는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다.
도 15는 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다.
도 16은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.
Figure 1 shows an environment including multiple networks.
2A and 2B illustrate architecture within a network environment according to various embodiments.
3 is a functional block diagram showing a database stored in a controller according to various embodiments.
Figure 4 shows a functional block diagram of a node according to various embodiments.
5A and 5B illustrate an operation for controlling transmission of data packets according to various embodiments.
Figure 6 shows a signal flow diagram for controller connection according to various embodiments.
7 shows a signal flow diagram for user authentication according to various embodiments.
Figure 8 shows a signal flow diagram for network access according to various embodiments.
9 shows an operational flowchart for receiving data packets according to various embodiments.
FIG. 10 illustrates an operation flowchart for creating a secure session according to various embodiments.
11 illustrates an operational flowchart for service request processing according to various embodiments.
12 shows an example of a service request according to various embodiments.
Figure 13 shows an operation flowchart for receiving a service request result according to various embodiments.
Figure 14 shows a signal flow diagram for control flow update according to various embodiments.
15 shows a signal flow diagram for disconnection according to various embodiments.
Figure 16 shows a signal flow diagram for terminating application execution according to various embodiments.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

컨트롤러(202)는 예를 들어, 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 노드(201), 게이트웨이(203), 및 서비스 서버(205) 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 노드(201)(또는 접속 제어 애플리케이션(211))의 네트워크 접속을 허용할 수 있다. 컨트롤러(202)는 노드(201)와 게이트웨이(203)간 보안 세션을 생성할 수 있도록 하는 정보를 제공할 수 있다. 따라서, 노드(201)의 접속 제어 애플리케이션(211)은 허용되지 않은 애플리케이션이 허용되지 않은 목적으로 데이터 패킷을 전송하는 것을 방지할 수 있고, 게이트웨이(203)와 생성된 보안 세션을 통해서 허용된 데이터 패킷만이 서비스 서버(205)로 전송될 수 있는 구조를 제공할 수 있다. 또한, 컨트롤러(202)는 유해 애플리케이션 검사 시스템(206)과 연결되어, 유해 애플리케이션 여부를 검사하도록 하는 구조를 제공할 수 있다. Controller 202 may be, for example, a server (or cloud server). The controller 202 can ensure reliable data transmission within a network environment by managing data transmission between the node 201, the gateway 203, and the service server 205. For example, the controller 202 may allow the authorized node 201 (or the access control application 211) to access the network through policy information or blacklist information. The controller 202 may provide information that allows a secure session to be created between the node 201 and the gateway 203. Accordingly, the access control application 211 of the node 201 can prevent unauthorized applications from transmitting data packets for unauthorized purposes, and allows data packets to be transmitted through the security session created with the gateway 203. It is possible to provide a structure that can only be transmitted to the service server 205. Additionally, the controller 202 may be connected to the harmful application inspection system 206 to provide a structure to check whether a harmful application exists.

실시예에 다르면, 타겟 애플리케이션(212)의 네트워크 접속은 접속 제어 애플리케이션(211), 컨트롤러(202) 또는 게이트웨이(203)로부터 차단될 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 노드(201) 또는 접속 제어 애플리케이션(211)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 접속 제어 애플리케이션(211)과 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예: 220)은 '제어 플로우(control flow)'로 참조될 수 있다. 실시예에 따르면, 컨트롤러(202)는 연동 시스템(예: 노드(201), 게이트웨이(203) 또는 서비스 서버(205))으로부터 수신된 보안 이벤트에 따라 보안 세션을 즉시 회수함으로서 상시 안전한 네트워크 상태를 유지할 수 있다. Depending on the embodiment, the network connection of the target application 212 may be blocked from the access control application 211, the controller 202, or the gateway 203. According to one embodiment, the controller 202 is a connection control application (e.g., registration, approval, authentication, renewal, termination) to perform various operations associated with the network connection of the node 201 or the access control application 211. 211) and control data packets can be transmitted and received. The flow through which control data packets are transmitted (e.g., 220) may be referred to as a 'control flow'. According to the embodiment, the controller 202 maintains a secure network state at all times by immediately retrieving a security session according to a security event received from an interconnected system (e.g., node 201, gateway 203, or service server 205). You can.

게이트웨이(203)는 노드(201)가 속하는 네트워크의 경계 또는 서비스 서버(205)가 속하는 네트워크의 경계에 위치할 수 있다. 일 실시예에 따르면, 게이트웨이(203)는 클라우드(cloud) 기반으로 컨트롤러(202)와 연결될 수 있다. 실시예에 따르면, 게이트웨이(203)는 인가된 보안 세션을 통해서 수신된 데이터 패킷을 프록시(213)를 통해서 서비스 서버(205)와의 통신을 중계할 수 있고, 서비스 서버(205)가 인증된 대상으로부터 수신된 서비스 요청을 처리하도록 하는 구조를 제공할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211) 및 게이트웨이(203) 사이에서 데이터 패킷이 전송되는 흐름은 '데이터 플로우(data flow)'로 참조될 수 있다. 데이터 플로우는 노드 또는 IP 단위뿐만 아니라 보다 세부적인 단위(예: 애플리케이션)로 생성될 수 있다. The gateway 203 may be located at the border of the network to which the node 201 belongs or the border of the network to which the service server 205 belongs. According to one embodiment, the gateway 203 may be connected to the controller 202 on a cloud basis. According to an embodiment, the gateway 203 may relay communication with the service server 205 through the proxy 213 for data packets received through an authorized security session, and the service server 205 may transmit data packets received through an authorized security session from an authenticated target. A structure can be provided to process received service requests. According to the embodiment, the flow in which data packets are transmitted between the access control application 211 and the gateway 203 may be referred to as a 'data flow'. Data flows can be created at a node or IP level, as well as at more granular units (e.g. applications).

실시예에 따르면, 게이트웨이(203)는 프록시를 포함할 수 있고, 프록시는 컨트롤러(202)에서 생성된 인증서 정보에 기반하여 노드(201)의 보안 세션 생성 요청을 처리할 수 있다. According to an embodiment, the gateway 203 may include a proxy, and the proxy may process a secure session creation request of the node 201 based on certificate information generated by the controller 202.

실시예에 따르면, 보안 세션을 활용하는 접속성 제어 기술은 타겟 애플리케이션(212)이 서비스 서버(205)에 접속하기 위해서 게이트웨이(203)와 보안 세션을 생성하고, 노드(201)에 존재하는 접속 제어 애플리케이션(211)은 허용되지 않은 애플리케이션이 허용되지 않은 목적지로 데이터 패킷을 전송하는 것을 방지할 수 있고, 게이트웨이(203) 간에 생성된 보안 세션을 통해서 허용된 데이터 패킷만 서비스 서버(205)로 전송하는 구조를 제공할 수 있다. According to the embodiment, the connectivity control technology utilizing a secure session creates a secure session with the gateway 203 in order for the target application 212 to access the service server 205, and controls the connection existing in the node 201. The application 211 can prevent unauthorized applications from transmitting data packets to unauthorized destinations, and transmits only permitted data packets to the service server 205 through a security session created between the gateways 203. It can provide structure.

실시예에 따르면, 노드(201)의 타겟 애플리케이션(212)은 컨트롤러(202)로부터 네트워크 접속이 허용된 이후에도, 게이트웨이(203)와 보안 세션이 생성되지 않으면 서비스 요청을 전송할 수 없고, 네트워크 접속이 허용되고 보안 세션이 생성된 경우에만 게이트웨이(203)에게 서비스 요청을 전송할 수 있다. According to the embodiment, even after network access is permitted by the controller 202, the target application 212 of the node 201 cannot transmit a service request unless a secure session is created with the gateway 203, and network access is permitted. and a service request can be transmitted to the gateway 203 only when a secure session is created.

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

도 2b를 참조하면, 노드(201)에 저장된 타겟 애플리케이션(212)은 게이트웨이를 통하지 않고 서비스 서버(205)와 보안 세션을 생성할 수 있다. Referring to FIG. 2B, the target application 212 stored in the node 201 can create a secure session with the service server 205 without going through a gateway.

실시예에 따르면, 서비스 서버(205)는 프록시를 포함할 수 있고, 프록시는 컨트롤러(202)에서 생성된 인증서 정보에 기반하여 노드(201)의 보안 세션 생성 요청을 처리할 수 있다. According to an embodiment, the service server 205 may include a proxy, and the proxy may process a secure session creation request of the node 201 based on certificate information generated by the controller 202.

실시예에 따르면, 보안 세션을 활용하는 접속성 제어 기술은 타겟 애플리케이션(212)이 서비스 서버(205)에 접속하기 위해서 서비스 서버(205)와 보안 세션을 생성하고, 노드(201)에 존재하는 접속 제어 애플리케이션(211)은 허용되지 않은 애플리케이션이 허용되지 않은 목적지로 데이터 패킷 또는 서비스 요청을 전송하는 것을 방지할 수 있고, 서비스 서버(205)와 생성된 보안 세션을 통해서 허용된 데이터 패킷 또는 서비스 요청만 서비스 서버(205)로 전송하는 구조를 제공할 수 있다. According to the embodiment, the connectivity control technology utilizing a secure session creates a secure session with the service server 205 in order for the target application 212 to access the service server 205, and creates a connection existing in the node 201. The control application 211 may prevent unauthorized applications from transmitting data packets or service requests to unauthorized destinations, and only allow data packets or service requests through the security session created with the service server 205. A structure for transmitting to the service server 205 can be provided.

실시예에 따르면, 노드(201)의 타겟 애플리케이션(212)은 컨트롤러(202)로부터 네트워크 접속이 허용된 이후에도, 서비스 서버(205)와 보안 세션이 생성되지 않으면 서비스 요청을 전송할 수 없고, 네트워크 접속이 허용되고 보안 세션이 생성된 경우에만 서비스 서버(205)에게 서비스 요청을 전송할 수 있다. According to the embodiment, the target application 212 of the node 201 cannot transmit a service request unless a secure session is created with the service server 205, even after network access is permitted by the controller 202, and the network connection is blocked. A service request can be transmitted to the service server 205 only when permitted and a secure session is created.

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

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

접속 정책 데이터 베이스(311)는 식별된 네트워크, 노드, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 요청 시, 접속 정책 데이터 베이스(311)의 정책에 기반하여 식별된 네트워크(예: 노드(201)가 속하는 네트워크), 노드, 사용자(예: 노드(201)의 사용자), 및/또는 애플리케이션(예: 노드(201)에 포함되는 타겟 애플리케이션(212)이 서비스 서버(205)에 접속이 가능한지 여부를 결정할 수 있다. 실시예에 따르면, 컨트롤러(202)는 접속 정책 데이터 베이스(311)에 기반하여 특정 서비스(예: IP 및 포트)로 접속 가능한 타겟 애플리케이션(212)의 화이트리스트를 생성할 수 있다. The connection policy database 311 may include information about networks and/or services to which an identified network, node, or application can access. For example, when the access control application 211 requests network access, the controller 202 identifies the network (e.g., the network to which the node 201 belongs), the node, It may be determined whether a user (e.g., a user of the node 201) and/or an application (e.g., a target application 212 included in the node 201) can access the service server 205. In the embodiment, Accordingly, the controller 202 may create a whitelist of target applications 212 that can be accessed through a specific service (eg, IP and port) based on the access policy database 311.

보안 세션 정책 데이터 베이스(312)는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(예: 도 2a 또는 도 2b의 서비스 서버(205))의 사이에 존재하는 게이트웨이(예: 도 2a 또는 도 2b의 게이트웨이(203)) 정보를 포함할 수 있다. 예를 들어, 보안 세션 정책 데이터베이스(312)는 접속 대상 애플리케이션(예: 타겟 애플리케이션(212))의 보안 세션 가능 여부에 관련된 인증서 정보를 포함할 수 있다. 실시예에 따르면, 인증서 정보는 타겟 애플리케이션(212)이 게이트웨이(203) 또는 서비스 서버(205)와 보안 세션을 생성하기 위해 사전에 발급한 정보일 수 있다. The security session policy database 312 is a gateway (e.g., the service server 205 in FIG. 2A or FIG. 2B) that exists between the service servers (e.g., the service server 205 in FIG. 2A or FIG. 2B) on the connection path according to the policy. Gateway (203)) information may be included. For example, the security session policy database 312 may include certificate information related to whether a secure session is possible for a connection target application (eg, target application 212). According to an embodiment, the certificate information may be information issued in advance by the target application 212 to create a secure session with the gateway 203 or the service server 205.

블랙리스트 정책 데이터 베이스(313)는 노드(201) 또는 게이트웨이(203)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 대상(예: 노드 ID(identifier), IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)의 접속을 차단하기 위한 블랙리스트 등록 정책을 나타낼 수 있다. 또한, 블랙리스트 정책 데이터베이스(313)는 애플리케이션 검사 결과에 따라 애플리케이션의 위험 수준을 판단하고 위험 수준에 따라 일시적 또는 영구적 격리 여부를 판단하기 위한 정보로 사용될 수 있다.The blacklist policy database 313 is a target (e.g., node ID ( identifier), an IP address, a media access control (MAC) address, or a user ID). Additionally, the blacklist policy database 313 can be used as information to determine the risk level of an application according to the application inspection results and whether to temporarily or permanently isolate it depending on the risk level.

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

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

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

데이터 플로우 테이블(316)은 노드(201)와 게이트웨이(203), 및 서비스 서버(205) 사이에 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블이다. 데이터 플로우는 TCP 세션, 애플리케이션, 또는 보다 세부적인 단위로 생성될 수 있다. 데이터 플로우 테이블(316)은 노드(201)의 애플리케이션(예: 타겟 애플리케이션(212)), 게이트웨이(203), 서비스 서버(205)의 보안 세션을 관리하기 위한 데이터 플로우 정보를 포함할 수 있다. 데이터 플로우 테이블(316)은 출발지로부터 전송된 데이터 패킷이 인가된 데이터 패킷인지를 식별하기 위한 애플리케이션 ID, 도착지 IP 주소, 및/또는 서비스 포트를 포함할 수 있다. 데이터 플로우 테이블(316)은 제어 플로우 ID에 기반하여 관리될 수 있다. The data flow table 316 is a table for managing the flow (eg, data flow) in which detailed data packets are transmitted between the node 201, the gateway 203, and the service server 205. Data flows can be created by TCP sessions, applications, or more granular units. The data flow table 316 may include data flow information for managing security sessions of the application (eg, target application 212) of the node 201, the gateway 203, and the service server 205. The data flow table 316 may include an application ID, destination IP address, and/or service port to identify whether the data packet transmitted from the source is an authorized data packet. The data flow table 316 can be managed based on control flow ID.

또한, 데이터 플로우 테이블(316)은 데이터 패킷의 출발지 IP 및 도착지 IP, 포트 정보를 기반으로 데이터 패킷 포워딩 여부를 판단하기 위한 인가된 대상 정보 및 데이터 플로우가 유효한지 여부를 포함하는 상태 정보를 포함할 수 있다. 실시예에 따르면, 데이터 플로우 테이블(316)은 애플리케이션과 게이트웨이(203) 사이에 채널이 생성되었는지 여부를 나타내는 정보를 더 포함할 수 있다. In addition, the data flow table 316 may include status information including authorized target information for determining whether to forward a data packet based on the source IP and destination IP and port information of the data packet, and whether the data flow is valid. You can. According to an embodiment, the data flow table 316 may further include information indicating whether a channel has been created between the application and the gateway 203.

실시예에 따르면, 데이터 플로우 테이블(316)은 인가된 접속 대상(예: 노드(201), 타겟 애플리케이션(212) 또는 접속 제어 애플리케이션(211) 등)의 보안 세션 생성 요청을 처리하기 위해 사전에 발급한 인증서 정보를 더 포함할 수 있다. According to the embodiment, the data flow table 316 is issued in advance to process a secure session creation request from an authorized connection target (e.g., node 201, target application 212, or access control application 211, etc.) One more certificate information may be included.

실시예에 따르면, 데이터 플로우 테이블(316)은 타겟 애플리케이션(212)과 게이트웨이(203) 또는 서비스 서버(205) 간에 보안 세션이 생성되었는지 여부 및 보안 세션 식별 정보를 포함하는 보안 세션 정보를 더 포함할 수 있다. According to an embodiment, the data flow table 316 may further include security session information including whether a secure session has been created between the target application 212 and the gateway 203 or the service server 205 and security session identification information. You can.

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

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

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

보안 세션 테이블(318)은 노드(201)와 게이트웨이(203) 또는 서비스 서버(205) 간 생성된 보안 세션의 식별 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 보안 세션 테이블(318)에 기반하여 노드(201)와 게이트웨이(203) 또는 서비스 서버(205) 간 보안 세션이 생성되었는지 여부 등을 판단할 수 있다. 또한, 보안 세션 테이블(318)은 노드(201)와 게이트웨이(203) 또는 서비스 서버(205) 사이에 생성된 보안 세션을 관리하기 위한 테이블로써, 유효한 보안 세션이 존재하는 경우 보안 세션을 관리 및 식별하기 위한 보안 세션 식별 정보와 게이트웨이(203)와 컨트롤러(202) 사이의 제어를 위한 제어 플로우 ID 보안 세션 알고리즘 및 종류, 암호화 수준 등을 관리하기 위한 부가 정보로 구성될 수 있다. The security session table 318 may include identification information of a secure session created between the node 201 and the gateway 203 or service server 205. For example, the controller 202 may determine whether a secure session has been created between the node 201 and the gateway 203 or the service server 205 based on the security session table 318. In addition, the security session table 318 is a table for managing security sessions created between the node 201 and the gateway 203 or service server 205, and manages and identifies the security session when a valid security session exists. It may be composed of security session identification information for controlling the gateway 203 and the controller 202, a control flow ID for control between the gateway 203 and the controller 202, and additional information for managing the security session algorithm and type, encryption level, etc.

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

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

실시예에 따르면, 도 4에 도시된 구조는 도 2a의 게이트웨이(203) 또는 서비스 서버(205)에도 동일하게 포함될 수 있다. According to an embodiment, the structure shown in FIG. 4 may be equally included in the gateway 203 or service server 205 of FIG. 2A.

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

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

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

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

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

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

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

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

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

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

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

일 실시예에 따른 게이트웨이(예: 도 2a의 게이트웨이(203)) 및 서비스 서버(예: 도 2b의 서비스 서버(205))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 게이트웨이에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다. A gateway (e.g., gateway 203 in FIG. 2A) and a service server (e.g., service server 205 in FIG. 2b) according to an embodiment include a processor 410, a memory 420, and a communication circuit 430. It can be included. 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.

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

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

실시예에 따르면, 타겟 애플리케이션(212)이 보안 세션을 게이트웨이(203)와 생성하여 서비스 서버(205)와 데이터를 송수신하는 것을 제어하기 위하여, 게이트웨이(203)에 포함된 프록시는 타겟 애플리케이션(212)이 전송한 보안 세션 생성 요청에 포함되어 있는 인증서 정보와 컨트롤러(202)로부터 수신된 인증서 정보에 기반하여 인가된 대상의 보안 세션 생성 요청인지 확인할 수 있다. 따라서, 게이트웨이(203)는 인가된 대상의 보안 세션 생성 요청이 아닌 경우, 보안 세션 생성을 거절할 수 있고, 보안 세션이 생성되지 않은 타겟 애플리케이션(212)는 컨트롤러(202)에 기반하여 네트워크에 접속이 가능한 상태여도 데이터 패킷 또는 서비스 요청을 전송할 수 없는 상태가 될 수 있다. 즉, 본 문서에 개시된 실시예들에 따르면, 게이트웨이(203)는 비인가된 대상이 탈취된 인증서를 사용하여 보안 세션 생성을 요청하거나, 잘못된 인증서를 사용하여 보안 세션 생성을 요청하는 경우 인증서에 기반하여 보안 세션 생성을 제어할 수 있고, 보안 세션 없이 서비스 서버(205)와 통신하는 것을 차단하기 때문에 2단계의 네트워크 접속 제어로 보다 더 안전한 네트워크 환경을 제공할 수 있다. According to the embodiment, in order for the target application 212 to create a secure session with the gateway 203 and control data transmission and reception with the service server 205, the proxy included in the gateway 203 is the target application 212. Based on the certificate information included in the transmitted secure session creation request and the certificate information received from the controller 202, it can be confirmed whether the request for secure session creation is from an authorized target. Accordingly, the gateway 203 may reject the creation of a secure session if it is not a request for creation of a secure session from an authorized target, and the target application 212 for which a secure session has not been created may access the network based on the controller 202. Even if this is possible, data packets or service requests may not be transmitted. That is, according to the embodiments disclosed in this document, the gateway 203 requests the creation of a secure session using a stolen certificate, or requests the creation of a secure session using an incorrect certificate, based on the certificate. Since the creation of a security session can be controlled and communication with the service server 205 without a security session is blocked, a more secure network environment can be provided through two-stage network access control.

접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아닌 경우 또는 전송하고자 하는 데이터 패킷 또는 서비스 요청이 보안 세션에 기반하여 전송되어야 하는 데이터 패킷 또는 서비스 요청이지만 대응되는 보안 세션이 미존재하는 경우, 접속 제어 애플리케이션(211)으로부터 전송되는 데이터 패킷 또는 서비스 요청은 게이트웨이(203)에 의하여 차단되며 접속 제어 애플리케이션(211)은 컨트롤러(202)로 접속을 요청할 수 있을 뿐이다. When the access control application 211 is not connected to the controller 202, or when the data packet or service request to be transmitted is a data packet or service request that must be transmitted based on a security session, but the corresponding security session does not exist. In this case, the data packet or service request transmitted from the access control application 211 is blocked by the gateway 203, and the access control application 211 can only request a connection to the controller 202.

실시예에 따르면, 노드(201)에 접속 제어 애플리케이션(211)이 설치되지 않거나 악성 애플리케이션이 접속 제어 애플리케이션(211)의 제어를 우회하는 경우, 비인가된 데이터 패킷 또는 서비스 요청이 노드(201)로부터 전송될 수 있다. 이 경우, 네트워크의 경계에 존재하는 게이트웨이(203)는 대응되는 보안 세션이 미존재하는 데이터 패킷 또는 서비스 요청을 차단하므로 노드(201)로부터 송신된 데이터 패킷 또는 서비스 요청(예: TCP 세션 생성을 위한 데이터 패킷)은 서비스 서버(205)에 도달하지 않을 수 있다. 다시 말해, 노드(201)는 서비스 서버(205)로부터 격리될 수 있다.According to the embodiment, if the access control application 211 is not installed on the node 201 or a malicious application bypasses the control of the access control application 211, an unauthorized data packet or service request is transmitted from the node 201. It can be. In this case, the gateway 203 located at the border of the network blocks data packets or service requests for which a corresponding security session does not exist, so data packets or service requests transmitted from the node 201 (e.g., for creating a TCP session) data packet) may not reach the service server 205. In other words, the node 201 may be isolated from the service server 205.

도 5b를 참조하면, 도 5a의 게이트웨이(203)가 없이 서비스 서버(205)는 직접 노드(201)의 데이터 패킷 또는 서비스 요청을 제어할 수 있다. 예를 들어, 타겟 애플리케이션(212)의 네트워크 접속이 컨트롤러(202)로부터 인가되지 않은 경우 서비스 서버(205)는 타겟 애플리케이션(212)의 데이터 패킷 또는 서비스 요청을 차단할 수 있다. 또한, 타겟 애플리케이션(212)의 보안 세션 생성 요청이 컨트롤러(202)로부터 인가된 인증서에 기반한 요청이 아닌 경우, 서비스 서버(205)는 보안 세션 생성 요청을 거절함으로서 이후 타겟 애플리케이션(212)의 데이터 패킷 또는 서비스 요청을 차단할 수 있다. Referring to FIG. 5B, the service server 205 can directly control the data packets or service requests of the node 201 without the gateway 203 of FIG. 5A. For example, if the network connection of the target application 212 is not authorized by the controller 202, the service server 205 may block the data packet or service request of the target application 212. In addition, if the target application 212's request for creating a secure session is not a request based on a certificate authorized by the controller 202, the service server 205 rejects the request for creating a secure session, thereby sending the data packet of the target application 212 Alternatively, service requests can be blocked.

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

노드(201)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로써 노드(201)의 컨트롤러 접속을 시도할 수 있다. 실시예에 따르면, 노드(201)는 접속 제어 애플리케이션(211)이 설치된 도 2a 또는 도 2b의 노드(201)와 실질적으로 동일할 수 있다. Since the node 201 needs to be authorized by the controller 202 to connect to or receive the network, the access control application 211 of the node 201 requests the controller 202 to create a control flow, thereby establishing the node ( 201), you can try to connect to the controller. According to an embodiment, the node 201 may be substantially the same as the node 201 of FIG. 2A or 2B on which the access control application 211 is installed.

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

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

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

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

동작 620에서, 컨트롤러(202)는 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 채널 정책 데이터 베이스(312)에 기반하여 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 실시예에 따라서, 컨트롤러(202)는 식별된 정보, 접속 정책 데이터베이스(311) 및 보안 세션 정책 데이터베이스(312)에 기반하여, 현재 접속 요청한 노드(201)가 기본적으로 연결할 수 있는 목적지 네트워크 정보가 존재하는지 확인할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 625에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다. In operation 620, the controller 202 based on the access policy database 311 and the channel policy database 312 corresponding to the identified information (e.g., node 201, source network information to which node 201 belongs). You can create whitelist information of accessible applications. Depending on the embodiment, the controller 202 has destination network information to which the current connection requesting node 201 can basically connect based on the identified information, the connection policy database 311, and the security session policy database 312. You can check if it does. In one embodiment, the controller 202 may transmit the application white list to the connection control application 211 in operation 625.

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

동작 630에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션에 대하여 무결성 및 안전성 여부(애플리케이션 위변조 여부, 코드 사이닝 검사, 핑거프린트 검사 중 적어도 어느 하나)에 관련된 검사를 수행할 수 있다. In operation 630, the access control application 211 may perform a check on the application. For example, the access control application 211 may perform a check on applications based on a white list of accessible applications received from the controller 202. The access control application 211 can check whether an application exists (installed) on the node 201 based on accessible application information, and determines the integrity and safety of the existing application (whether the application has been forged or modified, whether the code has been used). A test related to at least one of an innings test and a fingerprint test may be performed.

동작 635에서, 접속 제어 애플리케이션(211)은 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 애플리케이션에 대하여 무결성 및 안전성 여부(애플리케이션 위변조 여부, 코드 사이닝 검사, 핑거프린트 검사 중 적어도 어느 하나)에 관련된 검사를 수행한 결과를 컨트롤러(202)에게 전송할 수 있다. In operation 635, the access control application 211 may transmit the test result to the controller 202. For example, the access control application 211 transmits to the controller 202 the results of performing a check related to the integrity and safety of the application (at least one of application forgery, code signing check, and fingerprint check). You can.

동작 640에서, 컨트롤러(202)는 데이터 플로우 처리를 수행할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 애플리케이션 검사 결과에 기반하여 애플리케이션이 유효한지 여부를 검사할 수 있고, 유효한 애플리케이션의 경우 네트워크에 연결된 노드(201)의 접속을 허용하기 위하여 접속 정책(311) 및 보안 세션 정책(312)에 기반하여 노드(201)에 대응되는 게이트웨이(203) 또는 서비스 서버(205)를 확인할 수 있고, 노드(201)가 네트워크 접속 절차 없이 데이터 패킷을 전송할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보를 포함하는 데이터 플로우를 생성할 수 있다. 실시예에 따르면, 데이터 플로우가 생성된 경우 컨트롤러(202)는 생성된 데이터 플로우를 노드(201) 및 게이트웨이(203) 또는 서비스 서버(205)로 전송할 수 있다(동작 645). At operation 640, the controller 202 may perform data flow processing. For example, the controller 202 may check whether the application is valid based on the received application inspection result, and if the application is valid, establish an access policy 311 to allow the node 201 connected to the network to access the network. and a source IP so that the gateway 203 or service server 205 corresponding to the node 201 can be confirmed based on the security session policy 312, and the node 201 can transmit data packets without a network connection procedure. You can create a data flow that includes destination IP and port information. According to the embodiment, when a data flow is created, the controller 202 may transmit the generated data flow to the node 201 and the gateway 203 or the service server 205 (operation 645).

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

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

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

실시예에 따르면, 동작 630 내지 동작 645는 생략될 수 있다. According to the embodiment, operations 630 to 645 may be omitted.

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

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

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

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

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

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

동작 720에서, 컨트롤러(202)는 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 보안 세션 정책 데이터 베이스(312)에서 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. In operation 720, the controller 202 retrieves the identified information (e.g., node 201, source network information to which node 201 belongs) from the access policy database 311 and the security session policy database 312. You can create whitelist information of accessible applications.

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

동작 730에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션에 대하여 무결성 및 안전성 여부(애플리케이션 위변조 여부, 코드 사이닝 검사, 핑거프린트 검사 중 적어도 어느 하나)에 관련된 검사를 수행할 수 있다. In 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 applications based on a white list of accessible applications received from the controller 202. The access control application 211 can check whether an application exists (installed) on the node 201 based on accessible application information, and determines the integrity and safety of the existing application (whether the application has been forged or modified, whether the application has been forged or not, and whether the code has been used). A test related to at least one of an innings test and a fingerprint test may be performed.

동작 735에서, 접속 제어 애플리케이션(211)은 검사 결과를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 애플리케이션에 대하여 무결성 및 안전성 여부(애플리케이션 위변조 여부, 코드 사이닝 검사, 핑거프린트 검사 중 적어도 어느 하나)에 관련된 검사를 수행한 결과를 컨트롤러(202)에게 전송할 수 있다. In operation 735, the access control application 211 may transmit the test result to the controller 202. For example, the access control application 211 transmits to the controller 202 the results of performing a check related to the integrity and safety of the application (at least one of application forgery, code signing check, and fingerprint check). You can.

동작 740에서, 컨트롤러(202)는 데이터 플로우 처리를 수행할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 애플리케이션 검사 결과에 기반하여 애플리케이션이 유효한지 여부를 검사할 수 있고, 유효한 애플리케이션의 경우 네트워크에 연결된 노드(201)의 접속을 허용하기 위하여 접속 정책(311) 및 보안 세션 정책(312)에 기반하여 노드(201)에 대응되는 게이트웨이(203) 또는 서비스 서버(205)를 확인할 수 있고, 노드(201)가 네트워크 접속 절차 없이 데이터 패킷을 전송할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보를 포함하는 데이터 플로우를 생성할 수 있다. 실시예에 따르면, 데이터 플로우가 생성된 경우 컨트롤러(202)는 생성된 데이터 플로우를 노드(201) 및 게이트웨이(203) 또는 서비스 서버(205)로 전송할 수 있다(동작 745). At operation 740, controller 202 may perform data flow processing. For example, the controller 202 may check whether the application is valid based on the received application inspection result, and if the application is valid, establish an access policy 311 to allow the node 201 connected to the network to access the network. and a source IP so that the gateway 203 or service server 205 corresponding to the node 201 can be confirmed based on the security session policy 312, and the node 201 can transmit data packets without a network connection procedure. You can create a data flow that includes destination IP and port information. According to the embodiment, when a data flow is created, the controller 202 may transmit the generated data flow to the node 201 and the gateway 203 or the service server 205 (operation 745).

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

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

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

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

실시예에 따르면, 동작 730 내지 동작 745는 생략될 수 있다. According to the embodiment, operations 730 to 745 may be omitted.

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

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

도 8을 참조하면, 동작 805에서, 접속 제어 애플리케이션(211)은 노드(201) 내에 저장된 다른 애플리케이션(예: 도 2a 또는 도 2b의 타겟 애플리케이션(212))의 네트워크 접속 이벤트를 감지할 수 있다. Referring to FIG. 8 , in operation 805, the connection control application 211 may detect a network connection event of another application (eg, the target application 212 in FIG. 2A or FIG. 2B) stored in the node 201.

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

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

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

접속이 가능한 경우, 동작 825에서, 컨트롤러(202)는 보안 세션 정책(312)에 기반하여 타겟 애플리케이션이 네트워크에 접속하기 위해 노드(201)와 게이트웨이(203) 또는 서비스 서버(205) 사이에 보안 세션 생성이 가능한지 여부를 확인할 수 있다. 실시예에 따르면, 보안 세션 생성이 불가능한 경우 또는 보안 세션 생성을 위한 인증서 정보가 존재하지 않는 경우, 컨트롤러(202)는 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다. If connection is available, in operation 825, the controller 202 establishes a secure session between the node 201 and the gateway 203 or the service server 205 for the target application to access the network based on the security session policy 312. You can check whether creation is possible. According to the embodiment, when it is impossible to create a secure session or when certificate information for creating a secure session does not exist, the controller 202 may transmit a result of an unavailable connection to the access control application 211.

보안 세션 생성이 가능하지만 유효한 데이터 플로우가 존재하지 않는 경우, 컨트롤러(202)는 타겟 애플리케이션이 게이트웨이(203) 또는 서비스 서버(205)에 포함된 프록시를 통해서 접속할 수 있는 서비스 IP와 포트 정보, 프로토콜 정보(예 : HTTP, FTP, IoT 전용 프로토콜 등)를 포함하는 데이터 플로우를 생성할 수 있다. 또한, 컨트롤러(202)에서 생성하는 데이터 플로우는 서비스 요청 필터링 필요 여부, 서비스 요청 필터링 처리 방식, 필터링 정보(예: 개인 정보, 유해 서비스 요청 정보)를 포함할 수 있고, 프록시에서 사전에 불필요로 한 또는 위험한 서비스 요청을 차단하기 위한 일련의 정보와 서비스 요청에 대한 QoS (Quality of Service)가 필요로 한 경우 일정 시간 단위로 서비스 요청 가능 횟수를 설정하고 그에 따라 프록시에서 서비스 요청 횟수를 조절하기 위한 일련의 정보, 접속 대상이 보안 세션 생성시 허용된 대상인지 확인하기 위해 인증서 정보를 포함하는 데이터 플로우 정보를 생성할 수 있다. If a secure session can be created but a valid data flow does not exist, the controller 202 provides the service IP, port information, and protocol information that the target application can access through the proxy included in the gateway 203 or the service server 205. You can create data flows including (e.g. HTTP, FTP, IoT-specific protocols, etc.). In addition, the data flow generated by the controller 202 may include whether service request filtering is necessary, a service request filtering processing method, and filtering information (e.g., personal information, harmful service request information), and may include information that is unnecessary in advance by the proxy. Or, if a series of information to block dangerous service requests and QoS (Quality of Service) for service requests are required, set the number of service requests possible in a certain time unit and adjust the number of service requests in the proxy accordingly. Information, data flow information including certificate information can be created to check whether the connection target is permitted when creating a security session.

실시예에 따르면, 컨트롤러(202)에서 생성하는 데이터 플로우는 게이트웨이(203)가 데이터 플로우 헤더를 삽입하기 위해 필요한 정보로서, 서비스 요청시 인증 정보를 삽입하는 방식(예: HTTP의 HTTP 헤더 삽입), 인증 정보 암복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예 : HMAC OTP 생성시 Secret Key 등의 정보 등)를 포함하는 인증 정보 및 서비스 요청 반환시 제거해야 할 헤더 정보를 더 포함할 수 있다. According to the embodiment, the data flow generated by the controller 202 is information necessary for the gateway 203 to insert a data flow header, and includes a method of inserting authentication information when requesting a service (e.g., inserting an HTTP header of HTTP), Authentication information including information for encrypting and decrypting authentication information, algorithm information for generating and verifying authentication information, and a series of information included in the algorithm (e.g. information such as Secret Key when generating HMAC OTP) is removed when returning a service request. Additional header information may be included.

실시예에 따르면, 데이터 플로우가 생성된 경우 컨트롤러(202)는 데이터 플로우 및 보안 세션 정보를 게이트웨이(203) 또는 서비스 서버(205)에게 전송할 수 있다(동작 830). 또한, 컨트롤러(202)는 생성된 데이터 플로우를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 835). According to an embodiment, when a data flow is created, the controller 202 may transmit data flow and security session information to the gateway 203 or the service server 205 (operation 830). Additionally, the controller 202 may transmit the generated data flow to the connection control application 211 (operation 835).

실시예에 따르면, 유효한 데이터 플로우가 존재하는 경우 컨트롤러(202)는 데이터 플로우를 생성하지 않고, 유효한 데이터 플로우를 게이트웨이(203) 또는 서비스 서버(205)에게 전송할 수 있고, 유효한 데이터 플로우를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 830 및 동작 835). According to the embodiment, when a valid data flow exists, the controller 202 may transmit the valid data flow to the gateway 203 or the service server 205 without generating the data flow, and transmit the valid data flow to the access control application. 211 (operations 830 and 835).

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

도 9는 다양한 실시예들에 따른 데이터 패킷 수신을 위한 동작 흐름도를 도시한다. 도 9에 도시된 동작들은 게이트웨이(203) 또는 서비스 서버(205)를 통해 수행될 수 있다. 9 shows an operational flowchart for receiving data packets according to various embodiments. The operations shown in FIG. 9 may be performed through the gateway 203 or service server 205.

게이트웨이(203) 또는 서비스 서버(205)는 데이터 패킷을 수신하는 경우 컨트롤러(202)로부터 인가된 데이터 플로우에 기반하여 검사함으로서 인가되지 않은 대상의 데이터 패킷이 수신되는 것을 차단할 수 있다. When receiving a data packet, the gateway 203 or the service server 205 can block unauthorized data packets from being received by checking them based on the data flow authorized by the controller 202.

동작 905에서 게이트웨이(203) 또는 서비스 서버(205)는 내장된 네트워크 인터페이스로부터 수신된 데이터 패킷 수신 이벤트를 운영체제의 네트워크 커널로부터 수신할 수 있다. In operation 905, the gateway 203 or the service server 205 may receive a data packet reception event received from the built-in network interface from the network kernel of the operating system.

동작 910에서 게이트웨이(203) 또는 서비스 서버(205)는 수신된 데이터 패킷의 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예: TCP, UDP 등)를 기반으로 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. In operation 910, the gateway 203 or service server 205 determines whether a corresponding data flow exists based on the destination IP, port information, and protocol information (e.g., TCP, UDP, etc.) included in the IP header of the received data packet. You can check it.

실시예에 따르면, 데이터 플로우가 존재하는 경우 게이트웨이(203) 또는 서비스 서버(205)는 데이터 패킷을 수신 처리할 수 있다(동작 915). According to the embodiment, if a data flow exists, the gateway 203 or the service server 205 may receive and process data packets (operation 915).

실시예에 따르면, 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 데이터 패킷 전송 불가 상태, 데이터 플로우 상에서 인가된 네트워크 인터페이스로부터 수신된 데이터 패킷이 아닌 경우, 데이터 패킷 전송을 위한 채널이 존재하지 않는 경우 등) 또는 데이터 플로우가 존재하지 않는 경우, 게이트웨이(203) 또는 서비스 서버(205)는 수신된 데이터 패킷을 드랍할 수 있다(동작 920). According to an embodiment, when a data flow exists but is invalid (e.g., data packet transmission is not possible, data packets are not received from a network interface authorized on the data flow, or a channel for data packet transmission does not exist) etc.) or when no data flow exists, the gateway 203 or service server 205 may drop the received data packet (operation 920).

도 10을 다양한 실시예들에 따른 보안 세션 생성을 위한 동작 흐름도를 도시한다. 도 10에 도시된 동작들은 게이트웨이(203) 또는 서비스 서버(205)를 통해 수행될 수 있다. FIG. 10 illustrates an operation flowchart for creating a secure session according to various embodiments. The operations shown in FIG. 10 may be performed through the gateway 203 or service server 205.

게이트웨이(203) 또는 서비스 서버(205)는 노드(201)로부터 보안 세션 생성 요청을 수신하는 경우 컨트롤러(202)로부터 수신된 인증서 정보에 기반하여 프록시를 통해 보안 세션 생성 가능 여부를 확인하여 보안 세션 생성을 허용 또는 거절함으로서, 노드(201)의 네트워크 접속이 인가된 이후에도 보안 세션을 통해 서비스 요청의 전송을 제어할 수 있다. When the gateway 203 or service server 205 receives a request for creating a secure session from the node 201, it checks whether a secure session can be created through a proxy based on the certificate information received from the controller 202 and creates a secure session. By allowing or rejecting, transmission of service requests can be controlled through a secure session even after the network connection of the node 201 is authorized.

동작 1005에서, 게이트웨이(203) 또는 서비스 서버(205)는 노드(201)의 보안 세션 생성 요청 이벤트를 감지할 수 있다. In operation 1005, the gateway 203 or the service server 205 may detect a secure session creation request event of the node 201.

동작 1010에서, 게이트웨이(203) 또는 서비스 서버(205)는 수신된 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예 : TCP, UDP 등)에 기반하여 데이터 플로의 존재 여부를 확인할 수 있다. In operation 1010, the gateway 203 or the service server 205 may check whether a data flow exists based on the destination IP, port information, and protocol information (e.g., TCP, UDP, etc.) included in the received IP header. .

실시예에 따르면, 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 데이터 패킷 전송 불가 상태, 데이터 플로우 상에서 인가된 네트워크 인터페이스로부터 수신된 데이터 패킷이 아닌 경우, 데이터 패킷 전송을 위한 채널이 존재하지 않는 경우 등) 또는 데이터 플로우가 존재하지 않는 경우, 게이트웨이(203) 또는 서비스 서버(205)는 보안 세션 생성을 거절할 수 있다(동작 1225).According to an embodiment, when a data flow exists but is invalid (e.g., data packet transmission is not possible, data packets are not received from a network interface authorized on the data flow, or a channel for data packet transmission does not exist) etc.) or if a data flow does not exist, the gateway 203 or the service server 205 may refuse to create a secure session (operation 1225).

유효한 데이터 플로우가 존재하면, 동작 1015에서, 게이트웨이(203) 또는 서비스 서버(205)는 프록시를 통해 인증서를 검사할 수 있다. 예를 들어, 게이트웨이(203) 또는 서비스 서버(205)는 데이터 플로우에 포함된 인증서 정보에 기반하여 보안 세션 생성 요청이 유효한지 여부를 검사할 수 있다. 실시예에 따르면, 유효한 인증서인 경우 게이트웨이(203) 또는 서비스 서버(205)는 보안 세션 생성을 완료할 수 있다(동작 1020). If a valid data flow exists, in operation 1015, gateway 203 or service server 205 may check the certificate through the proxy. For example, the gateway 203 or the service server 205 may check whether the request for creating a secure session is valid based on certificate information included in the data flow. According to an embodiment, if the certificate is valid, the gateway 203 or service server 205 may complete secure session creation (operation 1020).

실시예에 따르면, 유효하지 않은 인증서인 경우, 게이트웨이(203) 또는 서비스 서버(205)는 보안 세션 생성을 거절할 수 있다(동작 1025). According to an embodiment, if the certificate is invalid, the gateway 203 or service server 205 may refuse to create a secure session (operation 1025).

도 11은 다양한 실시예들에 따른 서비스 요청 처리를 위한 동작 흐름도를 도시한다. 도 11에 도시된 동작들은 게이트웨이(203) 또는 서비스 서버(205)를 통해 수행될 수 있다. 11 illustrates an operational flowchart for service request processing according to various embodiments. The operations shown in FIG. 11 may be performed through the gateway 203 or service server 205.

게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청 전송을 할 때에 보안 세션이 생성된 노드(201)만 허용된 서비스에 접근이 가능하도록 제어할 수 있다. When transmitting a service request, the gateway 203 or the service server 205 may control so that only the node 201 for which a secure session is created can access the permitted service.

동작 1105에서, 게이트웨이(203) 또는 서비스 서버(205)는 노드(201)의 서비스 요청 이벤트를 감지할 수 있다. In operation 1105, the gateway 203 or the service server 205 may detect a service request event of the node 201.

동작 1110에서, 게이트웨이(203) 또는 서비스 서버(205)는 수신된 IP 헤더에 포함된 도착지 IP와 포트 정보, 프로토콜 정보(예 : TCP, UDP 등)에 기반하여 데이터 플로우의 존재 여부를 확인할 수 있다.In operation 1110, the gateway 203 or service server 205 may check whether a data flow exists based on the destination IP, port information, and protocol information (e.g., TCP, UDP, etc.) included in the received IP header. .

실시예에 따르면, 데이터 플로우가 존재하지만 유효하지 않은 경우(예: 데이터 패킷 전송 불가 상태, 데이터 플로우 상에서 인가된 네트워크 인터페이스로부터 수신된 데이터 패킷이 아닌 경우, 데이터 패킷 전송을 위한 채널이 존재하지 않는 경우 등) 또는 데이터 플로우가 존재하지 않는 경우, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청을 거절할 수 있다(동작 1140).According to an embodiment, when a data flow exists but is invalid (e.g., data packet transmission is not possible, data packets are not received from a network interface authorized on the data flow, or a channel for data packet transmission does not exist) etc.) or when no data flow exists, the gateway 203 or the service server 205 may reject the service request (operation 1140).

실시예에 따르면, 데이터 플로우가 존재하는 경우, 게이트웨이(203) 또는 서비스 서버(205)는 수신된 서비스 요청 헤더에 포함된 도착지 IP 또는 도메인 식별 정보와 포트 정보에 기반하여 데이터 플로우 내에 서비스 요청을 허용하는 서비스 정보가 존재하는지 확인할 수 있다. 예를 들어, 서비스 정보가 존재하지 않으면 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청을 거절할 수 있다(동작 1140). 다른 예를 들어, 서비스 정보가 존재하는 경우 게이트웨이(203) 또는 서비스 서버(205)는 동작 1115를 수행할 수 있다. According to the embodiment, when a data flow exists, the gateway 203 or service server 205 allows a service request within the data flow based on the destination IP or domain identification information and port information included in the received service request header. You can check whether service information exists. For example, if service information does not exist, the gateway 203 or service server 205 may reject the service request (operation 1140). For another example, if service information exists, the gateway 203 or the service server 205 may perform operation 1115.

데이터 플로우 및 서비스 정보가 존재하면, 동작 1115에서, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 정보에 포함된 서비스 요청 QoS 정보에 기반하여 서비스 요청 QoS가 필요한지 여부를 확인할 수 있다. If data flow and service information exist, in operation 1115, the gateway 203 or service server 205 may check whether service request QoS is required based on service request QoS information included in the service information.

서비스 요청 QoS가 필요하면, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청 QoS 정보에 포함된 일정 시간당 전송 가능한 서비스 요청 가능 회수를 확인하고, 서비스 요청 QoS 통계 정보에 기반하여 QoS가 필요한지 여부를 확인할 수 있다. If service request QoS is required, the gateway 203 or service server 205 checks the number of service requests that can be transmitted per certain time included in the service request QoS information, and determines whether QoS is necessary based on the service request QoS statistical information. You can check it.

서비스 요청 회수가 일정 시간당 허용 가능한 회수를 초과한 경우, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청 QoS 방식에 따라 서비스 요청을 일정 시간 지연시킨 후 요청 처리하거나, 서비스 요청의 재요청을 유도할 수 있도록 서비스 요청을 거절(동작 1140)할 수 있다. If the number of service requests exceeds the allowable number per certain time, the gateway 203 or service server 205 delays the service request for a certain time according to the service request QoS method and then processes the request or induces a re-request for the service request. The service request may be rejected (operation 1140).

동작 1120에서, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 정보에 포함된 서비스 요청 필터링 정보에 기반하여 서비스 요청의 프로토콜(예: HTTP, FTP 또는 IoT 기기를 위한 전용 프로토콜)이 정상적인지 여부를 확인할 수 있다. 예를 들어, 서비스 요청의 프로토콜이 정상적이지 않은 경우, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청을 거절할 수 있다(동작 1140).In operation 1120, the gateway 203 or the service server 205 determines whether the protocol of the service request (e.g., HTTP, FTP, or a dedicated protocol for IoT devices) is normal based on the service request filtering information included in the service information. You can check it. For example, if the protocol of the service request is not normal, the gateway 203 or the service server 205 may reject the service request (operation 1140).

서비스 요청의 프로토콜이 정상적인 경우, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청을 필터링할 수 있다. 예를 들어, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청이 치환이 필요한 경우 서비스 정보의 서비스 필터링 정보에 포함된 치환 정보 또는 규칙에 기반하여 서비스 요청에 포함된 정보를 치환할 수 있다. 다른 예를 들어, 서비스 요청의 치환이 필요하지 않거나 필터링이 필요하지 않은 경우 게이트웨이(203) 또는 서비스 서버(205)는 동작 1120의 수행 없이 동작 1125를 수행할 수 있다. 또 다른 예를 들어, 서비스 요청의 차단이 필요한 경우 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청을 거절할 수 있다. If the protocol of the service request is normal, the gateway 203 or service server 205 may filter the service request. For example, if the service request requires replacement, the gateway 203 or the service server 205 may replace the information included in the service request based on replacement information or rules included in service filtering information of service information. For another example, when substitution of a service request is not required or filtering is not required, the gateway 203 or the service server 205 may perform operation 1125 without performing operation 1120. For another example, if it is necessary to block a service request, the gateway 203 or the service server 205 may reject the service request.

동작 1125에서 게이트웨이(203) 또는 서비스 서버(205)는 데이터 플로우에 포함된 인증 정보에 포함된 인증 정보 생성 알고리즘 및 부가 정보를 사용하여 서비스 요청에 삽입할 인증 정보를 생성할 수 있다. 이 경우, 게이트웨이(203) 또는 서비스 서버(205)는 인증 정보에 포함된 암호화 알고리즘 및 암호화 키에 기반하여 삽입할 인증 정보를 암호화할 수 있고, 암호화된 인증 정보와 데이터 플로우 식별 정보를 결합한 데이터 플로우 헤더를 서비스 애플리케이션의 프로토콜 규격에 따라 서비스 요청에 삽입할 수 있다. 실시예에 따르면, 서비스 서버(205)는 동작 1125를 생략할 수 있다. In operation 1125, the gateway 203 or the service server 205 may generate authentication information to be inserted into the service request using an authentication information generation algorithm and additional information included in the authentication information included in the data flow. In this case, the gateway 203 or the service server 205 may encrypt the authentication information to be inserted based on the encryption algorithm and encryption key included in the authentication information, and create a data flow combining the encrypted authentication information and data flow identification information. Headers can be inserted into service requests according to the protocol specifications of the service application. According to the embodiment, the service server 205 may omit operation 1125.

데이터 플로우 헤더가 정상적으로 삽입된 경우, 게이트웨이(203) 또는 서비스 서버(205)는 데이터 플로우 헤더가 삽입된 서비스 요청을 전송할 수 있다(동작 1130). If the data flow header is normally inserted, the gateway 203 or the service server 205 may transmit a service request with the data flow header inserted (operation 1130).

동작 1135에서, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청 전송 및 서비스 요청 거절을 처리한 이후 서비스 요청 처리 횟수를 데이터 플로우에 포함된 서비스 정보의 QoS 통계 정보에 갱신할 수 있다.In operation 1135, the gateway 203 or the service server 205 may update the number of service request processing times in the QoS statistical information of the service information included in the data flow after processing the service request transmission and service request rejection.

도 12는 다양한 실시예들에 따른 서비스 요청의 예시를 도시한다. 12 shows an example of a service request according to various embodiments.

게이트웨이(203)는 서비스 요청을 전송하는 경우에 데이터 플로우 헤더를 삽입하여 전송함으로서 인가된 대상으로부터 보안 세션을 통해 서비스 요청이 전송되는 것임이 확인되도록 할 수 있다. When transmitting a service request, the gateway 203 may insert and transmit a data flow header to confirm that the service request is transmitted from an authorized entity through a secure session.

게이트웨이(203)에 포함된 프록시는 인가된 보안 세션에 의한 서비스 요청을 수신하는 경우, 데이터 플로우를 통해서 타겟 애플리케이션을 식별할 수 있고, 타겟 애플리케이션이 요청하는 서비스 애플리케이션을 식별할 수 있다. 이 경우, 게이트웨이(203)는 데이터 플로우에 포함된 인증 정보에 따라 서비스 애플리케이션의 프로토콜에 적합한 부분(예: HTTP의 경우 헤더 영역(1205))에 서비스 서버(205)에서 서비스 요청 대상을 식별할 수 있는 데이터 플로우 헤더를 삽입하여 서비스 서버(205)로 전송할 수 있다. When receiving a service request through an authorized security session, the proxy included in the gateway 203 can identify the target application through a data flow and identify the service application requested by the target application. In this case, the gateway 203 can identify the service request target from the service server 205 in a part suitable for the protocol of the service application (e.g., header area 1205 in the case of HTTP) according to the authentication information included in the data flow. The data flow header can be inserted and transmitted to the service server 205.

게이트웨이(203)는 노드에서 전송한 HTTP 헤더(1205)에 포함된 노드 전송 HTTP 헤더(1210) 이외에 추가 HTTP 헤더(1215)를 삽입할 수 있다. The gateway 203 may insert an additional HTTP header 1215 in addition to the node-transmitted HTTP header 1210 included in the HTTP header 1205 transmitted from the node.

실시예에 따르면, 데이터 플로우 헤더(1220)는 타겟 애플리케이션과 게이트웨이(203), 서비스 서버(205) 간의 데이터 패킷 흐름에서 컨트롤러(202)로부터 수신된 데이터 플로우를 기반으로 서비스 서버(205)에서 인증된 데이터 패킷인지 여부를 확인하기 위해 게이트웨이(203)가 삽입하는 정보일 수 있다. According to the embodiment, the data flow header 1220 is authenticated by the service server 205 based on the data flow received from the controller 202 in the data packet flow between the target application, the gateway 203, and the service server 205. This may be information inserted by the gateway 203 to check whether it is a data packet.

실시예에 따르면, 데이터 플로우 헤더는 데이터 플로우 식별 정보와 암호화된 인증 정보가 결합되어 생성될 수 있다. According to an embodiment, the data flow header may be generated by combining data flow identification information and encrypted authentication information.

IP 네트워크에서 데이터 패킷은 5 Tuples 정보 (프로토콜, 출발지 IP, 포트, 도착지 IP, 포트) 이외에는 식별할 수 있는 정보가 없기 때문에 서비스 서버(205)는 IP를 할당받은 노드가 실질적으로 인증되었는지 여부 및 실질적 통신 주체인 타겟 애플리케이션이 허용되었는지 확인할 수 있다. 따라서, 서비스 요청 처리시, 서비스 서버(205)는 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보로 컨트롤러(205)에 질의하여 인증된 대상이 접속하였는지 여부를 확인할 수 있고, 컨트롤러(202)가 저장하고 있는 인증된 대상에 대한 부가적인 정보를 수신하여 인증 처리할 수 있는 효과적인 방법을 제공할 수 있다.In an IP network, data packets have no identifiable information other than 5 Tuples information (protocol, source IP, port, destination IP, port), so the service server 205 determines whether the node assigned the IP is actually authenticated and the actual You can check whether the target application, which is the subject of communication, is allowed. Therefore, when processing a service request, the service server 205 can query the controller 205 with the data flow identification information included in the data flow header to check whether an authenticated subject has connected, and the controller 202 stores and It can provide an effective method for authentication by receiving additional information about the authenticated target.

또한, 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보 이외에 암호화된 인증 정보는 인증된 게이트웨이(203)가 서비스 포워딩하였는지 여부를 확인하기 위한 목적으로 사용될 수 있고, 따라서 서비스 서버(205)는 서비스 요청이 인가된 대상으로부터 인가된 게이트웨이(203)를 통해 수신되었는지 여부를 확인할 수 있다. In addition, encrypted authentication information in addition to the data flow identification information included in the data flow header can be used for the purpose of checking whether the authenticated gateway 203 has forwarded the service, and thus the service server 205 can verify whether the service request is authorized. It is possible to check whether the message has been received from the authorized destination through the authorized gateway 203.

실시예에 따르면, 암호화된 인증 정보는 컨트롤러(202)로부터 수신된 데이터 플로우에 포함된 인증 정보에 포함된 인증 정보 암복호화 키를 통해서 인증된 대상(데이터 플로우가 존재하는)만 복호화할 수 있다. According to the embodiment, the encrypted authentication information can be decrypted only for the authenticated object (with which the data flow exists) through the authentication information encryption/decryption key included in the authentication information included in the data flow received from the controller 202.

실시예에 따르면, 복호화된 인증 정보는 데이터 패킷 인증 시점마다 고정되어 있는 값이 아니라 인증 시점마다 변경되는 OTP (One-Time Password) 및 Random Generation 형태의 정보로 구성될 수 있다.According to an embodiment, the decrypted authentication information may not be a fixed value at each data packet authentication time, but may be composed of information in the form of OTP (One-Time Password) and Random Generation that changes at each authentication time.

실시예에 따르면, 데이터 플로우의 인증 정보에 포함된 OTP 생성 및 검증을 위한 정보에 기반하여 게이트웨이(203)는 매 서비스 요청 포워딩 시점마다 변경되는 OTP 정보를 생성하고, OTP 정보를 암호화하여 데이터 플로우 식별 정보와 결합하여 생성되는 데이터 플로우 헤더 정보를 서비스 요청에 삽입하여 전송함으로써, 서비스 서버(205)가 인증된 게이트웨이(203)로부터 서비스 요청을 수신하였는지 검증할 수 있는 방법을 제공할 수 있다.According to the embodiment, based on the information for OTP generation and verification included in the authentication information of the data flow, the gateway 203 generates OTP information that changes at each service request forwarding time and encrypts the OTP information to identify the data flow. By inserting and transmitting data flow header information generated by combining information into a service request, a method can be provided to verify whether the service server 205 has received a service request from the authenticated gateway 203.

도 13은 다양한 실시예들에 따른 서비스 요청 결과 수신을 위한 동작 흐름도를 도시한다. 도 13에 도시된 동작들은 게이트웨이(203)를 통해 수행될 수 있다. Figure 13 shows an operation flowchart for receiving a service request result according to various embodiments. The operations shown in FIG. 13 may be performed through the gateway 203.

동작 1305에서, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청 결과 수신 이벤트를 감지할 수 있다. 예를 들어, 서비스 서버(205)는 서비스 요청 결과를 직접 생성할 수도 있다. In operation 1305, the gateway 203 or the service server 205 may detect a service request result reception event. For example, the service server 205 may directly generate service request results.

동작 1310에서, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청 결과에 대응되는 데이터 플로우의 존재 여부를 확인할 수 있다. 실시예에 따르면, 데이터 플로우가 존재하지 않는 경우 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청 결과를 드랍할 수 있다. In operation 1310, the gateway 203 or the service server 205 may check whether a data flow corresponding to the service request result exists. According to the embodiment, if a data flow does not exist, the gateway 203 or the service server 205 may drop the service request result.

동작 1315에서, 게이트웨이(203) 또는 서비스 서버(205)는 서비스 요청 결과에 서비스 요청시 삽입하였던 데이터 플로우 헤더가 존재하는지 확인할 수 있다. 예를 들어, 서비스 요청시 삽입하였던 데이터 플로우 헤더가 존재하면, 게이트웨이(203) 또는 서비스 서버(205)는 데이터 플로우 헤더를 제거하고 서비스 요청 결과를 노드(201)에게 포워딩할 수 있다(동작 1320). In operation 1315, the gateway 203 or the service server 205 may check whether the data flow header inserted when requesting the service exists in the service request result. For example, if there is a data flow header inserted when requesting a service, the gateway 203 or service server 205 may remove the data flow header and forward the service request result to the node 201 (operation 1320). .

따라서, 본 문서에 개시된 실시예들에 따르면, 서비스 요청 정보를 포워딩한 이후 수신된 서비스 요청 결과(역방향)에 헤더 정보가 포함되어 있는 경우, 노드(201)가 해당 정보를 식별할 수 없도록 게이트웨이(203) 또는 서비스 서버(205)는 불필요로 한 정보(예: 데이터 플로우 헤더)를 제거하고 서비스 요청 결과를 포워딩할 수 있다. Therefore, according to the embodiments disclosed in this document, if the service request result (reverse direction) received after forwarding the service request information includes header information, the gateway (201) prevents the node 201 from identifying the information. 203) or the service server 205 may remove unnecessary information (e.g., data flow header) and forward the service request result.

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

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

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

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

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

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

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

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

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

동작 1520에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 노드(201)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다. 또한, 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 중계하는 게이트웨이(203)에 보안 세션 및 데이터 플로우에 대한 제거 요청을 수행함으로서, 더 이상 목적지 네트워크로 데이터 패킷을 전송할 수 없는 상태를 제공할 수 있다. In operation 1520, the controller 202 may remove all data flows dependent on the removed control flow. Accordingly, node 201 can no longer connect to the destination network based on the removed data flow. In addition, the controller 202 requests the removal of security sessions and data flows to the gateway 203, which relays all data flows dependent on the removed control flow, so that data packets can no longer be transmitted to the destination network. can be provided.

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

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

실시예에 따라서, 접속 제어 애플리케이션(211)은 종료된 애플리케이션 식별 정보 및 PID(Process ID 및 Child Process ID Tree) 정보에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. Depending on the embodiment, 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.

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

동작 1615에서, 컨트롤러(202)는 제거 요청된 데이터 플로우를 삭제할 수 있다. 또한, 컨트롤러(202)는 제거된 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다. 게이트웨이(203)는 데이터 플로우를 제거할 수 있고, 따라서 제거된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다. At operation 1615, the controller 202 may delete the data flow for which removal has been requested. Additionally, the controller 202 may request the gateway 203 to remove the removed data flow. The gateway 203 may remove the data flow, and thus data packets corresponding to the source network, destination network, and port information included in the removed data flow can no longer be transmitted.

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

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

Claims (12)

게이트웨이에 있어서,
통신 회로; 메모리; 및
상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
노드로부터 보안 세션 생성 요청을 수신하고, 상기 보안 세션 생성 요청에 포함된 도착지 네트워크 정보에 기반하여 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인하고, 상기 데이터 플로우는 상기 노드와 상기 게이트웨이 간 보안 세션 생성 가능 여부에 관련되어 사전에 상기 외부 서버에서 결정된 인증서 정보를 포함하고,
상기 보안 세션 생성 요청에 포함된 상기 노드에서 전송한 인증서 정보와 상기 데이터 플로우에 포함된 인증서 정보에 기반하여 상기 보안 세션 생성 요청이 유효한지 여부를 검사하여 상기 노드와 상기 게이트웨이 간 보안 세션을 생성하고,
상기 노드로부터 상기 보안 세션에 기반하여 서비스 요청이 수신되면, 상기 보안 세션의 식별 정보와 상기 서비스 요청에 포함된 도착지 네트워크 정보에 기반하여 상기 데이터 플로우에서 상기 서비스 요청을 허용하는 서비스 정보가 존재하는지 여부를 확인하고,
상기 서비스 요청을 허용하는 서비스 정보가 존재하면, 서비스 서버가 상기 노드를 식별할 수 있도록 상기 서비스 요청에 데이터 플로우 헤더 정보를 삽입하여 상기 서비스 서버로 포워딩하고,
상기 노드에게 서비스 요청에 대한 결과를 반환하는 경우 상기 서비스 요청에 대한 결과에서 상기 데이터 플로우 헤더 정보를 제거하여 상기 노드에게 포워딩하도록 구성되고,
상기 데이터 플로우 헤더 정보는, 상기 서비스 서버가 상기 외부 서버에게 상기 노드에 대한 정보 요청을 수행하는 경우 사용하는 상기 데이터 플로우의 식별 정보와 상기 노드에 대한 정보 요청을 인증하기 위한 인증 정보를 포함하는, 게이트웨이.
In the gateway,
communication circuit; Memory; and
a processor operatively connected to the communication circuit and the memory, the processor comprising:
Receive a secure session creation request from a node, check whether a data flow received from an external server exists based on destination network information included in the secure session creation request, and the data flow is a secure session between the node and the gateway. Contains certificate information determined in advance by the external server in relation to whether it can be generated,
Create a secure session between the node and the gateway by checking whether the secure session creation request is valid based on the certificate information transmitted from the node included in the secure session creation request and the certificate information included in the data flow; ,
When a service request is received from the node based on the secure session, whether service information allowing the service request exists in the data flow based on the identification information of the secure session and destination network information included in the service request. Check and
If service information allowing the service request exists, insert data flow header information into the service request and forward it to the service server so that the service server can identify the node,
When returning a result of a service request to the node, the data flow header information is removed from the result of the service request and forwarded to the node,
The data flow header information includes identification information of the data flow used when the service server requests information about the node from the external server and authentication information for authenticating the request for information about the node. Gateway.
제 1 항에 있어서, 상기 프로세서는,
상기 노드로부터 서비스 요청을 수신하고,
상기 서비스 요청에 대응되는 데이터 플로우가 존재하지 않으면 상기 서비스 요청을 거절하고,
상기 서비스 요청에 대응되는 데이터 플로우가 존재하면, 상기 서비스 요청에 대응되는 데이터 플로우에 포함된 QoS 정보에 기반하여 상기 서비스 요청이 QoS가 필요한지 여부를 확인하고,
상기 서비스 요청이 QoS가 필요하면, 상기 QoS 정보에 기반하여 전송 가능한 서비스 요청 량을 확인하고,
상기 전송 가능한 서비스 요청량을 초과한 경우, 상기 QoS 정보에 기반하여 상기 서비스 요청의 전송을 일정 시간 지연시켜 전송 처리하거나, 서비스 요청의 재전송을 유도하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Receiving a service request from the node,
If there is no data flow corresponding to the service request, the service request is rejected,
If a data flow corresponding to the service request exists, determine whether the service request requires QoS based on QoS information included in the data flow corresponding to the service request,
If the service request requires QoS, check the amount of service request that can be transmitted based on the QoS information,
When the transmittable service request amount is exceeded, the gateway is configured to delay transmission of the service request for a certain period of time based on the QoS information and transmit the service request, or to induce retransmission of the service request.
제 1 항에 있어서, 상기 프로세서는,
상기 노드로부터 서비스 요청을 수신하고,
상기 서비스 요청에 대응되는 데이터 플로우가 존재하지 않으면 상기 서비스 요청을 거절하고,
상기 서비스 요청에 대응되는 데이터 플로우가 존재하면, 상기 서비스 요청에 대응되는 데이터 플로우에 포함된 필터링 정보에 기반하여 상기 서비스 요청의 프로토콜이 정상적인지 여부를 확인하고,
상기 서비스 요청의 프로토콜이 정상적이지 않으면 상기 서비스 요청을 거절하고,
상기 필터링 정보에 기반하여 상기 서비스 요청에 포함된 정보의 치환이 필요하면 상기 필터링 정보에 포함된 치환 정보 또는 치환 규칙에 기반하여 상기 서비스 요청에 포함된 정보를 치환하여 전송하고,
상기 서비스 요청의 차단이 필요하면 상기 서비스 요청을 거절하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Receiving a service request from the node,
If there is no data flow corresponding to the service request, the service request is rejected,
If a data flow corresponding to the service request exists, check whether the protocol of the service request is normal based on filtering information included in the data flow corresponding to the service request,
If the protocol of the service request is not normal, the service request is rejected,
If replacement of the information included in the service request is necessary based on the filtering information, the information included in the service request is replaced and transmitted based on the replacement information or replacement rule included in the filtering information,
A gateway, configured to reject the service request if blocking of the service request is necessary.
제 1 항에 있어서, 상기 프로세서는,
상기 노드로부터 서비스 요청을 수신하고,
상기 서비스 요청에 대응되는 데이터 플로우가 존재하지 않으면 상기 서비스 요청을 거절하고,
상기 서비스 요청에 대응되는 데이터 플로우가 존재하면, 상기 서비스 요청에 대응되는 데이터 플로우에 포함된 인증 정보에 기반하여 삽입할 인증 정보를 생성하고,
상기 삽입할 인증 정보를 상기 데이터 플로우에 포함된 인증 정보에 기반하여 암호화하고,
상기 암호화된 인증 정보와 상기 데이터 플로우의 식별 정보를 결합하여 데이터 플로우 헤더를 생성하고,
상기 데이터 플로우 헤더를 상기 서비스 요청에 삽입하여 처리하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Receiving a service request from the node,
If there is no data flow corresponding to the service request, the service request is rejected,
If a data flow corresponding to the service request exists, authentication information to be inserted is generated based on authentication information included in the data flow corresponding to the service request,
Encrypting the authentication information to be inserted based on the authentication information included in the data flow,
Generate a data flow header by combining the encrypted authentication information and the identification information of the data flow,
A gateway, configured to insert and process the data flow header into the service request.
제 4 항에 있어서, 상기 프로세서는,
상기 서비스 요청에 대한 결과를 수신하고,
상기 서비스 요청에 대한 결과에 서비스 요청시 삽입하였던 데이터 플로우 헤더가 존재하면 상기 데이터 플로우 헤더를 제거하고,
상기 노드에게 상기 서비스 요청에 대한 결과를 포워딩하도록 구성된, 게이트웨이.
The method of claim 4, wherein the processor:
Receiving the results of the service request,
If the data flow header inserted at the time of the service request exists in the result of the service request, the data flow header is removed,
A gateway configured to forward a result of the service request to the node.
삭제delete 제 1 항에 있어서, 상기 프로세서는,
상기 노드로부터 서비스 요청을 수신하면, 상기 데이터 플로우에 포함된 인증 정보에 기반하여 생성된 암호화된 인증 정보와 상기 데이터 플로우의 식별 정보를 결합하여 상기 서비스 요청에 삽입하여 전송하고,
상기 서비스 요청에 대한 결과를 수신하고,
상기 서비스 요청에 대한 결과에 서비스 요청시 삽입하였던 정보가 존재하면 상기 서비스 요청시 삽입하였던 정보를 제거하고,
상기 노드에게 상기 서비스 요청에 대한 결과를 전송하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
When a service request is received from the node, the encrypted authentication information generated based on the authentication information included in the data flow and the identification information of the data flow are combined and inserted into the service request and transmitted,
Receiving the results of the service request,
If information inserted at the time of the service request exists in the result of the service request, the information inserted at the time of the service request is removed,
A gateway configured to transmit a result of the service request to the node.
제 1 항에 있어서, 상기 프로세서는,
상기 노드로부터 보안 세션 생성 요청을 수신하고,
상기 보안 세션 생성 요청에 대응되는 데이터 플로우의 존재를 확인하고,
상기 보안 세션 생성 요청에 대응되는 데이터 플로우가 존재하면, 해당 데이터 플로우에 포함된 인증서 정보에 기반하여 상기 보안 세션 생성 요청이 유효한지 여부를 검사하고,
보안 세션이 생성되면, 상기 노드로부터 수신되는 서비스 요청을 상기 보안 세션에 기반하여 처리하도록 구성된, 게이트웨이.
The method of claim 1, wherein the processor:
Receive a secure session creation request from the node,
Confirm the existence of a data flow corresponding to the secure session creation request,
If a data flow corresponding to the secure session creation request exists, check whether the secure session creation request is valid based on the certificate information included in the data flow,
Once a secure session is created, the gateway is configured to process a service request received from the node based on the secure session.
서비스 서버에 있어서,
통신 회로; 메모리; 및
상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
노드로부터 보안 세션 생성 요청을 수신하고, 상기 보안 세션 생성 요청에 포함된 도착지 네트워크 정보에 기반하여 외부 서버로부터 수신된 데이터 플로우의 존재 여부를 확인하고, 상기 데이터 플로우는 상기 노드와 상기 서비스 서버 간 보안 세션 생성 가능 여부에 관련되어 사전에 상기 외부 서버에서 결정된 인증서 정보를 포함하고,
상기 보안 세션 생성 요청에 포함된 상기 노드에서 전송한 인증서 정보와 상기 데이터 플로우에 포함된 인증서 정보에 기반하여 상기 보안 세션 생성 요청이 유효한지 여부를 검사하여 상기 노드와 상기 서비스 서버 간 보안 세션을 생성하고,
상기 노드로부터 상기 보안 세션에 기반하여 서비스 요청이 수신되면, 상기 보안 세션의 식별 정보와 상기 서비스 요청에 포함된 도착지 네트워크 정보에 기반하여 상기 데이터 플로우에서 상기 서비스 요청을 허용하는 서비스 정보가 존재하는지 여부를 확인하고,
상기 서비스 요청을 허용하는 서비스 정보가 존재하면, 상기 서비스 요청에 데이터 플로우 헤더 정보가 포함되어 있는지 여부를 확인하고,
상기 노드에게 서비스 요청에 대한 결과를 반환하는 경우 상기 서비스 요청에 대한 결과에서 상기 데이터 플로우 헤더 정보를 제거하여 상기 노드에게 포워딩하도록 구성되고,
상기 데이터 플로우 헤더 정보는, 상기 서비스 서버가 상기 외부 서버에게 상기 노드에 대한 정보 요청을 수행하는 경우 사용하는 상기 데이터 플로우의 식별 정보와 상기 노드에 대한 정보 요청을 인증하기 위한 인증 정보를 포함하는, 서비스 서버.
In the service server,
communication circuit; Memory; and
a processor operatively connected to the communication circuit and the memory, the processor comprising:
Receive a secure session creation request from a node, check whether a data flow received from an external server exists based on destination network information included in the secure session creation request, and the data flow is secure between the node and the service server. Contains certificate information determined in advance by the external server in relation to whether a session can be created,
Creating a secure session between the node and the service server by checking whether the secure session creation request is valid based on the certificate information transmitted from the node included in the secure session creation request and the certificate information included in the data flow. do,
When a service request is received from the node based on the secure session, whether service information allowing the service request exists in the data flow based on the identification information of the secure session and destination network information included in the service request. Check and
If service information allowing the service request exists, check whether the service request includes data flow header information,
When returning a result of a service request to the node, the data flow header information is removed from the result of the service request and forwarded to the node,
The data flow header information includes identification information of the data flow used when the service server requests information about the node from the external server and authentication information for authenticating the request for information about the node. service server.
삭제delete 게이트웨이의 동작 방법에 있어서,
외부 서버로부터 데이터 플로우를 수신하는 동작, 상기 데이터 플로우는 상기 외부 서버에게 네트워크 접속 요청을 수행한 노드의 접속 가능 여부에 관련된 정보 및 보안 세션 생성 가능 여부에 관련된 인증서 정보를 포함하고;
상기 노드로부터 보안 세션 생성 요청을 수신하는 동작, 상기 보안 세션 생성 요청은 상기 노드에서 전송한 인증서 정보를 포함하고;
상기 보안 세션 생성 요청에 대응되는 데이터 플로우의 존재를 확인하는 동작;
상기 보안 세션 생성 요청에 대응되는 데이터 플로우가 존재하면, 해당 데이터 플로우에 포함된 인증서 정보 및 상기 노드에서 전송한 인증서 정보에 기반하여 상기 보안 세션 생성 요청이 유효한지 여부를 검사하는 동작; 및
보안 세션이 생성되면, 상기 노드로부터 수신되는 서비스 요청을 상기 보안 세션에 기반하여 처리하는 동작; 을 포함하는, 방법.
In the method of operating the gateway,
An operation of receiving a data flow from an external server, wherein the data flow includes information related to whether a node that has made a network connection request to the external server can be connected and certificate information related to whether a secure session can be created;
Receiving a secure session creation request from the node, the secure session creation request including certificate information transmitted from the node;
Confirming the existence of a data flow corresponding to the secure session creation request;
If a data flow corresponding to the secure session creation request exists, checking whether the secure session creation request is valid based on certificate information included in the data flow and certificate information transmitted from the node; and
When a security session is created, processing a service request received from the node based on the security session; Method, including.
삭제delete
KR1020230017021A 2023-02-08 2023-02-08 System for controlling network access and method of the same KR102613414B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230017021A KR102613414B1 (en) 2023-02-08 2023-02-08 System for controlling network access and method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230017021A KR102613414B1 (en) 2023-02-08 2023-02-08 System for controlling network access and method of the same

Publications (1)

Publication Number Publication Date
KR102613414B1 true KR102613414B1 (en) 2023-12-14

Family

ID=89166834

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230017021A KR102613414B1 (en) 2023-02-08 2023-02-08 System for controlling network access and method of the same

Country Status (1)

Country Link
KR (1) KR102613414B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060014597A (en) * 2004-08-11 2006-02-16 삼성전자주식회사 Network device and data transmitting method using network device
KR102364445B1 (en) * 2021-04-28 2022-02-18 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102427663B1 (en) * 2022-01-14 2022-08-02 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102439881B1 (en) * 2022-01-27 2022-09-05 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102472554B1 (en) * 2022-03-31 2022-12-01 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060014597A (en) * 2004-08-11 2006-02-16 삼성전자주식회사 Network device and data transmitting method using network device
KR102364445B1 (en) * 2021-04-28 2022-02-18 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102427663B1 (en) * 2022-01-14 2022-08-02 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102439881B1 (en) * 2022-01-27 2022-09-05 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102472554B1 (en) * 2022-03-31 2022-12-01 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Similar Documents

Publication Publication Date Title
KR102223827B1 (en) System for authenticating and controlling network access of terminal and method thereof
KR102460694B1 (en) System for controlling network access based on controller and method of the same
KR102396528B1 (en) System for controlling network access based on controller and method of the same
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
KR102377247B1 (en) System for controlling network access based on controller and method of the same
KR102460696B1 (en) System for controlling network access based on controller and method of the same
KR102514618B1 (en) System for controlling network access based on controller and method of the same
KR102502367B1 (en) System for controlling network access based on controller and method of the same
KR102333555B1 (en) System for controlling network access based on controller and method of the same
KR102495369B1 (en) System for controlling network access based on controller and method of the same
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
KR102449139B1 (en) System for controlling network access based on controller and method of the same
KR102377248B1 (en) System for controlling network access based on controller and method of the same
KR102472554B1 (en) System for controlling network access based on controller and method of the same
KR102495370B1 (en) System for controlling transmission and reception of file of application based on proxy and method thereof
KR102613414B1 (en) System for controlling network access and method of the same
KR102583604B1 (en) System for controlling data flow based on logical connection identification and method of the same
KR102554200B1 (en) System for controlling data flow based on logical connection identification and method of the same
KR102545160B1 (en) System for controlling network access and method of the same
KR102609368B1 (en) System for controlling network access and method of the same
KR102588356B1 (en) System for controlling network access and method of the same
KR102588357B1 (en) System for controlling network access and method of the same

Legal Events

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