Hi, I''ve upgraded a debian server running shorewall, which installed shorewall 4.4.11.6-3+squeeze1. It runs fine, except for the traffic shaping. I get this error Setting up Traffic Control... TC Device eth3 defined. TC Device bond0 defined. TC Device eth2 defined. TC Class 1:11 defined. TC Class 2:11 defined. TC Class 1:12 defined. TC Class 2:12 defined. TC Class 1:13 defined. TC Class 2:13 defined. TC Class 1:14 defined. TC Class 1:15 defined. TC Class 2:15 defined. TC Class 1:16 defined. TC Class 2:16 defined. TC Class 1:17 defined. TC Class 2:17 defined. TC Class 1:18 defined. TC Class 2:18 defined. RTNETLINK answers: Invalid argument We have an error talking to the kernel ERROR: Command "tc filter add dev bond0 protocol all parent 2:0 prio 2324 handle 0 fw classid 2:10" Failed I have looked at http://www.shorewall.net/upgrade_issues.htm and http://www.shorewall.net/LennyToSqueeze.html and haven''t found any problem: - using perl compiler - 3 interfaces in tcdevices I have checked for the kernel module mapping marks to class: # lsmod | grep cls_fw cls_fw 3513 0 Does anyone have a suggestion? Thanks Raph ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2
On 04/13/2012 06:24 AM, Raphael Bauduin wrote:> Hi, > > I''ve upgraded a debian server running shorewall, which installed > shorewall 4.4.11.6-3+squeeze1. > It runs fine, except for the traffic shaping. I get this error > > Setting up Traffic Control... > TC Device eth3 defined. > TC Device bond0 defined. > TC Device eth2 defined. > TC Class 1:11 defined. > TC Class 2:11 defined. > TC Class 1:12 defined. > TC Class 2:12 defined. > TC Class 1:13 defined. > TC Class 2:13 defined. > TC Class 1:14 defined. > TC Class 1:15 defined. > TC Class 2:15 defined. > TC Class 1:16 defined. > TC Class 2:16 defined. > TC Class 1:17 defined. > TC Class 2:17 defined. > TC Class 1:18 defined. > TC Class 2:18 defined. > RTNETLINK answers: Invalid argument > We have an error talking to the kernel > ERROR: Command "tc filter add dev bond0 protocol all parent 2:0 > prio 2324 handle 0 fw classid 2:10" Failed''handle 0'' is clearly invalid in that tc command. What are the entries for bond0 in tcclasses? -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2
On 04/13/2012 07:40 AM, Tom Eastep wrote:> On 04/13/2012 06:24 AM, Raphael Bauduin wrote: >> RTNETLINK answers: Invalid argument >> We have an error talking to the kernel >> ERROR: Command "tc filter add dev bond0 protocol all parent 2:0 >> prio 2324 handle 0 fw classid 2:10" Failed > > ''handle 0'' is clearly invalid in that tc command. What are the entries > for bond0 in tcclasses?Also, what is the bond0 entry in tcdevices? Thanks, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2
On Fri, Apr 13, 2012 at 4:40 PM, Tom Eastep <teastep@shorewall.net> wrote:> On 04/13/2012 06:24 AM, Raphael Bauduin wrote: >> Hi, >> >> I''ve upgraded a debian server running shorewall, which installed >> shorewall 4.4.11.6-3+squeeze1. >> It runs fine, except for the traffic shaping. I get this error >> >> Setting up Traffic Control... >> TC Device eth3 defined. >> TC Device bond0 defined. >> TC Device eth2 defined. >> TC Class 1:11 defined. >> TC Class 2:11 defined. >> TC Class 1:12 defined. >> TC Class 2:12 defined. >> TC Class 1:13 defined. >> TC Class 2:13 defined. >> TC Class 1:14 defined. >> TC Class 1:15 defined. >> TC Class 2:15 defined. >> TC Class 1:16 defined. >> TC Class 2:16 defined. >> TC Class 1:17 defined. >> TC Class 2:17 defined. >> TC Class 1:18 defined. >> TC Class 2:18 defined. >> RTNETLINK answers: Invalid argument >> We have an error talking to the kernel >> ERROR: Command "tc filter add dev bond0 protocol all parent 2:0 >> prio 2324 handle 0 fw classid 2:10" Failed > > ''handle 0'' is clearly invalid in that tc command. What are the entries > for bond0 in tcclasses?There was indeed an error in that file. There was a mark 0 in place of 9 . Thanks for helping me look at the right place! Raph> > -Tom > -- > Tom Eastep \ When I die, I want to go like my Grandfather who > Shoreline, \ died peacefully in his sleep. Not screaming like > Washington, USA \ all of the passengers in his car > http://shorewall.net \________________________________________________ > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users >-- Web database: http://www.myowndb.com Free Software Developers Meeting: http://www.fosdem.org ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2