WO2023163509A1 - System for controlling controller-based network connection and method related to same - Google Patents

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

Info

Publication number
WO2023163509A1
WO2023163509A1 PCT/KR2023/002550 KR2023002550W WO2023163509A1 WO 2023163509 A1 WO2023163509 A1 WO 2023163509A1 KR 2023002550 W KR2023002550 W KR 2023002550W WO 2023163509 A1 WO2023163509 A1 WO 2023163509A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
service
data flow
processing request
service processing
Prior art date
Application number
PCT/KR2023/002550
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 WO2023163509A1 publication Critical patent/WO2023163509A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2483Traffic characterised by specific attributes, e.g. priority or QoS involving identification of individual flows
    • 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 a controller-based network connection.
  • Multiple devices may communicate data over a network.
  • the terminal may transmit or receive data with a server through the Internet.
  • the network may include a private network such as an intranet as well as a public network such as the Internet.
  • the terminal performs communication with the server by utilizing IP (Internet Protocol)-based TCP (Transmission Control Protocol) or UDP (User Datagram Protocol), and controls the connection between the source IP and destination IP authorized in TCP or UDP technology.
  • IP Internet Protocol
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • Firewall technology may be used.
  • IP communication since data packets are transmitted in plain text, there is a problem in that a third party can easily view important information of the data packet using sniffing technology such as tapping equipment or rouge WiFi.
  • VPN Virtual Private Network
  • tunneling technology for encrypting data packets between the terminal and the server are used.
  • MFA Multi Factor Authentication
  • the service since the service is always connected to the Internet, that is, it is already sending and receiving data packets at the stage of general authentication (based on user ID and password input) or MFA, it prevents the attack itself by substituting a random password. There is no way to do it. That is, if a continuous attack on a specific ID occurs, it may be inconvenient from the user's point of view because only functions requiring authentication may be provided through additional authentication.
  • the above problems can be applied not only to Internet-connected services but also to unit systems used by companies.
  • the unit system can be accessed, and authentication in the unit system can be more vulnerable to security because even the weaker security authentication system and minimum authentication standards are not observed than the above popular services.
  • a gateway 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 receives a data packet, and the It is checked whether the data packet is received from an authorized target, it corresponds to the service processing request information of the data packet, it is checked whether there is a data flow authorized from an external server, and if the data flow exists, the It may be configured to inspect service processing request information and process the data packet based on a result of checking the service processing request information.
  • a service server includes a communication circuit, a memory including a database, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a service processing request and , It is determined whether the service processing request is a request of the authorized gateway based on whether the source IP included in the service processing request is an IP of an authorized gateway, and if the service processing request is a request of the authorized gateway, The service processing request may be processed based on whether a data flow header is included in the service processing request.
  • a method of operating a gateway includes receiving a data packet, determining whether the data packet is a data packet received from an authorized target, corresponding to service processing request information of the data packet, and , Checking whether there is a data flow authorized from an external server, checking the service processing request information if the data flow exists, and selecting the data packet based on a result of checking the service processing request information processing may be included.
  • a method of operating a service server includes receiving a service processing request, and the service processing request is sent based on whether a source IP included in the service processing request is an IP of an authorized gateway. Checking whether the request is from an authorized gateway, and if the service processing request is from the authorized gateway, processing the service processing request based on whether a data flow header is included in the service processing request can do.
  • a service request including an unnecessary service request transmitted from an unauthorized target or an attacking behavior is provided.
  • DDoS Distributed Denial of Service Attack
  • service requests passing through the gateway service requests including service attack behavior information may be filtered in advance, and it is possible to check whether a target has performed the corresponding attack behavior, At the same time, continuous DDoS attack behavior can be blocked by isolating the network access of the attacker.
  • session information that is not valid because it is not possible to know when the network connection of the terminal is terminated if the network connection to the terminal is not always maintained. and can prevent vulnerabilities from Session Hijacking attacks using this session information.
  • the service server can remove invalid session information by releasing the data flow at the time of network connection termination, and by blocking service requests using invalid session information, A more secure network service may be provided.
  • a unified service access and authentication structure can be provided without the need to apply a separate strong authentication method to each service.
  • FIG. 1 shows an environment including a plurality of networks.
  • FIG. 2 illustrates an architecture within a network environment according to various embodiments.
  • FIG. 3 is a functional block diagram illustrating a database stored in a controller according to various embodiments.
  • FIG. 4 shows a functional block diagram of a node in accordance with various embodiments.
  • 5A and 5B illustrate an operation of controlling transmission of a data packet according to various embodiments.
  • FIG. 6 shows an example of a gateway according to various embodiments.
  • FIG. 7 shows a signal flow diagram for controller connection according to various embodiments.
  • FIG. 8 shows a signal flow diagram for user authentication according to various embodiments.
  • FIG 9 illustrates a signal flow diagram for network access according to various embodiments.
  • FIG. 10 illustrates an operational flow diagram for processing a service request at a gateway according to various embodiments.
  • FIG. 11 illustrates an operational flow diagram for processing a service request in a service server according to various embodiments.
  • FIG. 12 shows a signal flow diagram for updating data flow according to various embodiments.
  • FIG. 13 illustrates a signal flow diagram for transmitting a log of a gateway according to various embodiments.
  • FIG. 14 illustrates a signal flow diagram for control flow update according to various embodiments.
  • 15 illustrates a signal flow diagram for disconnection according to various embodiments.
  • 16 illustrates a signal flow diagram for termination of application execution according to various embodiments.
  • 17 is a flowchart of a method of operating a gateway according to various embodiments.
  • FIG. 18 is a flowchart of a method of operating a service server according to various embodiments.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • Each component (eg, module or program) of the components described in this document may include singular or plural entities. According to various embodiments, one or more components or operations among the corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions 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 integrally constructed component or a minimal unit of components or a portion 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 (eg, a program or application) including one or more instructions stored in a storage medium (eg, memory) readable by a machine.
  • the processor of the device may call at least one command among one or more commands stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked.
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store or between two user devices (eg smartphones). It can be distributed (e.g., downloaded or uploaded) directly or online.
  • a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
  • FIG. 1 shows an environment including a plurality of 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, but is not limited to the aforementioned devices.
  • source node 101 may include a server or gateway capable of transmitting data packets through an application.
  • the source node 101 may also be referred to as 'electronic device' or 'terminal'.
  • the destination node 102 may include the same or similar device as the above-described source node 101 .
  • the destination node 102 can be substantially the same as the destination network.
  • the source node 101 may attempt access to the second network 20 and transmit data to the destination node 102 included in the second network 20 .
  • the source node 101 may transmit data to the destination node 102 via the gateway 103 .
  • the starting node 101 If access to the first network 10 of the starting node 101 is approved, since the starting node 101 can communicate with all servers included in the first network 10, the starting node 101 is malicious. ) can be exposed from program attacks. For example, the origin node 101 may be infected with malicious code 110c, as well as trusted and/or secure applications such as Internet web browser 110a and business application 110b. ) may receive data of an untrusted or unsecured application such as the business application 110d.
  • the starting node 101 infected by the malicious program may attempt access to the second network 20 and/or data transmission.
  • the second network 20 is formed based on IP, such as VPN, it may be difficult to individually monitor a plurality of devices included in the second network 20, and application in the OSI layer Security at the layer or transport layer may be vulnerable.
  • the source node 101 includes a malicious application after the channel has already been created, the data of the malicious application will be delivered to another electronic device (eg, the destination node 102) within the second network 20.
  • FIG. 2 illustrates 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 authenticating node 201 and a non-certifying node 206 .
  • the nodes 201 and 206 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, and a virtual reality (VR) device. ) device, or a home appliance, but is not limited to the aforementioned devices.
  • nodes 201 and 206 may include servers or gateways capable of transmitting data packets through applications.
  • Nodes 201 and 206 may also be referred to as 'electronic devices' or 'terminals'.
  • the authentication node 201 may store a first target application 212 and an access control application 211 .
  • the first target application 212 may transmit a data packet to the service server 205 through the gateway 203 under the control of the access control application 211 or, conversely, may receive a data packet.
  • Some of the first target applications 212 may be trusted and/or secured 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 may block access to the service server 205 of an unauthorized program (application) through network access control of the access control application 211 and isolate the corresponding program.
  • the access control application 211 may check whether access is available from the controller 202 .
  • the access control application 211 may 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 from the controller 202, and the access control application 211 is the controller ( Authentication-related information may be received from 202 , and the access control application 211 may transmit a data packet of the first target application 212 based on the authentication-related information.
  • the unauthenticated node 206 may store the second target application 216 .
  • the unauthenticated node 206 may be a node that does not have an access control application installed.
  • the second target application 216 may access the service server 205 in a state in which safety is not guaranteed.
  • the service server 205 may provide the second target application 216 with only functions suitable for the corresponding security level.
  • the controller 202 may be, for example, a server (or cloud server).
  • the controller 202 can ensure reliable data transmission within the 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 network access of the authorized authentication node 201 (or access control application 211) through policy information or blacklist information.
  • the controller 202 may generate authentication-related information for authenticating data packets based on an authentication policy, and transmit the generated authentication-related information to the access control application 211 or the gateway 203 to transmit data It can prevent packets from being sent without authentication.
  • authentication information may be inserted into a data packet based on information about authentication received by the controller 202 of the gateway 203, and the data packet (or service processing request) into which the authentication information is inserted may be sent to the service. Forwarding may be performed to the server 205, and the service server 205 may check whether a service processing request has been received from an authorized subject based on authentication information.
  • network access 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 an access control application to perform various operations associated with network access of the authentication node 201 or access control application 211 (eg, registration, authorization, authentication, renewal, termination).
  • control data packets can be transmitted and received.
  • a flow through which the control data packet is transmitted (eg, 220) may be referred to as a 'control flow'.
  • the controller 202 immediately retrieves tunneling and sessions according to security events received from the interworking system (eg, authentication node 201, gateway 203, or service server 205), thereby providing a secure network state at all times. can keep
  • the gateway 203 may be located at the boundary of the network to which the authentication node 201 belongs or the boundary of the network to which the service server 205 belongs. According to one embodiment, the gateway 203 may be connected to the controller 202 based on a cloud. The gateway 203 may forward only authenticated data packets based on the authentication information among the data packets received from the access control application 211 to the service server 205 . A flow in which data packets are transmitted between the access control application 211 and the gateway 203 may be referred to as 'data flow'. Data flows can be created in granular units (eg applications) as well as nodes or IP units. The gateway 203 may block indiscriminate network access in advance by forwarding only data packets for which authentication information has been checked among data packets transmitted from the access control application 211 to the service server 205 .
  • the gateway 203 may include modules for inspecting 5Tuples, TCP and UDP data packets, and modules 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, an authorized target from the controller 202).
  • an authorized target eg, an authorized target from the controller 202
  • the gateway 203 transfers data packets received through a channel such as an authorized tunneling or session to a service server (for example, the proxy module 233 of FIG. 6) through a proxy included in the gateway 203. 205) and service processing can be relayed.
  • the gateway 203 may provide a mechanism for the service server 205 to process a service request received from an authenticated subject, and the service server 205 may be a non-authenticated node (not the gateway 203). 206) may provide a separated network structure capable of handling service requests. Therefore, the above network processing structure can solve the problem of the structure in which the service server 205 must process the service 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 access. can decide whether If the first target application 212 is accessible, the first target application 212 may transmit a data packet including authentication information to the gateway 203 .
  • the access control application 211 may control transmission of data packets through a kernel including an operating system and a network driver within the authentication node 201 .
  • FIG. 3 is a functional block diagram illustrating a database stored in a controller according to various embodiments.
  • the controller includes a communication circuit for communicating with an external electronic device (eg, the communication circuit 430 of FIG. 4) and a processor for controlling the overall operation of the controller (eg, FIG. Four processors 410) may be further included.
  • node 201 may include authentication node 201 of FIG. 2 .
  • the unauthenticated node 206 of FIG. 2 may not have network access controlled by the controller 202 because the access control application is not installed.
  • the access policy database 311 may include information about networks and/or services to which the identified networks, nodes, or applications may access.
  • the controller 202 when requesting network access from the access control application 211, identifies a network based on a policy of the access policy database 311 (eg, a network to which the node 201 belongs), a node, A user (eg, a user of the node 201) and/or an application (eg, a target application 212 included in the node 201) may determine whether access to the service server 205 is possible.
  • the controller 202 may create a whitelist of target applications 212 accessible to a specific service (eg, IP and port) based on the access policy database 311 .
  • the channel policy database 312 is a gateway (eg, gateway 203 of FIG. 2) and a proxy existing between service servers (eg, service server 205 of FIG. 2) on a connection path according to policies. (eg, the proxy module 233 of FIG. 6) information may be included.
  • the blacklist policy database 313 is a target (e.g., a node ID (eg, node ID ( identifier), an IP address, a media access control (MAC) address, or a user ID) may indicate a blacklist registration policy for blocking access.
  • a target e.g., a node ID (eg, node ID ( identifier), an IP address, a media access control (MAC) address, or a user ID
  • a target e.g., a node ID (eg, node ID ( identifier), an IP address, a media access control (MAC) address, or a user ID
  • MAC media access control
  • the blacklist database 314 may include a list of objects blocked by the blacklist policy database 313 .
  • the controller 202 may isolate the node 201 by rejecting the network access request when identification information of the node 201 requesting network access is included in the blacklist database 314 .
  • the control flow table 315 is an example of a session table for managing a flow (eg, control flow) of control data packets generated between 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 during access to and authentication of a controller, a node ID, and a user ID.
  • the controller 202 may search for control flow information through control flow identification information received from the node 201, and the searched control flow Whether the node 201 can access the service server 205 by mapping at least one of the IP address, node ID, or user ID included in the information to the access policy database 311, data flow for data packet transmission It can be judged (determined) whether it is created or not.
  • a control flow may have an expiration time.
  • the node 201 needs to update the expiration time of the control flow, and if the expiration time is not updated for a certain period of time, the control flow (or control flow information) may be removed.
  • the controller 202 may remove the control flow according to the connection termination request of the node 201 .
  • the connection of the node 201 may be blocked because the previously generated data flow is also removed.
  • the data flow table 316 is a table for managing a flow (eg, data flow) in which detailed data packets are transmitted between the node 201 and the gateway 203 and the service server 205 .
  • Data flows can be created in TCP sessions, applications, or more granular units.
  • the data flow table 316 may include data flow information for tunneling and session management of the application (eg, the first target application 212) of the node 201, the gateway 230, and the service server 205. there is.
  • the data flow table 316 may include an application ID, destination IP address, and/or service port for identifying whether a data packet transmitted from a source is an authorized data packet.
  • the data flow table 316 may be managed based on control flow IDs.
  • the data flow table 316 may include state information including whether or not the data flow is valid and authorized destination information for determining whether data packets are forwarded based on source IP, destination IP, and port information of the data packet. 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 .
  • the data flow table 316 inserts the authentication information of the protocol of the corresponding service application when the authentication information is inserted when the gateway 203 sends a request to the service server 205 (eg, HTTP HTTP header insertion, etc.), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and a series of information included in the algorithm (e.g., information such as Secret Key when generating HMAC OTP). Information (eg, information generated or determined based on the authentication policy 317) may be further included.
  • the data flow table 316 further includes a set of information (eg, information determined based on the service filtering policy 318) for filtering information about the service request in the gateway 203 can do.
  • the data flow table 316 may be equally stored in the node 201 , the gateway 203 , or the service server 205 .
  • the authentication policy database 317 determines whether or not the gateway 203 existing between the network boundaries of the service server 205 on a connection path authenticates a service request according to a policy and, if the authentication is performed, an authentication method and information.
  • a set of related policies can be set. For example, the authentication policy database 317 inserts authentication information when transmitting a request from the gateway 203 to the service server 205, and inserts authentication information of a corresponding service application protocol (e.g., in the case of HTTP).
  • HTTP header insertion etc.
  • information for encrypting or decrypting authentication information information for encrypting or decrypting authentication information
  • algorithm information for generating and verifying authentication information information for generating and verifying authentication information
  • authentication information including a series of information included in the algorithm e.g., information such as Secret Key when generating HMAC OTP
  • authentication information generated based on the authentication policy database 317 may be transmitted to the node 201 , gateway 203 or service server 205 .
  • the gateway 203 may insert authentication information into the service processing request received from the node and forward the service processing request into which the authentication information is inserted.
  • the service server 205 may determine whether a service processing request has been received from an authorized subject based on the authentication information.
  • the gateway 203 In the service filtering policy database 318, the gateway 203 existing between the network boundaries of the service server 205 on the connection path according to the policy allows the service request path or the disallowed service request path for the service request.
  • HTTP protocol or FTP protocol URI information, Web API execution request path Example: HTTP protocol or FTP protocol URI information, Web API execution request path
  • data that should not be transmitted Example: Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.
  • the gateway 203 may filter a data packet or a service processing request based on service filtering information set based on the service filtering policy database 318 .
  • FIG. 4 shows a functional block diagram of a node in accordance with various embodiments.
  • a node may include a processor 410 , a memory 420 , and a communication circuit 430 .
  • the node may further include a display 440 to interface with a user.
  • the node may include the authenticated node 201 and non-certified node 206 of FIG. 2 .
  • the processor 410 may control the overall operation of the node.
  • the processor 410 may include a single processor core or may include a plurality of processor cores.
  • the processor 410 may include multi-cores such as dual-core, quad-core, and hexa-core.
  • the processor 410 may further include an internal or external cache memory.
  • 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). (coupled with) or connected to.
  • the processor 410 may receive commands from other components of the node, interpret the received commands, and perform calculations or process data according to the interpreted commands.
  • the processor 410 may interpret and process messages, data, commands, or signals received from the memory 420 , the communication circuit 430 , or the display 440 .
  • the processor 410 may generate a new message, data, command, or signal based on the received message, data, command, or signal.
  • Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420 , communication circuitry 430 , or display 440 .
  • the processor 410 may process data or signals generated or generated by a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may record (or store) or update instructions, data, or signals in the memory 420 to execute or control a program.
  • 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
  • the memory 420 may include one or more of volatile memory and non-volatile memory.
  • Volatile memory includes dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FeRAM).
  • DRAM dynamic random access memory
  • SRAM static RAM
  • SDRAM synchronous DRAM
  • PRAM phase-change RAM
  • MRAM magnetic RAM
  • RRAM resistive RAM
  • FeRAM ferroelectric RAM
  • the nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, and the like.
  • the memory 420 uses a nonvolatile medium such as a hard disk drive (HDD), a solid state disk (SSD), an embedded multi media card (eMMC), or a universal flash storage (UFS). can include more.
  • a nonvolatile medium such as a hard disk drive (HDD), a solid state disk (SSD), an embedded multi media card (eMMC), or a universal flash storage (UFS).
  • 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 . Also, the memory 420 may store the second target application 216 of FIG. 2 .
  • the access 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 memory of the controller (eg, the memory 330 of FIG. 3 ).
  • the memory 420 may store the data flow table 316 described in FIG. 3 .
  • the communication circuit 430 establishes a wired or wireless communication connection between the node and an external electronic device (eg, the controller 202, gateway 203 or service server 205 of FIG. 2) and performs communication through the established connection.
  • an external electronic device eg, the controller 202, gateway 203 or service server 205 of FIG. 2
  • the communication circuit 430 may be a wireless communication circuit (eg, cellular communication circuit, short-range wireless communication circuit, or global navigation satellite system (GNSS) communication circuit) or a wired communication circuit (eg, a local area network (LAN)).
  • GNSS global navigation satellite system
  • LAN local area network
  • communication circuit or power line communication circuit
  • a short-distance communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a cellular network
  • IrDA infrared data association
  • long-distance communication such as the Internet
  • computer network It may communicate with an external electronic device through a network.
  • the various types of communication circuits 430 described above may be implemented as a single chip or may be implemented as separate chips.
  • the display 440 may output content, data, or signals.
  • the display 440 may display image data processed by the processor 410 .
  • the display 440 may be configured as an integrated touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving a touch input.
  • a plurality of touch sensors may be disposed above the display 440 or below the display 440 .
  • a server may include a processor 410 , a memory 420 , and a communication circuit 430 .
  • the processor 410, memory 420, and communication circuit 430 included in the server may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
  • a gateway (eg, the gateway 203 of FIG. 2 ) according to an embodiment may include a processor 410 , a memory 420 , and a communication circuit 430 .
  • the processor 410, memory 420, and communication circuit 430 included in the gateway may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
  • 5A and 5B illustrate an operation of controlling transmission of a data packet according to various embodiments.
  • the access control application 211 detects a request for network access to the service server 205 from the first target application 212 included in the authentication node 201, and the authentication node 201 or the connection It is possible to determine 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 transmission of data packets in a kernel or network driver including an operating system. can Through the access control application 211, the authentication node 201 may block access of malicious applications in advance in the application layer of the OSI layer.
  • access control application 211 when the access control application 211 is not connected to the controller 202 or when a data packet to be transmitted is a data packet to be transmitted based on a channel but the corresponding channel does not exist, access control Data packets transmitted from the application 211 are blocked by the gateway 203 and the access control application 211 can only request access to the controller 202 .
  • the access control application 211 if the access control application 211 is not installed on the authentication node 201 or if a malicious application bypasses the control of the access control application 211, unauthorized data packets will be transmitted from the authentication node 201.
  • the gateway 203 existing at the boundary of the network blocks data packets for which the corresponding channel does not exist, the data packets transmitted from the authentication node 201 (eg, data packets for TCP session creation) are sent to the service server. (205) may not be reached.
  • the authentication node 201 can be isolated from the service server 205.
  • the second target application 216 may provide a structure capable of always accessing the service server 205 through an existing network path.
  • the service server 205 provides a separate network structure capable of processing a service request for an unauthorized node 206 rather than the gateway 203 so that the service server 205 must pass through the gateway 203. It can solve the problem of the inline structure incurring cost because the service must be processed.
  • FIG. 6 shows an example of a gateway according to various embodiments.
  • a gateway 203 may include a data packet filtering module 213 , a tunneling module 223 and a proxy module 233 .
  • the gateway 203 does not have to include all of the data packet filtering module 213, the tunneling module 223 and the proxy module 233, but the data packet filtering module 213, the tunneling module 223 and At least one of the proxy modules 233 may be included.
  • the data packet filtering module 213 may filter received data packets based on a service filtering policy received from a controller (eg, the controller 202 of FIG. 2 ).
  • the tunneling module 223 may inspect data packets received through tunneling. For example, the tunneling module 223 may check whether a received data packet is received through a corresponding authorized tunnel. According to an embodiment, the tunneling module 223 may check whether a data packet is received through an authorized channel including a tunnel or a session, not only whether or not it is received through an authorized tunnel.
  • each module eg, data packet filtering module 213 or tunneling module 223 in which data packets exist in the network layer and transport layer on the OSI 7 layer, such as data packet processing of the gateway 203 and tunneling, etc.
  • the data flow identification information is inserted into the service processing request information so that the proxy module 233 can identify the authorized target according to the service processing policy, or the proxy module (233) transmits the information that allows the object to be identified through a method such as inter-module communication.
  • the proxy module 233 may identify a connection target and a service application requested by the connection target based on the data flow table. .
  • the proxy module 233 inserts data flow header information that can identify the service request target in the service server to an appropriate part of the protocol of the service application (eg, header area in the case of HTTP) based on authentication information included in the data flow. and transmit it to the service server. Also, the proxy module 233 may transmit a response of the service server to the service request to the node.
  • the data flow header is a data packet flow between a target application (eg, the first target application 212 of FIG.
  • the gateway 203 Based on the data flow received from the controller (eg, the controller 202 of FIG. 2 ), it may be information inserted by the gateway so that the service server can check whether or not it is an authenticated data packet.
  • the data flow header may be configured by combining data flow identification information and encrypted authentication information.
  • the service server can query the controller based on the data flow identification information included in the data flow header to check whether the authenticated target has accessed or not, and can determine whether the authenticated target stored in the controller Authentication may be performed by receiving additional information.
  • the encrypted authentication information included in the data flow header may be used for the purpose of confirming whether the authenticated gateway 203 has performed service forwarding.
  • the authenticated object based on the authentication information encryption or decryption key included in the authentication information of the data flow received from the controller, only the authenticated object can decrypt the encrypted authentication information.
  • the decrypted authentication information may not be a fixed value at every data packet authentication time, such as data flow identification information, and may be OTP (One-Time Password) and Random Generation type information that changes at every authentication time.
  • OTP One-Time Password
  • the gateway 203 generates OTP information that is changed at every service request forwarding point based on information for OTP generation and verification included in the authentication information of the data flow, and encrypts the generated OTP value to improve the data flow
  • a structure for the service server to receive and verify the service request from the authenticated gateway 203 may be provided.
  • FIG. 7 shows a signal flow diagram for controller connection according to various embodiments.
  • node 201 Since the node 201 needs to be authorized by the controller 202 to access or receive the network, the access control application 211 of the node 201 requests the controller 202 to create a control flow, thereby 201) can try to connect to the controller.
  • node 201 may be substantially the same as authentication node 201 of FIG. 2 in which access control application 211 is installed.
  • node 201 may detect a controller connection event. For example, when the connection 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 from 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 (eg, terminal ID, IP address, MAC address), type, location, environment, identification information of the network to which the node 201 belongs, and/or network Arbitrary identification information generated by the system itself may be further transmitted.
  • the controller 202 may identify whether or not the controller connection request (eg, the access control application 211 or the node 201) is accessible. According to one embodiment, the controller 202 determines whether information received from the node 201 is included in the access policy database 311, the node 201, the network to which the node 201 belongs, and/or the connection. Based on at least one of whether the identification information of the control application 211 is included in the blacklist database 314 , it is possible to check whether the controller connection requesting object is accessible.
  • the controller connection request eg, the access control application 211 or the node 201
  • the controller 202 determines whether information received from the node 201 is included in the access policy database 311, the node 201, the network to which the node 201 belongs, and/or the connection. Based on at least one of whether the identification information of the control application 211 is included in the blacklist database 314 , it is possible to check whether the controller connection requesting object is accessible.
  • 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 random numbers, and converts identification information of at least one of the node 201, the network to which the node 201 belongs, or the access control application 211 into a control flow table ( 315) can be stored.
  • Information stored in the control flow table 315 may be used for user authentication of the node 201 , information update of the node 201 , policy check for network access of the node 201 , and/or validation.
  • the controller 202 connects from the access policy database 311 and the channel policy database 312 corresponding to the identified information (eg, the node 201 and source network information to which the node 201 belongs).
  • the identified information eg, the node 201 and source network information to which the node 201 belongs.
  • Whitelist information of possible applications can be created.
  • the controller 202 may send the application white list to the connection control application 211 at 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 access is unavailable or is included in the blacklist, the controller 202 may transmit access unavailability information in operation 725 without generating a control flow. In one embodiment, the controller 202 may transmit the application white list generated through the execution of operation 720 to the connection control application 211 .
  • the access control application 211 may perform a check on the application.
  • the access control application 211 can perform a check for applications based on the white list of accessible applications received from the controller 202 .
  • the access control application 211 may check whether the application exists (installed) in the node 201 based on the accessible application information, and in the case of the existing application, integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, fingerprint inspection) can be performed.
  • the access control application 211 may send the application check result to the controller 202 .
  • the access control application 211 may transmit information about existing applications and results of validation to the controller 202 .
  • the controller 202 may check whether the application is valid based on the received application information. If it is a valid application, the controller 202 selects the gateway 203 where the node 201 is located in the access policy database 311 and the authentication policy database 317 to allow access of the node 201 connected to the network. You can check. In addition, the controller 202 may generate a data flow based on source IP, destination IP, and port information so that the node 201 can transmit data packets without a network access request procedure.
  • the data flow includes a method of inserting authentication information of a service application protocol (eg, HTTP header insertion in case of HTTP), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and It may include authentication information including a series of information included in the algorithm (e.g. information such as secret key when generating HMAC OTP).
  • the data flow is such that the gateway 203, which exists between the network boundaries of the service server 205 on the connection path according to the policy, provides a permitted service request path or an unlicensed service for a service request.
  • Filtering information for request paths e.g. HTTP protocol or FTP protocol URI information, web API execution request path
  • data that should not be transmitted e.g. Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.
  • the controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 (operations 745 and 750).
  • the access control application 211 may process the resulting 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 indicating completion of the controller connection to the user.
  • the request for network connection of the node 201 to the destination network may be controlled by the controller 202 .
  • controller 202 may determine that node 201 is unreachable. For example, if identification information of the node 201 and/or a network to which the node 201 belongs is included in a blacklist database, the controller 202 may determine that the node 201 is inaccessible. In this case, the controller 202 may transmit a response indicating that access to the controller is impossible in operation 725 without generating a control flow in operation 715 . Also, in this case, operations 730 to 750 may not be performed. Depending on the embodiment, if a controller connection needs to be retried, the connection control application 211 may perform operation 705 again.
  • the access control application 211 updates the data flow of the node 201 when the data flow received from the controller 202 exists, and transmits the data packet based on the data flow allowed in advance when accessing the network. data flow can be managed. Afterwards, when a data packet transmission request is detected, the access control application 211 may process the data packet to be transmitted based on authentication information included in the received data flow.
  • operations 730 to 750 may not be performed.
  • FIG. 8 shows a signal flow diagram for user authentication according to various embodiments.
  • the access control application 211 of the node 201 may authenticate the user of the node 201 from the controller 202 .
  • node 201 may be substantially the same as authentication node 201 of FIG. 2 in which access control application 211 is installed.
  • node 201 may receive an input for user authentication.
  • An input for user authentication may be, for example, a user input for inputting a user ID and password.
  • the input for user authentication may be a user input (eg, biometric information) for stronger authentication.
  • the access control application 211 of the node 201 may request user authentication from the controller 202 in operation 805 . If the 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 together with control flow identification information.
  • controller 202 may authenticate the user based on the information received from node 201 .
  • the controller 202 may use the user ID, password, and/or enhanced authentication information included in the received information and a database included in the memory of the controller 202 (e.g., the access policy database of FIG. 3). 311 or the blacklist database 314), it is possible to determine whether the user can access according to the access policy and whether the user is included in the blacklist.
  • the controller 202 may add user identification information (eg, user ID) to identification information of the control flow.
  • user identification information eg, user ID
  • the added user identification information can be used for the authenticated user's controller access or network access.
  • the controller 202 may generate accessible application information based on the access policy database 311 or the channel policy database 312 in operation 820 .
  • the accessible application information may be an application whitelist generated based on an access policy.
  • the controller 202 may transmit information indicating that the user is authenticated to the node 201 in response to the user authentication request. In addition, the controller 202 may transmit accessible application information to the access control application 211 .
  • the access control application 211 may perform a check on the application.
  • the access control application 211 can perform a check for applications based on the white list of accessible applications received from the controller 202 .
  • the access control application 211 may check whether the application exists (installed) in the node 201 based on the accessible application information, and in the case of the existing application, integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, fingerprint inspection) can be performed.
  • the access control application 211 may transmit the application check result to the controller 202 .
  • the access control application 211 may transmit information about existing applications and results of validation to the controller 202 .
  • the controller 202 may check whether the application is valid based on the received application information. If it is a valid application, the controller 202 selects the gateway 203 where the node 201 is located in the access policy database 311 and the authentication policy database 317 to allow access of the node 201 connected to the network. You can check. In addition, the controller 202 may generate a data flow based on source IP, destination IP, and port information so that the node 201 can transmit data packets without a network access request procedure.
  • the data flow includes a method of inserting authentication information of a service application protocol (eg, HTTP header insertion in case of HTTP), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and It may include authentication information including a series of information included in the algorithm (eg, information such as Secret Key when generating HMAC OTP).
  • the data flow is such that the gateway 203, which exists between the network boundaries of the service server 205 on the connection path according to the policy, determines the permitted service request path or the unauthorized service for the service request. Filtering information on the request path (e.g. HTTP protocol or FTP protocol URI information, web API execution request path) and data that should not be transmitted (e.g. Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.) can include
  • the controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 (operations 845 and 850).
  • the access control application 211 may process the resulting 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 indicating completion of user authentication to the user. When user authentication is complete, the request for network access of the node 201 to the destination network may be controlled by the controller 202 .
  • controller 202 may determine that user authentication of node 201 is not possible. For example, if 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 and user authentication is not possible. . In this case, the controller 202 may not reflect user identification information in operation 815 and may transmit a response indicating that access to the controller is impossible in operation 825 . Also, in this case, operations 830 to 850 may not be performed.
  • the access control application 211 updates the data flow of the node 201 when the data flow received from the controller 202 exists, and transmits the data packet based on the data flow allowed in advance when accessing the network. data flow can be managed.
  • operations 830 to 850 may not be performed when the application test is not required.
  • FIG 9 illustrates a signal flow diagram for network access according to various embodiments.
  • node 201 After node 201 is authorized by controller 202, node 201 controls the network access of other applications stored in node 201 through node 201's access control application 211 to provide trusted data. delivery can be guaranteed. According to an embodiment, node 201 may be substantially the same as authentication node 201 of FIG. 2 in which access control application 211 is installed.
  • connection control application 211 may detect a network connection event of another application stored in the node 201 (eg, the first target application 212 of FIG. 2 ).
  • the access control application 211 may check the existence of a data flow corresponding to 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, if a data flow exists, the access control application 211 may transmit a data packet based on the data flow. According to the embodiment, the access control application 211 of the node 201 may perform a network access request in operation 915 without performing operation 910 .
  • the access control application 211 may request the controller 202 to access the network.
  • the network access request may include control flow identification information, destination network identification information, and port information.
  • the controller 202 determines the access requested identification information (eg, destination network identification information) in the access policy corresponding to the identified information (eg, node, user, source network identification information) based on the control flow identification information. and port information) and whether the destination network is accessible can be checked. According to an embodiment, the controller 202 may check whether the target application can access 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 access is impossible (operation 935).
  • the access requested identification information eg, destination network identification information
  • the identified information eg, node, user, source network identification information
  • the controller 202 may check whether a channel between the node 201 and the gateway 203 can be created, whether data packet authentication is required, and an authentication method based on the channel policy and the authentication policy.
  • the controller 202 may check whether a channel such as tunneling or session to be created between the node 201 and the gateway 203 can be created in order to access the corresponding network. For example, if a channel can be created, but accessible channel information or valid data flow information does not exist in the data flow table, the channel A data flow including creation information may be created. According to an embodiment, when channel creation is not required, the controller 202 may not generate a data flow including channel creation information.
  • the controller 202 may 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 (operations 930 and 935). According to another embodiment, when a valid data flow does not exist, the controller 202 may create a data flow based on source IP, destination IP, port information, authentication policy, and service filtering policy. In this case, the controller 202 may transmit the generated data flow to the gateway 203 and the access control application (operations 930 and 935).
  • the data flow includes a method of inserting authentication information of a service application protocol (eg, HTTP header insertion in case of HTTP), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and It may include authentication information including a series of information included in the algorithm (eg, information such as Secret Key when generating HMAC OTP).
  • the data flow is such that the gateway 203, which exists between the network boundaries of the service server 205 on the connection path according to the policy, determines the permitted service request path or the unauthorized service for the service request. Filtering information on the request path (e.g. HTTP protocol or FTP protocol URI information, web API execution request path) and data that should not be transmitted (e.g.
  • Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc. can include
  • the controller 202 transmits a network access failure result to the access control application in operation 935.
  • the connection control application 211 of the node 201 may process the resulting value of the response received from the controller 202 . For example, when the connection control application 211 receives a network connection failure result from the controller 202, it may drop a data packet to be transmitted by the target application. For another example, when a data flow is received from the controller 202 and channel creation is not required, the access control application 211 may transmit a data packet based on the received data flow.
  • the access control application 211 may receive a data flow including channel creation information and create a channel with the gateway 203 if channel creation is necessary (operation 945). For example, when channel creation is complete, the access control application 211 may transmit a data packet based on the created channel. For another example, if channel creation fails, the access control application 211 may drop the data packet.
  • the access control application 211 may perform validation on the access application according to the validation policy. For example, the access control application 211 may further perform an integrity and stability test of the access application (forgery or tampering test, code signing test, fingerprint test, etc.). The access control application 211 may perform operation 915 when the validation result is successful.
  • FIG. 10 illustrates an operational flow diagram for processing a service request at a gateway according to various embodiments. Depending on the embodiment, the operations shown in FIG. 10 may be performed through the gateway 203 of FIG. 2 .
  • gateway 203 may detect a data packet reception event. For example, gateway 203 may receive a data packet from a node (eg, authentication node 201 of FIG. 2).
  • a node eg, authentication node 201 of FIG. 2.
  • the gateway 203 may check whether or not the target transmitting the received data packet is an authorized target. For example, each module (eg, a filtering module, a tunneling module, a channeling module, a proxy module, etc.) included in the gateway 203 may check whether a target to which the data packet is transmitted is an authorized target. Depending on the embodiment, if the target to which the data packet is transmitted is not an authorized target, the gateway 203 may drop the received data packet.
  • each module eg, a filtering module, a tunneling module, a channeling module, a proxy module, etc.
  • the gateway 203 may receive and process the data packet. For example, the gateway 203 requests service processing to a service server (e.g., the service server 205 of FIG. 2) based on the service processing request information included in the received data packet, or requests that the service request is impossible. results can be returned.
  • a service server e.g., the service server 205 of FIG. 2
  • gateway 203 may check the data flow.
  • the gateway 203 includes source IP, destination IP and port information included in service processing request information, session identification information included in protocol information and service processing request information, data flow identification information, and additional information received from other modules. It is possible to check whether a data flow exists through at least one of the identification information.
  • the gateway 203 may forward the service processing request to a designated path according to a service processing policy.
  • the gateway 203 may return information for redirection or service request failure information.
  • the gateway 203 may check the service processing request information. For example, the gateway 203 may check service processing request information based on service filtering information included in the data flow. Depending on the embodiment, if there is a service request path that cannot access service processing request information (eg, URI information on HTTP protocol or FTP protocol, Web API execution request path, etc.) or if it is not an authorized service request path , the gateway 203 may return service processing request failure information (operation 1055). Depending on the embodiment, if data that should not be transmitted is included in the service processing request information (eg, Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.), the gateway 203 returns service processing request failure information Yes (act 1055).
  • service processing request information eg, Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.
  • the gateway 203 may insert a data flow header.
  • the gateway 203 may extract an authentication information generation algorithm and additional information based on authentication information included in the data flow, and generate authentication information based on the extracted authentication information generation algorithm and additional information.
  • the gateway 203 may encrypt the generated authentication information based on an encryption algorithm and an encryption key included in the authentication information of the data flow.
  • the gateway 203 may insert a data flow header in which encrypted authentication information and data flow identification information are combined into service processing request information according to a protocol standard of a service application.
  • the gateway 203 may insert a data flow header at the most suitable location of service processing request information based on the protocol standard of the service application.
  • the gateway 203 converts the service processing request information into which the data flow header is inserted based on the service server (eg, service server 205 of FIG. 2) information of the data flow. Forwarding is possible.
  • the service server eg, service server 205 of FIG. 2
  • operations 1025 to 1055 may be performed through a proxy module included in the gateway 203 (eg, the proxy module 233 of FIG. 6 ).
  • FIG. 11 illustrates an operational flow diagram for processing a service request in a service server according to various embodiments.
  • the service server 205 may detect a service processing request event. For example, the service server 205 may receive and process a service processing request received from a network.
  • the service server 205 may check the source IP of the received service processing request. For example, the service server 205 may determine whether the service processing request is an authorized gateway based on whether a source IP included in the service processing request is an IP of an authorized gateway. For another example, the service server 205 may examine the source IP of the service processing request in order to distinguish between a case in which a non-authenticated node requests and a case in which the gateway 203 receives and forwards a request from an authenticated node. Depending on the embodiment, the service server 205 may process the service processing request as being a request from an authenticated node when it is a request from an authorized gateway. Depending on the embodiment, the service server 205 may process the service processing request as a request from an unauthorized node when it is not a request from an authorized gateway.
  • the service server 205 regards it as a service processing request sent by an unauthorized node and processes the service processing request according to the corresponding security level. can do.
  • the service server 205 may de-authenticate the corresponding user according to a policy.
  • the service server 205 may examine the data flow header. For example, the service server 205 may check whether a data flow header is included in service processing request information. Depending on the embodiment, when the data flow header is not included in the service processing request information, the service server 205 may return service processing request failure information.
  • the service server 205 requests the controller 202 to authenticate the data flow based on the data flow identification information and the data flow authentication information included in the data flow header.
  • the data flow authentication request may include data flow identification information and data flow authentication information.
  • the controller 202 may perform a data flow authentication check. For example, the controller 202 may check whether a corresponding data flow exists in the data flow table using the received data flow identification information. Depending on the embodiment, if the data flow does not exist, the controller 202 may transmit data flow authentication failure information to the service server 205 (operation 1130).
  • the controller 202 may decrypt the authentication information based on the authentication information decryption algorithm and the decryption key included in the authentication information of the data flow to perform the data flow authentication information check. Depending on the embodiment, if authentication information decryption fails, the controller 202 may transmit data flow authentication failure information to the service server 205 (operation 1130).
  • the controller 202 may check whether the decrypted authentication information is valid based on an authentication information check algorithm or additional information included in the authentication information of the data flow. Depending on the embodiment, if the authentication information is invalid, the controller 202 may transmit data flow authentication failure information to the service server 205 (operation 1130).
  • the controller 202 determines that the target of the service request, such as the node, user, application, etc., that has requested service processing in the access policy based on application identification information, destination IP and port information, and control flow information included in the data flow, It is possible to check whether access to the service server 205 is possible.
  • the controller 202 may transmit data flow authentication failure information to the service server 205 (operation 1130).
  • the controller 202 authenticates the service request target in the service server 205 based on the authentication policy, and additional information required for authentication (authenticated node, Data flow and data flow authentication success information including user, application identification information, access method, access location, and the like) may be transmitted to the service server 205 (operation 1130).
  • the service server 205 may process a result value based on the authentication check result received from the controller 202 . For example, if data flow authentication fails, the service server 205 may return service processing request failure information. For another example, if the data flow authentication is successful, the service server 205 based on the received data flow and authentication information (information including the authenticated node, user, application identification information, access method, access location, etc.) Service authentication processing may be performed by matching with user identification information stored in the service server 205, and a service request processing result for a service processing request may be returned.
  • authentication information information including the authenticated node, user, application identification information, access method, access location, etc.
  • the service server 205 periodically synchronizes the data flow with the controller 202.
  • a data flow may be stored so as to periodically check whether a user corresponding to the corresponding data flow is accessing.
  • FIG. 12 shows a signal flow diagram for updating data flow according to various embodiments.
  • the service server 205 synchronizes the data flow with the controller 202 periodically. It may periodically check whether a user corresponding to the corresponding data flow is accessing.
  • the service server 205 may request a data flow update to the controller 202 .
  • the service server 205 may transmit a data flow identification information list to the controller 202 based on the data flow received from the controller 202 .
  • the controller 202 may update the data flow. For example, the controller 202 may check whether a data flow corresponding to the received data flow identification information exists. Depending on the embodiment, if the data flow does not exist, since the node or user corresponding to the corresponding data flow has terminated the network connection, the controller 202 can no longer use the authentication information of the corresponding data flow in the service server 205. Invalid data flow information may be transmitted to the service server 205 so that the network cannot be accessed (operation 1215).
  • the controller 202 may transmit information indicating that the data flow exists to the service server 205 . That is, in operation 1215 , the controller 202 may transmit the data flow update result to the service server 205 .
  • the service server 205 may process the resulting value based on the data flow update result received from the controller 202. For example, the service server 205 may delete an invalid data flow based on the received data flow information, and delete session information managed by the service server 205 itself with the deleted data flow. and the subject authenticated with the deleted session can be processed so that it can no longer access.
  • FIG. 13 illustrates a signal flow diagram for transmitting a log of a gateway according to various embodiments.
  • gateway 203 may transmit data packet drop and service request rejection logs to controller 202 .
  • the gateway 203 transmits the data packet or performs the service request.
  • a log related to may be recorded, and the recorded log may be transmitted to the controller 202 .
  • the controller 202 can analyze the log and update the data flow. For example, the controller 202 may determine which target periodically drops data packets or rejects service requests based on the received log, and may delete or update a data flow related to the target.
  • the controller 202 may transmit the update result to the gateway 203 .
  • the controller 202 may transmit an updated data flow to the gateway 203 .
  • the gateway 203 may process the resulting value based on the updated result received from the controller 202. For example, when receiving an updated data flow, the gateway 203 may update an existing data flow based on the updated data flow.
  • FIG. 14 illustrates 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 the control flow identification information.
  • the controller 202 may check whether a control flow exists in a control flow table (eg, the control flow table 315 of FIG. 3) based on the received control flow identification information.
  • a control flow table eg, the control flow table 315 of FIG. 3
  • the controller 202 determines that the connection of the node 201 is valid. Therefore, a connection failure result may be transmitted to the connection control application 211 (operation 1420).
  • the controller 202 may update the update time when a control flow exists in the control flow table (eg, the control flow table 315 of FIG. 3 ). In this case, the controller 202 may transmit identification information of the updated control flow to the connection control application 211 (operation 1420).
  • the controller 202 is required to perform re-authentication among data flows subordinate to the identified control flow, or if there is a data flow to which access is no longer possible, the controller 202 transmits information about the corresponding data flow to an access control application ( 211) (operation 1420).
  • the connection control application 211 of the node 201 may process the resulting value of the response received from the controller 202 .
  • the access control application 211 may block all network accesses of applications when the control flow update result is impossible.
  • the access control application 211 may update the data flow when the control flow update result is normal and updated data flow information exists.
  • 15 illustrates a signal flow diagram for disconnection according to various embodiments.
  • node 201 terminates node 201, terminates access control application 211, terminates target application, no longer uses the network connection, and information identified from the interworking system. At least one of connection termination requests may be detected based on . In this case, at operation 1510, node 201 or access control application 211 may request 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. Thus, 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 source network, destination network, and port information included in the removed data flow may no longer be transmitted.
  • 16 illustrates a signal flow diagram for termination of application execution according to various embodiments.
  • the access control application 211 of the node 201 may check in real time whether or not the running application is terminated, and may detect an application execution end event.
  • the access control application 211 may check whether a data flow corresponding to terminated application identification information and PID (Process ID and Child Process ID Tree) information exists.
  • PID Process ID and Child Process ID Tree
  • the connection control application 211 may perform a data flow removal request to the controller 202 .
  • 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 may perform a data flow removal request.
  • the controller 202 may delete the data flow requested to be removed.
  • the controller 202 may perform a removal request for the removed data flow to the gateway 203 (operation 1620).
  • the gateway 203 may remove the data flow, and thus data packets corresponding to source network, destination network, and port information included in the removed data flow may no longer be transmitted.
  • FIG. 17 is a flowchart of a method of operating a gateway according to various embodiments. Operations shown in FIG. 17 may be performed through the gateway 203 of FIG. 2 .
  • gateway 203 may receive a data packet.
  • the gateway 203 may check whether the data packet is a data packet received from an authorized subject.
  • the gateway 203 may check whether a data flow corresponding to the service processing request information of the data packet and authorized from the external server exists.
  • the gateway 203 may check the service processing request information if there is a data flow.
  • the gateway 203 may process the data packet based on a result of checking the service processing request information. For example, the gateway 203 may drop a data packet based on a test result or insert a data flow header into service processing request information of the data packet.
  • FIG. 18 is a flowchart of a method of operating a service server according to various embodiments. Operations shown in FIG. 18 may be performed through the service server 205 of FIG. 2 .
  • the service server 205 may determine whether the service processing request was forwarded by the gateway or a non-authenticated node based on the source IP of the service processing request. For example, the service server 205 may check whether the service processing request is an authorized gateway based on whether a source IP included in the service processing request is an IP of an authorized gateway. Depending on the embodiment, the service server 205 may confirm that the request is from an authenticated node when the source IP is the IP of the authorized gateway. Depending on the embodiment, the service server 205 may confirm that the request is from an unauthorized node when the source IP is not the IP of the authorized gateway.
  • the service server 205 may process a service accessible to the unauthenticated node based on the database when the service processing request is the request of the unauthenticated node.
  • the service processing request when the service processing request is from an authenticated node, the service processing request may be processed based on whether a data flow header is included in service processing request information.

Abstract

A gateway according to an embodiment disclosed in the present document comprises a communication circuit, a memory for storing a database, and a processor operatively connected to the communication circuit and the memory. The processor can be configured to: receive a data packet; determine whether the data packet was received from an authorized subject; determine whether a data flow corresponding to service processing request information about the data packet and applied from an external server exists; inspect the service processing request information when the data flow exists; and process the data packet on the basis of the result of the inspection of the service processing request information.

Description

컨트롤러 기반의 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법Controller-based system for controlling network access and method therefor
관련출원과의 상호인용Mutual Citation with Related Applications
본 발명은 2022.02.24.에 출원된 한국 특허 출원 제10-2022-0024308호에 기초한 우선권의 이익을 주장하며, 해당 한국 특허 출원의 문헌에 개시된 모든 내용을 본 명세서의 일부로 포함한다.The present invention claims the benefit of priority based on Korean Patent Application No. 10-2022-0024308 filed on February 24, 2022, and includes all contents disclosed in the literature of the Korean patent application as part of this specification.
기술분야technology field
본 문서에 개시된 실시예들은 컨트롤러 기반 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법에 관한 것이다.Embodiments disclosed in this document relate to a system and method for controlling a controller-based network connection.
다수의 장치들은 네트워크를 통해서 데이터를 통신할 수 있다. 예를 들어, 단말은 인터넷을 통해 서버와 데이터를 송신하거나 수신할 수 있다. 네트워크는 인터넷과 같은 공용 네트워크(public network)뿐만 아니라 인트라넷과 같은 사설 네트워크(private network)를 포함할 수 있다.Multiple devices may communicate data over a network. For example, the terminal may transmit or receive data with a server through the Internet. The network may include a private network such as an intranet as well as a public network such as the Internet.
단말은 IP(Internet Protocol) 기반의 TCP(Transmission Control Protocol) 또는 UDP(User Datagram Protocol)를 활용하여 서버와 통신을 수행하며, TCP 또는 UDP 기술에서 인가된 출발지 IP와 도착지 IP 간 접속을 제어하기 위한 방화벽 기술이 이용될 수 있다. 이러한 IP 통신의 경우, 데이터 패킷이 평문으로 전송되기 때문에 제3 자는 태핑(tapping) 장비나 로그(rouge) WiFi와 같은 스니핑 기술을 이용하여 데이터 패킷의 중요 정보를 쉽게 열람할 수 있는 문제점이 있으므로, 이를 해결하기 위하여 단말과 서버 간 데이터 패킷을 암호화하기 위한 VPN(Virtual Private Network) 기술 및 터널링 기술이 이용된다. The terminal performs communication with the server by utilizing IP (Internet Protocol)-based TCP (Transmission Control Protocol) or UDP (User Datagram Protocol), and controls the connection between the source IP and destination IP authorized in TCP or UDP technology. Firewall technology may be used. In the case of such IP communication, since data packets are transmitted in plain text, there is a problem in that a third party can easily view important information of 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 for encrypting data packets between the terminal and the server are used.
사용자의 단말에 Key Logger 등을 설치하여 특정 서비스 접속에 대한 인증 정보 유출 및 임의의 비밀번호를 대입하는 공격 행위 등이 증가하면서, 인터넷에 상시 연결되어있는 서비스의 개인 정보 유출 및 도용 문제가 발생하고 있다. As attacks such as key loggers, etc. are installed on a user's terminal to leak authentication information for access to a specific service and an attack by substituting an arbitrary password, personal information leakage and theft of services that are always connected to the Internet are occurring. .
위와 같은 보안상 문제점을 해결하기 위하여 일부의 서비스는 Multi Factor Authentication(MFA, 다중 인증)을 제공하고 있지만, 모든 서비스들이 강화된 인증 방식을 제공하기 위해서는 기존의 서비스를 수정하기 위한 많은 비용이 투자되어야 하며, 특히 다양한 MFA 기술이 난립하면서 사용자가 선호하는 인증 방식을 모두 지원하는 것이 어려운 문제가 발생할 수 있다. Some services provide Multi Factor Authentication (MFA) to solve the above security problems, but in order to provide enhanced authentication methods for all services, a lot of money must be invested in modifying existing services. In particular, as various MFA technologies are scattered, it may be difficult to support all authentication methods preferred by users.
또한, 서비스는 인터넷에 상시 연결되어있는 상태, 즉 일반 인증(User ID 및 Password 입력 기반) 또는 MFA 수행 단계에서 이미 데이터 패킷을 송수신하고있는 상태이기 때문에, 임의의 비밀번호를 대입하는 공격 행위 자체를 막을 수 있는 방법이 존재하지 않는다. 즉, 특정 ID에 대한 지속적 공격 행위가 발생하면 추가 인증 수행을 통해서 인증을 수행해야 하는 형태의 기능만 제공될 수 있기 때문에, 사용자 관점에서는 불편할 수 있다. In addition, since the service is always connected to the Internet, that is, it is already sending and receiving data packets at the stage of general authentication (based on user ID and password input) or MFA, it prevents the attack itself by substituting a random password. There is no way to do it. That is, if a continuous attack on a specific ID occurs, it may be inconvenient from the user's point of view because only functions requiring authentication may be provided through additional authentication.
위와 같은 문제는, 인터넷에 연결된 서비스뿐만 아니라 기업에서 사용하고있는 단위 시스템에도 동일하게 적용될 수 있고, 특히 외부에서 VPN(Virtual Private Network)과 같은 기술을 통해 단위 시스템에 접속하는 경우, VPN 접속 인증 이후에는 단위 시스템에 접근 가능한 상태가 될 수 있고, 단위 시스템에서의 인증은 위와 같은 대중적인 서비스보다 더 취약한 보안 인증 체계 및 최소한의 인증 규격조차도 지켜지지 않고 있기 때문에 보안에 더욱 취약할 수 있다. The above problems can be applied not only to Internet-connected services but also to unit systems used by companies. In this case, the unit system can be accessed, and authentication in the unit system can be more vulnerable to security because even the weaker security authentication system and minimum authentication standards are not observed than the above popular services.
또한, 서비스가 다양화되면서 사용자는 하나의 인증 정보를 통해서 각각의 서비스에 통합 인증할 수 있는 기술(예: OAuth 등)을 선호하지만, 현재의 통합 인증 기술은 안전하지 않은 단말 및 네트워크 환경에서 HTTP 프로토콜을 기반으로 하는 SSO(Single Sign On)와 같은 기술을 사용하기 때문에 실질적으로 안전하지 않은 단말 및 네트워크 환경에서 통합 인증을 위한 서비스에 인증된 상태에서 각 서비스를 인증하는 것은 연쇄적인 인증 및 개인 정보 탈취 문제에 있어서 더 위험해지는 문제가 발생할 수 있다. In addition, as services diversify, users prefer technologies (e.g., OAuth, etc.) that enable integrated authentication for each service through one authentication information, but the current integrated authentication technology is HTTP in an insecure terminal and network environment. Since protocol-based technologies such as SSO (Single Sign On) are used, authenticating each service while being authenticated to the service for integrated authentication in a terminal and network environment that is practically insecure is a chain of authentication and personal information A more dangerous problem can arise in terms of deodorization.
또한, 인터넷에 연결된 대중화된 서비스에서 각 서비스의 모든 접속을 게이트웨이를 통해서 중계하는 것은 운영 및 비용적 문제가 발생할 수 있다. Also, in a popularized service connected to the Internet, relaying all connections of each service through a gateway may cause operational and cost problems.
또한, 인증된 대상만 접속하고 서비스 요청에 대응하는 각 서비스가 해당 접속 요청에서 식별할 수 있는 정보는 출발지 IP 정보로 제한되기 때문에 어떠한 사용자 및 단말이 접속하였는지 식별할 수 없는 문제가 발생할 수 있다. In addition, since only authenticated objects are accessed, and information that can be identified in each service corresponding to a service request is limited to source IP information, a problem in which it is impossible to identify which user and terminal has accessed may occur.
본 문서에 개시되는 다양한 실시예들은 네트워크 환경에서 상술한 문제점을 해결하기 위한 시스템 및 그에 관한 방법을 제공하고자 한다. Various embodiments disclosed in this document are intended to provide a system and method for solving the above problems in a network environment.
본 문서에 개시된 일 실시예에 따른 게이트웨이는, 통신 회로, 데이터 베이스를 저장하는 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 데이터 패킷을 수신하고, 상기 데이터 패킷이 인가된 대상으로부터 수신된 데이터 패킷인지 확인하고, 상기 데이터 패킷의 서비스 처리 요청 정보에 대응하고, 외부 서버로부터 인가된 데이터 플로우가 존재하는지 여부를 확인하고, 상기 데이터 플로우가 존재하는 경우 상기 서비스 처리 요청 정보를 검사하고, 상기 서비스 처리 요청 정보에 대한 검사 결과에 기반하여 상기 데이터 패킷을 처리하도록 구성될 수 있다. A gateway 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 receives a data packet, and the It is checked whether the data packet is received from an authorized target, it corresponds to the service processing request information of the data packet, it is checked whether there is a data flow authorized from an external server, and if the data flow exists, the It may be configured to inspect service processing request information and process the data packet based on a result of checking the service processing request information.
본 문서에 개시된 일 실시예에 따른 서비스 서버는, 통신 회로, 데이터 베이스를 포함하는 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 서비스 처리 요청을 수신하고, 상기 서비스 처리 요청에 포함된 출발지 IP가 인가된 게이트웨이의 IP인지 여부에 기반하여 상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청인지 확인하고, 상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청인 경우, 상기 서비스 처리 요청에 데이터 플로우 헤더가 포함되어있는지 여부에 기반하여 상기 서비스 처리 요청을 처리하도록 구성될 수 있다. A service server according to an embodiment disclosed in this document includes a communication circuit, a memory including a database, and a processor operatively connected to the communication circuit and the memory, wherein the processor receives a service processing request and , It is determined whether the service processing request is a request of the authorized gateway based on whether the source IP included in the service processing request is an IP of an authorized gateway, and if the service processing request is a request of the authorized gateway, The service processing request may be processed based on whether a data flow header is included in the service processing request.
본 문서에 개시된 일 실시예에 따른 게이트웨이의 동작 방법은, 데이터 패킷을 수신하는 단계, 상기 데이터 패킷이 인가된 대상으로부터 수신된 데이터 패킷인지 확인하는 단계, 상기 데이터 패킷의 서비스 처리 요청 정보에 대응하고, 외부 서버로부터 인가된 데이터 플로우가 존재하는지 여부를 확인하는 단계, 상기 데이터 플로우가 존재하는 경우 상기 서비스 처리 요청 정보를 검사하는 단계 및 상기 서비스 처리 요청 정보에 대한 검사 결과에 기반하여 상기 데이터 패킷을 처리하는 단계를 포함할 수 있다. A method of operating a gateway according to an embodiment disclosed in this document includes receiving a data packet, determining whether the data packet is a data packet received from an authorized target, corresponding to service processing request information of the data packet, and , Checking whether there is a data flow authorized from an external server, checking the service processing request information if the data flow exists, and selecting the data packet based on a result of checking the service processing request information processing may be included.
본 문서에 개시된 일 실시예에 따른 서비스 서버의 동작 방법은, 서비스 처리 요청을 수신하는 단계, 상기 서비스 처리 요청에 포함된 출발지 IP가 인가된 게이트웨이의 IP인지 여부에 기반하여 상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청인지 확인하는 단계 및 상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청인 경우, 상기 서비스 처리 요청에 데이터 플로우 헤더가 포함되어있는지 여부에 기반하여 상기 서비스 처리 요청을 처리하는 단계를 포함할 수 있다. A method of operating a service server according to an embodiment disclosed in this document includes receiving a service processing request, and the service processing request is sent based on whether a source IP included in the service processing request is an IP of an authorized gateway. Checking whether the request is from an authorized gateway, and if the service processing request is from the authorized gateway, processing the service processing request based on whether a data flow header is included in the service processing request can do.
본 문서에 개시되는 실시예들에 따르면, 기존의 애플리케이션 접속 제어 기술을 사용하여 안전하게 서비스에 접속하고, 서비스에서 접속 대상을 식별 및 인증할 수 있는 기술을 제공할 수 있고, 대중화된 서비스에서 손쉽게 적용할 수 있는 통합 인증 기술을 제공할 수 있다. According to the embodiments disclosed in this document, it is possible to provide a technology for safely accessing a service using an existing application access control technology, identifying and authenticating a connection target in the service, and easily applying it to a popularized service. Integrated authentication technology can be provided.
또한, 본 문서에 개시되는 실시예들에 따르면 접속 제어 애플리케이션과 게이트웨이를 통해서 인증된 대상만 서비스 서버에 접속할 수 있는 방법을 제공함으로서 비인증된 대상으로부터 전송되는 불필요한 서비스 요청 또는 공격 행위를 포함하는 서비스 요청을 원천적으로 차단함으로서, 인증된 대상과 서비스 서버 간의 상시 안전한 네트워크 접속을 보장함과 동시에 비인증된 대상으로부터의 서비스 요청을 줄임으로서 DDoS(서비스 분산 거부공격) 공격을 효과적으로 방지할 수 있다.In addition, according to the embodiments disclosed in this document, by providing a method by which only an authenticated target can access a service server through an access control application and a gateway, a service request including an unnecessary service request transmitted from an unauthorized target or an attacking behavior is provided. By fundamentally blocking, DDoS (Distributed Denial of Service Attack) attacks can be effectively prevented by guaranteeing safe network access at all times between the authenticated target and the service server, and at the same time reducing service requests from unauthorized targets.
또한, 본 문서에 개시되는 실시예들에 따르면 게이트웨이를 통과하는 서비스 요청 중에서 서비스 공격 행위 정보를 포함하는 서비스 요청을 사전에 필터링할 수 있고, 어떠한 대상이 해당 공격행위를 수행하였는지 여부를 확인함과 동시에 해당 공격을 수행한 대상의 네트워크 접속을 격리함으로서 지속적인 DDoS 공격 행위를 차단할 수 있다. In addition, according to the embodiments disclosed in this document, among service requests passing through the gateway, service requests including service attack behavior information may be filtered in advance, and it is possible to check whether a target has performed the corresponding attack behavior, At the same time, continuous DDoS attack behavior can be blocked by isolating the network access of the attacker.
또한, 본 문서에 개시되는 실시예들에 따르면, 대표적인 서비스 애플리케이션 중 하나인 HTTP의 특성상, 단말과의 네트워크 접속을 상시 유지하지 않는 경우 단말의 네트워크 접속 종료 시점을 알 수 없기 때문에 유효하지 않은 세션 정보를 관리하고, 이러한 세션 정보를 활용한 Session Hijacking 공격으로부터 취약한 문제를 방지할 수 있다. In addition, according to the embodiments disclosed in this document, due to the nature of HTTP, which is one of the representative service applications, session information that is not valid because it is not possible to know when the network connection of the terminal is terminated if the network connection to the terminal is not always maintained. and can prevent vulnerabilities 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 time of network connection termination, and by blocking service requests using invalid session information, A more secure network service may be provided.
본 문서에 개시되는 실시예들에 따르면, 네트워크 접속 제어 애플리케이션을 통해 인증을 통제함으로서 각각의 서비스들이 별도의 강력한 인증 수단을 적용할 필요 없이 일원화된 서비스 접속 및 인증 구조를 제공할 수 있다. According to the embodiments disclosed in this document, by controlling authentication through a network access control application, a unified service access and authentication structure can be provided without the need to apply a separate strong authentication method to each service.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition to this, various effects identified directly or indirectly through this document may be provided.
도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. 1 shows an environment including a plurality of networks.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. 2 illustrates an architecture within a network environment according to various embodiments.
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 3 is a functional block diagram illustrating a database stored in a controller according to various embodiments.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. 4 shows a functional block diagram of a node in accordance with various embodiments.
도 5a 및 도 5b는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.5A and 5B illustrate an operation of controlling transmission of a data packet according to various embodiments.
도 6은 다양한 실시예들에 따른 게이트웨이의 예시를 도시한다. 6 shows an example of a gateway according to various embodiments.
도 7은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. 7 shows a signal flow diagram for controller connection according to various embodiments.
도 8은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.8 shows a signal flow diagram for user authentication according to various embodiments.
도 9는 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다. 9 illustrates a signal flow diagram for network access according to various embodiments.
도 10은 다양한 실시예들에 따른 게이트웨이에서 서비스 요청을 처리하기 위한 동작 흐름도를 도시한다. 10 illustrates an operational flow diagram for processing a service request at a gateway according to various embodiments.
도 11은 다양한 실시예들에 따른 서비스 서버에서 서비스 요청을 처리하기 위한 동작 흐름도를 도시한다. 11 illustrates an operational flow diagram for processing a service request in a service server according to various embodiments.
도 12는 다양한 실시예들에 따른 데이터 플로우를 갱신하기 위한 신호 흐름도를 도시한다. 12 shows a signal flow diagram for updating data flow according to various embodiments.
도 13은 다양한 실시예들에 따른 게이트웨이의 로그를 전송하기 위한 신호 흐름도를 도시한다. 13 illustrates a signal flow diagram for transmitting a log of a gateway according to various embodiments.
도 14는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. 14 illustrates a signal flow diagram for control flow update according to various embodiments.
도 15는 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다. 15 illustrates a signal flow diagram for disconnection according to various embodiments.
도 16은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.16 illustrates a signal flow diagram for termination of application execution according to various embodiments.
도 17은 다양한 실시예들에 따른 게이트웨이의 동작 방법에 대한 흐름도를 도시한다.17 is a flowchart of a method of operating a gateway according to various embodiments.
도 18은 다양한 실시예들에 따른 서비스 서버의 동작 방법에 대한 흐름도를 도시한다. 18 is a flowchart of a method of operating a service server according to various embodiments.
이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that this is not intended to limit the present invention to the specific embodiments, but to cover various modifications, equivalents, and/or alternatives of the embodiments of the present invention.
본 문서에서 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.In this document, the singular form of a noun corresponding to an item may include one item or a plurality of items, unless the context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "A, Each of the phrases such as "at least one of B or C" may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서에서 설명되는 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.Each component (eg, module or program) of the components described in this document may include singular or plural entities. According to various embodiments, one or more components or operations among the corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
본 문서에서 사용되는 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine) 의해 읽을 수 있는 저장 매체(storage medium)(예: 메모리)에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램 또는 애플리케이션)로서 구현될 수 있다. 예를 들면, 기기의 프로세서는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document may be implemented as software (eg, a program or application) including one or more instructions stored in a storage medium (eg, memory) readable by a machine. For example, the processor of the device may call at least one command among one or more commands stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 애플리케이션 스토어를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 애플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다. Methods according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store or between two user devices (eg smartphones). It can be distributed (e.g., downloaded or uploaded) directly or online. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. 1 shows an environment including a plurality of networks.
도 1을 참조하면, 제1 네트워크(10) 및 제2 네트워크(20)는 서로 다른 네트워크일 수 있다. 예를 들어, 제1 네트워크(10)는 인터넷과 같은 공용 네트워크이고, 제2 네트워크(20)는 인트라넷 또는 VPN과 같은 사설 네트워크일 수 있다. 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 embodiments described below, the 'source node' may be various types of devices capable of performing data communication. For example, the source node 101 may be a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, or a virtual reality (VR) device. , or home appliances, but is not limited to the aforementioned devices. For example, source node 101 may include a server or gateway capable of transmitting data packets through an application. The source node 101 may also be referred to as 'electronic device' or 'terminal'. Meanwhile, the destination node 102 may include the same or similar device as the above-described source node 101 . For another example, the destination node 102 can be substantially the same as the destination network.
출발지 노드(101)는 제2 네트워크(20)로의 접속(access)을 시도하고 제2 네트워크(20)에 포함된 도착지 노드(102)로 데이터를 전송할 수 있다. 출발지 노드(101)는 게이트웨이(103)를 통해 데이터를 도착지 노드(102)로 전송할 수 있다. The source node 101 may attempt access to the second network 20 and transmit data to the destination node 102 included in the second network 20 . The source node 101 may transmit data to the destination node 102 via the gateway 103 .
출발지 노드(101)의 제1 네트워크(10)에 대한 접속이 승인되면 출발지 노드(101)는 제1 네트워크(10)에 포함된 모든 서버와 통신할 수 있으므로, 출발지 노드(101)는 악성(malicious) 프로그램의 공격으로부터 노출될 수 있다. 예를 들어, 출발지 노드(101)는 인터넷 웹 브라우저(110a), 비즈니스 애플리케이션(110b)과 같은 신뢰된(trusted) 및/또는 보안된(secure) 애플리케이션뿐만 아니라, 악성 코드(110c), 감염된(infected) 비즈니스 애플리케이션(110d)과 같이 신뢰되지 않거나 보안되지 않은 애플리케이션의 데이터를 수신할 수 있다. If access to the first network 10 of the starting node 101 is approved, since the starting node 101 can communicate with all servers included in the first network 10, the starting node 101 is malicious. ) can be exposed from program attacks. For example, the origin node 101 may be infected with malicious code 110c, as well as trusted and/or secure applications such as Internet web browser 110a and business application 110b. ) may receive data of an untrusted or unsecured application such as the business application 110d.
악성 프로그램으로부터 감염된 출발지 노드(101)는 제2 네트워크(20)로의 접속 및/또는 데이터 전송을 시도할 수 있다. 제2 네트워크(20)가 VPN과 같이 IP에 기반하여 형성되는 경우, 제2 네트워크(20)는 제2 네트워크(20) 내에 포함되는 복수의 장치들을 개별적으로 모니터링하기 어려울 수 있으며, OSI 계층에서 응용 계층 또는 전송 계층에 대한 보안에 취약할 수 있다. 또한, 채널이 이미 생성된 이후에 출발지 노드(101)가 악성 애플리케이션을 포함하는 경우, 상기 악성 애플리케이션의 데이터는 제2 네트워크(20) 내의 다른 전자 장치(예: 도착지 노드(102))에게 전달될 수 있다.The starting node 101 infected by the malicious program may attempt access to the second network 20 and/or data transmission. When the second network 20 is formed based on IP, such as VPN, it may be difficult to individually monitor a plurality of devices included in the second network 20, and application in the OSI layer Security at the layer or transport layer may be vulnerable. In addition, if the source node 101 includes a malicious application after the channel has already been created, the data of the malicious application will be delivered to another electronic device (eg, the destination node 102) within the second network 20. can
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. 2 illustrates an architecture within a network environment according to various embodiments.
도 2를 참조하면, 노드(201, 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 authenticating node 201 and a non-certifying node 206 . For another example, the nodes 201 and 206 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, and a virtual reality (VR) device. ) device, or a home appliance, but is not limited to the aforementioned devices. For example, nodes 201 and 206 may include servers or gateways capable of transmitting data packets through applications. 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)은 컨트롤러(202)로부터 인증에 관한 정보를 수신할 수 있고, 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212)의 데이터 패킷을 인증에 관한 정보에 기반하여 전송할 수 있다.The authentication node 201 may store a first target application 212 and an access control application 211 . The first target application 212 may transmit a data packet to the service server 205 through the gateway 203 under the control of the access control application 211 or, conversely, may receive a data packet. Some of the first target applications 212 may be trusted and/or secured 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 may block access to the service server 205 of an unauthorized program (application) through network access control of the access control application 211 and isolate the corresponding program. For example, before the first target application 212 according to embodiments communicates with the service server 205 , the access control application 211 may check whether access is available from the controller 202 . When authentication is completed, the access control application 211 may 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 from the controller 202, and the access control application 211 is the controller ( Authentication-related information may be received from 202 , and the access control application 211 may transmit a data packet of the first target application 212 based on the authentication-related information.
비인증 노드(206)는 제2 타겟 애플리케이션(216)을 저장할 수 있다. 예를 들어, 비인증 노드(206)는 접속 제어 애플리케이션이 설치되지 않은 노드일 수 있다. 실시예에 따르면, 제2 타겟 애플리케이션(216)은 안전을 보장하지 않는 상태에서 서비스 서버(205)에 접근할 수 있다. 이 경우, 서비스 서버(205)는 해당 보안 수준에 적합한 기능만을 제2 타겟 애플리케이션(216)에게 제공할 수 있다. The unauthenticated node 206 may store the second target application 216 . For example, the unauthenticated node 206 may be a node that does not have an access control application installed. According to an embodiment, the second target application 216 may access the service server 205 in a state in which safety is not guaranteed. 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)는 데이터 패킷을 인증하기 위한 인증에 관한 정보를 인증 정책에 기반하여 생성할 수 있고, 생성된 인증에 관한 정보를 접속 제어 애플리케이션(211) 또는 게이트웨이(203)에게 전송함으로서 데이터 패킷이 인증 없이 전송되는 것을 방지할 수 있다. 일 실시예에서, 게이트웨이(203) 컨트롤러(202)에 의하여 수신된 인증에 관한 정보에 기반하여 데이터 패킷에 인증 정보를 삽입할 수 있고, 인증 정보가 삽입된 데이터 패킷(또는 서비스 처리 요청)을 서비스 서버(205)로 포워딩할 수 있으며, 서비스 서버(205)는 인증 정보에 기반하여 인가된 대상으로부터 서비스 처리 요청이 수신되었는지 여부를 검사할 수 있다. 실시예에 다르면, 제1 타겟 애플리케이션(212)의 네트워크 접속은 접속 제어 애플리케이션(211), 컨트롤러(202) 또는 게이트웨이(203)로부터 차단될 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 인증 노드(201) 또는 접속 제어 애플리케이션(211)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 접속 제어 애플리케이션(211)과 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예: 220)은 '제어 플로우(control flow)'로 참조될 수 있다. 실시예에 따르면, 컨트롤러(202)는 연동 시스템(예: 인증 노드(201), 게이트웨이(203) 또는 서비스 서버(205))으로부터 수신된 보안 이벤트에 따라 터널링 및 세션을 즉시 회수함으로서 상시 안전한 네트워크 상태를 유지할 수 있다. The controller 202 may be, for example, a server (or cloud server). The controller 202 can ensure reliable data transmission within the 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 network access of the authorized authentication node 201 (or access control application 211) through policy information or blacklist information. In addition, the controller 202 may generate authentication-related information for authenticating data packets based on an authentication policy, and transmit the generated authentication-related information to the access control application 211 or the gateway 203 to transmit data It can prevent packets from being sent without authentication. In one embodiment, authentication information may be inserted into a data packet based on information about authentication received by the controller 202 of the gateway 203, and the data packet (or service processing request) into which the authentication information is inserted may be sent to the service. Forwarding may be performed to the server 205, and the service server 205 may check whether a service processing request has been received from an authorized subject based on authentication information. According to the embodiment, network access 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 an access control application to perform various operations associated with network access of the authentication node 201 or access control application 211 (eg, registration, authorization, authentication, renewal, termination). 211 and control data packets can be transmitted and received. A flow through which the control data packet is transmitted (eg, 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 interworking system (eg, authentication node 201, gateway 203, or service server 205), thereby providing a secure network state at all times. can keep
게이트웨이(203)는 인증 노드(201)가 속하는 네트워크의 경계 또는 서비스 서버(205)가 속하는 네트워크의 경계에 위치할 수 있다. 일 실시예에 따르면, 게이트웨이(203)는 클라우드(cloud) 기반으로 컨트롤러(202)와 연결될 수 있다. 게이트웨이(203)는 접속 제어 애플리케이션(211)으로부터 수신된 데이터 패킷 중에서 인증 정보에 기반하여 인증된 데이터 패킷만을 서비스 서버(205)로 포워딩 할 수 있다. 접속 제어 애플리케이션(211) 및 게이트웨이(203) 사이에서 데이터 패킷이 전송되는 흐름은 '데이터 플로우(data flow)'로 참조될 수 있다. 데이터 플로우는 노드 또는 IP 단위뿐만 아니라 보다 세부적인 단위(예: 애플리케이션)로 생성될 수 있다. 게이트웨이(203)는 접속 제어 애플리케이션(211)으로부터 전송된 데이터 패킷 중 인증 정보 검사가 완료된 데이터 패킷 만 서비스 서버(205)로 포워딩함으로써 무분별한 네트워크 접속을 사전에 차단할 수 있다. The gateway 203 may be located at the boundary of the network to which the authentication node 201 belongs or the boundary of the network to which the service server 205 belongs. According to one embodiment, the gateway 203 may be connected to the controller 202 based on a cloud. The gateway 203 may forward only authenticated data packets based on the authentication information among the data packets received from the access control application 211 to the service server 205 . A flow in which data packets are transmitted between the access control application 211 and the gateway 203 may be referred to as 'data flow'. Data flows can be created in granular units (eg applications) as well as nodes or IP units. The gateway 203 may block indiscriminate network access in advance by forwarding only data packets for which authentication information has been checked among data packets transmitted from the access control application 211 to the service server 205 .
실시예에 따르면, 게이트웨이(203)는 5Tuples 및 TCP, UDP 데이터 패킷을 검사하기 위한 모듈 및 터널링, 보안 세션 데이터 패킷을 처리하기 위한 모듈을 포함할 수 있다. 예를 들어, 게이트웨이(203)는 게이트웨이(203)를 경유하는 모든 데이터 패킷이 인가된 대상(예: 컨트롤러(202)로부터 인가된 대상)으로부터 전송된 데이터 패킷인지 여부를 확인할 수 있다. According to an embodiment, the gateway 203 may include modules for inspecting 5Tuples, TCP and UDP data packets, and modules 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, an authorized target from the controller 202).
실시예에 따르면, 게이트웨이(203)는 인가된 터널링 또는 세션 등의 채널을 통해서 수신된 데이터 패킷을 게이트웨이(203)에 포함된 프록시(예: 도 6의 프록시 모듈(233))을 통해 서비스 서버(205)와의 서비스 처리를 중계할 수 있다. 예를 들어, 게이트웨이(203)는 서비스 서버(205)가 인증된 대상으로부터 수신된 서비스 요청을 처리할 수 있는 구조를 제공할 수 있고, 서비스 서버(205)는 게이트웨이(203)가 아닌 비인증 노드(206)에 대한 서비스 요청을 처리할 수 있는 분리된 네트워크 구조를 제공할 수 있다. 따라서, 위와 같은 네트워크 처리 구조는 서비스 서버(205)가 반드시 게이트웨이(203)를 통해 서비스가 처리되어야 하는 구조의 문제점을 해결할 수 있다. According to the embodiment, the gateway 203 transfers data packets received through a channel such as an authorized tunneling or session to a service server (for example, the proxy module 233 of FIG. 6) through a proxy included in the gateway 203. 205) and service processing can be relayed. For example, the gateway 203 may provide a mechanism for the service server 205 to process a service request received from an authenticated subject, and the service server 205 may be a non-authenticated node (not the gateway 203). 206) may provide a separated network structure capable of handling service requests. Therefore, the above network processing structure can solve the problem of the structure in which the service server 205 must process the service through the gateway 203.
다양한 실시예들에 따르면, 인증 노드(201)는 인증 노드(201) 내에 저장된 제1 타겟 애플리케이션(212)의 네트워크 접속을 관리하기 위한 접속 제어 애플리케이션(211) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 인증 노드(201)에 포함된 제1 타겟 애플리케이션(212)의 서비스 서버(205)에 대한 접속 이벤트가 발생하면, 접속 제어 애플리케이션(211)은 제1 타겟 애플리케이션(212)의 접속 가능 여부를 결정할 수 있다. 제1 타겟 애플리케이션(212)이 접속 가능하면, 제1 타겟 애플리케이션(212)은 인증 정보를 삽입한 데이터 패킷을 게이트웨이(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 . can For example, when an access event to the service server 205 of the first target application 212 included in the authentication node 201 occurs, the access control application 211 allows the first target application 212 to access. can decide whether If the first target application 212 is accessible, the first target application 212 may transmit a data packet including authentication information to the gateway 203 . The access control application 211 may control transmission of data packets through a kernel including an operating system and a network driver within the authentication node 201 .
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 도 3은 메모리(330)만을 도시하지만, 컨트롤러는 외부 전자 장치와 통신을 수행하기 위한 통신 회로(예: 도 4의 통신 회로(430)) 및 컨트롤러의 전반적인 동작을 제어하기 위한 프로세서(예: 도 4의 프로세서(410))를 더 포함할 수 있다. 3 is a functional block diagram illustrating a database stored in a controller according to various embodiments. Although FIG. 3 shows only the memory 330, the controller includes a communication circuit for communicating with an external electronic device (eg, the communication circuit 430 of FIG. 4) and a processor for controlling the overall operation of the controller (eg, FIG. Four processors 410) may be further included.
이하에서, 노드(201)는 도 2의 인증 노드(201)를 포함할 수 있다. 예를 들어, 도 2의 비인증 노드(206)는 접속 제어 애플리케이션이 설치되어있지 않기 때문에 컨트롤러(202)로부터 네트워크 접속이 제어되지 않을 수 있다. Hereinafter, node 201 may include authentication node 201 of FIG. 2 . For example, the unauthenticated node 206 of FIG. 2 may not have network access controlled by the controller 202 because the access control application is not installed.
관리자는 컨트롤러(202)에 접속하여 접속 제어 애플리케이션(211)과 서비스 서버(205) 간 접속을 제어하기 위한 연결 중심의 정책을 설정할 수 있으므로, 서비스 단에서 세션을 관리하는 것 보다 세밀하고 안전하게 네트워크 접속을 제어할 수 있다. Since the administrator can connect to the controller 202 and set connection-oriented policies to control access between the access control application 211 and the service server 205, network access is more detailed and secure than session management at the service level. can control.
접속 정책 데이터 베이스(311)는 식별된 네트워크, 노드, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 요청 시, 접속 정책 데이터 베이스(311)의 정책에 기반하여 식별된 네트워크(예: 노드(201)가 속하는 네트워크), 노드, 사용자(예: 노드(201)의 사용자), 및/또는 애플리케이션(예: 노드(201)에 포함되는 타겟 애플리케이션(212)이 서비스 서버(205)에 접속이 가능한지 여부를 결정할 수 있다. 일 실시예에서, 컨트롤러(202)는 접속 정책 데이터 베이스(311)에 기반하여 특정 서비스(예: IP 및 포트)로 접속 가능한 타겟 애플리케이션(212)의 화이트리스트를 생성할 수 있다. The access policy database 311 may include information about networks and/or services to which the identified networks, nodes, or applications may access. For example, the controller 202, when requesting network access from the access control application 211, identifies a network based on a policy of the access policy database 311 (eg, a network to which the node 201 belongs), a node, A user (eg, a user of the node 201) and/or an application (eg, a target application 212 included in the node 201) may determine whether access to the service server 205 is possible. In , the controller 202 may create a whitelist of target applications 212 accessible to a specific service (eg, IP and port) based on the access policy database 311 .
채널 정책 데이터 베이스(312)는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(예: 도 2의 서비스 서버(205))의 사이에 존재하는 게이트웨이(예: 도 2의 게이트웨이(203)) 및 프록시(예: 도 6의 프록시 모듈(233)) 정보를 포함할 수 있다. The channel policy database 312 is a gateway (eg, gateway 203 of FIG. 2) and a proxy existing between service servers (eg, service server 205 of FIG. 2) on a connection path according to policies. (eg, the proxy module 233 of FIG. 6) information may be included.
블랙리스트 정책 데이터 베이스(313)는 노드(201) 또는 게이트웨이(203)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 대상(예: 노드 ID(identifier), IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)의 접속을 차단하기 위한 블랙리스트 등록 정책을 나타낼 수 있다. The blacklist policy database 313 is a target (e.g., a node ID (eg, node ID ( identifier), an IP address, a media access control (MAC) address, or a user ID) may indicate a blacklist registration policy for blocking access.
블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해서 차단된 대상에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러(202)는 네트워크 접속을 요청하는 노드(201)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되면 네트워크 접속 요청을 거부함으로써 노드(201)를 격리시킬 수 있다. The blacklist database 314 may include a list of objects blocked by the blacklist policy database 313 . For example, the controller 202 may isolate the node 201 by rejecting the network access request when identification information of the node 201 requesting network access is included in the blacklist database 314 .
제어 플로우 테이블(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 a flow (eg, control flow) of control data packets generated between the node 201 and the controller 202 . When accessing the controller 202 is successful, 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 during access to and authentication of a controller, a node ID, and a user ID. For example, when access to the service server 205 is requested from the node 201, the controller 202 may search for control flow information through control flow identification information received from the node 201, and the searched control flow Whether the node 201 can access the service server 205 by mapping at least one of the IP address, node ID, or user ID included in the information to the access policy database 311, data flow for data packet transmission It can be judged (determined) whether it is created or not.
일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 노드(201)는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 노드(201)로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우, 컨트롤러(202)는 노드(201)의 접속 종료 요청에 따라서 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 노드(201)의 접속이 차단될 수 있다. According to one embodiment, a control flow may have an expiration time. The node 201 needs to update the expiration time of the control flow, and if the expiration time is not updated for a certain period of time, the control flow (or control flow information) may be removed. In addition, when it is determined that immediate disconnection is necessary according to the security event collected from the node 201 , the controller 202 may remove the control flow according to the connection termination request of the node 201 . When the control flow is removed, the connection of the node 201 may be blocked because the previously generated data flow is also removed.
데이터 플로우 테이블(316)은 노드(201)와 게이트웨이(203), 및 서비스 서버(205) 사이에 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블이다. 데이터 플로우는 TCP 세션, 애플리케이션, 또는 보다 세부적인 단위로 생성될 수 있다. 데이터 플로우 테이블(316)은 노드(201)의 애플리케이션(예: 제1 타겟 애플리케이션(212)), 게이트웨이(230), 서비스 서버(205)의 터널링 및 세션을 관리하기 위한 데이터 플로우 정보를 포함할 수 있다. 데이터 플로우 테이블(316)은 출발지로부터 전송된 데이터 패킷이 인가된 데이터 패킷인지를 식별하기 위한 애플리케이션 ID, 도착지 IP 주소, 및/또는 서비스 포트를 포함할 수 있다. 데이터 플로우 테이블(316)은 제어 플로우 ID에 기반하여 관리될 수 있다. 또한, 데이터 플로우 테이블(316)은 데이터 패킷의 출발지 IP 및 도착지 IP, 포트 정보를 기반으로 데이터 패킷 포워딩 여부를 판단하기 위한 인가된 대상 정보 및 데이터 플로우가 유효한지 여부를 포함하는 상태 정보를 포함할 수 있다. 실시예에 따르면, 데이터 플로우 테이블(316)은 애플리케이션과 게이트웨이(203) 사이에 터널링 또는 세션이 생성되었는지 여부를 나타내는 정보를 더 포함할 수 있다. 실시예에 따르면, 데이터 플로우 테이블(316)은 게이트웨이(203)에서 서비스 서버(205)로 요청 전송 시 인증 정보를 삽입하는 경우, 해당 서비스 애플리케이션의 프로토콜의 인증 정보를 삽입하는 방식(예: HTTP의 경우 HTTP 헤더 삽입 등), 인증 정보 암호화 또는 복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보)를 포함하는 인증 정보(예: 인증 정책(317)에 기반하여 생성되거나 결정되는 정보)를 더 포함할 수 있다. 또한, 실시예에 따르면, 데이터 플로우 테이블(316)은 게이트웨이(203)에서 서비스 요청에 대한 정보를 필터링하기 위한 일련의 정보(예: 서비스 필터링 정책(318)에 기반하여 결정되는 정보)를 더 포함할 수 있다. The data flow table 316 is a table for managing a flow (eg, data flow) in which detailed data packets are transmitted between the node 201 and the gateway 203 and the service server 205 . Data flows can be created in TCP sessions, applications, or more granular units. The data flow table 316 may include data flow information for tunneling and session management of the application (eg, the first target application 212) of the node 201, the gateway 230, and the service server 205. there is. The data flow table 316 may include an application ID, destination IP address, and/or service port for identifying whether a data packet transmitted from a source is an authorized data packet. The data flow table 316 may be managed based on control flow IDs. In addition, the data flow table 316 may include state information including whether or not the data flow is valid and authorized destination information for determining whether data packets are forwarded based on source IP, destination IP, and port information of the data packet. 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, the data flow table 316 inserts the authentication information of the protocol of the corresponding service application when the authentication information is inserted when the gateway 203 sends a request to the service server 205 (eg, HTTP HTTP header insertion, etc.), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and a series of information included in the algorithm (e.g., information such as Secret Key when generating HMAC OTP). Information (eg, information generated or determined based on the authentication policy 317) may be further included. In addition, according to the embodiment, the data flow table 316 further includes a set of information (eg, information determined based on the service filtering policy 318) for filtering information about the service request in the gateway 203 can do.
실시예에 따르면, 데이터 플로우 테이블(316)은 노드(201), 게이트웨이(203) 또는 서비스 서버(205)에 동일하게 저장될 수 있다. According to an embodiment, the data flow table 316 may be equally stored in the node 201 , the gateway 203 , or the service server 205 .
인증 정책 데이터베이스(317)는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(205)의 네트워크 경계 사이에 존재하는 게이트웨이(203)가 서비스 요청에 대하여 인증할 것인지 여부 및 인증을 수행할 경우 인증 방식과 관련된 일련의 정책을 설정할 수 있다. 예를 들어, 인증 정책 데이터베이스(317)는 게이트웨이(203)에서 서비스 서버(205)로 요청 전송 시 인증 정보를 삽입하는 경우, 해당 서비스 애플리케이션의 프로토콜의 인증 정보를 삽입하는 방식(예: HTTP의 경우 HTTP 헤더 삽입 등), 인증 정보 암호화 또는 복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보)를 포함하는 인증 정보를 생성하기 위한 정보를 포함할 수 있다. The authentication policy database 317 determines whether or not the gateway 203 existing between the network boundaries of the service server 205 on a connection path authenticates a service request according to a policy and, if the authentication is performed, an authentication method and information. A set of related policies can be set. For example, the authentication policy database 317 inserts authentication information when transmitting a request from the gateway 203 to the service server 205, and inserts authentication information of a corresponding service application protocol (e.g., in the case of HTTP). HTTP header insertion, etc.), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and authentication information including a series of information included in the algorithm (e.g., information such as Secret Key when generating HMAC OTP) It may include information for generating.
실시예에 따르면, 인증 정책 데이터 베이스(317)에 기반하여 생성되는 인증 정보는 노드(201), 게이트웨이(203) 또는 서비스 서버(205)로 전송될 수 있다. 실시예에 따르면, 게이트웨이(203)는 노드로부터 수신된 서비스 처리 요청에 인증 정보를 삽입할 수 있고, 인증 정보가 삽입된 서비스 처리 요청을 포워딩할 수 있다. 이 경우, 서비스 서버(205)는 인증 정보에 기반하여 서비스 처리 요청이 인가된 대상으로부터 수신되었는지 여부를 판단할 수 있다. According to an embodiment, authentication information generated based on the authentication policy database 317 may be transmitted to the node 201 , gateway 203 or service server 205 . According to an embodiment, the gateway 203 may insert authentication information into the service processing request received from the node and forward the service processing request into which the authentication information is inserted. In this case, the service server 205 may determine whether a service processing request has been received from an authorized subject based on the authentication information.
서비스 필터링 정책 데이터베이스(318)는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(205)의 네트워크 경계 사이에 존재하는 게이트웨이(203)가 서비스 요청에 대하여 허용된 서비스 요청 경로 또는 허가되지 않은 서비스 요청 경로(예: HTTP 프로토콜 또는 FTP 프로토콜 상에서의 URI 정보, Web API 실행 요청 경로) 및 전송하면 안되는 데이터(예: HTTP 공격을 위한 Cross Site Scripting, SQL Injection 정보, 개인 정보 등)에 대한 필터링 정책을 포함할 수 있다. 실시예에 따르면, 게이트웨이(203)는 서비스 필터링 정책 데이터베이스(318)에 기반하여 설정된 서비스 필터링 정보에 기초하여 데이터 패킷 또는 서비스 처리 요청을 필터링할 수 있다. In the service filtering policy database 318, the gateway 203 existing between the network boundaries of the service server 205 on the connection path according to the policy allows the service request path or the disallowed service request path for the service request. (Example: HTTP protocol or FTP protocol URI information, Web API execution request path) and data that should not be transmitted (Example: Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.) can According to an embodiment, the gateway 203 may filter a data packet or a service processing request based on service filtering information set based on the service filtering policy database 318 .
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. 4 shows a functional block diagram of a node in accordance with various embodiments.
도 4를 참조하면, 노드는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시 예에 따르면, 노드는 사용자와 인터페이스를 수행하기 위하여 디스플레이(440)를 더 포함할 수 있다. 실시예에 따르면, 노드는 도 2의 인증 노드(201) 및 비인증 노드(206)를 포함할 수 있다. Referring to FIG. 4 , a node may include a processor 410 , a memory 420 , and a communication circuit 430 . According to one embodiment, the node may further include a display 440 to interface with a user. According to an embodiment, the node may include the authenticated node 201 and non-certified 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 may control the overall operation of the node. In various embodiments, the processor 410 may include a single processor core or may include a plurality of processor cores. For example, the processor 410 may include multi-cores such as dual-core, quad-core, and hexa-core. According to embodiments, the processor 410 may further include an internal or external cache memory. According to embodiments, the processor 410 may be configured with one or more processors. For example, the processor 410 may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).
프로세서(410)의 전부 또는 일부는 노드 내의 다른 구성 요소(예를 들면, 메모리(420), 통신 회로(430), 또는 디스플레이(440))와 전기적으로(electrically) 또는 작동적으로(operatively) 결합(coupled with)되거나 연결될(connected to) 수 있다. 프로세서(410)는 노드의 다른 구성 요소들의 명령을 수신할 수 있고, 수신된 명령을 해석할 수 있으며, 해석된 명령에 따라 계산을 수행하거나 데이터를 처리할 수 있다. 프로세서(410)는 메모리(420), 통신 회로(430), 또는 디스플레이(440)로부터 수신되는 메시지, 데이터, 명령어, 또는 신호를 해석할 수 있고, 가공할 수 있다. 프로세서(410)는 수신된 메시지, 데이터, 명령어, 또는 신호에 기반하여 새로운 메시지, 데이터, 명령어, 또는 신호를 생성할 수 있다. 프로세서(410)는 가공되거나 생성된 메시지, 데이터, 명령어, 또는 신호를 메모리(420), 통신 회로(430), 또는 디스플레이(440)에게 제공할 수 있다. All or part of processor 410 is electrically or operatively coupled to other components within the node (e.g., memory 420, communication circuitry 430, or display 440). (coupled with) or connected to. The processor 410 may receive commands from other components of the node, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor 410 may interpret and process messages, data, commands, or signals received from the memory 420 , the communication circuit 430 , or the display 440 . The processor 410 may generate a new message, data, command, or signal based on the received message, data, command, or signal. Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420 , communication circuitry 430 , or display 440 .
프로세서(410)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 410 may process data or signals generated or generated by a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may record (or store) or update instructions, data, or signals in the memory 420 to execute or control a program.
메모리(420)는 노드를 제어하는 명령어, 제어 명령어 코드, 제어 데이터, 또는 사용자 데이터를 저장할 수 있다. 예를 들면, 메모리(420)는 애플리케이션(application) 프로그램, OS(operating system), 미들웨어(middleware), 또는 디바이스 드라이버(device driver) 중 적어도 하나를 포함할 수 있다. The memory 420 may store commands for controlling nodes, control command codes, control data, or user data. For example, the memory 420 may include at least one of an application program, an operating system (OS), middleware, or a device driver.
메모리(420)는 휘발성 메모리(volatile memory) 또는 불휘발성(non-volatile memory) 중 하나 이상을 포함할 수 있다. 휘발성 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), SDRAM(synchronous DRAM), PRAM(phase-change RAM), MRAM(magnetic RAM), RRAM(resistive RAM), FeRAM(ferroelectric RAM) 등을 포함할 수 있다. 불휘발성 메모리는 ROM(read only memory), PROM(programmable ROM), EPROM(electrically programmable ROM), EEPROM(electrically erasable programmable ROM), 플래시 메모리(flash memory) 등을 포함할 수 있다. The memory 420 may include one or more of volatile memory and non-volatile memory. Volatile memory includes dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FeRAM). can include The nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, and the like.
메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 uses a nonvolatile medium such as a hard disk drive (HDD), a solid state disk (SSD), an embedded multi media card (eMMC), or a universal flash storage (UFS). can include more.
일 실시예에 따르면, 메모리(420)는 도 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 . Also, the memory 420 may store the second target application 216 of FIG. 2 . The access 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 an embodiment, the memory 420 may store some of the information included in the memory of the controller (eg, the memory 330 of FIG. 3 ). For example, the memory 420 may store the data flow table 316 described in FIG. 3 .
통신 회로(430)는 노드와 외부 전자 장치(예: 도 2의 컨트롤러(202), 게이트웨이(203) 또는 서비스 서버(205))간의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 회로(430)는 무선 통신 회로(예: 셀룰러 통신 회로, 근거리 무선 통신 회로, 또는 GNSS(global navigation satellite system) 통신 회로) 또는 유선 통신 회로(예: LAN(local area network) 통신 회로, 또는 전력선 통신 회로)를 포함하고, 그 중 해당하는 통신 회로를 이용하여 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크 또는 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크와 같은 원거리 통신 네트워크를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 회로(430)는 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다. The communication circuit 430 establishes a wired or wireless communication connection between the node and an external electronic device (eg, the controller 202, gateway 203 or service server 205 of FIG. 2) and performs communication through the established connection. can support According to one embodiment, the communication circuit 430 may be a wireless communication circuit (eg, cellular communication circuit, short-range wireless communication circuit, or global navigation satellite system (GNSS) communication circuit) or a wired communication circuit (eg, a local area network (LAN)). ) communication circuit, or power line communication circuit), and using a corresponding communication circuit among them, a short-distance communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a cellular network, a long-distance communication such as the Internet, or a computer network It may communicate with an external electronic device through a network. The various types of communication circuits 430 described above may be implemented as a single chip or may be implemented as separate chips.
디스플레이(440)는, 컨텐츠, 데이터, 또는 신호를 출력할 수 있다. 다양한 실시 예들에서, 디스플레이(440)는 프로세서(410)에 의해 가공된 이미지 데이터를 표시할 수 있다. 실시예들에 따라, 디스플레이(440)는 터치 입력 등을 수신할 수 있는 복수의 터치 센서들(미도시)과 결합됨으로써, 일체형의 터치 스크린(touch screen)으로 구성될(configured with) 수도 있다. 디스플레이(440)가 터치 스크린으로 구성되는 경우, 복수의 터치 센서들은, 디스플레이(440) 위에 배치되거나, 디스플레이(440) 아래에 배치될 수 있다.The display 440 may output content, data, or signals. In various embodiments, the display 440 may display image data processed by the processor 410 . According to embodiments, the display 440 may be configured as an integrated touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving a touch input. When the display 440 is configured as a touch screen, a plurality of touch sensors may be disposed above the display 440 or below the display 440 .
일 실시예에 따른 서버(예: 컨트롤러)는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 서버에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다.A server (eg, controller) according to an embodiment may include a processor 410 , a memory 420 , and a communication circuit 430 . The processor 410, memory 420, and communication circuit 430 included in the server may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
일 실시예에 따른 게이트웨이(예: 도 2의 게이트웨이(203))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 게이트웨이에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다. A gateway (eg, the gateway 203 of FIG. 2 ) according to an embodiment may include a processor 410 , a memory 420 , and a communication circuit 430 . The processor 410, memory 420, and communication circuit 430 included in the gateway may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
도 5a 및 도 5b는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.5A and 5B illustrate an operation of controlling transmission of a data packet 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 request for network access to the service server 205 from the first target application 212 included in the authentication node 201, and the authentication node 201 or the connection It is possible to determine 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 transmission of data packets in a kernel or network driver including an operating system. can Through the access control application 211, the authentication node 201 may block access of malicious applications in advance in 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 a data packet to be transmitted is a data packet to be transmitted based on a channel but the corresponding channel does not exist, access control Data packets transmitted from the application 211 are blocked by the gateway 203 and the access control application 211 can only request access 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 if a malicious application bypasses the control of the access control application 211, unauthorized data packets will be transmitted from the authentication node 201. can In this case, since the gateway 203 existing at the boundary of the network blocks data packets for which the corresponding channel does not exist, the data packets transmitted from the authentication node 201 (eg, data packets for TCP session creation) are sent to the service server. (205) may not be reached. In other words, the authentication node 201 can 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 unauthorized node 206 in which an access control application is not installed, the second target application 216 may provide a structure capable of always accessing the service server 205 through an existing network path. there is. For example, the service server 205 provides a separate network structure capable of processing a service request for an unauthorized node 206 rather than the gateway 203 so that the service server 205 must pass through the gateway 203. It can solve the problem of the inline structure incurring cost because the service must be processed.
도 6은 다양한 실시예들에 따른 게이트웨이의 예시를 도시한다. 6 shows an example of a gateway according to various embodiments.
도 6을 참조하면, 본 문서에 개시된 일 실시예에 따른 게이트웨이(203)는 데이터 패킷 필터링 모듈(213), 터널링 모듈(223) 및 프록시 모듈(233)을 포함할 수 있다. 실시예에 따르면, 게이트웨이(203)는 데이터 패킷 필터링 모듈(213), 터널링 모듈(223) 및 프록시 모듈(233)을 모두 포함해야하는 것은 아니고, 데이터 패킷 필터링 모듈(213), 터널링 모듈(223) 및 프록시 모듈(233) 중 적어도 어느 하나를 포함할 수 있다. Referring to FIG. 6 , a gateway 203 according to an embodiment disclosed in this document may include a data packet filtering module 213 , a tunneling module 223 and a proxy module 233 . According to the embodiment, the gateway 203 does not have to include all of the data packet filtering module 213, the tunneling module 223 and the proxy module 233, but the data packet filtering module 213, the tunneling module 223 and At least one of the proxy modules 233 may be included.
데이터 패킷 필터링 모듈(213)은 수신되는 데이터 패킷을 컨트롤러(예: 도 2의 컨트롤러(202))로부터 수신된 서비스 필터링 정책에 기반하여 필터링할 수 있다. The data packet filtering module 213 may filter received data packets based on a service filtering policy received from a controller (eg, the controller 202 of FIG. 2 ).
터널링 모듈(223)은 터널링을 통해 수신되는 데이터 패킷을 검사할 수 있다. 예를 들어, 터널링 모듈(223)은 수신되는 데이터 패킷이 대응되는 인가된 터널을 통해 수신되었는지 여부를 확인할 수 있다. 실시예에 따르면, 터널링 모듈(223)은 데이터 패킷이 인가된 터널을 통해 수신되었는지 여부만 확인하는 것이 아니고, 터널 또는 세션을 포함한 인가된 채널을 통해 수신되었는지 여부를 확인할 수 있다. The tunneling module 223 may inspect data packets received through tunneling. For example, the tunneling module 223 may check whether a received data packet is received through a corresponding authorized tunnel. According to an embodiment, the tunneling module 223 may check whether a data packet is received through an authorized channel including a tunnel or a session, not only whether or not it is received through an authorized tunnel.
실시예에 따르면, 데이터 패킷이 게이트웨이(203)의 데이터 패킷 처리, 터널링 등 OSI 7 계층 상에서 네트워크 계층 및 전송 계층에 존재하는 각 모듈(예: 데이터 패킷 필터링 모듈(213) 또는 터널링 모듈(223))은 인가된 대상으로부터 전송한 데이터 패킷인지 여부를 확인하는 경우, 서비스 처리 정책에 따라 프록시 모듈(233)이 인가된 대상을 식별할 수 있도록 데이터 플로우 식별 정보를 서비스 처리 요청 정보에 삽입하거나, 프록시 모듈(233)이 해당 대상을 식별할 수 있도록 하는 정보를 모듈간 통신 등의 방법을 통해서 전달한다.According to the embodiment, each module (eg, data packet filtering module 213 or tunneling module 223) in which data packets exist in the network layer and transport layer on the OSI 7 layer, such as data packet processing of the gateway 203 and tunneling, etc. When checking whether a data packet is transmitted from an authorized target, the data flow identification information is inserted into the service processing request information so that the proxy module 233 can identify the authorized target according to the service processing policy, or the proxy module (233) transmits the information that allows the object to be identified through a method such as inter-module communication.
데이터 패킷 필터링 모듈(213) 또는 터널링 모듈(223)을 통해 데이터 패킷을 수신하는 경우, 프록시 모듈(233)은 데이터 플로우 테이블에 기반하여 접속 대상 및 해당 접속 대상이 요청하는 서비스 애플리케이션을 식별할 수 있다. 프록시 모듈(233)은 데이터 플로우에 포함된 인증 정보에 기반하여 서비스 애플리케이션의 프로토콜의 적합한 부분(예: HTTP의 경우 Header 영역)에 서비스 서버에서 서비스 요청 대상을 식별할 수 있는 데이터 플로우 헤더 정보를 삽입하여 서비스 서버로 전송할 수 있다. 또한, 프록시 모듈(233)은 서비스 요청에 대한 서비스 서버의 응답을 노드에게 전송할 수 있다. 실시예에 따르면, 데이터 플로우 헤더는 대상 애플리케이션(예: 도 2의 제1 타겟 애플리케이션(212))과 게이트웨이(203), 서비스 서버(예: 도 2의 서비스 서버(205))간의 데이터 패킷 흐름에서 컨트롤러(예: 도 2의 컨트롤러(202))로부터 수신된 데이터 플로우를 기반으로, 서비스 서버가 인증된 데이터 패킷인지 여부를 확인할 수 있도록 게이트웨이에서 삽입하는 정보일 수 있다. When a data packet is received through the data packet filtering module 213 or the tunneling module 223, the proxy module 233 may identify a connection target and a service application requested by the connection target based on the data flow table. . The proxy module 233 inserts data flow header information that can identify the service request target in the service server to an appropriate part of the protocol of the service application (eg, header area in the case of HTTP) based on authentication information included in the data flow. and transmit it to the service server. Also, the proxy module 233 may transmit a response of the service server to the service request to the node. According to the embodiment, the data flow header is a data packet flow between a target application (eg, the first target application 212 of FIG. 2), the gateway 203, and a service server (eg, the service server 205 of FIG. 2). Based on the data flow received from the controller (eg, the controller 202 of FIG. 2 ), it may be information inserted by the gateway so that the service server can check whether or not it is an authenticated data packet.
실시예에 따르면 데이터 플로우 헤더는 데이터 플로우 식별 정보와 암호화된 인증 정보가 결합되어 구성될 수 있다. 예를 들어, 서비스 요청 처리시 서비스 서버는 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보에 기반하여 컨트롤러에 질의하여 인증된 대상이 접속하였는지 여부를 확인할 수 있고, 컨트롤러가 저장하고 있는 인증된 대상에 대한 부가적인 정보를 수신하여 인증 처리할 수 있다. 다른 예를 들어, 데이터 플로우 헤더에 포함된 암호화된 인증 정보는 인증된 게이트웨이(203)가 서비스 포워딩하였는지 여부를 확인하기 위한 목적으로 사용될 수 있다. According to an embodiment, the data flow header may be configured by combining data flow identification information and encrypted authentication information. For example, when processing a service request, the service server can query the controller based on the data flow identification information included in the data flow header to check whether the authenticated target has accessed or not, and can determine whether the authenticated target stored in the controller Authentication may be performed by receiving additional information. For another example, the encrypted authentication information included in the data flow header may be used for the purpose of confirming whether the authenticated gateway 203 has performed service forwarding.
실시예에 따르면, 암호화된 인증 정보는 컨트롤러로부터 수신된 데이터 플로우의 인증 정보에 포함된 인증 정보 암호화 또는 복호화 키에 기반하여, 인증된 대상만 암호화된 인증 정보를 복호화할 수 있다. According to the embodiment, based on the authentication information encryption or decryption key included in the authentication information of the data flow received from the controller, only the authenticated object can decrypt the encrypted authentication information.
실시예에 따르면, 복호화된 인증 정보는 데이터 플로우 식별 정보와 같이 매 데이터 패킷 인증 시점마다 고정되어있는 값이 아닐 수 있고, 인증 시점마다 변경되는 OTP(One-Time Password) 및 Random Generation 형태의 정보로 구성될 수 있다. 예를 들어, 게이트웨이(203)는 데이터 플로우의 인증 정보에 포함된 OTP 생성 및 검증을 위한 정보에 기반하여 매 서비스 요청 포워딩 시점마다 변경되는 OTP 정보를 생성하고, 생성된 OTP 값을 암호화하여 데이터 플로우 식별 정보를 삽입한 데이터 플로우 헤더 정보를 포함하는 서비스 처리 요청 정보를 서비스 서버로 포워딩함으로서, 서비스 서버가 인증된 게이트웨이(203)로부터 서비스 요청을 수신 및 검증할 수 있는 구조를 제공할 수 있다. According to the embodiment, the decrypted authentication information may not be a fixed value at every data packet authentication time, such as data flow identification information, and may be OTP (One-Time Password) and Random Generation type information that changes at every authentication time. can be configured. For example, the gateway 203 generates OTP information that is changed at every service request forwarding point based on information for OTP generation and verification included in the authentication information of the data flow, and encrypts the generated OTP value to improve the data flow By forwarding service processing request information including data flow header information into which identification information is inserted to the service server, a structure for the service server to receive and verify the service request from the authenticated gateway 203 may be provided.
도 7은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. 7 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 access or receive the network, the access control application 211 of the node 201 requests the controller 202 to create a control flow, thereby 201) can try to connect to the controller. According to an embodiment, node 201 may be substantially the same as authentication node 201 of FIG. 2 in which access control application 211 is installed.
도 7을 참조하면, 노드(201)는 컨트롤러 접속 이벤트를 감지할 수 있다. 예를 들어, 노드(201) 내에서 접속 제어 애플리케이션(211)이 설치 및 실행되면, 노드(201)는 컨트롤러(202)에 대한 접속이 요청됨을 감지할 수 있다. Referring to FIG. 7 , node 201 may detect a controller connection event. For example, when the connection 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)가 속하는 네트워크의 식별 정보, 및/또는 네트워크 시스템에 의하여 자체적으로 생성된 임의의 식별 정보를 더 전송할 수 있다. At operation 705 , node 201 may request controller connection from 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 (eg, terminal ID, IP address, MAC address), type, location, environment, identification information of the network to which the node 201 belongs, and/or network Arbitrary 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 or not the controller connection request (eg, the access control application 211 or the node 201) is accessible. According to one embodiment, the controller 202 determines whether information received from the node 201 is included in the access policy database 311, the node 201, the network to which the node 201 belongs, and/or the connection. Based on at least one of whether the identification information of the control application 211 is included in the blacklist database 314 , it is possible to check whether the controller connection requesting object is accessible.
접속 가능하다면, 동작 715에서, 컨트롤러(202)는 노드(201)(또는 접속 제어 애플리케이션(211))와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 노드(201), 노드(201)가 속한 네트워크, 또는 접속 제어 애플리케이션(211) 중 적어도 하나의 식별 정보를 제어 플로우 테이블(315)에 저장할 수 있다. 제어 플로우 테이블(315)에 저장된 정보는 노드(201)의 사용자 인증, 노드(201)의 정보 업데이트, 노드(201)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다. If the connection is possible, 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 random numbers, and converts identification information of at least one of the node 201, the network to which the node 201 belongs, or the access control application 211 into a control flow table ( 315) can be stored. Information stored in the control flow table 315 may be used for user authentication of the node 201 , information update of the node 201 , policy check for network access of the node 201 , and/or validation.
동작 720에서, 컨트롤러(202)는 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 채널 정책 데이터 베이스(312)에서 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 725에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다. In operation 720, the controller 202 connects from the access policy database 311 and the channel policy database 312 corresponding to the identified information (eg, the node 201 and source network information to which the node 201 belongs). Whitelist information of possible applications can be created. In one embodiment, the controller 202 may send the application white list to the connection control application 211 at operation 725 .
동작 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 access is unavailable or is included in the blacklist, the controller 202 may transmit access unavailability information in operation 725 without generating a control flow. In one embodiment, the controller 202 may transmit the application white list generated through the execution of operation 720 to the connection control application 211 .
동작 730에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션의 경우 유효성 검사 정책에 따라서 무결성 및 안정성 여부 검사(애플리케이션 위, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사)를 수행할 수 있다. At operation 730, the access control application 211 may perform a check on the application. For example, the access control application 211 can perform a check for applications based on the white list of accessible applications received from the controller 202 . The access control application 211 may check whether the application exists (installed) in the node 201 based on the accessible application information, and in the case of the existing application, integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, fingerprint inspection) can be performed.
동작 735에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 애플리케이션 검사 결과를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 존재하는 애플리케이션의 정보 및 유효성 검사의 결과를 컨트롤러(202)에게 전송할 수 있다.At operation 735 , the access control application 211 may send the application check result to the controller 202 . For example, the access control application 211 may transmit information about existing applications and results of validation to the controller 202 .
동작 740에서, 컨트롤러(202)는 수신된 애플리케이션 정보를 기반으로 애플리케이션이 유효한지 여부를 검사할 수 있다. 유효한 애플리케이션인 경우, 컨트롤러(202)는 네트워크에 연결된 노드(201)의 접속을 허용하기 위해 접속 정책 데이터 베이스(311) 및 인증 정책 데이터 베이스(317)에서 노드(201)가 위치한 게이트웨이(203)를 확인할 수 있다. 또한 컨트롤러(202)는 노드(201)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 데이터 플로우를 생성할 수 있다. 실시예에 따르면, 데이터 플로우는 서비스 애플리케이션의 프로토콜의 인증 정보를 삽입하는 방식(예: HTTP의 경우 HTTP 헤더 삽입 등), 인증 정보 암호화 또는 복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보)를 포함하는 인증 정보를 포함할 수 있다. 또한, 실시예에 따르면, 데이터 플로우는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(205)의 네트워크 경계 사이에 존재하는 게이트웨이(203)가 서비스 요청에 대하여 허용된 서비스 요청 경로 또는 허가되지 않은 서비스 요청 경로(예: HTTP 프로토콜 또는 FTP 프로토콜 상에서의 URI 정보, Web API 실행 요청 경로) 및 전송하면 안되는 데이터(예: HTTP 공격을 위한 Cross Site Scripting, SQL Injection 정보, 개인 정보 등)에 대한 필터링 정보를 포함할 수 있다.In operation 740, the controller 202 may check whether the application is valid based on the received application information. If it is a valid application, the controller 202 selects the gateway 203 where the node 201 is located in the access policy database 311 and the authentication policy database 317 to allow access of the node 201 connected to the network. You can check. In addition, the controller 202 may generate a data flow based on source IP, destination IP, and port information so that the node 201 can transmit data packets without a network access request procedure. According to the embodiment, the data flow includes a method of inserting authentication information of a service application protocol (eg, HTTP header insertion in case of HTTP), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and It may include authentication information including a series of information included in the algorithm (e.g. information such as secret key when generating HMAC OTP). In addition, according to the embodiment, the data flow is such that the gateway 203, which exists between the network boundaries of the service server 205 on the connection path according to the policy, provides a permitted service request path or an unlicensed service for a service request. Filtering information for request paths (e.g. HTTP protocol or FTP protocol URI information, web API execution request path) and data that should not be transmitted (e.g. Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.) can include
컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203) 및 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 745, 750).The controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 (operations 745 and 750).
동작 755에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 컨트롤러 접속이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 컨트롤러 접속이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 755, the access control application 211 may process the resulting 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 indicating completion of the controller connection to the user. When the controller connection is completed, the request for network connection of the node 201 to the destination network may be controlled by the controller 202 .
다른 실시예에 따라, 컨트롤러(202)는 노드(201)가 접속 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(201)가 접속 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 715에서 제어 플로우를 생성하지 않고, 동작 725에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 730 내지 동작 750은 수행되지 않을 수 있다. 실시예에 따라서, 컨트롤러 접속의 재시도가 필요로 한 경우 접속 제어 애플리케이션(211)은 다시 동작 705를 수행할 수 있다. According to another embodiment, controller 202 may determine that node 201 is unreachable. For example, if identification information of the node 201 and/or a network to which the node 201 belongs is included in a blacklist database, the controller 202 may determine that the node 201 is inaccessible. In this case, the controller 202 may transmit a response indicating that access to the controller is impossible in operation 725 without generating a control flow in operation 715 . Also, in this case, operations 730 to 750 may not be performed. Depending on the embodiment, if a controller connection needs to be retried, the connection control application 211 may perform operation 705 again.
또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. 이후 데이터 패킷 전송 요청이 감지되는 경우, 접속 제어 애플리케이션(211)은 수신된 데이터 플로우에 포함되는 인증에 관한 정보에 기반하여 전송하고자하는 데이터 패킷을 처리할 수 있다. In addition, the access control application 211 updates the data flow of the node 201 when the data flow received from the controller 202 exists, and transmits the data packet based on the data flow allowed in advance when accessing the network. data flow can be managed. Afterwards, when a data packet transmission request is detected, the access control application 211 may process the data packet to be transmitted based on authentication information included in the received data flow.
실시예에 따르면 애플리케이션의 검사가 필요하지 않은 것으로 판단된 경우 동작 730 내지 동작 750은 수행되지 않을 수 있다. According to an embodiment, when it is determined that the application does not need to be inspected, operations 730 to 750 may not be performed.
도 8은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.8 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 authenticate the user of the node 201 from the controller 202 . According to an embodiment, node 201 may be substantially the same as authentication node 201 of FIG. 2 in which access control application 211 is installed.
도 8을 참조하면, 노드(201)는 사용자 인증을 위한 입력을 수신할 수 있다. 사용자 인증을 위한 입력은 예를 들어, 사용자 ID 및 비밀번호를 입력하는 사용자 입력일 수 있다. 다른 예를 들어, 사용자 인증을 위한 입력은 보다 강화된 인증을 위한 사용자 입력(예: 생체 정보)일 수 있다. 이 경우, 동작 805에서 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 사용자 인증을 요청할 수 있다. 노드(201)와 컨트롤러(202) 간 제어 플로우가 이미 생성된 상태이면, 접속 제어 애플리케이션(211)은 사용자 인증을 위한 입력 정보를 제어 플로우 식별 정보와 함께 전송할 수 있다.Referring to FIG. 8 , node 201 may receive an input for user authentication. An input for user authentication may be, for example, a user input for inputting a user ID and password. For another example, the input for user authentication may be a user input (eg, biometric information) for stronger authentication. In this case, the access control application 211 of the node 201 may request user authentication from the controller 202 in operation 805 . If the 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 together 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 the information received from node 201 . For example, the controller 202 may use the user ID, password, and/or enhanced authentication information included in the received information and a database included in the memory of the controller 202 (e.g., the access policy database of FIG. 3). 311 or the blacklist database 314), it is possible to determine 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, in operation 815, the controller 202 may add user identification information (eg, user ID) to identification information of the control flow. The added user identification information can be used for the authenticated user's controller access or network access.
컨트롤러(202)는 동작 820에서 접속 정책 데이터 베이스(311) 또는 채널 정책 데이터 베이스(312)에 기반하여 접속 가능한 애플리케이션 정보를 생성할 수 있다. 예를 들어, 접속 가능한 애플리케이션 정보는 접속 정책을 기초로 생성된 애플리케이션 화이트리스트일 수 있다. The controller 202 may generate accessible application information based on the access policy database 311 or the channel policy database 312 in operation 820 . For example, the accessible application information may be an application whitelist generated based on an access policy.
동작 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. In addition, the controller 202 may transmit accessible application information to the access control application 211 .
동작 830에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션의 경우 유효성 검사 정책에 따라서 무결성 및 안정성 여부 검사(애플리케이션 위, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사)를 수행할 수 있다. At operation 830, the access control application 211 may perform a check on the application. For example, the access control application 211 can perform a check for applications based on the white list of accessible applications received from the controller 202 . The access control application 211 may check whether the application exists (installed) in the node 201 based on the accessible application information, and in the case of the existing application, integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, fingerprint inspection) can be performed.
동작 835에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 애플리케이션 검사 결과를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 존재하는 애플리케이션의 정보 및 유효성 검사의 결과를 컨트롤러(202)에게 전송할 수 있다.At operation 835 , 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 about existing applications and results of validation to the controller 202 .
동작 840에서, 컨트롤러(202)는 수신된 애플리케이션 정보를 기반으로 애플리케이션이 유효한지 여부를 검사할 수 있다. 유효한 애플리케이션인 경우, 컨트롤러(202)는 네트워크에 연결된 노드(201)의 접속을 허용하기 위해 접속 정책 데이터 베이스(311) 및 인증 정책 데이터 베이스(317)에서 노드(201)가 위치한 게이트웨이(203)를 확인할 수 있다. 또한 컨트롤러(202)는 노드(201)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 데이터 플로우를 생성할 수 있다. 실시예에 따르면, 데이터 플로우는 서비스 애플리케이션의 프로토콜의 인증 정보를 삽입하는 방식(예: HTTP의 경우 HTTP 헤더 삽입 등), 인증 정보 암호화 또는 복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보)를 포함하는 인증 정보를 포함할 수 있다. 또한, 실시예에 따르면, 데이터 플로우는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(205)의 네트워크 경계 사이에 존재하는 게이트웨이(203)가 서비스 요청에 대하여 허용된 서비스 요청 경로 또는 허가되지 않은 서비스 요청 경로(예: HTTP 프로토콜 또는 FTP 프로토콜 상에서의 URI 정보, Web API 실행 요청 경로) 및 전송하면 안되는 데이터(예: HTTP 공격을 위한 Cross Site Scripting, SQL Injection 정보, 개인 정보 등)에 대한 필터링 정보를 포함할 수 있다.In operation 840, the controller 202 may check whether the application is valid based on the received application information. If it is a valid application, the controller 202 selects the gateway 203 where the node 201 is located in the access policy database 311 and the authentication policy database 317 to allow access of the node 201 connected to the network. You can check. In addition, the controller 202 may generate a data flow based on source IP, destination IP, and port information so that the node 201 can transmit data packets without a network access request procedure. According to the embodiment, the data flow includes a method of inserting authentication information of a service application protocol (eg, HTTP header insertion in case of HTTP), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and It may include authentication information including a series of information included in the algorithm (eg, information such as Secret Key when generating HMAC OTP). In addition, according to the embodiment, the data flow is such that the gateway 203, which exists between the network boundaries of the service server 205 on the connection path according to the policy, determines the permitted service request path or the unauthorized service for the service request. Filtering information on the request path (e.g. HTTP protocol or FTP protocol URI information, web API execution request path) and data that should not be transmitted (e.g. Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.) can include
컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203) 및 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 845, 850).The controller 202 may transmit the generated data flow to the gateway 203 and the access control application 211 (operations 845 and 850).
동작 855에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 사용자 인증이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 사용자 인증이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 855, the access control application 211 may process the resulting 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 indicating completion of user authentication to the user. When user authentication is complete, the request for network access of the node 201 to the destination network may be controlled by the controller 202 .
다른 실시예에 따르면, 컨트롤러(202)는 노드(201)의 사용자 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(201)가 접속 불가능 및 사용자 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 815에서 사용자 식별 정보를 반영하지 않고, 동작 825에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 830 내지 동작 850은 수행되지 않을 수 있다. According to another embodiment, controller 202 may determine that user authentication of node 201 is not possible. For example, if 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 and user authentication is not possible. . In this case, the controller 202 may not reflect user identification information in operation 815 and may transmit a response indicating that access to the controller is impossible in operation 825 . Also, in this case, operations 830 to 850 may not be performed.
또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, the access control application 211 updates the data flow of the node 201 when the data flow received from the controller 202 exists, and transmits the data packet based on the data flow allowed in advance when accessing the network. data flow can be managed.
실시예에 따르면, 애플리케이션 검사가 필요하지 않은 경우 동작 830 내지 동작 850은 수행되지 않을 수 있다.According to an embodiment, operations 830 to 850 may not be performed when the application test is not required.
도 9는 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다. 9 illustrates a signal flow diagram for network access according to various embodiments.
노드(201)가 컨트롤러(202)로부터 인가된 이후에, 노드(201)는 노드(201)의 접속 제어 애플리케이션(211)을 통해 노드(201) 내에 저장된 다른 애플리케이션들의 네트워크 접속을 제어함으로서 신뢰된 데이터 전송을 보장할 수 있다. 실시예에 따르면, 노드(201)는 접속 제어 애플리케이션(211)이 설치된 도 2의 인증 노드(201)와 실질적으로 동일할 수 있다. After node 201 is authorized by controller 202, node 201 controls the network access of other applications stored in node 201 through node 201's access control application 211 to provide trusted data. delivery can be guaranteed. According to an embodiment, node 201 may be substantially the same as authentication node 201 of FIG. 2 in which 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 stored in the node 201 (eg, the first target application 212 of FIG. 2 ).
동작 910에서, 접속 제어 애플리케이션(211)은 네트워크 접속 요청한 애플리케이션의 식별 정보, 목적지 네트워크 식별 정보 및 포트 정보에 대응되는 데이터 플로우의 존재를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지만 유효하지 않은 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. 다른 실시예에 따라서, 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(211)은 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 실시예에 따르면 노드(201)의 접속 제어 애플리케이션(211)은 동작 910을 수행하지 않고 동작 915에서 네트워크 접속 요청을 수행할 수도 있다. In operation 910, the access control application 211 may check the existence of a data flow corresponding to 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, if a data flow exists, the access control application 211 may transmit a data packet based on the data flow. According to the embodiment, the access control application 211 of the node 201 may perform a network access 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 expires and renewal is required, in operation 915, the access control application 211 may request the controller 202 to access the network. For example, the network access request may include control flow identification information, destination network identification information, and port information.
동작 920에서, 컨트롤러(202)는 제어 플로우 식별 정보를 기반으로 식별된 정보(예: 노드, 사용자, 출발지 네트워크 식별 정보)와 대응되는 접속 정책에서, 접속 요청한 식별 정보(예: 목적지 네트워크의 식별 정보 및 포트 정보)의 포함 여부 및 목적지 네트워크의 접속 가능 여부를 확인할 수 있다. 실시예에 따르면, 컨트롤러(202)는 타겟 애플리케이션이 게이트웨이(203) 또는 서비스 서버(205)에 접속 가능한지 여부를 확인할 수 있다. 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 불가능한 경우 노드(201)의 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다(동작 935).In operation 920, the controller 202 determines the access requested identification information (eg, destination network identification information) in the access policy corresponding to the identified information (eg, node, user, source network identification information) based on the control flow identification information. and port information) and whether the destination network is accessible can be checked. According to an embodiment, the controller 202 may check whether the target application can access 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 access is impossible (operation 935).
접속 가능한 경우, 동작 925에서, 컨트롤러(202)는 채널 정책 및 인증 정책에 기반하여 노드(201)와 게이트웨이(203) 간의 채널 생성이 가능한지 여부 및 데이터 패킷 인증 필요 여부, 인증 방식을 확인할 수 있다. If access is possible, in operation 925, the controller 202 may check whether a channel between the node 201 and the gateway 203 can be created, whether data packet authentication is required, and an authentication method based on the channel policy and the authentication policy.
컨트롤러(202)는 채널 정책에 기반하여 해당 네트워크에 접속하기 위하여 노드(201)와 게이트웨이(203) 사이에 생성해야 할 터널링, 세션 등의 채널 생성이 가능한지 여부를 확인할 수 있다. 예를 들어, 채널 생성이 가능하지만, 데이터 플로우 테이블에 접속 가능한 채널 정보 또는 유효한 데이터 플로우 정보가 존재하지 않는 경우, 해당 애플리케이션이 게이트웨이(203) 또는 서비스 서버(205)와 채널을 생성할 수 있도록 채널 생성 정보를 포함하는 데이터 플로우를 생성할 수 있다. 실시예에 따르면, 채널 생성이 필요하지 않은 경우, 컨트롤러(202)는 채널 생성 정보를 포함하는 데이터 플로우를 생성하지 않을 수 있다. Based on the channel policy, the controller 202 may check whether a channel such as tunneling or session to be created between the node 201 and the gateway 203 can be created in order to access the corresponding network. For example, if a channel can be created, but accessible channel information or valid data flow information does not exist in the data flow table, the channel A data flow including creation information may be created. According to an embodiment, when channel creation is not required, the controller 202 may not generate a data flow including channel creation information.
컨트롤러(202)는 데이터 플로우 테이블에서 목적지 네트워크의 식별 정보 및 포트 정보에 대응되는 유효한 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우 테이블에 유효한 데이터 플로우가 존재하는 경우 컨트롤러(202)는 해당 데이터 플로우를 게이트웨이(203) 및 접속 제어 애플리케이션에게 전송할 수 있다(동작 930, 동작 935). 다른 실시예에 따르면, 유효한 데이터 플로우가 존재하지 않는 경우, 컨트롤러(202)는 출발지 IP, 도착지 IP, 포트 정보, 인증 정책 및 서비스 필터링 정책에 기반하여 데이터 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203) 및 접속 제어 애플리케이션에게 전송할 수 있다(동작 930, 동작 935). 실시예에 따르면, 데이터 플로우는 서비스 애플리케이션의 프로토콜의 인증 정보를 삽입하는 방식(예: HTTP의 경우 HTTP 헤더 삽입 등), 인증 정보 암호화 또는 복호화를 위한 정보, 인증 정보 생성 및 검증을 위한 알고리즘 정보 및 알고리즘에 포함되는 일련의 정보(예: HMAC OTP 생성시 Secret Key 등의 정보)를 포함하는 인증 정보를 포함할 수 있다. 또한, 실시예에 따르면, 데이터 플로우는 정책에 따라 접속(connection) 경로 상에서 서비스 서버(205)의 네트워크 경계 사이에 존재하는 게이트웨이(203)가 서비스 요청에 대하여 허용된 서비스 요청 경로 또는 허가되지 않은 서비스 요청 경로(예: HTTP 프로토콜 또는 FTP 프로토콜 상에서의 URI 정보, Web API 실행 요청 경로) 및 전송하면 안되는 데이터(예: HTTP 공격을 위한 Cross Site Scripting, SQL Injection 정보, 개인 정보 등)에 대한 필터링 정보를 포함할 수 있다. 다른 실시예에 따르면, 네트워크 접속이 불가능하거나 노드(201)와 게이트웨이(203) 사이의 인증이 불가능한 경우 및 필터링 대상인 경우, 컨트롤러(202)는 동작 935에서, 접속 제어 애플리케이션에게 네트워크 접속 불가 결과를 전송할 수 있다. The controller 202 may 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 (operations 930 and 935). According to another embodiment, when a valid data flow does not exist, the controller 202 may create a data flow based on source IP, destination IP, port information, authentication policy, and service filtering policy. In this case, the controller 202 may transmit the generated data flow to the gateway 203 and the access control application (operations 930 and 935). According to the embodiment, the data flow includes a method of inserting authentication information of a service application protocol (eg, HTTP header insertion in case of HTTP), information for encrypting or decrypting authentication information, algorithm information for generating and verifying authentication information, and It may include authentication information including a series of information included in the algorithm (eg, information such as Secret Key when generating HMAC OTP). In addition, according to the embodiment, the data flow is such that the gateway 203, which exists between the network boundaries of the service server 205 on the connection path according to the policy, determines the permitted service request path or the unauthorized service for the service request. Filtering information on the request path (e.g. HTTP protocol or FTP protocol URI information, web API execution request path) and data that should not be transmitted (e.g. Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.) can include According to another embodiment, when network access is impossible or when authentication between the node 201 and the gateway 203 is impossible and subject to filtering, the controller 202 transmits a network access failure result to the access control application in operation 935. can
동작 940에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 불가 결과를 수신한 경우, 타겟 애플리케이션이 전송하고자 하는 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 데이터 플로우가 수신되고 채널 생성이 필요하지 않은 경우, 수신된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. At operation 940 , the connection control application 211 of the node 201 may process the resulting value of the response received from the controller 202 . For example, when the connection control application 211 receives a network connection failure result from the controller 202, it may drop a data packet to be transmitted by the target application. For another example, when a data flow is received from the controller 202 and channel creation is not required, the access control application 211 may transmit a data packet based on the received data flow.
실시예에 따르면, 접속 제어 애플리케이션(211)은 채널 생성 정보가 포함된 데이터 플로우를 수신하고, 채널 생성이 필요한 경우 게이트웨이(203)와 채널을 생성할 수 있다(동작 945). 예를 들어, 채널 생성이 완료된 경우 접속 제어 애플리케이션(211)은 생성된 채널에 기반하여 데이터 패킷을 전송할 수 있다. 다른 예를 들어, 채널 생성이 실패한 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. According to the embodiment, the access control application 211 may receive a data flow including channel creation information and create a channel with the gateway 203 if channel creation is necessary (operation 945). For example, when channel creation is complete, the access control application 211 may transmit a data packet based on the created channel. For another example, if channel creation fails, the access control application 211 may drop the data packet.
일 실시예에서, 동작 910을 수행한 후 접속 제어 애플리케이션(211)은 유효성 검사 정책에 따라서 접속 애플리케이션에 대한 유효성 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 애플리케이션의 무결성 및 안정성 여부 검사(애플리케이션 위조, 변조 여부 검사, 코드 사이닝 검사 및 핑거 프린트 검사 등)를 더 수행할 수 있다. 접속 제어 애플리케이션(211)은 유효성 검사 결과가 성공인 경우 동작 915를 수행할 수 있다.In one embodiment, after performing operation 910, the access control application 211 may perform validation on the access application according to the validation policy. For example, the access control application 211 may further perform an integrity and stability test of the access application (forgery or tampering test, code signing test, fingerprint test, etc.). The access control application 211 may perform operation 915 when the validation result is successful.
도 10은 다양한 실시예들에 따른 게이트웨이에서 서비스 요청을 처리하기 위한 동작 흐름도를 도시한다. 실시예에 따라서, 도 10에 도시된 동작들은 도 2의 게이트웨이(203)를 통해 수행될 수 있다. 10 illustrates an operational flow diagram for processing a service request at a gateway according to various embodiments. Depending on the embodiment, the operations shown in FIG. 10 may be performed through the gateway 203 of FIG. 2 .
동작 1005에서, 게이트웨이(203)는 데이터 패킷 수신 이벤트를 감지할 수 있다. 예를 들어, 게이트웨이(203)는 노드(예: 도 2의 인증 노드(201))로부터 데이터 패킷을 수신할 수 있다. At operation 1005, gateway 203 may detect a data packet reception event. For example, gateway 203 may receive a data packet from a node (eg, authentication node 201 of FIG. 2).
동작 1010에서, 게이트웨이(203)는 수신된 데이터 패킷을 전송한 대상이 인가된 대상인지 여부를 확인할 수 있다. 예를 들어, 게이트웨이(203)에 포함된 각각의 모듈(예: 필터링 모듈, 터널링 모듈, 채널링 모듈, 프록시 모듈 등)은 데이터 패킷을 전송한 대상이 인가된 대상인지 여부를 확인할 수 있다. 실시예에 따라서, 데이터 패킷을 전송한 대상이 인가된 대상이 아닌 경우, 게이트웨이(203)는 수신된 데이터 패킷을 드랍할 수 있다. In operation 1010, the gateway 203 may check whether or not the target transmitting the received data packet is an authorized target. For example, each module (eg, a filtering module, a tunneling module, a channeling module, a proxy module, etc.) included in the gateway 203 may check whether a target to which the data packet is transmitted is an authorized target. Depending on the embodiment, if the target to which the data packet is transmitted is not an authorized target, the gateway 203 may drop the received data packet.
데이터 패킷을 전송한 대상이 인가된 대상인 경우, 동작 1020에서, 게이트웨이(203)는 데이터 패킷을 수신 처리할 수 있다. 예를 들어, 게이트웨이(203)는 수신된 데이터 패킷에 포함된 서비스 처리 요청 정보에 기반하여 서비스 서버(예: 도 2의 서비스 서버(205))에 대하여 서비스 처리를 요청하거나 또는 서비스 요청이 불가능 하다는 결과를 반환할 수 있다. If the target to which the data packet is transmitted is an authorized target, in operation 1020, the gateway 203 may receive and process the data packet. For example, the gateway 203 requests service processing to a service server (e.g., the service server 205 of FIG. 2) based on the service processing request information included in the received data packet, or requests that the service request is impossible. results can be returned.
동작 1025에서, 게이트웨이(203)는 데이터 플로우를 검사할 수 있다. 예를 들어, 게이트웨이(203)는 서비스 처리 요청 정보에 포함된 출발지 IP, 도착지 IP 및 포트 정보, 프로토콜 정보 및 서비스 처리 요청 정보에 포함된 세션 식별 정보, 데이터 플로우 식별 정보 및 타 모듈로부터 수신된 부가 식별 정보 중 적어도 어느 하나를 통해서 데이터 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지 않지만 서비스 처리 요청을 포워딩하는 것이 필요한 경우, 게이트웨이(203)는 서비스 처리 정책에 따라서 지정된 경로로 서비스 처리 요청을 포워딩할 수 있다. 다른 실시예에 따라서, 데이터 플로우가 존재하지 않고, 서비스 처리 요청 실패 처리해야하는 경우, 게이트웨이(203)는 리다이렉션하기 위한 정보를 반환하거나, 서비스 요청 실패 정보를 반환할 수 있다. At operation 1025, gateway 203 may check the data flow. For example, the gateway 203 includes source IP, destination IP and port information included in service processing request information, session identification information included in protocol information and service processing request information, data flow identification information, and additional information received from other modules. It is possible to check whether a data flow exists through at least one of the identification information. Depending on the embodiment, when a data flow does not exist but it is necessary to forward a service processing request, the gateway 203 may forward the service processing request to a designated path according to a service processing policy. According to another embodiment, when a data flow does not exist and service processing request failure must be handled, the gateway 203 may return information for redirection or service request failure information.
데이터 플로우가 존재하는 경우, 동작 1040에서, 게이트웨이(203)는 서비스 처리 요청 정보를 검사할 수 있다. 예를 들어, 게이트웨이(203)는 데이터 플로우에 포함된 서비스 필터링 정보에 기반하여 서비스 처리 요청 정보를 검사할 수 있다. 실시예에 따라서, 서비스 처리 요청 정보에 접근할 수 없는 서비스 요청 경로(예: HTTP 프로토콜 또는 FTP 프로토콜 상에서의 URI 정보, Web API 실행 요청 경로 등)가 존재하는 경우 또는 인가된 서비스 요청 경로가 아닌 경우, 게이트웨이(203)는 서비스 처리 요청 실패 정보를 반환할 수 있다(동작 1055). 실시예에 따라서, 서비스 처리 요청 정보에 전송되면 안되는 데이터(예: HTTP 공격을 위한 Cross Site Scripting, SQL Injection 정보, 개인 정보 등)가 포함된 경우, 게이트웨이(203)는 서비스 처리 요청 실패 정보를 반환할 수 있다(동작 1055). If the data flow exists, in operation 1040, the gateway 203 may check the service processing request information. For example, the gateway 203 may check service processing request information based on service filtering information included in the data flow. Depending on the embodiment, if there is a service request path that cannot access service processing request information (eg, URI information on HTTP protocol or FTP protocol, Web API execution request path, etc.) or if it is not an authorized service request path , the gateway 203 may return service processing request failure information (operation 1055). Depending on the embodiment, if data that should not be transmitted is included in the service processing request information (eg, Cross Site Scripting for HTTP attacks, SQL Injection information, personal information, etc.), the gateway 203 returns service processing request failure information Yes (act 1055).
서비스 처리 요청 정보 검사가 성공한 경우, 동작 1045에서, 게이트웨이(203)는 데이터 플로우 헤더를 삽입할 수 있다. 예를 들어, 게이트웨이(203)는 데이터 플로우에 포함된 인증 정보에 기반하여, 인증 정보 생성 알고리즘 및 부가 정보를 추출할 수 있고, 추출된 인증 정보 생성 알고리즘 및 부가 정보에 기초하여 인증 정보를 생성할 수 있다. 또한, 게이트웨이(203)는 생성된 인증 정보를 데이터 플로우의 인증 정보에 포함된 암호화 알고리즘 및 암호화 키에 기반하여 암호화할 수 있다. 게이트웨이(203)는 암호화된 인증 정보 및 데이터 플로우 식별 정보를 결합한 데이터 플로우 헤더를 서비스 애플리케이션의 프로토콜 규격에 따라서 서비스 처리 요청 정보에 삽입할 수 있다. 실시예에 따라서, 게이트웨이(203)는 서비스 애플리케이션의 프로토콜 규격에 기반하여, 서비스 처리 요청 정보의 가장 적합한 위치에 데이터 플로우 헤더를 삽입할 수 있다. If the service processing request information check is successful, in operation 1045, the gateway 203 may insert a data flow header. For example, the gateway 203 may extract an authentication information generation algorithm and additional information based on authentication information included in the data flow, and generate authentication information based on the extracted authentication information generation algorithm and additional information. can In addition, the gateway 203 may encrypt the generated authentication information based on an encryption algorithm and an encryption key included in the authentication information of the data flow. The gateway 203 may insert a data flow header in which encrypted authentication information and data flow identification information are combined into service processing request information according to a protocol standard of a service application. Depending on the embodiment, the gateway 203 may insert a data flow header at the most suitable location of service processing request information based on the protocol standard of the service application.
데이터 플로우 헤더가 정상적으로 삽입된 경우, 동작 1050에서, 게이트웨이(203)는 데이터 플로우 헤더가 삽입된 서비스 처리 요청 정보를 데이터 플로우의 서비스 서버(예: 도 2의 서비스 서버(205)) 정보에 기반하여 포워딩할 수 있다. When the data flow header is normally inserted, in operation 1050, the gateway 203 converts the service processing request information into which the data flow header is inserted based on the service server (eg, service server 205 of FIG. 2) information of the data flow. Forwarding is possible.
실시예에 따라서, 동작 1025내지 동작 1055는 게이트웨이(203)에 포함된 프록시 모듈(예: 도 6의 프록시 모듈(233))을 통해 수행될 수 있다. Depending on embodiments, operations 1025 to 1055 may be performed through a proxy module included in the gateway 203 (eg, the proxy module 233 of FIG. 6 ).
도 11은 다양한 실시예들에 따른 서비스 서버에서 서비스 요청을 처리하기 위한 동작 흐름도를 도시한다. 11 illustrates an operational flow diagram for processing a service request in a service server according to various embodiments.
동작 1105에서, 서비스 서버(205)는 서비스 처리 요청 이벤트를 감지할 수 있다. 예를 들어, 서비스 서버(205)는 네트워크로부터 수신된 서비스 처리 요청을 수신 처리할 수 있다. In operation 1105, the service server 205 may detect a service processing request event. For example, the service server 205 may receive and process a service processing request received from a network.
동작 1110에서, 서비스 서버(205)는 수신된 서비스 처리 요청의 출발지 IP를 검사할 수 있다. 예를 들어, 서비스 서버(205)는 서비스 처리 요청에 포함된 출발지 IP가 인가된 게이트웨이의 IP인지 여부에 기반하여 서비스 처리 요청이 인가된 게이트웨이의 요청인지 확인할 수 있다. 다른 예를 들어, 서비스 서버(205)는 비인증 노드가 요청한 경우 및 인증된 노드의 요청을 게이트웨이(203)가 수신 및 포워딩하는 경우를 구분하기 위하여 서비스 처리 요청의 출발지 IP를 검사할 수 있다. 실시예에 따라서, 서비스 서버(205)는 서비스 처리 요청이 인가된 게이트웨이의 요청인 경우 인증된 노드의 요청인 것으로 처리할 수 있다. 실시예에 따라서, 서비스 서버(205)는 서비스 처리 요청이 인가된 게이트웨이의 요청이 아닌 경우 비인증 노드의 요청인 것으로 처리할 수 있다. In operation 1110, the service server 205 may check the source IP of the received service processing request. For example, the service server 205 may determine whether the service processing request is an authorized gateway based on whether a source IP included in the service processing request is an IP of an authorized gateway. For another example, the service server 205 may examine the source IP of the service processing request in order to distinguish between a case in which a non-authenticated node requests and a case in which the gateway 203 receives and forwards a request from an authenticated node. Depending on the embodiment, the service server 205 may process the service processing request as being a request from an authenticated node when it is a request from an authorized gateway. Depending on the embodiment, the service server 205 may process the service processing request as a request from an unauthorized node when it is not a request from an authorized gateway.
출발지 IP가 허용된(또는 인가된) 게이트웨이(203)에서 전송한 IP가 아닌 경우, 서비스 서버(205)는 비인증 노드가 전송한 서비스 처리 요청으로 간주하고 해당 보안 수준에 맞도록 서비스 처리 요청을 처리할 수 있다. 실시예에 따라서, 비인증 노드가 전송한 서비스 처리 요청에 인증된 사용자의 세션 정보가 포함된 경우, 서비스 서버(205)는 정책에 따라서 해당 사용자의 인증을 해제 처리할 수 있다.If the source IP is not the IP transmitted by the allowed (or authorized) gateway 203, the service server 205 regards it as a service processing request sent by an unauthorized node and processes the service processing request according to the corresponding security level. can do. Depending on the embodiment, when session information of an authenticated user is included in the service processing request transmitted by the non-authentication node, the service server 205 may de-authenticate the corresponding user according to a policy.
출발지 IP가 허용된(또는 인가된) 게이트웨이(203)에서 전송한 IP인 경우, 동작 1115에서, 서비스 서버(205)는 데이터 플로우 헤더를 검사할 수 있다. 예를 들어, 서비스 서버(205)는 서비스 처리 요청 정보에 데이터 플로우 헤더가 포함되어있는지 여부를 확인할 수 있다. 실시예에 따라서, 데이터 플로우 헤더가 서비스 처리 요청 정보에 포함되어있지 않은 경우, 서비스 서버(205)는 서비스 처리 요청 실패 정보를 반환할 수 있다. If the source IP is the IP transmitted by the allowed (or authorized) gateway 203, in operation 1115, the service server 205 may examine the data flow header. For example, the service server 205 may check whether a data flow header is included in service processing request information. Depending on the embodiment, when the data flow header is not included in the service processing request information, the service server 205 may return service processing request failure information.
데이터 플로우 헤더가 서비스 처리 요청 정보에 포함된 경우, 동작 1120에서, 서비스 서버(205)는 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보 및 데이터 플로우 인증 정보에 기반하여 컨트롤러(202)에게 데이터 플로우 인증 요청을 수행할 수 있다. 예를 들어, 데이터 플로우 인증 요청은 데이터 플로우 식별 정보 및 데이터 플로우 인증 정보를 포함할 수 있다. When the data flow header is included in the service processing request information, in operation 1120, the service server 205 requests the controller 202 to authenticate the data flow based on the data flow identification information and the data flow authentication information included in the data flow header. can be performed. For example, the data flow authentication request may include data flow identification information and data flow authentication information.
동작 1125에서, 컨트롤러(202)는 데이터 플로우 인증 검사를 수행할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 데이터 플로루 식별 정보로 데이터 플로우 테이블 내에 해당 데이터 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지 않는 경우 컨트롤러(202)는 데이터 플로우 인증 실패 정보를 서비스 서버(205)로 전송할 수 있다(동작 1130). At operation 1125, the controller 202 may perform a data flow authentication check. For example, the controller 202 may check whether a corresponding data flow exists in the data flow table using the received data flow identification information. Depending on the embodiment, if the data flow does not exist, the controller 202 may transmit data flow authentication failure information to the service server 205 (operation 1130).
데이터 플로우가 존재하는 경우, 컨트롤러(202)는 데이터 플로우 인증 정보 검사를 수행하기 위해 데이터 플로우의 인증 정보에 포함된 인증 정보 복호화 알고리즘 및 복호화 키에 기반하여 인증 정보를 복호화할 수 있다. 실시예에 따라서, 인증 정보 복호화에 실패한 경우, 컨트롤러(202)는 데이터 플로우 인증 실패 정보를 서비스 서버(205)로 전송할 수 있다(동작 1130). When the data flow exists, the controller 202 may decrypt the authentication information based on the authentication information decryption algorithm and the decryption key included in the authentication information of the data flow to perform the data flow authentication information check. Depending on the embodiment, if authentication information decryption fails, the controller 202 may transmit data flow authentication failure information to the service server 205 (operation 1130).
인증 정보 복호화에 성공한 경우, 컨트롤러(202)는 데이터 플로우의 인증 정보에 포함된 인증 정보 검사 알고리즘 또는 부가 정보에 기반하여 복호화된 인증 정보가 유효한지 여부를 확인할 수 있다. 실시예에 따라서, 인증 정보가 유효하지 않은 경우, 컨트롤러(202)는 데이터 플로우 인증 실패 정보를 서비스 서버(205)로 전송할 수 있다(동작 1130).If authentication information decryption is successful, the controller 202 may check whether the decrypted authentication information is valid based on an authentication information check algorithm or additional information included in the authentication information of the data flow. Depending on the embodiment, if the authentication information is invalid, the controller 202 may transmit data flow authentication failure information to the service server 205 (operation 1130).
인증 정보가 유효한 경우, 컨트롤러(202)는 애플리케이션 식별 정보, 도착지 IP 및 포트 정보와 데이터 플로우에 포함된 제어 플로우 정보에 기반하여 접속 정책에서 서비스 처리 요청한 노드 및 사용자, 애플리케이션 등의 서비스 요청 대상이, 서비스 서버(205)에 접속 가능한지 여부를 확인할 수 있다. 실시예에 따라서, 서비스 요청 대상이 서비스 서버(205)로 접속이 불가능한 경우, 컨트롤러(202)는 데이터 플로우 인증 실패 정보를 서비스 서버(205)로 전송할 수 있다(동작 1130). If the authentication information is valid, the controller 202 determines that the target of the service request, such as the node, user, application, etc., that has requested service processing in the access policy based on application identification information, destination IP and port information, and control flow information included in the data flow, It is possible to check whether access to the service server 205 is possible. Depending on the embodiment, when the service request target cannot connect to the service server 205, the controller 202 may transmit data flow authentication failure information to the service server 205 (operation 1130).
서비스 요청 대상이 서비스 서버(205)로 접속이 가능한 경우, 컨트롤러(202)는 인증 정책에 기반하여 서비스 서버(205)에서 서비스 요청 대상을 인증하고, 인증시 필요로 한 부가 정보(인증된 노드, 사용자, 애플리케이션 식별 정보 및 접속 방식, 접속 위치 등을 포함하는 정보)를 포함하는 데이터 플로우 및 데이터 플로우 인증 성공 정보를 서비스 서버(205)로 전송할 수 있다(동작 1130). If the service request target can access the service server 205, the controller 202 authenticates the service request target in the service server 205 based on the authentication policy, and additional information required for authentication (authenticated node, Data flow and data flow authentication success information including user, application identification information, access method, access location, and the like) may be transmitted to the service server 205 (operation 1130).
동작 1135에서, 서비스 서버(205)는 컨트롤러(202)로부터 수신된 인증 검사 결과에 기반하여 결과값을 처리할 수 있다. 예를 들어, 데이터 플로우 인증에 실패한 경우, 서비스 서버(205)는 서비스 처리 요청 실패 정보를 반환할 수 있다. 다른 예를 들어, 데이터 플로우 인증에 성공한 경우, 서비스 서버(205)는 수신된 데이터 플로우 및 인증 정보(인증된 노드, 사용자, 애플리케이션 식별 정보 및 접속 방식, 접속 위치 등을 포함하는 정보)에 기반하여 서비스 서버(205)에 저장된 사용자 식별 정보와 매칭하여 서비스 인증 처리를 수행할 수 있고, 서비스 처리 요청에 대한 서비스 요청 처리 결과를 반환할 수 있다. In operation 1135 , the service server 205 may process a result value based on the authentication check result received from the controller 202 . For example, if data flow authentication fails, the service server 205 may return service processing request failure information. For another example, if the data flow authentication is successful, the service server 205 based on the received data flow and authentication information (information including the authenticated node, user, application identification information, access method, access location, etc.) Service authentication processing may be performed by matching with user identification information stored in the service server 205, and a service request processing result for a service processing request may be returned.
실시예에 따라서, 서비스 서버(205)는 컨트롤러(202)와 주기적으로 데이터 플로우를 동기화하여. 해당 데이터 플로우에 대응되는 사용자가 접속 중인지 여부를 주기적으로 검사하도록 데이터 플로우를 저장할 수 있다. According to an embodiment, the service server 205 periodically synchronizes the data flow with the controller 202. A data flow may be stored so as to periodically check whether a user corresponding to the corresponding data flow is accessing.
도 12는 다양한 실시예들에 따른 데이터 플로우를 갱신하기 위한 신호 흐름도를 도시한다. 12 shows a signal flow diagram for updating data flow according to various embodiments.
서비스 서버(205)는 컨트롤러(202)와 주기적으로 데이터 플로우를 동기화하여. 해당 데이터 플로우에 대응되는 사용자가 접속 중인지 여부를 주기적으로 검사할 수 있다. The service server 205 synchronizes the data flow with the controller 202 periodically. It may periodically check whether a user corresponding to the corresponding data flow is accessing.
동작 1205에서, 서비스 서버(205)는 컨트롤러(202)에게 데이터 플로우 갱신 요청을 수행할 수 있다. 예를 들어, 서비스 서버(205)는 컨트롤러(202)로부터 수신된 데이터 플로우에 기반하여 데이터 플로우 식별 정보 목록을 컨트롤러(202)로 전송할 수 있다. In operation 1205 , the service server 205 may request a data flow update to the controller 202 . For example, the service server 205 may transmit a data flow identification information list to the controller 202 based on the data flow received from the controller 202 .
동작 1210에서, 컨트롤러(202)는 데이터 플로우를 갱신할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 데이터 플로우 식별 정보에 대응되는 데이터 플로우의 존재 여부를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지 않는 경우, 해당 데이터 플로우에 대응되는 노드 또는 사용자가 네트워크 접속을 종료한 것이므로, 컨트롤러(202)는 서비스 서버(205)에서 해당 데이터 플로우의 인증 정보로 더 이상 네트워크에 접속할 수 없도록, 유효하지 않은 데이터 플로우 정보를 서비스 서버(205)에게 전송할 수 있다(동작 1215). At operation 1210, the controller 202 may update the data flow. For example, the controller 202 may check whether a data flow corresponding to the received data flow identification information exists. Depending on the embodiment, if the data flow does not exist, since the node or user corresponding to the corresponding data flow has terminated the network connection, the controller 202 can no longer use the authentication information of the corresponding data flow in the service server 205. Invalid data flow information may be transmitted to the service server 205 so that the network cannot be accessed (operation 1215).
데이터 플로우가 존재하는 경우, 동작 1215에서, 컨트롤러(202)는 데이터 플로우가 존재함을 나타내는 정보를 서비스 서버(205)로 전송할 수 있다. 즉, 동작 1215에서, 컨트롤러(202)는 데이터 플로우 갱신 결과를 서비스 서버(205)로 전송할 수 있다. When the data flow exists, in operation 1215 , the controller 202 may transmit information indicating that the data flow exists to the service server 205 . That is, in operation 1215 , the controller 202 may transmit the data flow update result to the service server 205 .
동작 1220에서, 서비스 서버(205)는 컨트롤러(202)로부터 수신된 데이터 플로우 갱신 결과에 기반하여 결과값을 처리할 수 있다. 예를 들어, 서비스 서버(205)는 수신된 데이터 플로우 정보에 기반하여 유효하지 않은 데이터 플로우를 삭제할 수 있고, 삭제된 데이터 플로우로 인증된 서비스 서버(205)에서 자체적으로 관리하고 있는 세션 정보를 삭제할 수 있고, 삭제된 세션으로 인증된 대상은 더 이상 접속할 수 없도록 처리할 수 있다.In operation 1220, the service server 205 may process the resulting value based on the data flow update result received from the controller 202. For example, the service server 205 may delete an invalid data flow based on the received data flow information, and delete session information managed by the service server 205 itself with the deleted data flow. and the subject authenticated with the deleted session can be processed so that it can no longer access.
도 13은 다양한 실시예들에 따른 게이트웨이의 로그를 전송하기 위한 신호 흐름도를 도시한다. 13 illustrates a signal flow diagram for transmitting a log of a gateway according to various embodiments.
동작 1305에서, 게이트웨이(203)는 데이터 패킷 드랍 및 서비스 요청 거절 로그를 컨트롤러(202)에게 전송할 수 있다. 예를 들어, 데이터 패킷을 드랍하는 경우, 서비스 요청을 필터링 하는 경우 및 서비스 요청을 거절하는 경우 중 적어도 어느 하나의 경우에, 게이트웨이(203)는 데이터 패킷을 전송한 대상 또는 서비스 요청을 수행한 대상에 관련된 로그를 기록할 수 있고, 기록된 로그를 컨트롤러(202)에게 전송할 수 있다. At operation 1305 , gateway 203 may transmit data packet drop and service request rejection logs to controller 202 . For example, in at least one case of dropping a data packet, filtering a service request, or rejecting a service request, the gateway 203 transmits the data packet or performs the service request. A log related to may be recorded, and the recorded log may be transmitted to the controller 202 .
동작 1310에서, 컨트롤러(202)는 로그를 분석할 수 있고, 데이터 플로우를 갱신할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 로그에 기반하여 어떠한 대상이 주기적으로 데이터 패킷이 드랍되거나 또는 서비스 요청이 거절되는지 판단할 수 있고, 해당 대상에 관련된 데이터 플로우를 삭제하거나 갱신할 수 있다. At operation 1310, the controller 202 can analyze the log and update the data flow. For example, the controller 202 may determine which target periodically drops data packets or rejects service requests based on the received log, and may delete or update a data flow related to the target.
동작 1315에서, 컨트롤러(202)는 게이트웨이(203)에게 갱신 결과를 전송할 수 있다. 예를 들어, 컨트롤러(202)는 게이트웨이(203)에게 갱신된 데이터 플로우를 전송할 수 있다. In operation 1315 , the controller 202 may transmit the update result to the gateway 203 . For example, the controller 202 may transmit an updated data flow to the gateway 203 .
동작 1320에서, 게이트웨이(203)는 컨트롤러(202)로부터 수신된 갱신 결과에 기반하여 결과값을 처리할 수 있다. 예를 들어, 게이트웨이(203)는 갱신된 데이터 플로우를 수신하는 경우, 갱신된 데이터 플로우를 기초로 기존 데이터 플로우를 갱신할 수 있다. In operation 1320, the gateway 203 may process the resulting value based on the updated result received from the controller 202. For example, when receiving an updated data flow, the gateway 203 may update an existing data flow based on the updated data flow.
도 14는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. 14 illustrates a signal flow diagram for control flow update according to various embodiments.
도 14를 참조하면, 동작 1405에서, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 이벤트를 감지할 수 있다. Referring to FIG. 14 , in operation 1405, the access control application 211 may detect a control flow update event.
동작 1410에서, 접속 제어 애플리케이션(211)은 제어 플로우 식별 정보를 기초로 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. In operation 1410, the access control application 211 may request a control flow update from the controller 202 based on the control flow identification information.
동작 1415에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 노드(201)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1420). In operation 1415, the controller 202 may check whether a control flow exists in a control flow table (eg, the control flow table 315 of FIG. 3) based on the received control flow identification information. Depending on the embodiment, when the control flow does not exist (eg, when the connection is disconnected by another security system, when the connection is disconnected by its own risk detection, etc.), the controller 202 determines that the connection of the node 201 is valid. Therefore, a connection failure result may be transmitted to the connection control application 211 (operation 1420).
컨트롤러(202)는 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는 경우 갱신 시각을 업데이트 할 수 있다. 이 경우, 컨트롤러(202)는 갱신된 제어 플로우의 식별 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1420).The controller 202 may update the update time when a control flow exists in the control flow table (eg, the control flow table 315 of FIG. 3 ). In this case, the controller 202 may transmit identification information of the updated control flow to the connection control application 211 (operation 1420).
일 실시예에서, 컨트롤러(202)는 식별된 제어 플로우에 종속된 데이터 플로우 중 재인증을 수행해야하거나, 더 이상 접속이 불가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우에 관한 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1420).In one embodiment, the controller 202 is required to perform re-authentication among data flows subordinate to the identified control flow, or if there is a data flow to which access is no longer possible, the controller 202 transmits information about the corresponding data flow to an access control application ( 211) (operation 1420).
동작 1425에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 불가능인 경우, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 정상이고, 갱신된 데이터 플로우 정보가 존재하는 경우, 데이터 플로우를 갱신할 수 있다. At operation 1425 , the connection control application 211 of the node 201 may process the resulting value of the response received from the controller 202 . For example, the access control application 211 may block all network accesses of applications when the control flow update result is impossible. For another example, the access control application 211 may update the data flow when the control flow update result is normal and updated data flow information exists.
도 15는 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다. 15 illustrates a signal flow diagram for disconnection according to various embodiments.
도 15를 참조하면, 동작 1505에서 노드(201)는 노드(201)의 종료, 접속 제어 애플리케이션(211)의 종료, 타겟 애플리케이션의 종료, 더 이상 네트워크 접속을 사용하지 않음 및 연동 시스템으로부터 식별된 정보를 기반으로 접속 종료 요청 중 적어도 어느 하나를 감지할 수 있다. 이 경우 동작 1510에서, 노드(201) 또는 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우 제거를 요청할 수 있다.Referring to FIG. 15 , in operation 1505 node 201 terminates node 201, terminates access control application 211, terminates target application, no longer uses the network connection, and information identified from the interworking system. At least one of connection termination requests may be detected based on . In this case, at operation 1510, node 201 or access control application 211 may request controller 202 to remove the control flow.
동작 1515에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 식별된 제어 플로우를 제거할 수 있다. In operation 1515, the controller 202 may remove the identified control flow based on the received control flow identification information.
동작 1520에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 노드(201)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다.In operation 1520, the controller 202 may remove all data flows dependent on the removed control flow. Thus, node 201 can no longer connect to the destination network based on the removed data flow.
동작 1525에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다. 게이트웨이(203)는 데이터 플로우를 제거할 수 있고, 따라서 제거된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다.In operation 1525, 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 source network, destination network, and port information included in the removed data flow may no longer be transmitted.
도 16은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.16 illustrates a signal flow diagram for termination of application execution according to various embodiments.
도 16을 참조하면, 동작 1605에서, 노드(201)의 접속 제어 애플리케이션(211)은 실행 중인 애플리케이션의 종료 여부를 실시간으로 확인할 수 있고, 애플리케이션 실행 종료 이벤트를 감지할 수 있다.Referring to FIG. 16 , in operation 1605, the access control application 211 of the node 201 may check in real time whether or not the running application is terminated, and may detect an application execution end 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 terminated application identification information and PID (Process ID and Child Process ID Tree) information exists.
동작 1610에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 데이터 플로우 제거 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 종료된 애플리케이션의 식별 정보 또는 종료된 애플리케이션에 대응되는 데이터 플로우의 식별 정보를 컨트롤러(202)에게 전송하며 데이터 플로우 제거 요청을 수행할 수 있다. At operation 1610 , the connection control application 211 may perform a data flow removal request to the controller 202 . 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 may perform a data flow removal request.
동작 1615에서, 컨트롤러(202)는 제거 요청된 데이터 플로우를 삭제할 수 있다. 또한, 컨트롤러(202)는 제거된 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다(동작 1620). 게이트웨이(203)는 데이터 플로우를 제거할 수 있고, 따라서 제거된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다. In operation 1615, the controller 202 may delete the data flow requested to be removed. In addition, the controller 202 may perform a removal request for the removed data flow to the gateway 203 (operation 1620). The gateway 203 may remove the data flow, and thus data packets corresponding to source network, destination network, and port information included in the removed data flow may no longer be transmitted.
도 17은 다양한 실시예들에 따른 게이트웨이의 동작 방법에 대한 흐름도를 도시한다. 도 17에 도시된 동작들은 도 2의 게이트웨이(203)를 통해 수행될 수 있다. 17 is a flowchart of a method of operating a gateway according to various embodiments. Operations shown in FIG. 17 may be performed through the gateway 203 of FIG. 2 .
동작 1705에서, 게이트웨이(203)는 데이터 패킷을 수신할 수 있다. At operation 1705, gateway 203 may receive a data packet.
동작 1710에서, 게이트웨이(203)는 데이터 패킷이 인가된 대상으로부터 수신된 데이터 패킷인지 여부를 확인할 수 있다. In operation 1710, the gateway 203 may check whether the data packet is a data packet received from an authorized subject.
동작 1715에서, 게이트웨이(203)는 데이터 패킷의 서비스 처리 요청 정보에 대응하고 외부 서버로부터 인가된 데이터 플로우 존재 여부를 확인할 수 있다. In operation 1715, the gateway 203 may check whether a data flow corresponding to the service processing request information of the data packet and authorized from the external server exists.
동작 1720에서, 게이트웨이(203)는 데이터 플로우가 존재하는 경우 서비스 처리 요청 정보를 검사할 수 있다. In operation 1720, the gateway 203 may check the service processing request information if there is a data flow.
동작 1725에서, 게이트웨이(203)는 서비스 처리 요청 정보에 대한 검사 결과에 기반하여 데이터 패킷을 처리할 수 있다. 예를 들어, 게이트웨이(203)는 검사 결과에 기반하여 데이터 패킷을 드랍하거나 또는 데이터 패킷의 서비스 처리 요청 정보에 데이터 플로우 헤더를 삽입할 수 있다. In operation 1725, the gateway 203 may process the data packet based on a result of checking the service processing request information. For example, the gateway 203 may drop a data packet based on a test result or insert a data flow header into service processing request information of the data packet.
도 18은 다양한 실시예들에 따른 서비스 서버의 동작 방법에 대한 흐름도를 도시한다. 도 18에 도시된 동작들은 도 2의 서비스 서버(205)를 통해 수행될 수 있다. 18 is a flowchart of a method of operating a service server according to various embodiments. Operations shown in FIG. 18 may be performed through the service server 205 of FIG. 2 .
동작 1805에서, 서비스 서버(205)는 서비스 처리 요청의 출발지 IP 에 기반하여 서비스 처리 요청이 인증된 노드의 요청을 게이트웨이가 포워딩한 것인지 또는 비인증 노드의 요청인지 판단할 수 있다. 예를 들어, 서비스 서버(205)는 서비스 처리 요청에 포함된 출발지 IP가 인가된 게이트웨이의 IP인지 여부에 기반하여 서비스 처리 요청이 인가된 게이트웨이의 요청인지 여부를 확인할 수 있다. 실시예에 따라서, 서비스 서버(205)는 출발지 IP가 인가된 게이트웨이의 IP인 경우에 인증된 노드로부터의 요청인 것으로 확인할 수 있다. 실시예에 따라서, 서비스 서버(205)는 출발지 IP가 인가된 게이트웨이의 IP가 아닌 경우 비인증 노드로부터의 요청인 것으로 확인할 수 있다. In operation 1805, the service server 205 may determine whether the service processing request was forwarded by the gateway or a non-authenticated node based on the source IP of the service processing request. For example, the service server 205 may check whether the service processing request is an authorized gateway based on whether a source IP included in the service processing request is an IP of an authorized gateway. Depending on the embodiment, the service server 205 may confirm that the request is from an authenticated node when the source IP is the IP of the authorized gateway. Depending on the embodiment, the service server 205 may confirm that the request is from an unauthorized node when the source IP is not the IP of the authorized gateway.
동작 1810에서, 서비스 서버(205)는 서비스 처리 요청이 비인증 노드의 요청인 경우 데이터 베이스에 기반하여 비인증 노드가 접근 가능한 서비스에 대하여 처리할 수 있다. In operation 1810, the service server 205 may process a service accessible to the unauthenticated node based on the database when the service processing request is the request of the unauthenticated node.
동작 1815에서, 서비스 서버(205)는 서비스 처리 요청이 인증된 노드의 요청인 경우, 서비스 처리 요청 정보에 데이터 플로우 헤더가 포함되어있는지 여부에 기반하여 서비스 처리 요청을 처리할 수 있다. In operation 1815, when the service processing request is from an authenticated node, the service processing request may be processed based on whether a data flow header is included in service processing request information.
이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is only an illustrative example of the technical idea disclosed in this document, and those skilled in the art to which the embodiments disclosed in this document belong will be within the scope of the essential characteristics of the embodiments disclosed in this document. Many modifications and variations will be possible.
따라서, 본 문서에 개시된 실시예들은 본 문서에 개시된 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 문서에 개시된 기술 사상의 범위가 한정되는 것은 아니다. 본 문서에 개시된 기술 사상의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 문서의 권리범위에 포함되는 것으로 해석되어야 할 것이다. Therefore, the embodiments disclosed in this document are not intended to limit the technical idea disclosed in this document, but to explain, and the scope of the technical idea disclosed in this document is not limited by these embodiments. The scope of protection of technical ideas disclosed in this document should be interpreted according to the scope of the following claims, and all technical ideas within the equivalent scope should be construed as being included in the scope of rights of this document.

