opnsense-src/sbin/ipf/libipf
Cy Schubert 43d49c178e ipfilter: Include the IP address in error message
Include the IP address in the message when a hashnode add error occurs.
This helps to identify the ippool.conf statement that the error occurred.

(cherry picked from commit 9da30a23a5ecae151ae1db045354fab105c69e12)
2024-11-18 16:26:05 -08:00
..
addicmp.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
addipopt.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
alist_free.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
alist_new.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
allocmbt.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
assigndefined.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
bcopywrap.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
binprint.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
buildopts.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
checkrev.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
connecttcp.c ipf/libipf: Fix typos 2023-06-01 20:33:38 -06:00
count4bits.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
count6bits.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
debug.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
dupmbt.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
facpri.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
facpri.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
familyname.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
fill6bits.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
findword.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
flags.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
freembt.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
ftov.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
gethost.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
geticmptype.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
getifname.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
getnattype.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
getport.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
getportproto.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
getproto.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
getsumd.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
hostname.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
icmpcode.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
icmptypename.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
icmptypes.c ipfilter: Move userland bits to sbin 2021-12-20 06:16:33 -08:00
inet_addr.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
initparse.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
interror.c ipf/libipf: Fix typos 2023-06-01 20:33:38 -06:00
ionames.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ipf_dotuning.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ipf_perror.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
ipft_hx.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ipft_pc.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ipft_tx.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ipoptsec.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
kmem.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
kmem.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
kmemcpywrap.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
kvatoname.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
load_dstlist.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
load_dstlistnode.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
load_file.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
load_hash.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
load_hashnode.c ipfilter: Include the IP address in error message 2024-11-18 16:26:05 -08:00
load_http.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
load_pool.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
load_poolnode.c ipfilter: Support printing of IPv6 addresses in error message 2024-11-18 16:26:05 -08:00
load_url.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mb_hexdump.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
msgdsize.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
mutex_emul.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
nametokva.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
nat_setgroupmap.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ntomask.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
optname.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
optprint.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
optprintv6.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
optvalue.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
parsefields.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
parseipfexpr.c libipf: fix parser error message. 2023-09-07 20:28:31 +00:00
parsewhoisline.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
poolio.c ipf: Use C89 function definitions. 2023-04-18 11:22:28 -07:00
portname.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
prependmbt.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
print_toif.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printactiveaddr.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printactivenat.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printaddr.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printaps.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printbuf.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printdstl_live.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
printdstlist.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
printdstlistdata.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printdstlistnode.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
printdstlistpolicy.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printfieldhdr.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printfr.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printfraginfo.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printhash.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printhash_live.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
printhashdata.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printhashnode.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printhost.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printhostmap.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printhostmask.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printifname.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printip.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printipfexpr.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printiphdr.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printlog.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printlookup.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printmask.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printnat.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printnataddr.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printnatfield.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printnatside.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printpacket.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printpacket6.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printpool.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printpool_live.c ipfilter/libipf: printpool_live() consumer ignores return code 2022-09-22 15:38:12 -07:00
printpooldata.c ipfilter/ippool: Dump a copy of ippool in ippool.conf format 2022-09-22 15:38:11 -07:00
printpoolfield.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printpoolnode.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printportcmp.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printproto.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printsbuf.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printstate.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printstatefields.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printtcpflags.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printtqtable.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
printtunable.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
printunit.c ipflter: ANSIfy userland function declarations 2022-01-03 18:06:42 -08:00
remove_hash.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
remove_hashnode.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
remove_pool.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
remove_poolnode.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
resetlexer.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
rwlock_emul.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
save_execute.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
save_file.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
save_nothing.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
save_syslog.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
save_v1trap.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
save_v2trap.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00
tcp_flags.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
tcpflags.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
tcpoptnames.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
v6ionames.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
v6optvalue.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
var.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
verbose.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
vtof.c ipfilter userland: Style(9) requires a space after return 2022-01-03 19:37:25 -08:00