Makefile

Thu, 18 Dec 2014 16:56:55 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 18 Dec 2014 16:56:55 +0100
changeset 4
92045b0e8e17
parent 1
96a14c72b423
permissions
-rw-r--r--

ipset now adds the hostname to the blocklists so that the firewall scripts works on hosts and Linux Container clients without conflicts. The ipset tables are visible on the host and in the lxc clients. Then, silently drop icmpv6 router sollicitaion and neighbour sollicitation messages that come in with the hoplimit field not set to 255. Some Windows systems do this. Version 0.0.16

# Top level makefile for Slackware firewall.
# (C) 2013..2014 Michiel Broek
#

all:
	@echo "Nothing to do."


install:
	@mkdir -p ${DESTDIR}/etc/mbse-firewall/conf.d
	@mkdir -p ${DESTDIR}/usr/sbin
	install -m 0644 etc/firewall.conf ${DESTDIR}/etc/mbse-firewall
	install -m 0644 etc/*.example ${DESTDIR}/etc/mbse-firewall/conf.d
	install -m 0755 sbin/mbse-firewall ${DESTDIR}/usr/sbin
	@mkdir -p ${DESTDIR}/etc/rc.d
	cd ${DESTDIR}/etc/rc.d ; ln -s /usr/sbin/mbse-firewall rc.firewall ; cd -

dist:
	cd .. ; tar cvfz mbse-firewall-`grep MBSEFW_VERSION= mbse-firewall/sbin/mbse-firewall | cut -d '=' -f 2 | tr -d '"'`.tar.gz mbse-firewall/* ; cd -

mercurial