Re: TCP proxy for host on subnet

2017-06-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 13, 2017 at 08:39:03AM -0400, Greg Wooledge wrote: > On Sat, Jun 10, 2017 at 03:20:33PM +0200, to...@tuxteam.de wrote: > > What the "session" (actually the terminal) is doing when you hit ^C is > > to send a signal (typically number 2, SIGI

Re: TCP proxy for host on subnet

2017-06-13 Thread Greg Wooledge
On Sat, Jun 10, 2017 at 03:20:33PM +0200, to...@tuxteam.de wrote: > What the "session" (actually the terminal) is doing when you hit ^C is > to send a signal (typically number 2, SIGINT) to the running process. SIGINT is sent to all the foreground processes, not just one. This becomes important w

Re: TCP proxy for host on subnet

2017-06-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Jun 10, 2017 at 11:54:17AM +0100, Ron Leach wrote: > On 06/06/2017 18:03, Greg Wooledge wrote: > > > >Once you're ready to deploy it, you would want to set it up as an > >automatically respawning service, under systemd or one of the other > >se

Re: TCP proxy for host on subnet

2017-06-10 Thread Ron Leach
On 06/06/2017 18:03, Greg Wooledge wrote: Once you're ready to deploy it, you would want to set it up as an automatically respawning service, under systemd or one of the other service managers. I seem to be having a problem stopping socat under Wheezy LTS using /etc/init.d. I've created a s

Re: TCP proxy for host on subnet

2017-06-06 Thread Greg Wooledge
On Tue, Jun 06, 2017 at 05:39:19PM +0100, Ron Leach wrote: > 2. socat did not 'detach' from the keyboard session, so the screen > remained with a blank line and no shell prompt. [This means that if I > invoke a solution this way, I will have to have a session running all > the time that I want

Re: TCP proxy for host on subnet

2017-06-06 Thread Ron Leach
On 06/06/2017 14:22, Henning Follmann wrote: On Tue, Jun 06, 2017 at 10:59:30AM +0100, Ron Leach wrote: I was also unsure whether socat would hold open a connection to name.server.tld even if no transactions were taking place, or whether socat would only open the connection each time traffic ar

Re: TCP proxy for host on subnet

2017-06-06 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 06, 2017 at 09:29:06AM -0400, Henning Follmann wrote: > On Tue, Jun 06, 2017 at 12:49:35PM +0200, to...@tuxteam.de wrote: [...] > > Corporate firewalls and their priests tend to believe in Numerology, [...] > > Anyway, on my laptop "lap

Re: TCP proxy for host on subnet

2017-06-06 Thread Henning Follmann
On Tue, Jun 06, 2017 at 10:59:30AM +0100, Ron Leach wrote: > On 05/06/2017 14:08, Henning wrote: > > > >socat > > > > Henning, thank you for that. socat seems a very flexible package. > > Have you used it yourself, at all? I couldn't see from the documentation Yes I connect a serial port over

Re: TCP proxy for host on subnet

2017-06-06 Thread Henning Follmann
On Tue, Jun 06, 2017 at 12:49:35PM +0200, to...@tuxteam.de wrote: > On Tue, Jun 06, 2017 at 10:59:30AM +0100, Ron Leach wrote: > > On 05/06/2017 14:08, Henning wrote: > > > > > >socat > > > > > > > Henning, thank you for that. socat seems a very flexible package. > > > > Have you used it yoursel

Re: TCP proxy for host on subnet

2017-06-06 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 06, 2017 at 10:59:30AM +0100, Ron Leach wrote: > On 05/06/2017 14:08, Henning wrote: > > > >socat > > > > Henning, thank you for that. socat seems a very flexible package. > > Have you used it yourself, at all? I couldn't see from the >

Re: TCP proxy for host on subnet

2017-06-06 Thread Ron Leach
On 05/06/2017 14:08, Henning wrote: socat Henning, thank you for that. socat seems a very flexible package. Have you used it yourself, at all? I couldn't see from the documentation how to terminate socat. I was planning to use a variation of one of their examples, like this: socat -d

Re: TCP proxy for host on subnet

2017-06-05 Thread Henning
> On Jun 5, 2017, at 7:37 AM, Ron Leach wrote: > > > I'm looking for a way to provide a tcp proxy socat -H

Re: TCP proxy for host on subnet

2017-06-05 Thread Darac Marjal
On Mon, Jun 05, 2017 at 12:37:48PM +0100, Ron Leach wrote: List, good morning, I'm looking for a way to provide a tcp proxy, which can run as a service on a Wheezy-LTS host, for a single (higher-order) port. I have looked at two packages, but neither is quite suitable. Depending on the prot

TCP proxy for host on subnet

2017-06-05 Thread Ron Leach
List, good morning, I'm looking for a way to provide a tcp proxy, which can run as a service on a Wheezy-LTS host, for a single (higher-order) port. I have looked at two packages, but neither is quite suitable. Connect-proxy ( https://packages.debian.org/wheezy/connect-proxy ) works well ex