summaryrefslogtreecommitdiffstats
path: root/src/main.c
Commit message (Expand)AuthorAgeFilesLines
* src: add --define key=valuePablo Neira Ayuso2021-07-201-1/+21
* main: fix nft --help output fallout from 719e4427Štěpán Němec2021-02-221-3/+4
* main: fix typo in cli definitionPablo Neira Ayuso2021-01-061-1/+1
* cli: add libedit supportPablo Neira Ayuso2021-01-051-1/+3
* nft: rearrange help output to group related options togetherArturo Borrero Gonzalez2020-07-291-53/+83
* main: fix build with gcc <= 4.8Fabrice Fontaine2020-06-081-1/+3
* main: fix get_optstring truncating outputMichael Braun2020-05-021-1/+3
* main: fix ASAN -fsanitize=address error in get_optstring()Michael Braun2020-05-011-4/+4
* main: swap json and gmp fields in nft -VPablo Neira Ayuso2020-04-011-1/+1
* main: use one data-structure to initialize getopt_long(3) arguments and help.Jeremy Sowden2020-03-101-113/+138
* main: interpolate default include path into help format-string.Jeremy Sowden2020-03-101-2/+2
* main: include '--reversedns' in help.Jeremy Sowden2020-03-101-1/+1
* main: include '-d' in help.Jeremy Sowden2020-03-101-20/+20
* main: remove duplicates from option string.Jeremy Sowden2020-03-051-1/+1
* main: add more information to `nft -V`.Jeremy Sowden2020-03-051-1/+45
* main: restore --debugPablo Neira Ayuso2020-01-091-2/+4
* main: enforce options before commandsPablo Neira Ayuso2019-12-181-1/+45
* main: remove duplicate output flag assignment.Jeremy Sowden2019-10-231-1/+0
* main: add missing `OPT_NUMERIC_PROTO` long option.Jeremy Sowden2019-10-231-0/+4
* Revert "main: Fix for misleading error with negative chain priority"Phil Sutter2019-10-231-1/+1
* src: add --terse to suppress output of set elements.Jeremy Sowden2019-10-221-1/+10
* src: use `-T` as the short option for `--numeric-time`.Jeremy Sowden2019-10-221-3/+3
* main: Fix for misleading error with negative chain priorityPhil Sutter2019-10-211-1/+1
* meta: Introduce new conditions 'time', 'day' and 'hour'Ander Juaristi2019-09-061-1/+11
* main: replace NFT_EXIT_NOMEM by EXIT_FAILUREPablo Neira Ayuso2019-07-051-2/+1
* src: use malloc() and free() from cli and mainPablo Neira Ayuso2019-07-051-1/+1
* nft: don't use xzalloc()Arturo Borrero Gonzalez2019-07-011-1/+7
* main: Bail if non-available JSON was requestedPhil Sutter2019-06-251-0/+3
* src: add -p to print layer 4 protocol numericallyPablo Neira Ayuso2018-10-301-1/+6
* src: get rid of nft_ctx_output_{get,set}_numeric()Pablo Neira Ayuso2018-10-301-12/+2
* src: add -y to priority base chain nummericallyPablo Neira Ayuso2018-10-291-2/+10
* src: default to numeric UID and GID listingPablo Neira Ayuso2018-10-291-1/+10
* src: add nft_ctx_output_{get,set}_echo() to nft_ctx_output_{get,set}_flagsPablo Neira Ayuso2018-10-291-1/+1
* src: add nft_ctx_output_{get,set}_json() to nft_ctx_output_{get,set}_flagsPablo Neira Ayuso2018-10-291-1/+3
* src: add nft_ctx_output_{get,set}_handle() to nft_ctx_output_{get,set}_flagsPablo Neira Ayuso2018-10-291-1/+1
* src: add nft_ctx_output_{get,set}_stateless() to nft_ctx_output_{get,flags}_f...Pablo Neira Ayuso2018-10-291-1/+1
* src: Revert --literal, add -S/--servicePablo Neira Ayuso2018-10-291-20/+11
* src: add --literal optionPablo Neira Ayuso2018-07-071-2/+23
* libnftables: Simplify nft_run_cmd_from_buffer footprintPhil Sutter2018-06-181-1/+1
* libnftables: Implement JSON output supportPhil Sutter2018-05-111-1/+10
* libnftables: fix header exportArturo Borrero Gonzalez2018-05-021-1/+1
* libnftables: Fix for input without trailing newlinePhil Sutter2018-04-111-3/+2
* libnftables: Ensure output_fp is never NULLPhil Sutter2017-11-221-1/+0
* libnftables: Unexport enum nftables_exit_codesPhil Sutter2017-11-161-11/+11
* src: add nft_ prefix to everything exposed through include/nftables/nftables.hPablo Neira Ayuso2017-10-241-13/+13
* libnftables: Introduce getters and setters for everythingPhil Sutter2017-10-241-13/+17
* cli: Use nft_run_cmd_from_buffer()Phil Sutter2017-10-241-3/+2
* libnftables: Move library stuff out of main.cPhil Sutter2017-10-241-251/+1
* main: Fix for wrong argument passed to cache_release in nft_ctx_freePhil Sutter2017-10-201-2/+2
* evaluate: Fix debug outputPhil Sutter2017-10-061-2/+8