Netfwd is network traffic forwarder. Netfwd acts as a bridge between

local and remote source. The source can be one of the following: TCP,
UDP, UNIX socket and TTY device. Netfwd works with both IPv4 and IPv6
address families.

Working with TTY device means that you can redirect serial port (i.e.
COM port) data to any destination. For example, it's possible to create
software serial port loopback or forward serial port data to network
(aka serial to network convertor).

Using this tool you can even convert one protocol into another. For
example, you accept incoming connection on TCP port and forward it into
UNIX socket on your local computer.

ok okan@
This commit is contained in:
eric 2008-01-06 22:33:48 +00:00
parent 700c43db3c
commit ce0ea353f1
4 changed files with 49 additions and 0 deletions

28
net/netfwd/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/06 22:33:48 eric Exp $
COMMENT= netword traffic redirector
DISTNAME= netfwd-0.4
CATEGORIES= net
MAINTAINER= Alexey Vatchenko <av@bsdua.org>
HOMEPAGE= http://www.bsdua.org/netfwd.html
# ISC
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= http://www.bsdua.org/files/
EXTRACT_SUFX= .tar.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netfwd ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/netfwd.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

5
net/netfwd/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (netfwd-0.4.tar.gz) = FJ6bPF1CdNP/tjEjYupaDA==
RMD160 (netfwd-0.4.tar.gz) = T6Zm4jZovChG+XPPiOpOXr1TtjY=
SHA1 (netfwd-0.4.tar.gz) = M52ABSlE15XJMYa6SY3e0cJutSg=
SHA256 (netfwd-0.4.tar.gz) = BoWQNq0GWSUa0TYdHHCJvjGm5hqgYAHFpbP6banyld8=
SIZE (netfwd-0.4.tar.gz) = 11628

13
net/netfwd/pkg/DESCR Normal file
View File

@ -0,0 +1,13 @@
Netfwd is network traffic forwarder. Netfwd acts as a bridge between
local and remote source. The source can be one of the following: TCP,
UDP, UNIX socket and TTY device. Netfwd works with both IPv4 and IPv6
address families.
Working with TTY device means that you can redirect serial port (i.e.
COM port) data to any destination. For example, it's possible to create
software serial port loopback or forward serial port data to network
(aka serial to network convertor).
Using this tool you can even convert one protocol into another. For
example, you accept incoming connection on TCP port and forward it into
UNIX socket on your local computer.

3
net/netfwd/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/06 22:33:48 eric Exp $
bin/netfwd
@man man/man1/netfwd.1