]>
git.ipfire.org Git - people/stevee/perl-ipset.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Stefan Schantl [Mon, 17 Apr 2023 13:23:26 +0000 (15:23 +0200)]
Add test to remove ports from a set
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Mon, 17 Apr 2023 13:22:56 +0000 (15:22 +0200)]
Add test to add ports to a set
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Mon, 17 Apr 2023 13:21:39 +0000 (15:21 +0200)]
Add test to create and remove a port set.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Mon, 17 Apr 2023 13:17:59 +0000 (15:17 +0200)]
Add function to remove ports from a set.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Mon, 17 Apr 2023 13:17:01 +0000 (15:17 +0200)]
Add function to add ports to a set.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Mon, 17 Apr 2023 13:16:06 +0000 (15:16 +0200)]
Add support to create bitmap:port based sets
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sat, 17 Sep 2022 15:02:31 +0000 (17:02 +0200)]
Destroy ipset session on end of the testsuite.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sat, 17 Sep 2022 14:57:56 +0000 (16:57 +0200)]
Drop unused typemap definition for struct ipset_type.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sat, 17 Sep 2022 14:10:39 +0000 (16:10 +0200)]
Add support for flushing sets.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sat, 17 Sep 2022 13:59:21 +0000 (15:59 +0200)]
Add function to remove addresses or networks from a set.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sat, 17 Sep 2022 13:48:27 +0000 (15:48 +0200)]
Add function to add addresses or networks to a set.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sat, 17 Sep 2022 13:32:58 +0000 (15:32 +0200)]
Add test for get_sets() function.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sat, 17 Sep 2022 13:24:27 +0000 (15:24 +0200)]
Use values from testset hash.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sat, 17 Sep 2022 13:18:39 +0000 (15:18 +0200)]
Add tests for get_set_data() function and methods.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sun, 11 Sep 2022 13:52:48 +0000 (15:52 +0200)]
Add pure perl get_set_data function().
This function will create an object with the set data of a given set
and allows easy access to the single parts by using different methods.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Thu, 1 Sep 2022 18:01:39 +0000 (20:01 +0200)]
Add comments for function groups.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Thu, 1 Sep 2022 17:56:43 +0000 (19:56 +0200)]
Add function to get the raw set data.
The data will be returned as a single string and
processed by the get_set_data() function, which is part
of the IPSet.pm file. (Because string manipulation and extraction
is much easier in perl than in C.)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Thu, 1 Sep 2022 17:38:14 +0000 (19:38 +0200)]
Add function to get all loaded sets from the kernel.
They will be returned as a perl array.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Thu, 1 Sep 2022 17:33:43 +0000 (19:33 +0200)]
Add private call_list_cmd function.
This function uses the print_outfm_to_string function to capute the
output and return it as string.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Michael Tremer [Wed, 31 Aug 2022 18:32:27 +0000 (20:32 +0200)]
Add function to capture printed content and store it.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Thu, 25 Aug 2022 16:54:05 +0000 (18:54 +0200)]
Add function to get the error message of a session.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Thu, 25 Aug 2022 16:53:10 +0000 (18:53 +0200)]
Improve error handling.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Mon, 15 Aug 2022 16:27:24 +0000 (18:27 +0200)]
Add support for swapping sets.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Mon, 15 Aug 2022 10:19:35 +0000 (12:19 +0200)]
Add support for renaming sets.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Stefan Schantl [Sun, 14 Aug 2022 16:37:34 +0000 (18:37 +0200)]
Add support to delete sets.
Stefan Schantl [Sun, 14 Aug 2022 16:28:54 +0000 (18:28 +0200)]
Initial commit.
The module has the following support:
* Creating new sets.
* Checking if a set exists.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>