DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Fixing a Named Pipe to TCP Proxy program  (Read 12,954 times)

Zero3K

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 316
Fixing a Named Pipe to TCP Proxy program
« on: January 29, 2020, 10:47 PM »
It would be nice if someone could get the Named Pipe to TCP Proxy programs in the attached archive to work when using them to listen to and transmit a VM's Named Pipe (such as the one provided by VirtualBox). Also, it would be nice if it could have a GUI (or at least not rely on conhost.exe when being ran) and have the ability to use command line parameters for choosing which named pipe to listen for/create and what port to forward it to.

Zero3K

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 316
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #1 on: January 30, 2020, 01:04 PM »
I saw that some people downloaded it. Has any work been done on it yet?

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #2 on: January 30, 2020, 02:45 PM »
Hello Zero3K,

I get you have a program using named pipes inside VirtualBox and you need to have messages forwarded to a given TCP port on the host.

Is that it?
« Last Edit: January 30, 2020, 03:07 PM by publicdomain »

Zero3K

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 316
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #3 on: January 30, 2020, 02:48 PM »
Yes. I am actually using ReactOS inside Virtual PC but that shouldn't matter.

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #4 on: January 30, 2020, 03:15 PM »
Super. Looks like a straightforward/quickie one; I'm happy to do it :)

I take program's GUI being simply two text boxes, to collect named pipe + TCP port:

i.e. from
\\.\pipe\VBOX\Windows-1
to
127.0.0.1:7510



I'm making it from scratch.

Cheers!
Vic
« Last Edit: May 26, 2021, 01:04 AM by publicdomain »

Zero3K

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 316
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #5 on: January 30, 2020, 03:16 PM »
I have someone else working on it. So, you don't need to do it.

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #6 on: January 30, 2020, 03:23 PM »
I have someone else working on it. So, you don't need to do it.

Thanks for advising!

I continue coding around. If you need anything, I'm just a message away :)

Cheers!

Zero3K

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 316
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #7 on: February 02, 2020, 12:47 AM »
It is finished. You can get it at https://github.com/Zero3K/Pipe2Sock/releases.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #8 on: May 24, 2021, 02:11 PM »
Unfortunately, the download link doesn't work anymore (I mean pipe2sock.exe file). Can u update it?

I just tried downloading it from github, and it works.

https://github.com/Zero3K/Pipe2Sock/releases/download/v1.0/Pipe2Sock.exe

Zero3K

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 316
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #9 on: May 24, 2021, 06:59 PM »
I now want a program that acts as a named pipe server and shows what is written to it in a console window and optionally written to a file.
« Last Edit: May 24, 2021, 07:47 PM by Zero3K »

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #10 on: May 24, 2021, 09:51 PM »
I now want a program that acts as a named pipe server and shows what is written to it in a console window and optionally written to a file.

Perhaps here:
https://docs.microsoft.com/en-us/windows/win32/ipc/multithreaded-pipe-server
The easy path is usually downhill...

Zero3K

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 316
Re: Fixing a Named Pipe to TCP Proxy program
« Reply #11 on: May 24, 2021, 09:58 PM »
1. Does it display the pipe's data in the console window?
2. It doesn't have the ability to optionally output to a file.

Original address: https://www.donationcoder.com/forum/index.php?topic=49480.0