LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2019, 09:48 AM   #1
herbalbert
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Rep: Reputation: Disabled
Unhappy No longer able to add multiple TC rules on same handle in current kernels (4.5.5 works, but anything current does not)


I think this appears pretty straightforward, so either this is a pretty major flaw/bug that has not been addressed or I am not aware of a workaround (hopefully the latter).

This works in 4.5.5, but some time between that and 4.17 onwards it has been broken:

# tc filter add dev ipenc0 parent 1:0 handle ::101 protocol ip prio 1 u32 match ip dst 224.1.1.1/32 flowid 1:5 > WORKS

# tc filter add dev ipenc0 parent 1:0 handle ::101 protocol ip prio 1 u32 match ip dst 224.2.2.2/32 flowid 1:5
# RTNETLINK answers: No space left on device


If I change the handle id, it will work, but that's not solving the issue.


The problem started when the kernel was changed to use a radix tree to store these rules, and from what I'm seeing in the code, it is only able to store 1 rule per handle. Is this not a fundamental flaw??


Any, and all help is very appreciated. Thank you.
 
Old 01-24-2019, 10:08 AM   #2
herbalbert
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Shouldn't be adding under the same handle id, apparently before you could do this (even if you shouldn't), and now you cannot. Don't know the reasons as to why, seems to work otherwise.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does the OS handle permissions granted for a drive that no longer exist? chipwitch Linux - Newbie 15 05-01-2018 03:37 PM
SSSD does not receive sudo rules from Samba (but ldapsearch works) teekeino Linux - Server 2 08-17-2014 09:02 PM
auditctl -l not showing any rules even though i have rules written in audit.rules alphaguy Linux - Security 1 02-07-2014 05:28 PM
slackware 12.0, udev rules for usb-dev works, but mounting does not work correct paalmarker Linux - General 5 03-30-2010 01:51 AM
DVB usb device no longer detected as a DVB , but as V4L., so no longer works vdemuth Slackware 4 12-21-2008 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration