mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
ramond monitors IPv6 networks for router advertisements.
When an advert is received, a configurable action occurs. The tool was designed to `clear' (by sending spoofed zero lifetime adverts) rogue-routes sent by users running 6to4 gateways on a campus network. WWW: http://ramond.sourceforge.net Janos Mohacsi <janos.mohacsi@bsd.hu> PR: ports/143252 Submitted by: janos.mohacsi at bsd.hu
This commit is contained in:
parent
a602da42eb
commit
4189dac3d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248678
@ -229,6 +229,7 @@
|
||||
SUBDIR += py-twistedSNMP
|
||||
SUBDIR += py-yapsnmp
|
||||
SUBDIR += qkismet
|
||||
SUBDIR += ramond
|
||||
SUBDIR += rancid
|
||||
SUBDIR += rancid-devel
|
||||
SUBDIR += rate
|
||||
|
42
net-mgmt/ramond/Makefile
Normal file
42
net-mgmt/ramond/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# New ports collection makefile for: ramond
|
||||
# Date created: 2010-01-25
|
||||
# Whom: janos.mohacsi@bsd.hu
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ramond
|
||||
PORTVERSION= 0.4
|
||||
CATEGORIES= net-mgmt ipv6
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/_${PORTVERSION}/
|
||||
|
||||
MAINTAINER= janos.mohacsi@bsd.hu
|
||||
COMMENT= On-link IPv6 router advertisment monitoring and reporting daemon
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USE_BZIP2= YES
|
||||
USE_GNOME= libxml2
|
||||
USE_RC_SUBR= ramon
|
||||
|
||||
PORTDOCS= README
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
LIB_DEPENDS+= apr-1.3:${PORTSDIR}/devel/apr
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ramond ${PREFIX}/sbin
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.dtd \
|
||||
${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/demo.pl \
|
||||
${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ramond.conf.example ${PREFIX}/etc/
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
net-mgmt/ramond/distinfo
Normal file
3
net-mgmt/ramond/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ramond-0.4.tar.bz2) = 8bd66500685a10e028bbeb51781f1bc8
|
||||
SHA256 (ramond-0.4.tar.bz2) = ddef0f711864e985bf0b786773d8de403de975532a7efa92074e8f763ea8284e
|
||||
SIZE (ramond-0.4.tar.bz2) = 14143
|
21
net-mgmt/ramond/files/patch-ramond.conf.example
Normal file
21
net-mgmt/ramond/files/patch-ramond.conf.example
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- ramond.conf.example.orig
|
||||
+++ ramond.conf.example
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-15"?>
|
||||
-<!DOCTYPE ramond SYSTEM "ramond.conf.dtd">
|
||||
+<!DOCTYPE ramond SYSTEM "%%PREFIX%%/share/ramond/ramond.conf.dtd">
|
||||
<ramond>
|
||||
|
||||
<!--
|
||||
@@ -41,7 +41,7 @@
|
||||
<rule mac="ecs-routers" lifetime="0">
|
||||
<execute>/home/james/ramond/demo.pl native-router-killed</execute>
|
||||
</rule>
|
||||
- <rule mac="ecs-routers" prefix="2001:630:d0:f000::/52">
|
||||
+ <rule mac="ecs-routers" prefix="2001:db8:d0:f000::/52">
|
||||
<!-- do nothing -->
|
||||
</rule>
|
||||
|
23
net-mgmt/ramond/files/ramon.in
Normal file
23
net-mgmt/ramond/files/ramon.in
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: ramon
|
||||
# REQUIRE: DAEMON NETWORKING
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="ramon"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command="%%PREFIX%%/sbin/ramond"
|
||||
required_files=%%PREFIX%%/etc/ramond.conf
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${ramon_enable="NO"}
|
||||
|
||||
command_args="-c %%PREFIX%%/etc/ramond.conf"
|
||||
|
||||
run_rc_command "$1"
|
10
net-mgmt/ramond/pkg-descr
Normal file
10
net-mgmt/ramond/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
ramond monitors IPv6 networks for router advertisements.
|
||||
When an advert is received, a configurable action occurs.
|
||||
|
||||
The tool was designed to `clear' (by sending spoofed zero
|
||||
lifetime adverts) rogue-routes sent by users running 6to4
|
||||
gateways on a campus network.
|
||||
|
||||
WWW: http://ramond.sourceforge.net
|
||||
|
||||
Janos Mohacsi <janos.mohacsi@bsd.hu>
|
5
net-mgmt/ramond/pkg-plist
Normal file
5
net-mgmt/ramond/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
sbin/ramond
|
||||
%%DATADIR%%/ramond.conf.dtd
|
||||
%%DATADIR%%/demo.pl
|
||||
@dirrmtry %%DATADIR%%
|
||||
etc/ramond.conf.example
|
Loading…
Reference in New Issue
Block a user