⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 unix接口转换为tcp接口
💻
字号:
		UNIX Sockets 2 TCP forwarder1. Description    This is a small program to redirect all connections and traffic from aUNIX socket to a (remote) TCP/IP address.2. Installation    Edit Makefile (if neccesary, but it should work unmodified), and run:        make    make test (to build the utelnet test program)3. Examples3.1 Transparently forwarding of local MySQL connections to remote locationsunix2tcp /tmp/mysql.sock <remotesqlip> <remotesqlport>Also you will need to have on remoteip:remoteport another portforwarder (thistime a classic TCP to TCP one) to forward from <remotesqlport> to 127.0.0.1:3306so that the grant tables dont need to be changed. This example can work for anySQL server that uses UNIX sockets and doesnt change protocol in UNIX socketsthan TCP ones.3.2 Forwarding of X connectionsAlthought there are lots of features that X clients cannot do without localX server, there are some cases (as pointed out by a user) where you havebinary distributed applications that want to talk only to local X server(even that they dont require any local-only X features). So using something like:unix2tcp /tmp/.X11-unix/X0 <remoteXserver> 6000can trick the local X apllications to think they talk to a local X server(you will also need a proper xhost command).3.3 Any other usefull examples please send me mail to include them here4. Bugs, comments, feedback welcomed: dizzy@roedu.net

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -