{"id":15286159,"url":"https://github.com/fgasper/p5-linux-nftables","last_synced_at":"2026-01-06T03:03:33.852Z","repository":{"id":65026485,"uuid":"580931103","full_name":"FGasper/p5-Linux-NFTables","owner":"FGasper","description":"CPAN’s Linux::NFTables","archived":false,"fork":false,"pushed_at":"2022-12-23T18:36:40.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T04:42:44.387Z","etag":null,"topics":["firewall","nftables","perl"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FGasper.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-21T20:28:06.000Z","updated_at":"2023-05-12T17:10:21.000Z","dependencies_parsed_at":"2022-12-26T19:54:32.738Z","dependency_job_id":null,"html_url":"https://github.com/FGasper/p5-Linux-NFTables","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGasper%2Fp5-Linux-NFTables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGasper%2Fp5-Linux-NFTables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGasper%2Fp5-Linux-NFTables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGasper%2Fp5-Linux-NFTables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FGasper","download_url":"https://codeload.github.com/FGasper/p5-Linux-NFTables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245169927,"owners_count":20571980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firewall","nftables","perl"],"created_at":"2024-09-30T15:10:48.463Z","updated_at":"2026-01-06T03:03:28.807Z","avatar_url":"https://github.com/FGasper.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nLinux::NFTables - Perl interface to [libnftables](https://netfilter.org/projects/nftables/)\n\n# SYNOPSIS\n\n    my $nft = Linux::NFTables-\u003enew()-\u003eset_output_options('json');\n\n    my $json = $nft-\u003erun_cmd(\"list tables\");\n\n# DESCRIPTION\n\nThis module provides a Perl interface to\n[nftables](https://netfilter.org/projects/nftables/).\n\n# CHARACTER\\_ENCODING\n\nStrings into \u0026 out of this module are byte strings.\n\n# METHODS\n\n## $obj = _CLASS_-\u003enew()\n\nInstantiates _CLASS_.\n\n## $yn = _OBJ_-\u003eget\\_dry\\_run()\n\nReturns a boolean that indicates whether _OBJ_ is set to dry-run mode.\n\n## $obj = _OBJ_-\u003eset\\_dry\\_run( \\[$yn\\] )\n\nSets or unsets dry-run mode in _OBJ_. If the parameter is not given,\nthis defaults to **ON**.\n\n## $output = _OBJ_-\u003erun\\_cmd( $CMD )\n\nPasses an arbitrary command string to nftables and returns its output.\n\n## @opts = _OBJ_-\u003eget\\_output\\_options()\n\nReturns a list of names, e.g., `json` or `guid`. Must be called\nin list context.\n\nPossible values are libnftables’s various `NFT_CTX_OUTPUT_*` constants\n(minus that prefix).\n\n## $obj = _OBJ_-\u003eset\\_output\\_options( @NAMES )\n\nA setter complement to `get_output_options()`.\n\n## @opts = _OBJ_-\u003eget\\_debug\\_options()\n\nLike `get_output_options()` but for debug options.\n\nPossible values are libnftables’s various `NFT_DEBUG_*` constants\n(minux that prefix).\n\n## $obj = _OBJ_-\u003eset\\_debug\\_options( @NAMES )\n\nA setter complement to `get_debug_options()`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgasper%2Fp5-linux-nftables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgasper%2Fp5-linux-nftables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgasper%2Fp5-linux-nftables/lists"}