commit | d77c8171aa22585a46cc9fdff4734a2b6b4f35f1 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 08 10:53:39 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:21 2010 +0800 |
tree | 2d227ec3d33ad4ef0e67e564cb3ff2453c235c4c | |
parent | 29c67039fe449e9e44f6422fcf122d4263aa56b6 [diff] |
nat: Allow to specify multiple entries in the access-list... Inside the access-list we have a list of entries that have either one allow or one deny rule... we do not allow to remove a single rule but one has to remove the whole list, in that case talloc will handle cleaning all entries. Right now the matching is O(n*m) as we traverse the list (multiple times) and run the regexp multiple times. One way to make it faster would be to concat all regexps into one.