redirect network traffic - netfwd project

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Friday, October 12, 2007 - 2:39 am

Hi!
I wrote a little utility and want to share it with you. It allows to
redirect incoming connections to remote (and also local) host. For
example, it listens for incoming TCP connections, accepts them and
creates connection with remote host.

But it works not only with TCP. One can easily redirect the following:
- TCP
- UDP
- UNIX socket (SOCK_STREAM)
- UNIX socket (SOCK_DGRAM)
- serial port (actually, tty device).

And it doesn't matter what into what you redirect :)

For example, you can give your chrooted web server access to MySQL not
enabling networking in MySQL:

# netfwd unix stream /chroot/.../mysql.sock unix stream /.../mysql.sock

Any connects are welcome!

--
Alexey Vatchenko
http://www.bsdua.org
E-mail: avv@mail.zp.ua
JID: alex.vatchenko@gmail.com

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
redirect network traffic - netfwd project, Alexey Vatchenko, (Fri Oct 12, 2:39 am)
Re: redirect network traffic - netfwd project, Karl Sjodahl - dunceor, (Fri Oct 12, 2:51 am)