Better HN
topnewbestaskshowjobs
Log inSign up

ocochard

8 karma · joined May 11, 2017 (9y ago) · 2 submissions

Sr SW Engineer, Netflix Open Connect CDN working on tests
Submissions

comment 2y ago · link · parent

FOSDEM doesn’t want BSD anymore

comment 3y ago · link · parent

What's the point of using a stateful firewall in front of a server ?

The concept of stateful firewall was created to protect clients:

1. Clients initiate flow toward the dangerous wild Internet;

2. The stateful firewall check that returning traffic from dangerous-Internet belongs to a flow initiated by an inside-client. => So it consumes CPU and RAM (session tables) in exchange of protecting inside-clients from dangerous-Internet.

But using a stateful firewall in front of a server seems useless to me:

1. The inside-server behind the firewall MUST reply to all clients, so the stateful firewall must allow all Internet initiated-sessions to reach the server (no usage of a state table here).

2. When the inside-server replies to the outside-clients, the firewall will then consume CPU and RAM to check its state table. So it will consume resources to guarantee that our inside-serve is correctly replying to the outside-clients.. which is pointless.

This could be useful in rare case when you have a very big firewall able to limit the number of sessions toward your small inside-server.

But in case of a DNS server, that are natively able to generate a large number of packets-per-second UDP traffic, this seems to waste firewall CPU and RAM for this useless state table.