Re: [SLUG] multiple daemons on one port

From: Eben King (eben01@verizon.net)
Date: Sun Jun 10 2007 - 12:50:31 EDT


On Sat, 9 Jun 2007, Mark Bishop wrote:

> Well, all I need is SSH and httpd :)

And you have only one port open? That sucks.

But if the two protocols are consistently identifiable by the first few
characters, you could do this:

with daemon_C:
  bind to your one port
  identify whether a particular incoming connection is http or SSH by the
    first few characters
  launch sshd or httpd with stdin connected to that port, saying
  "transmission garbled, say again?" if you can get away with it, or prime
  with your grabbed characters if not

Now, I don't know any system of doing this, but it should be a SMOP. Heh.

You could also implement port knocking, where you "knock" on different
ports to choose daemon_A or daemon_B. Port knocking has been implemented;
GIYF in this case. That's probably easier to implement than the other
option.

> I really need someone to run sshd on port 443 as now that my wife's secure
> https server is up for her online transactions I can't use that port anymore
> to get past the corporate firewall.

Look into Tor too.

-- 
-eben    QebWenE01R@vTerYizUonI.nOetP    royalty.mine.nu:81

Logic is a systematic method of coming to the wrong conclusion with confidence. ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:11:13 EDT