All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] traffic shaping with 2 class c's
@ 2001-01-08 15:08 Chris
  2001-01-08 15:26 ` bert
  2001-01-08 15:40 ` alex
  0 siblings, 2 replies; 3+ messages in thread
From: Chris @ 2001-01-08 15:08 UTC (permalink / raw)
  To: lartc

<PRE>Hello, I really appreciate this site.  Finally, there is updated info on cbq
and people with knowledge to back it up - - Thanks

Here is my situation,
I am at a college with a single 512k line for 450 machines.  Our servers and
fac/staff are on C class x.x.166.x and all students are on C class x.x.167.x
.  Currently, a few student machines are monopolizing our connection for
napster and make business related telnet painfully slow (all telnet is
pointed at the same server off campus.)

I wanted to know if anyone has tried or has knowledge withthe following
situations -
1.) I wanted to make sure that it was possible to have 2 C class addresses
behind IProute2.
2.) Would it be possible to limit napster on a per-session basis and also
have a combined limit?
3.) Currently, we are not supporting DCHP and I do not have the resources to
change the gateways on all machines.  Would that be needed?  The current
router/gateway is x.x.166.254, it would be possible for me to add an
additional IP address to it.  This is probably my biggest concern, since I
want to maintain all my current, real IP's.

Sorry about all of the questions and thanks in advane for any help.

Chris G.




</PRE>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] traffic shaping with 2 class c's
  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
  1 sibling, 0 replies; 3+ messages in thread
From: bert @ 2001-01-08 15:26 UTC (permalink / raw)
  To: lartc

<PRE>On Mon, Jan 08, 2001 at 09:08:10AM -0600, Chris Glanzer wrote:
&gt;<i> Hello, I really appreciate this site.  Finally, there is updated info on cbq
</I>&gt;<i> and people with knowledge to back it up - - Thanks
</I>&gt;<i> 
</I>&gt;<i> Here is my situation,
</I>&gt;<i> I am at a college with a single 512k line for 450 machines.  Our servers and
</I>&gt;<i> fac/staff are on C class x.x.166.x and all students are on C class x.x.167.x
</I>&gt;<i> .  Currently, a few student machines are monopolizing our connection for
</I>&gt;<i> napster and make business related telnet painfully slow (all telnet is
</I>&gt;<i> pointed at the same server off campus.)
</I>
&gt;<i> 1.) I wanted to make sure that it was possible to have 2 C class addresses
</I>&gt;<i> behind IProute2.
</I>
Of course.

&gt;<i> 2.) Would it be possible to limit napster on a per-session basis and also
</I>&gt;<i> have a combined limit?
</I>
Not sure. I think napster *traffic* looks like http. Also, I'm not sure if
you can limit per tcp session.

&gt;<i> 3.) Currently, we are not supporting DCHP and I do not have the resources to
</I>&gt;<i> change the gateways on all machines.  Would that be needed?  The current
</I>&gt;<i> router/gateway is x.x.166.254, it would be possible for me to add an
</I>&gt;<i> additional IP address to it.  This is probably my biggest concern, since I
</I>&gt;<i> want to maintain all my current, real IP's.
</I>
If your router is already Linux, I don't see any problem.

Regards,

bert hubert

-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] traffic shaping with 2 class c's
  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
  1 sibling, 0 replies; 3+ messages in thread
From: alex @ 2001-01-08 15:40 UTC (permalink / raw)
  To: lartc

<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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-01-08 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.