Claims (15)

  1. 게이트웨이에 있어서, in the gateway,
    통신 회로; communication circuit;
    데이터 베이스를 저장하는 메모리; 및 a memory for storing a database; and
    상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, a processor in operative connection with the communication circuitry and the memory, the processor comprising:
    데이터 패킷을 수신하고, receive data packets;
    상기 데이터 패킷이 인가된 대상으로부터 수신된 데이터 패킷인지 확인하고, confirming that the data packet is a data packet received from an authorized target;
    상기 데이터 패킷의 서비스 처리 요청 정보에 대응하고, 외부 서버로부터 인가된 데이터 플로우가 존재하는지 여부를 확인하고, Corresponding to the service processing request information of the data packet and confirming whether there is a data flow authorized from an external server;
    상기 데이터 플로우가 존재하는 경우 상기 서비스 처리 요청 정보를 검사하고, Examining the service processing request information if the data flow exists;
    상기 서비스 처리 요청 정보에 대한 검사 결과에 기반하여 상기 데이터 패킷을 처리하도록 구성된, 게이트웨이. The gateway configured to process the data packet based on a result of checking the service processing request information.
  2. 제 1 항에 있어서, 상기 프로세서는, The method of claim 1, wherein the processor,
    상기 데이터 패킷을 필터링하는 데이터 패킷 필터링 모듈; a data packet filtering module for filtering the data packet;
    터널링 기반 통신을 위한 터널링 모듈; 및 Tunneling module for tunneling-based communication; and
    프록시 모듈을 포함하고, Include a proxy module,
    상기 데이터 패킷이 수신되는 경우, 상기 데이터 패킷 필터링 모듈 또는 상기 터널링 모듈을 통해 상기 데이터 패킷이 인가된 대상으로부터 수신된 데이터 패킷인지 확인하고, When the data packet is received, check whether the data packet is received from an authorized target through the data packet filtering module or the tunneling module;
    상기 데이터 패킷이 상기 인가된 대상으로부터 수신된 경우, 상기 프록시 모듈을 통해 상기 데이터 플로우가 존재하는지 여부를 확인하도록 구성된, 게이트웨이.and check whether the data flow exists through the proxy module when the data packet is received from the authorized object.
  3. 제 2 항에 있어서, According to claim 2,
    상기 필터링 모듈 및 상기 터널링 모듈은, The filtering module and the tunneling module,
    상기 데이터 패킷이 상기 인가된 대상으로부터 수신된 경우, 상기 데이터 패킷의 상기 서비스 처리 요청 정보에 상기 인가된 대상에 관한 정보를 삽입하여 상기 프록시 모듈로 전달하고, When the data packet is received from the authorized target, inserting information on the authorized target into the service processing request information of the data packet and forwarding the information to the proxy module;
    상기 프록시 모듈은 상기 인가된 대상에 관한 정보를 기초로 상기 데이터 플로우가 존재하는지 여부를 확인하도록 구성된, 게이트웨이.wherein the proxy module is configured to check whether the data flow exists based on the information about the authorized object.
  4. 제 2 항에 있어서, 상기 프록시 모듈은, The method of claim 2, wherein the proxy module,
    상기 데이터 베이스에 기반하여 상기 데이터 패킷을 전송한 대상 및 상기 대상이 요청하는 서비스 애플리케이션을 식별하고, Based on the database, identify a destination that has transmitted the data packet and a service application requested by the destination;
    상기 데이터 플로우에 포함된 인증에 관한 정보 및 상기 서비스 애플리케이션의 프로토콜에 기반하여 상기 서비스 처리 요청 정보에 데이터 플로우 헤더를 삽입하도록 구성된, 게이트웨이.and inserting a data flow header into the service processing request information based on authentication information included in the data flow and a protocol of the service application.
  5. 제 4 항에 있어서, According to claim 4,
    상기 데이터 플로우 헤더는, The data flow header,
    상기 인증에 관한 정보를 암호화한 정보 및 상기 데이터 플로우의 식별 정보를 포함하는, 게이트웨이.A gateway comprising encryption information of the authentication information and identification information of the data flow.
  6. 제 4 항에 있어서, According to claim 4,
    상기 인증에 관한 정보는 인증 정보를 삽입하는 방식, 인증 정보를 삽입하는 주기, 인증 알고리즘에 대한 최대 인증 횟수, 인증 정보 암복호화를 위한 정보 및 인증 정보 생성을 위한 알고리즘 중 적어도 어느 하나를 포함하는, 게이트웨이.The authentication information includes at least one of a method for inserting authentication information, a cycle for inserting authentication information, a maximum number of authentication times for an authentication algorithm, information for encryption/decryption of authentication information, and an algorithm for generating authentication information, gateway.
  7. 제 1 항에 있어서, 상기 프로세서는, The method of claim 1, wherein the processor,
    상기 데이터 플로우의 서비스 필터링 정보에 기반하여 상기 서비스 처리 요청 정보를 검사하고, Examining the service processing request information based on the service filtering information of the data flow;
    상기 서비스 처리 요청 정보에 접근할 수 없는 서비스 요청 경로가 존재하는 경우 또는 인가된 서비스 요청 경로가 아닌 경우, 서비스 처리 요청 실패 정보를 상기 데이터 패킷을 전송한 대상에게 반환하고, Returning service processing request failure information to a destination that sent the data packet when a service request path that cannot access the service processing request information exists or is not an authorized service request path;
    상기 서비스 처리 요청 정보에 전송되는 것이 불가능한 데이터가 포함된 경우 상기 서비스 처리 요청 실패 정보를 상기 데이터 패킷을 전송한 대상에게 반환하고, If the service processing request information includes data that cannot be transmitted, returning the service processing request failure information to the target that sent the data packet;
    상기 서비스 처리 요청 정보 검사가 성공한 경우 상기 데이터 패킷을 서비스 서버로 포워딩하도록 구성된, 게이트웨이.and forwarding the data packet to a service server when the service processing request information check succeeds.
  8. 제 1 항에 있어서, 상기 프로세서는, The method of claim 1, wherein the processor,
    상기 외부 서버에게 데이터 패킷 드랍 및 서비스 요청 거절 로그를 전송하고, Sending data packet drop and service request rejection logs to the external server;
    상기 외부 서버로부터 갱신된 데이터 플로우를 수신하고, Receiving an updated data flow from the external server;
    상기 갱신된 데이터 플로우에 기반하여 상기 데이터 베이스를 갱신하도록 구성된, 게이트웨이.and update the database based on the updated data flow.
  9. 서비스 서버에 있어서, In the service server,
    통신 회로; communication circuit;
    데이터 베이스를 포함하는 메모리; 및 a memory containing a database; and
    상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, a processor in operative connection with the communication circuitry and the memory, the processor comprising:
    서비스 처리 요청을 수신하고, Receive service processing requests;
    상기 서비스 처리 요청에 포함된 출발지 IP가 인가된 게이트웨이의 IP인지 여부에 기반하여 상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청인지 확인하고, Confirm whether the service processing request is a request of the authorized gateway based on whether the source IP included in the service processing request is an IP of an authorized gateway;
    상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청인 경우, 상기 서비스 처리 요청에 데이터 플로우 헤더가 포함되어있는지 여부에 기반하여 상기 서비스 처리 요청을 처리하도록 구성된, 서비스 서버. If the service processing request is a request of the authorized gateway, the service server configured to process the service processing request based on whether a data flow header is included in the service processing request.
  10. 제 9 항에 있어서, 상기 프로세서는, The method of claim 9, wherein the processor,
    상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청이 아닌 경우, 상기 데이터 베이스에 기반하여 비인증 노드가 접근 가능한 서비스에 대하여 처리하도록 구성된, 서비스 서버. If the service processing request is not a request from the authorized gateway, the service server is configured to process a service accessible to an unauthorized node based on the database.
  11. 제 9 항에 있어서, 상기 프로세서는, The method of claim 9, wherein the processor,
    상기 서비스 처리 요청 정보에 상기 데이터 플로우 헤더가 포함되지 않은 경우 서비스 처리 요청 실패 정보를 반환하고. Return service processing request failure information when the data flow header is not included in the service processing request information.
    상기 서비스 처리 요청 정보에 상기 데이터 플로우 헤더가 포함된 경우, 상기 데이터 플로우 헤더에 포함된 데이터 플로우 식별 정보 및 데이터 플로우 인증 정보를 기초로 외부 서버에게 데이터 플로우 인증 요청을 수행하고, When the data flow header is included in the service processing request information, a data flow authentication request is requested to an external server based on data flow identification information and data flow authentication information included in the data flow header;
    상기 외부 서버로부터 수신되는 상기 데이터 플로우 인증 요청에 대한 응답에 기초하여 상기 서비스 처리 요청을 처리하도록 구성된, 서비스 서버.The service server configured to process the service processing request based on a response to the data flow authentication request received from the external server.
  12. 제 11 항에 있어서, 상기 프로세서는, The method of claim 11, wherein the processor,
    상기 데이터 플로우 인증이 실패한 경우, 서비스 처리 요청 실패 정보를 반환하고, If the data flow authentication fails, return service processing request failure information;
    상기 데이터 플로우 인증이 성공한 경우, 수신된 데이터 플로우 및 인증에 관한 정보를 기초로 상기 서비스 요청에 대응되는 서비스를 처리하고, If the data flow authentication is successful, processing a service corresponding to the service request based on the received data flow and authentication information;
    상기 처리 결과를 반환하도록 구성된, 서비스 서버. A service server, configured to return the processing result.
  13. 제 9 항에 있어서, 상기 프로세서는, The method of claim 9, wherein the processor,
    데이터 플로우 식별 정보 목록을 외부 서버에게 전송하고, Send the list of data flow identification information to an external server,
    상기 외부 서버로부터 갱신된 데이터 플로우를 수신하고, Receiving an updated data flow from the external server;
    상기 갱신된 데이터 플로우에 기반하여 상기 데이터 베이스를 갱신하도록 구성된, 서비스 서버. The service server configured to update the database based on the updated data flow.
  14. 게이트웨이의 동작 방법에 있어서, In the operation method of the gateway,
    데이터 패킷을 수신하는 단계; receiving a data packet;
    상기 데이터 패킷이 인가된 대상으로부터 수신된 데이터 패킷인지 확인하는 단계; checking whether the data packet is received from an authorized target;
    상기 데이터 패킷의 서비스 처리 요청 정보에 대응하고, 외부 서버로부터 인가된 데이터 플로우가 존재하는지 여부를 확인하는 단계; checking whether a data flow corresponding to the service processing request information of the data packet and authorized from an external server exists;
    상기 데이터 플로우가 존재하는 경우 상기 서비스 처리 요청 정보를 검사하는 단계; 및 checking the service processing request information if the data flow exists; and
    상기 서비스 처리 요청 정보에 대한 검사 결과에 기반하여 상기 데이터 패킷을 처리하는 단계; 를 포함하는, 방법.processing the data packet based on a result of checking the service processing request information; Including, method.
  15. 서비스 서버의 동작 방법에 있어서, In the operating method of the service server,
    서비스 처리 요청을 수신하는 단계; receiving a service processing request;
    상기 서비스 처리 요청에 포함된 출발지 IP가 인가된 게이트웨이의 IP인지 여부에 기반하여 상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청인지 확인하는 단계; 및 determining whether the service processing request is a request of the authorized gateway based on whether a source IP included in the service processing request is an IP of an authorized gateway; and
    상기 서비스 처리 요청이 상기 인가된 게이트웨이의 요청인 경우, 상기 서비스 처리 요청에 데이터 플로우 헤더가 포함되어있는지 여부에 기반하여 상기 서비스 처리 요청을 처리하는 단계; 를 포함하는, 방법.processing the service processing request based on whether a data flow header is included in the service processing request when the service processing request is a request of the authorized gateway; Including, method.
