Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "hare ram" <hareram@sol.net.in>
To: ads nat <adsnat@yahoo.com>, netfilter@lists.netfilter.org
Subject: Re: Blocking file type by iptables?
Date: Mon, 25 Aug 2003 11:10:00 +0530	[thread overview]
Message-ID: <007e01c36acb$59e39be0$c2bf09ca@Housecall> (raw)
In-Reply-To: 20030825025854.10696.qmail@web20712.mail.yahoo.com

[-- Attachment #1: Type: text/plain, Size: 2561 bytes --]

Hi

If you want to block Kazaa
use STRING from POM, it will work great 

hare
  ----- Original Message ----- 
  From: ads nat 
  To: George Vieira ; netfilter@lists.netfilter.org 
  Sent: Monday, August 25, 2003 8:28 AM
  Subject: RE: Blocking file type by iptables?


  Even if you block all ports except 80. Kazza manages to access through port 80. So I don't think this will work.
  Thanks

  George Vieira <georgev@citadelcomputer.com.au> wrote:
    No because this is a bad idea. not only does the CPU have a bad day goign through every packet sniffing for file extensions but also that other innocent data can get blocked when it shouldn't be..

    1. The only thing you can do is block all outgoing/incoming ports and allow only some (25,80)
    2. Use transparent squid proxy to limit access and get it to use regex expressions on URLs you may also want to block.
    3. Block any and all MSN/Kazaa/ICQ servers addresses

    You could also setup a fake primary DNS domain like aol.com and icq.com and point to yourself... this is what I've done for ICQ to stop those damn ADs.. if the clients can't resolve the DNS for those domains then they also can't connect. But then they get smart and put a hosts file in their machine.. ;)




    Thanks,


    ____________________________________________
    George Vieira
    Citadel Computer Systems Pty LtdSystems Managergeorgev AT citadelcomputer DOT com DOT au
    Citadel Computer Systems Pty Ltd
    Phone : +61 2 9955 2644HelpDesk: +61 2 9955 2698http://www.citadelcomputer.com.au


    -----Original Message-----
    From: ads nat [mailto:adsnat@yahoo.com]
    Sent: Monday, August 25, 2003 2:22 AM
    To: netfilter@lists.netfilter.org
    Subject: Blocking file type by iptables?


    Hi,
    I have gone through mail archives to check whether can be blocked. I also checked squid mailing list. But thre is no definite solution to block kazza file downloads. I would like t know whether using iptables can i block particular type of file. If I block .mpeg, .mp3 files through IPtables then it does not matter from which site file is coming. It will get blocked.
    Any suggestion and solutions.
    Thanks


----------------------------------------------------------------------------
    Do you Yahoo!?
    Yahoo! SiteBuilder - Free, easy-to-use web site design software 


------------------------------------------------------------------------------
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site design software

[-- Attachment #2: Type: text/html, Size: 8053 bytes --]

  reply	other threads:[~2003-08-25  5:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-24 22:28 Blocking file type by iptables? George Vieira
2003-08-25  2:58 ` ads nat
2003-08-25  5:40   ` hare ram [this message]
2003-08-25  5:55     ` ads nat
2003-08-25  6:04       ` hare ram
  -- strict thread matches above, loose matches on Subject: below --
2003-08-25  6:46 George Vieira
2003-08-25  3:03 George Vieira
2003-08-24 16:22 ads nat

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='007e01c36acb$59e39be0$c2bf09ca@Housecall' \
    --to=hareram@sol.net.in \
    --cc=adsnat@yahoo.com \
    --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