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
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| H. Peter Anvin | Re: [RFC 00/15] x86_64: Optimize percpu accesses |
| Nicolas Pitre | Re: [RFC patch 08/18] cnt32_to_63 should use smp_rmb() |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Natalie Protasevich | [BUG] New Kernel Bugs |
