summaryrefslogtreecommitdiffstats
path: root/src/main.c
Commit message (Expand)AuthorAgeFilesLines
* main: swap json and gmp fields in nft -VPablo Neira Ayuso5 days1-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
* main: Drop stdout hack to expose nft_print() implementation issuesPhil Sutter2017-09-291-3/+1
* main: Flush output from nft_gmp_print()Phil Sutter2017-09-291-0/+1
* src: get rid of printfPhil Sutter2017-09-291-3/+48
* main: Fix for return of uninitialized variable in nft_run_cmd_from_filename()Phil Sutter2017-09-271-1/+3
* src: add flags fo nft_ctx_newEric Leblond2017-09-041-9/+11
* src: add nft_ctx_netlink_init()Pablo Neira Ayuso2017-09-011-2/+10
* src: move nf_sock into nft_ctx structurePablo Neira Ayuso2017-09-011-15/+11
* src: call nft_init() and nft_exit() from context routinesPablo Neira Ayuso2017-08-241-5/+4