On Tue, 2003-02-04 at 18:24, Cheng Kwok Wing, William wrote:> Hi, > > I would like to allow other user (such as apache) to > use tc since I''ll now working on a web interface for > tc. ............try using the "super" package. regards. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi, I would like to allow other user (such as apache) to use tc since I''ll now working on a web interface for tc. How can I do that?? I''m using shell_exec() in php. I''ve added apache to the root group and can run tc without problems. However,, when I ran tc class, it said "RTNETLINK answers: Operation not permitted". Thanks in advance, William __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 04 February 2003 13:47, Anoop S wrote:> On Tue, 2003-02-04 at 18:24, Cheng Kwok Wing, William wrote: > > Hi, > > > > I would like to allow other user (such as apache) to > > use tc since I''ll now working on a web interface for > > tc. ............ > > try using the "super" package.Or set the stick-bit on the tc binary chmod +s tc Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello , I would like to know if it is possible to do the following ? To give priority to incoming IP packets from a specific source (IP address).For example I have packets coming in through an interface eth1 going to higher layer application on the same machine. I want to give priority to packets coming from 1.2.3.4 and maybe drop packets from other address at high data rates. Can we do this using ingress or some other qdisc ? Best Regards, Andreas. --------------------------------- With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
On Tuesday 11 February 2003 18:03, Andreas Wright wrote:> Hello , > > I would like to know if it is possible to do the following ? > > To give priority to incoming IP packets from a specific source (IP > address).For example I have packets coming in through an interface eth1 > going to higher layer application on the same machine. I want to give > priority to packets coming from 1.2.3.4 and maybe drop packets from other > address at high data rates. > > Can we do this using ingress or some other qdisc ?With ingress, you can only rate limit certain packets. But you can use the imq device. You need to patch iptables and the kernel. After that, you can redirect all incoming packets to this virtual device and use an egress qdisc to shape the traffic. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/