This patch against /usr/sbin/ufw (Version: 0.13) adds the options to specify 'reject' in a rule, specify 'reject' to delete a rule and adds the possibility to specify 'reject' as the default policy for INPUT, OUTPUT or FORWARD. TCP is rejected via '--with-reject tcp-reset', all others protocols via the default '--with-reject icmp-port-unreachable'.
This patch against /usr/sbin/ufw (Version: 0.13) adds the options to specify 'reject' in a rule, specify 'reject' to delete a rule and adds the possibility to specify 'reject' as the default policy for INPUT, OUTPUT or FORWARD. TCP is rejected via '--with-reject tcp-reset', all others protocols via the default '--with-reject icmp-port- unreachable' .