Patent ID: 12199951

DETAILED DESCRIPTION

The description below provides methods, computer program products, and systems for providing a firewall with containerization in an embedded networking device.

One of ordinary skill in the art will recognize many additional variations made possible by the succinct description of techniques below.

I. Systems for Embedded Firewall Containerization (FIGS.1-2)

FIG.1is a block diagram illustrating a system100for providing a firewall with containerization in an embedded networking device, according to an embodiment. The system100includes a network gateway110, an access point120and a station130, coupled to a data communication network199. Many other configurations are possible, for example, with additional network components such routers, switches, repeaters, firewalls, and the like. Also, there can be many more or fewer clients inFIG.1. The system components can be implemented in computer devices with non-transitory source code, such as set forth below with reference toFIG.4.

The components of the system100are coupled in communication over the data communication network. The components can be connected to the data communication system via hard wire. The data communication network199can be any data communication network such as an SDWAN, an SDN (Software Defined Network), WAN, a LAN, WLAN, a cellular network (e.g., 3G, 4G, 5G or 6G), or a hybrid of different types of networks. Various data protocols can dictate format for the data packets. For example, Wi-Fi data packets can be formatted according to IEEE 802.11, IEEE 802.11r, and the like.

The network gateway110spawns containerized firewalls to protect the private network from malicious traffic. In the case of a security breach, compromised components from the container will be isolated and have much less chance of affecting the network gateway110or other network components.

A Linux-based software stack includes Lightweight Linux Container (LXC), an open source service using either virtualized or physical network interfaces to inspect traffic at the operating system level within the Linux kernel. An LXC runtime consists of tools, templates and library and language bindings. The LXC combines the kernel's cgroups and support for isolated namespaces to provide an isolated environment for firewalls, and other applications. Containers share the same kernel with anything else that is running on it, but can be constrained to only use a defined amount of resources such as CPU, memory or I/O. By combining containers with other features like the Btrfs file system or the Open vSwitch, it will be possible to quickly set up multiple lightweight isolated Linux instances with their own virtual network segment on a single host. In other embodiments, a Linux container hypervisor (LXD) is utilized, an open source container management extension for LXC. In still other embodiments, containers can be similar to hypervisors by VMware and application containers by Docker, as non-limiting examples. Full-fledged virtual machines are not needed and thus LXC allows more efficient virtualization.

More generally, the network device110can have many services including a firewall service. Network traffic is scanned for malicious signatures, for instance, by comparing hashes of data packets to hashes stored in an exploit signature database. More detailed examples of the network gateway110are discussed further below.

The access point120is downstream from the network device110and manages wireless stations even further downstream. Traffic inspected by containers also passes through the access point120. In some embodiments, the access point120also participates in scanning and other security actions. The station140communicates with resources on the data communication network199as an endpoint on the private network.

FIG.2is a more detailed block diagram illustrating an opportunistic key generation module110of the file sharing system ofFIG.1, according to an embodiment. The opportunistic key engine110includes a PMK-RO key failure detector210, an embedded firewall220, a PMK-R1 key generator230, and a PTK key generator240. The modules can be implemented in source code stored in non-transitory memory executed by a processor. Alternatively, the modules can be implemented in hardware with microcode. The modules can be singular or representative of functionality spread over multiple components. Many other variations are possible.

The container manager210can spawn a new container in the operating system of the embedded networking device to execute a firewall separate from an operating system of a host device. Resources are partitioned for sharing between a pool of containers. In order to inspect network traffic from the host, there are multiple options available. Virtual interfaces, such as VETH, MACVLAN, could be used to redirect traffic from host to the container. To obtain the best performance, host networking mode can also be used. With host networking mode, the container shares the same network interfaces as the host without any virtualization cost.

Custom kernel modules are generally not allowed inside a container. But with the proper permissions, the container can use iptables/nftables rules to enforce firewall policies in kernel level. To do content based deep packet inspection, netfilter-queue or XDP (eXpress Data Path) can be used to redirect network packets to the user space and apply deep scanning, such as SSL/TLS deep inspection, IPS, AntiVirus, Web Filtering, etc.

Each of the containers is generated by a separate toolchain to include custom runtime libraries. The firewall utilizes the custom libraries rather than the host libraries. User privileges within a container is different from user privileges for the host.

The embedded firewall module220executes the firewall to inspect data packets processed by the embedded networking device.

II. Methods for Embedded Firewall Containerization (FIG.3)

FIG.3is a high-level flow diagram illustrating a method for providing a firewall with containerization in an embedded networking device, according to one preferred embodiment. The method400can be implemented, for example, by the system100. The steps are merely representative groupings of functionality, as there can be more or fewer steps, and the steps can be performed in different orders. Many other variations of the method300are possible.

At step310, a new container is spawned in the operating system of the embedded networking device to execute a firewall separate from an operating system of a host device. Each of the containers is generated by a separate toolchain to include custom runtime libraries, wherein the firewall utilizes the custom libraries rather than the host libraries, and wherein user privileges within a container is different from user privileges for the host.

At step320, the containers execute firewall instances to inspect data packets processed by the embedded networking device.

III. Generic Computing Environment (FIG.4)