PCT/KR2023/002550 2022-02-24 2023-02-22 System for controlling controller-based network connection and method related to same WO2023163509A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2022-0024308 2022-02-24
KR1020220024308A KR102460694B1 (en) 2022-02-24 2022-02-24 System for controlling network access based on controller and method of the same

Publications (1)

Publication Number Publication Date
WO2023163509A1 true WO2023163509A1 (en) 2023-08-31

Family

ID=83802573

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/002550 WO2023163509A1 (en) 2022-02-24 2023-02-22 System for controlling controller-based network connection and method related to same

Country Status (2)

Country Link
KR (1) KR102460694B1 (en)
WO (1) WO2023163509A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117596080A (en) * 2024-01-18 2024-02-23 北京安博通科技股份有限公司 Access control method, equipment, terminal and system for terminal user traffic

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102588355B1 (en) * 2023-01-27 2023-10-13 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same
KR102600442B1 (en) * 2023-02-21 2023-11-10 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same
KR102600443B1 (en) * 2023-02-21 2023-11-10 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same
KR102583604B1 (en) * 2023-03-24 2023-10-06 프라이빗테크놀로지 주식회사 System for controlling data flow based on logical connection identification and method of the same
KR102554200B1 (en) * 2023-04-11 2023-07-12 프라이빗테크놀로지 주식회사 System for controlling data flow based on logical connection identification and method of the same
KR102588356B1 (en) * 2023-05-04 2023-10-13 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same
KR102588357B1 (en) * 2023-05-04 2023-10-13 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160269286A1 (en) * 2014-01-08 2016-09-15 Tencent Technology (Shenzhen) Company Limited Method and apparatus for transmitting data in network system
KR102178003B1 (en) * 2019-09-24 2020-11-13 프라이빗테크놀로지 주식회사 System for controlling network access and method thereof
KR102364445B1 (en) * 2021-04-28 2022-02-18 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 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
US20160269286A1 (en) * 2014-01-08 2016-09-15 Tencent Technology (Shenzhen) Company Limited Method and apparatus for transmitting data in network system
KR102178003B1 (en) * 2019-09-24 2020-11-13 프라이빗테크놀로지 주식회사 System for controlling network access and method thereof
KR102223827B1 (en) * 2019-09-24 2021-03-08 프라이빗테크놀로지 주식회사 System for authenticating and controlling network access of terminal and method thereof
KR20210045917A (en) * 2019-09-24 2021-04-27 프라이빗테크놀로지 주식회사 System for controlling network access of node based on tunnel and data flow and method thereof
KR102364445B1 (en) * 2021-04-28 2022-02-18 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102460694B1 (en) * 2022-02-24 2022-10-31 프라이빗테크놀로지 주식회사 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
CN117596080A (en) * 2024-01-18 2024-02-23 北京安博通科技股份有限公司 Access control method, equipment, terminal and system for terminal user traffic
CN117596080B (en) * 2024-01-18 2024-04-23 北京安博通科技股份有限公司 Access control method, equipment, terminal and system for terminal user traffic

