From 57e3cc63d3fcfa287a6d9816cd924a3161b06cb0 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 22 Nov 1996 08:16:51 +0000 Subject: New port -- netcat is a simple utility which reads and writes data across network connections. Obtained from: OpenBSD --- net/netcat/Makefile | 33 +++++++++++++++++++++++++++++++++ net/netcat/distinfo | 1 + net/netcat/pkg-comment | 1 + net/netcat/pkg-descr | 37 +++++++++++++++++++++++++++++++++++++ net/netcat/pkg-plist | 2 ++ 5 files changed, 74 insertions(+) create mode 100644 net/netcat/Makefile create mode 100644 net/netcat/distinfo create mode 100644 net/netcat/pkg-comment create mode 100644 net/netcat/pkg-descr create mode 100644 net/netcat/pkg-plist (limited to 'net/netcat') diff --git a/net/netcat/Makefile b/net/netcat/Makefile new file mode 100644 index 0000000..6c7427a --- /dev/null +++ b/net/netcat/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# New ports collection makefile for: netcat +# Version required: 1.10 +# Date created: Thur Nov 21, 1996 +# Whom: David O'Brien (obrien@cs.ucdavis.edu) +# +# $Id$ +# + +DISTNAME= nc110 +PKGNAME= netcat-1.10 +CATEGORIES= net +MASTER_SITES= ftp://avian.org/src/hacks/ \ + ftp://coast.cs.purdue.edu/pub/mirrors/avian.org/netcat/ \ + ftp://zippy.telcom.arizona.edu:/pub/mirrors/avian.org/hacks/ \ + ftp://ftp.sterling.com:/mirrors/avian.org/src/hacks/ \ + ftp://ftp.rge.com:/pub/security/coast/mirrors/avian.org/netcat/ +EXTRACT_SUFX= .tgz + +MAINTAINER= obrien@cs.ucdavis.edu + +NO_WRKSUBDIR= yes +ALL_TARGET= freebsd + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/netcat \ + && chmod a+rx ${PREFIX}/share/doc/netcat + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/netcat +.endif + +.include diff --git a/net/netcat/distinfo b/net/netcat/distinfo new file mode 100644 index 0000000..222f400 --- /dev/null +++ b/net/netcat/distinfo @@ -0,0 +1 @@ +MD5 (nc110.tgz) = 402632f2fe01c169ff19a0ad6e9d608c diff --git a/net/netcat/pkg-comment b/net/netcat/pkg-comment new file mode 100644 index 0000000..a64ef5c --- /dev/null +++ b/net/netcat/pkg-comment @@ -0,0 +1 @@ +simple utility which reads and writes data across network connections diff --git a/net/netcat/pkg-descr b/net/netcat/pkg-descr new file mode 100644 index 0000000..e4d6375 --- /dev/null +++ b/net/netcat/pkg-descr @@ -0,0 +1,37 @@ +Netcat is a simple Unix utility which reads and writes data across +network connections using TCP or UDP protocol. It is designed to be a +reliable "back-end" tool that can be used directly or easily driven by +other programs and scripts. At the same time it is a feature-rich +network debugging and exploration tool, since it can create almost any +kind of connection you would need and has several interesting built-in +capabilities. + +Some of netcat's major features are: + + Outbound or inbound connections, TCP or UDP, to or from any ports + Full DNS forward/reverse checking, with appropriate warnings + Ability to use any local source port + Ability to use any locally-configured network source address + Built-in port-scanning capabilities, with randomizer + Built-in loose source-routing capability + Can read command line arguments from standard input + Slow-send mode, one line every N seconds + Hex dump of transmitted and received data + Optional ability to let another program service established connections + Optional telnet-options responder + +A very short list of potential uses: + + Script backends + Scanning ports and inventorying services, automated probes + Backup handlers + File transfers + Server testing, simulation, debugging, and hijacking + Firewall testing + Proxy gatewaying + Network performance testing + Address spoofing tests + Protecting X servers + 1001 other uses you'll likely come up with + +_H* 960320 diff --git a/net/netcat/pkg-plist b/net/netcat/pkg-plist new file mode 100644 index 0000000..ff55da7 --- /dev/null +++ b/net/netcat/pkg-plist @@ -0,0 +1,2 @@ +bin/nc +share/doc/netcat/README -- cgit v1.1