Methods, filters, devices, servers, networks and gateways to create pathways

By selecting and confirming network participants in the network filter selection and operation stages, the problems of insufficient VPN connection security and high management complexity in the existing technology are solved, achieving safer and more reliable VPN connections and reducing management costs. .

CN113692728BActive Publication Date: 2024-10-15THE SEC OF STATE FOR FOREIGN & COMMONWEALTH AFFAIRS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080025086.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-27
Filing Date
2020-03-20
Publication Date
2024-10-15
Estimated Expiration
2040-03-20

AI Technical Summary

Technical Problem

Existing network filters have problems with insufficient security and high management complexity when creating VPN connections. Especially when client devices are exposed to the Internet, it is difficult to effectively prevent malicious behaviors, and management and maintenance costs are high.

Method used

Use network filters to select and confirm network participants respectively in the selection phase and operation phase, only create network data paths between users and selected network participants, prohibit communication with unselected participants, and ensure the exclusivity of data transmission , and select network participants without considering trust status, independently of the trust status of other network participants.

Benefits of technology

It achieves a more secure and reliable VPN connection, reduces management and maintenance costs, improves network security, and ensures exclusivity and cost-effectiveness of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113692728B_ABST
    Figure CN113692728B_ABST
Patent Text Reader

Abstract

The present application relates to a method, filter, device, server, network and gateway for creating a path. A data filter and a method for creating a network data path via a network filter are disclosed, the method comprising: i. a selection phase and ii. an operation phase. The selection phase comprises: transmitting at least one query data packet between a first network user and at least one other network participant via the filter on the network, and receiving at least one query data packet response from at least one network participant via the filter. Selecting a network participant to switch from the selection phase to the operation phase. The operation phase comprises: creating a network data path between the first network user and the selected network participant, and prohibiting further creation of additional network data paths between the network user and any unselected network participant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a network filter, in particular to a network filter for implementing secure data transmission through a network between network participants. Background Art

[0002] It is well known to connect two or more remote users using a public network. In this arrangement, traffic flows between the two hosts and is delivered through shared resources (e.g., routers, switches, and other network devices). Therefore, the communication path through which the data traffic travels must be secure. This can be achieved by creating a VPN tunnel, which can only be formed when specified criteria are met and can utilize security association and key distribution techniques.

[0003] Network protocols define the rules and conventions for communication between network devices. Most network protocols can be characterized as the exchange of a series of outbound packets and a series of inbound packets (where outbound and inbound are from the perspective of the initiator of the packet exchange). Protocol and protocol stage identification can be performed by port (for UDP and TCP based protocols), payload content (or characteristics of the payload), or a mixture of other characteristics based on the underlying protocol.

[0004] Devices (e.g., laptops) often need to connect to multiple services, but for optimal security, they must never connect to more than one service at a time or within a session. It is well known to use blacklists or whitelists to prevent devices from connecting to specified services. Restrictions on service connections can be implemented in software or in complex (and expensive) hardware. As an example, a firewall in whitelist mode is preconfigured to allow "predetermined" protocols (usually represented by TCP / UDP ports) to connect to a host from an enumerated endpoint (i.e., a limited address list). In blacklist mode, the firewall allows all protocols for all IP ports (except for ports that are explicitly prohibited based on TCP ports and IP addresses). Firewalls effectively establish boundaries between trusted networks and the rest of the world's networks and help reduce the attack surface available to hackers and malware. However, the first generation of firewalls that focused on asserting ports and protocols have now evolved into a new generation of firewalls that set standards for applications and users.

[0005] As an example, deep packet inspection (DPI) ensures that traffic in port 80, for example, is actually http. Data traffic is allowed (or blocked) based on the default configuration. While this technology enables the identification of threats in the content of data traffic, such modern firewalls can be difficult to operate and manage due to their complexity.

[0006] Another characteristic of DPI and similar next generation devices is that they are centralized enterprise devices and clients must somehow gain connectivity to the facility before they can gain the benefits of these devices.

[0007] Even when using a firewall (whether first generation or a more modern version), there are still potential weaknesses in the way it is implemented.

[0008] Clients attached to an enterprise site are exposed to the transport network (usually the Internet) for a period of time. Protecting the client from malicious actors on the Internet is delegated to software-based products that act as firewalls. Since software requires management and support, this pushes centrally managed security controls to the enterprise, with the end result that they are less managed when they are most vulnerable to attack.

[0009] Therefore, embodiments of the present invention are directed to addressing at least some of the above problems and expectations. Specifically, it is desirable to ensure that there is a reliable and repeatable way to create a VPN connection that has improved security characteristics and is cost-effective to use and manage compared to the prior art. Summary of the invention

[0010] According to a first aspect of the present invention, there is provided a method for creating a network data path via a network filter, the method comprising:

[0011] Selection phase and operation phase,

[0012] The selection phase includes:

[0013] transmitting at least one query data packet between the first network participant and at least one other network participant via the filter over the network;

[0014] receiving at least one query data packet response from at least one network participant via the filter,

[0015] At least one network participant is selected to switch from the selection phase to the operation phase, the operation phase comprising: establishing a network data path between the first network participant and the at least one selected network participant, and prohibiting further establishment of a network data path between the first network participant and any other unselected network participants.

[0016] For the avoidance of doubt, the first network participant may be considered to be a first network user or entity client (which is located on the client side of the network boundary).It should be noted that the present invention is not limited to client-side network devices, but rather, this is a common implementation of network filters.

[0017] Thus, the method prevents query packets and operational packets from being transmitted along the network to any unselected other network participants. The selection phase can be considered a pairing phase, whereby it is established which users of the network will be paired via a communication link along the network. Likewise, the selection phase can be considered an establishment state.

[0018] “Switching from the selection phase to the operation phase” means that the operation phase is triggered when at least one network participant is selected, and the method state of the filter is transferred from the selection phase to the operation phase.

[0019] The request need not include any type of preamble (e.g., it could be DNS), or alternatively, the request could include some negotiation elements, e.g., VPN is UDP, which is connectionless and therefore does not have any transport-level negotiation, but does have session-level negotiation, i.e., IKE_SA_INIT_request. Alternatively, TCP is at the transport level, so in this example, there could be a TCP handshake followed by TLS negotiation.

[0020] The first network participant is the object that generates the packet, for example, a network stack or computer executable software that will be distributed as a query to other network participants.

[0021] The query data packet is a connection request forwarded to other network participants. The query data packet is provided by the first network participant who is considered to be the initiator of the network communication path. The network initiator can be said to act on behalf of, or under the control of, a natural person or virtual entity.

[0022] Other network participants refer to network participants at network nodes different from the first network user, for example, additional VPN participants. The network participants can be said to act on behalf of a natural person operating a computing device or a virtual person / entity in the form of a programmable device. Other network participants can alternatively be considered to be network destinations different from the user's network destination.

[0023] In a first embodiment, only a single network participant is selected and only a single network data path is created between the first network user and the selected network participant. The network participant is a single network host. However, in an alternative embodiment of the invention, multiple network participants can be selected if necessary, provided that the traffic on each path is of different types.

[0024] In its simplest form, this method provides exclusivity of services in a more secure manner. In addition, ordered exclusivity of services can be provided, for example, a user can directly communicate between node A and node C to achieve data transfer from node A to node C, but when the data is transferred to node C, the data can never be directed back to node A again. By adding a chain of events, a user can directly transfer data from node A to node B (and prevent data from being transferred from node B to node A), and then subsequently transfer data from node B to node C (but prevent data from being transferred from node C to node B).

[0025] The benefit of this arrangement is that the filter allows only the query part of the protocol (for any network user) to pass through during the selection phase, and then only the operational part for the selected unique partner, thereby ensuring exclusivity of information transfer during the operational phase.

[0026] This ensures that in an operational state (e.g., in the case of creating a VPN tunnel) data traffic is allowed to pass between the user and the selected VPN participants (and vice versa) to provide exclusivity of data traffic between the user and the selected VPN participants that passes through the filter. A network data path is an exclusive data path across a network and (for the VPN case) can be considered to include a VPN tunnel, at least a portion of which passes through the filter.

[0027] The network participants may be selected independently of any determination of the trust status of other network participants. This means that the network participants may be selected without regard to any trust status of the network participants. Advantageously, the network participants may be selected before or in the absence of an established trust status for the network participants. The present invention is not intended to give any consideration to the trust of the host at the endpoint. Instead, the filter and method are configured to prohibit both untrusted endpoints and trusted endpoints from being satisfied / visible to the client, which is the case where it stops.

[0028] The network participant may provide a first data packet response to be received by the selected first network participant.

[0029] The at least one selected network participant may be selected according to a predetermined protocol sequence.

[0030] Preferably, at least one query data packet response from a network participant may be allowed to pass through the filter according to a predetermined selection criterion. Thus, at least one selected network participant may be selected according to the predetermined selection criterion. To achieve this, the method may include: checking at least one query data packet response to identify compliance with the predetermined selection criterion.

[0031] The selection criteria may include any of a combination of responses from i) a predetermined recipient or ii) at least one response type from a predetermined set of response types.

[0032] For criterion ii), the "response type criteria" may be one or more characteristics of i) the packet type itself, ii) adherence to the expected version protocol, or iii) compatibility of the response with the query.

[0033] The intended recipient is the intended at least one other network participant (ie a network user who is not the first network user).

[0034] During the selection phase (when queries are dispatched and protocol is not considered), the return channel can be used to enable responses to pass through the filters. The selection phase can also be thought of as the pairing phase.

[0035] In practice, this is an enumerated range of responses, e.g. for a VPN, this can be a positive response to proceed or a negative response. Note that a negative response is actually a valid response, even though it would discourage the first network user's selection.

[0036] However, there are examples of invalid responses that would fail the above list of selection criteria, for example, an incompatible response to a VPN request.

[0037] At least one selected network participant may be selected based on a first query data packet response received by the network user. This provides a "first dibs" approach, wherein a network path is created once a first network user receives a valid response from a network participant.

[0038] In an operational phase, the data transfer or packet transfer along the data path between the first network user and the selected participants and vice versa may be exclusive, ie the transfer of data may be allowed only between the user and at least one selected network participant.

[0039] The selection of at least one participant can be implemented at the IP packet layer. This provides higher security, thereby ensuring that undesired data transmission is prohibited.

[0040] Prior to sending the query, a specific IP address may be determined for at least one selected network participant. This enables the query packet to be directed to a known trusted network participant. If the received response is valid (i.e., meets the criteria), the query packet response will be able to establish a communication path.

[0041] In the selection phase, at least one query may require DNS resolution of an IP address of at least one network participant.

[0042] DNS resolution may be performed by allowing communication with at least one DNS server.

[0043] During the operational phase, all DNS queries can be directed to at least one selected network participant.

[0044] For example, when a VPN tunnel is created, subsequent DNS queries can be prohibited. It should be noted that although a VPN tunnel is created, the filter does not know in principle that a VPN itself is created. All the filter knows is that once a communication path is established, it is no longer possible to return to the DNS query state.

[0045] The operational phase may include a cool-down period, wherein creation of additional network data paths between the network user and any unselected network participants is prohibited.

[0046] Upon expiration of the cool down period, the operating phase may revert back to the selection phase.

[0047] The cool-down period state may be terminated by receiving a signal from the first network user.

[0048] In the method, a first data traffic type and a second data traffic type may be provided, wherein the first data traffic type is forwarded along a first data path and the second traffic type is forwarded along a second data traffic path.

[0049] A packet may include one or more specific protocol types to be sent.

[0050] The first protocol type may be provided before receiving the query data packet response, and the second protocol type may be provided after receiving the query data packet response.

[0051] The second protocol type may include: i) a new protocol different from the first protocol type, ii) a combination of new protocol phases, and iii) a new protocol or a completely new protocol phase.

[0052] Additional network data pathways may be created between the first network user and any unselected network participants according to additional specified protocol standards.

[0053] Thus, this feature enables a first network user to connect to other users in a trusted network, for example, providing an open filter that allows a path to be created between a user's computer and a series of peripheral devices (such as a printer) located on the same trusted network. These devices can be configured to have similar IP ranges. It should be noted that in this embodiment, the method still only allows a single network path to be created between a user in a trusted network and a selected network participant in a less trusted network to provide exclusive paths per protocol.

[0054] The selection phase and the operation phase can be a single step process. For example, this single step process will be applicable to DNS or other non-handshake type protocols.

[0055] After creating the data path and upon determining a termination trigger, the method may further include:

[0056] a. Terminate the network data path;

[0057] b. restarting the computation associated with the first network participant; and

[0058] c. Revert the method back to the selection phase.

[0059] While this restart capability can be triggered in the event of a determination that a selected network participant is untrustworthy, it can also be implemented in other situations and rely on other trigger points, for example, it can be applied when the first network participant has a poor client experience (such as when sessions are constantly being logged out). For the avoidance of doubt, the determination that a selected network participant is untrustworthy occurs after the network data path is created and will be considered a termination trigger.

[0060] In an alternative embodiment of the present invention, a network filter may be provided, the network filter comprising:

[0061] at least one processing unit; and

[0062] A computer readable medium comprising computer executable instructions that, when executed by at least one processing unit, cause a network filter to:

[0063] transmitting at least one query data packet between the network user and at least one other network participant;

[0064] allowing receipt of at least one query data packet response from at least one network participant,

[0065] Select at least one network participant;

[0066] creating a data communication path between the user and at least one selected network participant; and

[0067] Creation of a network data path between the first network user and any unselected network participants is prohibited.

[0068] Further, the network filter may be configured to create a network data path between the first network participant and the network participant providing a first data packet response to be received by the first network participant.

[0069] The computer executable instructions may specify a predetermined protocol sequence to be implemented.

[0070] Thus, further, query packets are inhibited from being transmitted along the network to any unselected network participants since no additional network data paths are created.

[0071] The data path may be a secure VPN tunnel that enables a data connection between the user and at least one selected participating network user.

[0072] The network filter may also comprise timing means 8 for determining a cool-down period for the data communication path.

[0073] The data filter may also include a reset mechanism to restore the network filter back to the selection stage if the timing device indicates that a predetermined cool-down period has been exceeded.

[0074] Alternatively, the reset mechanism may be activated by a termination trigger. The termination trigger may include a signal from the first network user, may occur upon determining that the selected network user is not trustworthy, or may occur upon the first network user having a poor client-side user experience.

[0075] The reset mechanism may be provided by software or may be a physical reset sufficient for a particular application.

[0076] The network filter may comprise a comparator 7 for comparing the query data responses according to a predetermined selection criterion and outputting a comparison output.

[0077] A processor may also be provided, the processor being configured to pass or block the query data response based on the comparison output.

[0078] The filter may be configured to select other network participants independently of any determination of the trust status of the other network participants. This means that both trusted and untrusted other network participants are in the pool of other network participants that receive the query data packet sent by the first network participant. More specifically, a data path may be established between any of the following:

[0079] i. The first network participant and other trusted network participants;

[0080] ii. The first network participant and other untrusted network participants;

[0081] iii. the first network participant and other network participants whose trust status is uncertain; or

[0082] iv. The first network participant and other network participants whose trust status cannot be determined.

[0083] In another embodiment of the present invention, an electronic device including the network filter as described above is provided.

[0084] In another embodiment of the present invention, a server including the network filter as described above may be provided.

[0085] In a further embodiment of the present invention, a network gateway comprising a network filter as described above may be provided. The network gateway may form part of a hardware component or may be software-based.

[0086] In another embodiment of the present invention, a network including the network filter as described above may be provided. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] Although the present invention has been described above, the present invention extends to any creative combination of features stated in the above or following description, drawings or claims. For example, any feature described with respect to any one aspect of the present invention is understood to be disclosed with respect to any other aspect of the present invention.

[0088] The present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:

[0089] Figure 1a A schematic diagram showing the selection phase of the method of the present invention;

[0090] Figure 1b A schematic diagram showing the operating stages of the method of the present invention;

[0091] Figure 2 A schematic diagram showing a method for establishing a secure network path according to the present invention is shown;

[0092] Figure 3 A flow chart showing a VPN link implementation method of the method of the present invention;

[0093] Figure 4 A block diagram representation of a network filter method according to an alternative embodiment of the present invention is shown;

[0094] Figure 5a A schematic diagram of a network filter according to the present invention is shown;

[0095] Figure 5b a schematic diagram showing an alternative network filter arrangement according to the present invention; and

[0096] Figure 5c A schematic diagram showing yet another further alternative network filter arrangement according to the present invention is shown. DETAILED DESCRIPTION

[0097] exist Figure 1a and Figure 1bIn the figure, the method steps for hardware execution of a selective network filter according to the present invention are shown. The filter checks data traffic to enable automatic configuration of the filtering state machine. The network filter includes two core states: a selection state (state 1) and an operation state (state 2). The selection state allows the discovery of available data sharing participants, for example, a host that responds to a user allowing selection of one of the hosts. In this initial state, the filter allows packets including one or more specific protocol phases to be sent. The network filter is set to check each packet for a trigger. A trigger is a specific type of protocol phase packet that changes the configuration of the filter.

[0098] like Figure 1a and Figure 1b As shown in Figure 1, there are two types of trigger events. Figure 1a The minor trigger event shown switches the filter from the first state (state 1) to the incremental state (state 1+). In the first state, outbound packets A are sent to network participants that the user may connect to across the network. In the incremental state 1+, the network participant sends a response packet A'. If the response packet A' is allowed to pass through the filter, a second protocol stage B (or a completely new protocol) is provided.

[0099] like Figure 1b The major trigger event shown changes the filter from a first state 1 or incrementing an initial state 1+ to a new second state (state 2).

