WO2023211124A1 - System for controlling controller-based network connection and method for same - Google Patents

System for controlling controller-based network connection and method for same Download PDF

Info

Publication number
WO2023211124A1
WO2023211124A1 PCT/KR2023/005630 KR2023005630W WO2023211124A1 WO 2023211124 A1 WO2023211124 A1 WO 2023211124A1 KR 2023005630 W KR2023005630 W KR 2023005630W WO 2023211124 A1 WO2023211124 A1 WO 2023211124A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
node
data flow
gateway
domain
Prior art date
Application number
PCT/KR2023/005630
Other languages
French (fr)
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 프라이빗테크놀로지 주식회사
Publication of WO2023211124A1 publication Critical patent/WO2023211124A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • 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/40Network security protocols

Definitions

  • Embodiments disclosed in this document relate to a system and method for controlling controller-based network access.
  • Networks may include public networks such as the Internet as well as private networks such as intranets.
  • 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.
  • IP Internet Protocol
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • Firewall technology may be used.
  • 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.
  • VPN Virtual Private Network
  • tunneling technology are used to encrypt data packets between the terminal and the server.
  • MFA Multi Factor Authentication
  • the service since the service is always connected to the Internet, that is, data packets are already being sent and received during the general authentication (based on User ID and Password input) or MFA performance stages, it prevents the attack itself by entering a random password. There is no way to do this. In other words, if a continuous attack occurs against a specific ID, only the type of function that requires authentication can be provided through additional authentication, which may be inconvenient from the user's perspective.
  • the above problem can be equally applied not only to services connected to the Internet, but also to unit systems used by companies, especially when accessing the unit system from outside through technology such as VPN (Virtual Private Network), after VPN connection authentication. may be accessible to the unit system, and authentication in the unit system may be more vulnerable to security because the security authentication system is weaker than the popular services above and even the minimum authentication standards are not followed.
  • VPN Virtual Private Network
  • a problem may occur in which the proxy cannot inspect or manipulate service processing request information.
  • a node includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, a target application, and a connection control application. And the memory, when executed by the processor, causes the node to perform a network connection request of the target application to an external server through the connection control application, and the network connection request includes identification information of the target application and a destination network. Contains identification information, receives a data flow from the external server, wherein the data flow includes certificate information corresponding to the destination network identification information, and processes data packets of the target application based on the certificate information. , commands can be saved.
  • a node includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, a target application, and a connection control application. And, when the memory is executed by the processor, the node receives tunneling creation information from an external server through the access control application, and establishes tunneling with a gateway corresponding to the tunneling creation information based on the tunneling creation information. Generate and transmit proxy information and tunneling information set in the node to the external server, and if the proxy information and the tunneling information do not correspond, receive proxy server setting status and proxy server setting information from the external server, Commands for setting a proxy based on the received proxy server setting status and the proxy server setting information may be stored.
  • a server includes a communication circuit, a memory for storing a database, and a processor operatively connected to the communication circuit and the memory, wherein the processor is connected to a network connection control application of a node.
  • the network connection request includes identification information of a target application of the node, identification information of a destination network of the target application, a connection policy included in the database, identification information of the target application, and Check whether connection is possible based on the identification information of the destination network, check whether a data flow corresponding to the identification information of the destination network exists, and if the data flow does not exist, determine the domain policy included in the database.
  • check domain information corresponding to the identification information of the destination network check whether certificate information corresponding to the domain information exists, generate a data flow including the domain information and the certificate information, and generate the It can be configured to transmit the data flow to the nodes and gateways.
  • a gateway includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a service processing request from a node and processes the service.
  • the processor receives a service processing request from a node and processes the service.
  • the service processing request may be forwarded or a service processing request failure result may be returned. If the data flow does not exist, the service processing request failure result may be returned.
  • a method of operating a connection control application installed in a node includes performing a network connection request of a target application to an external server, wherein the network connection request includes identification information of the target application and destination network identification information.
  • An operation of receiving a data flow from the external server, wherein the data flow includes certificate information corresponding to the destination network identification information, and processing a data packet of the target application based on the certificate information. may include.
  • a method of operating a server includes receiving a network connection request from a connection control application of a node, wherein the network connection request includes identification information of the target application of the node, and information about the destination network of the target application. Containing identification information, an operation of checking whether connection is possible based on a connection policy included in a database, identification information of the target application, and identification information of the destination network, and data flow corresponding to the identification information of the destination network.
  • An operation to check whether the data flow exists if the data flow does not exist, an operation to check domain information corresponding to the identification information of the destination network based on a domain policy included in the database; certificate information corresponding to the domain information It may include an operation of checking the existence of , an operation of creating a data flow including the domain information and the certificate information, and an operation of transmitting the generated data flow to the node and the gateway.
  • a method of operating a gateway includes the operation of receiving a service processing request from a node, the operation of checking the existence of a data flow corresponding to the service processing request, and if the data flow exists, the data Checks the domain information included in the service processing request based on whether domain information is included in the flow, forwards the service processing request based on the inspection result, or returns a service processing request failure result, or the data flow If does not exist, it may include an operation of returning a result of the service processing request failure.
  • a method is provided through which only authenticated subjects can access the service server through an access control application and a gateway, thereby providing unnecessary service requests or service requests containing attack acts transmitted from unauthenticated subjects.
  • DDoS distributed denial of service
  • DDoS distributed denial of service
  • service requests containing service attack behavior information among service requests passing through the gateway can be filtered in advance, and it is possible to determine whether a target has performed the attack behavior.
  • continuous DDoS attacks can be blocked by isolating the network connection of the target who performed the attack.
  • the service server can remove invalid session information by releasing the data flow at the end of the network connection, and by blocking service requests using invalid session information. It may be possible to provide a more secure network service.
  • each service can provide a unified service access and authentication structure without the need to apply a separate strong authentication method.
  • a communication structure can be provided in which the proxy server re-requests service request information from the service server after the security session or general session between the terminal and the proxy server is removed.
  • a connection based on domain information is provided between the terminal and the proxy through a private DNS (Domain Name System), and a service processing request is made to the service server based on the domain information set in the proxy server.
  • a private DNS Domain Name System
  • the proxy can inspect or manipulate service processing request information even for traffic that bypasses the session.
  • Figure 1 shows an environment including multiple networks.
  • Figure 2 shows an architecture within a network environment according to various embodiments.
  • FIG. 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.
  • FIG. 6 shows examples of gateway operations according to various embodiments.
  • Figure 7 shows a signal flow diagram for setting a domain policy according to various embodiments.
  • Figure 8 shows a signal flow diagram for controller connection according to various embodiments.
  • FIG. 9 shows a signal flow diagram for user authentication according to various embodiments.
  • Figure 10 shows a signal flow diagram for network access according to various embodiments.
  • FIG. 11 illustrates an operation flowchart for processing a service request in a gateway according to various embodiments.
  • Figure 12 shows a signal flow diagram for control flow update according to various embodiments.
  • FIG. 13 shows a signal flow diagram for disconnection according to various embodiments.
  • Figure 14 shows a signal flow diagram for terminating application execution according to various embodiments.
  • Figure 15 shows a flowchart of a method of operating an access control application installed in a node according to various embodiments.
  • Figure 16 shows a flowchart of a server operation method according to various embodiments.
  • FIG. 17 shows a flowchart of a gateway operating method according to various embodiments.
  • 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.”
  • second component e.g., 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.
  • 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.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • 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.
  • 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.
  • '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 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.
  • a machine-readable storage medium such as the memory of a manufacturer's server, an application store server, or a relay server.
  • Figure 1 shows an environment including multiple networks.
  • the first network 10 and the second network 20 may be different networks.
  • the first network 10 may be a public network such as the Internet
  • the second network 20 may be a private network such as an intranet or VPN.
  • the first network 10 may include a source node 101.
  • the 'source node' may be various types of devices capable of performing data communication.
  • 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.
  • 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’.
  • the destination node 102 may include the same or similar device as the above-described source node 101.
  • the destination node 102 may be substantially the same as the destination network.
  • 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.
  • 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.
  • 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.
  • 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 tunnel 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.
  • IP such as a VPN
  • Figure 2 shows an architecture within a network environment according to various embodiments.
  • nodes 201 and 206 may be various types of devices capable of performing data communication.
  • nodes 201 and 206 may include an authenticated node 201 and an unauthenticated node 206.
  • the nodes 201 and 206 may be used in portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, and virtual reality (VR) devices. ) may include devices, or home appliances, and is not limited to the above-mentioned devices.
  • nodes 201 and 206 may include servers or gateways that can transmit data packets through an application.
  • Nodes 201 and 206 may also be referred to as ‘electronic devices’ or ‘terminals.’
  • the authentication node 201 may store the first target application 212 and the access control application 211.
  • the first target application 212 is controlled by the access control application 211 and can transmit data packets to the service server 205 through the gateway 203 or, conversely, receive data packets.
  • Some of the first target applications 212 may be trusted and/or secure applications, such as web browsers or business applications, while others may be untrusted or unsecured malicious programs, thus network access according to embodiments.
  • the system can block access to the service server 205 of unauthorized programs (applications) and isolate the programs through network access control of the access control application 211. For example, before the first 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.
  • connection control application 211 can control data packet transmission of the first target application 212. That is, in order for the first target application 212 to access the network, it must go 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 first target application 212. Data packets of the target application 212 may be transmitted based on a data flow based on the policy of the controller 202.
  • the unauthorized node 206 may store the second target application 216 .
  • the unauthorized node 206 may be a node on which an access control application is not installed.
  • the second target application 216 may access the service server 205 without guaranteeing security.
  • the service server 205 may provide the second target application 216 with only functions suitable for the corresponding security level.
  • Controller 202 may be, for example, a server (or cloud server).
  • the controller 202 can ensure trusted data transmission within a network environment by managing data transmission between the authentication node 201, the gateway 203, and the service server 205.
  • the controller 202 may allow the authorized authentication node 201 (or the access control application 211) to access the network through policy information or blacklist information.
  • Controller 202 may provide information to create tunneling between authentication node 201 and gateway 203. Therefore, the access control application 211 of the authentication node 201 can prevent unauthorized applications from transmitting data packets for unauthorized purposes, and allows data packets to be transmitted through the tunneling created with the gateway 203. It is possible to provide a structure that can only be transmitted to the service server 205.
  • the network connection of the first target application 212 may be blocked from the access control application 211, the controller 202, or the gateway 203.
  • the controller 202 is a connection control application to perform various operations (e.g., registration, authorization, authentication, renewal, termination) associated with the network connection of the authentication node 201 or the access control application 211.
  • Control data packets can be transmitted and received with (211).
  • the flow through which control data packets are transmitted (e.g., 220) may be referred to as a 'control flow'.
  • the controller 202 immediately retrieves tunneling and sessions according to security events received from the interconnected system (e.g., authentication node 201, gateway 203, or service server 205), thereby maintaining a secure network state at all times. can be maintained.
  • the interconnected system e.g., authentication node 201, gateway 203, or service server 205
  • the gateway 203 may be located at the border of the network to which the authentication 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 the embodiment, the gateway 203 may relay communication with the service server 205 through a proxy for data packets received through authorized tunneling, and the service server 205 may relay a service request received from an authenticated target. A structure can be provided to process . 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).
  • the gateway 203 may include a DNS server for processing domain information.
  • the gateway 203 may include a module for inspecting 5Tuples and TCP and UDP data packets, and a module for processing tunneling and secure session data packets. For example, the gateway 203 may check whether all data packets passing through the gateway 203 are data packets transmitted from an authorized target (eg, a target authorized by the controller 202).
  • an authorized target eg, a target authorized by the controller 202
  • the gateway 203 sends data packets received through a tunnel, such as authorized tunneling or session, to the service server through a proxy included in the gateway 203 (e.g., proxy server module 233 in FIG. 6).
  • Service processing with (205) can be relayed.
  • the gateway 203 may provide a structure in which the service server 205 can process a service request received from an authenticated target, and the service server 205 may operate on an unauthenticated node other than the gateway 203 ( 206) can provide a separate network structure that can process service requests. Therefore, the above network processing structure can solve the problem of the structure in which the service server 205 must process services through the gateway 203.
  • the authentication node 201 may include a connection control application 211 and a network driver (not shown) for managing the network connection of the first target application 212 stored in the authentication node 201.
  • a connection control application 211 allows the first target application 212 to connect. You can decide whether or not. If the first 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 authentication node 201 through a kernel including an operating system and a network driver.
  • FIG. 3 is a functional block diagram showing a database stored in a controller according to various embodiments.
  • 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).
  • the node 201 may include the authentication node 201 of FIG. 2 .
  • the network access of the unauthorized node 206 in FIG. 2 may not be controlled by the controller 202 because the access control application is not installed.
  • 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.
  • 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. One embodiment In, the controller 202 may create a whitelist of target applications 212 that can access a specific service (eg, IP and port) based on the connection policy database 311.
  • a specific service eg, IP and port
  • the tunnel policy database 312 is a gateway (e.g., the gateway 203 in FIG. 2) and a proxy that exist between a service server (e.g., the service server 205 in FIG. 2) on a connection path according to a policy.
  • proxy server module 233 in FIG. 6 may include information.
  • the tunnel policy database 312 has a series of information (authentication information, encryption algorithm, tunnel end point, etc.) required for creating a tunnel with the gateway 203, and there is tunneling previously connected through another gateway between the connection paths. In this case, it may include a series of information for its use (collection of IP information assigned to the node and whether alternative processing is performed, etc.).
  • 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).
  • a target e.g., node ID ( identifier), an IP address, a media access control (MAC) address, or a user ID.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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 tunneling and sessions of the application of the node 201 (e.g., the first target application 212), the gateway 203, and the service server 205. there is.
  • 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.
  • 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.
  • the data flow table 316 may further include information indicating whether tunneling or a session is created between the application and the gateway 203.
  • the data flow table 316 when connecting to the service server 205 through a proxy, may include domain information for connecting to the service server 205 and certificate information for domain authentication.
  • the data flow table 316 may be equally stored in the node 201, gateway 203, or service server 205.
  • the tunnel table 317 may include a list of tunnels created between the node 201 and the gateway 203.
  • the domain policy database 318 sends service processing requests to the service server 205 through a proxy included in the gateway 203 or a separate proxy that exists between the network boundaries of the service server 205 on the access path according to policy.
  • the information required to pass through the proxy may include.
  • the proxy policy database 319 may include proxy information existing between the service servers 205 on the connection path according to the policy.
  • Figure 4 shows a functional block diagram of a node according to various embodiments.
  • 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. According to an embodiment, the nodes may include the authenticating node 201 and the non-authenticating node 206 of FIG. 2 .
  • the processor 410 can control the overall operation of the node.
  • the processor 410 may include one processor core (single core) or may include a plurality of processor cores.
  • the processor 410 may include multi-core, such as dual-core, quad-core, or hexa-core.
  • the processor 410 may further include a cache memory located internally or externally.
  • the processor 410 may be configured with one or more processors.
  • the processor 410 may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).
  • GPU graphical processing unit
  • 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.
  • 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.
  • the memory 420 may store commands for controlling nodes, control command codes, control data, or user data.
  • the memory 420 may include at least one of an application program, an operating system (OS), middleware, or a device driver.
  • OS operating system
  • middleware middleware
  • device driver a device driver
  • 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.
  • 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.
  • HDD hard disk drive
  • SSD solid state disk
  • eMMC embedded multi media card
  • UFS universal flash storage
  • the memory 420 may store the first target application 212 and the access control application 211 of FIG. 2. Additionally, the memory 420 may store the second target application 216 of FIG. 2 .
  • the connection control application 211 may perform control flow creation and update functions with the controller 202. To this end, the access control application 211 may include one or more security modules.
  • the memory 420 may store some of the information included in the controller's memory (eg, memory 330 in FIG. 3).
  • memory 420 may store data flow table 316 described in FIG. 3 .
  • 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 in FIG. 2), and performs communication over the established connection. can support.
  • 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.
  • the display 440 can output content, data, or signals.
  • the display 440 may display image data processed by the processor 410.
  • 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.
  • a plurality of touch sensors may be placed above the display 440 or below the display 440.
  • a server 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.
  • a gateway (eg, gateway 203 in FIG. 2) may include a processor 410, a memory 420, and a communication circuit 430.
  • the processor 410, memory 420, and communication circuit 430 included in the gateway may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
  • 5A and 5B illustrate an operation for controlling transmission of data packets according to various embodiments.
  • the access control application 211 detects a network connection request to the service server 205 from the first target application 212 included in the authentication node 201, and connects the authentication node 201 or the connection. It may be determined whether the control application 211 is connected to the controller 202. If the authentication 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. You can. Through the access control application 211, the authentication node 201 can block access of malicious applications in advance at the application layer of the OSI layer.
  • the access control application 211 when the access control application 211 is not connected to the controller 202 or when the data packet to be transmitted is a data packet that must be transmitted based on a tunnel but the corresponding tunnel does not exist, the connection Data packets transmitted from the control application 211 are blocked by the gateway 203, and the access control application 211 can only request a connection to the controller 202.
  • the gateway 203 located at the border of the network blocks data packets for which a corresponding tunnel does not exist, so the data packets (e.g., data packets for TCP session creation) transmitted from the authentication node 201 are transmitted to the service server. (205) may not be reached.
  • the authentication node 201 may be isolated from the service server 205.
  • the second target application 216 can provide a structure that can always access the service server 205 through an existing network path.
  • the service server 205 provides a separate network structure that can process service requests for the unauthorized node 206 rather than the gateway 203, so that the service server 205 must be processed through the gateway 203. It can solve the problem of the inline structure where services must be processed and costs are incurred.
  • FIG. 6 shows examples of gateway operations according to various embodiments.
  • the gateway 203 may include a DNS server module 213, a tunneling module 223, and a proxy server module 233. According to the embodiment, the gateway 203 does not need to include all of the DNS server module 213, the tunneling module 223, and the proxy server module 233, but rather includes the DNS server module 213, the tunneling module 223, and the proxy. It may include at least one of the server modules 233.
  • the node 201 may request domain information to be interpreted in order to connect to the service server 205, and may request a proxy existing within the tunneling section through the DNS server module 213 included in the gateway 203 or an external DNS server. By receiving IP information that can connect to the server, the node 201 can be prevented from directly connecting to the service server 205 that exists in the public IP band.
  • the DNS server module 213 may process a domain resolution request from the node 201.
  • the node 201 can connect to the proxy server module 233 with pre-authorized tunnel and domain authentication information through data flow access control, and the controller 202 is included in the gateway 203 and the gateway 203.
  • the proxy server module 233 or an external proxy server it is possible to control so that only authorized subjects can access the service server 205.
  • Node 201 may request domain resolution from gateway 203.
  • node 201 may request access to private.com.
  • the gateway 203 can interpret the domain information of pribit.com through the DNS server module 213, and transmit the interpreted public IP information (211.1.1.1) to the proxy server module 233, and the node 201 ) can be set and transmitted to private IP information (192.168.1.10) that can access the proxy server module 233.
  • the tunneling module 223 can create tunneling with the node 201.
  • the tunneling module 223 may inspect data packets received through tunneling.
  • the tunneling module 223 may check whether the received data packet was received through a corresponding authorized tunnel.
  • the tunneling module 223 may check not only whether the data packet was received through an authorized tunnel, but also whether it was received through an authorized tunnel including a tunnel or session.
  • the node 201 may request connection to the service server 205 based on private IP information (192.168.1.10) through previously created tunneling.
  • the proxy server module 233 may be set to process a service processing request transmitted from the node 201 based on private IP information (192.168.1.10) with public IP information (211.1.1.1).
  • the proxy server module 233 checks the domain information included in the received service request information and the domain information included in the data flow, and sends service processing request information to the service server 205 only to those who have accessed the authorized data flow. By retransmitting, the proxy server module 233 performs access control to the service server based on data flow information, and simultaneously processes service requests passing through the proxy server module 233 and inspects or manipulates the processing request results returned by the service server in detail. We can provide a way to do it.
  • the gateway 203 identifies authenticated nodes, users, applications, etc. that various access control technologies using conventional proxy servers could not control, and allows each target to access the service server 205. Detailed control is possible, and at the same time, when the target disconnects, the corresponding data flow is removed from the proxy server module 233, thereby preventing unauthorized targets from accessing the service server 205 through the proxy server module 233. there is.
  • Figure 7 shows a signal flow diagram for setting a domain policy according to various embodiments.
  • the node 201 can request access to all services of the node 201 to the proxy or request access to only some services to the proxy. For example, when directing access to some services through a proxy, the controller 202 sets the domain of the DNS server to process the public IP of the public domain as a proxy IP existing in the tunneling band, and when tunneling, the IP of the DNS server is set. A control method may be needed to allocate the domain, resolve the domain on the proxy server, and then forward it to the public IP.
  • public services e.g., SaaS services, etc.
  • the controller 202 may set a domain policy.
  • the administrator can set domain policies through a dedicated console or UI (User Interface) and transmit each setting information to the gateway 203 to set each server and module included in the gateway (operation 610).
  • the controller 202 can process related settings by transmitting to each server.
  • the DNS server of gateway 203 may set the domain and IP.
  • the DNS server can set a domain for service access and IP information to be returned when the node 201 queries the domain.
  • the gateway 203 may set a DNS server IP to query during communication as a tunneling section.
  • the tunneling module of gateway 203 can set the DNS server IP.
  • the proxy server of the gateway 203 may set information to process a service request transmitted as private IP information as public IP information.
  • Figure 8 shows a signal flow diagram for controller connection according to various embodiments.
  • 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.
  • the node 201 may be substantially the same as the authentication node 201 of FIG. 2 on which the access control application 211 is installed.
  • 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.
  • node 201 may request controller connection to controller 202.
  • the access control application 211 may transmit identification information of the access control application 211 to the controller 202.
  • 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.
  • 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.
  • the controller 202 may create a control flow between the node 201 (or the connection control application 211) and the controller 202.
  • 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.
  • the controller 202 connects to the access policy database 311 and the tunnel policy database 312 corresponding to the identified information (e.g., node 201, source network information to which node 201 belongs).
  • the identified information e.g., node 201, source network information to which node 201 belongs.
  • Whitelist information of possible applications can be created.
  • the controller 202 determines whether there is 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 tunnel policy database 312. You can check it.
  • the controller 202 may transmit the application white list to the connection control application 211 in operation 725.
  • the controller 202 can list the tunneling types and gateways to which the node 201 can be connected. For example, in order for the node 201 to connect to the destination network, the controller 202 uses the type, location information, environment, and network information containing the node 201 included in the control flow, and the controller ( Tunneling that the node 201 can connect based on at least one of the identification information (e.g., IP information) of the node 201 identified through 202) and the identification information of the node 201 identified in the node 201. Types and gateways can be listed.
  • the identification information e.g., IP information
  • the controller 202 uses the type, location information, environment, and network information including the node 201 included in the control flow for the node 201 to connect to the destination network.
  • the node 201 can connect based on a combination of two or more of the identification information (e.g. IP information) of the node 201 identified through 202 and the identification information of the node 201 identified through node 201. Tunneling types and gateways can be listed.
  • the controller 202 can check the status of the listed gateways and identify tunneling optimized for the node 201 and the gateway 203 among the listed gateways. For example, controller 202 may identify one tunneling and one gateway 203. According to the embodiment, when there is tunneling and a gateway 203 accessible to the node 201, the controller 202 generates tunneling such as a gateway 203 and tunneling authentication information for the node 201 to create tunneling. Information may be transmitted to node 201 (act 725).
  • tunneling is not created between the node 201 and the gateway 203, but through pre-connected tunneling between the gateway 203 existing in the network to which the node 201 belongs and existing at the boundary of the destination network.
  • the controller 202 may not transmit tunneling creation information to the node 201.
  • 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 725 without generating a control flow. In one embodiment, the controller 202 may transmit the application white list created through operation 720 to the access control application 211.
  • the access control application 211 when tunneling creation is necessary (e.g., tunneling creation information is received from the controller 202), the access control application 211 generates information for tunneling creation received from the controller 202 (e.g., gateway 203 ) and a series of information required for tunneling creation, such as tunneling authentication information, can be requested to the gateway 203 to create tunneling.
  • the gateway 203 may create tunneling in response to the tunneling creation request of the node 201.
  • tunneling creation is determined to be unnecessary by the controller 202 (e.g., when tunneling creation information is not received from the controller 202, or when tunneling creation unnecessary information is received from the controller 202) etc.)
  • the access control application 211 may not perform operation 730.
  • connection control application of node 201 may process the tunneling creation results. For example, when the node 201 completes creating a tunnel with the gateway 203, a designated DNS server may be assigned during tunneling.
  • the access control application 211 may perform a check on the application.
  • 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 the application exists (installed) on the node 201 based on the accessible application information, and in the case of the existing application, the integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, and fingerprint inspection) can be performed.
  • the access control application 211 may transmit node 201 information.
  • the access control application 211 may transmit tunneling creation completion information, certificate and proxy setting information set in the node 201, and assigned tunneling identification information (IP information) to the controller 202.
  • IP information tunneling identification information
  • the access control application 211 may transmit the application check result to the controller 202.
  • the access control application 211 may transmit information on existing applications and the results of validation to the controller 202.
  • the controller 202 may check proxy policies (e.g., proxy policy database 319 in FIG. 3) and domain policies (e.g., domain policy database 318 in FIG. 3). For example, when tunneling creation is completed based on the tunneling creation completion information received from the access control application 211, the controller 202 stores the tunneling IP assigned to the node 201 and the corresponding tunneling creation information in the tunneling table (e.g. : Can be registered in the tunneling table 317 of FIG. 3, and information received from the node 201 can be updated in the control flow.
  • proxy policies e.g., proxy policy database 319 in FIG. 3
  • domain policies e.g., domain policy database 318 in FIG. 3
  • the controller 202 can identify the proxy server that exists in the tunneling section of the gateway 203 to which the node 201 is connected in the proxy policy, and sets a proxy in the node 201 to proxy all service requests. You can check whether you want to process it or not.
  • the controller 202 can check whether the proxy server information received from the node 201 exists and determines the proxy server information to be set based on the received proxy server information and the proxy policy 319. You can compare proxy server information. For example, if the received proxy server information and the proxy server information to be set are the same, the controller 202 may determine that the proxy setting of the node 201 is complete. For another example, if the received proxy server information is different from the proxy server information to be set, or if the received proxy server information does not exist, the controller 202 determines whether to set up a proxy, and proxy server identification information (e.g. IP information). and port information may be returned to node 201 (operation 755).
  • proxy server identification information e.g. IP information
  • the controller 202 can check whether a service server that the node 201 can access exists based on the access policy 311 and the domain policy, and can check domain information and certificate information for accessing the service server. there is. For example, if there is domain information and certificate information for accessing the service server, the controller 202 compares the certificate information received from the node 201 to determine if there is an additional certificate or renewal certificate to be set in the node 201. It can be checked whether it exists, and if certificate settings are required, the certificate information can be returned to the node 201 (operation 755).
  • the controller 202 can check whether the application is valid based on the received application information, and if it is a valid application, the node 202 uses the connection policy and tunnel policy to allow access to the node 201 connected to the network. It is possible to check the gateway 203 where (201) is located and to generate data flow information based on the source IP, destination IP, and port information so that the node 201 can transmit data packets without a network connection request procedure. .
  • the controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 (operations 750 and 755).
  • the access control application 211 may process a result value according to the received response.
  • 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.
  • 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 715 and may transmit a response indicating that controller connection is not possible in operation 725. Additionally, in this case, operations 730 to 755 may not be performed. Depending on the embodiment, if a retry of controller connection is required, the connection control application 211 may perform operation 705 again.
  • 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.
  • the access control application 211 may perform proxy settings and certificate settings, respectively, if proxy setting information or certificate information received from the controller 202 exists.
  • FIG. 9 shows a signal flow diagram for user authentication according to various embodiments.
  • the access control application 211 of the node 201 may receive authentication for the user of the node 201 from the controller 202.
  • the node 201 may be substantially the same as the authentication node 201 of FIG. 2 on which the access control application 211 is installed.
  • 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.
  • the input for user authentication may be a user input for stronger authentication (e.g., biometric information).
  • 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.
  • controller 202 may authenticate the user based on information received from node 201.
  • 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).
  • a database contained in the memory of the controller 202 (e.g., the access policy database of FIG. 3).
  • 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.
  • 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.
  • the controller 202 connects the access policy database 311 and the tunnel policy database 312 corresponding to the identified information (e.g., node 201, source network information to which node 201 belongs).
  • the identified information e.g., node 201, source network information to which node 201 belongs.
  • Whitelist information of possible applications can be created.
  • the controller 202 determines whether there is 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 tunnel policy database 312. You can check it.
  • the controller 202 may transmit the application white list to the connection control application 211 in operation 825.
  • the controller 202 can list the tunneling types and gateways to which the node 201 can be connected. For example, in order for the node 201 to connect to the destination network, the controller 202 uses the type, location information, environment, and network information containing the node 201 included in the control flow, and the controller ( Tunneling that the node 201 can connect based on at least one of the identification information (e.g., IP information) of the node 201 identified through 202) and the identification information of the node 201 identified in the node 201. Types and gateways can be listed.
  • the identification information e.g., IP information
  • the controller 202 uses the type, location information, environment, and network information including the node 201 included in the control flow for the node 201 to connect to the destination network.
  • the node 201 can connect based on a combination of two or more of the identification information (e.g. IP information) of the node 201 identified through 202 and the identification information of the node 201 identified through node 201. Tunneling types and gateways can be listed.
  • the controller 202 can check the status of the listed gateways and identify tunneling optimized for the node 201 and the gateway 203 among the listed gateways. For example, controller 202 may identify one tunneling and one gateway 203. According to the embodiment, when there is tunneling and a gateway 203 accessible to the node 201, the controller 202 generates tunneling such as a gateway 203 and tunneling authentication information for the node 201 to create tunneling. Information may be transmitted to node 201 (act 825).
  • tunneling is not created between the node 201 and the gateway 203, but through pre-connected tunneling between the gateway 203 existing in the network to which the node 201 belongs and existing at the boundary of the destination network.
  • the controller 202 may not transmit tunneling creation information to the node 201.
  • the controller 202 may transmit information indicating that the user is authenticated to the node 201 in response to the user authentication request. Additionally, the controller 202 may transmit information on accessible applications to the connection control application 211.
  • the access control application 211 when tunneling creation is required (e.g., tunneling creation information is received from the controller 202), the access control application 211 generates tunneling information received from the controller 202 (e.g., gateway 203 ) and a series of information required for tunneling creation, such as tunneling authentication information, can be requested to the gateway 203 to create tunneling.
  • the gateway 203 may create tunneling in response to the tunneling creation request of the node 201.
  • tunneling creation is determined to be unnecessary by the controller 202 (e.g., when tunneling creation information is not received from the controller 202, or when tunneling creation unnecessary information is received from the controller 202) etc.)
  • the access control application 211 may not perform operation 830.
  • connection control application of node 201 may process the tunneling creation results. For example, when the node 201 completes creating a tunnel with the gateway 203, a designated DNS server may be assigned during tunneling.
  • the access control application 211 may perform a check on the application.
  • 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 the application exists (installed) on the node 201 based on the accessible application information, and in the case of the existing application, the integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, and fingerprint inspection) can be performed.
  • the access control application 211 may transmit node 201 information.
  • the access control application 211 may transmit tunneling creation completion information, certificate and proxy setting information set in the node 201, and assigned tunneling identification information (IP information) to the controller 202.
  • IP information tunneling identification information
  • the access control application 211 may transmit the application check result to the controller 202.
  • the access control application 211 may transmit information on existing applications and the results of validation to the controller 202.
  • the controller 202 may check proxy policies (e.g., proxy policy database 319 in FIG. 3) and domain policies (e.g., domain policy database 318 in FIG. 3). For example, when tunneling creation is completed based on the tunneling creation completion information received from the access control application 211, the controller 202 stores the tunneling IP assigned to the node 201 and the corresponding tunneling creation information in the tunneling table (e.g. : Can be registered in the tunneling table 317 of FIG. 3, and information received from the node 201 can be updated in the control flow.
  • proxy policies e.g., proxy policy database 319 in FIG. 3
  • domain policies e.g., domain policy database 318 in FIG. 3
  • the controller 202 can identify the proxy server that exists in the tunneling section of the gateway 203 to which the node 201 is connected in the proxy policy, and sets a proxy in the node 201 to proxy all service requests. You can check whether you want to process it or not.
  • the controller 202 can check whether the proxy server information received from the node 201 exists and determines the proxy server information to be set based on the received proxy server information and the proxy policy 319. You can compare proxy server information. For example, if the received proxy server information and the proxy server information to be set are the same, the controller 202 may determine that the proxy setting of the node 201 is complete. For another example, if the received proxy server information is different from the proxy server information to be set, or if the received proxy server information does not exist, the controller 202 determines whether to set up a proxy, and proxy server identification information (e.g. IP information). and port information may be returned to the node 201 (operation 855).
  • proxy server identification information e.g. IP information
  • the controller 202 can check whether a service server that the node 201 can access exists based on the access policy 311 and the domain policy, and can check domain information and certificate information for accessing the service server. there is. For example, if there is domain information and certificate information for accessing the service server, the controller 202 compares the certificate information received from the node 201 to determine if there is an additional certificate or renewal certificate to be set in the node 201. It can be checked whether it exists, and if certificate settings are required, the certificate information can be returned to the node 201 (operation 855).
  • the controller 202 can check whether the application is valid based on the received application information, and if it is a valid application, the node 202 uses the connection policy and tunnel policy to allow access to the node 201 connected to the network. It is possible to check the gateway 203 where (201) is located and to generate data flow information based on the source IP, destination IP, and port information so that the node 201 can transmit data packets without a network connection request procedure. .
  • the controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 (operations 850 and 855).
  • 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 to the destination network may be controlled by the controller 202.
  • 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 815 and may transmit a response indicating that controller access is not possible in operation 825. Additionally, in this case, operations 830 to 855 may not be performed.
  • 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
  • the access control application 211 may perform proxy settings and certificate settings, respectively, if proxy setting information or certificate information received from the controller 202 exists.
  • Figure 10 shows a signal flow diagram for network access according to various embodiments.
  • the node 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.
  • the node 201 may be substantially the same as the authentication node 201 of FIG. 2 on which the access control application 211 is installed.
  • connection control application 211 may detect a network connection event of another application (eg, the first target application 212 in FIG. 2) stored in the node 201.
  • another application eg, the first target application 212 in FIG. 2
  • 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 915 without performing operation 910.
  • the access control application 211 may request network access from the controller 202.
  • a network connection request may include control flow identification information, identification information of the destination network, and port information.
  • 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, the controller 202 may transmit a connection failure result to the connection control application 211 of the node 201 when network connection is impossible (operation 935).
  • the connection request identification information e.g., identification information of the destination network
  • 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.
  • the controller 202 may check whether the target application can connect to the gateway 203 or the service server 205.
  • the controller 202 may transmit a connection failure result to the connection control application 211 of
  • the controller 202 may check domain information and whether tunneling between the node 201 and the gateway 203 has been created based on the tunnel table and domain policy. For example, if tunneling has not been created, the controller 202 may send a connection unavailability result to the access control application (act 935).
  • the controller 202 can check whether a valid data flow corresponding to the identification information and port information of the destination network exists in the data flow table. According to the embodiment, if a valid data flow exists in the data flow table, the controller 202 may transmit the corresponding data flow to the gateway 203 and the access control application 211 (operations 930 and 935).
  • the controller 202 may check the destination network identification information requesting network access and the mapped domain list based on the domain policy. If a domain list exists, the controller 202 can check whether certificate information for accessing each domain information exists. Depending on the embodiment, when a certificate is required to access the corresponding domain information, the controller 202 can check whether the certificate is set in the node 201 based on the control flow information of the node 201.
  • the controller 202 may generate data flow information based on the identification information of the node 201, the identification information of the destination network, and port information so as to allow the connection of the application requesting connection to the node 201. In this case, the controller 202 can add domain information to the data flow if a domain list exists, and can add certificate information to the data flow if certificate settings are necessary.
  • the controller 202 may transmit the generated data flow to the node 201 and the gateway 203 (operations 930 and 935). Depending on the embodiment, if the generated data flow does not exist, operation 935 may not be performed.
  • the access control application 211 of the node 201 may process the 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.
  • the access control application 211 sets the certificate based on the certificate information included in the received data flow, and transmits the data packet after the certificate is set. .
  • the access control application 211 may perform a validation check on the access application according to a validation policy. For example, the access control application 211 may further perform a check on the integrity and stability of the access application (check for application forgery, tampering, code signing check, fingerprint check, etc.). The access control application 211 may perform operation 915 if the validation result is successful.
  • FIG. 11 illustrates an operation flowchart for processing a service request in a gateway according to various embodiments. Depending on the embodiment, the operations shown in FIG. 11 may be performed through the gateway 203 of FIG. 2.
  • the gateway 203 may detect a service processing request event.
  • a service processing request may include one or multiple data packets.
  • the proxy server included in the gateway 203 may detect a service processing request event by receiving a data packet or service processing request.
  • the proxy server of the gateway 203 may check whether a data flow corresponding to the source IP, destination IP, and port information included in the service processing request information exists.
  • the gateway 203 may return a service processing request failure result in operation 1025.
  • the proxy server included in the gateway 203 may return information for forwarding or redirecting a service processing request to a designated path according to a service processing policy, or may return service request failure information.
  • the gateway 203 may forward a service processing request (operation 1020).
  • the proxy server of gateway 203 may check the domain information. For example, the proxy server of the gateway 203 may check whether domain information included in the service request information is included in the domain information in the data flow. Accordingly, if the domain information included in the service request information is not included in the domain information in the data flow, the node 201 cannot connect to the service server, and the proxy server may return a service processing request failure result. (Operation 1025).
  • the proxy server may forward the service processing request information based on the IP and port of the service server corresponding to the domain information. There is (operation 1020).
  • Figure 12 shows a signal flow diagram for control flow update according to various embodiments.
  • the access control application 211 may detect a control flow update event.
  • the access control application 211 may request a control flow update from the controller 202 based on control flow identification information.
  • 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.
  • 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 1120).
  • the controller 202 may update the update time when a control flow exists in the control flow table (e.g., the control flow table 315 in FIG. 3). In this case, the controller 202 may transmit the updated identification information of the control flow to the access control application 211 (operation 1120).
  • the control flow table e.g., the control flow table 315 in FIG. 3
  • the controller 202 may transmit the updated identification information of the control flow to the access control application 211 (operation 1120).
  • the controller 202 sends information about the data flow to the access control application ( 211) (operation 1120).
  • 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 the application when the control flow update result is impossible. For another example, the access control application 211 may update the data flow if the control flow update result is normal and updated data flow information exists.
  • FIG. 13 shows a signal flow diagram for disconnection according to various embodiments.
  • the node 201 terminates the node 201, terminates the connection control application 211, terminates the target application, no longer uses the network connection, and collects information identified from the interworking system. Based on , at least one of the connection termination requests can be detected. In this case, in operation 1210, the node 201 or the access control application 211 may request the controller 202 to remove the control flow.
  • the controller 202 may remove the identified control flow based on the received control flow identification information.
  • 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.
  • the controller 202 may request the gateway 203 to remove all data flows dependent on the removed control 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.
  • Figure 14 shows a signal flow diagram for terminating application execution according to various embodiments.
  • 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.
  • 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.
  • PID Process ID and Child Process ID Tree
  • the access control application 211 may request the controller 202 to remove a data flow.
  • 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.
  • the controller 202 may delete the data flow for which removal has been requested. Additionally, the controller 202 may perform a removal request for the removed data flow to the gateway 203 (operation 1320). 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.
  • Figure 15 shows a flowchart of a method of operating an access control application installed in a node according to various embodiments. The operations shown in FIG. 15 can be performed through the access control application 211 of FIG. 2.
  • the access control application 211 may request network connection of the target application to an external server.
  • a network connection request may include identification information of the target application and identification information of the destination network.
  • the access control application 211 may receive a data flow from an external server.
  • the data flow may include domain information and certificate information corresponding to destination network identification information.
  • the access control application 211 may process the data packet of the target application based on domain information and certificate information. For example, if certificate setting is required based on the data flow, the access control application 211 can set the certificate and transmit a data packet.
  • Figure 16 shows a flowchart of a server operation method according to various embodiments. The operations shown in FIG. 16 may be performed through the controller 202 of FIG. 2.
  • the controller 202 may receive a network connection request from the node's connection control application.
  • the controller 202 may check whether connection is possible based on the connection policy, identification information of the target application, and identification information of the destination network included in the database.
  • the controller 202 may check whether a data flow corresponding to the identification information of the destination network exists.
  • the controller 202 may check domain information corresponding to the identification information of the destination network based on the domain policy included in the database.
  • the controller 202 may check whether certificate information corresponding to domain information exists.
  • the controller 202 may generate a data flow including domain information and certificate information.
  • the controller 202 may transmit the generated data flow to the node and gateway.
  • FIG. 17 shows a flowchart of a gateway operating method according to various embodiments. The operations shown in FIG. 17 may be performed through the gateway 203 of FIG. 2.
  • the gateway 203 may receive a service processing request from the node.
  • a service processing request may include one or multiple data packets.
  • the gateway 203 may confirm the existence of a data flow corresponding to the service processing request.
  • the proxy server of gateway 203 can confirm the existence of a data flow.
  • the gateway 203 checks the domain information included in the service processing request based on whether the data flow includes domain information, and if the check result is successful based on the check result, Service processing requests can be forwarded. Additionally, the gateway 203 may return a service processing request failure result if the test result is failure based on the test result. Additionally, the gateway 203 may return a service processing request failure result if a data flow does not exist.

Landscapes

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

Abstract

A node according to an embodiment disclosed in the present document may store instructions for: performing a network connection request of the target application on an external server through a connection control application, wherein the network connection request includes identification information about the target application and destination network identification information; receiving a data flow from the external server, wherein the data flow includes certificate information corresponding to the destination network identification information; and processing a data packet of the target application on the basis of the certificate information.

Description

컨트롤러 기반의 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법System and method for controlling controller-based network access
관련출원과의 상호인용Cross-citation with related applications
본 발명은 2022.04.26.에 출원된 한국 특허 출원 제10-2022-0051660호에 기초한 우선권의 이익을 주장하며, 해당 한국 특허 출원의 문헌에 개시된 모든 내용을 본 명세서의 일부로 포함한다.The present invention claims the benefit of priority based on Korean Patent Application No. 10-2022-0051660 filed on April 26, 2022, and all contents disclosed in the document of the Korean Patent Application are included as part of this specification.
기술분야Technology field
본 문서에 개시된 실시예들은 컨트롤러 기반 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법에 관한 것이다.Embodiments disclosed in this document relate to a system and method for controlling controller-based 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.
사용자의 단말에 Key Logger 등을 설치하여 특정 서비스 접속에 대한 인증 정보 유출 및 임의의 비밀번호를 대입하는 공격 행위 등이 증가하면서, 인터넷에 상시 연결되어있는 서비스의 개인 정보 유출 및 도용 문제가 발생하고 있다. As attacks such as leaking authentication information for accessing specific services and entering random passwords by installing key loggers on users' terminals are increasing, problems with personal information being leaked and stolen from services that are always connected to the Internet are occurring. .
위와 같은 보안상 문제점을 해결하기 위하여 일부의 서비스는 Multi Factor Authentication(MFA, 다중 인증)을 제공하고 있지만, 모든 서비스들이 강화된 인증 방식을 제공하기 위해서는 기존의 서비스를 수정하기 위한 많은 비용이 투자되어야 하며, 특히 다양한 MFA 기술이 난립하면서 사용자가 선호하는 인증 방식을 모두 지원하는 것이 어려운 문제가 발생할 수 있다. To solve the above security problems, some services provide Multi Factor Authentication (MFA), but in order for all services to provide enhanced authentication methods, a lot of money must be invested to modify existing services. In particular, as various MFA technologies proliferate, it may be difficult to support all of the user's preferred authentication methods.
또한, 서비스는 인터넷에 상시 연결되어있는 상태, 즉 일반 인증(User ID 및 Password 입력 기반) 또는 MFA 수행 단계에서 이미 데이터 패킷을 송수신하고있는 상태이기 때문에, 임의의 비밀번호를 대입하는 공격 행위 자체를 막을 수 있는 방법이 존재하지 않는다. 즉, 특정 ID에 대한 지속적 공격 행위가 발생하면 추가 인증 수행을 통해서 인증을 수행해야 하는 형태의 기능만 제공될 수 있기 때문에, 사용자 관점에서는 불편할 수 있다. In addition, since the service is always connected to the Internet, that is, data packets are already being sent and received during the general authentication (based on User ID and Password input) or MFA performance stages, it prevents the attack itself by entering a random password. There is no way to do this. In other words, if a continuous attack occurs against a specific ID, only the type of function that requires authentication can be provided through additional authentication, which may be inconvenient from the user's perspective.
위와 같은 문제는, 인터넷에 연결된 서비스뿐만 아니라 기업에서 사용하고있는 단위 시스템에도 동일하게 적용될 수 있고, 특히 외부에서 VPN(Virtual Private Network)과 같은 기술을 통해 단위 시스템에 접속하는 경우, VPN 접속 인증 이후에는 단위 시스템에 접근 가능한 상태가 될 수 있고, 단위 시스템에서의 인증은 위와 같은 대중적인 서비스보다 더 취약한 보안 인증 체계 및 최소한의 인증 규격조차도 지켜지지 않고 있기 때문에 보안에 더욱 취약할 수 있다. The above problem can be equally applied not only to services connected to the Internet, but also to unit systems used by companies, especially when accessing the unit system from outside through technology such as VPN (Virtual Private Network), after VPN connection authentication. may be accessible to the unit system, and authentication in the unit system may be more vulnerable to security because the security authentication system is weaker than the popular services above and even the minimum authentication standards are not followed.
또한, 서비스가 다양화되면서 사용자는 하나의 인증 정보를 통해서 각각의 서비스에 통합 인증할 수 있는 기술(예: OAuth 등)을 선호하지만, 현재의 통합 인증 기술은 안전하지 않은 단말 및 네트워크 환경에서 HTTP 프로토콜을 기반으로 하는 SSO(Single Sign On)와 같은 기술을 사용하기 때문에 실질적으로 안전하지 않은 단말 및 네트워크 환경에서 통합 인증을 위한 서비스에 인증된 상태에서 각 서비스를 인증하는 것은 연쇄적인 인증 및 개인 정보 탈취 문제에 있어서 더 위험해지는 문제가 발생할 수 있다. In addition, as services diversify, users prefer technologies (e.g. OAuth, etc.) that can provide integrated authentication for each service through a single authentication information, but the current integrated authentication technology uses HTTP in insecure terminals and network environments. Because it uses technology such as protocol-based SSO (Single Sign On), authenticating each service while authenticated to the service for integrated authentication in a practically unsafe terminal and network environment requires chain authentication and personal information. In terms of deodorization, more dangerous problems may arise.
또한, 인터넷에 연결된 대중화된 서비스에서 각 서비스의 모든 접속을 게이트웨이를 통해서 중계하는 것은 운영 및 비용적 문제가 발생할 수 있다. Additionally, in popular services connected to the Internet, relaying all connections to each service through a gateway may cause operational and cost problems.
또한, 인증된 대상만 접속하고 서비스 요청에 대응하는 각 서비스가 해당 접속 요청에서 식별할 수 있는 정보는 출발지 IP 정보로 제한되기 때문에 어떠한 사용자 및 단말이 접속하였는지 식별할 수 없는 문제가 발생할 수 있다. In addition, since only authenticated subjects are connected and the information that each service that responds to a service request can identify in the connection request is limited to the source IP information, a problem may arise in which it is not possible to identify which users and terminals are connected.
또한, 단말과 서비스 서버 사이에서 SSL/TLS와 같은 보안 세션을 바이패스하는 트래픽에 대해서는 프록시가 서비스 처리 요청 정보를 검사하거나 조작할 수 없는 문제가 발생할 수 있다. Additionally, for traffic that bypasses a security session such as SSL/TLS between the terminal and the service server, a problem may occur in which the proxy cannot inspect or manipulate service processing request information.
본 문서에 개시되는 다양한 실시예들은 네트워크 환경에서 상술한 문제점을 해결하기 위한 시스템 및 그에 관한 방법을 제공하고자 한다. Various embodiments disclosed in this document are intended to provide a system and method for solving the above-described problems in a network environment.
본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 데이터 베이스, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해 외부 서버에게 상기 타겟 애플리케이션의 네트워크 접속 요청을 수행하고, 상기 네트워크 접속 요청은 상기 타겟 애플리케이션의 식별 정보 및 목적지 네트워크 식별 정보를 포함하고, 상기 외부 서버로부터 데이터 플로우를 수신하되, 상기 데이터 플로우는 상기 목적지 네트워크 식별 정보에 대응되는 인증서 정보를 포함하고, 상기 인증서 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 처리하도록 하는, 명령어들을 저장할 수 있다. A node according to an embodiment disclosed herein includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, a target application, and a connection control application. And the memory, when executed by the processor, causes the node to perform a network connection request of the target application to an external server through the connection control application, and the network connection request includes identification information of the target application and a destination network. Contains identification information, receives a data flow from the external server, wherein the data flow includes certificate information corresponding to the destination network identification information, and processes data packets of the target application based on the certificate information. , commands can be saved.
본 문서에 개시된 다른 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 데이터 베이스, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해 외부 서버로부터 터널링 생성 정보를 수신하고, 상기 터널링 생성 정보에 기반하여 상기 터널링 생성 정보에 대응되는 게이트웨이와 터널링을 생성하도록 하고, 상기 노드에 설정된 프록시 정보 및 터널링 정보를 상기 외부 서버에게 전송하고, 상기 프록시 정보와 상기 터널링 정보가 대응되지 않으면, 상기 외부 서버로부터 프록시 서버 설정 여부 및 프록시 서버 설정 정보를 수신하고, 상기 수신된 프록시 서버 설정 여부 및 상기 프록시 서버 설정 정보에 기반하여 프록시를 설정하도록 하는, 명령어들을 저장할 수 있다. A node according to another embodiment disclosed herein includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, a target application, and a connection control application. And, when the memory is executed by the processor, the node receives tunneling creation information from an external server through the access control application, and establishes tunneling with a gateway corresponding to the tunneling creation information based on the tunneling creation information. Generate and transmit proxy information and tunneling information set in the node to the external server, and if the proxy information and the tunneling information do not correspond, receive proxy server setting status and proxy server setting information from the external server, Commands for setting a proxy based on the received proxy server setting status and the proxy server setting information may be stored.
본 문서에 개시된 일 실시예에 따른 서버는, 통신 회로, 데이터 베이스를 저장하는 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신하고, 상기 네트워크 접속 요청은 상기 노드의 타겟 애플리케이션의 식별 정보, 상기 타겟 애플리케이션의 목적지 네트워크의 식별 정보를 포함하고, 상기 데이터 베이스에 포함된 접속 정책, 상기 타겟 애플리케이션의 식별 정보 및 상기 목적지 네트워크의 식별 정보에 기반하여 접속 가능 여부를 확인하고, 상기 목적지 네트워크의 식별 정보에 대응하는 데이터 플로우의 존재 여부를 확인하고, 상기 데이터 플로우가 존재하지 않으면, 상기 데이터 베이스에 포함된 도메인 정책에 기반하여 상기 목적지 네트워크의 식별 정보에 대응되는 도메인 정보를 확인하고, 상기 도메인 정보에 대응되는 인증서 정보의 존재 여부를 확인하고, 상기 도메인 정보 및 상기 인증서 정보를 포함하는 데이터 플로우를 생성하고, 상기 생성된 데이터 플로우를 상기 노드 및 게이트웨이에게 전송하도록 구성될 수 있다. A server according to an embodiment disclosed in this document includes a communication circuit, a memory for storing a database, and a processor operatively connected to the communication circuit and the memory, wherein the processor is connected to a network connection control application of a node. Receiving a connection request, the network connection request includes identification information of a target application of the node, identification information of a destination network of the target application, a connection policy included in the database, identification information of the target application, and Check whether connection is possible based on the identification information of the destination network, check whether a data flow corresponding to the identification information of the destination network exists, and if the data flow does not exist, determine the domain policy included in the database. Based on this, check domain information corresponding to the identification information of the destination network, check whether certificate information corresponding to the domain information exists, generate a data flow including the domain information and the certificate information, and generate the It can be configured to transmit the data flow to the nodes and gateways.
본 문서에 개시된 일 실시예에 따른 게이트웨이는, 통신 회로, 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드로부터 서비스 처리 요청을 수신하고, 상기 서비스 처리 요청에 대응되는 데이터 플로우의 존재를 확인하고, 상기 데이터 플로우가 존재하면, 상기 데이터 플로우에 도메인 정보가 포함되는지 여부에 기반하여 상기 서비스 처리 요청에 포함된 도메인 정보를 검사하고, 검사 결과에 기반하여 상기 서비스 처리 요청을 포워딩하거나 또는 서비스 처리 요청 실패 결과를 반환하고, 상기 데이터 플로우가 존재하지 않으면 상기 서비스 처리 요청 실패 결과를 반환할 수 있다. 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 service processing request from a node and processes the service. Check the existence of a data flow corresponding to the request, and if the data flow exists, check the domain information included in the service processing request based on whether the data flow includes domain information, and based on the check result The service processing request may be forwarded or a service processing request failure result may be returned. If the data flow does not exist, the service processing request failure result may be returned.
본 문서에 개시된 일 실시예에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법은, 외부 서버에게 타겟 애플리케이션의 네트워크 접속 요청을 수행하는 동작, 상기 네트워크 접속 요청은 상기 타겟 애플리케이션의 식별 정보 및 목적지 네트워크 식별 정보를 포함하고, 상기 외부 서버로부터 데이터 플로우를 수신하는 동작, 상기 데이터 플로우는 상기 목적지 네트워크 식별 정보에 대응되는 인증서 정보를 포함하고, 상기 인증서 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 처리하도록 하는 동작을 포함할 수 있다. A method of operating a connection control application installed in a node according to an embodiment disclosed in this document includes performing a network connection request of a target application to an external server, wherein the network connection request includes identification information of the target application and destination network identification information. An operation of receiving a data flow from the external server, wherein the data flow includes certificate information corresponding to the destination network identification information, and processing a data packet of the target application based on the certificate information. may include.
본 문서에 개시된 일 실시예에 따른 서버의 동작 방법은, 노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신하는 동작, 상기 네트워크 접속 요청은 상기 노드의 타겟 애플리케이션의 식별 정보, 상기 타겟 애플리케이션의 목적지 네트워크의 식별 정보를 포함하고, 데이터 베이스에 포함된 접속 정책, 상기 타겟 애플리케이션의 식별 정보 및 상기 목적지 네트워크의 식별 정보에 기반하여 접속 가능 여부를 확인하는 동작, 상기 목적지 네트워크의 식별 정보에 대응하는 데이터 플로우의 존재 여부를 확인하는 동작, 상기 데이터 플로우가 존재하지 않으면, 상기 데이터 베이스에 포함된 도메인 정책에 기반하여 상기 목적지 네트워크의 식별 정보에 대응되는 도메인 정보를 확인하는 동작, 상기 도메인 정보에 대응되는 인증서 정보의 존재 여부를 확인하는 동작, 상기 도메인 정보 및 상기 인증서 정보를 포함하는 데이터 플로우를 생성하는 동작 및 상기 생성된 데이터 플로우를 상기 노드 및 게이트웨이에게 전송하는 동작을 포함할 수 있다. A method of operating a server according to an embodiment disclosed in this document includes receiving a network connection request from a connection control application of a node, wherein the network connection request includes identification information of the target application of the node, and information about the destination network of the target application. Containing identification information, an operation of checking whether connection is possible based on a connection policy included in a database, identification information of the target application, and identification information of the destination network, and data flow corresponding to the identification information of the destination network. An operation to check whether the data flow exists; if the data flow does not exist, an operation to check domain information corresponding to the identification information of the destination network based on a domain policy included in the database; certificate information corresponding to the domain information It may include an operation of checking the existence of , an operation of creating a data flow including the domain information and the certificate information, and an operation of transmitting the generated data flow to the node and the gateway.
본 문서에 개시된 일 실시예에 따른 게이트웨이의 동작 방법은, 노드로부터 서비스 처리 요청을 수신하는 동작, 상기 서비스 처리 요청에 대응되는 데이터 플로우의 존재를 확인하는 동작, 상기 데이터 플로우가 존재하면, 상기 데이터 플로우에 도메인 정보가 포함되는지 여부에 기반하여 상기 서비스 처리 요청에 포함된 도메인 정보를 검사하고, 검사 결과에 기반하여 상기 서비스 처리 요청을 포워딩하거나 또는 서비스 처리 요청 실패 결과를 반환하거나, 또는 상기 데이터 플로우가 존재하지 않으면 상기 서비스 처리 요청 실패 결과를 반환하는 동작을 포함할 수 있다. A method of operating a gateway according to an embodiment disclosed in this document includes the operation of receiving a service processing request from a node, the operation of checking the existence of a data flow corresponding to the service processing request, and if the data flow exists, the data Checks the domain information included in the service processing request based on whether domain information is included in the flow, forwards the service processing request based on the inspection result, or returns a service processing request failure result, or the data flow If does not exist, it may include an operation of returning a result of the service processing request failure.
본 문서에 개시되는 실시예들에 따르면, 기존의 애플리케이션 접속 제어 기술을 사용하여 안전하게 서비스에 접속하고, 서비스에서 접속 대상을 식별 및 인증할 수 있는 기술을 제공할 수 있고, 대중화된 서비스에서 손쉽게 적용할 수 있는 통합 인증 기술을 제공할 수 있다. According to the embodiments disclosed in this document, it is possible to safely access a service using existing application access control technology, provide technology to identify and authenticate the access target in the service, and easily apply it to popular services. It is possible to provide integrated authentication technology that can
또한, 본 문서에 개시되는 실시예들에 따르면 접속 제어 애플리케이션과 게이트웨이를 통해서 인증된 대상만 서비스 서버에 접속할 수 있는 방법을 제공함으로서 비인증된 대상으로부터 전송되는 불필요한 서비스 요청 또는 공격 행위를 포함하는 서비스 요청을 원천적으로 차단함으로서, 인증된 대상과 서비스 서버 간의 상시 안전한 네트워크 접속을 보장함과 동시에 비인증된 대상으로부터의 서비스 요청을 줄임으로서 DDoS(서비스 분산 거부공격) 공격을 효과적으로 방지할 수 있다.In addition, according to the embodiments disclosed in this document, a method is provided through which only authenticated subjects can access the service server through an access control application and a gateway, thereby providing unnecessary service requests or service requests containing attack acts transmitted from unauthenticated subjects. By fundamentally blocking DDoS (distributed denial of service) attacks, DDoS (distributed denial of service) attacks can be effectively prevented by ensuring safe network access at all times between authenticated targets and service servers and at the same time reducing service requests from unauthorized targets.
또한, 본 문서에 개시되는 실시예들에 따르면 게이트웨이를 통과하는 서비스 요청 중에서 서비스 공격 행위 정보를 포함하는 서비스 요청을 사전에 필터링할 수 있고, 어떠한 대상이 해당 공격행위를 수행하였는지 여부를 확인함과 동시에 해당 공격을 수행한 대상의 네트워크 접속을 격리함으로서 지속적인 DDoS 공격 행위를 차단할 수 있다. In addition, according to the embodiments disclosed in this document, service requests containing service attack behavior information among service requests passing through the gateway can be filtered in advance, and it is possible to determine whether a target has performed the attack behavior. At the same time, continuous DDoS attacks can be blocked by isolating the network connection of the target who performed the attack.
또한, 본 문서에 개시되는 실시예들에 따르면, 대표적인 서비스 애플리케이션 중 하나인 HTTP의 특성상, 단말과의 네트워크 접속을 상시 유지하지 않는 경우 단말의 네트워크 접속 종료 시점을 알 수 없기 때문에 유효하지 않은 세션 정보를 관리하고, 이러한 세션 정보를 활용한 Session Hijacking 공격으로부터 취약한 문제를 방지할 수 있다. In addition, according to the embodiments disclosed in this document, due to the characteristics of HTTP, which is one of the representative service applications, if the network connection with the terminal is not maintained at all times, the point in time when the terminal's network connection ends is unknown, so invalid session information You can manage and prevent vulnerable issues from Session Hijacking attacks using this session information.
또한, 본 문서에 개시되는 실시예들에 따르면, 네트워크 접속 종료 시점에 데이터 플로우를 해제함으로서 서비스 서버가 유효하지 않는 세션 정보를 제거할 수 있고, 유효하지 않은 세션 정보를 활용한 서비스 요청을 차단함으로서 보다 안전한 네트워크 서비스 제공아 가능할 수 있다. In addition, according to the embodiments disclosed in this document, the service server can remove invalid session information by releasing the data flow at the end of the network connection, and by blocking service requests using invalid session information. It may be possible to provide a more secure network service.
본 문서에 개시되는 실시예들에 따르면, 네트워크 접속 제어 애플리케이션을 통해 인증을 통제함으로서 각각의 서비스들이 별도의 강력한 인증 수단을 적용할 필요 없이 일원화된 서비스 접속 및 인증 구조를 제공할 수 있다. According to the embodiments disclosed in this document, by controlling authentication through a network access control application, each service can provide a unified service access and authentication structure without the need to apply a separate strong authentication method.
본 문서에 개시되는 실시예들에 따르면, 단말과 프록시 서버 사이에 보안 세션 또는 일반 세션이 제거된 이후 다시 프록시 서버가 서비스 서버에 서비스 요청 정보를 재요청하는 통신 구조를 제공할 수 있다. According to embodiments disclosed in this document, a communication structure can be provided in which the proxy server re-requests service request information from the service server after the security session or general session between the terminal and the proxy server is removed.
본 문서에 개시되는 실시예들에 따르면, 프라이빗 DNS(Domain Name System)를 통해 단말과 프록시간에 도메인 정보에 기반하는 연결을 제공하고, 프록시 서버에서 설정된 도메인 정보에 기반하여 서비스 서버에 서비스 처리 요청을 포워딩하는 네트워크 구조를 제공하여 세션을 바이패스하는 트래픽에 대해서도 프록시가 서비스 처리 요청 정보를 검사하거나 조작할 수 있다. According to embodiments disclosed in this document, a connection based on domain information is provided between the terminal and the proxy through a private DNS (Domain Name System), and a service processing request is made to the service server based on the domain information set in the proxy server. By providing a forwarding network structure, the proxy can inspect or manipulate service processing request information even for traffic that bypasses the session.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects that can be directly or indirectly identified through this document may be provided.
도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. Figure 1 shows an environment including multiple networks.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. Figure 2 shows an architecture within a network environment according to various embodiments.
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 3 is a functional block diagram showing a database stored in a controller according to various embodiments.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. Figure 4 shows a functional block diagram of a node according to various embodiments.
도 5a 및 도 5b는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.5A and 5B illustrate an operation for controlling transmission of data packets according to various embodiments.
도 6은 다양한 실시예들에 따른 게이트웨이의 동작 예시를 도시한다. Figure 6 shows examples of gateway operations according to various embodiments.
도 7은 다양한 실시예들에 따른 도메인 정책을 설정하기 위한 신호 흐름도를 나타낸다. Figure 7 shows a signal flow diagram for setting a domain policy according to various embodiments.
도 8은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. Figure 8 shows a signal flow diagram for controller connection according to various embodiments.
도 9는 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.9 shows a signal flow diagram for user authentication according to various embodiments.
도 10은 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다. Figure 10 shows a signal flow diagram for network access according to various embodiments.
도 11은 다양한 실시예들에 따른 게이트웨이에서 서비스 요청을 처리하기 위한 동작 흐름도를 도시한다. FIG. 11 illustrates an operation flowchart for processing a service request in a gateway according to various embodiments.
도 12는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. Figure 12 shows a signal flow diagram for control flow update according to various embodiments.
도 13은 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다. 13 shows a signal flow diagram for disconnection according to various embodiments.
도 14는 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.Figure 14 shows a signal flow diagram for terminating application execution according to various embodiments.
도 15는 다양한 실시예들에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 대한 흐름도를 도시한다.Figure 15 shows a flowchart of a method of operating an access control application installed in a node according to various embodiments.
도 16은 다양한 실시예들에 따른 서버의 동작 방법에 대한 흐름도를 도시한다. Figure 16 shows a flowchart of a server operation method according to various embodiments.
도 17은 다양한 실시예들에 따른 게이트웨이의 동작 방법에 대한 흐름도를 도시한다.Figure 17 shows a flowchart of a gateway operating method 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 tunnel has already been created, the data of the malicious application will be transmitted to another electronic device (e.g., the destination node 102) within the second network 20. You can.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. Figure 2 shows an architecture within a network environment according to various embodiments.
도 2를 참조하면, 노드(201, 206)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 예를 들어, 노드(201, 206)는 인증 노드(201) 및 비인증 노드(206)를 포함할 수 있다. 다른 예를 들어, 노드(201, 206)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 노드(201, 206)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 노드(201, 206)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. Referring to FIG. 2, nodes 201 and 206 may be various types of devices capable of performing data communication. For example, nodes 201 and 206 may include an authenticated node 201 and an unauthenticated node 206. As another example, the nodes 201 and 206 may be used in portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, and virtual reality (VR) devices. ) may include devices, or home appliances, and is not limited to the above-mentioned devices. For example, nodes 201 and 206 may include servers or gateways that can transmit data packets through an application. Nodes 201 and 206 may also be referred to as ‘electronic devices’ or ‘terminals.’
인증 노드(201)는 제1 타겟 애플리케이션(212) 및 접속 제어 애플리케이션(211)을 저장할 수 있다. 제1 타겟 애플리케이션(212)은 접속 제어 애플리케이션(211)의 제어를 받고, 게이트웨이(203)를 통해 서비스 서버(205)로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. 제1 타겟 애플리케이션(212) 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 신뢰된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 신뢰되지 않거나 보안되지 않은 악성 프로그램일 수 있으므로, 실시예들에 따른 네트워크 접속 시스템은 접속 제어 애플리케이션(211)의 네트워크 접속 제어를 통해 인가되지 않은 프로그램(애플리케이션)의 서비스 서버(205)에 대한 접속을 차단하고 해당 프로그램을 격리할 수 있다. 예를 들어, 실시예들에 따른 제1 타겟 애플리케이션(212)이 서비스 서버(205)와 통신하기 이전에 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 접속 가능 여부를 확인할 수 있다. 접속이 가능하면 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212)의 데이터 패킷 전송을 제어할 수 있다. 즉, 제1 타겟 애플리케이션(212)이 네트워크에 접속하기 위해서는 접속 제어 애플리케이션(211)을 통해야 하고, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 인가되어야 하며, 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212)의 데이터 패킷을 컨트롤러(202)의 정책에 기반한 데이터 플로우에 기반하여 전송할 수 있다.The authentication node 201 may store the first target application 212 and the access control application 211. The first target application 212 is controlled by the access control application 211 and can transmit data packets to the service server 205 through the gateway 203 or, conversely, receive data packets. Some of the first target applications 212 may be trusted and/or secure applications, such as web browsers or business applications, while others may be untrusted or unsecured malicious programs, thus network access according to embodiments. The system can block access to the service server 205 of unauthorized programs (applications) and isolate the programs through network access control of the access control application 211. For example, before the first 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 first target application 212. That is, in order for the first target application 212 to access the network, it must go 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 first target application 212. Data packets of the target application 212 may be transmitted based on a data flow based on the policy of the controller 202.
비인증 노드(206)는 제2 타겟 애플리케이션(216)을 저장할 수 있다. 예를 들어, 비인증 노드(206)는 접속 제어 애플리케이션이 설치되지 않은 노드일 수 있다. 실시예에 따르면, 제2 타겟 애플리케이션(216)은 안전을 보장하지 않는 상태에서 서비스 서버(205)에 접근할 수 있다. 이 경우, 서비스 서버(205)는 해당 보안 수준에 적합한 기능만을 제2 타겟 애플리케이션(216)에게 제공할 수 있다. The unauthorized node 206 may store the second target application 216 . For example, the unauthorized node 206 may be a node on which an access control application is not installed. According to the embodiment, the second target application 216 may access the service server 205 without guaranteeing security. In this case, the service server 205 may provide the second target application 216 with only functions suitable for the corresponding security level.
컨트롤러(202)는 예를 들어, 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 인증 노드(201), 게이트웨이(203), 및 서비스 서버(205) 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 인증 노드(201)(또는 접속 제어 애플리케이션(211))의 네트워크 접속을 허용할 수 있다. 컨트롤러(202)는 인증 노드(201)와 게이트웨이(203)간 터널링을 생성할 수 있도록 하는 정보를 제공할 수 있다. 따라서, 인증 노드(201)의 접속 제어 애플리케이션(211)은 허용되지 않은 애플리케이션이 허용되지 않은 목적으로 데이터 패킷을 전송하는 것을 방지할 수 있고, 게이트웨이(203)와 생성된 터널링을 통해서 허용된 데이터 패킷만이 서비스 서버(205)로 전송될 수 있는 구조를 제공할 수 있다. Controller 202 may be, for example, a server (or cloud server). The controller 202 can ensure trusted data transmission within a network environment by managing data transmission between the authentication node 201, the gateway 203, and the service server 205. For example, the controller 202 may allow the authorized authentication node 201 (or the access control application 211) to access the network through policy information or blacklist information. Controller 202 may provide information to create tunneling between authentication node 201 and gateway 203. Therefore, the access control application 211 of the authentication node 201 can prevent unauthorized applications from transmitting data packets for unauthorized purposes, and allows data packets to be transmitted through the tunneling created with the gateway 203. It is possible to provide a structure that can only be transmitted to the service server 205.
실시예에 다르면, 제1 타겟 애플리케이션(212)의 네트워크 접속은 접속 제어 애플리케이션(211), 컨트롤러(202) 또는 게이트웨이(203)로부터 차단될 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 인증 노드(201) 또는 접속 제어 애플리케이션(211)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 접속 제어 애플리케이션(211)과 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예: 220)은 '제어 플로우(control flow)'로 참조될 수 있다. 실시예에 따르면, 컨트롤러(202)는 연동 시스템(예: 인증 노드(201), 게이트웨이(203) 또는 서비스 서버(205))으로부터 수신된 보안 이벤트에 따라 터널링 및 세션을 즉시 회수함으로서 상시 안전한 네트워크 상태를 유지할 수 있다. Depending on the embodiment, the network connection of the first 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 to perform various operations (e.g., registration, authorization, authentication, renewal, termination) associated with the network connection of the authentication node 201 or the access control application 211. Control data packets can be transmitted and received with (211). The flow through which control data packets are transmitted (e.g., 220) may be referred to as a 'control flow'. According to the embodiment, the controller 202 immediately retrieves tunneling and sessions according to security events received from the interconnected system (e.g., authentication node 201, gateway 203, or service server 205), thereby maintaining a secure network state at all times. can be maintained.
게이트웨이(203)는 인증 노드(201)가 속하는 네트워크의 경계 또는 서비스 서버(205)가 속하는 네트워크의 경계에 위치할 수 있다. 일 실시예에 따르면, 게이트웨이(203)는 클라우드(cloud) 기반으로 컨트롤러(202)와 연결될 수 있다. 실시예에 따르면, 게이트웨이(203)는 인가된 터널링을 통해서 수신된 데이터 패킷을 프록시를 통해서 서비스 서버(205)와의 통신을 중계할 수 있고, 서비스 서버(205)가 인증된 대상으로부터 수신된 서비스 요청을 처리하도록 하는 구조를 제공할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211) 및 게이트웨이(203) 사이에서 데이터 패킷이 전송되는 흐름은 '데이터 플로우(data flow)'로 참조될 수 있다. 데이터 플로우는 노드 또는 IP 단위뿐만 아니라 보다 세부적인 단위(예: 애플리케이션)로 생성될 수 있다. The gateway 203 may be located at the border of the network to which the authentication 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 the embodiment, the gateway 203 may relay communication with the service server 205 through a proxy for data packets received through authorized tunneling, and the service server 205 may relay a service request received from an authenticated target. A structure can be provided to process . 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)는 도메인 정보를 처리하기 위한 DNS 서버를 포함할 수 있다. According to an embodiment, the gateway 203 may include a DNS server for processing domain information.
실시예에 따르면, 게이트웨이(203)는 5Tuples 및 TCP, UDP 데이터 패킷을 검사하기 위한 모듈 및 터널링, 보안 세션 데이터 패킷을 처리하기 위한 모듈을 포함할 수 있다. 예를 들어, 게이트웨이(203)는 게이트웨이(203)를 경유하는 모든 데이터 패킷이 인가된 대상(예: 컨트롤러(202)로부터 인가된 대상)으로부터 전송된 데이터 패킷인지 여부를 확인할 수 있다. According to an embodiment, the gateway 203 may include a module for inspecting 5Tuples and TCP and UDP data packets, and a module for processing tunneling and secure session data packets. For example, the gateway 203 may check whether all data packets passing through the gateway 203 are data packets transmitted from an authorized target (eg, a target authorized by the controller 202).
실시예에 따르면, 게이트웨이(203)는 인가된 터널링 또는 세션 등의 터널을 통해서 수신된 데이터 패킷을 게이트웨이(203)에 포함된 프록시(예: 도 6의 프록시 서버 모듈(233))을 통해 서비스 서버(205)와의 서비스 처리를 중계할 수 있다. 예를 들어, 게이트웨이(203)는 서비스 서버(205)가 인증된 대상으로부터 수신된 서비스 요청을 처리할 수 있는 구조를 제공할 수 있고, 서비스 서버(205)는 게이트웨이(203)가 아닌 비인증 노드(206)에 대한 서비스 요청을 처리할 수 있는 분리된 네트워크 구조를 제공할 수 있다. 따라서, 위와 같은 네트워크 처리 구조는 서비스 서버(205)가 반드시 게이트웨이(203)를 통해 서비스가 처리되어야 하는 구조의 문제점을 해결할 수 있다. According to the embodiment, the gateway 203 sends data packets received through a tunnel, such as authorized tunneling or session, to the service server through a proxy included in the gateway 203 (e.g., proxy server module 233 in FIG. 6). Service processing with (205) can be relayed. For example, the gateway 203 may provide a structure in which the service server 205 can process a service request received from an authenticated target, and the service server 205 may operate on an unauthenticated node other than the gateway 203 ( 206) can provide a separate network structure that can process service requests. Therefore, the above network processing structure can solve the problem of the structure in which the service server 205 must process services through the gateway 203.
다양한 실시예들에 따르면, 인증 노드(201)는 인증 노드(201) 내에 저장된 제1 타겟 애플리케이션(212)의 네트워크 접속을 관리하기 위한 접속 제어 애플리케이션(211) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 인증 노드(201)에 포함된 제1 타겟 애플리케이션(212)의 서비스 서버(205)에 대한 접속 이벤트가 발생하면, 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212)의 접속 가능 여부를 결정할 수 있다. 제1 타겟 애플리케이션(212)이 접속 가능하면, 접속 제어 애플리케이션(211)은 데이터 패킷을 게이트웨이(203)로 전송할 수 있다. 접속 제어 애플리케이션(211)은 인증 노드(201) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다. According to various embodiments, the authentication node 201 may include a connection control application 211 and a network driver (not shown) for managing the network connection of the first target application 212 stored in the authentication node 201. You can. For example, when a connection event to the service server 205 of the first target application 212 included in the authentication node 201 occurs, the connection control application 211 allows the first target application 212 to connect. You can decide whether or not. If the first 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 authentication node 201 through a kernel including an operating system and a network driver.
도 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).
이하에서, 노드(201)는 도 2의 인증 노드(201)를 포함할 수 있다. 예를 들어, 도 2의 비인증 노드(206)는 접속 제어 애플리케이션이 설치되어있지 않기 때문에 컨트롤러(202)로부터 네트워크 접속이 제어되지 않을 수 있다. Hereinafter, the node 201 may include the authentication node 201 of FIG. 2 . For example, the network access of the unauthorized node 206 in FIG. 2 may not be controlled by the controller 202 because the access control application is not installed.
관리자는 컨트롤러(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. One embodiment In, the controller 202 may create a whitelist of target applications 212 that can access a specific service (eg, IP and port) based on the connection policy database 311.
터널 정책 데이터 베이스(312)는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(예: 도 2의 서비스 서버(205))의 사이에 존재하는 게이트웨이(예: 도 2의 게이트웨이(203)) 및 프록시(예: 도 6의 프록시 서버 모듈(233)) 정보를 포함할 수 있다. 예를 들어, 터널 정책 데이터베이스(312)는 게이트웨이(203)와의 터널 생성에 필요한 일련의 정보(인증 정보, 암호화 알고리즘, 터널 엔드 포인트 등) 및 접속 경로 사이에 타 게이트웨이를 통해 사전에 연결된 터널링이 존재하는 경우, 이를 사용하기 위한 일련의 정보(노드에 할당된 IP 정보 수집 및 대체 처리 여부 등)를 포함할 수 있다. The tunnel policy database 312 is a gateway (e.g., the gateway 203 in FIG. 2) and a proxy that exist between a service server (e.g., the service server 205 in FIG. 2) on a connection path according to a policy. (Example: proxy server module 233 in FIG. 6) may include information. For example, the tunnel policy database 312 has a series of information (authentication information, encryption algorithm, tunnel end point, etc.) required for creating a tunnel with the gateway 203, and there is tunneling previously connected through another gateway between the connection paths. In this case, it may include a series of information for its use (collection of IP information assigned to the node and whether alternative processing is performed, etc.).
블랙리스트 정책 데이터 베이스(313)는 노드(201) 또는 게이트웨이(203)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 대상(예: 노드 ID(identifier), IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)의 접속을 차단하기 위한 블랙리스트 등록 정책을 나타낼 수 있다. 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).
블랙리스트 데이터 베이스(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)의 애플리케이션(예: 제1 타겟 애플리케이션(212)), 게이트웨이(203), 서비스 서버(205)의 터널링 및 세션을 관리하기 위한 데이터 플로우 정보를 포함할 수 있다. 데이터 플로우 테이블(316)은 출발지로부터 전송된 데이터 패킷이 인가된 데이터 패킷인지를 식별하기 위한 애플리케이션 ID, 도착지 IP 주소, 및/또는 서비스 포트를 포함할 수 있다. 데이터 플로우 테이블(316)은 제어 플로우 ID에 기반하여 관리될 수 있다. 또한, 데이터 플로우 테이블(316)은 데이터 패킷의 출발지 IP 및 도착지 IP, 포트 정보를 기반으로 데이터 패킷 포워딩 여부를 판단하기 위한 인가된 대상 정보 및 데이터 플로우가 유효한지 여부를 포함하는 상태 정보를 포함할 수 있다. 실시예에 따르면, 데이터 플로우 테이블(316)은 애플리케이션과 게이트웨이(203) 사이에 터널링 또는 세션이 생성되었는지 여부를 나타내는 정보를 더 포함할 수 있다. 실시예에 따르면, 데이터 플로우 테이블(316)은 프록시를 통해서 서비스 서버(205)에 접속하는 경우, 서비스 서버(205) 접속을 위한 도메인 정보 및 도메인 인증을 위한 인증서 정보를 포함할 수 있다. 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 tunneling and sessions of the application of the node 201 (e.g., the first target application 212), the gateway 203, and the service server 205. there is. 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. 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 tunneling or a session is created between the application and the gateway 203. According to the embodiment, when connecting to the service server 205 through a proxy, the data flow table 316 may include domain information for connecting to the service server 205 and certificate information for domain authentication.
실시예에 따르면, 데이터 플로우 테이블(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)은 노드(201)와 게이트웨이(203)간 생성되어있는 터널의 목록을 포함할 수 있다. The tunnel table 317 may include a list of tunnels created between the node 201 and the gateway 203.
도메인 정책 데이터베이스(318)는 정책에 따라 접속 경로 상에서 서비스 서버(205)의 네트워크 경계 사이에 존재하는 게이트웨이(203)에 포함된 프록시 또는 별도로 분리된 프록시를 통해서 서비스 서버(205)와의 서비스 처리 요청을 중계하기 위해서 단말이 도메인 주소로 접속 시도 시, 프록시에 기반하여 통과하기 위해 필요한 정보(도메인 주소 해석 정보, 경로상에 할당할 DNS 서버 정보, 프록시에 설정한 도메인 정보, 해당 도메인 접속 시 필요한 인증서 등)를 포함할 수 있다. The domain policy database 318 sends service processing requests to the service server 205 through a proxy included in the gateway 203 or a separate proxy that exists between the network boundaries of the service server 205 on the access path according to policy. When a terminal attempts to connect to a domain address for relaying, the information required to pass through the proxy (domain address resolution information, DNS server information to be assigned on the route, domain information set in the proxy, certificate required when accessing the domain, etc. ) may include.
프록시 정책 데이터베이스(319)는 정책에 따라 접속 경로 상에서 서비스 서버(205)의 사이에 존재하는 프록시 정보를 포함할 수 있다. The proxy policy database 319 may include proxy information existing between the service servers 205 on the connection path according to the policy.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. Figure 4 shows a functional block diagram of a node according to various embodiments.
도 4를 참조하면, 노드는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시 예에 따르면, 노드는 사용자와 인터페이스를 수행하기 위하여 디스플레이(440)를 더 포함할 수 있다. 실시예에 따르면, 노드는 도 2의 인증 노드(201) 및 비인증 노드(206)를 포함할 수 있다. 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. According to an embodiment, the nodes may include the authenticating node 201 and the non-authenticating node 206 of FIG. 2 .
프로세서(410)는 노드의 전반적인 동작을 제어할 수 있다. 다양한 실시 예들에서, 프로세서(410)는 하나의 프로세서 코어(single core)를 포함하거나, 복수의 프로세서 코어들을 포함할 수 있다. 예를 들면, 프로세서(410)는 듀얼 코어(dual-core), 쿼드 코어(quad-core), 헥사 코어(hexa-core) 등의 멀티 코어(multi-core)를 포함할 수 있다. 실시 예들에 따라, 프로세서(410)는 내부 또는 외부에 위치된 캐시 메모리(cache memory)를 더 포함할 수 있다. 실시 예들에 따라, 프로세서(410)는 하나 이상의 프로세서들로 구성될(configured with) 수 있다. 예를 들면, 프로세서(410)는, 애플리케이션 프로세서(application processor), 통신 프로세서(communication processor), 또는 GPU(graphical processing unit) 중 적어도 하나를 포함할 수 있다. The processor 410 can control the overall operation of the node. In various embodiments, the processor 410 may include one processor core (single core) or may include a plurality of processor cores. For example, the processor 410 may include multi-core, such as dual-core, quad-core, or hexa-core. Depending on embodiments, the processor 410 may further include a cache memory located internally or externally. Depending on embodiments, the processor 410 may be configured with one or more processors. For example, the processor 410 may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).
프로세서(410)의 전부 또는 일부는 노드 내의 다른 구성 요소(예를 들면, 메모리(420), 통신 회로(430), 또는 디스플레이(440))와 전기적으로(electrically) 또는 작동적으로(operatively) 결합(coupled with)되거나 연결될(connected to) 수 있다. 프로세서(410)는 노드의 다른 구성 요소들의 명령을 수신할 수 있고, 수신된 명령을 해석할 수 있으며, 해석된 명령에 따라 계산을 수행하거나 데이터를 처리할 수 있다. 프로세서(410)는 메모리(420), 통신 회로(430), 또는 디스플레이(440)로부터 수신되는 메시지, 데이터, 명령어, 또는 신호를 해석할 수 있고, 가공할 수 있다. 프로세서(410)는 수신된 메시지, 데이터, 명령어, 또는 신호에 기반하여 새로운 메시지, 데이터, 명령어, 또는 신호를 생성할 수 있다. 프로세서(410)는 가공되거나 생성된 메시지, 데이터, 명령어, 또는 신호를 메모리(420), 통신 회로(430), 또는 디스플레이(440)에게 제공할 수 있다. All or a portion of processor 410 is electrically or operatively coupled to other components within the node (e.g., memory 420, communication circuitry 430, or display 440). It can be (coupled with) or connected to. The processor 410 may receive commands from other components of the node, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor 410 may interpret and process messages, data, commands, or signals received from the memory 420, the communication circuit 430, or the display 440. Processor 410 may generate new messages, data, instructions, or signals based on received messages, data, instructions, or signals. Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420, communication circuit 430, or display 440.
프로세서(410)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 410 can process data or signals generated or generated by a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may record (or store) or update instructions, data, or signals to the memory 420 in order to execute or control a program.
메모리(420)는 노드를 제어하는 명령어, 제어 명령어 코드, 제어 데이터, 또는 사용자 데이터를 저장할 수 있다. 예를 들면, 메모리(420)는 애플리케이션(application) 프로그램, OS(operating system), 미들웨어(middleware), 또는 디바이스 드라이버(device driver) 중 적어도 하나를 포함할 수 있다. The memory 420 may store commands for controlling nodes, control command codes, control data, or user data. For example, the memory 420 may include at least one of an application program, an operating system (OS), middleware, or a device driver.
메모리(420)는 휘발성 메모리(volatile memory) 또는 불휘발성(non-volatile memory) 중 하나 이상을 포함할 수 있다. 휘발성 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), SDRAM(synchronous DRAM), PRAM(phase-change RAM), MRAM(magnetic RAM), RRAM(resistive RAM), FeRAM(ferroelectric RAM) 등을 포함할 수 있다. 불휘발성 메모리는 ROM(read only memory), PROM(programmable ROM), EPROM(electrically programmable ROM), EEPROM(electrically erasable programmable ROM), 플래시 메모리(flash memory) 등을 포함할 수 있다. Memory 420 may include one or more of volatile memory or non-volatile memory. Volatile memory includes dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FeRAM). It can be included. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, etc.
메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 uses non-volatile media such as a hard disk drive (HDD), solid state disk (SSD), embedded multi media card (eMMC), and universal flash storage (UFS). More may be included.
일 실시예에 따르면, 메모리(420)는 도 2의 제1 타겟 애플리케이션(212) 및 접속 제어 애플리케이션(211)을 저장할 수 있다. 또한, 메모리(420)는 도 2의 제2 타겟 애플리케이션(216)을 저장할 수도 있다. 접속 제어 애플리케이션(211)은 컨트롤러(202)와의 제어 플로우 생성 및 갱신 기능을 수행할 수 있다. 이를 위하여 접속 제어 애플리케이션(211)은 하나 이상의 보안 모듈을 포함할 수 있다. According to one embodiment, the memory 420 may store the first target application 212 and the access control application 211 of FIG. 2. Additionally, the memory 420 may store the second target application 216 of FIG. 2 . The connection control application 211 may perform control flow creation and update functions with the controller 202. To this end, the access control application 211 may include one or more security modules.
일 실시예에 따르면, 메모리(420)는 컨트롤러의 메모리(예: 도 3의 메모리(330))에 포함된 정보 중 일부를 저장할 수 있다. 예를 들어, 메모리(420)는 도 3에서 설명된 데이터 플로우 테이블(316)을 저장할 수 있다. According to one embodiment, the memory 420 may store some of the information included in the controller's memory (eg, memory 330 in FIG. 3). For example, memory 420 may store data flow table 316 described in FIG. 3 .
통신 회로(430)는 노드와 외부 전자 장치(예: 도 2의 컨트롤러(202), 게이트웨이(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 in FIG. 2), and performs communication over the established connection. can support. According to one embodiment, the communication circuit 430 may be a wireless communication circuit (e.g., a cellular communication circuit, a short-range wireless communication circuit, or a global navigation satellite system (GNSS) communication circuit) or a wired communication circuit (e.g., a local area network (LAN) ) communication circuit, or power line communication circuit), and using the corresponding communication circuit, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a long-distance communication such as a cellular network, the Internet, or a computer network It can communicate with external electronic devices through a network. The various types of communication circuits 430 described above may be implemented as one chip or may be implemented as separate chips.
디스플레이(440)는, 컨텐츠, 데이터, 또는 신호를 출력할 수 있다. 다양한 실시 예들에서, 디스플레이(440)는 프로세서(410)에 의해 가공된 이미지 데이터를 표시할 수 있다. 실시예들에 따라, 디스플레이(440)는 터치 입력 등을 수신할 수 있는 복수의 터치 센서들(미도시)과 결합됨으로써, 일체형의 터치 스크린(touch screen)으로 구성될(configured with) 수도 있다. 디스플레이(440)가 터치 스크린으로 구성되는 경우, 복수의 터치 센서들은, 디스플레이(440) 위에 배치되거나, 디스플레이(440) 아래에 배치될 수 있다.The display 440 can output content, data, or signals. In various embodiments, the display 440 may display image data processed by the processor 410. Depending on embodiments, the display 440 may be configured with an integrated touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving touch input, etc. When the display 440 is configured as a touch screen, a plurality of touch sensors may be placed above the display 440 or below the display 440.
일 실시예에 따른 서버(예: 컨트롤러)는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 서버에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다.A server (eg, controller) according to one embodiment may include a processor 410, memory 420, and communication circuit 430. The processor 410, memory 420, and communication circuit 430 included in the server may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
일 실시예에 따른 게이트웨이(예: 도 2의 게이트웨이(203))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 게이트웨이에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다. A gateway (eg, gateway 203 in FIG. 2) according to an embodiment may include a processor 410, a memory 420, and a communication circuit 430. The processor 410, memory 420, and communication circuit 430 included in the gateway may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
도 5a 및 도 5b는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.5A and 5B illustrate an operation for controlling transmission of data packets according to various embodiments.
도 5a를 참조하면, 접속 제어 애플리케이션(211)은 인증 노드(201)에 포함된 제1 타겟 애플리케이션(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 first target application 212 included in the authentication node 201, and connects the authentication node 201 or the connection. It may be determined whether the control application 211 is connected to the controller 202. If the authentication 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. You can. Through the access control application 211, the authentication node 201 can block access of malicious applications in advance at the application layer of the OSI layer.
실시예에 따르면, 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아닌 경우 또는 전송하고자 하는 데이터 패킷이 터널에 기반하여 전송되어야 하는 데이터 패킷이지만 대응되는 터널이 미존재하는 경우, 접속 제어 애플리케이션(211)으로부터 전송되는 데이터 패킷은 게이트웨이(203)에 의하여 차단되며 접속 제어 애플리케이션(211)은 컨트롤러(202)로 접속을 요청할 수 있을 뿐이다. According to the embodiment, when the access control application 211 is not connected to the controller 202 or when the data packet to be transmitted is a data packet that must be transmitted based on a tunnel but the corresponding tunnel does not exist, the connection Data packets transmitted from the control application 211 are 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 authentication node 201 or a malicious application bypasses the control of the access control application 211, unauthorized data packets may be transmitted from the authentication node 201. You can. In this case, the gateway 203 located at the border of the network blocks data packets for which a corresponding tunnel does not exist, so the data packets (e.g., data packets for TCP session creation) transmitted from the authentication node 201 are transmitted to the service server. (205) may not be reached. In other words, the authentication node 201 may be isolated from the service server 205.
도 5b를 참조하면, 접속 제어 애플리케이션이 설치되지 않은 비인증 노드(206)의 경우, 제2 타겟 애플리케이션(216)은 기존의 네트워크 경로를 통해서 서비스 서버(205)에 상시 접속할 수 있는 구조를 제공할 수 있다. 예를 들어, 서비스 서버(205)는 게이트웨이(203)가 아닌 비인증 노드(206)에 대한 서비스 요청을 처리할 수 있는 분리된 네트워크 구조를 제공함으로써 서비스 서버(205)가 반드시 게이트웨이(203)를 통해서 서비스가 처리되어야 하여 비용이 발생하는 인라인 구조의 문제점을 해결할 수 있다.Referring to FIG. 5b, in the case of an unauthenticated node 206 in which the access control application is not installed, the second target application 216 can provide a structure that can always access the service server 205 through an existing network path. there is. For example, the service server 205 provides a separate network structure that can process service requests for the unauthorized node 206 rather than the gateway 203, so that the service server 205 must be processed through the gateway 203. It can solve the problem of the inline structure where services must be processed and costs are incurred.
도 6은 다양한 실시예들에 따른 게이트웨이의 동작 예시를 도시한다. Figure 6 shows examples of gateway operations according to various embodiments.
도 6을 참조하면, 본 문서에 개시된 일 실시예에 따른 게이트웨이(203)는 DNS 서버 모듈(213), 터널링 모듈(223) 및 프록시 서버 모듈(233)을 포함할 수 있다. 실시예에 따르면, 게이트웨이(203)는 DNS 서버 모듈(213), 터널링 모듈(223) 및 프록시 서버 모듈(233)을 모두 포함해야하는 것은 아니고, DNS 서버 모듈(213), 터널링 모듈(223) 및 프록시 서버 모듈(233) 중 적어도 어느 하나를 포함할 수 있다. Referring to FIG. 6, the gateway 203 according to an embodiment disclosed in this document may include a DNS server module 213, a tunneling module 223, and a proxy server module 233. According to the embodiment, the gateway 203 does not need to include all of the DNS server module 213, the tunneling module 223, and the proxy server module 233, but rather includes the DNS server module 213, the tunneling module 223, and the proxy. It may include at least one of the server modules 233.
노드(201)는 서비스 서버(205)에 접속하기 위해서 도메인 정보를 해석 요청할 수 있고, 게이트웨이(203)에 포함된 DNS 서버 모듈(213) 또는 외부에 존재하는 DNS 서버를 통해서 터널링 구간 내에 존재하는 프록시 서버에 접속할 수 있는 IP 정보를 수신함으로서 노드(201)가 퍼블릭 IP 대역에 존재하는 서비스 서버(205)로 바로 접속하는 것을 방지할 수 있다. 예를 들어, DNS 서버 모듈(213)은 노드(201)의 도메인 해석 요청을 처리할 수 있다. The node 201 may request domain information to be interpreted in order to connect to the service server 205, and may request a proxy existing within the tunneling section through the DNS server module 213 included in the gateway 203 or an external DNS server. By receiving IP information that can connect to the server, the node 201 can be prevented from directly connecting to the service server 205 that exists in the public IP band. For example, the DNS server module 213 may process a domain resolution request from the node 201.
또한, 노드(201)는 데이터 플로우 접속 제어를 통해서 사전에 인가된 터널 및 도메인 인증 정보로 프록시 서버 모듈(233)에 접속할 수 있고, 컨트롤러(202)는 게이트웨이(203) 및 게이트웨이(203)에 포함된 프록시 서버 모듈(233) 또는 외부에 존재하는 프록시 서버에 데이터 플로우 정보를 전달하여 인가된 대상만 서비스 서버(205)로 접속할 수 있도록 제어할 수 있다. In addition, the node 201 can connect to the proxy server module 233 with pre-authorized tunnel and domain authentication information through data flow access control, and the controller 202 is included in the gateway 203 and the gateway 203. By transmitting data flow information to the proxy server module 233 or an external proxy server, it is possible to control so that only authorized subjects can access the service server 205.
노드(201)는 게이트웨이(203)에게 도메인 해석 요청을 수행할 수 있다. 예를 들어, 노드(201)는 pribit.com으로 접속을 요청할 수 있다. Node 201 may request domain resolution from gateway 203. For example, node 201 may request access to private.com.
게이트웨이(203)는 pribit.com의 도메인 정보를 DNS 서버 모듈(213)을 통해 해석할 수 있고, 해석된 퍼블릭 IP 정보(211.1.1.1)를 프록시 서버 모듈(233)에게 전달할 수 있고, 노드(201)에게 프록시 서버 모듈(233)에 접속할 수 있는 프라이빗 IP 정보(192.168.1.10)를 설정하여 전송할 수 있다. The gateway 203 can interpret the domain information of pribit.com through the DNS server module 213, and transmit the interpreted public IP information (211.1.1.1) to the proxy server module 233, and the node 201 ) can be set and transmitted to private IP information (192.168.1.10) that can access the proxy server module 233.
터널링 모듈(223)은 노드(201)와 터널링을 생성할 수 있다. 예를 들어, 터널링 모듈(223)은 터널링을 통해 수신되는 데이터 패킷을 검사할 수 있다. 예를 들어, 터널링 모듈(223)은 수신되는 데이터 패킷이 대응되는 인가된 터널을 통해 수신되었는지 여부를 확인할 수 있다. 실시예에 따르면, 터널링 모듈(223)은 데이터 패킷이 인가된 터널을 통해 수신되었는지 여부만 확인하는 것이 아니고, 터널 또는 세션을 포함한 인가된 터널을 통해 수신되었는지 여부를 확인할 수 있다. The tunneling module 223 can create tunneling with the node 201. For example, the tunneling module 223 may inspect data packets received through tunneling. For example, the tunneling module 223 may check whether the received data packet was received through a corresponding authorized tunnel. According to the embodiment, the tunneling module 223 may check not only whether the data packet was received through an authorized tunnel, but also whether it was received through an authorized tunnel including a tunnel or session.
노드(201)는 기 생성된 터널링을 통해 프라이빗 IP 정보(192.168.1.10)에 기반하여 서비스 서버(205)로 접속을 요청할 수 있다. 프록시 서버 모듈(233)은 노드(201)로부터 프라이빗 IP 정보(192.168.1.10)에 기반하여 전송되는 서비스 처리 요청을 퍼블릭 IP 정보(211.1.1.1)로 처리하도록 설정될 수 있다. The node 201 may request connection to the service server 205 based on private IP information (192.168.1.10) through previously created tunneling. The proxy server module 233 may be set to process a service processing request transmitted from the node 201 based on private IP information (192.168.1.10) with public IP information (211.1.1.1).
즉, 프록시 서버 모듈(233)은 수신된 서비스 요청 정보에 포함된 도메인 정보와 데이터 플로우에 포함된 도메인 정보를 확인하여 인가된 데이터 플로우로 접속한 대상만 서비스 서버(205)로 서비스 처리 요청 정보를 재전송함으로써 프록시 서버 모듈(233)이 데이터 플로우 정보를 기반으로 서비스 서버의 접속 통제를 수행함과 동시에 프록시 서버 모듈(233)을 거쳐가는 서비스 요청 처리 및 서비스 서버가 반환한 처리 요청 결과를 상세 검사하거나 조작할 수 있는 방법을 제공할 수 있다.That is, the proxy server module 233 checks the domain information included in the received service request information and the domain information included in the data flow, and sends service processing request information to the service server 205 only to those who have accessed the authorized data flow. By retransmitting, the proxy server module 233 performs access control to the service server based on data flow information, and simultaneously processes service requests passing through the proxy server module 233 and inspects or manipulates the processing request results returned by the service server in detail. We can provide a way to do it.
위와 같은 네트워크 구조를 통해 게이트웨이(203)는 종래의 프록시 서버를 활용한 다양한 접속 통제 기술들이 제어할 수 없었던 인증된 노드 및 사용자, 애플리케이션 등을 식별하고 각 대상별로 서비스 서버(205)에 접속할 수 있는 세부적 통제가 가능함과 동시에 해당 대상이 접속을 해제하는 경우 프록시 서버 모듈(233)에서 해당 데이터 플로우가 제거됨으로써 비인증 대상이 프록시 서버 모듈(233)을 통해서 서비스 서버(205)로 접속하는 것을 원천 차단할 수 있다. Through the above network structure, the gateway 203 identifies authenticated nodes, users, applications, etc. that various access control technologies using conventional proxy servers could not control, and allows each target to access the service server 205. Detailed control is possible, and at the same time, when the target disconnects, the corresponding data flow is removed from the proxy server module 233, thereby preventing unauthorized targets from accessing the service server 205 through the proxy server module 233. there is.
도 7은 다양한 실시예들에 따른 도메인 정책을 설정하기 위한 신호 흐름도를 나타낸다. Figure 7 shows a signal flow diagram for setting a domain policy according to various embodiments.
노드(201)는 퍼블릭 서비스(예: SaaS 서비스 등)의 접속을 제어하기 위하여 노드(201)의 모든 서비스 접속을 프록시에 요청하거나 일부 서비스 접속만 프록시에 요청하도록 제어할 수 있다. 예를 들어, 일부 서비스 접속을 프록시로 유도하는 경우, 퍼블릭 도메인의 퍼블릭 IP를 터널링 대역에 존재하는 프록시 IP로 처리하기 위해서 컨트롤러(202)는 DNS 서버의 도메인을 설정하고, 터널링 시 DNS 서버의 IP를 할당하고, 프록시 서버에서 도메인 해석 후 퍼블릭 IP로 전달하는 제어 방법이 필요할 수 있다. In order to control access to public services (e.g., SaaS services, etc.), the node 201 can request access to all services of the node 201 to the proxy or request access to only some services to the proxy. For example, when directing access to some services through a proxy, the controller 202 sets the domain of the DNS server to process the public IP of the public domain as a proxy IP existing in the tunneling band, and when tunneling, the IP of the DNS server is set. A control method may be needed to allocate the domain, resolve the domain on the proxy server, and then forward it to the public IP.
도 7을 참조하면, 동작 605에서 컨트롤러(202)는 도메인 정책을 설정할 수 있다. 예를 들어, 관리자는 전용 콘솔 또는 UI(User Interface)를 통해서 도메인 정책을 설정하고, 각 설정 정보를 게이트웨이(203)로 전송하여 게이트웨이에 포함된 각각의 서버 및 모듈을 설정할 수 있다(동작 610). 또한, 컨트롤러(202)는 DNS 서버 및 프록시 서버가 게이트웨이(203)에 포함되어있지 않고 분리되어있는 경우 각 서버로 전송하여 관련된 설정을 처리할 수 있다. Referring to FIG. 7, in operation 605, the controller 202 may set a domain policy. For example, the administrator can set domain policies through a dedicated console or UI (User Interface) and transmit each setting information to the gateway 203 to set each server and module included in the gateway (operation 610). . Additionally, if the DNS server and proxy server are not included in the gateway 203 and are separated, the controller 202 can process related settings by transmitting to each server.
동작 615에서, 게이트웨이(203)의 DNS 서버는 도메인 및 IP를 설정할 수 있다. 예를 들어, DNS 서버는 서비스 접속을 위한 도메인과 노드(201)가 해당 도메인을 질의할 경우 반환할 IP 정보를 설정할 수 있다. At operation 615, the DNS server of gateway 203 may set the domain and IP. For example, the DNS server can set a domain for service access and IP information to be returned when the node 201 queries the domain.
동작 620에서, 게이트웨이(203)는 노드(201)가 터널링을 수립하는 경우 터널링 구간으로서 통신시 질의할 DNS 서버 IP를 설정할 수 있다. 예를 들어, 게이트웨이(203)의 터널링 모듈은 DNS 서버 IP를 설정할 수 있다. In operation 620, when the node 201 establishes tunneling, the gateway 203 may set a DNS server IP to query during communication as a tunneling section. For example, the tunneling module of gateway 203 can set the DNS server IP.
동작 625에서, 게이트웨이(203)의 프록시 서버는 프라이빗 IP 정보로 전송되는 서비스 요청을 퍼블릭 IP 정보로 처리하기 위한 정보를 설정할 수 있다. In operation 625, the proxy server of the gateway 203 may set information to process a service request transmitted as private IP information as public IP information.
도 8은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. Figure 8 shows a signal flow diagram for controller connection according to various embodiments.
노드(201)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로써 노드(201)의 컨트롤러 접속을 시도할 수 있다. 실시예에 따르면, 노드(201)는 접속 제어 애플리케이션(211)이 설치된 도 2의 인증 노드(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 authentication node 201 of FIG. 2 on which the access control application 211 is installed.
도 8을 참조하면, 노드(201)는 컨트롤러 접속 이벤트를 감지할 수 있다. 예를 들어, 노드(201) 내에서 접속 제어 애플리케이션(211)이 설치 및 실행되면, 노드(201)는 컨트롤러(202)에 대한 접속이 요청됨을 감지할 수 있다. Referring to FIG. 8, 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.
동작 705에서, 노드(201)는 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 제어 애플리케이션(211)의 식별 정보를 컨트롤러(202)에게 전송할 수 있다. 추가적으로, 접속 제어 애플리케이션(211)은 노드(201)의 식별 정보(예: 단말 ID, IP 주소, MAC 주소), 종류, 위치, 환경, 노드(201)가 속하는 네트워크의 식별 정보, 및/또는 네트워크 시스템에 의하여 자체적으로 생성된 임의의 식별 정보를 더 전송할 수 있다. In operation 705, 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.
동작 710에서, 컨트롤러(202)는 컨트롤러 접속을 요청한 대상(예: 접속 제어 애플리케이션(211) 또는 노드(201))의 접속 가능 여부를 확인(identify)할 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 노드(201)로부터 수신된 정보가 접속 정책 데이터 베이스(311)에 포함되는지 여부 또는, 노드(201), 노드(201)가 속한 네트워크, 및/또는 접속 제어 애플리케이션(211)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되는지 여부 중 적어도 하나에 기반하여 컨트롤러 접속을 요청한 대상의 접속 가능 여부를 확인할 수 있다. In operation 710, 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.
접속 가능하다면, 동작 715에서, 컨트롤러(202)는 노드(201)(또는 접속 제어 애플리케이션(211))와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 노드(201), 노드(201)가 속한 네트워크, 또는 접속 제어 애플리케이션(211) 중 적어도 하나의 식별 정보를 제어 플로우 테이블(315)에 저장할 수 있다. 제어 플로우 테이블(315)에 저장된 정보는 노드(201)의 사용자 인증, 노드(201)의 정보 업데이트, 노드(201)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다. If a connection is available, at operation 715 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.
동작 720에서, 컨트롤러(202)는 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 터널 정책 데이터 베이스(312)에서 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 실시예에 따라서, 컨트롤러(202)는 식별된 정보, 접속 정책 데이터베이스(311) 및 터널 정책 데이터베이스(312)에 기반하여, 현재 접속 요청한 노드(201)가 기본적으로 연결할 수 있는 목적지 네트워크 정보가 존재하는지 확인할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 725에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다. In operation 720, the controller 202 connects to the access policy database 311 and the tunnel policy database 312 corresponding to the identified information (e.g., node 201, source network information to which node 201 belongs). Whitelist information of possible applications can be created. Depending on the embodiment, the controller 202 determines whether there is 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 tunnel policy database 312. You can check it. In one embodiment, the controller 202 may transmit the application white list to the connection control application 211 in operation 725.
또한, 접속이 가능한 경우, 컨트롤러(202)는 노드(201)가 연결될 수 있는 터널링 종류 및 게이트웨이를 목록화할 수 있다. 예를 들어, 컨트롤러(202)는 노드(201)가 목적지 네트워크에 접속하기 위해서 제어 플로우에 포함된 노드(201)의 종류, 위치 정보, 환경 및 노드(201)가 포함되어있는 네트워크 정보, 컨트롤러(202)를 통해 식별된 노드(201)의 식별 정보(예: IP 정보) 및 노드(201)에서 식별된 노드(201)의 식별 정보 중 적어도 어느 하나에 기반하여 노드(201)가 연결할 수 있는 터널링 종류와 게이트웨이를 목록화할 수 있다. 다른 예를 들어, 컨트롤러(202)는 노드(201)가 목적지 네트워크에 접속하기 위해서 제어 플로우에 포함된 노드(201)의 종류, 위치 정보, 환경 및 노드(201)가 포함되어있는 네트워크 정보, 컨트롤러(202)를 통해 식별된 노드(201)의 식별 정보(예: IP 정보) 및 노드(201)에서 식별된 노드(201)의 식별 정보 중 둘 이상의 조합에 기반하여 노드(201)가 연결할 수 있는 터널링 종류와 게이트웨이를 목록화할 수 있다. Additionally, if a connection is available, the controller 202 can list the tunneling types and gateways to which the node 201 can be connected. For example, in order for the node 201 to connect to the destination network, the controller 202 uses the type, location information, environment, and network information containing the node 201 included in the control flow, and the controller ( Tunneling that the node 201 can connect based on at least one of the identification information (e.g., IP information) of the node 201 identified through 202) and the identification information of the node 201 identified in the node 201. Types and gateways can be listed. For another example, the controller 202 uses the type, location information, environment, and network information including the node 201 included in the control flow for the node 201 to connect to the destination network. The node 201 can connect based on a combination of two or more of the identification information (e.g. IP information) of the node 201 identified through 202 and the identification information of the node 201 identified through node 201. Tunneling types and gateways can be listed.
컨트롤러(202)는 목록화된 게이트웨이의 상태를 확인할 수 있고, 목록화된 게이트웨이 중에서 노드(201)에 최적화된 터널링 및 게이트웨이(203)를 식별할 수 있다. 예를 들어, 컨트롤러(202)는 터널링 및 게이트웨이(203)를 한 개 식별할 수 있다. 실시예에 따르면, 노드(201)에 접속 가능한 터널링 및 게이트웨이(203)가 존재하는 경우, 컨트롤러(202)는 노드(201)가 터널링을 생성하기 위한 게이트웨이(203) 및 터널링 인증 정보 등의 터널링 생성 정보를 노드(201)로 전송할 수 있다(동작 725). The controller 202 can check the status of the listed gateways and identify tunneling optimized for the node 201 and the gateway 203 among the listed gateways. For example, controller 202 may identify one tunneling and one gateway 203. According to the embodiment, when there is tunneling and a gateway 203 accessible to the node 201, the controller 202 generates tunneling such as a gateway 203 and tunneling authentication information for the node 201 to create tunneling. Information may be transmitted to node 201 (act 725).
실시예에 따르면, 노드(201)와 게이트웨이(203) 사이에 터널링이 생성되는 구조가 아니고 노드(201)가 속한 네트워크에 존재하는 게이트웨이(203)와 목적지 네트워크 경계에 존재하는 사전에 연결된 터널링을 통해서 접속하는 구조인 경우 또는 노드(201)와 목적지 네트워크 경계 사이에 다른 터널링 기술을 통해서 접속하는 경우, 컨트롤러(202)는 터널링 생성 정보를 노드(201)에게 전송하지 않을 수 있다. According to the embodiment, tunneling is not created between the node 201 and the gateway 203, but through pre-connected tunneling between the gateway 203 existing in the network to which the node 201 belongs and existing at the boundary of the destination network. In the case of a connection structure or a connection between the node 201 and the destination network boundary through another tunneling technology, the controller 202 may not transmit tunneling creation information to the node 201.
동작 725에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답으로 제어 플로우 식별 정보를 노드(201)에게 전송할 수 있다. 실시예에 따라 컨트롤러 접속을 요청한 대상이 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 제어 플로우를 생성하지 않고 동작 725에서 접속 불가 정보를 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 720의 수행을 통하여 생성된 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다.In operation 725, 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 725 without generating a control flow. In one embodiment, the controller 202 may transmit the application white list created through operation 720 to the access control application 211.
동작 730에서 접속 제어 애플리케이션(211)은 터널링 생성이 필요한 경우(예: 컨트롤러(202)로부터 터널링 생성 정보가 수신된 경우), 컨트롤러(202)로부터 수신된 터널링 생성을 위한 정보(예: 게이트웨이(203) 및 터널링 인증 정보 등 터널링 생성에 필요한 일련의 정보)에 기반하여 게이트웨이(203)에게 터널링 생성을 요청할 수 있다. 게이트웨이(203)는 노드(201)의 터널링 생성 요청에 응답하여 터널링을 생성할 수 있다. 실시예에 따르면, 컨트롤러(202)에 의해 터널링 생성이 불필요한 것으로 판단된 경우(예: 컨트롤러(202)로부터 터널링 생성 정보가 수신되지 않은 경우, 또는 컨트롤러(202)로부터 터널링 생성 불필요 정보가 수신된 경우 등) 접속 제어 애플리케이션(211)은 동작 730을 수행하지 않을 수 있다. In operation 730, when tunneling creation is necessary (e.g., tunneling creation information is received from the controller 202), the access control application 211 generates information for tunneling creation received from the controller 202 (e.g., gateway 203 ) and a series of information required for tunneling creation, such as tunneling authentication information, can be requested to the gateway 203 to create tunneling. The gateway 203 may create tunneling in response to the tunneling creation request of the node 201. According to the embodiment, when tunneling creation is determined to be unnecessary by the controller 202 (e.g., when tunneling creation information is not received from the controller 202, or when tunneling creation unnecessary information is received from the controller 202) etc.) The access control application 211 may not perform operation 730.
동작 735에서, 노드(201)의 접속 제어 애플리케이션은 터널링 생성 결과를 처리할 수 있다. 예를 들어, 노드(201)는 게이트웨이(203)와 터널 생성을 완료한 경우, 터널링시 지정된 DNS 서버가 할당될 수 있다. At operation 735, the connection control application of node 201 may process the tunneling creation results. For example, when the node 201 completes creating a tunnel with the gateway 203, a designated DNS server may be assigned during tunneling.
실시예에 따르면, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션의 경우 유효성 검사 정책에 따라서 무결성 및 안정성 여부 검사(애플리케이션 위, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사)를 수행할 수 있다. According to the embodiment, 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 the application exists (installed) on the node 201 based on the accessible application information, and in the case of the existing application, the integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, and fingerprint inspection) can be performed.
동작 740에서, 접속 제어 애플리케이션(211)은 노드(201) 정보를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 터널링 생성 완료 정보, 노드(201)에 설정된 인증서 및 프록시 설정 정보, 할당된 터널링 식별 정보(IP 정보)를 컨트롤러(202)로 전송할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 애플리케이션 검사 결과를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 존재하는 애플리케이션의 정보 및 유효성 검사의 결과를 컨트롤러(202)에게 전송할 수 있다.In operation 740, the access control application 211 may transmit node 201 information. For example, the access control application 211 may transmit tunneling creation completion information, certificate and proxy setting information set in the node 201, and assigned tunneling identification information (IP information) to the controller 202. According to the embodiment, the access control application 211 may transmit the application check result to the controller 202. For example, the access control application 211 may transmit information on existing applications and the results of validation to the controller 202.
동작 745에서, 컨트롤러(202)는 프록시 정책(예: 도 3의 프록시 정책 데이터베이스(319)) 및 도메인 정책(예: 도 3의 도메인 정책 데이터베이스(318))을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)으로부터 수신된 터널링 생성 완료 정보에 기반하여 터널링 생성이 완료된 경우, 노드(201)에 할당된 터널링 IP 및 해당 터널링 생성 정보를 터널링 테이블(예: 도 3의 터널링 테이블(317))에 등록할 수 있고, 노드(201)로부터 수신된 정보를 제어 플로우에 갱신할 수 있다. At operation 745, the controller 202 may check proxy policies (e.g., proxy policy database 319 in FIG. 3) and domain policies (e.g., domain policy database 318 in FIG. 3). For example, when tunneling creation is completed based on the tunneling creation completion information received from the access control application 211, the controller 202 stores the tunneling IP assigned to the node 201 and the corresponding tunneling creation information in the tunneling table (e.g. : Can be registered in the tunneling table 317 of FIG. 3, and information received from the node 201 can be updated in the control flow.
또한, 컨트롤러(202)는 프록시 정책에서 노드(201)가 접속한 게이트웨이(203)의 터널링 구간에 존재하는 프록시 서버를 식별할 수 있고, 노드(201)에 프록시 설정을 하여 모든 서비스 요청을 프록시를 통해서 처리할 것인지 여부를 확인할 수 있다. In addition, the controller 202 can identify the proxy server that exists in the tunneling section of the gateway 203 to which the node 201 is connected in the proxy policy, and sets a proxy in the node 201 to proxy all service requests. You can check whether you want to process it or not.
실시예에 따르면, 프록시 서버를 설정해야하는 경우, 컨트롤러(202)는 노드(201)로부터 수신된 프록시 서버 정보가 존재하는지 확인할 수 있고, 수신된 프록시 서버 정보와 프록시 정책(319)에 기반하여 설정해야할 프록시 서버 정보를 비교할 수 있다. 예를 들어, 수신된 프록시 서버 정보와 설정해야할 프록시 서버 정보가 동일한 경우, 컨트롤러(202)는 노드(201)의 프록시 설정이 완료된 것으로 판단할 수 있다. 다른 예를 들어, 수신된 프록시 서버 정보와 설정해야할 프록시 서버 정보가 다른 경우 또는 수신된 프록시 서버 정보가 존재하지 않는 경우, 컨트롤러(202)는 프록시 설정 여부, 프록시 서버 식별 정보(예: IP 정보) 및 포트 정보를 노드(201)에게 반환할 수 있다(동작 755).According to the embodiment, when a proxy server needs to be set, the controller 202 can check whether the proxy server information received from the node 201 exists and determines the proxy server information to be set based on the received proxy server information and the proxy policy 319. You can compare proxy server information. For example, if the received proxy server information and the proxy server information to be set are the same, the controller 202 may determine that the proxy setting of the node 201 is complete. For another example, if the received proxy server information is different from the proxy server information to be set, or if the received proxy server information does not exist, the controller 202 determines whether to set up a proxy, and proxy server identification information (e.g. IP information). and port information may be returned to node 201 (operation 755).
또한, 컨트롤러(202)는 접속 정책(311) 및 도메인 정책에 기반하여 노드(201)가 접속할 수 있는 서비스 서버가 존재하는지 확인할 수 있고, 해당 서비스 서버에 접속하기 위한 도메인 정보 및 인증서 정보를 확인할 수 있다. 예를 들어, 서비스 서버에 접속하기 위한 도메인 정보 및 인증서 정보가 존재하는 경우, 컨트롤러(202)는 노드(201)로부터 수신된 인증서 정보와 비교하여 노드(201)에 설정해야할 추가 인증서 또는 갱신 인증서가 존재하는지 확인할 수 있고, 인증서 설정이 필요한 경우 인증서 정보를 노드(201)로 반환할 수 있다(동작 755). In addition, the controller 202 can check whether a service server that the node 201 can access exists based on the access policy 311 and the domain policy, and can check domain information and certificate information for accessing the service server. there is. For example, if there is domain information and certificate information for accessing the service server, the controller 202 compares the certificate information received from the node 201 to determine if there is an additional certificate or renewal certificate to be set in the node 201. It can be checked whether it exists, and if certificate settings are required, the certificate information can be returned to the node 201 (operation 755).
또한, 컨트롤러(202)는 수신된 애플리케이션 정보에 기반하여 애플리케이션이 유효한지 여부를 검사할 수 있고, 유효한 애플리케이션인 경우, 네트워크에 연결된 노드(201)의 접속을 허용하기 위해 접속 정책 및 터널 정책에서 노드(201)가 위치한 게이트웨이(203)를 확인하고, 노드(201)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송을 할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보를 기반으로 데이터 플로우 정보를 생성할 수 있다.In addition, the controller 202 can check whether the application is valid based on the received application information, and if it is a valid application, the node 202 uses the connection policy and tunnel policy to allow access to the node 201 connected to the network. It is possible to check the gateway 203 where (201) is located and to generate data flow information based on the source IP, destination IP, and port information so that the node 201 can transmit data packets without a network connection request procedure. .
컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203) 및 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 750, 755).The controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 (operations 750 and 755).
동작 760에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 컨트롤러 접속이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 컨트롤러 접속이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 760, 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)는 동작 715에서 제어 플로우를 생성하지 않고, 동작 725에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 730 내지 동작 755는 수행되지 않을 수 있다. 실시예에 따라서, 컨트롤러 접속의 재시도가 필요로 한 경우 접속 제어 애플리케이션(211)은 다시 동작 705를 수행할 수 있다. 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 715 and may transmit a response indicating that controller connection is not possible in operation 725. Additionally, in this case, operations 730 to 755 may not be performed. Depending on the embodiment, if a retry of controller connection is required, the connection control application 211 may perform operation 705 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.
실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 프록시 설정 정보 또는 인증서 정보가 존재하는 경우, 각각 프록시 설정 및 인증서 설정을 수행할 수 있다. According to the embodiment, the access control application 211 may perform proxy settings and certificate settings, respectively, if proxy setting information or certificate information received from the controller 202 exists.
도 9는 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.9 shows a signal flow diagram for user authentication according to various embodiments.
노드(201)가 목적지 네트워크에 대한 상세한 접속 권한을 부여 받기 위해서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 노드(201)의 사용자에 대한 인증을 받을 수 있다. 실시예에 따르면, 노드(201)는 접속 제어 애플리케이션(211)이 설치된 도 2의 인증 노드(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 authentication node 201 of FIG. 2 on which the access control application 211 is installed.
도 9를 참조하면, 노드(201)는 사용자 인증을 위한 입력을 수신할 수 있다. 사용자 인증을 위한 입력은 예를 들어, 사용자 ID 및 비밀번호를 입력하는 사용자 입력일 수 있다. 다른 예를 들어, 사용자 인증을 위한 입력은 보다 강화된 인증을 위한 사용자 입력(예: 생체 정보)일 수 있다. 이 경우, 동작 805에서 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 사용자 인증을 요청할 수 있다. 노드(201)와 컨트롤러(202) 간 제어 플로우가 이미 생성된 상태이면, 접속 제어 애플리케이션(211)은 사용자 인증을 위한 입력 정보를 제어 플로우 식별 정보와 함께 전송할 수 있다.Referring to FIG. 9, 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 805, 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.
동작 810에서, 컨트롤러(202)는 노드(201)로부터 수신된 정보에 기반하여 사용자를 인증할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 정보에 포함된 사용자 ID, 비밀번호, 및/또는 강화된 인증 정보와, 컨트롤러(202)의 메모리에 포함된 데이터 베이스(예: 도 3의 접속 정책 데이터 베이스(311) 또는 블랙리스트 데이터 베이스(314))에 기반하여 사용자가 접속 정책에 따라 접속 가능한지 여부 및 사용자가 블랙리스트에 포함되는지 여부를 결정할 수 있다. At operation 810, 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.
사용자가 인증되면, 동작 815에서, 컨트롤러(202)는 제어 플로우의 식별 정보에 사용자의 식별 정보(예: 사용자 ID)를 추가할 수 있다. 추가된 사용자 식별 정보는 인증된 사용자의 컨트롤러 접속 또는 네트워크 접속에 이용될 수 있다.If the user is authenticated, at operation 815, 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.
동작 820에서, 컨트롤러(202)는 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 터널 정책 데이터 베이스(312)에서 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 실시예에 따라서, 컨트롤러(202)는 식별된 정보, 접속 정책 데이터베이스(311) 및 터널 정책 데이터베이스(312)에 기반하여, 현재 접속 요청한 노드(201)가 기본적으로 연결할 수 있는 목적지 네트워크 정보가 존재하는지 확인할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 825에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다. In operation 820, the controller 202 connects the access policy database 311 and the tunnel policy database 312 corresponding to the identified information (e.g., node 201, source network information to which node 201 belongs). Whitelist information of possible applications can be created. Depending on the embodiment, the controller 202 determines whether there is 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 tunnel policy database 312. You can check it. In one embodiment, the controller 202 may transmit the application white list to the connection control application 211 in operation 825.
또한, 접속이 가능한 경우, 컨트롤러(202)는 노드(201)가 연결될 수 있는 터널링 종류 및 게이트웨이를 목록화할 수 있다. 예를 들어, 컨트롤러(202)는 노드(201)가 목적지 네트워크에 접속하기 위해서 제어 플로우에 포함된 노드(201)의 종류, 위치 정보, 환경 및 노드(201)가 포함되어있는 네트워크 정보, 컨트롤러(202)를 통해 식별된 노드(201)의 식별 정보(예: IP 정보) 및 노드(201)에서 식별된 노드(201)의 식별 정보 중 적어도 어느 하나에 기반하여 노드(201)가 연결할 수 있는 터널링 종류와 게이트웨이를 목록화할 수 있다. 다른 예를 들어, 컨트롤러(202)는 노드(201)가 목적지 네트워크에 접속하기 위해서 제어 플로우에 포함된 노드(201)의 종류, 위치 정보, 환경 및 노드(201)가 포함되어있는 네트워크 정보, 컨트롤러(202)를 통해 식별된 노드(201)의 식별 정보(예: IP 정보) 및 노드(201)에서 식별된 노드(201)의 식별 정보 중 둘 이상의 조합에 기반하여 노드(201)가 연결할 수 있는 터널링 종류와 게이트웨이를 목록화할 수 있다. Additionally, if a connection is available, the controller 202 can list the tunneling types and gateways to which the node 201 can be connected. For example, in order for the node 201 to connect to the destination network, the controller 202 uses the type, location information, environment, and network information containing the node 201 included in the control flow, and the controller ( Tunneling that the node 201 can connect based on at least one of the identification information (e.g., IP information) of the node 201 identified through 202) and the identification information of the node 201 identified in the node 201. Types and gateways can be listed. For another example, the controller 202 uses the type, location information, environment, and network information including the node 201 included in the control flow for the node 201 to connect to the destination network. The node 201 can connect based on a combination of two or more of the identification information (e.g. IP information) of the node 201 identified through 202 and the identification information of the node 201 identified through node 201. Tunneling types and gateways can be listed.
컨트롤러(202)는 목록화된 게이트웨이의 상태를 확인할 수 있고, 목록화된 게이트웨이 중에서 노드(201)에 최적화된 터널링 및 게이트웨이(203)를 식별할 수 있다. 예를 들어, 컨트롤러(202)는 터널링 및 게이트웨이(203)를 한 개 식별할 수 있다. 실시예에 따르면, 노드(201)에 접속 가능한 터널링 및 게이트웨이(203)가 존재하는 경우, 컨트롤러(202)는 노드(201)가 터널링을 생성하기 위한 게이트웨이(203) 및 터널링 인증 정보 등의 터널링 생성 정보를 노드(201)로 전송할 수 있다(동작 825). The controller 202 can check the status of the listed gateways and identify tunneling optimized for the node 201 and the gateway 203 among the listed gateways. For example, controller 202 may identify one tunneling and one gateway 203. According to the embodiment, when there is tunneling and a gateway 203 accessible to the node 201, the controller 202 generates tunneling such as a gateway 203 and tunneling authentication information for the node 201 to create tunneling. Information may be transmitted to node 201 (act 825).
실시예에 따르면, 노드(201)와 게이트웨이(203) 사이에 터널링이 생성되는 구조가 아니고 노드(201)가 속한 네트워크에 존재하는 게이트웨이(203)와 목적지 네트워크 경계에 존재하는 사전에 연결된 터널링을 통해서 접속하는 구조인 경우 또는 노드(201)와 목적지 네트워크 경계 사이에 다른 터널링 기술을 통해서 접속하는 경우, 컨트롤러(202)는 터널링 생성 정보를 노드(201)에게 전송하지 않을 수 있다. According to the embodiment, tunneling is not created between the node 201 and the gateway 203, but through pre-connected tunneling between the gateway 203 existing in the network to which the node 201 belongs and existing at the boundary of the destination network. In the case of a connection structure or a connection between the node 201 and the destination network boundary through another tunneling technology, the controller 202 may not transmit tunneling creation information to the node 201.
동작 825에서, 컨트롤러(202)는 사용자 인증 요청에 대한 응답으로써 사용자가 인증됨을 나타내는 정보를 노드(201)에게 전송할 수 있다. 또한, 컨트롤러(202)는 접속 가능한 애플리케이션 정보를 접속 제어 애플리케이션(211)에게 전달할 수 있다. In operation 825, the controller 202 may transmit information indicating that the user is authenticated to the node 201 in response to the user authentication request. Additionally, the controller 202 may transmit information on accessible applications to the connection control application 211.
동작 830에서 접속 제어 애플리케이션(211)은 터널링 생성이 필요한 경우(예: 컨트롤러(202)로부터 터널링 생성 정보가 수신된 경우), 컨트롤러(202)로부터 수신된 터널링 생성을 위한 정보(예: 게이트웨이(203) 및 터널링 인증 정보 등 터널링 생성에 필요한 일련의 정보)에 기반하여 게이트웨이(203)에게 터널링 생성을 요청할 수 있다. 게이트웨이(203)는 노드(201)의 터널링 생성 요청에 응답하여 터널링을 생성할 수 있다. 실시예에 따르면, 컨트롤러(202)에 의해 터널링 생성이 불필요한 것으로 판단된 경우(예: 컨트롤러(202)로부터 터널링 생성 정보가 수신되지 않은 경우, 또는 컨트롤러(202)로부터 터널링 생성 불필요 정보가 수신된 경우 등) 접속 제어 애플리케이션(211)은 동작 830을 수행하지 않을 수 있다. In operation 830, when tunneling creation is required (e.g., tunneling creation information is received from the controller 202), the access control application 211 generates tunneling information received from the controller 202 (e.g., gateway 203 ) and a series of information required for tunneling creation, such as tunneling authentication information, can be requested to the gateway 203 to create tunneling. The gateway 203 may create tunneling in response to the tunneling creation request of the node 201. According to the embodiment, when tunneling creation is determined to be unnecessary by the controller 202 (e.g., when tunneling creation information is not received from the controller 202, or when tunneling creation unnecessary information is received from the controller 202) etc.) The access control application 211 may not perform operation 830.
동작 835에서, 노드(201)의 접속 제어 애플리케이션은 터널링 생성 결과를 처리할 수 있다. 예를 들어, 노드(201)는 게이트웨이(203)와 터널 생성을 완료한 경우, 터널링시 지정된 DNS 서버가 할당될 수 있다. At operation 835, the connection control application of node 201 may process the tunneling creation results. For example, when the node 201 completes creating a tunnel with the gateway 203, a designated DNS server may be assigned during tunneling.
실시예에 따르면, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션의 경우 유효성 검사 정책에 따라서 무결성 및 안정성 여부 검사(애플리케이션 위, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사)를 수행할 수 있다. According to the embodiment, 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 the application exists (installed) on the node 201 based on the accessible application information, and in the case of the existing application, the integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, and fingerprint inspection) can be performed.
동작 840에서, 접속 제어 애플리케이션(211)은 노드(201) 정보를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 터널링 생성 완료 정보, 노드(201)에 설정된 인증서 및 프록시 설정 정보, 할당된 터널링 식별 정보(IP 정보)를 컨트롤러(202)로 전송할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 애플리케이션 검사 결과를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 존재하는 애플리케이션의 정보 및 유효성 검사의 결과를 컨트롤러(202)에게 전송할 수 있다.In operation 840, the access control application 211 may transmit node 201 information. For example, the access control application 211 may transmit tunneling creation completion information, certificate and proxy setting information set in the node 201, and assigned tunneling identification information (IP information) to the controller 202. According to the embodiment, the access control application 211 may transmit the application check result to the controller 202. For example, the access control application 211 may transmit information on existing applications and the results of validation to the controller 202.
동작 845에서, 컨트롤러(202)는 프록시 정책(예: 도 3의 프록시 정책 데이터베이스(319)) 및 도메인 정책(예: 도 3의 도메인 정책 데이터베이스(318))을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)으로부터 수신된 터널링 생성 완료 정보에 기반하여 터널링 생성이 완료된 경우, 노드(201)에 할당된 터널링 IP 및 해당 터널링 생성 정보를 터널링 테이블(예: 도 3의 터널링 테이블(317))에 등록할 수 있고, 노드(201)로부터 수신된 정보를 제어 플로우에 갱신할 수 있다. At operation 845, the controller 202 may check proxy policies (e.g., proxy policy database 319 in FIG. 3) and domain policies (e.g., domain policy database 318 in FIG. 3). For example, when tunneling creation is completed based on the tunneling creation completion information received from the access control application 211, the controller 202 stores the tunneling IP assigned to the node 201 and the corresponding tunneling creation information in the tunneling table (e.g. : Can be registered in the tunneling table 317 of FIG. 3, and information received from the node 201 can be updated in the control flow.
또한, 컨트롤러(202)는 프록시 정책에서 노드(201)가 접속한 게이트웨이(203)의 터널링 구간에 존재하는 프록시 서버를 식별할 수 있고, 노드(201)에 프록시 설정을 하여 모든 서비스 요청을 프록시를 통해서 처리할 것인지 여부를 확인할 수 있다. In addition, the controller 202 can identify the proxy server that exists in the tunneling section of the gateway 203 to which the node 201 is connected in the proxy policy, and sets a proxy in the node 201 to proxy all service requests. You can check whether you want to process it or not.
실시예에 따르면, 프록시 서버를 설정해야하는 경우, 컨트롤러(202)는 노드(201)로부터 수신된 프록시 서버 정보가 존재하는지 확인할 수 있고, 수신된 프록시 서버 정보와 프록시 정책(319)에 기반하여 설정해야할 프록시 서버 정보를 비교할 수 있다. 예를 들어, 수신된 프록시 서버 정보와 설정해야할 프록시 서버 정보가 동일한 경우, 컨트롤러(202)는 노드(201)의 프록시 설정이 완료된 것으로 판단할 수 있다. 다른 예를 들어, 수신된 프록시 서버 정보와 설정해야할 프록시 서버 정보가 다른 경우 또는 수신된 프록시 서버 정보가 존재하지 않는 경우, 컨트롤러(202)는 프록시 설정 여부, 프록시 서버 식별 정보(예: IP 정보) 및 포트 정보를 노드(201)에게 반환할 수 있다(동작 855).According to the embodiment, when a proxy server needs to be set, the controller 202 can check whether the proxy server information received from the node 201 exists and determines the proxy server information to be set based on the received proxy server information and the proxy policy 319. You can compare proxy server information. For example, if the received proxy server information and the proxy server information to be set are the same, the controller 202 may determine that the proxy setting of the node 201 is complete. For another example, if the received proxy server information is different from the proxy server information to be set, or if the received proxy server information does not exist, the controller 202 determines whether to set up a proxy, and proxy server identification information (e.g. IP information). and port information may be returned to the node 201 (operation 855).
또한, 컨트롤러(202)는 접속 정책(311) 및 도메인 정책에 기반하여 노드(201)가 접속할 수 있는 서비스 서버가 존재하는지 확인할 수 있고, 해당 서비스 서버에 접속하기 위한 도메인 정보 및 인증서 정보를 확인할 수 있다. 예를 들어, 서비스 서버에 접속하기 위한 도메인 정보 및 인증서 정보가 존재하는 경우, 컨트롤러(202)는 노드(201)로부터 수신된 인증서 정보와 비교하여 노드(201)에 설정해야할 추가 인증서 또는 갱신 인증서가 존재하는지 확인할 수 있고, 인증서 설정이 필요한 경우 인증서 정보를 노드(201)로 반환할 수 있다(동작 855). In addition, the controller 202 can check whether a service server that the node 201 can access exists based on the access policy 311 and the domain policy, and can check domain information and certificate information for accessing the service server. there is. For example, if there is domain information and certificate information for accessing the service server, the controller 202 compares the certificate information received from the node 201 to determine if there is an additional certificate or renewal certificate to be set in the node 201. It can be checked whether it exists, and if certificate settings are required, the certificate information can be returned to the node 201 (operation 855).
또한, 컨트롤러(202)는 수신된 애플리케이션 정보에 기반하여 애플리케이션이 유효한지 여부를 검사할 수 있고, 유효한 애플리케이션인 경우, 네트워크에 연결된 노드(201)의 접속을 허용하기 위해 접속 정책 및 터널 정책에서 노드(201)가 위치한 게이트웨이(203)를 확인하고, 노드(201)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송을 할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보를 기반으로 데이터 플로우 정보를 생성할 수 있다.In addition, the controller 202 can check whether the application is valid based on the received application information, and if it is a valid application, the node 202 uses the connection policy and tunnel policy to allow access to the node 201 connected to the network. It is possible to check the gateway 203 where (201) is located and to generate data flow information based on the source IP, destination IP, and port information so that the node 201 can transmit data packets without a network connection request procedure. .
컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203) 및 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 850, 855).The controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 (operations 850 and 855).
동작 860에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 사용자 인증이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 사용자 인증이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 860, 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 to the destination network may be controlled by the controller 202.
다른 실시예에 따르면, 컨트롤러(202)는 노드(201)의 사용자 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(201)가 접속 불가능 및 사용자 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 815에서 사용자 식별 정보를 반영하지 않고, 동작 825에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 830 내지 동작 855은 수행되지 않을 수 있다. 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 815 and may transmit a response indicating that controller access is not possible in operation 825. Additionally, in this case, operations 830 to 855 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, the access control application 211 may perform proxy settings and certificate settings, respectively, if proxy setting information or certificate information received from the controller 202 exists.
도 10은 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다. Figure 10 shows a signal flow diagram for network access according to various embodiments.
노드(201)가 컨트롤러(202)로부터 인가된 이후에, 노드(201)는 노드(201)의 접속 제어 애플리케이션(211)을 통해 노드(201) 내에 저장된 다른 애플리케이션들의 네트워크 접속을 제어함으로서 신뢰된 데이터 전송을 보장할 수 있다. 실시예에 따르면, 노드(201)는 접속 제어 애플리케이션(211)이 설치된 도 2의 인증 노드(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 authentication node 201 of FIG. 2 on which the access control application 211 is installed.
동작 905에서, 접속 제어 애플리케이션(211)은 노드(201) 내에 저장된 다른 애플리케이션(예: 도 2의 제1 타겟 애플리케이션(212))의 네트워크 접속 이벤트를 감지할 수 있다. In operation 905, the connection control application 211 may detect a network connection event of another application (eg, the first target application 212 in FIG. 2) stored in the node 201.
동작 910에서, 접속 제어 애플리케이션(211)은 네트워크 접속 요청한 애플리케이션의 식별 정보, 목적지 네트워크 식별 정보 및 포트 정보에 대응되는 데이터 플로우의 존재를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지만 유효하지 않은 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. 다른 실시예에 따라서, 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(211)은 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 실시예에 따르면 노드(201)의 접속 제어 애플리케이션(211)은 동작 910을 수행하지 않고 동작 915에서 네트워크 접속 요청을 수행할 수도 있다. In operation 910, 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 915 without performing operation 910.
데이터 플로우가 존재하지 않거나 인증 시각이 만료되어 갱신이 필요한 경우 등 데이터 플로우를 갱신해야 하는 경우, 동작 915에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속 요청을 수행할 수 있다. 예를 들어, 네트워크 접속 요청은 제어 플로우 식별 정보, 목적지 네트워크의 식별 정보 및 포트 정보를 포함할 수 있다. When the data flow needs to be updated, such as when the data flow does not exist or when the authentication time has expired and needs to be updated, in operation 915, the 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.
동작 920에서, 컨트롤러(202)는 제어 플로우 식별 정보를 기반으로 식별된 정보(예: 노드, 사용자, 출발지 네트워크 식별 정보)와 대응되는 접속 정책에서, 접속 요청한 식별 정보(예: 목적지 네트워크의 식별 정보 및 포트 정보)의 포함 여부 및 목적지 네트워크의 접속 가능 여부를 확인할 수 있다. 실시예에 따르면, 컨트롤러(202)는 타겟 애플리케이션이 게이트웨이(203) 또는 서비스 서버(205)에 접속 가능한지 여부를 확인할 수 있다. 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 불가능한 경우 노드(201)의 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다(동작 935).In operation 920, 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, the controller 202 may transmit a connection failure result to the connection control application 211 of the node 201 when network connection is impossible (operation 935).
접속 가능한 경우, 동작 925에서, 컨트롤러(202)는 터널 테이블 및 도메인 정책에 기반하여 노드(201)와 게이트웨이(203) 간의 터널링이 생성되었는지 여부 및 도메인 정보를 확인할 수 있다. 예를 들어, 터널링이 생성되어있지 않은 경우 컨트롤러(202)는 접속 제어 애플리케이션에게 접속 불가 결과를 전송할 수 있다(동작 935). If connectivity is available, in operation 925, the controller 202 may check domain information and whether tunneling between the node 201 and the gateway 203 has been created based on the tunnel table and domain policy. For example, if tunneling has not been created, the controller 202 may send a connection unavailability result to the access control application (act 935).
터널링이 생성되어있는 경우, 컨트롤러(202)는 데이터 플로우 테이블에서 목적지 네트워크의 식별 정보 및 포트 정보에 대응되는 유효한 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우 테이블에 유효한 데이터 플로우가 존재하는 경우 컨트롤러(202)는 해당 데이터 플로우를 게이트웨이(203) 및 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 930, 동작 935). When tunneling is created, the controller 202 can check whether a valid data flow corresponding to the identification information and port information of the destination network exists in the data flow table. According to the embodiment, if a valid data flow exists in the data flow table, the controller 202 may transmit the corresponding data flow to the gateway 203 and the access control application 211 (operations 930 and 935).
실시예에 따르면, 유효한 데이터 플로우가 존재하지 않는 경우, 컨트롤러(202)는 도메인 정책에 기반하여 네트워크 접속 요청한 목적지 네트워크 식별 정보와 매핑된 도메인 목록을 확인할 수 있다. 도메인 목록이 존재하는 경우, 컨트롤러(202)는 각각의 도메인 정보로 접속하기 위한 인증서 정보가 존재하는지 확인할 수 있다. 실시예에 따라서, 해당 도메인 정보로 접속하기 위한 인증서가 필요한 경우, 컨트롤러(202) 노드(201)의 제어 플로우 정보에 기반하여, 인증서가 노드(201)에 설정되어있는지 확인할 수 있다. According to the embodiment, when a valid data flow does not exist, the controller 202 may check the destination network identification information requesting network access and the mapped domain list based on the domain policy. If a domain list exists, the controller 202 can check whether certificate information for accessing each domain information exists. Depending on the embodiment, when a certificate is required to access the corresponding domain information, the controller 202 can check whether the certificate is set in the node 201 based on the control flow information of the node 201.
컨트롤러(202)는 노드(201)의 접속 요청한 애플리케이션의 접속을 허용할 수 있도록 노드(201)의 식별 정보, 목적지 네트워크의 식별 정보 및 포트 정보에 기반하여 데이터 플로우 정보를 생성할 수 있다. 이 경우, 컨트롤러(202)는 도메인 목록이 존재하는 경우, 도메인 정보를 데이터 플로우에 추가할 수 있고, 인증서 설정이 필요한 경우 인증서 정보를 데이터 플로우에 추가할 수 있다. 컨트롤러(202)는 생성된 데이터 플로우를 노드(201) 및 게이트웨이(203)에게 전송할 수 있다(동작 930, 935). 실시예에 따라서, 생성된 데이터 플로우가 존재하지 않는 경우 동작 935는 수행되지 않을 수 있다. The controller 202 may generate data flow information based on the identification information of the node 201, the identification information of the destination network, and port information so as to allow the connection of the application requesting connection to the node 201. In this case, the controller 202 can add domain information to the data flow if a domain list exists, and can add certificate information to the data flow if certificate settings are necessary. The controller 202 may transmit the generated data flow to the node 201 and the gateway 203 (operations 930 and 935). Depending on the embodiment, if the generated data flow does not exist, operation 935 may not be performed.
동작 940에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 불가 결과를 수신한 경우, 타겟 애플리케이션이 전송하고자 하는 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 데이터 플로우가 수신되는 경우, 수신된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. In operation 940, the access control application 211 of the node 201 may process the 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.
실시예에 따르면, 접속 제어 애플리케이션(211)은 네트워크 접속 요청에 성공하고 인증서 설정이 필요한 경우, 수신된 데이터 플로우에 포함된 인증서 정보에 기반하여 인증서를 설정하고, 인증서 설정된 이후 데이터 패킷을 전송할 수 있다. According to the embodiment, when the network access request is successful and certificate setting is required, the access control application 211 sets the certificate based on the certificate information included in the received data flow, and transmits the data packet after the certificate is set. .
일 실시예에서, 동작 910을 수행한 후 접속 제어 애플리케이션(211)은 유효성 검사 정책에 따라서 접속 애플리케이션에 대한 유효성 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 애플리케이션의 무결성 및 안정성 여부 검사(애플리케이션 위조, 변조 여부 검사, 코드 사이닝 검사 및 핑거 프린트 검사 등)를 더 수행할 수 있다. 접속 제어 애플리케이션(211)은 유효성 검사 결과가 성공인 경우 동작 915를 수행할 수 있다.In one embodiment, after performing operation 910, the access control application 211 may perform a validation check on the access application according to a validation policy. For example, the access control application 211 may further perform a check on the integrity and stability of the access application (check for application forgery, tampering, code signing check, fingerprint check, etc.). The access control application 211 may perform operation 915 if the validation result is successful.
도 11은 다양한 실시예들에 따른 게이트웨이에서 서비스 요청을 처리하기 위한 동작 흐름도를 도시한다. 실시예에 따라서, 도 11에 도시된 동작들은 도 2의 게이트웨이(203)를 통해 수행될 수 있다. FIG. 11 illustrates an operation flowchart for processing a service request in a gateway according to various embodiments. Depending on the embodiment, the operations shown in FIG. 11 may be performed through the gateway 203 of FIG. 2.
도 11을 참조하면, 동작 1005에서 게이트웨이(203)는 서비스 처리 요청 이벤트를 감지할 수 있다. 예를 들어, 서비스 처리 요청은 한 개 또는 복수개의 데이터 패킷을 포함할 수 있다. 다른 예를 들어, 게이트웨이(203)에 포함된 프록시 서버는 데이터 패킷 또는 서비스 처리 요청을 수신함으로서, 서비스 처리 요청 이벤트를 감지할 수 있다. Referring to FIG. 11, in operation 1005, the gateway 203 may detect a service processing request event. For example, a service processing request may include one or multiple data packets. For another example, the proxy server included in the gateway 203 may detect a service processing request event by receiving a data packet or service processing request.
동작 1010에서, 게이트웨이(203)의 프록시 서버는 서비스 처리 요청 정보에 포함된 출발지 IP, 도착지 IP 및 포트 정보에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. In operation 1010, the proxy server of the gateway 203 may check whether a data flow corresponding to the source IP, destination IP, and port information included in the service processing request information exists.
실시예에 따라서, 유효한 데이터 플로우가 존재하지 않는 경우, 게이트웨이(203)는 동작 1025에서 서비스 처리 요청 실패 결과를 반환할 수 있다. 예를 들어, 게이트웨이(203)에 포함된 프록시 서버는 서비스 처리 정책에 따라 지정된 경로로 서비스 처리 요청을 포워딩 또는 리다이렉션하기 위한 정보를 반환하거나 서비스 요청 실패 정보를 반환할 수 있다.Depending on the embodiment, if a valid data flow does not exist, the gateway 203 may return a service processing request failure result in operation 1025. For example, the proxy server included in the gateway 203 may return information for forwarding or redirecting a service processing request to a designated path according to a service processing policy, or may return service request failure information.
실시예에 따라서, 유효한 데이터 플로우가 존재하고, 데이터 플로우에 도메인 정보가 미포함되어있는 경우, 게이트웨이(203)는 서비스 처리 요청을 포워딩할 수 있다(동작 1020).Depending on the embodiment, if a valid data flow exists and the data flow does not include domain information, the gateway 203 may forward a service processing request (operation 1020).
유효한 데이터 플로우가 존재하고, 데이터 플로우에 도메인 정보가 포함되어있는 경우, 동작 1015에서, 게이트웨이(203)의 프록시 서버는 도메인 정보를 검사할 수 있다. 예를 들어, 게이트웨이(203)의 프록시 서버는 서비스 요청 정보에 포함된 도메인 정보가 데이터 플로우 내의 도메인 정보에 포함되어있는지 확인할 수 있다. 실시예예 따라서, 서비스 요청 정보에 포함된 도메인 정보가 데이터 플로우 내의 도메인 정보에 포함되어있지 않은 경우, 노드(201)는 서비스 서버에 접속할 수 없는 상태이므로, 프록시 서버는 서비스 처리 요청 실패 결과를 반환할 수 있다(동작 1025). If a valid data flow exists and the data flow includes domain information, in operation 1015, the proxy server of gateway 203 may check the domain information. For example, the proxy server of the gateway 203 may check whether domain information included in the service request information is included in the domain information in the data flow. Accordingly, if the domain information included in the service request information is not included in the domain information in the data flow, the node 201 cannot connect to the service server, and the proxy server may return a service processing request failure result. (Operation 1025).
실시예에 따라서, 서비스 요청 정보에 포함된 도메인 정보가 데이터 플로우 내의 도메인 정보에 포함되어있는 경우, 프록시 서버는 도메인 정보에 대응되는 서비스 서버의 IP 및 포트에 기반하여 서비스 처리 요청 정보를 포워딩할 수 있다(동작 1020). Depending on the embodiment, if the domain information included in the service request information is included in the domain information in the data flow, the proxy server may forward the service processing request information based on the IP and port of the service server corresponding to the domain information. There is (operation 1020).
도 12는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. Figure 12 shows a signal flow diagram for control flow update according to various embodiments.
도 12를 참조하면, 동작 1105에서, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 이벤트를 감지할 수 있다. Referring to FIG. 12, in operation 1105, the access control application 211 may detect a control flow update event.
동작 1110에서, 접속 제어 애플리케이션(211)은 제어 플로우 식별 정보를 기초로 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. In operation 1110, the access control application 211 may request a control flow update from the controller 202 based on control flow identification information.
동작 1115에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 노드(201)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1120). In operation 1115, 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 1120).
컨트롤러(202)는 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는 경우 갱신 시각을 업데이트 할 수 있다. 이 경우, 컨트롤러(202)는 갱신된 제어 플로우의 식별 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1120).The controller 202 may update the update time when a control flow exists in the control flow table (e.g., the control flow table 315 in FIG. 3). In this case, the controller 202 may transmit the updated identification information of the control flow to the access control application 211 (operation 1120).
일 실시예에서, 컨트롤러(202)는 식별된 제어 플로우에 종속된 데이터 플로우 중 재인증을 수행해야하거나, 더 이상 접속이 불가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우에 관한 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1120).In one embodiment, if re-authentication is required among data flows dependent on the identified control flow, or if there is a data flow that is no longer accessible, the controller 202 sends information about the data flow to the access control application ( 211) (operation 1120).
동작 1125에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 불가능인 경우, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 정상이고, 갱신된 데이터 플로우 정보가 존재하는 경우, 데이터 플로우를 갱신할 수 있다. In operation 1125, 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 the application when the control flow update result is impossible. For another example, the access control application 211 may update the data flow if the control flow update result is normal and updated data flow information exists.
도 13은 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다. 13 shows a signal flow diagram for disconnection according to various embodiments.
도 13을 참조하면, 동작 1205에서 노드(201)는 노드(201)의 종료, 접속 제어 애플리케이션(211)의 종료, 타겟 애플리케이션의 종료, 더 이상 네트워크 접속을 사용하지 않음 및 연동 시스템으로부터 식별된 정보를 기반으로 접속 종료 요청 중 적어도 어느 하나를 감지할 수 있다. 이 경우 동작 1210에서, 노드(201) 또는 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우 제거를 요청할 수 있다.Referring to FIG. 13, in operation 1205, the node 201 terminates the node 201, terminates the connection control application 211, terminates the target application, no longer uses the network connection, and collects information identified from the interworking system. Based on , at least one of the connection termination requests can be detected. In this case, in operation 1210, the node 201 or the access control application 211 may request the controller 202 to remove the control flow.
동작 1215에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 식별된 제어 플로우를 제거할 수 있다. At operation 1215, the controller 202 may remove the identified control flow based on the received control flow identification information.
동작 1220에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 노드(201)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다.In operation 1220, 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.
동작 1225에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다. 게이트웨이(203)는 데이터 플로우를 제거할 수 있고, 따라서 제거된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다.In operation 1225, the controller 202 may request the gateway 203 to remove all data flows dependent on the removed control 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.
도 14는 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.Figure 14 shows a signal flow diagram for terminating application execution according to various embodiments.
도 14를 참조하면, 동작 1305에서, 노드(201)의 접속 제어 애플리케이션(211)은 실행 중인 애플리케이션의 종료 여부를 실시간으로 확인할 수 있고, 애플리케이션 실행 종료 이벤트를 감지할 수 있다.Referring to FIG. 14, in operation 1305, 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.
동작 1310에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 데이터 플로우 제거 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 종료된 애플리케이션의 식별 정보 또는 종료된 애플리케이션에 대응되는 데이터 플로우의 식별 정보를 컨트롤러(202)에게 전송하며 데이터 플로우 제거 요청을 수행할 수 있다. In operation 1310, 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.
동작 1315에서, 컨트롤러(202)는 제거 요청된 데이터 플로우를 삭제할 수 있다. 또한, 컨트롤러(202)는 제거된 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다(동작 1320). 게이트웨이(203)는 데이터 플로우를 제거할 수 있고, 따라서 제거된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다. At operation 1315, the controller 202 may delete the data flow for which removal has been requested. Additionally, the controller 202 may perform a removal request for the removed data flow to the gateway 203 (operation 1320). 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.
도 15는 다양한 실시예들에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 대한 흐름도를 도시한다. 도 15에 도시된 동작들은 도 2의 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. Figure 15 shows a flowchart of a method of operating an access control application installed in a node according to various embodiments. The operations shown in FIG. 15 can be performed through the access control application 211 of FIG. 2.
도 15를 참조하면, 동작 1405에서, 접속 제어 애플리케이션(211)은 외부 서버에게 타겟 애플리케이션의 네트워크 접속 요청을 수행할 수 있다. 예를 들어, 네트워크 접속 요청은 타겟 애플리케이션의 식별 정보 및 목적지 네트워크의 식별 정보를 포함할 수 있다. Referring to FIG. 15, in operation 1405, the access control application 211 may request network connection of the target application to an external server. For example, a network connection request may include identification information of the target application and identification information of the destination network.
동작 1410에서, 접속 제어 애플리케이션(211)은 외부 서버로부터 데이터 플로우를 수신할 수 있다. 예를 들어, 데이터 플로우는 목적지 네트워크 식별 정보에 대응되는 도메인 정보 및 인증서 정보를 포함할 수 있다. In operation 1410, the access control application 211 may receive a data flow from an external server. For example, the data flow may include domain information and certificate information corresponding to destination network identification information.
동작 1415에서, 접속 제어 애플리케이션(211)은 도메인 정보 및 인증서 정보에 기반하여 타겟 애플리케이션의 데이터 패킷을 처리할 수 있다. 예를 들어, 데이터 플로우에 기반하여 인증서 설정이 필요한 경우, 접속 제어 애플리케이션(211)은 인증서 설정하고 데이터 패킷을 전송할 수 있다. In operation 1415, the access control application 211 may process the data packet of the target application based on domain information and certificate information. For example, if certificate setting is required based on the data flow, the access control application 211 can set the certificate and transmit a data packet.
도 16은 다양한 실시예들에 따른 서버의 동작 방법에 대한 흐름도를 도시한다. 도 16에 도시된 동작들은 도 2의 컨트롤러(202)를 통해 수행될 수 있다. Figure 16 shows a flowchart of a server operation method according to various embodiments. The operations shown in FIG. 16 may be performed through the controller 202 of FIG. 2.
도 16을 참조하면, 동작 1505에서, 컨트롤러(202)는 노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신할 수 있다. Referring to FIG. 16, at operation 1505, the controller 202 may receive a network connection request from the node's connection control application.
동작 1510에서, 컨트롤러(202)는 데이터 베이스에 포함된 접속 정책, 타겟 애플리케이션의 식별 정보 및 목적지 네트워크의 식별 정보에 기반하여 접속 가능 여부를 확인할 수 있다. In operation 1510, the controller 202 may check whether connection is possible based on the connection policy, identification information of the target application, and identification information of the destination network included in the database.
동작 1515에서, 컨트롤러(202)는 목적지 네트워크의 식별 정보에 대응하는 데이터 플로우의 존재 여부를 확인할 수 있다. In operation 1515, the controller 202 may check whether a data flow corresponding to the identification information of the destination network exists.
동작 1520에서, 컨트롤러(202)는 데이터 플로우가 존재하지 않으면, 데이터 베이스에 포함된 도메인 정책에 기반하여 목적지 네트워크의 식별 정보에 대응되는 도메인 정보를 확인할 수 있다. In operation 1520, if a data flow does not exist, the controller 202 may check domain information corresponding to the identification information of the destination network based on the domain policy included in the database.
동작 1525에서, 컨트롤러(202)는 도메인 정보에 대응되는 인증서 정보의 존재 여부를 확인할 수 있다. In operation 1525, the controller 202 may check whether certificate information corresponding to domain information exists.
동작 1530에서, 컨트롤러(202)는 도메인 정보 및 인증서 정보를 포함하는 데이터 플로우를 생성할 수 있다. At operation 1530, the controller 202 may generate a data flow including domain information and certificate information.
동작 1535에서, 컨트롤러(202)는 생성된 데이터 플로우를 노드 및 게이트웨이에게 전송할 수 있다. At operation 1535, the controller 202 may transmit the generated data flow to the node and gateway.
도 17은 다양한 실시예들에 따른 게이트웨이의 동작 방법에 대한 흐름도를 도시한다. 도 17에 도시된 동작들은 도 2의 게이트웨이(203)를 통해 수행될 수 있다. Figure 17 shows a flowchart of a gateway operating method according to various embodiments. The operations shown in FIG. 17 may be performed through the gateway 203 of FIG. 2.
도 17을 참조하면, 동작 1605에서, 게이트웨이(203)는 노드로부터 서비스 처리 요청을 수신할 수 있다. 서비스 처리 요청은 한 개 또는 복수개의 데이터 패킷을 포함할 수 있다. Referring to FIG. 17, in operation 1605, the gateway 203 may receive a service processing request from the node. A service processing request may include one or multiple data packets.
동작 1610에서, 게이트웨이(203)는 서비스 처리 요청에 대응되는 데이터 플로우의 존재를 확인할 수 있다. 예를 들어, 게이트웨이(203)의 프록시 서버는 데이터 플로우의 존재를 확인할 수 있다. In operation 1610, the gateway 203 may confirm the existence of a data flow corresponding to the service processing request. For example, the proxy server of gateway 203 can confirm the existence of a data flow.
동작 1615에서, 게이트웨이(203)는 데이터 플로우가 존재하면, 데이터 플로우에 도메인 정보가 포함되는지 여부에 기반하여 서비스 처리 요청에 포함된 도메인 정보를 검사하고, 검사 결과에 기반하여 검사 결과가 성공인 경우 서비스 처리 요청을 포워딩할 수 있다. 또한, 게이트웨이(203)는 검사 결과에 기반하여 검사 결과가 실패인 경우 서비스 처리 요청 실패 결과를 반환할 수 있다. 또한, 게이트웨이(203)는 데이터 플로우가 존재하지 않으면 서비스 처리 요청 실패 결과를 반환할 수 있다. In operation 1615, if a data flow exists, the gateway 203 checks the domain information included in the service processing request based on whether the data flow includes domain information, and if the check result is successful based on the check result, Service processing requests can be forwarded. Additionally, the gateway 203 may return a service processing request failure result if the test result is failure based on the test result. Additionally, the gateway 203 may return a service processing request failure result if a data flow does not exist.
이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 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 (20)

  1. 노드에 있어서, In the node,
    통신 회로; communication circuit;
    상기 통신 회로와 작동적으로 연결되는 프로세서; 및 a processor operatively connected to the communication circuit; and
    상기 프로세서와 작동적으로 연결되고, 데이터 베이스, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, a memory operatively coupled to the processor and storing a database, a target application, and a connection control application, wherein the memory, when executed by the processor, causes the node to:
    상기 접속 제어 애플리케이션을 통해 외부 서버에게 상기 타겟 애플리케이션의 네트워크 접속 요청을 수행하고, 상기 네트워크 접속 요청은 상기 타겟 애플리케이션의 식별 정보 및 목적지 네트워크 식별 정보를 포함하고, Perform a network connection request of the target application to an external server through the access control application, and the network connection request includes identification information of the target application and destination network identification information,
    상기 외부 서버로부터 데이터 플로우를 수신하되, 상기 데이터 플로우는 상기 목적지 네트워크 식별 정보에 대응되는 인증서 정보를 포함하고, Receive a data flow from the external server, wherein the data flow includes certificate information corresponding to the destination network identification information,
    상기 인증서 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 처리하도록 하는, 명령어들을 저장하는, 노드. A node that stores instructions to process data packets of the target application based on the certificate information.
  2. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 접속 제어 애플리케이션을 통해 상기 데이터 플로우에 기반하여 인증서 설정이 필요한지 확인하고, Check whether certificate settings are necessary based on the data flow through the access control application,
    상기 인증서 설정이 필요한 경우 상기 인증서 정보에 기반하여 인증서를 설정하고 상기 데이터 패킷을 전송하고, If setting the certificate is necessary, set the certificate based on the certificate information and transmit the data packet,
    상기 인증서 설정이 필요하지 않은 경우 상기 데이터 패킷을 전송하도록 하는, 노드. A node that transmits the data packet when the certificate setting is not required.
  3. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 외부 서버로부터 터널링 생성 정보를 수신하고, Receive tunneling creation information from the external server,
    상기 터널링 생성 정보에 기반하여 상기 터널링 생성 정보에 대응되는 게이트웨이와 터널링을 생성하도록 하고, Based on the tunneling creation information, create a gateway and tunneling corresponding to the tunneling creation information,
    상기 터널링이 생성되는 경우, 상기 노드는 DNS(Domain Name System) 서버가 할당되는, 노드. When the tunneling is created, the node is assigned a Domain Name System (DNS) server.
  4. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 접속 제어 애플리케이션을 통해 상기 노드에 설정된 프록시 정보를 상기 외부 서버에게 전송하고, Transmitting proxy information set in the node to the external server through the access control application,
    상기 프록시 정보와 상기 노드가 접속할 게이트웨이가 대응되지 않으면, 상기 외부 서버로부터 프록시 서버 설정 여부 및 프록시 서버 설정 정보를 수신하고, If the proxy information and the gateway to which the node will connect do not correspond, receive proxy server setting status and proxy server setting information from the external server,
    상기 수신된 프록시 서버 설정 여부 및 상기 프록시 서버 설정 정보에 기반하여 프록시를 설정하도록 하는, 노드. A node that sets a proxy based on the received proxy server setting status and the proxy server setting information.
  5. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 접속 제어 애플리케이션을 통해 상기 노드와 터널링이 생성된 게이트웨이에게 도메인 정보 해석 요청을 수행하고, Performing a domain information interpretation request to the gateway through which tunneling has been created with the node through the access control application,
    상기 게이트웨이로부터 도메인 해석 결과를 수신하고, 상기 도메인 해석 결과는 IP 정보를 포함하고, Receive a domain analysis result from the gateway, and the domain analysis result includes IP information,
    상기 IP 정보에 기반하여 상기 게이트웨이에게 상기 목적지 네트워크 접속을 요청하도록 하고, Requesting the gateway to connect to the destination network based on the IP information,
    상기 IP 정보는 상기 게이트웨이에 포함된 프록시에서 상기 목적지 네트워크의 식별 정보로 처리되는, 노드. The IP information is processed as identification information of the destination network by a proxy included in the gateway.
  6. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 노드가 데이터 플로우 요청 없이 네트워크 접속이 가능한 정책이 존재하면, 상기 접속 제어 애플리케이션을 통해 상기 외부 서버로부터 요청없이 접속 가능한 데이터 플로우를 수신하고, If a policy exists that allows the node to access the network without requesting a data flow, it receives a data flow that can be accessed without a request from the external server through the access control application,
    상기 요청없이 접속 가능한 데이터 플로우에 기반하여 상기 데이터 패킷을 전송하도록 하는, 노드. A node that transmits the data packet based on the data flow accessible without the request.
  7. 노드에 있어서, In the node,
    통신 회로; communication circuit;
    상기 통신 회로와 작동적으로 연결되는 프로세서; 및 a processor operatively connected to the communication circuit; and
    상기 프로세서와 작동적으로 연결되고, 데이터 베이스, 타겟 애플리케이션 및 접속 제어 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해서 실행될 때 상기 노드가, a memory operatively coupled to the processor and storing a database, a target application, and a connection control application, wherein the memory, when executed by the processor, causes the node to:
    상기 접속 제어 애플리케이션을 통해 외부 서버로부터 터널링 생성 정보를 수신하고, Receive tunneling creation information from an external server through the access control application,
    상기 터널링 생성 정보에 기반하여 상기 터널링 생성 정보에 대응되는 게이트웨이와 터널링을 생성하도록 하고, Based on the tunneling creation information, create a gateway and tunneling corresponding to the tunneling creation information,
    상기 노드에 설정된 프록시 정보 및 터널링 정보를 상기 외부 서버에게 전송하고, Transmitting proxy information and tunneling information set in the node to the external server,
    상기 프록시 정보와 상기 터널링 정보가 대응되지 않으면, 상기 외부 서버로부터 프록시 서버 설정 여부 및 프록시 서버 설정 정보를 수신하고, If the proxy information and the tunneling information do not correspond, receive proxy server setting status and proxy server setting information from the external server,
    상기 수신된 프록시 서버 설정 여부 및 상기 프록시 서버 설정 정보에 기반하여 프록시를 설정하도록 하는, 명령어들을 저장하는, 노드. A node that stores commands to set a proxy based on the received proxy server setting status and the proxy server setting information.
  8. 제 7 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 7, wherein the commands cause the node to:
    상기 접속 제어 애플리케이션을 통해 상기 노드에 설정된 인증서 정보를 상기 외부 서버에게 전송하고, Transmitting the certificate information set in the node to the external server through the access control application,
    상기 인증서 정보와 상기 노드가 접속할 게이트웨이 정보가 대응되지 않으면, 상기 외부 서버로부터 인증서 설정 여부 및 인증서 설정 정보를 수신하고, If the certificate information and the gateway information to which the node will connect do not correspond, receive certificate setting status and certificate setting information from the external server,
    상기 수신된 인증서 설정 여부 및 상기 인증서 설정 정보에 기반하여 인증서를 설정하도록 하는, 노드. A node that sets a certificate based on whether the received certificate is set and the certificate set information.
  9. 서버에 있어서,On the server,
    통신 회로; communication circuit;
    데이터 베이스를 저장하는 메모리; 및 memory to store the database; and
    상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, a processor operatively connected to the communication circuit and the memory, the processor comprising:
    노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신하고, 상기 네트워크 접속 요청은 상기 노드의 타겟 애플리케이션의 식별 정보, 상기 타겟 애플리케이션의 목적지 네트워크의 식별 정보를 포함하고, Receiving a network connection request from a connection control application of a node, the network connection request including identification information of a target application of the node and identification information of a destination network of the target application,
    상기 데이터 베이스에 포함된 접속 정책, 상기 타겟 애플리케이션의 식별 정보 및 상기 목적지 네트워크의 식별 정보에 기반하여 접속 가능 여부를 확인하고, Check whether connection is possible based on the connection policy included in the database, identification information of the target application, and identification information of the destination network,
    상기 목적지 네트워크의 식별 정보에 대응하는 데이터 플로우의 존재 여부를 확인하고, Check whether a data flow corresponding to the identification information of the destination network exists,
    상기 데이터 플로우가 존재하지 않으면, 상기 데이터 베이스에 포함된 도메인 정책에 기반하여 상기 목적지 네트워크의 식별 정보에 대응되는 도메인 정보를 확인하고, If the data flow does not exist, check domain information corresponding to the identification information of the destination network based on the domain policy included in the database,
    상기 도메인 정보에 대응되는 인증서 정보의 존재 여부를 확인하고, Check whether certificate information corresponding to the domain information exists,
    상기 도메인 정보 및 상기 인증서 정보를 포함하는 데이터 플로우를 생성하고, 상기 생성된 데이터 플로우를 상기 노드 및 게이트웨이에게 전송하도록 구성된, 서버. A server configured to generate a data flow including the domain information and the certificate information, and transmit the generated data flow to the node and the gateway.
  10. 제 9 항에 있어서, 상기 프로세서는, The method of claim 9, wherein the processor:
    접속 가능하면, 상기 데이터 베이스에 포함된 터널 테이블에서 상기 노드가 터널이 생성되어있는지 확인하고, If connection is possible, the node checks whether a tunnel has been created in the tunnel table included in the database,
    상기 노드에 상기 터널이 생성되어있지 않은 경우 상기 노드에게 접속 불가 결과를 전송하고, If the tunnel is not created in the node, a non-connection result is sent to the node,
    상기 터널이 생성되어있는 경우, 상기 데이터 플로우의 존재 여부를 확인하도록 구성된, 서버. A server configured to determine whether the data flow exists if the tunnel has been created.
  11. 제 9 항에 있어서, 상기 프로세서는, The method of claim 9, wherein the processor:
    상기 접속 제어 애플리케이션으로부터 상기 노드의 식별 정보 및 상기 접속 제어 애플리케이션의 식별 정보를 포함하는 접속 요청을 수신하고, Receiving a connection request including identification information of the node and identification information of the connection control application from the connection control application,
    상기 노드의 식별 정보 및 상기 접속 제어 애플리케이션의 식별 정보에 기반하여 접속 가능 여부를 확인하고, 접속이 가능하면 제어 플로우 식별 정보 및 접속 가능한 애플리케이션 화이트리스트를 생성하고, Check whether connection is possible based on the identification information of the node and the identification information of the access control application, and if connection is possible, generate control flow identification information and a whitelist of connectable applications,
    상기 데이터 베이스에 포함된 터널 정책에 기반하여 상기 노드에 관련된 게이트웨이 및 터널링 종류를 목록화하고, List gateways and tunneling types associated with the node based on the tunnel policy included in the database,
    상기 목록화된 게이트웨이 각각의 상태에 기반하여 게이트웨이 및 터널링을 선택하고, Select a gateway and tunneling based on the status of each of the listed gateways,
    상기 제어 플로우 식별 정보 및 상기 애플리케이션 화이트리스트, 상기 선택된 게이트웨이의 정보 및 상기 터널링을 생성하기 위한 정보를 상기 노드에 전송하도록 구성된, 서버. A server, configured to transmit the control flow identification information and the application whitelist, information of the selected gateway, and information for creating the tunneling to the node.
  12. 제 9 항에 있어서, 상기 프로세서는, The method of claim 9, wherein the processor:
    상기 접속 제어 애플리케이션으로부터 터널 생성 완료 정보 및 프록시 설정 정보를 수신하고, Receive tunnel creation completion information and proxy setting information from the access control application,
    상기 터널 생성 완료 정보에 기반하여 상기 데이터 베이스를 갱신하고, Update the database based on the tunnel creation completion information,
    상기 데이터 베이스에 포함된 프록시 정책에 기반하여 상기 노드에 대응되는 게이트웨이에 포함된 프록시를 식별하고, Identifying the proxy included in the gateway corresponding to the node based on the proxy policy included in the database,
    상기 프록시와 상기 프록시 설정 정보가 상이하거나 상기 프록시 설정 정보가 존재하지 않는 경우, 상기 프록시의 식별 정보 및 상기 프록시의 설정 여부를 상기 접속 제어 애플리케이션에게 반환하도록 구성된, 서버. If the proxy and the proxy setting information are different or the proxy setting information does not exist, the server is configured to return identification information of the proxy and whether the proxy is set to the access control application.
  13. 제 9 항에 있어서, 상기 프로세서는, The method of claim 9, wherein the processor:
    상기 데이터 베이스에 기반하여 도메인 정책을 설정하고, Set domain policy based on the database,
    상기 설정된 도메인 정책을 게이트웨이로 전송하고, Transmit the set domain policy to the gateway,
    상기 설정된 도메인 정책을 DNS(Domain Name System) 서버 또는 프록시 서버로 전송하도록 구성된, 서버. A server configured to transmit the set domain policy to a Domain Name System (DNS) server or proxy server.
  14. 게이트웨이에 있어서, In the gateway,
    통신 회로; communication circuit;
    메모리; 및 Memory; and
    상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, a processor operatively connected to the communication circuit and the memory, the processor comprising:
    노드로부터 서비스 처리 요청을 수신하고, Receive service processing requests from nodes,
    상기 서비스 처리 요청에 대응되는 데이터 플로우의 존재를 확인하고, Confirm the existence of a data flow corresponding to the service processing request,
    상기 데이터 플로우가 존재하면, 상기 데이터 플로우에 도메인 정보가 포함되는지 여부에 기반하여 상기 서비스 처리 요청에 포함된 도메인 정보를 검사하고, 검사 결과에 기반하여 상기 서비스 처리 요청을 포워딩하거나 또는 서비스 처리 요청 실패 결과를 반환하고, If the data flow exists, the domain information included in the service processing request is checked based on whether the data flow includes domain information, and the service processing request is forwarded based on the inspection result or the service processing request fails. returns the result,
    상기 데이터 플로우가 존재하지 않으면 상기 서비스 처리 요청 실패 결과를 반환하는, 게이트웨이. A gateway that returns a failure result of the service processing request if the data flow does not exist.
  15. 제 14 항에 있어서, 상기 프로세서는, 15. The method of claim 14, wherein the processor:
    상기 노드로부터 도메인 해석 요청을 수신하고, Receive a domain resolution request from the node,
    상기 도메인 해석 요청에 포함된 도메인 정보에 기초하여 도메인 해석 결과를 IP 정보로 생성하여 반환하고, Based on the domain information included in the domain interpretation request, a domain interpretation result is generated and returned as IP information,
    상기 노드로부터 상기 IP 정보에 기초한 목적지 네트워크 접속 요청을 수신하고, Receiving a destination network connection request based on the IP information from the node,
    상기 IP 정보 및 상기 도메인 정보에 기반하여 상기 목적지 네트워크로 상기 노드가 접속하도록 허가하는, 게이트웨이. A gateway that allows the node to access the destination network based on the IP information and the domain information.
  16. 제 14 항에 있어서, 상기 프로세서는, 15. The method of claim 14, wherein the processor:
    상기 노드의 도메인 해석 요청을 처리하는 DNS 서버 모듈; a DNS server module that processes domain resolution requests from the node;
    상기 노드와 터널링을 생성하는 터널링 모듈; 및 a tunneling module that creates tunneling with the node; and
    도메인 정보를 IP 정보와 대응시켜 처리하는 프록시 서버 모듈을 포함하는, 게이트웨이. A gateway including a proxy server module that processes domain information by matching it with IP information.
  17. 제 16 항에 있어서, According to claim 16,
    상기 DNS 서버 모듈은 외부 서버로부터 도메인 정책을 수신하고, 상기 도메인 정책에 기초하여 상기 도메인 정보에 대응되는 퍼블릭 IP 정보를 설정하고, The DNS server module receives a domain policy from an external server and sets public IP information corresponding to the domain information based on the domain policy,
    상기 터널링 모듈은 상기 노드와 터널링을 생성하는 경우 상기 터널링으로 통신시 질의할 상기 DNS 서버 모듈의 프라이빗 IP 정보를 설정하고, When creating tunneling with the node, the tunneling module sets private IP information of the DNS server module to be queried when communicating through the tunneling,
    상기 프록시 서버 모듈은 상기 노드로부터 상기 프라이빗 IP 정보에 기반하여 전송되는 서비스 처리 요청을 상기 퍼블릭 IP 정보로 처리하도록 설정되는, 게이트웨이. The proxy server module is configured to process a service processing request transmitted from the node based on the private IP information with the public IP information.
  18. 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 있어서, In the method of operating the access control application installed on the node,
    외부 서버에게 타겟 애플리케이션의 네트워크 접속 요청을 수행하는 동작, 상기 네트워크 접속 요청은 상기 타겟 애플리케이션의 식별 정보 및 목적지 네트워크 식별 정보를 포함하고; An operation of performing a network connection request of a target application to an external server, wherein the network connection request includes identification information of the target application and destination network identification information;
    상기 외부 서버로부터 데이터 플로우를 수신하는 동작, 상기 데이터 플로우는 상기 목적지 네트워크 식별 정보에 대응되는 인증서 정보를 포함하고; 및 Receiving a data flow from the external server, the data flow including certificate information corresponding to the destination network identification information; and
    상기 인증서 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 처리하도록 하는 동작; 을 포함하는, 방법. Processing a data packet of the target application based on the certificate information; Method, including.
  19. 서버의 동작 방법에 있어서, In the operating method of the server,
    노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신하는 동작, 상기 네트워크 접속 요청은 상기 노드의 타겟 애플리케이션의 식별 정보, 상기 타겟 애플리케이션의 목적지 네트워크의 식별 정보를 포함하고; Receiving a network connection request from a connection control application of a node, the network connection request including identification information of a target application of the node and identification information of a destination network of the target application;
    데이터 베이스에 포함된 접속 정책, 상기 타겟 애플리케이션의 식별 정보 및 상기 목적지 네트워크의 식별 정보에 기반하여 접속 가능 여부를 확인하는 동작; An operation of checking whether connection is possible based on a connection policy included in a database, identification information of the target application, and identification information of the destination network;
    상기 목적지 네트워크의 식별 정보에 대응하는 데이터 플로우의 존재 여부를 확인하는 동작; An operation of checking whether a data flow corresponding to the identification information of the destination network exists;
    상기 데이터 플로우가 존재하지 않으면, 상기 데이터 베이스에 포함된 도메인 정책에 기반하여 상기 목적지 네트워크의 식별 정보에 대응되는 도메인 정보를 확인하는 동작; If the data flow does not exist, checking domain information corresponding to the identification information of the destination network based on a domain policy included in the database;
    상기 도메인 정보에 대응되는 인증서 정보의 존재 여부를 확인하는 동작; An operation to check whether certificate information corresponding to the domain information exists;
    상기 도메인 정보 및 상기 인증서 정보를 포함하는 데이터 플로우를 생성하는 동작; 및 generating a data flow including the domain information and the certificate information; and
    상기 생성된 데이터 플로우를 상기 노드 및 게이트웨이에게 전송하는 동작; 을 포함하는, 방법. Transmitting the generated data flow to the node and gateway; Method, including.
  20. 게이트웨이의 동작 방법에 있어서, In the method of operating the gateway,
    노드로부터 서비스 처리 요청을 수신하는 동작; An operation of receiving a service processing request from a node;
    상기 서비스 처리 요청에 대응되는 데이터 플로우의 존재를 확인하는 동작; An operation of confirming the existence of a data flow corresponding to the service processing request;
    상기 데이터 플로우가 존재하면, 상기 데이터 플로우에 도메인 정보가 포함되는지 여부에 기반하여 상기 서비스 처리 요청에 포함된 도메인 정보를 검사하고, 검사 결과에 기반하여 상기 서비스 처리 요청을 포워딩하거나 또는 서비스 처리 요청 실패 결과를 반환하거나, 또는 상기 데이터 플로우가 존재하지 않으면 상기 서비스 처리 요청 실패 결과를 반환하는 동작; 을 포함하는, 방법. If the data flow exists, the domain information included in the service processing request is checked based on whether the data flow includes domain information, and the service processing request is forwarded based on the inspection result or the service processing request fails. Returning a result or, if the data flow does not exist, returning a result of failure of the service processing request; Method, including.
PCT/KR2023/005630 2022-04-26 2023-04-25 System for controlling controller-based network connection and method for same WO2023211124A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220051660A KR102514618B1 (en) 2022-04-26 2022-04-26 System for controlling network access based on controller and method of the same
KR10-2022-0051660 2022-04-26

Publications (1)

Publication Number Publication Date
WO2023211124A1 true WO2023211124A1 (en) 2023-11-02

Family

ID=85800098

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/005630 WO2023211124A1 (en) 2022-04-26 2023-04-25 System for controlling controller-based network connection and method for same

Country Status (2)

Country Link
KR (1) KR102514618B1 (en)
WO (1) WO2023211124A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117319481A (en) * 2023-11-29 2023-12-29 长沙普洛电气设备有限公司 Port resource reverse proxy method, system and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102514618B1 (en) * 2022-04-26 2023-03-29 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102545160B1 (en) * 2023-04-07 2023-06-20 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110086746A (en) * 2008-11-17 2011-07-29 콸콤 인코포레이티드 Remote access to local network via security gateway
JP2012516112A (en) * 2009-01-20 2012-07-12 マイクロソフト コーポレーション Remote access to private network resources from outside the network
KR102223827B1 (en) * 2019-09-24 2021-03-08 프라이빗테크놀로지 주식회사 System for authenticating and controlling network access of terminal and method thereof
KR102364445B1 (en) * 2021-04-28 2022-02-18 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102377247B1 (en) * 2021-06-09 2022-03-23 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102514618B1 (en) * 2022-04-26 2023-03-29 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110086746A (en) * 2008-11-17 2011-07-29 콸콤 인코포레이티드 Remote access to local network via security gateway
JP2012516112A (en) * 2009-01-20 2012-07-12 マイクロソフト コーポレーション Remote access to private network resources from outside the network
KR102223827B1 (en) * 2019-09-24 2021-03-08 프라이빗테크놀로지 주식회사 System for authenticating and controlling network access of terminal and method thereof
KR102364445B1 (en) * 2021-04-28 2022-02-18 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102377247B1 (en) * 2021-06-09 2022-03-23 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102514618B1 (en) * 2022-04-26 2023-03-29 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117319481A (en) * 2023-11-29 2023-12-29 长沙普洛电气设备有限公司 Port resource reverse proxy method, system and storage medium
CN117319481B (en) * 2023-11-29 2024-02-27 长沙普洛电气设备有限公司 Port resource reverse proxy method, system and storage medium

Also Published As

Publication number Publication date
KR102514618B1 (en) 2023-03-29

Similar Documents

Publication Publication Date Title
WO2021060854A1 (en) Network access control system and method therefor
WO2023163509A1 (en) System for controlling controller-based network connection and method related to same
WO2022231306A1 (en) System for controlling controller-based network connection and method therefor
WO2023211124A1 (en) System for controlling controller-based network connection and method for same
WO2023038387A1 (en) System for controlling network access of application on basis of data flow, and method relating to same
WO2023033586A1 (en) System for controlling network access of application on basis of tcp session control, and method related thereto
WO2023146308A1 (en) System for controlling network access on basis of controller, and method therefor
WO2023085793A1 (en) System for controlling network access on basis of controller, and method therefor
WO2023163514A1 (en) Controller-based network access control system and method therefor
WO2023177238A1 (en) Controller-based network connection control system, and method thereof
WO2023211122A1 (en) System for controlling file transmission and reception of application on basis of proxy and method relating to same
WO2023136658A1 (en) Controller-based system and method for controlling network access
WO2023211104A1 (en) System for controlling controller-based network access, and method related thereto
WO2023085791A1 (en) Controller-based system for controlling network access, and method therefor
WO2023090755A1 (en) System for controlling network access of virtualization instance, and method therefor
WO2023146304A1 (en) System for controlling file transmission and reception of application and method for same
WO2022231304A1 (en) System for controlling controller-based network access, and method therefor
WO2014069777A1 (en) Transit control for data
WO2023033588A1 (en) System for controlling data flow in virtualization terminal, and method thereof
WO2020189926A1 (en) Method and server for managing user identity by using blockchain network, and method and terminal for user authentication using blockchain network-based user identity
WO2020050424A1 (en) BLOCK CHAIN-BASED SYSTEM AND METHOD FOR MULTIPLE SECURITY AUTHENTICATION BETWEEN MOBILE TERMINAL AND IoT DEVICE
WO2021261728A1 (en) Secure communication device for providing multi-functional secure connection, and operation method thereof
WO2023211120A1 (en) System for controlling file transmission and reception of application on basis of proxy, and method related thereto
WO2021060859A1 (en) System for authenticating and controlling network access of terminal, and method therefor
WO2023211121A1 (en) System for controlling file transmission and reception of application on basis of proxy, and method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23796769

Country of ref document: EP

Kind code of ref document: A1