[Techtalk] QoS traffic shaping in 2.4.26
Elwing
elwing at elwing.org
Sun Sep 12 23:21:06 EST 2004
So, I've got myself a VoIP phone, and I want to implement traffic
shaping on my firewall. It's running a custom kernel, but the base is
debian stable.
Following bits and pieces of documentation I've found [1], I've
attempted to compile a kernel. Apparently, I don't need any kind of
patch to 2.4.26 to support HTB queues. So, I've got myself a stock
kernel, with everything under Network Options -> QoS and Fair Queueing
selected as a module (unless it's only allowed as part of the kernel).
I can compile the kernel and modules fine, but when the modules try to
load, I get all kinds of unresolved symbols. [2]
Do I really need some kind of patch? Am I completely on the wrong track?
My ultimate goal is to give VoIP traffic as much bandwidth as it wants,
P2P/bittorrent uploading only if nothing else is using the connection.
So, I was going to use four queues: one for VoIP traffic (always to and
from one specific host), one for interactive traffic (SSH, telnet,
etc..) one for "other" such as HTTP, SMTP, etc.. and the final queue
for P2P/bittorrent traffic.
I was going to use the tc command line (I found some decent example
scripts), but is there another way to do this?
I'd prefer not moving up to the 2.6 kernel if possible, but I'll
consider it with a pressing reason why I should.
Thanks!
elwing
[1] http://qos.ittc.ukans.edu/howto/, http://diffserv.sourceforge.net/,
http://www.docum.org/docum.org/faq/cache/46.html
[2] (I just recompiled with HTB queueing in the kernel, but the symbols
are the same):
ender:/usr/src/linux-2.4.26# modprobe sch_cbq
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
__kfree_skb_R82171250
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
psched_time_mark_R2aa24698
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
qdisc_new_estimator_R14ad0292
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
register_qdisc_R5d286db7
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
qdisc_copy_stats_R868acec7
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
__rta_fill_R070f7868
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
qdisc_reset_R7b6645e4
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
qdisc_create_dflt_R05f3bedb
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
qdisc_kill_estimator_R21d5e1b9
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
softnet_data_Refc4fc7d
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
noop_qdisc_R97539b9d
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
psched_time_base_R53e3d5fe
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
___pskb_trim_Rf259cef1
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
unregister_qdisc_Rdf14b0ef
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
qdisc_put_rtab_R821a0545
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
qdisc_destroy_Ra37271fb
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
pfifo_qdisc_ops_Re2151527
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: unresolved symbol
qdisc_get_rtab_R3adce61c
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: insmod
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o failed
/lib/modules/2.4.26/kernel/net/sched/sch_cbq.o: insmod sch_cbq failed
More information about the Techtalk
mailing list