painless-security / trust-router

Moonshot Trust Router
0 stars 0 forks source link

Filters should not use fixed number of lines/specs/matches #17

Open jennifer-richards opened 6 years ago

jennifer-richards commented 6 years ago

The filters implemented in tr_filter.c/.h are currently implemented using a fixed number of entries for the number of filter lines, specs within each filter line, and matches for each spec. This was done for expediency, but should be refactored to allow arbitrary numbers of entries at each level.

The original implementation used 8 for each, but that was immediately too small for the number of matches in our test configuration (specifically, we needed more matches). I will increase that for now.

Launchpad Details: #LP1702386 Jennifer Richards - 2017-07-05 01:26:16 +0000