Since only one mark can be applied to each connection. Simple wildcard at the end would be nice. That way I could create groups like so:
hipri_tcp
hipri_udp
lowpri_tcp
hipti_udp
hipri_*
lowpri_*
Since only one mark can be applied to each connection. Simple wildcard at the end would be nice. That way I could create groups like so:
hipri_tcp
hipri_udp
lowpri_tcp
hipti_udp
hipri_*
lowpri_*
unfortunately, no way. internally, marks are integer numbers. so wildcarding is impossible
EDIT: implementation idea deleted because it was flawed
Here’s one that would work
I think:
mark: highpri+user1
group component: highpri+ id=00000001 (3 bits for group portion)
mark component: user1 id=00001001 (5 bits for mark portion)
mark ID: 00001001
I realize it’s not trivial and lookup efficacy is crucial when processing packets realtime…but it would be nice to have something like that.