From: Chris Wilson <chris@netservers.co.uk>
To: Mogens Valentin <monz@danbbs.dk>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: Error responce when limiting access
Date: Mon, 7 Jul 2003 15:03:15 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.44.0307071501260.16552-100000@localhost> (raw)
In-Reply-To: <3F0953DB.BB9B3B4@danbbs.dk>
Hi Mogens,
> Using iptables, I can of cause deny access to cirtain IP addresses or
> websites, however, I'd like to make sure clients do not just get a
> timeout, not found or something alike.
> AFICS, it'll be difficult to set some errorresponce a browser can
> understand, allowing it to display a meaningful errorresponce.
Use a DNAT rule to redirect them to a local web server, or a Squid proxy
which is configured to deny all requests. Then you can configure these
to serve up a suitable error page which you can design yourself.
Cheers, Chris.
--
___ __ _
/ __// / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer |
/ (_ / ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
\ _//_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |
next prev parent reply other threads:[~2003-07-07 14:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-07 11:04 Error responce when limiting access Mogens Valentin
2003-07-07 14:03 ` Chris Wilson [this message]
2003-07-08 4:40 ` Matt Hellman
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=Pine.LNX.4.44.0307071501260.16552-100000@localhost \
--to=chris@netservers.co.uk \
--cc=monz@danbbs.dk \
--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