what is the difference between state full inspection and deep packet inspection ?

what is the difference between state full inspection and deep packet inspection ?


thanks !!!
LVL 1
NAMEWITHELD12Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

masnrockCommented:
SPI basically inspects to see whether the packet is part of a valid session. For example, if I try to send a packet to try to terminate a session that doesn't exist, this will get rejected. Because it checks so much less than DPI does, it is a lot less taxing on the firewall's hardware. However, it is far less secure.

DPI looks a lot deeper into packets to get an idea of whether the packet is valid for acceptance. As pointed out, this requires a lot more processing power. However, because the firewall is being more finicky about what it allows through, it is also the far more secure way to go.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
atlas_shudderedSr. Network EngineerCommented:
Simple answer:

Stateful inspection confirms that traffic is part of a legitimate SYN/ACK session.  Uses a session table to track outbound SYN requests and only allows return traffic that corresponds to these known requests.  Used to combat the following:

1. SYN Flood attacks by actively tracking sessions and automatically closing orphaned embryonic sessions
2. Gratuitous ACK attempts against internal hosts wherein an attack generates crafted ACK packets against a host in the effort to illicit a bogus session response or resource flood.

Deep Packet Inspection takes the above to the next level by doing at least one and sometimes two main things:

1. - Always - Inspects each packet to insure it complies with RFC standards.  Used to counter attackers attempts to inject malformed packets
2. - Sometimes - Inspects actual payload to insure the packet doesn't contain malicious content in payload (malware/sploit/etc.).  This is usually found with beefier boxes that are making use of sandboxing and application level inspections.

Easy Peasy.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software Firewalls

From novice to tech pro — start learning today.