[9fans] Unix trampoline?

  • Follow


okay, i've been banging my head against a wall since
yesterday trying to do a simple port-forward on unix.
i'm having a heck of a time getting natd, ipfw, and
ssh to all play nice together. i'd love to just skip
the whole deal and run trampoline from aux/listen,
but, obviously, i've got neither trampoline nor
aux/listen on unix. anyone got either?

also (and this may be off-topic but the inferno list
won't talk to me), does anyone know where the best
current source for the Mac OS X Inferno distribution
is? that might solve the above problem, too.

thanks,
ア
0
Reply a 1/20/2004 12:50:44 PM

Jeff Sickel has the ball on that.

	http://corpus-callosum.com/software.html.

His Inferno 4e OSX port works splendidly. I believe all his fixes
have been sent back to VN, so they should appear in
the next 4e beta also.

cheers,
pip


On Jan 20, 2004, at 7:45 AM, a@9srv.net wrote:

> also (and this may be off-topic but the inferno list
> won't talk to me), does anyone know where the best
> current source for the Mac OS X Inferno distribution
> is? that might solve the above problem, too.

0
Reply pstanley1 (4) 1/20/2004 3:26:40 PM


a@9srv.net writes:
> 
> okay, i've been banging my head against a wall since
> yesterday trying to do a simple port-forward on unix.
> i'm having a heck of a time getting natd, ipfw, and
> ssh to all play nice together. i'd love to just skip
> the whole deal and run trampoline from aux/listen,
> but, obviously, i've got neither trampoline nor
> aux/listen on unix. anyone got either?

What about netcat started from inetd?  That does largely the same
thing, and I've used it to good effect to shuttle bytes between the
HTTPS port on one machine to the SSH port on another.  Alternately, I
have a Unix trampoline I wrote once and posted to 9fans.  It's either
in the list archives, or in /usr/cross/src/unixsrc/c/misc/trampoline.c
on my machines, which you have an account on.  I wrote it under MacOS
X, so it should work in your environment.

As an aside, completely unrelated to Anthony's question, a good way to
get around overly restrictive corporate firewalls: take an SSH client
that can deal with an HTTP proxy [PuTTY is a good one], and connect to
an SSH server answering on the HTTPS port of a server out on the
Internet somewhere, and forward a bunch of ports through it.  Most HTTP
proxies will let you connect to remote HTTPS ports; if not, run the SSH
server on the HTTP port itself.

In my case, I have a Sun running an HTTP proxy on the localhost
interface.  In my restrictive environment, I SSH through the HTTP proxy
in the local firewall to the HTTPS port of another Sun that forwards to
the SSH server on the first Sun (Why?  I have a real HTTPS server
listening on the first Sun).  I forward whatever ports I'm interested
in, including the HTTP proxy port, and I run my web browser using my
local machine as a proxy, which forwards to the Sun, which in turn
proxies my web traffic (and whatever else I want, like AIM).  The Sun
is on a network I trust no one to be sniffing.  Or, if they are, I
don't particularly care.  At least this way, no one is sniffing my
local traffic unless they're monitoring my keystrokes or what goes
over the loopback interface.

	- Dan C.

0
Reply cross (310) 1/20/2004 4:31:11 PM

if you are looking at graphics performance then the Mac
will win 'cause it doesn't have to be redirected to /dev/draw.

try a real application for a real benchmark (well something
that means something to you).

majette's benchmark was "let's run bgp and see how long
it takes to get all the stuff" (paraphrased) and then some
stuff about the tardiness of the gc.  things got faster, a lot
faster, 'cause i had real data to work on.

i haven't really answered you question.  sorry, i'll go to
sleep now.

brucee
----- Original Message ----- 
From: "Jack Johnson" <fragment@nas.com>
To: <9fans@cse.psu.edu>
Sent: Sunday, January 25, 2004 6:22 PM
Subject: Re: [9fans] Unix trampoline?


> On Jan 20, 2004, at 7:24 AM, phillip stanley-marbell wrote:
> > http://corpus-callosum.com/software.html.
> >
> > His Inferno 4e OSX port works splendidly.
> 
> I just tried it, and it does.
> 
> What's bizarre is that it seems to run noticeably faster on my wife's 
> iBook than it does on my Athlon under Plan 9.  Anyone know of a 
> benchmark I could use?
> 
> -Jack

0
Reply brucee (179) 1/25/2004 11:28:42 AM

3 Replies
15 Views

(page loaded in 1.748 seconds)


Reply: