Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > System > Networking

    unix2tcp 0.8.2

    Download button

    Downloads: 642  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mihai Rusu | More programs
    GPL / FREE
    September 21st, 2005, 14:49 GMT
    ROOT / System / Networking

     Read user reviews (0)  Refer to a friend  Subscribe

    unix2tcp description

    Unix2TCP is able to listen on a local UNIX socket and tunnel any incoming connections and traffic to a (remote) IP address/port.

    unix2tcp is a small program to redirect all connections and traffic from a UNIX socket to a (remote) TCP/IP address.

    Example of usage: I have started this project to be able to transparently move my "local" MySQL servers to whatever location I want.

    Having a web-hosting server with lots of client scripts that all connect to "localhost" (ie /tmp/mysql.sock) for talking MySQL is a problem when you want to move the MySQL server on its dedicated machine.

    This is how we did it: we run unix2tcp /tmp/mysql.sock remoteip remoteport so that unix2tcp will listen to /tmp/mysql.sock and tunnel any traffic to remoteip:remoteport .

    There we would have run any "normal" portforwarder to forward from "remoteport" to 127.0.0.1:3306, thus beeing able to keep the grant tables in MySQL untouched (all connection would have seem to come from localhost).

    I guess there can be other solutions to this problem too, but this way its the most flexible I have found yet. Another example ideea came from a user of this program. He wanted to remain anonymous so I will respect his wish.

    He used unix2tcp to trick some X applications (binary release only) thinking that they are talking to the local X server but in fact they were talking to a remote X server were he forwarded the connections.

    Product's homepage

    Here are some key features of "unix2tcp":

    · tunnels all traffic between a (remote) address/port and a local UNIX socket
    · does NOT use fork() (single process model)
    · does use O_NONBLOCK , should be no case of blocking

      


    TAGS:

    redirect connection | redirect traffic | TCP/IP address | unix2tcp | redirect | connection

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM