LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-27-2007, 09:49 AM   #1
mikepol
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
Program to forward tcp sockets to unix domain sockets


Hi,

I am wondering if there is a program to forward tcp connections to a unix domain sockets. Something like a proxy, but much simpler. It would listen on specified port and when connection is received, it would connect to the specified unix domain socket and forward all the information back and forth. I need this because of the lack of unix domain socket forwarding in standard ssh, which is very unfortunate. The primary purpose is to open my X connection to the world when it is running on unix domain socket with the -nolisten option. I know that such forwarding would be insecure, but that is not a concern. I also can't switch the X server to listen on tcp by itself for my 'internal' reasons.

I know that it's not impossible to write such forwarder myself, but just wondering if something like that already exists.

Thanks for any help.
-Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPtables - Active UNIX domain sockets LordDaemon Linux - Networking 2 11-12-2006 05:29 AM
TCP Network Sockets Rakoon Red Hat 1 08-04-2005 12:36 AM
IPC (Message Queues vs. FIFOs vs. Unix-domain Sockets) TedMaul Programming 0 03-18-2004 04:53 AM
Server/Client-commucation via TCP-Sockets cYbORg Programming 5 05-18-2003 06:01 PM
Maximum TCP-Sockets Quis Linux - Networking 2 01-17-2003 03:55 AM


All times are GMT -5. The time now is 08:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration