# This is DPAK Debian packaging source # DPAK is an tool of JF Possibilities, Inc. Written by ChipMaster. Source: poorman-ids Priority: extra Section: unknown Maintainer: Jon Foster Homepage: https://yeolpishack.net/repos/ChipMaster/Poor-Mans-IDS/wiki Description: Poor Man's IDS A simple tool to alert you to unknown traffic on your network. Copyright: . (c) 2021 JF Possibilities, Inc. All rights reserved. Origin: JFP Packaged-For: JF Possibilities, Inc. changelog: (0.10-1j) unstable; urgency=low . ** This is an alpha release ** . * Add ignore lists to badtrafficrpt. * trafficctrl now carries the "decision" from POST to POST. . -- Jon Foster Mon, 08 Apr 2024 15:46:53 -0700 . (0.9-1j) unstable; urgency=low . ** This is an alpha release ** . * New trafficmon_cron to find new DNS and classify DNS names. * Remove the DNS "catch up" process from the control panel. . -- Jon Foster Tue, 02 Apr 2024 10:03:47 -0700 . (0.8-1j) unstable; urgency=low . ** This is an alpha release ** . * Add [ignores] handling to badtrafficfrpt . -- Jon Foster Tue, 19 Mar 2024 12:34:33 -0700 . (0.7-1j) unstable; urgency=low . ** This is an alpha release ** . * Improve CNAME handling to handle multiple depths * *NEW* simple tool to import a hosts like file as a black list. . -- Jon Foster Mon, 21 Mar 2022 14:56:19 -0700 . (0.6-1j) unstable; urgency=low . ** This is an alpha release ** . * Change handling of CNAMEs to report the originally requested name. . -- Jon Foster Mon, 21 Mar 2022 14:56:19 -0700 . (0.5-2j) unstable; urgency=low . ** This is an alpha release ** . This is primarily a bug fix and testing release. . * Leave symbols in bins to see how C++CMS reports errors. * Don't allow "*." or "*" in the wild card entry field. It breaks stuff! . -- Jon Foster Mon, 03 Jan 2022 14:22:30 -0800 . (0.5-1j) unstable; urgency=low . ** This is an alpha release ** . * Minor internal restructuring of CLI apps. * *NEW* domblacklist tool to make DNSmasq whole domain blocks. * Also added the iptraffic log CLI log analyzer . -- Jon Foster Mon, 03 Jan 2022 14:22:30 -0800 . (0.4-3j) unstable; urgency=low . ** This is an alpha release ** . * *FIX* mounting on sub URL of a site via FastCGI * Set UMASK in trafficctrl init script for better default perms. * Improved doc remarks in "sample.js". . -- Jon Foster Tue, 14 Sep 2021 13:35:22 -0700 . (0.4-2j) unstable; urgency=low . ** This is an alpha release ** . * Expanded sample trafficctrl configuration. . -- Jon Foster Mon, 13 Sep 2021 11:52:58 -0700 . (0.4-1j) unstable; urgency=low . ** This is an alpha release ** . * Added standard setup stuff like "init.d" scripts, syslog conf, and improved sample configuration files. . -- Jon Foster Thu, 08 Sep 2021 13:58:40 -0700 . (0.3-1j) unstable; urgency=low . ** This is an alpha release ** . * Initial Debianization and release of tools: - Log catching daemon - fCGI / HTTP prioritization tool - report tool . -- Jon Foster Thu, 02 Sep 2021 10:58:43 -0700 . Build: sh make -j 8 Clean: sh make distclean Package: poorman-ids Architecture: any # I think libssl is required by cppcms. libmysqlclient18 is probably cppdb Depends: libc6, libstdc++6, cppdb (>= 0.3.1-4), cppcms, libssl1.0.0 #Depends: [] Recommends: libmysqlclient18 Description: . Install: sh dpak install -sbin iptraffic trafficmon/trafficmon trafficmon/badtrafficrpt dpak install -sbin trafficmon/dnsblacklist trafficmon/domblacklist dpak install -sbin trafficmon/impblack dpak install -sbin controlpanel/trafficctrl controlpanel/trafficctrl_cron dpak strip dpak install -conf -subdir poorman-ids sample.conf controlpanel/sample.js mkdir -p "$DPAK_ROOT/etc/default" cp trafficmon/default "$DPAK_ROOT/etc/default/trafficmon" cp controlpanel/default "$DPAK_ROOT/etc/default/trafficctrl" mkdir -p "$DPAK_ROOT/etc/init.d" cp trafficmon/init "$DPAK_ROOT/etc/init.d/trafficmon" cp controlpanel/init "$DPAK_ROOT/etc/init.d/trafficctrl" mkdir -p "$DPAK_ROOT/etc/syslog.d" cp trafficmon/syslog "$DPAK_ROOT/etc/syslog.d/trafficmon" Finalize: sh # Clean up permissions in the packaged files & folders. chmod -R g-s "$DPAK_ROOT" chmod 700 "$DPAK_ROOT/etc/poorman-ids" chmod 600 "$DPAK_ROOT/etc/poorman-ids/"* chmod 644 "$DPAK_ROOT/etc/default/"* chmod 755 "$DPAK_ROOT/etc/init.d/"* PostInst: sh update-rc.d trafficmon defaults update-rc.d trafficctrl defaults service trafficmon start || true service trafficctrl start || true PreRm: sh # Shut off services so they aren't RAM resident after install service trafficmon stop || true service trafficctrl stop || true PostRm: sh update-rc.d trafficmon remove update-rc.d trafficctrl remove