diff options
author | jeh <jeh@FreeBSD.org> | 2000-10-16 02:28:03 +0000 |
---|---|---|
committer | jeh <jeh@FreeBSD.org> | 2000-10-16 02:28:03 +0000 |
commit | 8b6b59d39ce94ff1dd44882d417cca56184fe891 (patch) | |
tree | 5ad46f5847589e90b6f11c3d4f46cdbd00004a8b /net | |
parent | de6a8746cb7079302ff1b9c272a29d4a1e5fd9f2 (diff) | |
download | FreeBSD-ports-8b6b59d39ce94ff1dd44882d417cca56184fe891.zip FreeBSD-ports-8b6b59d39ce94ff1dd44882d417cca56184fe891.tar.gz |
Add new port net/sing v1.0
Tool for sending customized ICMP packets
PR: 21776
Submitted by: Roman Shterenzon <roman@xpert.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/sing/Makefile | 24 | ||||
-rw-r--r-- | net/sing/distinfo | 1 | ||||
-rw-r--r-- | net/sing/files/patch-aa | 45 | ||||
-rw-r--r-- | net/sing/files/patch-ab | 13 | ||||
-rw-r--r-- | net/sing/pkg-comment | 1 | ||||
-rw-r--r-- | net/sing/pkg-descr | 20 | ||||
-rw-r--r-- | net/sing/pkg-plist | 1 |
8 files changed, 106 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 5742002..c5de470 100644 --- a/net/Makefile +++ b/net/Makefile @@ -230,6 +230,7 @@ SUBDIR += sdl_net SUBDIR += sendfile SUBDIR += sharity-light + SUBDIR += sing SUBDIR += slirp SUBDIR += smbtcpdump SUBDIR += sniffit diff --git a/net/sing/Makefile b/net/sing/Makefile new file mode 100644 index 0000000..051d68e --- /dev/null +++ b/net/sing/Makefile @@ -0,0 +1,24 @@ +# Ports collection makefile for: sing +# Date created: Oct 6 2000 +# Whom: Roman Shterenzon <roman@xpert.com> +# +# $FreeBSD$ +# + +PORTNAME= sing +PORTVERSION= 1.0 +CATEGORIES= net security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= SING-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= roman@xpert.com + +GNU_CONFIGURE= yes +MAN8= sing.8 + +post-extract: + @${RM} -rf ${WRKSRC}/libpcap* + +.include <bsd.port.mk> diff --git a/net/sing/distinfo b/net/sing/distinfo new file mode 100644 index 0000000..e9dbbf3 --- /dev/null +++ b/net/sing/distinfo @@ -0,0 +1 @@ +MD5 (SING-1.0.tgz) = 0e478a271068eefc6e26e45d236e7694 diff --git a/net/sing/files/patch-aa b/net/sing/files/patch-aa new file mode 100644 index 0000000..40c157d --- /dev/null +++ b/net/sing/files/patch-aa @@ -0,0 +1,45 @@ +--- Makefile.in.orig Sat Sep 16 13:03:43 2000 ++++ Makefile.in Fri Oct 6 01:17:29 2000 +@@ -72,7 +72,7 @@ + getopt_SOURCES = @getopt_SOURCES@ + libpcapdir = @libpcapdir@ + +-INCLUDES = -I$(includedir) -I$(libpcapdir) ++INCLUDES = -I$(includedir) # -I$(libpcapdir) + + LIBS = @LIBS@ -lpcap + +@@ -108,7 +108,7 @@ + SOURCES = $(sing_SOURCES) + OBJECTS = $(sing_OBJECTS) + +-all: libpcap all-redirect ++all: all-redirect + .SUFFIXES: + .SUFFIXES: .S .c .o .s + +@@ -149,11 +149,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 + +@@ -223,8 +223,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 diff --git a/net/sing/files/patch-ab b/net/sing/files/patch-ab new file mode 100644 index 0000000..2934e73 --- /dev/null +++ b/net/sing/files/patch-ab @@ -0,0 +1,13 @@ +--- configure.orig Fri Oct 6 01:19:57 2000 ++++ configure Fri Oct 6 01:20:05 2000 +@@ -1097,10 +1097,6 @@ + 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:1104: checking how to run the C preprocessor" >&5 + # On Suns, sometimes $CPP names a directory. diff --git a/net/sing/pkg-comment b/net/sing/pkg-comment new file mode 100644 index 0000000..0d8947d --- /dev/null +++ b/net/sing/pkg-comment @@ -0,0 +1 @@ +Tool for sending customized ICMP packets diff --git a/net/sing/pkg-descr b/net/sing/pkg-descr new file mode 100644 index 0000000..d53357c --- /dev/null +++ b/net/sing/pkg-descr @@ -0,0 +1,20 @@ +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/ + +--Roman <roman@xpert.com> diff --git a/net/sing/pkg-plist b/net/sing/pkg-plist new file mode 100644 index 0000000..8c8ba860 --- /dev/null +++ b/net/sing/pkg-plist @@ -0,0 +1 @@ +sbin/sing |