From: Martin Stricker <shugal@gmx.de>
To: saravanan sakthi <lxsara@yahoo.com>, netfilter@lists.samba.org
Subject: Re: how to block files with specific extensions
Date: Fri, 06 Sep 2002 23:31:13 +0200 [thread overview]
Message-ID: <3D791EA1.E962D99D@gmx.de> (raw)
In-Reply-To: FLEKIPPLAEDMJMOOBBDPEEMGCNAA.stewart.thompson@shaw.ca
Stewart Thompson wrote:
>
> Hi Saravanian:
>
> Netfilter is a packet based system. So, it don't think
> you can do what your proposing with it. There may be other
> applications that could that operate at a higher level in the
> OSI stack. If you give the list a better description of your
> exact requirements. Someone might be able to make a
> suggestions.
Depending on what kind of files you want to filter, you will have to do
it in different software: To prevent downloading certain files with the
web browser or via FTP (which most browsers can do also), you need to
set up a web cache/proxy. Popular software for that on Linux is squid.
Then configure squid to deny the file extensions you don't like, and
configure netfilter to only accept HTTP/FTP connections from your proxy.
If you want to deny certain file types as e-mail attachments you have to
do so in your e-mail server software. Procmail should be able to, and
several ant-virus software can do this also.
Best regards,
Martin Stricker
--
Homepage: http://www.martin-stricker.de/
Linux Migration Project: http://www.linux-migration.org/
Red Hat Linux 7.3 for low memory: http://www.rule-project.org/
Registered Linux user #210635: http://counter.li.org/
next prev parent reply other threads:[~2002-09-06 21:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-06 10:04 how to block files with specific extensions saravanan sakthi
2002-09-06 10:25 ` Stewart Thompson
2002-09-06 21:31 ` Martin Stricker [this message]
2002-09-06 10:48 ` Antony Stone
2002-09-06 12:19 ` Monitoring NAT functionality Logu
2002-09-06 12:28 ` Stewart Thompson
2002-09-06 12:51 ` Antony Stone
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=3D791EA1.E962D99D@gmx.de \
--to=shugal@gmx.de \
--cc=lxsara@yahoo.com \
--cc=netfilter@lists.samba.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.