All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Flores <alejandro.flores@triforsec.com.br>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: Blocking IMs
Date: Thu, 05 Aug 2004 09:00:09 -0300	[thread overview]
Message-ID: <1091707208.19428.5.camel@aflores> (raw)
In-Reply-To: <a0f69e5040805001238287a2a@mail.gmail.com>

	Ops,
	There's a typo in the MSN port. 
	MSN port is 1863.
iptables -I FORWARD -o ppp0 -s IpOfClient -p tcp --dport 1863 -j REJECT

Regards,
Alejandro


> Hi,
> 
> If you are running a route/firewall then you have to do things in
> FORWARD that is...
> 
> ## Droping all yahoo related ports voice, messaging, gaming
> iptables -I FORWARD -o ppp0 -s IpOfClient -p tcp -m multiport --dport
> 5000,5001,5100,5050,11999 -j DROP
> 
> # Replace -o ppp0 with your out interface, if you have different then ppp0 
>   for example -o eth0
> 
> ##Droping MSN packets
> iptables -I FORWARD -o ppp0 -s IpOfClient -p tcp --dport 1836
> 
> However if you are doing some transparent proxing, for example if you
> are running squid on the same machine that is the firewall/router
> machine then replace FORWARD with OUTPUT
> 
> iptables -I OUTPUT -o ppp0 -s IpOfClient -p tcp -m multiport --dport
> 5000,5001,5100,5050,11999 -j DROP
> 
> ##Droping MSN packets
> iptables -I OUTPUT -o ppp0 -s IpOfClient -p tcp --dport 1836
> 
> Regards
> Askar
> 
> On Thu, 5 Aug 2004 07:07:38 +0100 (BST), Sameer Gurung
> <sameersworld@yahoo.co.in> wrote:
> > IS there a way i can block yahoo chat and instant
> > messenger and msn from only specific clients from the
> > network..... the clients get their ip address from a
> > dhcp server....
> > Any help would be appreciated
> > 
> > =====
> > 
> > 
> > ________________________________________________________________________
> > Yahoo! India Matrimony: Find your life partner online
> > Go to: http://yahoo.shaadi.com/india-matrimony
> > 
> >
> 


  reply	other threads:[~2004-08-05 12:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-05  6:07 Blocking IMs Sameer Gurung
2004-08-05  6:52 ` Ashutosh Naik
2004-08-05  7:12 ` Askar Ali Khan
2004-08-05 12:00   ` Alejandro Flores [this message]
2004-08-05 14:14 ` Nate Turnbow

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=1091707208.19428.5.camel@aflores \
    --to=alejandro.flores@triforsec.com.br \
    --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 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.