From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 2 Oct 2006 17:03:37 +0300 From: Victor Forsyuk To: ALT Linux Sisyphus discussion list Message-ID: <20061002140336.GA5627@mail.gu.net> References: <20061002123210.7a800d14@bortnikov> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20061002123210.7a800d14@bortnikov> User-Agent: Mutt/1.4.1i Sender: Victor Forsyuk Subject: Re: [sisyphus] =?koi8-r?b?dGMgySBpcHRhYmxlcw==?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 14:03:39 -0000 Archived-At: List-Archive: List-Post: On Mon, Oct 02, 2006 at 12:32:10PM +0400, Alex wrote: > Здравствуйте! > > Пытаюсь разобраться с IFB ( http://linux-net.osdl.org/index.php/IFB ) как вариант > замены используемого сейчас IMQ > Делаю из доки: > ]# tc qdisc add dev eth0 ingress > ]# tc filter add dev eth0 parent ffff: protocol ip prio 10 u32 \ > > match u32 0 0 flowid 1:1 \ > > action ipt -j MARK --set-mark 1 > /usr/local/lib/iptables/libipt_mark.so: cannot open shared object file: No such file --^^^^^^^^^^^^^^^^^^^^^^^ Это неправильный каталог. > or directory failed to find target MARK > > bad action parsing > parse_action: bad value (5:ipt)! > Illegal "action" > ]# > > ]# rpm -qa |grep iptables > iptables-devel-1.3.5-alt4 > iptables-1.3.5-alt4 > iptables-ipv6-1.3.5-alt4 > ]# rpm -qa |grep iproute2 > iproute2-2.6.16.20060323-alt1 > > Это бага нашей сборки или я что-то не так делаю? Это из-за неправильного определения IPT_LIB_DIR в /usr/include/iptables.h. Так что первоначальная бага в недопатченности сборки iptables-1.3.5-alt4. Я могу сделать патчик для перекрытия IPT_LIB_DIR при сборке iproute2, но правильнее исправить сборку iptables.