Part of slides provided by J.F Kurose and K.W. Ross, All Rights Reserved Network Security7-1 Chapter 7 Network Security Extra Slides Communication Networks P. Demeester
Network Security7-2 Packet Filtering : example Standard policy : deny all traffic Allow : - access to public web - access to UGent web server and FTP server - access to UGent back-up DNS server - sending and receiving (from/to UGent) - full access between /24 and /24 (except sending from /16 to /24) Internet firewall/ router switch router / / /24 UGent / back-up DNS server UGent server Web en FTP server
Network Security7-3 Packet Filtering : example protocolsourcedestinationports ACCEPTTCP / /01024: > 80 ACCEPTTCP / /1680 -> 1024:65535 ACCEPTTCP / /080 ->1024:65535 ACCEPTTCP / /321024: > 80 ACCEPTTCP / /020 -> 1024:65535 ACCEPTTCP / /321024: > 20 ACCEPTTCP / /021 -> 1024:65535 ACCEPTTCP / /321024: > 21 ACCEPTTCP / /025 -> 1024:65535 ACCEPTTCP / /321024: > 25 ACCEPTTCP / /01024: > 25 ACCEPTTCP / /3225 -> 1024:65535 ACCEPTALL / /24N/A ACCEPTALL / /24N/A ACCEPTUDP / /321024: > 53 ACCEPTUDP / /1653 -> 1024:65535 DENYTCP / /241024: > 25 DENYTCP / /1625 -> 1024:65535 DENYALL /0 N/A public web UGent web UGent FTP Receive Send No to /24 Between 2 subnets UGent DNS back-up Standard DENY Overruled by
Network Security7-4 Packet Filtering : example : correct protocolsourcedestinationports ACCEPTTCP / /01024: > 80 ACCEPTTCP / /1680 -> 1024:65535 ACCEPTTCP / /080 ->1024:65535 ACCEPTTCP / /321024: > 80 ACCEPTTCP / /020 -> 1024:65535 ACCEPTTCP / /321024: > 20 ACCEPTTCP / /021 -> 1024:65535 ACCEPTTCP / /321024: > 21 DENYTCP / /241024: > 25 DENYTCP / /1625 -> 1024:65535 ACCEPTTCP / /025 -> 1024:65535 ACCEPTTCP / /321024: > 25 ACCEPTTCP / /01024: > 25 ACCEPTTCP / /3225 -> 1024:65535 ACCEPTALL / /24N/A ACCEPTALL / /24N/A ACCEPTUDP / /321024: > 53 ACCEPTUDP / /1653 -> 1024:65535 DENYALL /0 N/A public web UGent web UGent FTP Receive Send No to /24 Between 2 subnets UGent DNS back-up Standard DENY back