Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Intrusion Prevention System

Direct answer

An intrusion prevention system (IPS) inspects traffic inline and blocks detected attacks automatically, often as part of a next-generation firewall, using signatures and protocol analysis.

When to use this

Use this when blocking detected attacks automatically.

First 30 seconds

1. IPS sits inline and blocks malicious traffic.

2. Risk of blocking legitimate traffic — tune first.

3. Fail-open vs fail-closed decision.

4. Performance sizing.

5. Monitor blocks.

Operational verification

traffic → IPS inline → drop/allow

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Network security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork security
Scope / prerequisiteUse this when blocking detected attacks automatically.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Suricata inline example Narrow the fault
# /etc/suricata/suricata.yaml (excerpt)
nfq:
  mode: accept
# iptables
iptables -I FORWARD -j NFQUEUE --queue-num 0 --queue-bypass
suricata -c /etc/suricata/suricata.yaml -q 0

Documented example, not captured output. Rules with drop actions block; --queue-bypass lets traffic pass if Suricata is not running.

Step 2 Common mistakes Narrow the fault
  • Inline IPS without fail-open/fail-closed decision.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • An IPS sits inline and blocks.
  • It is often part of a next-generation firewall.
  • Tune before blocking.
Key checks
  • suricata -c /etc/suricata/suricata.yaml --af-packet -D (inline/IPS mode) — engine mode
  • IPS block logs — prevented attacks
  • Fail-open/fail-closed setting — availability
ReferenceWhy it matters1 section · depth on demand

Running an IPS safely

  • Start with the vendor's balanced/connectivity policy, not "max detection".
  • Deploy new signatures in alert mode, then block after review.
  • Decide fail-open (availability) vs fail-closed (security) per link, and test it.
  • Monitor latency and CPU; inspect only traffic that needs it.
  • Keep signatures updated automatically.
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

An Intrusion Prevention System (IPS) inspects traffic inline and can block malicious packets or sessions in real time, in addition to alerting. Modern IPS functions are usually part of next-generation firewalls, though standalone IPS platforms and open-source engines (Suricata in IPS mode) exist.

Operating an IPS:

PracticeReason
Start in detection modeLearn false positives before blocking
Enable block for high-confidence signatures firstLimit disruption
Profile per zoneServer-facing profiles differ from user egress
Keep signatures updatedNew exploits appear daily
Decide failure behaviourFail-open (availability) or fail-closed (security)
Monitor performanceInspection adds latency and limits throughput

Virtual patching with IPS signatures can protect unpatched systems temporarily while fixes are deployed.

Fail-open vs fail-closed

ModeOn IPS failureUse when
Fail-open (bypass)Traffic passes uninspectedAvailability matters most
Fail-closedTraffic is droppedSecurity matters more than uptime

Hardware bypass NICs or HA pairs reduce the impact. Test the failure mode during a maintenance window.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork security current

Authoritative/upstream documentation reviewed for bounded claims in IDS / IPS → Intrusion Prevention System. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/94/final · confidence 94%
Confirmation

Confirm action

Continue?