FIG.4is a block diagram illustrating a computing device400capable of implementing components of the system, according to an embodiment. The computing device400, of the present embodiment, includes a memory410, a processor420, a storage drive430, and an I/O port440. Each of the components is coupled for electronic communication via a bus499. Communication can be digital and/or analog and use any suitable protocol. The computing device400can be any of components of the system100(e.g., network device110, access point120, and station130), other networking devices (e.g., an access point, a firewall device, a gateway, a router, or a wireless station), or a disconnected device.

Network applications412(e.g., VM nodes120A-F) can be network browsers, daemons communicating with other network devices, network protocol software, and the like. An operating system414within the computing device400executes software, processes. Standard components of the real OS environment414include an API module, a process list, a hardware information module, a firmware information module, and a file system. The operating system414can be FORTIOS, one of the Microsoft Windows® family of operating systems (e.g., Windows 96, 98, Me, Windows NT, Windows 2000, Windows XP, Windows XP x64 Edition, Windows Vista, Windows CE, Windows Mobile, Windows 6 or Windows 8), Linux, HP-UX, UNIX, Sun OS, Solaris, Mac OS X, Alpha OS, AIX, IRIX32, IRIX64, or Android. Other operating systems may be used. Microsoft Windows is a trademark of Microsoft Corporation.

The storage drive430can be any non-volatile type of storage such as a magnetic disc, EEPROM (electronically erasable programmable read-only memory), Flash, or the like. The storage drive430stores code and data for applications.

The I/O port440further comprises a user interface442and a network interface444. The user interface442can output to a display device and receive input from, for example, a keyboard. The network interface444(e.g., an RF antennae) connects to a medium such as Ethernet or Wi-Fi for data input and output. Many of the functionalities described herein can be implemented with computer software, computer hardware, or a combination.

Computer software products (e.g., non-transitory computer products storing source code) may be written in any of various suitable programming languages, such as C, C++, C#, Oracle® Java, JavaScript, PHP, Python, Perl, Ruby, AJAX, and Adobe® Flash®. The computer software product may be an independent application with data input and data display modules. Alternatively, the computer software products may be classes that are instantiated as distributed objects. The computer software products may also be component software such as Java Beans (from Sun Microsystems) or Enterprise Java Beans (EJB from Sun Microsystems). Some embodiments can be implemented with artificial intelligence.

Furthermore, the computer that is running the previously mentioned computer software may be connected to a network and may interface with other computers using this network. The network may be on an intranet or the Internet, among others. The network may be a wired network (e.g., using copper), telephone network, packet network, an optical network (e.g., using optical fiber), or a wireless network, or any combination of these. For example, data and other information may be passed between the computer and components (or steps) of a system of the invention using a wireless network using a protocol such as Wi-Fi (IEEE standards 802.11, 802.11a, 802.11b, 802.11e, 802.11g, 802.11i, 802.11n, and 802.11ac, just to name a few examples). For example, signals from a computer may be transferred, at least in part, wirelessly to components or other computers.

In an embodiment, with a Web browser executing on a computer workstation system, a user accesses a system on the World Wide Web (WWW) through a network such as the Internet. The Web browser is used to download web pages or other content in various formats including HTML, XML, text, PDF, and postscript, and may be used to upload information to other parts of the system. The Web browser may use uniform resource identifiers (URLs) to identify resources on the Web and hypertext transfer protocol (HTTP) in transferring files on the Web.

The phrase “network appliance” generally refers to a specialized or dedicated device for use on a network in virtual or physical form. Some network appliances are implemented as general-purpose computers with appropriate software configured for the particular functions to be provided by the network appliance; others include custom hardware (e.g., one or more custom Application Specific Integrated Circuits (ASICs)). Examples of functionality that may be provided by a network appliance include, but is not limited to, layer 2/3 routing, content inspection, content filtering, firewall, traffic shaping, application control, Voice over Internet Protocol (VoIP) support, Virtual Private Networking (VPN), IP security (IPSec), Secure Sockets Layer (SSL), antivirus, intrusion detection, intrusion prevention, Web content filtering, spyware prevention and anti-spam. Examples of network appliances include, but are not limited to, network gateways and network security appliances (e.g., FORTIGATE family of network security appliances and FORTICARRIER family of consolidated security appliances), messaging security appliances (e.g., FORTIMAIL family of messaging security appliances), database security and/or compliance appliances (e.g., FORTIDB database security and compliance appliance), web application firewall appliances (e.g., FORTIWEB family of web application firewall appliances), application acceleration appliances, server load balancing appliances (e.g., FORTIBALANCER family of application delivery controllers), vulnerability management appliances (e.g., FORTISCAN family of vulnerability management appliances), configuration, provisioning, update and/or management appliances (e.g., FORTIMANAGER family of management appliances), logging, analyzing and/or reporting appliances (e.g., FORTIANALYZER family of network security reporting appliances), bypass appliances (e.g., FORTIBRIDGE family of bypass appliances), Domain Name Server (DNS) appliances (e.g., FORTIDNS family of DNS appliances), wireless security appliances (e.g., FORTIWIFI family of wireless security gateways), FORIDDOS, wireless access point appliances (e.g., FORTIAP wireless access points), switches (e.g., FORTISWITCH family of switches) and IP-PBX phone system appliances (e.g., FORTIVOICE family of IP-PBX phone systems).

This description of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form described, and many modifications and variations are possible in light of the teaching above. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications. This description will enable others skilled in the art to best utilize and practice the invention in various embodiments and with various modifications as are suited to a particular use. The scope of the invention is defined by the following claims.