commit | 8eb45898dc4d7e31c4956c5e0574f28523a45641 | [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 | b604471f820234b3592653b6a845dfd1d76cc00e [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.