0% found this document useful (0 votes)
4 views8 pages

Understanding Firewalls and IPS

The document provides an overview of network security devices, including firewalls, intrusion prevention systems (IPS), proxy servers, and network redundancy. It explains the functionality and types of firewalls, the operation of IPS, and the benefits of network redundancy for business continuity and security. Additionally, it discusses network load balancing and congestion avoidance mechanisms like Random Early Detection (RED).

Uploaded by

HollyD Lyrics
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views8 pages

Understanding Firewalls and IPS

The document provides an overview of network security devices, including firewalls, intrusion prevention systems (IPS), proxy servers, and network redundancy. It explains the functionality and types of firewalls, the operation of IPS, and the benefits of network redundancy for business continuity and security. Additionally, it discusses network load balancing and congestion avoidance mechanisms like Random Early Detection (RED).

Uploaded by

HollyD Lyrics
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Firewall—A firewall is a network security device, either hardware or

software-based, which monitors all incoming and outgoing traffic and


based on a defined set of security rules it accepts, rejects or drops that
specific traffic.
Accept : allow the traffic
Reject : block the traffic but reply with an “unreachable error”
Drop : block the traffic with no reply
A firewall establishes a barrier between secured internal networks and
outside untrusted network, such as the [Link] order to secure the
internal network from unauthorized traffic, we need a [Link] traffic
which reaches on the firewall is one of these three major Transport Layer
protocols- TCP, UDP or ICMP. All these types have a source address and
destination address. Also, TCP and UDP have port numbers. ICMP uses
type code instead of port number which identifies purpose of that packet.
Working way——The firewall works on the filtering mechanism. Firewall
match the network traffic against the rule set defined in its table. Once the
rule is matched, associate action is applied to the network traffic. From the
perspective of a server, network traffic can be either outgoing or incoming.
Firewall maintains a distinct set of rules for both the cases. Mostly the
outgoing traffic, originated from the server itself, allowed to pass. Still,
setting a rule on outgoing traffic is always better in order to achieve more
security and prevent unwanted [Link] traffic is treated
differently. Most traffic which reaches on the firewall is one of these three
major Transport Layer protocols- TCP, UDP or ICMP. All these types have a
source address and destination address. Also, TCP and UDP have port
numbers. ICMP uses type code instead of port number which identifies
purpose of that packet.
Default policy: It is very difficult to explicitly cover every possible rule on
the firewall. For this reason, the firewall must always have a default policy.
Default policy only consists of action (accept, reject or drop).Suppose no
rule is defined about SSH connection to the server on the firewall. So, it
will follow the default policy. If default policy on the firewall is set to
accept, then any computer outside of your office can establish an SSH
connection to the server. Therefore, setting default policy as drop (or
reject) is always a good practice.
Types— [Link] firewall: It is a physical [Link] can be installed
between the modem and [Link] can be incorporated into a
broadband router being used to share the internet [Link] protects
the entire [Link] more expensive and harder to configure.
Ex—Cisco pix,Netscreen etc.
[Link] firewall: It is a software [Link] is installed onto the
computer system that you wish to [Link] protects a single
[Link] is usually the computer with modem attached to [Link]
less expensive and easy to configure.
Ex—Norton internet security

Generation of Firewall—
Firewalls can be categorized based on its generation.
First Generation- Packet Filtering Firewall : Packet filtering firewall is used
to control network access by monitoring outgoing and incoming packet
and allowing them to pass or stop based on source and destination IP
address, protocols and ports. It analyses traffic at the transport protocol
layer (but mainly uses first 3 layers).
Packet firewalls treat each packet in isolation. They have no ability to tell
whether a packet is part of an existing stream of traffic. Only It can allow or
deny the packets based on unique packet [Link] filtering firewall
maintains a filtering table which decides whether the packet will be
forwarded or discarded. From the given filtering table, the packets will be
Filtered according to following rules:

Incoming packets from network


[Link] are blocked.
Incoming packets destined for internal TELNET server (port 23) are
blocked.
Incoming packets destined for host [Link] are blocked.
All well-known services to the network [Link] are allowed.
Third Generation- Application Layer Firewall : A proxy firewall provides
security by controlling the information going in and out of the network.
Proxy firewall has its own IP (internet protocol) address so that internal
network never makes a direct connection with outside internet. Since it
monitors information at the application level, it is also known as
application [Link] proxy firewall handles requests from the internal
network :
The proxy firewall acts as intermediary between trusted internal network
and outside internet.
If computers in internal network wish to make a connection with outside
internet, they first communicate with the [Link] then forwards data
from internal network to the internet and sends data received from
internet to internal [Link] this way the proxy firewall shields internal
network from intruders in the outside internet and prevents direct
connections between internal network and internet.
Note: Application layer firewalls can also be used as Network Address
Translator(NAT).
**HTTP(protocol for sending and receiving web pages), SMTP(protocol for
email messages on the internet).

IPS(Intrusion Prevention System)—An intrusion prevention system


(IPS) is a network security and threat prevention tool.
An IPS is used to identify malicious activity, record detected threats, report
detected threats and take preventative action to stop a threat from doing
damage. An IPS tool can be used to continually monitor a network in real
[Link] are a number of different threats that an IPS is designed to
prevent, including Denial of Service (DoS) attack,Distributed Denial of
Service (DDoS) attack,Various types of exploits,Worms,Viruses.
How it works: An intrusion prevention system is placed inline, in the flow
of network traffic between the source and destination, and usually sits just
behind the firewall.
The following are three common approaches for an IPS tool to protect
networks:
[Link]-based detection-in which the IPS tool uses previously defined
attack signatures of known network threats. When an attack is initiated
that matches one of these signatures or patterns, the system takes
necessary action.
[Link]-based detection-in which the IPS searches for unexpected
network behavior and blocks access to the host if an anomaly is detected;
and
[Link]-based detection- in which the IPS first requires administrators to
make security policies -- when an event occurs that breaks a defined
security policy, an alert is sent to system administrators.
Intrusion Prevention System (IPS) is classified into 4 types:
[Link]-based intrusion prevention system (NIPS): It monitors the entire
network for suspicious traffic by analyzing protocol activity.
[Link] intrusion prevention system (WIPS): It monitors a wireless
network for suspicious traffic by analyzing wireless networking protocols.
[Link] behavior analysis (NBA): It examines network traffic to identify
threats that generate unusual traffic flows, such as distributed denial of
service attacks, specific forms of malware and policy violations.
[Link]-based intrusion prevention system (HIPS): It is an inbuilt software
package which operates a single host for doubtful activity by scanning
events that occur within that host.
Proxy server: A proxy server is a dedicated computer or a software
system running on a computer that accepts the incoming requests from
the client and forwards those requests to the destination server. It works
as a gateway between the end-user and the internet. It has its own IP
[Link] other words, we can say that the proxy server allows us to
access any websites with a different IP [Link] most important point
about a proxy server is that it does not encrypt traffic.
How proxy servers work: When a proxy server receives a request for an
Internet resource (such as a Web page), it looks in its local cache of
previously pages. If it finds the page, it returns it to the user without
needing to forward the request to the Internet. If the page is not in the
cache, the proxy server, acting as a client on behalf of the user, uses one of
its own IP addresses to request the page from the server out on the
Internet. When the page is returned, the proxy server relates it to the
original request and forwards it on to the user. **The most popular
reverse proxies are Varnish and Squid.
Advantages: 1. It improves the security and enhances the privacy of the
user. 2. It hides the identity (IP address) of the user. [Link] controls the traffic
and prevents crashes. [Link] our network from malware. [Link]
access to the restricted content.

Network redundancy—Network redundancy is a process for


implementing alternative devices, pathways and other components to a
business's network. Some professionals call network redundancy a disaster
recovery plan because it helps them strengthen various aspects of the
network to minimize the chances of errors, damage or shutdowns.
Benefits: 1. Improves business continuity— Implementing a network
redundancy plan allows businesses to protect their data from network
failures. Network redundancy plan provides alternate network device or
connection that helps when the network failure occurs to keep the
business [Link] backup mechanisms ensure businesses can continue
serving customers.
[Link] time and money— Unforeseen network failures can cost
businesses directly and indirectly by increasing the time and financial
resources they spend fixing the network failure. Network redundancy help
not to spend extra money and time.
[Link] network uptime— Network uptime refers to how long a business's
network remains [Link] redundancy has backup mechanisms
that allow to run business for a long time
4. Improves company security—Network redundancy helps protect a
company against physical damage to a [Link] also can better protect
an organization from cybersecurity threats with network redundancy
because they allow businesses to store data in secure clouds.

Network Load Balancer—The Network Load Balancing (NLB) feature


distributes traffic across several servers by using the TCP/IP networking
[Link] load balancer ensures that servers are not overworked, and
redirects traffic to healthy servers when a single server goes
[Link] Load Balancers use variables such as destination ports and
IP addresses to distribute traffic. They function on OSI Layer [Link] second
a Network Load Balancer handles up to millions of requests.
**NLB does not support Dynamic Host Configuration Protocol (DHCP). NLB
disables DHCP on each interface that it configures.
RED: It is a congestion avoidance [Link] router notices
that the queue is getting backlogged and then randomly drops
packets to avoid congestion.
The main three goals of RED are
[Link] of congestion
2. avoidance of global synchronization
[Link] of lockout

Common questions

Powered by AI

Intrusion Prevention Systems (IPS) use three main approaches to detect and prevent network threats: Signature-based detection, Anomaly-based detection, and Policy-based detection. Signature-based detection involves using predefined signatures of known threats to match each network event against these patterns, triggering action when a match is found. Anomaly-based detection identifies threats by detecting deviations from normal network behavior, blocking access if an anomaly is detected. Finally, Policy-based detection requires predefined security policies, alerting administrators when events violate these policies. The IPS is typically positioned inline within the network traffic flow, allowing it to actively block observed threats .

An Intrusion Prevention System (IPS) is different from a traditional firewall conceptually and functionally. While firewalls establish a barrier by filtering traffic based on predetermined rules to accept or reject packets, IPS actively analyzes traffic patterns to detect and prevent threats. IPS goes beyond filtering; it can stop malicious activity by blocking packets in real-time based on threat detection signatures, anomalies, and policy violations. Additionally, IPS provides continuous monitoring and logging of threats, whereas firewalls primarily focus on access control .

Using a Network Load Balancer (NLB) would be more advantageous in scenarios where distributing traffic efficiently across multiple servers is crucial to prevent overloading any single resource. An NLB helps maintain service availability and performance by balancing the traffic load, ensuring that no server becomes a bottleneck. This can be particularly beneficial for high-traffic applications requiring extensive processing capacity. In contrast, network redundancy primarily focuses on backup paths or devices to ensure continuity during network failures, rather than optimizing traffic distribution across active systems .

Proxy firewalls, or application layer firewalls, provide enhanced security by acting as intermediaries between internal networks and external connections, preventing direct connections between them. Unlike traditional packet-filtering firewalls, proxy firewalls can inspect the data at the application level, which allows them to control the information passing through more precisely. This method helps in shielding internal networks from potential outside intruders. Proxy firewalls can also perform additional functions like Network Address Translation (NAT), which further hides the internal network topology from external observers .

Setting default firewall policies without detailed rule definitions can lead to several challenges, primarily concerning security vulnerabilities. If the default policy is set to 'accept', unauthorized access can be unintentionally permitted, leading to potential security breaches. Even if set to 'reject' or 'drop', legitimate traffic might be blocked if specific allowances are not defined, which could disrupt regular business operations. Such scenarios necessitate a balance between security and usability, where overly generic policies can either expose networks to threats or hinder necessary communications .

A firewall enhances network security by using a rule-based filtering mechanism to monitor and control incoming and outgoing network traffic. It establishes a barrier between a secured internal network and an untrusted external network, such as the Internet. The firewall evaluates traffic against a predefined set of security rules to decide whether to accept, reject, or drop the specific traffic. Acceptance allows traffic through, rejection blocks traffic while sending an error reply, and dropping blocks traffic silently. This process protects the internal network from unauthorized access and potential security threats. The firewall works primarily with the three major Transport Layer protocols: TCP, UDP, and ICMP, each of which has unique identifiers like port numbers or type codes. Furthermore, the firewall can implement default policies to manage unspecified traffic types, usually set to reject or drop by default to maximize security .

Network redundancy strategies contribute to business continuity by providing alternative network devices, pathways, and connections, which help maintain network service during failures. This ensures the business operations continue without significant downtime. Such strategies also enhance security by protecting against physical damages to the network and preventing cybersecurity threats. Redundancy allows data to be stored securely in clouds, which safeguards sensitive information from network failures and cyber attacks .

A proxy server enhances user privacy and network security by acting as an intermediary between users and the internet. It hides the user's IP address, masking their identity while accessing websites, which increases privacy. By controlling and managing data traffic, proxy servers can filter unwanted content, block harmful sites, and prevent direct access to potentially malicious sites, thereby improving network security. Additionally, proxy servers can cache frequently accessed web pages to improve response times and reduce network congestion .

Hardware firewalls are physical devices installed between the modem and the network, often incorporated into broadband routers that protect the entire network. They are typically more expensive and harder to configure than software firewalls. In contrast, software firewalls are installed on individual computers to protect a single device and are generally less expensive and easier to configure. Hardware firewalls are ideal for securing a whole network, while software firewalls are sufficient for individual device protection .

The main limitations of a first-generation packet filtering firewall are its inability to track stateful connections and its compartmentalized view of network traffic. It treats each packet in isolation, without context of whether a packet is part of an existing stream of traffic, which can lead to ineffective filtering for connections relying on multi-packet transactions. It can only make decisions based on information in the packet headers, like source and destination IP addresses, protocols, and ports, not on the packet payload or its behavior over time. This makes it less effective at filtering complex traffic patterns .

You might also like