Firewall, IDS, IPS concepts

 

🔥 Firewall, IDS, IPS Concepts

These are essential network security technologies used to protect systems from cyber attacks.


🛡️ 1️⃣ Firewall


📘 What is a Firewall?

A Firewall is a network security device (hardware or software) that monitors and controls incoming and outgoing network traffic based on predefined security rules.

It acts as a barrier between trusted and untrusted networks.


🎯 Purpose

  • Block unauthorized access

  • Allow legitimate traffic

  • Protect internal network

  • Prevent external attacks


⚙️ How Firewall Works

Firewall checks:

  • IP address

  • Port number

  • Protocol (TCP/UDP)

  • Packet contents (advanced firewalls)

If traffic matches allowed rules → permitted
If not → blocked


📊 Types of Firewalls

1️⃣ Packet Filtering Firewall

  • Basic filtering

  • Checks IP and port

  • Fast but less secure

2️⃣ Stateful Inspection Firewall

  • Tracks active connections

  • More secure than packet filtering

3️⃣ Proxy Firewall

  • Acts as intermediary

  • Hides internal IP addresses

4️⃣ Next-Generation Firewall (NGFW)

  • Deep packet inspection

  • Application-level filtering

  • Intrusion prevention

  • Malware protection


🔥 Advantages

  • First line of defense

  • Easy to configure

  • Protects entire network


⚠ Limitations

  • Cannot detect internal threats

  • Cannot stop social engineering

  • Limited against advanced attacks


🕵️ 2️⃣ IDS (Intrusion Detection System)


📘 What is IDS?

An Intrusion Detection System (IDS) is a security system that monitors network or system activities and detects suspicious or malicious behavior.

It only detects and alerts — it does NOT block attacks.


🎯 Purpose

  • Identify potential attacks

  • Alert administrators

  • Monitor network traffic


📊 Types of IDS

1️⃣ Network-Based IDS (NIDS)

Monitors entire network traffic.

2️⃣ Host-Based IDS (HIDS)

Installed on individual systems.


🔎 Detection Methods

🔹 Signature-Based Detection

Detects known attack patterns.

🔹 Anomaly-Based Detection

Detects unusual behavior.


🛑 Limitation

  • Cannot block attacks

  • May generate false positives


🚫 3️⃣ IPS (Intrusion Prevention System)


📘 What is IPS?

An Intrusion Prevention System (IPS) is an advanced security system that detects and automatically blocks malicious traffic.

It is an upgraded version of IDS.


🎯 Purpose

  • Detect attacks

  • Block malicious traffic

  • Prevent network intrusion


⚙️ How IPS Works

IPS:

  1. Monitors network traffic

  2. Analyzes data packets

  3. Detects suspicious activity

  4. Automatically blocks or drops malicious packets


📊 Types of IPS

1️⃣ Network IPS (NIPS)

Protects entire network.

2️⃣ Host IPS (HIPS)

Protects individual system.


🔥 Advantages

  • Real-time protection

  • Automatic response

  • Prevents zero-day exploits (with anomaly detection)


📊 Firewall vs IDS vs IPS Comparison

FeatureFirewallIDSIPS
Filters trafficYesNoYes
Detects attacksLimitedYesYes
Blocks attacksYesNoYes
Generates alertsLimitedYesYes
Automatic preventionBasicNoYes

🔄 How They Work Together

Best security setup:

Internet → Firewall → IPS → Internal Network
IDS monitors traffic and alerts administrators.

Layered security = Strong protection.


🎓 Short Exam Definition

A Firewall controls network traffic based on security rules, an IDS detects suspicious activity and alerts administrators, and an IPS detects and automatically blocks malicious traffic to prevent attacks.


🔥 Important Keywords

  • Packet Filtering

  • Stateful Inspection

  • Deep Packet Inspection

  • Signature-Based Detection

  • Anomaly Detection

  • Network Monitoring

  • Intrusion Prevention

Comments

Popular posts from this blog

Introduction to Computer

History of Computer

Computer Generation