[Twisted-Python] PB over SSH
I've hacked up a working implementation of PB over SSH (Conch) if anyone is interested. It's a convienient way to have both transport security and authentication for PB sessions. I've implemented a version in plain Twisted and one using PEAK+Twisted. The code is a little rough, but if there's any interest I can clean it up for general consumption.
On Thu, 26 Feb 2004 17:39:29 -0800, John Landahl <john@landahl.org> wrote:
I've hacked up a working implementation of PB over SSH (Conch) if anyone is interested. It's a convienient way to have both transport security and authentication for PB sessions.
I've implemented a version in plain Twisted and one using PEAK+Twisted. The code is a little rough, but if there's any interest I can clean it up for general consumption.
Nice. I would like to use this. -Eric
On Thu, 2004-02-26 at 20:39, John Landahl wrote:
I've hacked up a working implementation of PB over SSH (Conch) if anyone is interested. It's a convienient way to have both transport security and authentication for PB sessions.
I've implemented a version in plain Twisted and one using PEAK+Twisted. The code is a little rough, but if there's any interest I can clean it up for general consumption.
Yes, please :) -- Alex Levy WWW: http://mesozoic.geecs.org "Never let your sense of morals prevent you from doing what is right." -- Salvor Hardin, Isaac Asimov's _Foundation_
On Thu, 2004-02-26 at 20:39, John Landahl wrote:
I've hacked up a working implementation of PB over SSH (Conch) if anyone is interested. It's a convienient way to have both transport security and authentication for PB sessions.
PB over SSH is... a good idea, but not the way to implement this, exactly. What you'd want is a SSH *transport*. It would allow you to run any twisted protocol over an existing conch SSH connection, transparently, just as you can run over TCP or SSL. In addition this transport should provide a credential object tied to the logged in user so you can use it with cred transparently. Plus a SSH-to-TCP gateway transport that lets you listen or connect using the SSH portforwarding support. Once you've built this, PB over SSH is probably 10 lines of code.
Itamar Shtull-Trauring <itamar@itamarst.org> writes:
PB over SSH is... a good idea, but not the way to implement this, exactly.
What you'd want is a SSH *transport*. It would allow you to run any twisted protocol over an existing conch SSH connection, transparently, just as you can run over TCP or SSL. In addition this transport should provide a credential object tied to the logged in user so you can use it with cred transparently. Plus a SSH-to-TCP gateway transport that lets you listen or connect using the SSH portforwarding support.
Are there any examples on writing one own's transport? I'd be interested in a PB transport. Any hints to get started?
Once you've built this, PB over SSH is probably 10 lines of code.
-- brainbot technologies ag boppstrasse 64 . 55118 mainz . germany fon +49 6131 211639-1 . fax +49 6131 211639-2 http://brainbot.com/ mailto:ralf@brainbot.com
participants (5)
-
Alex Levy
-
Eric Mangold
-
Itamar Shtull-Trauring
-
John Landahl
-
ralf@brainbot.com