Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Taylor, Grant" <gtaylor@riverviewtech.net>
To: netfilter@lists.netfilter.org
Subject: Re: NAT to a client
Date: Thu, 28 Apr 2005 14:28:41 -0500	[thread overview]
Message-ID: <42713969.2000609@riverviewtech.net> (raw)
In-Reply-To: <20050428173838.GA30382@bender.817west.com>

> client connects to squid, squid connects to web server; two separate
> unrelated connections (besides the fact that 1 inspires 2).  i
> understand that the number 3128 falls within the range 1024 - 65535; and
> if squid is configured to bind only to the internal interface, you'd
> have a 1/64511 chance of seeing a squid server use sport = 3128 and
> dport = 80 to fetch content from an origin web server, but it's not
> likely enough to deserve a dedicated filter rule, IMHO.

*nod*

I was very aware and would expect that the there were two distinctly different TCP connections, even though the 2nd one is caused by the 1st one.  What I was not aware of is if Squid would send traffic to web servers from a known port and thus would be able to filter based on that.  I can't say as I'm surprised or disappointed by that fact.



Grant. . . .


      reply	other threads:[~2005-04-28 19:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28  6:22 NAT to a client varun_saa
2005-04-28 14:35 ` Jason Opperisano
2005-04-28 17:21   ` Taylor, Grant
2005-04-28 17:38     ` Jason Opperisano
2005-04-28 19:28       ` Taylor, Grant [this message]

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=42713969.2000609@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=netfilter@lists.netfilter.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