Your message dated Mon, 14 Apr 2008 23:47:08 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#451002: fixed in tcng 10b-2
has caused the Debian Bug report #451002,
regarding tcng: ingress rules borked?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
451002: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451002
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: tcng
Version: 10b-1
Severity: normal

I am trying to assemble a simple bandwidth-limiting setup.  Below is what I got 
so far:

#include "fields.tc"
#include "ports.tc"

dev eth0 {
    ingress {
        $b = SLB (cir 256kbps, cbs 64kB);
        class (4)
            if (ip_proto == IPPROTO_UDP) && (udp_dport == 1194)
            if (ip_proto == IPPROTO_TCP) && (tcp_sport == 22883)
            ;
    }
    egress {
        // classification
        class (<$express>)
            if (ip_proto == IPPROTO_UDP) && (ip_len <= 512)
            ;
        class (<$expedited>)
            if (ip_proto == IPPROTO_ICMP)
            if (ip_proto == IPPROTO_UDP) && (udp_sport == 1194)
            if (ip_proto == IPPROTO_TCP) && (tcp_sport == 22883 || tcp_dport == 
53 || tcp_dport == 25)
            if (ip_proto == IPPROTO_TCP) && (ip_len <= 128) && (tcp_dport < 
1024) && (tcp_ACK == 1 || tcp_SYN == 1)
            ;
        class (<$normal>)
            if 1
            ;

        // queuing
        htb (rate 10Mbps) {
            $express = class (prio 1) { sfq; }
            $expedited = class (prio 2, rate 1Mbps) { sfq; }
            $normal = class (prio 3, rate 256kbps) { sfq; }
        }
    }
}

The ingress section obviously does nothing, it was just where I stopped to test 
...
When I compile this with tcng -r and run the resulting shell script, I get

RTNETLINK answers: File exists
RTNETLINK answers: File exists
We have an error talking to the kernel
RTNETLINK answers: File exists
We have an error talking to the kernel
RTNETLINK answers: File exists
We have an error talking to the kernel
RTNETLINK answers: File exists
We have an error talking to the kernel

But when I remove the entire ingress section, it works flawlessly (and does 
what it's supposed to).
What gives?  Has perhaps tcng bitrotted with respect to tc/iproute?

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-4unicorn200710072127 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages tcng depends on:
ii  cpp                           4:4.2.1-6  The GNU C preprocessor (cpp)
ii  iproute                       20070313-1 Professional tools to control the 
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries

tcng recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: tcng
Source-Version: 10b-2

We believe that the bug you reported is fixed in the latest version of
tcng, which is due to be installed in the Debian FTP archive:

tcng_10b-2.diff.gz
  to pool/main/t/tcng/tcng_10b-2.diff.gz
tcng_10b-2.dsc
  to pool/main/t/tcng/tcng_10b-2.dsc
tcng_10b-2_i386.deb
  to pool/main/t/tcng/tcng_10b-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Borowski <[EMAIL PROTECTED]> (supplier of updated tcng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 05 Mar 2008 13:53:41 +0100
Source: tcng
Binary: tcng
Architecture: source i386
Version: 10b-2
Distribution: unstable
Urgency: low
Maintainer: Adam Borowski <[EMAIL PROTECTED]>
Changed-By: Adam Borowski <[EMAIL PROTECTED]>
Description: 
 tcng       - Linux traffic control language interpreter
Closes: 439444 450739 451002 451463
Changes: 
 tcng (10b-2) unstable; urgency=low
 .
   * TeX transition: build-depend on texlive-latex-base instead of tetex-*,
     this cuts down half a gig of dependencies (Closes: #450739).
   * Non-stub manpage for tcng(8).
   * Mention in the package description that the "tcsim" half of package is
     not provided in Debian (and never was).  It would be nice to have it,
     but porting it to modern kernels is non-trivial.
   * Reorder #includes to make new glibc on amd64 happy (Closes: #451463).
   * Add Vcs-Svn and Vcs-Browser.
   * Properly clean ingress on -r (Closes: #451002).
   * Configure differently for in-place use and for packaged installs instead
     of using wrapper hacks (Closes: #439444).
   * Add a watch file.
   * doc-base section: net -> System/Administration.
Checksums-Sha1: 
 8c50d5a67f142a61db870230c1d72605dae01870 1045 tcng_10b-2.dsc
 e434705f5851d96966ace9fcd07c89f3f254c6e8 9004 tcng_10b-2.diff.gz
 578d016516b474eaaa471eb606de169e782a8632 713800 tcng_10b-2_i386.deb
Checksums-Sha256: 
 15ee5fd51d824f46f1d460c5936355d673342e8c602599286d342311f24e6d7b 1045 
tcng_10b-2.dsc
 2dffb4808af93e3e37688b43bfddca0aee4d11b813ba87ce2213b8e89cd0249e 9004 
tcng_10b-2.diff.gz
 151dcf7198bac72c0753b5a03449fbc33c5bff10e2a2a2a122149a6a794fc8e7 713800 
tcng_10b-2_i386.deb
Files: 
 59304fc52dba331aa9bbb0f2c0a206a4 1045 net extra tcng_10b-2.dsc
 1978aae4a1c57c7745ee6a68d869b7f2 9004 net extra tcng_10b-2.diff.gz
 927bce673d4124b8fa60446a64f01e47 713800 net extra tcng_10b-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIA+iUDcs5RBTUBgsRAvu7AJ9uIMYO6RHwe3cTnb9DcgylFjfdGgCgm2D/
mWxCDlMkSre5UAWAObFHzgc=
=INfD
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to