[0100] The advanced trigger is to identify packets that conform to protocol state B. In this example, the advanced trigger event enables the filter to create a network data path between the user and the selected network participant (i.e., the network participant that generated the advanced trigger event). The advanced trigger event enables the filter to switch from the selection state to the operation state. In the operation state, Figure 1b As shown, protocol phases A, B and C are allowed (as are return phases A', B' and C') but only between the user and the selected network participant 1. Thus, there is a dedicated network data path created between the user and the selected network participant.

[0101] State 2 (Operation Phase) is configured to time out and revert back to State 1 (Selection Phase) if it experiences inactivity for a predetermined period of time.

[0102] The selected network participants may also be described as prime participants. Once the filter has selected the prime participant, the filter switches to an operational phase in which the filter prohibits any connection with any other participant during operation. Alternatively, after the operation ends, the filter enters a cooling period (of a predetermined duration) during which the filter can reconnect with the prime participant, but not with other (unselected) participants, and in fact no other participants. The cooling period may be infinite (requiring a power cycle to reset the device). Alternatively, the cooling period may be limited, in which case the filter may be set to restart and allow reselection of a service (which may be the same or may be completely different from the previous service) at the end of the cooling period. As a further alternative, a two-stage cooling may be provided, comprising a first stage in which the filter is configured to be in a waiting mode and a second stage in which the filter is reset. A trigger packet may be provided to cause the filter to transition between the first state and the second state.

[0103] Once the filter stops seeing packets being sent along the communication path established between the first user and the selected (and therefore allowed) network participant, cooling down is achieved. As an example, for a 15 minute cooling down period, each time the filter sees an allowed packet, the filter restarts the counter to determine when the connection was last used and when the clock times out. At the end of the specified time period, the communication path is terminated and the filter returns to state 1.

[0104] An alternative mechanism is when the protocol itself provides explicit teardown, e.g. closing a TCP socket using a sequence of FIN / FIN-ACK / ACK packets that a filter can interpret.

[0105] Once such a termination sequence is seen, cooling may occur, or alternatively, a state transition (e.g., from state 2 to state 1) may be performed by receiving a "magic packet".

[0106] Typically, during the selection phase, a first query data packet is transmitted between the user and other participants via the filter. The participant provides an acknowledgement to the first query via the filter, and the user receives a query data packet response. In the example of a VPN, one of the VPN participants is selected and the packet is sent to that participant. This triggers the operation phase of the filter and creates a dedicated data path between the user and the selected recipient, i.e., a VPN tunnel. During the operation phase, other participants (i.e., non-selected participants) are prohibited from sending additional query packets.

[0107] To expand on this example and refer to Figure 1a and Figure 1bIKEv2 has 2 protocol phases during setup, namely, IKE_SA_INIT and IKE_AUTH. Protocol A corresponds to IKE_SA_INIT. Initially, the user has no restrictions on what it attempts to connect to using the initial IKE_SA_INIT request packets. These packets act as a low-level trigger for State 1+ to update the filter to allow IKE_SA_INIT response packets to return to the user from these attempts.

[0108] The IKE_AUTH request (Protocol B) for a specific IKE endpoint acts as a high-level trigger and moves to State 2, which is the Operational Phase. Once in the Operational Phase, all IKE protocol phases are allowed (but only allowed) to the IP address pointed to by the IKE_AUTH request protocol packet. Therefore, the previously allowed Protocol A packets are now blocked.

[0109] exist Figure 2 In FIG. 1 , three SYN messages are forwarded to three separate participants E1, E2 and E3 to create a TCP socket. All three recipients send a request confirmation (SYN / ACK packet) received by the first network user. The first response to the first network user comes from E2. Therefore, the first network user selects E2 and sends an ACK packet, thereby starting the TCP socket. After this step, any attempt to send information to E1 or E3 will be invalid, that is, the corresponding information channel is blocked. Then, the first network user and the selected network participant E2 can freely transmit data across the data communication path, and other communication links cannot be created when the data communication path is in use. This is because the filter prevents the creation of any additional path between the first network user and any network participant that is not E2, and further prohibits the creation of any alternative network data path to E2. Therefore, it is prohibited to transmit packet information to any other participant (whether the packet information is a SYN request or another form).

[0110] Effectively, in this embodiment, the first allowed protocol is from the client to an external service (eg, a public network or a device connected to a public network).

[0111] In such Figure 3 In the alternative embodiment of the present invention shown, the addition of a dynamic name system (DNS) is provided, giving the following three states:

[0112] State 0, which allows DNS until the filter recognizes VPN initialization and allows VPN initialization;

[0113] State 1, which allows VPN initialization (but not DNS in this example) until the filter recognizes VPN authentication;

[0114] State 2, which specifically locks the VPN authentication.

[0115] The filter allows Domain Name System (DNS) requests to any DNS server and receives a response from that server. Thereafter, all DNS queries must go to that server. The filter enters a latched state so that after resolving the DNS query, the filter allows a VPN tunnel to be built through the filter. Once the VPN tunnel is built, subsequent DNS queries are blocked. As mentioned previously, this can be extended to any number of protocols (including multiple steps of the same protocol).

[0116] In this example, the filter will also allow just-in-time VPN to the cached domain name of the VPN endpoint identified by the IP address.

[0117] For any handshake on a connection-based protocol or a protocol that expects well-defined responses, the following items, alone or in combination, may be used as criteria for determining datapath exclusivity:

[0118] TCP sockets, incoming query responses for SYN packets;

[0119] A TCP socket, in response to an outgoing SYN-ACK packet; or

[0120] TLS session initiation packet.

[0121] like Figure 3 As shown, a user wishes to create a VPN tunnel with a VPN participant described in the form of a fully qualified domain name. The user enters known VPN information (e.g., a web address) into the device, and the device contacts any DNS server to perform a DNS resolution to determine the IP address associated with the VPN information. There are many DNS servers, and a combination of DNS servers in the network can be accessed. The query can be forwarded to a selection of VPN participants all accessed by different DNS servers. The VPN participants respond, and the user can select a preferred VPN participant to connect to. At this point, the filter is initiating an Internet key exchange, and the device is able to operate as usual. Once the user selects the VPN participant it wishes to connect to, the user responds using an Internet key protocol authentication. This selection is based on a "first-hand" basis, alternatively, the selection is based on automatic selection criteria, for example, based on information provided in the response packet, or a user's affirmative selection.

[0122] Once a VPN participant is selected, all DNS queries are routed through the selected server. As a result, the filter enters a locked state (previously identified as Figure 1a and Figure 1bState 2 in ). Only then can the VPN tunnel be built through the filter. Once the VPN tunnel is built, all subsequent DNS queries are blocked. This ensures that there is exclusivity along the network data path and that alternative paths cannot be created. Therefore, the security of the VPN communication path is provided at the packet layer, that is, before the VPN tunnel is created. At the IP packet layer, there is useful filtering information: TTL (time to live) and IP address. Specifically, the criteria to rely on are the highest TTL or the closest IP match.

[0123] The above provides an infinite lockout that enables only a single connection, or alternatively, includes a cooldown period for an exclusive connection. For example, if VPN data transmission is inactive for a predetermined period of time (e.g., 1 hour), the filter is reset and the filter reverts back to the selection stage, whereby an initial query is made to various DNS servers.

[0124] While there is a concept of allowing protocols (e.g., the first embodiment is set up as a VPN based on ports), there is no concept of configuring allowed addresses according to the firewall example mentioned above. In single protocol mode, the filter is configured to make the first protocol that attempts to successfully negotiate exclusive for traffic that passes the filter.

[0125] The multiple states of the filter state machine can be arranged in various geometries.

[0126] In such Figure 4 In the extended implementation shown, the first state may also allow DNS lookups, https requests and Internet Key Exchange (IKE), but only in a specific order. A working example is now described.

[0127] State 1 allows generic DNS, Https, and IKEv2;

[0128] Advanced triggers for state 1: HTTPS and IKEv2 SA_INIT;

[0129] State 2 allows generic HTTPS and IKEv2 SA_INIT;

[0130] The high-level trigger for state 2 is IKEv2 SA_INIT;

[0131] State 3 allows generic IKEv2 SA_INIT and IKE_Auth to the querying participant;

[0132] The high-level trigger for state 3 is an IKE_AUTH request to the selected participant;

[0133] State 4: Allow IKE only to selected participants in the advanced trigger from state 3 (all protocol states);

[0134] Advanced triggers for state 4: None (needs hardware reset via reset mechanism 9).

[0135] This enables the user to collect the participant's credentials before the filter sets up a VPN tunnel between the user and the second network participant. Again, this provides improved security compared to known firewall solutions.

[0136] The filter 1 includes a processor 2, a memory 3, and a network communication device 4 that provides a network data path for network data. Other hardware or software logic controls are also implemented. The filter 1 is an interface between an electronic device 5 (e.g., a computer, a tablet, or a mobile device) operated by a user and a network (i.e., an external network host or node). The filter can be on the electronic device end 5 (e.g., Figure 5a As shown), on the server side 6 (as Figure 5b as shown) or between the electronic device 5 and the server 6 (as shown Figure 5c The data path 4 may be wired or wireless. The electronic device side may also be referred to as the "client side".

[0137] The filter is configured to select other network participants independently of any determination of the trust status of other network participants. In order to enable the query response to have the correct form, the comparator 7 is implemented to compare the query data according to the predetermined selection criteria and output the comparison output. The output of the comparator 7 is used to determine the expected decision output to select whether the query response should be allowed to pass through the filter or whether the data path through the filter should actually be prohibited from passing. Therefore, the passage of the query data response depends on the comparison output provided at the comparator 7.

[0138] The timing means 8 (eg a clock) is implemented for determining a cool down period for the data communication path 4. As mentioned during the cool down period, creation of further network data paths between the first network participant (4) and any unselected other network participants is prohibited.

[0139] A reset mechanism 9 (whether mechanical or electrical), for example formed by a switching device, is configured to restore the network filter 1 back to the selection phase if the timing means 8 indicates that a predetermined cooling period has been exceeded. Alternatively, the reset mechanism 9 restores the network filter 1 back to the selection phase upon receiving a termination trigger.

[0140] The termination trigger may take many forms, but is typically a flag or other signal identifier provided on the client side of the filter, which may, for example, be a signal from the first network participant 5 or as a result of a determination that the selected network participant 6 is untrustworthy or experiencing poor service.

[0141] Therefore, there are many manifestations of the present invention. The requirement is to implement the filter on the network card, the filter is implemented as a software network filter, or as a firmware / hardware filter. Therefore, optionally, the following filter effects can be provided:

[0142] 1) An embedded system running the filter in software (e.g. some kind of Linux-based OS on small form factor hardware)

[0143] 2) Bump-in-the-wire running the FPGA;

[0144] 3) Blocks in the cable running the ASIC;

[0145] 4) A specialized network card with additional state machine firmware; or

[0146] 5) A special network "switch" with one or more ports that provides "per-port" filtering to the local uplink portion.

[0147] The filter comprises a state machine, for example the device comprises an FPGA or other well known device configured to create the required state machine effect. The filter 1 is integrated in the electronic device 5 or the network server 6, however, the filter 1 may alternatively be applied as a retrofittable device.

[0148] For this filter 1, the processing unit 2 must be a unit with a speed that can "inspect" and forward or reject the packet based on the inspection.

[0149] Various modifications to the above principles will occur to the skilled person. For example, while this approach has been described for use with a secure VPN connection (where the first protocol that attempts successful negotiation has exclusivity for data traffic on the filter), the technique can be extended to any number of protocols (including multiple steps of the same protocol).

[0150] In addition, in an alternative embodiment of the present invention, more than one data service type may be allowed to be transmitted to different endpoints. For example, VPN may be allowed to be transmitted to a first network participant (e.g., a VPN participant) while HTTPS may be allowed to be transmitted to a second network participant (e.g., an HTTPS participant).

[0151] In yet another embodiment of the invention, it is envisioned that the method of the invention may be configured to allow switching between protocols and exclusive filtering of these protocols. This is accomplished by allowing the user to pick, for example, DNS or VPN. In a first use case, VPN may be initially selected, thereby blocking DNS entirely. Alternatively, if the user picks DNS, the filter may stay at DNS, or follow the standard route of DNS, then VPN (where subsequent DNS access is blocked). This enables protocols to be enabled or disabled depending on the use of other protocols.

[0152] The examples have described the creation of a VPN connection where the endpoint is a VPN connection, but the skilled person will appreciate that the method is applicable to other endpoints where single or multiple protocols are required, for example, a simple remote system, such as part of an Internet of Things (IOT) network, that periodically uploads files using the Secure File Transfer Protocol (SFTP) (based on Secure Shell (SSH) using certificates) using appropriately configured filters to negotiate an exclusive connection with a single authorized endpoint (out of potentially many) for uploading files (as defined by acceptable server certificates). Here, the simple remote system will resolve DNS to identify the connection endpoint; initiate SSH authentication; check that the server's certificate is valid using the Online Certificate Status Protocol (OCSP); complete the SSH negotiation (or reject if the certificate is incorrect); and reset to the initial state after a cool-down period.

[0153] Advantageously, the filter does not require any administration and does not restrict where a user can connect to, but rather simply ensures that the user is only connected to one allowed service type at any time.

[0154] The filter is different from other such devices because, while the filter has the concept of allowed protocols (e.g., set up for VPNs based on port and packet characteristics), it has no concept of configured allowed addresses. As mentioned earlier, the filter can work on a "first chip" principle, where the first protocol that attempts to successfully negotiate has exclusivity for traffic on the filter (in single protocol mode).

[0155] refer to Figure 1a and Figure 1b Optionally, the second protocol state B may be a completely new protocol, or a combination of a new protocol state and a new protocol, or a new protocol state.

[0156] Alternatively, there may be multiple low-level triggers allowed in state 1. Alternatively, state 2 may allow new protocols or new protocol phases in addition to allowing more phases of the initial protocol.

