~ubuntu-branches/ubuntu/trusty/ufw/trusty-proposed

« back to all changes in this revision

Viewing changes to conf/before.rules

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2014-02-28 08:59:13 UTC
  • Revision ID: package-import@ubuntu.com-20140228085913-vg1dzwzsim3nlyf9
Tags: 0.34~rc-0ubuntu2
* debian/patches/0002-lp1078665.patch: distinguish between v4 and v6 rules
  when both addresses are 'any' (LP: #1078665). This can be dropped with
  0.34 release.
* debian/ufw.postinst:
  - drop old reload of policy for upgrades to 0.30.1-2
  - add new ufw[6]-track-forward primary chains on upgrade
* debian/patches/0003-manpage-hook-path.patch: update locations of hook
  scripts. This can be dropped with 0.34 release.
* debian/patches/0004-add-safe-icmp-to-forward.patch: update before*.rules
  to add safe icmp to ufw-before-forward. This can be dropped with 0.34
  release.
* debian/before[6].rules.md5sum: adjusted for new release

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
-A ufw-before-input -m conntrack --ctstate INVALID -j ufw-logging-deny
31
31
-A ufw-before-input -m conntrack --ctstate INVALID -j DROP
32
32
 
33
 
# ok icmp codes
 
33
# ok icmp codes for INPUT
34
34
-A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT
35
35
-A ufw-before-input -p icmp --icmp-type source-quench -j ACCEPT
36
36
-A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT
37
37
-A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT
38
38
-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT
39
39
 
 
40
# ok icmp code for FORWARD
 
41
-A ufw-before-forward -p icmp --icmp-type destination-unreachable -j ACCEPT
 
42
-A ufw-before-forward -p icmp --icmp-type source-quench -j ACCEPT
 
43
-A ufw-before-forward -p icmp --icmp-type time-exceeded -j ACCEPT
 
44
-A ufw-before-forward -p icmp --icmp-type parameter-problem -j ACCEPT
 
45
-A ufw-before-forward -p icmp --icmp-type echo-request -j ACCEPT
 
46
 
40
47
# allow dhcp client to work
41
48
-A ufw-before-input -p udp --sport 67 --dport 68 -j ACCEPT
42
49