All of lore.kernel.org
 help / color / mirror / Atom feed
From: alex avriette alex@cosmo.allay.net
To: lartc@vger.kernel.org
Subject: [LARTC] traffic shaping with 2 class c's
Date: Mon, 08 Jan 2001 15:40:18 +0000	[thread overview]
Message-ID: <marc-lartc-98373940416836@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940416834@msgid-missing>

<PRE>On Mon, 8 Jan 2001, bert hubert wrote:

&gt;<i> &gt; 2.) Would it be possible to limit napster on a per-session basis and also
</I>&gt;<i> &gt; have a combined limit?
</I>&gt;<i>
</I>&gt;<i> Not sure. I think napster *traffic* looks like http. Also, I'm not sure if
</I>&gt;<i> you can limit per tcp session.
</I>
there is plenty of documentation out there on the web regarding how to
limit napster traffic. although i believe it is mostly just how to block
it entirely. you can block the entire napster inc block, but there are
other servers, such as those listed at <A HREF="http://www.napigator.com/list.php">http://www.napigator.com/list.php</A>
which would be exceptionally easy to grab with a script such as:

wget -qO - <A HREF="http://www.napigator.com/servers.php?version\x117">http://www.napigator.com/servers.php?version\x117</A> | grep
'[a-zA-Z]$'| awk '{print $7 &quot; &quot; $2 }'

which you could then pipe into nslookup or something (i think that $7 is
local to awk but you could use some shell magic to assign it to $NAME and
then nslookup $NAME or even pipe the above script to while read i; ). in
the above script $2 is the port which is almost always 8888. you could
then take that data and add ipchains rules for them or add them to the
routing table routed to dummy0 or lo.

alex



</PRE>

      parent reply	other threads:[~2001-01-08 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-08 15:08 [LARTC] traffic shaping with 2 class c's Chris
2001-01-08 15:26 ` bert
2001-01-08 15:40 ` alex [this message]

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=marc-lartc-98373940416836@msgid-missing \
    --to=lartc@vger.kernel.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.