Also Published As

Publication number Publication date
KR102460694B1 (en) 2022-10-31

Similar Documents

Publication Publication Date Title
WO2023163509A1 (en) System for controlling controller-based network connection and method related to same
WO2021060854A1 (en) Network access control system and method therefor
WO2022231306A1 (en) System for controlling controller-based network connection and method therefor
WO2023146308A1 (en) System for controlling network access on basis of controller, and method therefor
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
WO2023163514A1 (en) Controller-based network access control system and method therefor
WO2023211124A1 (en) System for controlling controller-based network connection and method for same
WO2023085793A1 (en) System for controlling network access on basis of controller, and method therefor
WO2023211104A1 (en) System for controlling controller-based network access, and method related thereto
WO2023177238A1 (en) Controller-based network connection control system, and method thereof
WO2023136658A1 (en) Controller-based system and method for controlling network access
WO2023211122A1 (en) System for controlling file transmission and reception of application on basis of proxy and method relating to same
WO2014175538A1 (en) Apparatus for providing puf-based hardware otp and method for authenticating 2-factor using same
WO2020050424A1 (en) BLOCK CHAIN-BASED SYSTEM AND METHOD FOR MULTIPLE SECURITY AUTHENTICATION BETWEEN MOBILE TERMINAL AND IoT DEVICE
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
WO2023033588A1 (en) System for controlling data flow in virtualization terminal, and method thereof
WO2023211121A1 (en) System for controlling file transmission and reception of application on basis of proxy, and method therefor
WO2023211120A1 (en) System for controlling file transmission and reception of application on basis of proxy, and method related thereto
WO2023163506A1 (en) System for controlling file transmission and reception of application, and method therefor
WO2023068553A1 (en) System for controlling network connection based on controller, and method therefor
KR102377248B1 (en) System for controlling network access based on controller and method of the same

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: 23760383

Country of ref document: EP

Kind code of ref document: A1