Skip to content

Commit

Permalink
Updated changelog and some other cosmetic changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmdev committed Mar 5, 2017
1 parent a32f4fa commit c80dbba
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 20 deletions.
41 changes: 29 additions & 12 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
ddos (0.8) stable; urgency=low
Changes Log
==========================================================================

Version 0.9 - Date 05/03/2017

* Support for freebsd and many other improvements thanks to
Marc S. Brook (https://github.com/nuxy)
* Added option to only block incoming connections thanks to
Fathardie (https://github.com/Fathardie)
* Optional automatic installation of dependencies on the install script
thanks to gloomy-ghost (https://github.com/gloomy-ghost)
* Some other fixes and improvements thanks to
mean-cj (https://github.com/mean-cj)


Version 0.8 - Date 25/09/2015

* Use a separate bans list file instead of reusing the ignore
whitelisted file which is more secure on case of unexpected
Expand All @@ -10,13 +25,13 @@ ddos (0.8) stable; urgency=low
* Added hostname to email notification.
* Execute tcpkill when ip is banned for 60 seconds and kill it.

-- Jefferson González <[email protected]> Fri, 09 Jan 2015 17:27:01 +0200

ddos (0.7) stable; urgency=low
Version 0.7 - Date 26/06/2015

* Moved configuration files to /etc/ddos/
* Whitelist hostnames, via /etc/ddos/ignore.host.list.
* The script can run as a daemon with monitoring frequency in seconds defined by DAEMON_FREQ
* The script can run as a daemon with monitoring frequency in seconds
defined by DAEMON_FREQ
* Auto-detection of available firewall for use.
* Added support for CSF file.
* Added man page.
Expand All @@ -32,17 +47,19 @@ ddos (0.7) stable; urgency=low
* New configuration option CONN_STATES (see man ddos).
* Check ip of local interfaces and whitelist them to prevent self bans.
* Improved netstat command to support ipv6 (experimental).
* Removed .cron extension of generated cron file because it seems to cause issues.
* Removed .cron extension of generated cron file because it seems
to cause issues.
* Removed KILL from conf (use -v|--view instead).

-- Jefferson González <[email protected]> Fri, 09 Jan 2015 17:27:01 +0200

ddos (0.6) stable; urgency=low
Version 0.6 - Date 01/01/2005

* It is possible to whitelist IP addresses, via /usr/local/ddos/ignore.ip.list.
* Original work by Zaf <[email protected]> from which this work is based.
* It is possible to whitelist IP addresses, via
/usr/local/ddos/ignore.ip.list.
* Simple configuration file: /usr/local/ddos/ddos.conf
* IP addresses are automatically unblocked after a preconfigured time limit (default: 600 seconds)
* The script can run at a chosen frequency via the configuration file (default: 1 minute)
* IP addresses are automatically unblocked after a preconfigured time
limit (default: 600 seconds)
* The script can run at a chosen frequency in cron via the
configuration file (default: 1 minute)
* You can receive email alerts when IP addresses are blocked.

-- Zaf <[email protected]> Mon, 1 Jan 2005 01:00:00 +0200
10 changes: 5 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh

# Check for required dependencies
if [ -f "$DESTDIR/usr/bin/apt-get" ]; then
if [ -f "/usr/bin/apt-get" ]; then
install_type='2';
install_command="apt-get"
elif [ -f "$DESTDIR/usr/bin/yum" ]; then
elif [ -f "/usr/bin/yum" ]; then
install_type='3';
install_command="yum"
elif [ -f "$DESTDIR/usr/sbin/pkg" ]; then
elif [ -f "/usr/sbin/pkg" ]; then
install_type='4';
install_command="pkg"
else
Expand Down Expand Up @@ -145,8 +145,8 @@ elif [ -d /etc/rc.d ]; then
# Activate the service
echo -n "Activating ddos service..."
echo 'ddos_enable="YES"' >> /etc/rc.conf
service ddos start > /dev/null 2>&1
echo " (done)"
service ddos start > /dev/null 2>&1
echo " (done)"
elif [ -d /usr/lib/systemd/system ]; then
echo -n 'Setting up systemd service...'
mkdir -p "$DESTDIR/usr/lib/systemd/system/"
Expand Down
7 changes: 4 additions & 3 deletions src/ddos.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/sh
##############################################################################
# DDoS-Deflate version 0.8 Author: Zaf <[email protected]> #
# DDoS-Deflate version 0.9 Author: Zaf <[email protected]> #
##############################################################################
# Contributors: #
# Jefferson González <[email protected]> #
# Jefferson González <[email protected]> #
# Marc S. Brooks <[email protected]> #
##############################################################################
# This program is distributed under the "Artistic License" Agreement #
# #
Expand Down Expand Up @@ -32,7 +33,7 @@ load_conf()

head()
{
echo "DDoS-Deflate version 0.8"
echo "DDoS-Deflate version 0.9"
echo "Copyright (C) 2005, Zaf <[email protected]>"
echo
}
Expand Down

0 comments on commit c80dbba

Please sign in to comment.