[0157] Alternatively, State 2 may persist until intervention such as a hardware reset or another high-level trigger is received. State 2 may also be affected by low-level triggers.

[0158] Optionally, the high-level trigger does not have to be part of an externally directed protocol. A specific packet trigger detected by a filter can be used as a specific state change mechanism that does not have a specific destination.

[0159] In yet another alternative embodiment of the present invention, the filter can be configured to insist on using only a selected network once for a remote network participant. For example, if the filter is configured for a private IP network, there are reusable IP ranges such as 192.168.0.0, etc. that are private and do not propagate outside the organization, for example, a user can choose to print to various printers in their trusted network. The filter can be configured to allow any packets to and from these addresses, but limit any connections to non-private ranges to only on unique selected protocols, such as VPN. Thus, the selection effect is based on additional protocol criteria that must be preset.

[0160] In state 1, we described blocking DNS queries once VPN queries begin, however, as described above in the second embodiment, it is also contemplated that DNS queries may continue until a communication path is established (i.e., a VPN link is created). Both embodiments are possible, and the filter may be configured to implement either embodiment as desired by the user. It should be noted that the cooldown criteria may depend on and be determined by the specific protocol used.

[0161] Beneficially, the presently applied method and network filter do not require a trusted remote host manager to assume management responsibilities for the VPN client. Instead, the presently applied invention works on a "first chip" basis, i.e., the first VPN to connect outwardly gets exclusivity, resulting in the method and network filter preventing, for example, the mixing of n VPN sessions (and any other sessions without knowing where the endpoints are).

[0162] Exclusivity is sufficient to manage risky clients as long as the client is prohibited from connecting to other network participants between sessions. Once the predetermined protocol sequence is hard-coded, no further configuration is required.

[0163] Thus, the typically complex selection and configuration of VPN endpoints is not required to specify, select and authorize appropriate VPN connections with the selected endpoints to minimize the risk of connecting to a "bad" network. Such a process is typically performed on the server side due to the management / processing burden.

[0164] In fact, the present invention does not require the selection of a VPN protocol at all, for example, the present invention is applicable to the following IOT implementations where VPN is not possible, but instead an ASIC and associated transport / other protocols implemented for the intended application can be utilized.

[0165] It is known that a network entity has a trust state associated with it. The trust state can have various states within a range of states where the trust state is a trust state, an untrust state, or an uncertain or undeterminable trust state. The method and filter of the present invention are beneficial because the trust state of network participants does not need to be evaluated. Although there may be only a single other network participant, in many cases and applications of the present invention, there are actually multiple participants, thereby providing a participant selection pool, each of which is able to receive an end date query from the first network participant. The participant pool will typically include trusted participants and untrusted participants. In the selection phase of the present invention, there is no distinction between these trusted participants and untrusted participants, and the selection of network participants occurs before the trust state of the network participant is established or the trust state is actually unknown (i.e., when the trust station information is unknown). Ultimately, the network selection of other participants is blind to the trust state of the network participant options (participants in the participant pool). It can therefore be understood that network participants are selected without considering any trust state associated with other network participants. Therefore, it is not necessary to trust all possible other network participants (for example, as in the case of a private network), which does not require trust state checks for all possible other network participants.

[0166] This exclusion of trust status checking relieves valuable processing power that is typically provided to such trust status analysis or whitelist or blacklist implementations. Thus, it can be said that the filter selects network participants from other network participants independently of their trust status. Again, another network participant that successfully provides a first query response to a first network participant will be selected as the selected network participant (regardless of its trust status).

[0167] In the case of creating a network path between the first network participant and the selected network participant that is subsequently determined to be an untrusted entity, the network will not be able to create any further paths with any further network participants. In the case of determining that a network participant is untrusted, the calculation on the first participant side (client side) will be restarted. Specifically, the following method steps are performed:

[0168] a. Terminate the network data path;

[0169] b. restarting the computation associated with the first network participant; and

[0170] c. Return the method to the selection phase.

[0171] However, in alternative embodiments of the present invention, no such subsequent trust status check need be performed, and the termination step, restart step, and recovery back to selection phase step may be performed after each path is created.

[0172] Ultimately, the separation of the current application achieves separation of negotiation and selection control from the client-side computing (e.g., operating system). Compared to other known methods of implementing client-side firewall functions, the methods and filters of this application do not rely on any details of the client, nor do they require any degree of trust or reliance on the software on the client device to function properly.

Claims

1. A method for creating a network data path via a network filter, the method comprising: The network filter includes a selection phase and an operation phase. The selection phase includes: transmitting at least one query data packet between the first network participant and at least one other network participant of a plurality of other network participants via the network filter over the network; receiving at least one query data packet response from said at least one other network participant via said network filter; selecting another network participant from the plurality of other network participants to switch from the selection phase to the operation phase, the operation phase comprising: establishing a network data path between the first network participant and the selected network participant, and prohibiting further establishment of additional network data paths between the first network participant and any other unselected network participants, wherein the first network participant is prohibited from transmitting any other query data packets on the network to any unselected network participant, Wherein selecting the other network participants to provide the selected network participant occurs independently of any determination of a trust status of the other network participants.

2. The method according to claim 1, wherein: The other network participants providing a first query data packet response to be received by the first network participant are selected as the selected network participants.

3. The method according to claim 1, wherein: The selected network participants are selected according to a predetermined protocol sequence.

4. The method according to claim 1, wherein: Only a single network participant is selected as the selected network participant, and only a single network data path is created between the first network participant and the selected network participant.

5. The method according to claim 1, wherein: Passing of the at least one query data packet response from other network participants via the network filter is permitted according to predetermined selection criteria.

6. The method according to claim 5, comprising: At least one query data packet response is examined to identify compliance with the predetermined selection criteria.

7. The method according to claim 5, wherein: The predetermined selection criteria include responses from predetermined recipients and / or at least one response type criterion from a predetermined set of response type criteria.

8. The method according to claim 7, wherein: The response type criteria include one or more of the following: a) Grouping type, b) comply with the expected version agreement; and c) compatibility of the response with respect to the query.

9. The method according to claim 1, wherein: During the operation phase, data transfer or packet transfer along the network data path between the first network participant and the selected network participant and vice versa is exclusive.

10. The method according to claim 1, wherein: The selection of the other network participants to provide the selected network participant is implemented at the IP packet layer.

11. The method according to claim 1, wherein: Before the query data packet is sent, an IP address is determined for the predetermined at least one other network participant.

12. The method according to claim 11, wherein: In the selection phase, the at least one query requires a DNS resolution of the IP address of the at least one other network participant.

13. The method according to claim 12, wherein: The DNS resolution is performed by allowing communication with at least one DNS server.

14. The method according to claim 12, wherein: During the operational phase, all DNS queries are directed to the selected network participants.

15. The method according to claim 12, wherein: When establishing a network data path, subsequent DNS queries are disabled.

16. The method according to claim 1, wherein: The network data path includes a VPN tunnel, at least a portion of which passes through the network filter.

17. The method according to claim 1, wherein:The operation phase includes a cool-down period during which creation of further network data paths between the first network participant and any unselected other network participants is prohibited.

18. The method according to claim 17, wherein: Upon expiration of the cool down period, the network filter reverts from the operating phase back to the selecting phase.

19. The method according to claim 17, wherein: The cool down period is terminated by receiving a signal from the first network participant.

20. The method according to claim 1, wherein: In the operation phase, a first data traffic type and a second data traffic type are provided, wherein the network filter is configured to allow forwarding of the first data traffic type along a first data path and forwarding of the second data traffic type along a second data path.

21. The method according to claim 1, wherein: The query data packet includes information regarding one or more protocol types to be communicated between the first network participant and the selected network participant.

22. The method according to claim 21, wherein: A first protocol type is provided before receiving the query data packet response, and a second protocol type is provided after receiving the query data packet response.

23. The method according to claim 22, wherein: The second protocol type includes a new protocol different from the first protocol type, a combination of a new protocol phase and a new protocol, or a completely new protocol phase.

24. The method according to any one of claims 1 to 23, wherein: Creating an additional network data path between the first network participant and any unselected network participants is dependent upon an additional specified protocol standard.

25. The method of claim 1, wherein: After establishing the network data path and upon determining a termination trigger, the method further comprises: a) terminating the network data path; b) restarting a computation associated with said first network participant; and c) The method reverts back to the selection phase.

26. The method according to claim 25, wherein: The termination trigger includes the selected network participant being determined to be an untrusted network participant.

27. A network filter, comprising a selection phase and an operation phase, the network filter comprising: at least one processing unit; as well as A computer readable medium comprising computer executable instructions which, when executed by the at least one processing unit, cause the network filter to: transmitting at least one query data packet between the first network participant and at least one other network participant of the plurality of other network participants; allowing receipt of at least one query data packet response from said at least one other network participant, selecting at least one selected network participant from among the plurality of other network participants to switch from the selection phase to the operation phase, During the operation phase: creating a network data path between the first network participant and the at least one selected network participant; and prohibiting the creation of a network data path between the first network participant and any unselected network participant, wherein the first network participant is prohibited from transmitting any other query data packets to any unselected network participants on the network, Wherein the network filter is configured to select the other network participants independently of any determination of a trust status of the other network participants.

28. The network filter of claim 27, further configured to create a network data path between the first network participant and the other network participants providing a first query data packet response to be received by the first network participant.

29. The network filter of claim 27, wherein: The computer executable instructions specify a predetermined protocol sequence to be implemented.

30. The network filter of claim 27, wherein: The network data path includes a secure VPN tunnel that enables a data connection between the first network participant and the at least one selected network participant.

31. The network filter of claim 27, comprising a timing device for determining a cool-down period for the network data path.

32. The network filter of claim 31 , comprising a reset mechanism to restore the network filter back to a selection phase if the timing device indicates that a determined cool-down period has expired.

33. The network filter of claim 31, comprising a reset mechanism to restore the network filter back to a selection phase upon receipt of a termination trigger.

34. The network filter of claim 33, wherein: The termination trigger comprises a signal from the first network participant or a determination that a selected network participant is not trusted.

35. The network filter of claim 27, comprising a comparator for comparing query data packets according to a predetermined selection criterion and outputting a comparison output.

36. The network filter of claim 35, comprising means for being configured to pass or block the query data packet response based on the comparison output.

37. An electronic device comprising the network filter according to any one of claims 27 to 36.

38. A server comprising a network filter according to any one of claims 27 to 36.

39. A network communication gateway comprising a network filter according to any one of claims 27 to 36.

40. A network comprising a network filter according to any one of claims 27 to 36.