Firewall
Firewall
Firewalls are used in both personal and enterprise settings, and many devices come
with one built-in, including Mac, Windows, and Linux computers. They are widely
considered an essential component of network security.
Uses
Firewalls are used in both corporate and consumer settings. Modern organizations
incorporate them into a security information and event management (SIEM)
strategy along with other cybersecurity devices. They may be installed at an
organization's network perimeter to guard against external threats, or within the
network to create segmentation and guard against insider threats.
In a single home network, a firewall can filter traffic and alert the user to
intrusions. They are especially useful for always-on connections, like Digital
Subscriber Line (DSL) or cable modem, because those connection types use static
IP addresses. They are often used alongside to antivirus applications. Personal
firewalls, unlike corporate ones, are usually a single product as opposed to a
collection of various products. They may be software or a device with firewall
firmware embedded. Hardware/firmware firewalls are often used for setting
restrictions between in-home devices.
The term 'packets' refers to pieces of data that are formatted for internet transfer.
Packets contain the data itself, as well as information about the data, such as where
it came from. Firewalls can use this packet information to determine whether a
given packet abides by the rule set. If it does not, the packet will be barred from
entering the guarded network.
Rule sets can be based on several things indicated by packet data, including:
Their source.
Their destination.
Their content.
Each type in the list examines traffic with higher level of context than the one
before – i.e., stateful has more context than packet-filtering.
Packet-filtering firewalls
When a packet passes through a packet-filtering firewall, its source and destination
address, protocol and destination port number are checked. The packet is dropped
– meaning not forwarded to its destination – if it does not comply with the
firewall's rule set. For example, if a firewall is configured with a rule to
block Telnet access, then the firewall will drop packets destined for Transmission
Control Protocol (TCP) port number 23, the port where a Telnet server application
would be listening.
A packet-filtering firewall works mainly on the network layer of the OSI reference
model, although the transport layer is used to obtain the source and destination port
numbers. It examines each packet independently and does not know whether any
given packet is part of an existing stream of traffic.
This type maintains a table that keeps track of all open connections. When new
packets arrive, it compares information in the packet header to the state table – its
list of valid connections – and determines whether the packet is part of an
established connection. If it is, the packet is let through without further analysis. If
the packet does not match an existing connection, it is evaluated according to the
rule set for new connections.
Although stateful inspection firewalls are quite effective, they can be vulnerable
to denial-of-service (DoS) attacks. DoS attacks work by taking advantage of
established connections that this type generally assumes are safe.
Since this type examines the payload's content, it gives security engineers more
granular control over network traffic. For example, it can allow or deny a specific
incoming Telnet command from a particular user, whereas other types can only
control general incoming requests from a particular host.
When this type lives on a proxy server – making it a proxy firewall -- it makes it
harder for an attacker to discover where the network actually is and creates yet
another layer of security. Both the client and the server are forced to conduct the
session through an intermediary -- the proxy server that hosts an application layer
firewall. Each time an external client requests a connection to an internal server or
vice versa, the client will open a connection with the proxy instead. If the
connection request meets the criteria in the firewall rule base, the proxy firewall
will open a connection to the requested server.
The key benefit of application layer filtering is the ability to block specific content,
such as known malware or certain websites, and recognize when certain
applications and protocols, such as Hypertext Transfer Protocol (HTTP), File
Transfer Protocol (FTP) and domain name system (DNS), are being misused.
Application layer firewall rules can also be used to control the execution of files or
the handling of data by specific applications.
Firewall vendors
Enterprises looking to purchase a firewall should be aware of their needs and
understand their network architecture. There are many different types, features, and
vendors that specialize in those different types. Here are a few reputable NGFW
vendors: