Re: Preventing uploads on a specific port to internet.

From: Michael Burnem (nospam@spam.no)
Date: 06/17/02


From: "Michael Burnem" <nospam@spam.no>
Date: Mon, 17 Jun 2002 19:06:28 GMT


"Kasper Dupont" <kasperd@daimi.au.dk> wrote in message
news:3D0E3043.D5DE9C52@daimi.au.dk...
> Michael Burnem wrote:
> >
> > I need a simple iptables rule to prevent uploads through port 2000, but
> > downloads still has to be possible.
> > I figure i should just make a --sport -j drop rule in PREROUTING
> > But that didn't work out too well..
>
> You must be more specific. Are you configuring server or client?
> Are you talking about port 2000 on server or client? What
> protocol are you using?

The protocol is tcp.
I've configured my router to route all --dport 2000 packages to 192.168.0.1
on my network, so i can get a active connection.
But now i want to limit upload's on that port, but not downloads.

I've limited upload on ppp0(to limit modem queues, since i've got adsl)
Do you know how to use tc handle on the ppp0 interface(so i could limit
upload's on port 2000), on the eth0 interface it's easy, but that only goes
for downloads.
(Sorry, i've really not gotten the logic of iproute2)



Relevant Pages

  • Re: Preventing uploads on a specific port to internet.
    ... > The protocol is tcp. ... Of course it is tcp, but there are a large number of file ... > But now i want to limit upload's on that port, but not downloads. ...
    (comp.os.linux.security)
  • Re: Preventing uploads on a specific port to internet.
    ... > The protocol is tcp. ... Of course it is tcp, but there are a large number of file ... > But now i want to limit upload's on that port, but not downloads. ...
    (comp.os.linux.security)
  • My game is EVIL, but OS X support is good
    ... Seriously, the OS X port of Warp Rogue is by far the most popular download, more popular than the Windows port even (Linux is the least popular port). ... The actual number of OS X downloads is even higher than what is shown in the screenshot because it only shows downloads through versiontracker.com. ...
    (rec.games.roguelike.development)
  • Re: My game is EVIL, but OS X support is good
    ... (see "Downloads (this version)") ... Seriously, the OS X port of Warp Rogue is by far the most popular download, more popular than the Windows port even (Linux is the least popular port). ...
    (rec.games.roguelike.development)
  • Re: iPlayer and security.
    ... Depending on what port is is listening and whether you've opened your ... firewall to allow incoming requests on that port. ... downloads. ...
    (uk.tech.digital-tv)

Quantcast