From: "Steve [Gentoo]" <gentoo_steve@shic.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] About a proxy-like idea... (was Shell through the web)
Date: Tue, 11 Oct 2005 18:16:46 +0100 [thread overview]
Message-ID: <434BF37E.9020402@shic.co.uk> (raw)
In-Reply-To: <200510110819.50095.dnebinger@joat.com>
Dave Nebinger wrote:
> On Tuesday 11 October 2005 07:37 am, Steve [Gentoo] wrote:
>
>> I'm also vaguely hopeful that there may
>> be a more efficient lower-level solution which wouldn't require the
>> overhead of a process to 'pass-on' the tcp data... maybe integrated with
>> ipchains or pf or similar?
>>
> If you choose to roll your own solution, that would be difficult. Youve
> already accepted the connection, so the firewall is now configured to allow
> the packets back and forth only when related to your connection.
>
I realise that the idea would necessarily be substantially more
challenging than just writing a proxy... but I'm sure it is possible.
I'm guessing I'd need to interact at the IP packet level, recognise the
start of a TCP stream (buffering packets as necessary) then re-play them
to the right port and force the packet filter to re-direct that TCP
stream. It would not be worth my time to try and make this work if it
isn't already available for me to just compile and use.
> Technically the proxy development is not difficult, but for newbies it can be
> frustrating working out the nuances of processing asynchronous data arriving
> on one pipe let alone two.
>
I'm confident that I could write a proxy that would do this... as you
suggest - it's not rocket science. Conversely, I'm lazy enough to just
use one that's already written if one exists... which, I'm guessing, is
likely as I doubt I'm the first person to tackle this.
Steve
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-10-11 17:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-11 4:21 [gentoo-user] Shell through the web James Colby
2005-10-11 4:31 ` W.Kenworthy
2005-10-11 11:37 ` Steve [Gentoo]
2005-10-11 12:19 ` Dave Nebinger
2005-10-11 17:16 ` Steve [Gentoo] [this message]
2005-10-12 6:21 ` Olaf Niermann
2005-10-11 6:19 ` Christoph Gysin
2005-10-11 7:56 ` Drew Tomlinson
2005-10-11 11:10 ` John Jolet
2005-10-12 7:11 ` Daevid Vincent
2005-10-12 14:37 ` Willie Wong
2005-10-12 11:22 ` Ralf Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=434BF37E.9020402@shic.co.uk \
--to=gentoo_steve@shic.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox