]>
git.ipfire.org Git - people/stevee/perl-ipset.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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>