All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Blocking web-based proxy traffic
Date: Thu, 29 Nov 2007 13:21:49 -0600	[thread overview]
Message-ID: <474F114D.6040807@riverviewtech.net> (raw)
In-Reply-To: <m3bq9d722z.fsf@ursa.amorsen.dk>

On 11/29/07 04:55, Benny Amorsen wrote:
> The GET request only gets transmitted once the three-way TCP 
> handshake is done. By then it's way too late to DNAT anything -- the 
> mini web server wouldn't get a SYN, so it would throw away the 
> packet.

Very good point.  I did not think of that.

Would it be possible to possibly replace the returning traffic from a 
custom daemon that could essentially be a man in the middle.  In effect 
alter the returning stream back to the requesting client and close out 
the connection to the answering server?  A "Cut-In" if you will?  I 
would think that you could pass the traffic via a NetLink interface to a 
custom program that could do what is needed.

Is something like this possible or am I smoking too much again?



Grant. . . .

  parent reply	other threads:[~2007-11-29 19:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 16:09 Forwarding traffic from public IP to public IP Jason Hawthorne
2007-11-28 16:38 ` Grant Taylor
2007-11-28 17:45   ` Jason Hawthorne
2007-11-28 17:56     ` Blocking web-based proxy traffic James Lay
2007-11-28 19:20       ` Grant Taylor
2007-11-28 20:01         ` James Lay
2007-11-28 20:07           ` Grant Taylor
2007-11-28 20:16             ` James Lay
2007-11-28 20:35               ` Grant Taylor
2007-11-29 10:55                 ` Benny Amorsen
2007-11-29 14:24                   ` James Lay
2007-11-29 19:21                   ` Grant Taylor [this message]
2007-11-28 21:41           ` Tagg McDonald
2007-11-29  1:53             ` dhottinger
2007-11-28 19:17     ` Forwarding traffic from public IP to public IP Grant Taylor
2007-11-28 20:11       ` Jason Hawthorne
2007-11-28 20:42         ` Grant Taylor

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=474F114D.6040807@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=netfilter@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.