- 1、本文档共38页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Cryptography and Network SecurityChapter 20 Firewalls.ppt
* Firewalls and Malware Should preferably control both ingoing and outgoing traffic Windows XP firewall controls only ingoing traffic Trojans can start up servers on the inside Firewall should preferable inspect packets on the application layer Network layer based packet filters do not provide adequate protection * Firewalls and Malware New worms/viruses often tries to kill firewall and anti virus processes “Tunneled Worms” Tunnel IP packet within other IP packet to hide real IP header Tunneling program can be built in in Trojans Tunneled IP packet * IP- Tables IP Tables is the standard kernel firewall system for Linux since Kernel 2.4.x Packet Filtering and NAT for linux * Rule -t table Nat (PREROUTING, POSTROUTING) Mangle (PREROUTING, POSTROUTING) Filter (default) (FORWARD, INPUT, OUTPUT) iptables [-t table] command [match] [traget/jump] * Rule Command -P, --policy -A, --append -D, --delete -R, --replace -L, --list ... iptables [-t table] command [match] [traget/jump] * Rule Match (generic) -p, --protocoll (TCP, UDP, ICMP) -s, --source (IP Adresse/port) -d, --destination (IP Adresse/port) -i, --in-interface (eth0, eth1, ppp1) -o, --out-interface (eth0, eth1, ppp1) -m, --match (special commands) iptables [-t table] command [match] [traget/jump] * Rule Target/jump -j ACCEPT -j DROP -j LOG -j MAQUERADE ... iptables [-t table] command [match] [traget/jump] * Example Rules iptable –P FORWARD DROP Introduce the general policy to drop all packages Iptable –t nat –P PREROUTING ACCEPT Accept prerouting nat traffic iptable –A FORWARD -i eth1 –p TCP–d 84 -–dport 80 –j ACCEPT Accept all tcp connections to port 80 coming in at my second network interface to my ip iptables –A FORWARD –m limit –-limit 3/minutes –j LOG Log all refused connections but max. 3 per minute * Additional Literature Building Internet FirewallsZwicky, CooperISBN 1565928717; O‘Reilly iptables Tutorial 1.1.16Oskar Andreasson/iptables-tutorial.html * Lecture slides by Lawrie Brown f
您可能关注的文档
- Copyright, Kevin W Bowyer, 2002. (revised 25 Sept 2002).ppt
- Coronary Heart Disease Medication.ppt
- Corporate-Level Strategy.ppt
- Corrosion Resistant SteelsCast Irons.ppt
- Cost-Volume-Profit Analysis.ppt
- Country America's Music.ppt
- Course SyllabusMSETM 5110 – New Product Development.ppt
- Course web page .ppt
- CPSC 321Computer Architecture.ppt
- CRAWLING THE HIDDEN WEB.ppt
- CS 177 Sequence Alignment.ppt
- CS137Electronic Design Automation.ppt
- CS193HHigh Performance Web SitesLecture 6 Use a CDN.ppt
- CS380 C lecture 20.ppt
- CSE 20Discrete Mathematics.ppt
- CSE 373Data Structures and Algorithms.ppt
- CSE 421Algorithms.ppt
- CSE20 Lecture 3Number Systems.ppt
- CSIT600c Web Services ProgrammingSummary and Outlook.ppt
- Cspace联系信息.ppt
文档评论(0)