Skip to content

Commit

Permalink
Showing 4 changed files with 35 additions and 132 deletions.
4 changes: 4 additions & 0 deletions CONTRIB
Original file line number Diff line number Diff line change
@@ -9,6 +9,9 @@ who helped us since our first release (0.1).
-Development
- Daniel B. Cid <dcid ( at ) ossec.net>
- Ahmet ozturk <oahmet ( at ) metu.edu.tr>
- Rafael Capovilla <under ( at ) underlinux.com.br>
- Jorge Augusto Senger <jorge ( at ) br10.com.br> - ossec2mysql (contrib)
- Meir Michanie <meirgotroot ( at ) gmail.com> - ossec-report (contrib)


-Testing/Patches and other contributions.
@@ -21,6 +24,7 @@ who helped us since our first release (0.1).
- Kayvan A. Sylvan <kayvan@ ( at ) sylvan.com>
- Dianzhi Wang <wangdz@ ( at ) leadsec.com.cn>
- Meir Michanie <meirgotroot@ ( at ) gmail.com>
- Stephen Bunn <sbunn ( at ) roguesoftware.net>


-Translations
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
@@ -8,7 +8,8 @@ Copyright (c) 2003-2006 Daniel B. Cid <[email protected]>
http://www.ossec.net


= OSSEC comes with a modified version of zlib and parts of openssl =
= OSSEC comes with a modified version of zlib and a small part
of openssl (sha1 and blowfish libraries) =

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).
96 changes: 0 additions & 96 deletions doc/rootkit-detection.txt

This file was deleted.

64 changes: 29 additions & 35 deletions install.sh
Original file line number Diff line number Diff line change
@@ -541,25 +541,27 @@ ConfigureServer()

# If Openbsd or Freebsd with pf enable, ask about
# automatically setting it up.
if [ "X`sh ./src/init/fw-check.sh`" = "XPF" ]; then
echo ""
$ECHO " - ${pfenable} ($yes/$no) [$yes]: "
if [ "X${USER_ENABLE_PF}" = "X" ]; then
read PFENABLE
else
PFENABLE=${USER_ENABLE_PF}
fi

echo ""
case $PFENABLE in
$nomatch)
echo " - ${nopf}"
;;
*)
AddPFTable
;;
esac
fi
# Commenting it out in case I change my mind about it
# later.
#if [ "X`sh ./src/init/fw-check.sh`" = "XPF" ]; then
# echo ""
# $ECHO " - ${pfenable} ($yes/$no) [$yes]: "
# if [ "X${USER_ENABLE_PF}" = "X" ]; then
# read PFENABLE
# else
# PFENABLE=${USER_ENABLE_PF}
# fi
#
# echo ""
# case $PFENABLE in
# $nomatch)
# echo " - ${nopf}"
# ;;
# *)
# AddPFTable
# ;;
# esac
#fi

echo " </global>" >> $NEWCONFIG
;;
@@ -783,30 +785,18 @@ AddPFTable()
{
#default pf rules
TABLE="ossec_fwtable"
PFCTL="/sbin/pfctl"

$ECHO " - ${pftablename} [$TABLE]: "
if [ "X${USER_PF_TABLE}" = "X" ]; then
read TBL
else
TBL=${USER_PF_TABLE}
fi

if [ "X${TBL}" = "X" ]; then
TBL=$TABLE
fi


# Add table to the first line
echo ""
echo " - ${pfmessage}:"
echo " ${moreinfo}"
echo " http://www.ossec.net/en/manual.html#active-response-tools"

echo ""
echo ""
echo " table <${TBL}> persist #$TABLE "
echo " block in quick from <${TBL}> to any"
echo " block out quick from any to <${TBL}>"
echo " table <${TABLE}> persist #$TABLE "
echo " block in quick from <${TABLE}> to any"
echo " block out quick from any to <${TABLE}>"
echo ""
echo ""

@@ -1073,6 +1063,10 @@ main()

catMsg "0x103-thanksforusing"

# PF firewall message
if [ "X`sh ./src/init/fw-check.sh`" = "XPF" ]; then
AddPFTable
fi

if [ "X${update_only}" = "Xyes" ]; then
echo ""

0 comments on commit dcde416

Please sign in to comment.