ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Victor Forsyuk <force@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] tc и iptables
Date: Mon, 2 Oct 2006 17:03:37 +0300
Message-ID: <20061002140336.GA5627@mail.gu.net> (raw)
In-Reply-To: <20061002123210.7a800d14@bortnikov>

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.




  reply	other threads:[~2006-10-02 14:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-02  8:32 Alex
2006-10-02 14:03 ` Victor Forsyuk [this message]
2006-10-02 14:07   ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061002140336.GA5627@mail.gu.net \
    --to=force@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git