Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Kbuild for me to delete backup files | Jozsef Kadlecsik | 2010-12-17 | 1 | -1/+1 |
| | |||||
* | Initialize ChangeLog for the new releasev5.0 | Jozsef Kadlecsik | 2010-12-17 | 1 | -0/+3 |
| | |||||
* | Add tests to check hash:ip,port,net type | Jozsef Kadlecsik | 2010-12-17 | 4 | -5/+58 |
| | |||||
* | Match command prefixes | Jozsef Kadlecsik | 2010-12-17 | 1 | -1/+1 |
| | | | | | Match not only the first letter or the full command name, but an arbitrary prefix too. | ||||
* | Add more test to check adding/deleting multiple entries. | Jozsef Kadlecsik | 2010-12-17 | 8 | -0/+46 |
| | |||||
* | Updated manpage to reflect wider input possibilities in the ipset tool. | Jozsef Kadlecsik | 2010-12-17 | 1 | -41/+45 |
| | |||||
* | Updated help texts for the hash:ip and list:set types. | Jozsef Kadlecsik | 2010-12-17 | 2 | -6/+7 |
| | |||||
* | Support adding/deleting multiple entries, userspace part. | Jozsef Kadlecsik | 2010-12-17 | 4 | -7/+34 |
| | | | | | | Support adding/deleting multiple entries in the userspace part of the hash:ip,port, hash:ip,port,ip, hash:ip,port,net and hash:net,port types. | ||||
* | Support adding/deleting multiple entries, kernel part. | Jozsef Kadlecsik | 2010-12-17 | 4 | -16/+261 |
| | | | | | | Support adding/deleting multiple entries in the kernel side of the hash:ip,port, hash:ip,port,ip, hash:ip,port,net and hash:net,port types. | ||||
* | Add ipset_parse_tcpudp_port function | Jozsef Kadlecsik | 2010-12-17 | 2 | -7/+30 |
| | | | | Add new parser function to parse TCP/UDP port name, number, or range of them. | ||||
* | Missing spaces in error strings fixed. | Jozsef Kadlecsik | 2010-12-17 | 1 | -4/+4 |
| | |||||
* | Use the 'full' flags of the types and check not allowed flags. | Jozsef Kadlecsik | 2010-12-17 | 2 | -14/+113 |
| | |||||
* | Remove unnecessary gfp_flags arguments | Jozsef Kadlecsik | 2010-12-16 | 10 | -70/+58 |
| | | | | | Where the argument was used, the set lock was already activated, therefore the argument value was always GFP_ATOMIC. | ||||
* | Add test to check multi-message listing and swapping. | Jozsef Kadlecsik | 2010-12-16 | 2 | -4/+11 |
| | |||||
* | Mistypeing in the hbucket() macro fixed. | Jozsef Kadlecsik | 2010-12-16 | 1 | -2/+6 |
| | |||||
* | Manpage cleanups, so it's more clear and straightforward. | Jozsef Kadlecsik | 2010-12-15 | 2 | -21/+21 |
| | |||||
* | Fix outdated messages in the tests | Jozsef Kadlecsik | 2010-12-14 | 8 | -89/+89 |
| | |||||
* | Document which elements cannot be stored in the different hash types. | Jozsef Kadlecsik | 2010-12-14 | 2 | -6/+15 |
| | | | | And enforce from kernel side as well... | ||||
* | Speed up testing a little bit | Jozsef Kadlecsik | 2010-12-13 | 21 | -65/+65 |
| | | | | Lower timeout values to max 5s, so we can lower sleep values too. | ||||
* | Convert last printks to pr_debug in ip_set_ahash.h | Jozsef Kadlecsik | 2010-12-13 | 1 | -4/+2 |
| | |||||
* | Remove remnants of slist from ip_set_ahash.h | Jozsef Kadlecsik | 2010-12-13 | 1 | -3/+2 |
| | |||||
* | Buffered commands are just ... buffered. | Jozsef Kadlecsik | 2010-12-13 | 3 | -129/+82 |
| | | | | | | | Calculate the free buffer size when adding the existing attributes at the buffered commands. If the buffer is full, cancel the unfinished nested attribute and commit the previously buffered commands. Then restart with the current buffered command. Thus we can get rid of the ugly maxsize parameter of the set types. | ||||
* | Fixing dangling empty line produced backward-incompatible exit codes, fixed. | Jozsef Kadlecsik | 2010-12-13 | 1 | -2/+2 |
| | |||||
* | Support case-insensitive ICMP and ICMPv6 type/code names. | Jozsef Kadlecsik | 2010-12-10 | 3 | -2/+4 |
| | |||||
* | Compiler flag compatibility fix with libmnl | Jozsef Kadlecsik | 2010-12-10 | 1 | -1/+1 |
| | | | | | libmnl now uses void pointer arithmetic, remove -Wpointer-arith from the compiler flags. | ||||
* | Fix dangling empty line at error/warning messages emitted by ipset. | Jozsef Kadlecsik | 2010-12-10 | 1 | -3/+4 |
| | |||||
* | Add proper RCU protection to resizing | Jozsef Kadlecsik | 2010-12-10 | 1 | -18/+38 |
| | | | | | | | Resizing can be triggered by userspace command only, and those are serialized by the nfnl mutex. During resizing the set is read-locked, so the only possible concurrent operations are the kernel side readers. Those must be protected by proper RCU locking. | ||||
* | Convert hash types from chash to ahash. | Jozsef Kadlecsik | 2010-12-10 | 7 | -94/+1127 |
| | | | | | | Instead of the cache friendly hashing, use the array based hashing. According to my tests the latter uses less memory, faster at lookup and deletion, and only slower at insertion. | ||||
* | Strip off ip_set_ prefix from non-ipset specific header files. | Jozsef Kadlecsik | 2010-12-08 | 9 | -8/+8 |
| | |||||
* | Update ip_set_jhash.h | Jozsef Kadlecsik | 2010-12-08 | 1 | -33/+81 |
| | | | | | Update ip_set_jhash.h with the version which was submitted for kernel inclusion. | ||||
* | Create include/linux/netfilter/ipset/ directory | Jozsef Kadlecsik | 2010-12-07 | 23 | -70/+70 |
| | | | | Separate the ipset header files from netfilter header files. | ||||
* | Complete Kconfig.ipset with hash:net,port type. | Jozsef Kadlecsik | 2010-12-07 | 1 | -8/+16 |
| | |||||
* | Remove include/net/pfxlen.h | Jozsef Kadlecsik | 2010-12-07 | 12 | -311/+305 |
| | | | | | Spare some memory by moving the static prefixlen maps to the ipset core. Thus we can get rid of include/net/pfxlen.h too. | ||||
* | Remove command MODIFY | Jozsef Kadlecsik | 2010-12-07 | 3 | -37/+35 |
| | | | | | Modifying a set can be performed by save/modify/restore/swap, without adding kernel part support. | ||||
* | Whitespace, checkpatch.pl cleanups. | Jozsef Kadlecsik | 2010-12-07 | 20 | -375/+376 |
| | |||||
* | The protocol extended with the command MODIFY. | Jozsef Kadlecsik | 2010-11-05 | 3 | -37/+41 |
| | | | | The command is not used yet, but better to reserve it already. | ||||
* | Update README file | Jozsef Kadlecsik | 2010-11-05 | 1 | -6/+23 |
| | | | | | Cleaned up the netlink.patch part: there's no more multiple patches. The incompatibilities against 4.x are listed in details. | ||||
* | Manpage and help text fixes.v5.0-pre10 | Jozsef Kadlecsik | 2010-11-02 | 2 | -38/+110 |
| | | | | | | | The manpage is updated to reflect the recent modifications and the addition of the hash:net,port type. The help text of hash:ip is updated: adding/deleting multiple entries are supported for IPv4 only. | ||||
* | Enforce handling IPv4 and IPv6 differently for hash:ip type. | Jozsef Kadlecsik | 2010-10-30 | 1 | -1/+1 |
| | | | | | Use the newly added parser function ipset_parse_ip4_single6 instead of the generic ipset_parse_ip. | ||||
* | Add parser function to handle IPv4 and IPv6 differently. | Jozsef Kadlecsik | 2010-10-30 | 2 | -0/+42 |
| | | | | | | At present IPv6 does not support adding/deleting multiple IPv6 addresses specified as an ip-ip range or ip/prefix block. A parser function is added by which can enforce it at parsing the address pattern. | ||||
* | Resizing converted to run under read-locking of the set | Jozsef Kadlecsik | 2010-10-30 | 7 | -118/+157 |
| | | | | | | | With restricting resizing so that it can be triggered by an add from userspace only, we can modify it so that it uses read-locking instead of write-locking. Thus the matching in the set can run parallel with resizing. | ||||
* | Remove to support resizing from kernel context. | Jozsef Kadlecsik | 2010-10-29 | 1 | -8/+1 |
| | | | | | | Resizing in kernel context is simply too expensive. Drop the feature: if a set is used as a dynamic container by a SET target, then the set must be created with a proper size from now on. | ||||
* | Fix gfp_flags at resizing | Jozsef Kadlecsik | 2010-10-29 | 2 | -3/+3 |
| | | | | | Resizing functions are called without holding any lock. So we can allocate using the flag GFP_KERNEL. | ||||
* | Test to list large hash sets added. | Jozsef Kadlecsik | 2010-10-29 | 2 | -0/+1065 |
| | |||||
* | Listing for hash types fixed | Jozsef Kadlecsik | 2010-10-29 | 1 | -2/+18 |
| | | | | | | The listing was incorrect for large sets, when multiple messages were required. I assume that one full hash bucket fills into one message, but that is true for all current hash types. | ||||
* | Kernel compile-time files are added to .gitignore | Jozsef Kadlecsik | 2010-10-29 | 1 | -0/+9 |
| | |||||
* | Build and source kernel directoriesv5.0-pre9 | Jozsef Kadlecsik | 2010-10-25 | 1 | -1/+7 |
| | | | | | Fall back to the build directory if the source directory is not specified. Check that it looks like as a source directory. | ||||
* | Merge branch 'ipset-5' of git://dev.medozas.de/ipset into ipset-5 | Jozsef Kadlecsik | 2010-10-25 | 7 | -34/+49 |
|\ | |||||
| * | Add .gitignore files | Jan Engelhardt | 2010-10-19 | 2 | -0/+21 |
| | | | | | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de> | ||||
| * | build: run autoupdate | Jan Engelhardt | 2010-10-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | AC_CANONICAL_SYSTEM is deprecated in favor of calling one or more of AC_CANONICAL_{BUILD,HOST,TARGET}. Since configure.ac only uses $target, only AC_CANONICAL_TARGET is needed. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> |