similar to: tcng not working as expected

Displaying 20 results from an estimated 300 matches similar to: "tcng not working as expected"

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
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
2004 Sep 18
0
TCNG syntax for ingress / policing questions
Hi all, I have 2 questions regarding policing 1. What is the problem with policing as in most mesages I can find people say don''t but I have not found a why? 2. I have the egress below working (numbers in example are bogus, I know). How do I add an ingress policy? /* compile this file with tcc filename > limit.sh and run that file */ dev eth1 { egress { class (
2004 Sep 21
1
TCNG compilation/translation bug/question
Hi all, The following ingress statement: .... $host2 = SLB(cbs 1024kb, cir 2048kbps); class(<>) if ip_dst == 81.175.84.2 && SLB_else_drop($host2); .... is compiled by TCNG into the folling tc command: ... tc filter add dev eth0 parent ffff:0 protocol all prio 1 u32 match u32 0x51af5402 0xffffffff at 16 classid ffff:0 police index 505 rate 256000bps burst 131072 mpu 0 action
2007 Apr 25
0
problem with prio qdisc and tcng
Hello Mailing list, I have a problem with the prio qdisc and I donĀ“t know what is wrong in my configuration This ist a sample configuration and looks like this: #include "fields.tc" #include "ports.tc" #define X16(i) i i i i i i i i i i i i i i i i dev ppp0 { dsmark { prio(bands 6, priomap X16($be)) { class if ip_proto == IPPROTO_UDP;
2002 Mar 20
1
RMySQL integer range bug (PR#1400)
Full_Name: Matthias Piksa Version: 1.4.1 OS: Redhat 7.1 2.96-85 Submission from: (NULL) (131.220.6.43) There is a bug when retrieving values out of MySQL (3.23.36) which are of type UNSIGNED INTEGER(10). The values can vary between 0 and 2^32 but R only accepts those below 2^31-1. Anything above goes as 2^31-1. thats what one gets: print(quickSQL(con,"select ip_dst from iphdr where
2004 Jun 07
0
Hierarchy of HTBs
I''ve been having a bit of difficulty with a hierarchy of HTBs that I''m wanting to create. Essentially, I''ve got one interface that goes to both the DMZ and the internet. When going to the internet, some of the traffic will be going through a VPN and therefore I want to prioritize it differently, however I want to give the DMZ traffic full speed as long as it
2004 Aug 05
6
TC-ng questions/problems
Hi all, We have 2 class C networks that are connected by a Linux router with the internet. We want to apply traffic control (bandwidth control). For that we wrote the tcc script below. We have 2 problems: 1. To establish a 2 megagit download we must actually set the value to 2500kbps. Is there a possible reason for that? 2. If we enable the WAN device we get very hight ping times (they change
2012 Apr 25
1
forwarding packets to service in same host without using loopback network
This question is not about linux usage. But still i think user list is a good crowd for linux programmer. So here it goes. I have this libnetfilter_queue application which receives packets from kernel based on some iptables rule. Before going straight to my problem, i'm giving a sample workable code and other tools to set up a test environment so that We problem definition and possible
2003 May 26
0
ip_input.c
Hi, secfolks. While reading ip_input.c I have met following lines: ;------------------------------------------------- /* 127/8 must not appear on wire - RFC1122 */ if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) { if ((m->m_pkthdr.rcvif->if_flags &
2007 Feb 19
0
Absolute Maximal Bandwidth
Hey, I currently have a box serving as a firewall (running iptables) and packet shaper (using tc / tcng''s tcc compiler) to shape a large amount of inbound and outbound traffic to my data center. Whilst I can perform shaping functions using HTB, I need to also provide an absolute (to the nearest few 100kb/s) bandwidth usage maximum. As an example I might have 200MBit/sec
2004 Sep 23
0
Re: did you manage to solve dst cache overflow ?
See, /proc/sys/net/ipv4/ip_conntrack_max try to change value from this file to a higher value. It may happen. If it doesn''t help go keep mailing me :). No i didn''t overcome my problem yet. But I''m close. I did what i sad in the first line of my mail and it help for some time. I think htb has some kind of defect when using ds_mark. When I were shaping download only using
2003 Oct 03
0
SIGBUS on SPARCv9
Hi there, I run tinc with not ConnectTo, (and it can't tcp-connect to the relevant other tincd, because that tincd is behind a firewall --> that tincd usualy connects to my tincd). If I start that tincd alone (not connected at all) and do a ping some_other_ip, it gets a SIGBUS in route.c:207 in the function route_ipv4_unreachable at the line: hdr->ip_v = 4; This seems to be an
1999 Mar 25
0
(Fwd) DoS for Linux 2.1.89 - 2.2.3: 0 length fragment bug
Pulled from Bugtraq. Dan ____________________________________________________________________________ Dan Yocum | Phone: (630) 840-8525 Computing Division OSS/FSS | Fax: (630) 840-6345 .~. L Fermi National Accelerator Lab | email: yocum@fnal.gov /V\ I P.O. Box 500 | WWW: www-oss.fnal.gov/~yocum/ // \\ N Batavia, IL
2004 Jan 26
0
Solaris 9 compile errors, samba 3.0.2rc1
I've tried compiling samba 3.0.2rc1, 'gcc -v' gives me - Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.3.2 Here are a few bits from my config.log that I probably need help with, tell me if you need the whole thing - In file
2003 Oct 18
1
MORE ON : [htb] strange problems !?
hello again, I got some just preliminary results .... hope someone can explain them to me... As I already told I have the following config : egress { class (30kbps) {sfq}; class (50kbps) {sfq}; class (80kbps) {sfq}; class (30kbps) {sfq}; class (50kbps) {sfq}; ...hundreds like this... class (10kbps,default) {sfq}; } What I got is traffic starvation very often for a period of ~30 sec.. as
2002 Oct 11
0
outgoing packets not working..
hi all I just tried to test whether the HTB works well or not .. (policy is very simple ^^;;) I tried HTB simulator ''Ethloop'' with lo (loopback ) and I found HTB works well....(very well) So I changed lo to eth0 and tested .. ./tc qdisc add dev eth0 root handle 1: htb default 10 ./tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbps ceil 500kbps ./tc class add
2002 Oct 11
0
outgoing packets notworking..
hi all I just tried to test whether the HTB works well or not .. (policy is very simple ^^;;) I tried HTB simulator ''Ethloop'' with lo (loopback ) and I found HTB works well....(very well) So I changed lo to eth0 and tested .. ./tc qdisc add dev eth0 root handle 1: htb default 10 ./tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbps ceil 500kbps ./tc class add