Remove expired ports:
2014-08-31 net/libnet10: Superseded by net/libnet 2014-09-30 net/despoof: Depends on expired net/libnet10 2014-09-30 sysutils/gpkgdep: Requires old pkg_info 2014-09-30 security/vida: Depends on expired net/libnet10 2014-09-30 net/nemesis: Depends on expired net/libnet10 2014-09-30 net-mgmt/sing: Depends on expired net/libnet10 2014-09-30 net-mgmt/gps: Depends on expired net/libnet10 2014-09-30 net/ttlscan: Depends on expired net/libnet10 2014-09-30 security/zombiezapper: Depends on expired net/libnet10 2014-09-30 dns/dnshijacker: Depends on expired net/libnet10 2014-09-30 net/xboxproxy: Depends on expired net/libnet10 2014-09-30 net-mgmt/scdp: Depends on expired net/libnet10 2014-09-30 net-mgmt/angst: Depends on expired net/libnet10 2014-09-30 security/py-otr: Abandoned upstream 2014-09-30 net-p2p/cdonkey: depends on deprecated db41 version
This commit is contained in:
parent
361b5a152f
commit
67eb00ba41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369592
15
MOVED
15
MOVED
@ -7135,3 +7135,18 @@ databases/freetds-msdblib||2014-09-27|No longer required, now covered by databas
|
||||
archivers/rpm5||2014-09-28|Has expired: Broken for more than 6 months
|
||||
devel/cocaine-core||2014-09-28|Has expired: Broken for more than 6 months
|
||||
graphics/ruby-tgif||2014-09-28|Has expired: Broken for more than 6 months
|
||||
net/libnet10||2014-09-30|Has expired: Superseded by net/libnet
|
||||
net/despoof||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
sysutils/gpkgdep||2014-09-30|Has expired: Requires old pkg_info
|
||||
security/vida||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
net/nemesis||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
net-mgmt/sing||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
net-mgmt/gps||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
net/ttlscan||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
security/zombiezapper||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
dns/dnshijacker||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
net/xboxproxy||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
net-mgmt/scdp||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
net-mgmt/angst||2014-09-30|Has expired: Depends on expired net/libnet10
|
||||
security/py-otr||2014-09-30|Has expired: Abandoned upstream
|
||||
net-p2p/cdonkey||2014-09-30|Has expired: depends on deprecated db41 version
|
||||
|
@ -34,7 +34,6 @@
|
||||
SUBDIR += dnscheckengine
|
||||
SUBDIR += dnscrypt-proxy
|
||||
SUBDIR += dnsflood
|
||||
SUBDIR += dnshijacker
|
||||
SUBDIR += dnshistory
|
||||
SUBDIR += dnsjava
|
||||
SUBDIR += dnsmasq
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Created by: lx@redundancy.redundancy.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= dnshijacker
|
||||
PORTVERSION= 1.3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= dns security
|
||||
MASTER_SITES= http://pedram.redhive.com/downloads/
|
||||
|
||||
MAINTAINER= lx@redundancy.redundancy.org
|
||||
COMMENT= Tool to hijack DNS requests
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
LDFLAGS+= -lpcap `${LIBNET_CONFIG} --libs`
|
||||
|
||||
PLIST_FILES= bin/dnshijacker
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
PORTDOCS= README
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} ${PORTNAME}.c ${CFLAGS} -I${LOCALBASE}/include \
|
||||
-L${LOCALBASE}/lib ${LDFLAGS} `${LIBNET_CONFIG} --defines` \
|
||||
`${LIBNET_CONFIG} --cflags` -o ${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dnshijacker ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (dnshijacker-1.3.tar.gz) = a630e7699e1027ceede7300a3e868583ede0a88cba85d408546015079ad5b5c3
|
||||
SIZE (dnshijacker-1.3.tar.gz) = 23561
|
@ -1,11 +0,0 @@
|
||||
--- dnshijacker.c.orig Thu Apr 21 00:40:59 2005
|
||||
+++ dnshijacker.c Thu Apr 21 00:41:29 2005
|
||||
@@ -733,7 +733,7 @@
|
||||
* source and destination are swapped here because we are spoofing a reply
|
||||
*/
|
||||
|
||||
- libnet_build_ip(LIBNET_UDP_H + LIBNET_DNS_H,
|
||||
+ libnet_build_ip(packet_size - LIBNET_IP_H,
|
||||
0, /* ip tos */
|
||||
0, /* ip id */
|
||||
0, /* fragmentation bits */
|
@ -1,9 +0,0 @@
|
||||
dnshijacker is a libnet/libpcap based packet sniffer & spoofer. a
|
||||
versatile tool, dnshijacker supports tcpdump style filters that allow
|
||||
you to specifically target victims. dns answers are forged based on
|
||||
entries in a "fabrication table" or by simply forging one answer to all
|
||||
requests. a print only mode is also supported, allowing one to simply
|
||||
monitor dns traffic. dns hijacker is an excellent tool for network level
|
||||
ad blocking / removal.
|
||||
|
||||
WWW: http://pedram.redhive.com/projects.php
|
@ -7,7 +7,6 @@
|
||||
SUBDIR += TkTopNetFlows
|
||||
SUBDIR += aggregate
|
||||
SUBDIR += aircrack-ng
|
||||
SUBDIR += angst
|
||||
SUBDIR += ap-utils
|
||||
SUBDIR += argus3
|
||||
SUBDIR += argus3-clients
|
||||
@ -67,7 +66,6 @@
|
||||
SUBDIR += glpi-plugins-fusioninventory-server
|
||||
SUBDIR += glpi-plugins-tracker-agent
|
||||
SUBDIR += glpi-plugins-tracker-server
|
||||
SUBDIR += gps
|
||||
SUBDIR += grepcidr
|
||||
SUBDIR += grepip
|
||||
SUBDIR += gsnmp
|
||||
@ -279,12 +277,10 @@
|
||||
SUBDIR += rubygem-snmp
|
||||
SUBDIR += rubygem-visage-app
|
||||
SUBDIR += sblim-wbemcli
|
||||
SUBDIR += scdp
|
||||
SUBDIR += scli
|
||||
SUBDIR += sdig
|
||||
SUBDIR += send
|
||||
SUBDIR += sendip
|
||||
SUBDIR += sing
|
||||
SUBDIR += sipcalc
|
||||
SUBDIR += sjitter
|
||||
SUBDIR += slate
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Created by: ijliao
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= angst
|
||||
PORTVERSION= 0.4b
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-0.4.tar.gz \
|
||||
${MASTER_SITE_PACKETSTORM:S:%SUBDIR%:sniffers/angst:}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Active sniffer
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
PLIST_FILES= man/man8/angst.8.gz sbin/angst
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -Ee \
|
||||
's,^(CC|CFLAGS).*,#&,; \
|
||||
s,libnet-config,${LIBNET_CONFIG},; \
|
||||
s,--defines,& --cflags,' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (angst-0.4b.tar.gz) = 249850a9a68c4357d938e509aae3008f25196a7c756185ea9bcc9f5793422a9a
|
||||
SIZE (angst-0.4b.tar.gz) = 13903
|
@ -1,5 +0,0 @@
|
||||
Angst is an active sniffer, based on libpcap and libnet. Dumps into a file
|
||||
the payload of all the TCP packets received on the specified ports. Also,
|
||||
it implements methods for active sniffing of networks with switches.
|
||||
|
||||
WWW: http://angst.sourceforge.net/
|
@ -1,42 +0,0 @@
|
||||
# Created by: ijliao
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gps
|
||||
PORTVERSION= 0.9.3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://www.bsd-geek.de/FreeBSD/distfiles/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-FRC
|
||||
|
||||
MAINTAINER= lme@FreeBSD.org
|
||||
COMMENT= Ghost Port Scan
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-Wall -O3|${CFLAGS}|; \
|
||||
s|-lnet|`${LIBNET_CONFIG} --libs`|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|libnet-config|${LIBNET_CONFIG}|; \
|
||||
s|--defines|& --cflags|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${CP} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (gps-0.9.3-FRC.tar.gz) = c568eb6e399a933e10562355402445391e2400103ba35be51b0a7f4ea6987629
|
||||
SIZE (gps-0.9.3-FRC.tar.gz) = 94156
|
@ -1,11 +0,0 @@
|
||||
The aim of Ghost Port Scan is to provide administrators and pen-testers
|
||||
with a tool that allow them to easily test firewalls and get information
|
||||
from a remote host.
|
||||
|
||||
GPS is a port scanner and a firewall rules disclosure (FWRD) tool, which
|
||||
uses IP spoofing, ARP poisoning and some other stratagems in order to
|
||||
perform a stealth and untrackable information collect.
|
||||
|
||||
As far as GPS needs to sniff the responses from the target host, it
|
||||
requires to be run using a loopback or an ethernet interface (including
|
||||
cable modem).
|
@ -1,6 +0,0 @@
|
||||
bin/gps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
||||
%%PORTDOCS%%%%DOCSDIR%%/features.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/links.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/usage.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
@ -1,34 +0,0 @@
|
||||
# Created by: arved@FreeBSD.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= scdp
|
||||
PORTVERSION= 1.0.b
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0b
|
||||
DISTNAME= scdp-${PORTVERSION:S/.b/b/}
|
||||
|
||||
MAINTAINER= arved@FreeBSD.org
|
||||
COMMENT= Tool that sends CDP (CISCO Discovery Protocol) Packets
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= libnet_config="${LIBNET_CONFIG}"
|
||||
CFLAGS+= `${LIBNET_CONFIG} --cflags`
|
||||
PLIST_FILES= bin/scdp
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/scdp.c
|
||||
${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (scdp-1.0b.tar.gz) = 96ecda315292fe2325233841c4f9400859e9baba9ec39de8c26ef8f98a73cac2
|
||||
SIZE (scdp-1.0b.tar.gz) = 38669
|
@ -1,5 +0,0 @@
|
||||
This program sends CDP (Cisco Discovery Protocol) packets out on selected
|
||||
interfaces and tells the connected switch (Cisco only) where the host is
|
||||
connected.
|
||||
|
||||
WWW: http://sourceforge.net/projects/scdp/
|
@ -1,36 +0,0 @@
|
||||
# Created by: Roman Shterenzon <roman@xpert.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sing
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-mgmt security
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20sources/${PORTVERSION}
|
||||
DISTNAME= SING-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Tool for sending customized ICMP packets
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--with-libpcap-prefix=/usr
|
||||
CPPFLAGS+= `${LIBNET_CONFIG} --defines` \
|
||||
`${LIBNET_CONFIG} --cflags`
|
||||
LIBS+= `${LIBNET_CONFIG} --libs`
|
||||
PLIST_FILES= sbin/sing \
|
||||
man/man8/sing.8.gz
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
post-extract:
|
||||
@${RM} -rf ${WRKSRC}/libpcap-* ;\
|
||||
${RM} -rf ${WRKSRC}/Libnet-*
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (SING-1.1.tgz) = aed0af97180a25926f8a0bf83ddfa301ac7ab6b6c3f01ab111d855b4dafa2b77
|
||||
SIZE (SING-1.1.tgz) = 446221
|
@ -1,45 +0,0 @@
|
||||
--- Makefile.in.orig Wed Apr 18 14:11:06 2001
|
||||
+++ Makefile.in Thu May 3 16:01:19 2001
|
||||
@@ -76,7 +76,7 @@
|
||||
libnetdir = @libnetdir@
|
||||
libpcapdir = @libpcapdir@
|
||||
|
||||
-INCLUDES = -I$(includedir) -I$(libpcapdir) -I$(libnetdir)/include
|
||||
+INCLUDES = -I$(includedir) #-I$(libpcapdir) -I$(libnetdir)/include
|
||||
|
||||
LIBS = @LIBS@ -lpcap -lnet
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
SOURCES = $(sing_SOURCES)
|
||||
OBJECTS = $(sing_OBJECTS)
|
||||
|
||||
-all: libpcap libnet all-redirect
|
||||
+all: all-redirect
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .S .c .o .s
|
||||
|
||||
@@ -152,11 +152,11 @@
|
||||
|
||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
- $(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(sbindir)
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
||||
- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||
+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
||||
+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
@@ -226,8 +226,7 @@
|
||||
|
||||
|
||||
help.o: help.c config.h
|
||||
-sing.o: sing.c config.h libpcap-0.4/pcap.h libpcap-0.4/net/bpf.h \
|
||||
- sing.h ipcompat.h misc.h packet.h dev_struct.h
|
||||
+sing.o: sing.c config.h sing.h ipcompat.h misc.h packet.h dev_struct.h
|
||||
ip_options.o: ip_options.c config.h ip_options.h ipcompat.h packet.h \
|
||||
misc.h
|
||||
device.o: device.c config.h device.h misc.h packet.h dev_struct.h
|
@ -1,53 +0,0 @@
|
||||
--- configure.orig Thu May 3 17:44:18 2001
|
||||
+++ configure Thu May 3 16:33:56 2001
|
||||
@@ -11,6 +11,10 @@
|
||||
ac_help=
|
||||
ac_default_prefix=/usr/local
|
||||
# Any additions from configure.in:
|
||||
+ac_help="$ac_help
|
||||
+ --with-libnet-prefix=PATH path for libnet-config"
|
||||
+ac_help="$ac_help
|
||||
+ --with-libpcap-prefix=PATH path for libpcap"
|
||||
|
||||
# Initialize some variables set by options.
|
||||
# The variables have the same names as the options, with
|
||||
@@ -526,8 +530,23 @@
|
||||
|
||||
|
||||
|
||||
-libpcapdir=libpcap-0.4
|
||||
-libnetdir=Libnet-1.0.1b
|
||||
+# Check whether --with-libnet-prefix or --without-libnet-prefix was given.
|
||||
+if test "${with_libnet_prefix+set}" = set; then
|
||||
+ withval="$with_libnet_prefix/bin"
|
||||
+ libnetdir="$withval"
|
||||
+else
|
||||
+ libnetdir="Libnet-1.0.1b"
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+# Check whether --with-libpcap-prefix or --without-libpcap-prefix was given.
|
||||
+if test "${with_libpcap_prefix+set}" = set; then
|
||||
+ withval="$with_libpcap_prefix"
|
||||
+ libpcapdir="$withval"
|
||||
+else
|
||||
+ libpcapdir="libpcap-0.4"
|
||||
+fi
|
||||
+
|
||||
|
||||
|
||||
|
||||
@@ -1097,12 +1116,9 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
-if test -n "$GCC"; then
|
||||
- CFLAGS="-O3 -Wall"
|
||||
-fi
|
||||
|
||||
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
||||
-echo "configure:1106: checking how to run the C preprocessor" >&5
|
||||
+echo "configure:1122: checking how to run the C preprocessor" >&5
|
||||
# On Suns, sometimes $CPP names a directory.
|
||||
if test -n "$CPP" && test -d "$CPP"; then
|
||||
CPP=
|
@ -1,18 +0,0 @@
|
||||
Sing is a little tool that sends ICMP packets fully customized from command
|
||||
line. The main purpose is to replace/complement the niceful ping command
|
||||
with certain enhancements as:
|
||||
|
||||
- Send fragmented packets (Linux and BSD).
|
||||
- Send monster packets > 65534 (Linux and BSD).
|
||||
- Send/read spoofed packets.
|
||||
- Send many ICMP Information types in addition to the ECHO REQUEST type sent
|
||||
by default as Address Mask Request, Timestamp, Information Request, Router
|
||||
Solicitation and Router Advertisement.
|
||||
- Send many ICMP error types: Redirect, Source Quench, Time Exceeded,
|
||||
Destination Unreach and Parameter Problem.
|
||||
- Send to host with Loose or Strict Source Routing.
|
||||
- Use little fingerprinting techniques to discover Windows or Solaris boxes.
|
||||
- Send ICMP packets emulating certain OS: Cisco, Solaris, Linux, Shiva,
|
||||
Unix and Windows at the moment.
|
||||
|
||||
WWW: http://sourceforge.net/projects/sing/
|
@ -13,7 +13,6 @@
|
||||
SUBDIR += btpd
|
||||
SUBDIR += btqueue
|
||||
SUBDIR += btsync
|
||||
SUBDIR += cdonkey
|
||||
SUBDIR += cpuminer
|
||||
SUBDIR += createtorrent
|
||||
SUBDIR += ctcs
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Created by: ijliao
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cdonkey
|
||||
PORTVERSION= 0.9.0
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= http://www.sourcefiles.org/Internet/File_Sharing/Edonkey/
|
||||
DISTNAME= cDonkey-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Open and free core client for the eDonkey protocol
|
||||
|
||||
BROKEN= no suitable distfile
|
||||
DEPRECATED= depends on deprecated db41 version
|
||||
EXPIRATION_DATE=2014-09-30
|
||||
|
||||
WRKSRC= ${WRKDIR}/cDonkey-${PORTVERSION}
|
||||
|
||||
USE_BDB= 41
|
||||
USES= gmake libtool tar:bzip2
|
||||
USE_AUTOTOOLS= libtoolize
|
||||
CONFIGURE_ARGS= --with-berkeley-db="${BDB_INCLUDE_DIR}:${BDB_LIB_DIR}"
|
||||
|
||||
PLIST_FILES= bin/cDonkey
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-ldb|-l${BDB_LIB_NAME}|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-fno-for-scope||' ${WRKSRC}/Makefile.in
|
||||
.for i in donkey.cpp donkey.h
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/etc/|${LOCALBASE}/etc/|' ${WRKSRC}/${i}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (cDonkey-0.9.0.tar.bz2) = 4b6bf726d3fc0bee06b971c35034d43293b37419a09637785e4c572d8779c7f3
|
||||
SIZE (cDonkey-0.9.0.tar.bz2) = 334586
|
@ -1,426 +0,0 @@
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/cServer_udp.cpp cServer_udp.cpp
|
||||
--- cDonkey-0.9.0/cServer_udp.cpp Wed May 7 14:21:33 2003
|
||||
+++ cServer_udp.cpp Fri May 19 15:58:42 2006
|
||||
@@ -15,7 +15,7 @@
|
||||
peer_ip.s_addr = ip.s_addr;
|
||||
peer_port =port;
|
||||
if (logSend('>', this, OP_REASKFILEPING, true)) printf("%32s\n", hash_bin2hex(file_hash));
|
||||
- unsigned len, LEN = len = 18;
|
||||
+ size_t len, LEN = len = 18;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EMULEPROT);
|
||||
ADD_U1 (&buf, &len, OP_REASKFILEPING);
|
||||
@@ -29,7 +29,7 @@
|
||||
if (!nextPing (&peer_ip, &peer_port, &quest)) return false;
|
||||
peer_port += 4;
|
||||
if (logSend('>', this, OP_GLOBSERVSTATREQ, false));
|
||||
- unsigned len, LEN = len = 6;
|
||||
+ size_t len, LEN = len = 6;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OP_GLOBSERVSTATREQ);
|
||||
@@ -49,7 +49,7 @@
|
||||
printf("Extending search to %s %u\n", inet_ntoa(ip), peer_port);
|
||||
ASSERT (gui!=NULL);
|
||||
if (logSend('>', this, OP_GLOBSEARCHREQ, false));
|
||||
- unsigned len, LEN = len = 2 + gui->searchLen();
|
||||
+ size_t len, LEN = len = 2 + gui->searchLen();
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OP_GLOBSEARCHREQ);
|
||||
@@ -70,7 +70,7 @@
|
||||
if (!IP_is_OK (ip)) return false;
|
||||
if (logSend('>', this, OP_GLOBGETSOURCES, true)) printf("%32s\n", hash_bin2hex(Hash));
|
||||
actionServer (ip, port);
|
||||
- unsigned len, LEN = len = 18;
|
||||
+ size_t len, LEN = len = 18;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OP_GLOBGETSOURCES);
|
||||
@@ -81,7 +81,7 @@
|
||||
}}}
|
||||
bool cServer_udp::UDP_req_callback (uint32_t idx) {{{ // (0x9C)
|
||||
if (logSend('>', this, OP_GLOBCALLBACKREQ, true)) printf("%u\n", idx);
|
||||
- unsigned len, LEN = len = 12;
|
||||
+ size_t len, LEN = len = 12;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER );
|
||||
ADD_U1 (&buf, &len, OP_GLOBCALLBACKREQ );
|
||||
@@ -96,7 +96,7 @@
|
||||
peer_ip = ip;
|
||||
peer_port = port + 4;
|
||||
if (logSend('>', this, OP_SERVER_DESC_REQ, false));
|
||||
- unsigned len, LEN = len = 2;
|
||||
+ size_t len, LEN = len = 2;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OP_SERVER_DESC_REQ);
|
||||
@@ -108,7 +108,7 @@
|
||||
peer_port = port + 4;
|
||||
peer_ip = ip;
|
||||
if (logSend('>', this, OP_SERVER_LIST_REQ, false));
|
||||
- unsigned len, LEN = len = 2;
|
||||
+ size_t len, LEN = len = 2;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OP_SERVER_LIST_REQ);
|
||||
@@ -303,7 +303,7 @@
|
||||
GET_HASH(&data, &in_len, hash);
|
||||
sFile *file = forHash(hash);
|
||||
if (file == NULL) {
|
||||
- unsigned len, LEN = len = 2;
|
||||
+ size_t len, LEN = len = 2;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OP_FILENOTFOUND);
|
||||
@@ -312,7 +312,7 @@
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
- unsigned len, LEN = len = 4;
|
||||
+ size_t len, LEN = len = 4;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OP_REASKACK);
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/donkey.cpp donkey.cpp
|
||||
--- cDonkey-0.9.0/donkey.cpp Fri May 19 15:58:52 2006
|
||||
+++ donkey.cpp Fri May 19 15:58:42 2006
|
||||
@@ -201,7 +201,7 @@
|
||||
const int UDP_SEARCH_TIMEOUT = 5;
|
||||
const int UDP_SEARCH_COUNT = 15;
|
||||
unsigned int CLIENT_COUNT = 140;
|
||||
-size_t TCP_CLIENT_COUNT = 4000;
|
||||
+unsigned int TCP_CLIENT_COUNT = 4000;
|
||||
unsigned int TCP_SERVER_COUNT = 200;
|
||||
bool running = true ;
|
||||
bool eMule = true ;
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/kademlia.cpp kademlia.cpp
|
||||
--- cDonkey-0.9.0/kademlia.cpp Wed May 7 14:21:34 2003
|
||||
+++ kademlia.cpp Fri May 19 15:58:42 2006
|
||||
@@ -137,7 +137,7 @@
|
||||
logSend('>', OVERNET_CONNECT, 24 );
|
||||
unsigned char BUF[24];
|
||||
unsigned char *buf = BUF;
|
||||
- unsigned int len = 24;
|
||||
+ size_t len = 24;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_CONNECT);
|
||||
ADD_HASH(&buf, &len, seek_hash);
|
||||
@@ -191,7 +191,7 @@
|
||||
logSend('>', OVERNET_HELLO_ACK, 2 );
|
||||
unsigned char BUF[2];
|
||||
unsigned char *buf = BUF;
|
||||
- unsigned len = 2;
|
||||
+ size_t len = 2;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_HELLO_ACK);
|
||||
Write (BUF, 2);
|
||||
@@ -201,7 +201,7 @@
|
||||
logSend('>', OVERNET_REQUEST, 19 );
|
||||
unsigned char BUF[19];
|
||||
unsigned char *buf = BUF;
|
||||
- unsigned int len, LEN = len = 19;
|
||||
+ size_t len, LEN = len = 19;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_REQUEST);
|
||||
ADD_U1 (&buf, &len, for_type);
|
||||
@@ -242,7 +242,7 @@
|
||||
logSend('>', OVERNET_SEARCH_REQUEST, 23);
|
||||
char BUF[23];
|
||||
char *buf = BUF;
|
||||
- unsigned len = 23;
|
||||
+ size_t len = 23;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_SEARCH_REQUEST);
|
||||
ADD_HASH (&buf, &len, seek_hash);
|
||||
@@ -293,7 +293,7 @@
|
||||
logSend('>', OVERNET_SEARCH_END, 22);
|
||||
unsigned char BUF[22];
|
||||
unsigned char *buf = BUF;
|
||||
- unsigned len = 22;
|
||||
+ size_t len = 22;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_SEARCH_END);
|
||||
ADD_HASH (&buf, &len, p_hash);
|
||||
@@ -305,7 +305,7 @@
|
||||
bool cKademlia::send_Publish (const uint8_t *key, size_t size, const char* name) {{{ // (0x13) Publish an meta description
|
||||
ASSERT(name != NULL);
|
||||
ASSERT(key != NULL);
|
||||
- unsigned len, LEN = len = 52+strlen(name);
|
||||
+ size_t len, LEN = len = 52+strlen(name);
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
logSend('>', OVERNET_PUBLISH_REQ, len);
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
@@ -320,7 +320,7 @@
|
||||
return true;
|
||||
}}}
|
||||
bool cKademlia::send_Publish_ack (const uint8_t * p_hash ) {{{ // (0x14) acknowlegde the send_Publish
|
||||
- unsigned len, LEN = len = 18;
|
||||
+ size_t len, LEN = len = 18;
|
||||
unsigned char BUF[18], *buf = BUF;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_PUBLISH_ACK);
|
||||
@@ -332,7 +332,7 @@
|
||||
}}}
|
||||
bool cKademlia::send_Identify_reply (void) {{{ // (0x15)
|
||||
logSend('>', OVERNET_IDENTIFY_RES, 25);
|
||||
- unsigned int len = 25;
|
||||
+ size_t len = 25;
|
||||
unsigned char BUF[25];
|
||||
unsigned char *buf = BUF;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
@@ -345,7 +345,7 @@
|
||||
}}}
|
||||
bool cKademlia::send_Identify_ack (void) {{{ // (0x16)
|
||||
logSend('>',OVERNET_IDENTIFY_ACK, 4);
|
||||
- unsigned int len = 4;
|
||||
+ size_t len = 4;
|
||||
unsigned char BUF[4];
|
||||
unsigned char *buf = BUF;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
@@ -369,7 +369,7 @@
|
||||
bool cKademlia::send_IP_query (void) {{{ // (0x1B) Ask after BOOT what the other see as my ip
|
||||
unsigned char BUF[4];
|
||||
unsigned char *buf = BUF;
|
||||
- unsigned len, LEN = len = 4;
|
||||
+ size_t len, LEN = len = 4;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_IP_REQ);
|
||||
ADD_U2 (&buf, &len, pref.ports.client);
|
||||
@@ -380,7 +380,7 @@
|
||||
bool cKademlia::send_IP_answer (void) {{{ // (0x1C) Answer for send_IP_query
|
||||
unsigned char BUF[6];
|
||||
unsigned char *buf = BUF;
|
||||
- unsigned len, LEN = len = 6;
|
||||
+ size_t len, LEN = len = 6;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_IP_RES);
|
||||
ADD_U4 (&buf, &len, peer_ip.s_addr);
|
||||
@@ -391,7 +391,7 @@
|
||||
bool cKademlia::send_IP_end (void) {{{ // (0x1D) returned after send_IP_answer
|
||||
unsigned char BUF[2];
|
||||
unsigned char *buf = BUF;
|
||||
- unsigned len, LEN = len = 2;
|
||||
+ size_t len, LEN = len = 2;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_IP_ACK);
|
||||
logSend('>', OVERNET_IP_ACK, LEN);
|
||||
@@ -401,7 +401,7 @@
|
||||
bool cKademlia::send_Identify (void) {{{ // (0x1E)
|
||||
unsigned char BUF[2];
|
||||
unsigned char *buf = BUF;
|
||||
- unsigned len, LEN = len = 2;
|
||||
+ size_t len, LEN = len = 2;
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U1 (&buf, &len, OVERNET_SEARCH_END);
|
||||
// logSend('>', 0x1E, LEN);
|
||||
@@ -423,7 +423,7 @@
|
||||
}}}
|
||||
// }}}
|
||||
// recv {{{
|
||||
-void cKademlia::parsePeer_lst (unsigned char **buf , unsigned *len, unsigned cnt) {{{
|
||||
+void cKademlia::parsePeer_lst (unsigned char **buf , size_t *len, unsigned cnt) {{{
|
||||
for (unsigned i = 0; i < cnt && *len >= 23; i++) {
|
||||
uint8_t p_hash[KAD_HASH_LEN];
|
||||
GET_HASH (buf, len, p_hash);
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/kademlia.h kademlia.h
|
||||
--- cDonkey-0.9.0/kademlia.h Sun Apr 27 17:04:24 2003
|
||||
+++ kademlia.h Fri May 19 15:58:42 2006
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
private:
|
||||
bool logSend (char dir, unsigned cmd, size_t len, bool extra = false);
|
||||
- void parsePeer_lst (unsigned char **buf , unsigned *len, unsigned cnt);
|
||||
+ void parsePeer_lst (unsigned char **buf , size_t *len, unsigned cnt);
|
||||
void Init_Search (void);
|
||||
// send Handling {{{
|
||||
bool send_Connect (void ); // (0x0A) request boot list
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/misc.h misc.h
|
||||
--- cDonkey-0.9.0/misc.h Sat May 3 15:48:49 2003
|
||||
+++ misc.h Fri May 19 15:58:42 2006
|
||||
@@ -160,7 +160,7 @@
|
||||
unsigned cntFiles (void);
|
||||
unsigned cntSource (void);
|
||||
unsigned cntServer (void);
|
||||
-bool encode64(const char *_in, unsigned inlen, char *_out, size_t outmax, size_t *outlen);
|
||||
+bool encode64(const char *_in, size_t inlen, char *_out, size_t outmax, size_t *outlen);
|
||||
bool decode64(const char * in, unsigned inlen, char * out, size_t *outlen);
|
||||
|
||||
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/protocol.cpp protocol.cpp
|
||||
--- cDonkey-0.9.0/protocol.cpp Sat May 3 15:48:50 2003
|
||||
+++ protocol.cpp Fri May 19 15:58:42 2006
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
class sTag *parseTag (class sPacket *packet) {{{
|
||||
unsigned char *data = packet->DATA();
|
||||
- unsigned len = packet->Unused();
|
||||
+ size_t len = packet->Unused();
|
||||
sTag *ret = parse_tag(data, &len);
|
||||
packet->GET_BLIND(len);
|
||||
return ret;
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/sGui.cpp sGui.cpp
|
||||
--- cDonkey-0.9.0/sGui.cpp Wed May 7 14:21:34 2003
|
||||
+++ sGui.cpp Fri May 19 15:58:42 2006
|
||||
@@ -122,7 +122,7 @@
|
||||
unsigned limit = max_cnt * (78 + sizeof(s->name) + sizeof(s->desc));
|
||||
unsigned char *buffer, *BUFFER = buffer = reinterpret_cast<unsigned char*>(alloca (limit));
|
||||
s = nextServers (true);
|
||||
- unsigned unused = limit;
|
||||
+ size_t unused = limit;
|
||||
unsigned cnt = 0 ;
|
||||
while (s != NULL) { // we have reserved the maximum possible size
|
||||
cnt++;
|
||||
@@ -156,7 +156,7 @@
|
||||
if (!auth) return 0;
|
||||
unsigned limit = 3000; // hardcoded ! BAD
|
||||
unsigned char *buffer, *BUFFER = buffer = reinterpret_cast<unsigned char*>(alloca (limit));
|
||||
- unsigned unused = limit;
|
||||
+ size_t unused = limit;
|
||||
unsigned cnt = 0 ;
|
||||
FILE_LIST {{{
|
||||
if ( ! akt->get_Completed() ) continue;
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/sServer.cpp sServer.cpp
|
||||
--- cDonkey-0.9.0/sServer.cpp Wed May 7 14:21:34 2003
|
||||
+++ sServer.cpp Fri May 19 15:58:42 2006
|
||||
@@ -661,7 +661,7 @@
|
||||
char *key;
|
||||
cTreeSearch(void);
|
||||
~cTreeSearch(void);
|
||||
- bool Parse (unsigned char *data, unsigned len);
|
||||
+ bool Parse (unsigned char *data, size_t len);
|
||||
bool Match (void) { return false; }
|
||||
};
|
||||
cTreeSearch:: cTreeSearch(void) {{{
|
||||
@@ -678,7 +678,7 @@
|
||||
if (val_str != NULL) Free2 (val_str);
|
||||
if (key != NULL) Free2 (key );
|
||||
}}}
|
||||
-bool cTreeSearch::Parse (unsigned char *data, unsigned len) {{{
|
||||
+bool cTreeSearch::Parse (unsigned char *data, size_t len) {{{
|
||||
while (len>0) {
|
||||
unsigned new_op = GET_U1 (&data, &len);
|
||||
switch (new_op) {
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/sSource.cpp sSource.cpp
|
||||
--- cDonkey-0.9.0/sSource.cpp Wed May 7 14:21:35 2003
|
||||
+++ sSource.cpp Fri May 19 15:58:42 2006
|
||||
@@ -97,7 +97,7 @@
|
||||
return true;
|
||||
}}}
|
||||
|
||||
-static int res_sources (sSource *, unsigned char *buf, unsigned len) {{{
|
||||
+static int res_sources (sSource *, unsigned char *buf, size_t len) {{{
|
||||
tHash hash;
|
||||
unsigned count;
|
||||
GET_HASH(&buf, &len, hash);
|
||||
@@ -575,7 +575,7 @@
|
||||
}}}
|
||||
int sSource::no_such_file (const tHash &hash ) {{{ // (0x48)
|
||||
logSend ('>', this, OP_FILEREQANSNOFIL, false);
|
||||
- unsigned LEN , len = LEN = 22;
|
||||
+ size_t LEN , len = LEN = 22;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U4 (&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -587,7 +587,7 @@
|
||||
}}}
|
||||
int sSource::end_of_download (void ) {{{ // (0x49) o.p.
|
||||
logSend ('>', this, OP_END_OF_DOWNLOAD, false);
|
||||
- unsigned LEN , len = LEN = 22;
|
||||
+ size_t LEN , len = LEN = 22;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U4 (&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -671,7 +671,7 @@
|
||||
dlFile(old_dl);
|
||||
|
||||
if (logSend('>', this, OP_SETREQFILEID, true)) printf("%32s\n", hash_bin2hex(hash));
|
||||
- unsigned LEN , len = LEN = 22;
|
||||
+ size_t LEN , len = LEN = 22;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U4 (&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -706,7 +706,7 @@
|
||||
}}}
|
||||
int sSource::req_part_hash (const tHash &hash ) {{{ // (0x51) o.p. <HASH>
|
||||
if (logSend('>', this, OP_HASHSETREQUEST, true)) printf("%32s\n", hash_bin2hex(hash));
|
||||
- unsigned LEN , len = LEN = 22;
|
||||
+ size_t LEN , len = LEN = 22;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U4 (&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -738,7 +738,7 @@
|
||||
if (next_slot >= currentTime) return 1;
|
||||
next_slot = currentTime + 300;
|
||||
logSend('>', this, OP_STARTUPLOADREQ, false);
|
||||
- unsigned LEN, len = LEN = 22;
|
||||
+ size_t LEN, len = LEN = 22;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U4 (&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -750,7 +750,7 @@
|
||||
}}}
|
||||
int sSource::CMD_slot_available (void ) {{{ // (0x55) o.p. (null)
|
||||
logSend('>', this, OP_ACCEPTUPLOADREQ, false);
|
||||
- unsigned LEN, len = LEN = 6;
|
||||
+ size_t LEN, len = LEN = 6;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1(&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U4(&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -760,7 +760,7 @@
|
||||
}}}
|
||||
int sSource::res_slot_close (void ) {{{ // (0x57) o.p. (null)
|
||||
logSend('>', this, OP_OUTOFPARTREQS, false);
|
||||
- unsigned LEN, len = LEN = 6;
|
||||
+ size_t LEN, len = LEN = 6;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1(&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U4(&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -784,7 +784,7 @@
|
||||
}
|
||||
dlFile(old_dl);
|
||||
if (logSend('>', this, OP_FILEREQUEST, true)) printf("%32s\n", hash_bin2hex(hash));
|
||||
- unsigned LEN , len = LEN = 22;
|
||||
+ size_t LEN , len = LEN = 22;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EDONKEYHEADER);
|
||||
ADD_U4 (&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -812,7 +812,7 @@
|
||||
}}}
|
||||
int sSource::C5_res_rang (uint8_t rang ) {{{ // (0x60) o.p. <RANG(2)><padding(10)>
|
||||
if (logSend ('>', this,0xC560, true)) printf("%hi\n", rang);
|
||||
- unsigned LEN , len = LEN = 18;
|
||||
+ size_t LEN , len = LEN = 18;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EMULEPROT);
|
||||
ADD_U4 (&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
@@ -831,7 +831,7 @@
|
||||
nextFile (hash, true); // <- set cursor_count
|
||||
if (cursor_count > 512) return 1;
|
||||
if(logSend ('>', this , 0xC581, true)) printf("%32s\n", hash_bin2hex(hash));
|
||||
- unsigned LEN , len = LEN = 22;
|
||||
+ size_t LEN , len = LEN = 22;
|
||||
unsigned char *buf, *BUF = buf = reinterpret_cast<unsigned char*>(alloca(LEN));
|
||||
ADD_U1 (&buf, &len, OP_EMULEPROT);
|
||||
ADD_U4 (&buf, &len, LEN - PACKET_LEN_SUB);
|
||||
diff -ur --exclude=config.* cDonkey-0.9.0/sTag.cpp sTag.cpp
|
||||
--- cDonkey-0.9.0/sTag.cpp Sat Apr 5 13:06:46 2003
|
||||
+++ sTag.cpp Fri May 19 15:58:42 2006
|
||||
@@ -65,7 +65,7 @@
|
||||
*dst = *src;
|
||||
*src = NULL;
|
||||
}}}
|
||||
-sTag *parse_tag (unsigned char *data, unsigned *len) {{{
|
||||
+sTag *parse_tag (unsigned char *data, size_t *len) {{{
|
||||
ASSERT (NULL != data);
|
||||
ASSERT (NULL != len );
|
||||
if (data == NULL) {{{
|
||||
@@ -74,7 +74,7 @@
|
||||
}}}
|
||||
if (*len == 0) return NULL;
|
||||
unsigned char *DATA = data;
|
||||
- int LEN = *len;
|
||||
+ size_t LEN = *len;
|
||||
unsigned char *start = data;
|
||||
unsigned count = GET_U4(&data, len);
|
||||
if (count == 0) return NULL;
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.in.orig Wed May 7 20:21:59 2003
|
||||
+++ Makefile.in Thu Aug 26 18:39:49 2004
|
||||
@@ -55,7 +55,7 @@
|
||||
# -fno-for-scope Make the proble with older compiler visible
|
||||
# -pedantic < Zu viele warnings
|
||||
# -Wold-style-cast < Zu viele warnings
|
||||
-CXXFLAGS = @CXXFLAGS@ -W -Wall -Wunused -Wformat -Wshadow -Wmultichar -Wpointer-arith -Wcast-qual -Wcast-align -Wswitch -ansi -fno-for-scope -fno-gnu-keywords -fno-rtti @SVN_DB_INCLUDES@
|
||||
+CXXFLAGS = @CXXFLAGS@ -ansi -fno-for-scope -fno-gnu-keywords -fno-rtti @SVN_DB_INCLUDES@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@ -DCDONKEY=1
|
||||
DEPDIR = @DEPDIR@
|
@ -1,11 +0,0 @@
|
||||
--- cSocket.cpp.orig Wed May 7 20:21:33 2003
|
||||
+++ cSocket.cpp Thu Aug 26 18:53:39 2004
|
||||
@@ -1180,7 +1180,7 @@
|
||||
}}}
|
||||
// try to set our local externally visible address
|
||||
void cSocket::setLocalExternalIP(struct in_addr new_addr) {{{
|
||||
- static struct in_addr last_ip_seen = 0;
|
||||
+ static struct in_addr last_ip_seen;
|
||||
static int same_ip_count = 0;
|
||||
|
||||
if (new_addr.s_addr != last_ip_seen.s_addr) {
|
@ -1,10 +0,0 @@
|
||||
--- cZone.cpp.orig Wed May 7 20:21:34 2003
|
||||
+++ cZone.cpp Thu Aug 26 18:54:31 2004
|
||||
@@ -88,7 +88,6 @@
|
||||
}}}
|
||||
|
||||
cZone:: cZone() {{{
|
||||
- mtrace ();
|
||||
uint8_t zero[HASH_LEN];
|
||||
bzero(zero, HASH_LEN);
|
||||
init(NULL, 0, zero);
|
@ -1,18 +0,0 @@
|
||||
--- cygwin.h.orig Sat Apr 5 20:06:44 2003
|
||||
+++ cygwin.h Thu Aug 26 18:50:49 2004
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <zlib.h>
|
||||
#include <ctype.h>
|
||||
#include <signal.h>
|
||||
-#include <malloc.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <string> // for stl string
|
||||
@@ -166,7 +165,6 @@
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <sys/poll.h>
|
||||
- #include <mcheck.h>
|
||||
#define dir_delim '/'
|
||||
#define HAVE_SIGHUP 1
|
||||
#define HAVE_SIGINT 1
|
@ -1,10 +0,0 @@
|
||||
--- donkey.cpp.orig Wed May 7 20:26:57 2003
|
||||
+++ donkey.cpp Thu Aug 26 18:51:54 2004
|
||||
@@ -935,7 +935,6 @@
|
||||
|
||||
int main (int argc, char **argv) {{{
|
||||
bzero (ZERO, 16);
|
||||
- mtrace (); // MALLOC_TRACE
|
||||
struct stat dStatBuf;
|
||||
int j = 0;
|
||||
|
@ -1,3 +0,0 @@
|
||||
cDonkey is an open and free core client for the eDonkey protocol.
|
||||
|
||||
WWW: http://cdonkey.suche.org/
|
@ -83,7 +83,6 @@
|
||||
SUBDIR += datapipe
|
||||
SUBDIR += dbeacon
|
||||
SUBDIR += delegate
|
||||
SUBDIR += despoof
|
||||
SUBDIR += dgd
|
||||
SUBDIR += dgd-kernel
|
||||
SUBDIR += dgd-lpmud
|
||||
@ -292,7 +291,6 @@
|
||||
SUBDIR += libmxp
|
||||
SUBDIR += libnatpmp
|
||||
SUBDIR += libnet
|
||||
SUBDIR += libnet10
|
||||
SUBDIR += libnetdude
|
||||
SUBDIR += libnfs
|
||||
SUBDIR += libnids
|
||||
@ -374,7 +372,6 @@
|
||||
SUBDIR += ncp
|
||||
SUBDIR += ndisc6
|
||||
SUBDIR += ndpi
|
||||
SUBDIR += nemesis
|
||||
SUBDIR += nepenthes
|
||||
SUBDIR += nepim
|
||||
SUBDIR += net6
|
||||
@ -1170,7 +1167,6 @@
|
||||
SUBDIR += tshark
|
||||
SUBDIR += tshark-lite
|
||||
SUBDIR += tsocks
|
||||
SUBDIR += ttlscan
|
||||
SUBDIR += tucan
|
||||
SUBDIR += turnserver
|
||||
SUBDIR += turses
|
||||
@ -1232,7 +1228,6 @@
|
||||
SUBDIR += x11vnc
|
||||
SUBDIR += x2goclient
|
||||
SUBDIR += x2goclient-cli
|
||||
SUBDIR += xboxproxy
|
||||
SUBDIR += xferstats
|
||||
SUBDIR += xipmsg
|
||||
SUBDIR += xisp
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= despoof
|
||||
PORTVERSION= 0.9
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net security
|
||||
MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
|
||||
MASTER_SITE_SUBDIR= UNIX/misc
|
||||
|
||||
MAINTAINER= portmaster@bsdforge.com
|
||||
COMMENT= Command-line anti-spoofing detection utility
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
USES= tar:tgz
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-I$${LOCALBASE}/include ||; \
|
||||
s|-L$${LOCALBASE}/lib ||; \
|
||||
s|--defines|& --cflags|; \
|
||||
s|libnet-config|${LIBNET_CONFIG}|; \
|
||||
s|-lnet |`${LIBNET_CONFIG} --libs` |' \
|
||||
${WRKSRC}/${MAKEFILE}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/despoof ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (despoof-0.9.tgz) = c730656dba9ef4d9ad86dcb864c528f945e8c29c056ccfe8f82664ec9d4a1e39
|
||||
SIZE (despoof-0.9.tgz) = 8792
|
@ -1,17 +0,0 @@
|
||||
--- Makefile.orig Sat Sep 2 18:33:10 2000
|
||||
+++ Makefile Sat Sep 2 18:35:05 2000
|
||||
@@ -1,10 +1,10 @@
|
||||
# despoof makefile
|
||||
#
|
||||
-CC=gcc
|
||||
-CFLAGS=-O3
|
||||
+CC?=gcc
|
||||
+CFLAGS?=-O
|
||||
PROG=despoof
|
||||
-DEFS=`libnet-config --defines`
|
||||
-LIBS=-lnet -lpcap
|
||||
+DEFS=-I${LOCALBASE}/include `libnet-config --defines`
|
||||
+LIBS=-L${LOCALBASE}/lib -lnet -lpcap
|
||||
|
||||
default: all
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- despoof.c.orig Sat Sep 2 18:34:37 2000
|
||||
+++ despoof.c Sat Sep 2 18:34:45 2000
|
||||
@@ -150,7 +150,7 @@
|
||||
|
||||
if (targetaddr == ip->ip_src.s_addr)
|
||||
{
|
||||
- if (((inquery == 1) && (icmp->icmp_type == ICMP_ECHOREPLY)) || ((inquery == 2) && (icmp->icmp_type == ICMP_TIMESTAMPREPLY)) || ((inquery == 3) && (sport == ntohs(tcphdr->th_dport))))
|
||||
+ if (((inquery == 1) && (icmp->icmp_type == ICMP_ECHOREPLY)) || ((inquery == 2) && (icmp->icmp_type == ICMP_TSTAMPREPLY)) || ((inquery == 3) && (sport == ntohs(tcphdr->th_dport))))
|
||||
{
|
||||
if (ttlval == ip->ip_ttl)
|
||||
{
|
@ -1,6 +0,0 @@
|
||||
A command-line anti-spoofing detection utility. The idea is simple:
|
||||
should you receive a packet that you suspect is spoofed, try to determine the
|
||||
real TTL of the packet and compare it to the TTL of the packet you received.
|
||||
This is intended for use as a component to an IDS toolkit, and the likes.
|
||||
|
||||
WWW: http://BSDforge.com/projects/net/despoof/
|
@ -1,3 +0,0 @@
|
||||
bin/despoof
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
@ -1,50 +0,0 @@
|
||||
# Created by: shipley@dis.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libnet
|
||||
PORTVERSION= 1.0.2a
|
||||
PORTREVISION= 5
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.packetfactory.net/libnet/dist/deprecated/ \
|
||||
${MASTER_SITE_GENTOO}
|
||||
MASTER_SITE_SUBDIR= distfiles
|
||||
PKGNAMESUFFIX= 10
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= C library for creating IP packets
|
||||
|
||||
DEPRECATED= Superseded by net/libnet
|
||||
EXPIRATION_DATE=2014-08-31
|
||||
|
||||
CFLAGS+= -fPIC
|
||||
|
||||
USE_AUTOTOOLS= autoconf
|
||||
WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|bpf0|null|' ${WRKSRC}/configure
|
||||
.if ${ARCH} == "amd64"
|
||||
find ${WRKDIR} -name '*.[hc]' | xargs ${REINPLACE_CMD} -e 's/long/int/g'
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 \
|
||||
${STAGEDIR}${PREFIX}/man/man3/libnet${PKGNAMESUFFIX}.3
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ancillary ${STAGEDIR}${DOCSDIR}/examples
|
||||
.for i in CHANGELOG CHANGELOG-NEWFUNCTIONS COPYING README TODO-1.0 TODO-1.1
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.for i in README.asn.1 README.bpf README.legacy-applications README.libnet-config README.linux README.rawsockets
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/Ancillary/${i} ${STAGEDIR}${DOCSDIR}/ancillary
|
||||
.endfor
|
||||
.for i in libnet-example-1.c libnet-example-2.c libnet-example-3.c libnet-example-4.c
|
||||
${INSTALL_DATA} ${WRKSRC}/example/${i} ${STAGEDIR}${DOCSDIR}/examples
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (libnet-1.0.2a.tar.gz) = 7c7f2e8ccb47bb47072c5cd583fea5e90ab892c75889b625346b60d10464459a
|
||||
SIZE (libnet-1.0.2a.tar.gz) = 140191
|
@ -1,33 +0,0 @@
|
||||
--- Makefile.in.orig 2001-02-05 12:51:41.000000000 -0500
|
||||
+++ Makefile.in 2007-10-03 12:45:33.000000000 -0400
|
||||
@@ -14,8 +14,8 @@
|
||||
exec_prefix = @exec_prefix@
|
||||
srcdir = @srcdir@
|
||||
BIN_PREFIX = @bindir@/
|
||||
-INC_PREFIX = @includedir@/
|
||||
-LIB_PREFIX = @libdir@/
|
||||
+INC_PREFIX = @includedir@/libnet10/
|
||||
+LIB_PREFIX = @libdir@/libnet10/
|
||||
MAN_PREFIX = @MAN_PREFIX@
|
||||
|
||||
LIBNET = libnet
|
||||
@@ -37,7 +37,7 @@
|
||||
CC = @CC@
|
||||
ENSUREDIR = $(srcdir)/ensure-dir.sh
|
||||
INSTALL_DATA= $(srcdir)/install-sh
|
||||
-CFLAGS = @CFLAGS@
|
||||
+CFLAGS += @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
OBJECTS = src/libnet_resolve.o\
|
||||
src/libnet_socket.o\
|
||||
@@ -108,8 +108,8 @@
|
||||
$(INSTALL_DATA) $(INCLUDE-M) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
|
||||
$(INSTALL_DATA) $(INCLUDE-A) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
|
||||
$(INSTALL_DATA) $(INCLUDE-O) $(DESTDIR)$(INC_PREFIX)$(LIBNET)
|
||||
- $(INSTALL_DATA) $(MAN) $(DESTDIR)$(MAN_PREFIX)
|
||||
- $(INSTALL_DATA) $(CONFIG) $(DESTDIR)$(BIN_PREFIX)
|
||||
+ $(INSTALL_DATA) $(MAN) $(DESTDIR)$(MAN_PREFIX)libnet10.3
|
||||
+ $(INSTALL_DATA) $(CONFIG) $(DESTDIR)$(BIN_PREFIX)$(CONFIG:S/libnet/libnet10/)
|
||||
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- include/libnet.h.orig Fri Jul 18 15:11:05 2003
|
||||
+++ include/libnet.h Fri Jul 18 15:12:16 2003
|
||||
@@ -84,9 +84,9 @@
|
||||
#define LIBNET_VERSION "1.0.2a"
|
||||
|
||||
#if (!LIBNET_LIL_ENDIAN && !LIBNET_BIG_ENDIAN)
|
||||
-#error "byte order has not been specified, you'll
|
||||
-need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the
|
||||
-documentation regarding the libnet-config script."
|
||||
+#error "byte order has not been specified, you'll"
|
||||
+"need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the"
|
||||
+"documentation regarding the libnet-config script."
|
||||
#endif
|
||||
|
||||
#endif /* __LIBNET_H */
|
@ -1,11 +0,0 @@
|
||||
--- include/libnet/libnet-functions.h.orig Fri Jun 7 00:31:29 2002
|
||||
+++ include/libnet/libnet-functions.h Fri Jun 7 00:31:41 2002
|
||||
@@ -74,7 +74,7 @@
|
||||
int, /* severity */
|
||||
char *, /* error message */
|
||||
... /* varargs */
|
||||
- );
|
||||
+ ) __printflike(2, 3);
|
||||
|
||||
|
||||
/*
|
@ -1,13 +0,0 @@
|
||||
--- libnet-config.in.orig Tue Dec 12 15:33:42 2000
|
||||
+++ libnet-config.in Mon Sep 25 18:02:39 2006
|
||||
@@ -8,8 +8,8 @@
|
||||
# @configure_input@
|
||||
|
||||
libnet_defines="@LIBNET_CONFIG_DEFINES@"
|
||||
-libnet_cflags="@LIBNET_CONFIG_CFLAGS@"
|
||||
-libnet_libs="@LIBNET_CONFIG_LIBS@ -lnet"
|
||||
+libnet_cflags="@LIBNET_CONFIG_CFLAGS@ -I@prefix@/include/libnet10"
|
||||
+libnet_libs="@LIBNET_CONFIG_LIBS@ -L@prefix@/lib/libnet10 -lnet"
|
||||
|
||||
usage()
|
||||
{
|
@ -1,17 +0,0 @@
|
||||
Libnet A C library for portable packet creation
|
||||
|
||||
domains of sockets and protocols.
|
||||
|
||||
A C library for portable packet creation
|
||||
|
||||
Included are also simple example test programs
|
||||
|
||||
Libnet is a collection of routines to help with the construction
|
||||
and handling of network packets. It provides a portable framework
|
||||
for low-level network packet writing and handling.
|
||||
|
||||
Libnet features portable packet creation interfaces at the IP layer
|
||||
and link layer, as well as a host of supplementary and complementary
|
||||
functionality.
|
||||
|
||||
WWW: http://www.packetfactory.net/projects/libnet/
|
@ -1,33 +0,0 @@
|
||||
bin/libnet10-config
|
||||
include/libnet10/libnet.h
|
||||
include/libnet10/libnet/libnet-asn1.h
|
||||
include/libnet10/libnet/libnet-functions.h
|
||||
include/libnet10/libnet/libnet-headers.h
|
||||
include/libnet10/libnet/libnet-macros.h
|
||||
include/libnet10/libnet/libnet-ospf.h
|
||||
include/libnet10/libnet/libnet-structures.h
|
||||
lib/libnet10/libnet.a
|
||||
lib/libnet10/libpwrite.a
|
||||
man/man3/libnet10.3.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG-NEWFUNCTIONS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO-1.0
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO-1.1
|
||||
%%PORTDOCS%%%%DOCSDIR%%/examples/libnet-example-1.c
|
||||
%%PORTDOCS%%%%DOCSDIR%%/examples/libnet-example-2.c
|
||||
%%PORTDOCS%%%%DOCSDIR%%/examples/libnet-example-3.c
|
||||
%%PORTDOCS%%%%DOCSDIR%%/examples/libnet-example-4.c
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ancillary/README.asn.1
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ancillary/README.bpf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ancillary/README.legacy-applications
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ancillary/README.libnet-config
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ancillary/README.linux
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ancillary/README.rawsockets
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ancillary
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm lib/libnet10
|
||||
@dirrm include/libnet10/libnet
|
||||
@dirrm include/libnet10
|
@ -1,42 +0,0 @@
|
||||
# Created by: David O'Brien (obrien@NUXI.com)
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= nemesis
|
||||
PORTVERSION= 1.4
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= net security
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= molter@tin.it
|
||||
COMMENT= Command-line network packet creation and injection suite
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-libnet-includes="${LOCALBASE}/include" \
|
||||
--with-libnet-libraries="${LOCALBASE}/lib"
|
||||
|
||||
PLIST_FILES= bin/nemesis \
|
||||
man/man1/nemesis-arp.1.gz \
|
||||
man/man1/nemesis-dns.1.gz \
|
||||
man/man1/nemesis-ethernet.1.gz \
|
||||
man/man1/nemesis-icmp.1.gz \
|
||||
man/man1/nemesis-igmp.1.gz \
|
||||
man/man1/nemesis-ip.1.gz \
|
||||
man/man1/nemesis-ospf.1.gz \
|
||||
man/man1/nemesis-rip.1.gz \
|
||||
man/man1/nemesis-tcp.1.gz \
|
||||
man/man1/nemesis-udp.1.gz \
|
||||
man/man1/nemesis.1.gz
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (nemesis-1.4.tar.gz) = 803f5cf5c7c4af15128b8cd7f7610730cbed1427f062a31c2f5255790fb1bab4
|
||||
SIZE (nemesis-1.4.tar.gz) = 144187
|
@ -1,13 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -4148,7 +4148,6 @@
|
||||
|
||||
|
||||
CPPFLAGS="${CPPFLAGS} `libnet-config --defines`"
|
||||
-CFLAGS="${CFLAGS} -funroll-loops -pipe"
|
||||
|
||||
if test `libnet-config --cflags | wc -c` = "1"; then
|
||||
CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
|
@ -1,19 +0,0 @@
|
||||
The Nemesis Project is designed to be a command line based, portable human IP
|
||||
stack. The suite is broken down by protocol, and should allow for useful
|
||||
scripting of injected packets from simple shell scripts.
|
||||
|
||||
Key Features:
|
||||
|
||||
+ ARP/RARP, DNS, ETHERNET, ICMP, IGMP, IP, OSPF*, RIP, TCP, UDP protocol support
|
||||
+ Layer 2 or Layer 3 injection (by presence/absence of -d <dev> switch)
|
||||
on UNIX-like systems.
|
||||
+ Layer 2 injection on Windows systems (regardless of whether
|
||||
-d <device number> is used.
|
||||
+ Packet payload from file
|
||||
+ IP and TCP options from file
|
||||
|
||||
Each supported protocol uses its own protocol "injector" which is accompanied
|
||||
by a man page explaning its functionality.
|
||||
|
||||
|
||||
WWW: http://nemesis.sourceforge.net/
|
@ -1,35 +0,0 @@
|
||||
# Created by: Michael L. Hostbaek (mich@freebsdcluster.org)
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ttlscan
|
||||
PORTVERSION= 0.1.1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.wormulon.net/files/ttlscan/
|
||||
|
||||
MAINTAINER= mich@FreeBSD.org
|
||||
COMMENT= TCP based scanner, showing ttl responses
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/dnet.h:${PORTSDIR}/net/libdnet \
|
||||
${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
LDFLAGS+= -lpcap -ldnet
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -D_XOPEN_SOURCE \
|
||||
`${LIBNET_CONFIG} --defines --cflags` ${PORTNAME}.c -o ${PORTNAME} `${LIBNET_CONFIG} --libs` ${LDFLAGS})
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} -s ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (ttlscan-0.1.1.tar.gz) = 54ff0fdfd261887cfd9f20374bb495f9a353a38382b9f1b27f80964e59488899
|
||||
SIZE (ttlscan-0.1.1.tar.gz) = 13773
|
@ -1,9 +0,0 @@
|
||||
ttlscan is a libnet/libpcap based program that sends a TCP SYN packet to
|
||||
each port of the host given via the command line. The answer is sniffed
|
||||
of the wire. I use it to detect hosts that fake services by forwarding
|
||||
packets to another host (behind a firewall). By reading header files
|
||||
like the TTL, window size and IPID you might be able to see the OS
|
||||
running on the host behind the firewall.
|
||||
|
||||
Author: Hendrik Scholz <hendrik@scholz.net>
|
||||
WWW: http://www.raisdorf.net/projects/ttlscan
|
@ -1,3 +0,0 @@
|
||||
bin/ttlscan
|
||||
%%PORTDOCS%%share/doc/ttlscan/README
|
||||
%%PORTDOCS%%@dirrm share/doc/ttlscan
|
@ -1,33 +0,0 @@
|
||||
# Created by: Antony Mawer <ports@mawer.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xboxproxy
|
||||
PORTVERSION= 2.1
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.semicomplete.com/files/xboxproxy/
|
||||
DISTNAME= proxy-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Proxy for the XBox system link protocol
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
USE_RC_SUBR= xboxproxy
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --program-prefix=xbox
|
||||
|
||||
PLIST_FILES= bin/xboxproxy
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|libnet-config|${LIBNET_CONFIG}|g; \
|
||||
s|-lnet|`${LIBNET_CONFIG} --libs`|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (proxy-2.1.tar.gz) = 7704df543d3c85891f5491e8f91bb4e830314f744d0bf27e8ffc768c26b114f9
|
||||
SIZE (proxy-2.1.tar.gz) = 119717
|
@ -1,32 +0,0 @@
|
||||
--- ./configure.orig Thu Oct 6 23:51:26 2005
|
||||
+++ ./configure Wed Sep 27 17:29:04 2006
|
||||
@@ -2867,7 +2867,7 @@
|
||||
|
||||
# Checks for libraries.
|
||||
LIBNET_LDFLAGS="`libnet-config --libs`"
|
||||
-LIBNET_CFLAGS="`libnet-config --defines` -D__GLIBC__"
|
||||
+LIBNET_CFLAGS="`libnet-config --defines` `libnet-config --cflags` -D__GLIBC__"
|
||||
|
||||
# Checks for header files.
|
||||
|
||||
@@ -5111,19 +5111,7 @@
|
||||
as_ac_File=`echo "ac_cv_file_${dirname}/lib/libnet.a" | $as_tr_sh`
|
||||
echo "$as_me:$LINENO: checking for ${dirname}/lib/libnet.a" >&5
|
||||
echo $ECHO_N "checking for ${dirname}/lib/libnet.a... $ECHO_C" >&6
|
||||
-if eval "test \"\${$as_ac_File+set}\" = set"; then
|
||||
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
-else
|
||||
- test "$cross_compiling" = yes &&
|
||||
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
-if test -r "${dirname}/lib/libnet.a"; then
|
||||
- eval "$as_ac_File=yes"
|
||||
-else
|
||||
- eval "$as_ac_File=no"
|
||||
-fi
|
||||
-fi
|
||||
+eval "$as_ac_File=yes"
|
||||
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
|
||||
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
|
||||
if test `eval echo '${'$as_ac_File'}'` = yes; then
|
@ -1,37 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: xboxproxy
|
||||
# REQUIRE: LOGIN
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable xboxproxy
|
||||
#
|
||||
# xboxproxy_enable (bool): Set to "NO" by default.
|
||||
# Set it to "YES" to enable xboxproxy.
|
||||
# xboxproxy_flags (str): Additional flags to pass to xboxproxy.
|
||||
# Defaults to -x -b -m.
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="xboxproxy"
|
||||
rcvar=xboxproxy_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${xboxproxy_enable="NO"}
|
||||
: ${xboxproxy_flags="-x -b -m"}
|
||||
|
||||
|
||||
start_cmd="${name}_start"
|
||||
pidfile="/var/run/xboxproxy.pid"
|
||||
command="%%PREFIX%%/bin/${name}"
|
||||
|
||||
|
||||
xboxproxy_start() {
|
||||
echo "Starting ${name}."
|
||||
/usr/sbin/daemon -p $pidfile ${command} ${xboxproxy_flags}
|
||||
}
|
||||
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -1,7 +0,0 @@
|
||||
xboxproxy is an xbox system link proxy that bridges xbox network traffic
|
||||
across multiple separate networks. This allows an XBox to communicate via
|
||||
system link across multiple networks (eg. two people in different states).
|
||||
It also supports bridging of the Apple Rendezvous protocol for sharing of
|
||||
iTunes music shares across different Layer 3 networks..
|
||||
|
||||
WWW: http://www.semicomplete.com/projects/xboxproxy
|
@ -777,7 +777,6 @@
|
||||
SUBDIR += py-oauthlib
|
||||
SUBDIR += py-openid
|
||||
SUBDIR += py-openssl
|
||||
SUBDIR += py-otr
|
||||
SUBDIR += py-paramiko
|
||||
SUBDIR += py-passlib
|
||||
SUBDIR += py-plaso
|
||||
@ -995,7 +994,6 @@
|
||||
SUBDIR += unhide
|
||||
SUBDIR += unicornscan
|
||||
SUBDIR += unssh
|
||||
SUBDIR += vida
|
||||
SUBDIR += vinetto
|
||||
SUBDIR += vlock
|
||||
SUBDIR += vlog
|
||||
@ -1024,7 +1022,6 @@
|
||||
SUBDIR += ykpers
|
||||
SUBDIR += zebedee
|
||||
SUBDIR += zenmap
|
||||
SUBDIR += zombiezapper
|
||||
SUBDIR += zxid
|
||||
SUBDIR += zzuf
|
||||
|
||||
|
@ -1,28 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= otr
|
||||
PORTVERSION= 0.2.1.1
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security python
|
||||
MASTER_SITES= http://python-otr.pentabarf.de/releases/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= python-otr-${PORTVERSION}
|
||||
|
||||
MAINTAINER= cs@FreeBSD.org
|
||||
COMMENT= Python bindings for libotr
|
||||
|
||||
DEPRECATED= Abandoned upstream
|
||||
EXPIRATION_DATE=2014-09-30
|
||||
BROKEN= Does not fetch
|
||||
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
|
||||
# This should be updated to the newer version of libotr
|
||||
LIB_DEPENDS= libotr.so.2:${PORTSDIR}/security/libotr3
|
||||
|
||||
USES= pkgconfig
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (python-otr-0.2.1.1.tar.gz) = 9395ce816452aee28e0ae003c66433a67e65f2bf8390cbefb247b657e0c840b1
|
||||
SIZE (python-otr-0.2.1.1.tar.gz) = 39913
|
@ -1,5 +0,0 @@
|
||||
Python-otr is a set of python bindings for libotr. This gives
|
||||
developers the flexibility to implement OTR encryption for
|
||||
their python-based Instant Messaging clients.
|
||||
|
||||
WWW: http://python-otr.pentabarf.de/
|
@ -1,37 +0,0 @@
|
||||
# Created by: mich@freebsdcluster.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= vida
|
||||
PORTVERSION= 0.7.1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://vidatapipe.sourceforge.net/
|
||||
|
||||
MAINTAINER= mich@FreeBSD.org
|
||||
COMMENT= Vida is a multi-datapipe handler
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
RUN_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
LDFLAGS+= ${PTHREAD_LIBS} -lncurses -lpcap `${LIBNET_CONFIG} --libs`
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
PLIST_FILES= bin/vida \
|
||||
man/man1/vida.1.gz
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE=2014-09-30
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC} && \
|
||||
${CC} `${LIBNET_CONFIG} --defines --cflags` ${CFLAGS} \
|
||||
vida.c funz.c dnshijacking.c ${LDFLAGS} -o ${PORTNAME})
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/vida.1.gz ${STAGEDIR}${PREFIX}/man/man1/
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (vida-0.7.1.tar.gz) = 5b88b77aece50b0817d11853d0cfc21e35933fa491ce087c60702720351c3f9e
|
||||
SIZE (vida-0.7.1.tar.gz) = 22686
|
@ -1,18 +0,0 @@
|
||||
--- include.h.orig Thu Apr 17 11:36:06 2003
|
||||
+++ include.h Thu Apr 17 11:36:19 2003
|
||||
@@ -24,13 +24,13 @@
|
||||
* *
|
||||
\*____________________________________________*/
|
||||
|
||||
-#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/socket.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#include <string.h>
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
@ -1,17 +0,0 @@
|
||||
Vida is a multi-datapipe handler, written in C with ncurses library,
|
||||
for unix and unix-like OS.
|
||||
|
||||
Features:
|
||||
- visual interface built with ncurses library
|
||||
- multiple datapipes
|
||||
- multiple connections for each datapipe
|
||||
- password authentication over datapipes
|
||||
- computes the total of sent and received bytes
|
||||
- sniffing a routed connection (monodirectional, bidirectional and to
|
||||
colors, packages matching a string)
|
||||
- simple hijacking of a routed connection (in both directions)
|
||||
- dns-hijacking of a dns-spoofed connection over switched LAN (todo)
|
||||
- logging to text file
|
||||
|
||||
Author: <embyte@madlab.it>
|
||||
WWW: http://vidatapipe.sourceforge.net/
|
@ -1,43 +0,0 @@
|
||||
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= zombiezapper
|
||||
PORTVERSION= 1.2
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= PACKETSTORM/distributed/zombie
|
||||
DISTNAME= zombie-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Send a terminate command to Trinoo/TFN/Stacheldracht DDoS agents
|
||||
|
||||
DEPRECATED= Depends on expired net/libnet10
|
||||
EXPIRATION_DATE= 2014-09-30
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
CPPFLAGS+= $$(${LIBNET_CONFIG} --cflags --defines)
|
||||
LDFLAGS+= $$(${LIBNET_CONFIG} --libs)
|
||||
|
||||
PORTDOCS= USAGE tekpaper.txt
|
||||
PLIST_FILES= bin/zz
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} -o zz zz.c ${LDFLAGS}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/zz ${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (zombie-1.2.tgz) = 1b826dedddd3355c5cd7f3c1b0a853a3214af6ea762c4d4ef0be1e09e91a9664
|
||||
SIZE (zombie-1.2.tgz) = 12170
|
@ -1,11 +0,0 @@
|
||||
--- zz.c.orig Wed Mar 5 13:16:37 2003
|
||||
+++ zz.c Wed Mar 5 13:16:42 2003
|
||||
@@ -104,7 +104,7 @@
|
||||
union
|
||||
{
|
||||
struct in_addr addr;
|
||||
- ulong temp_ip;
|
||||
+ u_long temp_ip;
|
||||
} ip;
|
||||
|
||||
for (i = 0; i < 256; i++)
|
@ -1,10 +0,0 @@
|
||||
Zombie Zapper works against Trinoo, TFN, and Stacheldraht. Assuming
|
||||
that the default passwords have not been changed, you can simply use
|
||||
the same commands that an attacker would use to stop the flood. On
|
||||
Trinoo, it does stop the daemon entirely (although it is typically
|
||||
set to be restarted by cron, silently awaiting more commands), but
|
||||
on TFN and Stacheldraht the flooding just stops. This gives you the
|
||||
advantage of telling the daemon to stop flooding without stopping
|
||||
the daemon, allowing you to take a little more time in tracking down
|
||||
where they are, and more importantly, how they got there in the first
|
||||
place.
|
@ -331,7 +331,6 @@
|
||||
SUBDIR += goaccess
|
||||
SUBDIR += gosa
|
||||
SUBDIR += gpart
|
||||
SUBDIR += gpkgdep
|
||||
SUBDIR += gpte
|
||||
SUBDIR += graffer
|
||||
SUBDIR += graid5
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Created by: Heiner <h.eichmann@gmx.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gpkgdep
|
||||
PORTVERSION= 0.2
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF/${PORTNAME}/
|
||||
|
||||
MAINTAINER= m.tsatsenko@gmail.com
|
||||
COMMENT= Shows package dependencies in tree views
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
DEPRECATED= Requires old pkg_info
|
||||
EXPIRATION_DATE=2014-09-30
|
||||
|
||||
USE_GNOME= gtk20
|
||||
USE_AUTOTOOLS= automake14 autoconf
|
||||
AUTOMAKE_ARGS= --add-missing
|
||||
USES= gmake pkgconfig tar:bzip2
|
||||
PLIST_FILES= bin/gpkgdep
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (gpkgdep-0.2.tar.bz2) = 62de273cad5f5278127466554a5612c4947ebdcb0054ced6c749d6983a63384a
|
||||
SIZE (gpkgdep-0.2.tar.bz2) = 59063
|
@ -1,9 +0,0 @@
|
||||
gpkgdep shows the FreeBSD package dependencies
|
||||
in three different views:
|
||||
- a tree view shows all packages required by each package
|
||||
- a tree view shows all packages which depend on each package
|
||||
- a list view allows to play with the packages. By marking all
|
||||
wanted packages all required are marked as well. This helps to
|
||||
identify unused packages.
|
||||
|
||||
WWW: http://gpkgdep.sourceforge.net
|
Loading…
Reference in New Issue
Block a user