fbpx

What does stateful or stateless refer to?

Stateless: The host is configured using RA (Router Advertisement) messages that include the information necessary to configure the link.

Stateful: They use a DHCPv6 server similar to the automatic configuration used in IPv4. The process starts when there are no RA messages from any router or when the host has been configured to do so.

In the context of a MikroTik firewall, these terms describe two different modes of operation that determine how packets are managed and processed.

Stateful Firewall

A stateful firewall, like the one found in MikroTik RouterOS, is capable of keeping track of the state of network connections. This means you can inspect incoming and outgoing traffic and keep track of the status of each connection, such as established connections, connections in the process of establishing or closing, and connections already closed.

Operation: When a packet arrives at the firewall, it verifies whether it corresponds to an already established connection or if it is part of a new connection in the process of being established. The firewall uses this information about the connection state to make decisions about whether to allow, block, or filter traffic based on predefined rules.

Advantages: A stateful firewall is smarter and more efficient at handling network traffic, as it can make decisions based on the context of the connection in progress. This allows for greater security and control over incoming and outgoing traffic.

Stateless Firewall

On the other hand, a stateless firewall, as its name implies, does not keep track of the state of network connections. Instead, each packet is filtered independently without regard to its relationship to other packets.

Operation: Each packet arriving at the firewall is evaluated individually according to defined filtering rules. There is no consideration of the state of the connection or the context of the communication.

Advantages: Stateless firewalls are typically simpler and less resource-demanding, as they do not require maintaining state tables for each connection. They are suitable for environments where fast and basic filtering of network traffic is needed.

Conclusion

In summary, while a stateful firewall is more sophisticated and capable of making more informed decisions based on the state of connections, a stateless firewall is lighter and may be better suited for environments where quick and simple filtering of traffic is needed. network. The choice between one or the other will depend on the specific security and performance requirements of the network in question.

There are no tags for this post.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011