From: Stefan Schantl Date: Sun, 24 Jul 2022 12:26:17 +0000 (+0200) Subject: tor: Install and ship service related IDS rules file. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ead73999da433729e89f5eb6e861eae5498c88c;p=people%2Fstevee%2Fipfire-2.x.git tor: Install and ship service related IDS rules file. Signed-off-by: Stefan Schantl --- diff --git a/config/rootfiles/packages/tor b/config/rootfiles/packages/tor index c75e86f118..dcf78e73b1 100644 --- a/config/rootfiles/packages/tor +++ b/config/rootfiles/packages/tor @@ -23,6 +23,9 @@ usr/local/bin/torctrl #usr/share/man/man1/tor-resolve.1 #usr/share/man/man1/tor.1 #usr/share/man/man1/torify.1 +#usr/share/suricata +#usr/share/suricata/rules +usr/share/suricata/rules/ipfire-tor.rules usr/share/tor usr/share/tor/defaults-torrc usr/share/tor/geoip diff --git a/lfs/tor b/lfs/tor index 628ed63a26..d059eadf0b 100644 --- a/lfs/tor +++ b/lfs/tor @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = tor -PAK_VER = 70 +PAK_VER = 71 DEPS = libseccomp @@ -111,6 +111,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) install -v -m 644 $(DIR_SRC)/config/tor/defaults-torrc \ /usr/share/tor/defaults-torrc + # Additional suricata rules for this service. + mkdir -pv /usr/share/suricata/rules + install -v -m 644 $(DIR_SRC/config/tor/ipfire-tor.rules \ + /usr/share/suricata/rules/ipfire-tor.rules + # Install initscripts $(call INSTALL_INITSCRIPTS,$(SERVICES))