Displaying 20 results from an estimated 1000 matches similar to: "how to define a port range?"
2005 May 14
1
Need some help
Hi all, I have read the larc howto and I need to apply a traffic shaper
with this configuration:
router / two interface etho and eth1
lan
lan is on eth1 and on eth0 I''ve the dsl connection (1.2 Mbit / 256 kbit)
I need to limit the bandwith towards lan and I''ve thought at HTB and
tcng. I write the script belove. I want limit the p2p and ftp (ssh and
irc) connection at 15
2002 Dec 31
3
[tcng] More complex example?
Hi
I''m completely stuck with the tcng language - I assume there must be
some way to arrange queues hierachically like
eth1
|
TBF
|
PRIO
/ \
class class
but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no
classes near "prio"" when run through tcc.
dev eth1 {
egress {
tbf (rate 128kbps, burst 64kb,
2004 May 24
1
Newbie STILL trying to limit bandwidth - is this script wrong?
My previous message
(http://mailman.ds9a.nl/pipermail/lartc/2004q2/012285.html) didn''t generate
any replies, so I thought I''d try posting what I''ve done trying to solve my
own problem, in hopes that someone will take pity and show me if/where I''m
going wrong.
Just to recap, I''m trying to accomplish this on my server, which streams
RealAudio files
2004 May 05
3
Simple HTB setup with tcng
Hello all,
I am trying to set up a simple htb based system, where packets with
source ip 10.0.0.1 should have their own class.
I plan to use tcng to set it up easier.
Is there something wrong in my tcng file ?
~/tcng$ cat htb
/*
*/
#include "fields.tc"
#include "ports.tc"
dev eth0 {
htb ( ) {
class ( rate 600kbps, ceil 600kbps )
{
2006 May 29
3
TCNG HTB priority and bandwidth
Hi,
I have several users on the lanside each allocated separate IP addresses.
I need to allocate th traffic to each IP addresses certain portion of
total uplink.
Say, 192.168.0.2 rate 128kbps, ceil 128kbps.
192.168.0.3 rate 65kbps, ceil 128kbps
129.168.0.4 rate 64kbps, ceil 64kbps.
and so on....
Also, for each user i would like to prioritize the traffic within the
allocated bandwidth.
say for
2004 Jul 14
1
tcng/tc setup
Hi all,
Can someone please help with a tcng setup? I have played with tc and tcng in
the past, and now would like to get some serious rules in place. However, I
have a difficulty in setting them up.
My setup is as follows:
One machine working as a firewall:
eth0 is the interface connected to a 512K DSL line
eth1 is connected to a LAN
eth2 is connected to another LAN, a bit like a DMZ
eth1 and
2006 Jun 23
2
TCNG question
Hey all, i have a class.
class ( <$call1> ) if ip_dst == 10.100.1.6 && tcp_dport == 22
if ip_src == 10.100.1.4 && tcp_sport == 22
;
Now when i apply this traffic TO 6 on port 22 is indeed limited to the speed
i specify BUT it doesn''t seem to take the src into account at all. If i
change the src to anything, even an address that
2006 May 20
1
Hi, a important doubt
How can i put a port range in a tcng or tc configuration
>
> Does somebody know???
>
> It´s important, cause i need to regulate the bandwidth from the TCP port
> 1054 until TCP port 1200, how can i do that????????
>
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2006 May 28
0
TCNG HTB Branching the class not working. (bug or what)
Hi,
I am new to traffic control in linux. However, i have able to grab many
new knowledge in recent days. I find tcng somewhat easy to use (although
lack proper doc. of its usage).
I want to control traffic of several IP Addresses connected to my LANSIDE.
What I want is , i want to separate certain bandwidth to all my clients.
dev "etho" {
htb() {
class ( rate 400kbps, ceil
2004 May 08
3
asterisk with german SIPGATE ?
hi
anybody running with german SIPGATE?
my configuration don't works :-(
regards
thorsten@gehrig.de
2004 May 11
1
Need help: X100P connection/configuration in GERMANY
hi
i need help in connecting a X100P-clone in germany.
Basic questions:
a)what configuration do I need ? what is the difference (maybe explain in
german? via email?)
fxs_ls: FXS (Loop Start)
fxs_gs: FXS (Ground Start)
fxs_ks: FXS (Kewl Start)
b) can I use one card for connecting to the telephone network (in this case
my analog pbx) and the same card for connecting an analog phone
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
Thank you for your help.
It generates this script :
tc qdisc add dev eth0 handle 1:0 root htb default 2
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 75000bps ceil \
75000bps
tc class add dev eth0 parent 1:0 classid 1:2 htb rate 125000bps
tc filter add dev eth0 parent 1:0 protocol all prio 1 u32 match u32 \
0xa000001 0xffffffff at 12 classid 1:1
But I thought it was necessary to
2005 Jan 02
0
Performance Loss with HTB/tcng?
Hi,
I try to shape my incoming traffic. I have 2MBit/s DSL bandwith and
the following ruleset (on the internal interface):
$INT="eth1";
$INT_NET=192.168.1.0;
$MAX_IN=2Mbps;
dev $INT {
egress {
class (<$int>) if ip_src:24 == $INT_NET;
class (<$ssh>) if tcp_sport == PORT_SSH;
class (<$smtp>) if tcp_sport == PORT_SMTP;
class (<$http>) if
2004 Oct 23
0
error making htb example
Newbie here...
tcng version 10b
I''m just learning about htb and using tcng. I am trying to make the
example in
Martin A. Brown''s Traffic Control with tcng and HTB HOWTO v0.5
example 2
/*
* Simply commented example of a tcng traffic control file.
*
* Martin A. Brown <mabrown@securepipe.com>
*
* Example: Using class selection path.
*
* (If you are reading the
2004 Jul 05
2
Problem with BRI_STUF / direct connected ISDN-Phone
Deutsche ?bersetzung folgt / German version following
=====================================================
Hello,
i have Asterisk running with 2 ISDN-Cards.
One AVM Fritz for connection to german ISDN
and one HFC-compatible-Card (NT mode) for connection to ISDN-Phone (later:
ISDN-PBX).
Here is my actual installation:
ISDN -> Fritz - ASTERISK ? HFC-NT <- ISDN-Telephone
If i pick up my
2004 Jan 26
2
I can''t get TCNG to compile!!!
Help! I can''t get TCNG to compile!!! It did this on 2 different machines!
Here are the errors:
--------------------------------------------
Kernel: 2.4.22
[root@localhost tcng]# uname -a
Linux localhost.localdomain 2.4.22-1.2149.nptl #1 Wed Jan 7 13:08:26 EST
#if KFULLVERSIONNUM >= 0x20416 /* gratuitous interface change in 2.4.22 :-(
*/
ERROR:
ake -f Makefile.unclean tcsim
make[2]:
2007 May 16
1
tcng + esfq
FYI,
i''ve just created a quick patch adding esfq (Enhanced Stochastic
Fairness queueing discipline) for tcng (Traffic Control Next
Generation).
Patch is located at http://devel.dob.sk/tcng+esfq.
Enjoy.
Sam
2004 Apr 16
1
tcng and ip_len
I can''t seem to match packets less than 512 bytes:
class( <$bulk> )
if tcp_dport == 81 && !( ip_len & 0xfe00 )
;
or
if tcp_dport == 81 && ip_len < 512
Both rules match any packet I send to port 81, even when the total IP length
is much greater than 512 bytes:
class htb 2:4 parent 2:1 leaf 5: prio 1 rate 8000bps ceil 24000bps burst 6Kb
cburst 1839b
Sent
2006 Oct 24
2
Installing stats4 package
Hi,
I wantto use 'mle' function in R on linux. As I see its been integrated
into the stats4 package. Am I correct ? If yes, Can anyone suggest how to
install the stats4 package to be able to run 'mle' function in R on linux ?
Otherwise how to sort out this problem ?
Thanks
Himanshu
[[alternative HTML version deleted]]
2004 Sep 07
0
TCNG Port Range
I''d like to set up a filter based on a port range.
I tried something like
class( <$test> )
if tcp_sport > 2001 && tcp_sport < 2015
;
But it seems to ''hang'' with this in there..
Is this the best/right way to go about this? if not, what is the best way?
Thanks
_______________________________________________
LARTC mailing list /