Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2005 01:29:36 +0300
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/87096: [NEW PORT] mail/rabl-client
Message-ID:  <1128724176.0@it.buh.tecnik93.com>
Resent-Message-ID: <200510072230.j97MUGqF035408@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87096
>Category:       ports
>Synopsis:       [NEW PORT] mail/rabl-client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 07 22:30:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.4-STABLE #11: Wed Jul 20 14:07:03 EEST 2005



>Description:


Note to commiter:
 if you think 'CATEGORIES= dns mail' instead of the other way is better around please change it w/o asking.

The RABL (pronounced "rabble") server is a statistical, machine-automated and
up-to-the-second blackhole list server designed to monitor global network
activity and make decisions based on network spread and infection rate -
that is, abuse from an address which has been reported by a number of
participating networks. This is in far contrast to how most other
blacklists function, where fallable humans (many with political agendas) must
process thousands of reports and make decisions - many times after the fact.
The RABL is fully reactive to new threats and can block addresses within
seconds of widespread infection - good to know in this world of drone PCs
and stolen accounts. The RABL server blacklists addresses until they have
cleared a minimum duration (an hour by default) without any additional
reporting, making the appeals process as simple as "fix your junk". The RABL
is designed to function via automated machine-learning spam filters, such as
Bayesian filters. Each participating network is granted write authentication
in the blackhole list, to prevent abuse. A client tool is also provided.

The RABL client is the lookup and reporting component of the RABL. It is
necessary for performing streaming connection lookups and writing to the RABL
(assuming you have an account).

WWW: http://www.nuclearelephant.com/projects/rabl/


>How-To-Repeat:





>Fix:


--- rabl-client-1.0.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rabl-client
#	rabl-client/files
#	rabl-client/files/pkg-plist.in
#	rabl-client/Makefile
#	rabl-client/distinfo
#	rabl-client/pkg-plist
#	rabl-client/pkg-descr
#
echo c - rabl-client
mkdir -p rabl-client > /dev/null 2>&1
echo c - rabl-client/files
mkdir -p rabl-client/files > /dev/null 2>&1
echo x - rabl-client/files/pkg-plist.in
sed 's/^X//' >rabl-client/files/pkg-plist.in << 'END-of-rabl-client/files/pkg-plist.in'
Xbin/%%_BIN_NAME_%%
X@unexec if cmp -s %D/etc/%%_CONF_FILE%% %D/etc/%%_CONF_FILE%%.sample; then rm -f %D/etc/%%_CONF_FILE%%; fi
Xetc/%%_CONF_FILE%%.sample
END-of-rabl-client/files/pkg-plist.in
echo x - rabl-client/Makefile
sed 's/^X//' >rabl-client/Makefile << 'END-of-rabl-client/Makefile'
X# New ports collection makefile for:	rabl_client
X# Date created:				2005-10-07
X# Whom:			Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	rabl-client
XPORTVERSION=	1.0.0
XCATEGORIES=	mail dns
XMASTER_SITES=	http://www.nuclearelephant.com/projects/rabl/sources/ \
X	http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
XDISTNAME=	${_BIN_NAME}-${PORTVERSION}
X
XMAINTAINER=	itetcu@people.tecnik93.com
XCOMMENT=	Reactive Autonomous Blackhole List client
X
X_BIN_NAME=	${PORTNAME:S/-/_/}
X
XUSE_LIBTOOL_VER=	15
XUSE_REINPLACE=		yes
XGNU_CONFIGURE=		yes
XINSTALLS_SHLIB=		yes
XCONFIGURE_ENV=		LDFLAGS="-L${LOCALBASE}/lib"
XCONFIGURE_ARGS+=	--prefix=${PREFIX}
X#CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
X_VAR_DIR=	/var/spool/${PORTNAME}
XVAR_DIR?=	${_VAR_DIR}
XCONFIGURE_ARGS+=	--localstatedir=${VAR_DIR}
X_CONF_FILE=	${_BIN_NAME}.conf
X
XPLIST_SUB+=	_BIN_NAME=${_BIN_NAME} _CONF_FILE=${_CONF_FILE}
X
XPORTDOCS=	CHANGE README RELEASE.NOTES
X
X.ifdef(WITH_DEBUG)
XCONFIGURE_ARGS+=	--enable-debug
X.endif
X
X.ifdef(GDBS)
XCFLAGS+=	-g -DDEBUG
XSTRIP_CMD=	#
X.endif
X
Xpre-extract:
X	@${ECHO_CMD} "Define vars below before make-ing if you need:"
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "VAR_DIR=${VAR_DIR} (default: ${_VAR_DIR})"
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "WITH_DEBUG for including debug messages"
X	@${ECHO_CMD} "GDBS let un-stripped symbols from the binary"
X	@${ECHO_CMD}
X
Xpost-patch:
X#	@${REINPLACE_CMD} -e 's|%%LIBTOOLFLAGS%%|${LIBTOOLFLAGS}|g' \
X#		${WRKSRC}/configure
X
Xpost-install:
X	${CP} ${WRKSRC}/${_CONF_FILE} ${WRKSRC}/${_CONF_FILE}.sample
X	cd ${WRKSRC}/ && \
X		${INSTALL} -m 0640 ${_CONF_FILE}.sample ${PREFIX}/etc
X	if ! ${TEST} -e ${PREFIX}/etc/${_CONF_FILE}; then \
X		cd ${WRKSRC}/ && \
X		${INSTALL} -m 0640 ${_CONF_FILE}.sample ${PREFIX}/etc/${_CONF_FILE}; \
X	fi
X.ifndef(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC}/ && \
X		${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
X.endif
X
X.include <bsd.port.mk>
END-of-rabl-client/Makefile
echo x - rabl-client/distinfo
sed 's/^X//' >rabl-client/distinfo << 'END-of-rabl-client/distinfo'
XMD5 (rabl_client-1.0.0.tar.gz) = 4703ead788f62f3d69427b5e0c82faa5
XSIZE (rabl_client-1.0.0.tar.gz) = 305620
END-of-rabl-client/distinfo
echo x - rabl-client/pkg-plist
sed 's/^X//' >rabl-client/pkg-plist << 'END-of-rabl-client/pkg-plist'
Xbin/%%_BIN_NAME%%
X@unexec if cmp -s %D/etc/%%_CONF_FILE%% %D/etc/%%_CONF_FILE%%.sample; then rm -f %D/etc/%%_CONF_FILE%%; fi
Xetc/%%_CONF_FILE%%.sample
END-of-rabl-client/pkg-plist
echo x - rabl-client/pkg-descr
sed 's/^X//' >rabl-client/pkg-descr << 'END-of-rabl-client/pkg-descr'
XThe RABL (pronounced "rabble") server is a statistical, machine-automated and
Xup-to-the-second blackhole list server designed to monitor global network
Xactivity and make decisions based on network spread and infection rate -
Xthat is, abuse from an address which has been reported by a number of
Xparticipating networks. This is in far contrast to how most other
Xblacklists function, where fallable humans (many with political agendas) must
Xprocess thousands of reports and make decisions - many times after the fact.
XThe RABL is fully reactive to new threats and can block addresses within
Xseconds of widespread infection - good to know in this world of drone PCs
Xand stolen accounts. The RABL server blacklists addresses until they have
Xcleared a minimum duration (an hour by default) without any additional
Xreporting, making the appeals process as simple as "fix your junk". The RABL
Xis designed to function via automated machine-learning spam filters, such as
XBayesian filters. Each participating network is granted write authentication
Xin the blackhole list, to prevent abuse. A client tool is also provided.
X
XThe RABL client is the lookup and reporting component of the RABL. It is
Xnecessary for performing streaming connection lookups and writing to the RABL
X(assuming you have an account).
X
XWWW: http://www.nuclearelephant.com/projects/rabl/
END-of-rabl-client/pkg-descr
exit

--- rabl-client-1.0.0.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1128724176.0>