]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
2 years agoEnsure temporary list is freed
Nick Porter [Tue, 8 Aug 2023 09:59:35 +0000 (10:59 +0100)] 
Ensure temporary list is freed

2 years agoCI: split some install dependencies to separate action
Matthew Newton [Mon, 7 Aug 2023 14:56:14 +0000 (15:56 +0100)] 
CI: split some install dependencies to separate action

2 years agounify fr_pair_print() and fr_pair_list_print() functions
Alan T. DeKok [Mon, 7 Aug 2023 13:53:37 +0000 (09:53 -0400)] 
unify fr_pair_print() and fr_pair_list_print() functions

so that they call each other.  i.e. less code.

And clean up various other bits

2 years agoRevert "Keep too-long lines from overwriting output_buffer (#5093)"
Alan T. DeKok [Mon, 7 Aug 2023 13:48:36 +0000 (09:48 -0400)] 
Revert "Keep too-long lines from overwriting output_buffer (#5093)"

This reverts commit b69393030a90e01aa9ff592d0171333efa1c3498.

You can use "goto" to jump into another block, but that won't
cause the compiler to treat variables of the same name as identical.

2 years agoadd and use fr_pair_list_print()
Alan T. DeKok [Mon, 7 Aug 2023 13:10:21 +0000 (09:10 -0400)] 
add and use fr_pair_list_print()

so that we can hoist the "nested or not" debug printing into
this function.  Which also lets this function peek ahead, and
print attributes as if they were nested when they really aren't

2 years agoCI fuzzing: install extras repo for latest libkqueue
Matthew Newton [Mon, 7 Aug 2023 11:53:45 +0000 (12:53 +0100)] 
CI fuzzing: install extras repo for latest libkqueue

2 years agoCI fuzzing: show which commit is being tested
Matthew Newton [Mon, 7 Aug 2023 11:53:19 +0000 (12:53 +0100)] 
CI fuzzing: show which commit is being tested

2 years agodocs: antora web redirects
Matthew Newton [Sat, 5 Aug 2023 20:42:52 +0000 (21:42 +0100)] 
docs: antora web redirects

2 years agodocs: ensure v4 antora docs are marked as development
Matthew Newton [Fri, 4 Aug 2023 21:04:04 +0000 (22:04 +0100)] 
docs: ensure v4 antora docs are marked as development

2 years agodocs: antora ui dir and site url
Matthew Newton [Fri, 4 Aug 2023 15:57:08 +0000 (16:57 +0100)] 
docs: antora ui dir and site url

2 years agodocs: minor updates
Matthew Newton [Fri, 4 Aug 2023 20:56:41 +0000 (21:56 +0100)] 
docs: minor updates

2 years agominor tweak and notes on connected UDP sockets
Alan T. DeKok [Thu, 3 Aug 2023 19:36:54 +0000 (15:36 -0400)] 
minor tweak and notes on connected UDP sockets

2 years agocache: Don't deadlock rbtree module if the cache entry isn't found and the cache...
Arran Cudbard-Bell [Thu, 3 Aug 2023 16:03:55 +0000 (11:03 -0500)] 
cache: Don't deadlock rbtree module if the cache entry isn't found and the cache xlat is called

2 years agoRemove pointless casts (#5132)
James Jones [Thu, 3 Aug 2023 12:30:06 +0000 (07:30 -0500)] 
Remove pointless casts (#5132)

2 years agojson: Add test for consuming output from function like xlat
Arran Cudbard-Bell [Wed, 2 Aug 2023 20:21:37 +0000 (15:21 -0500)] 
json: Add test for consuming output from function like xlat

2 years agoInitialize local value boxes for some coercion results (CIDs below)
James Jones [Wed, 2 Aug 2023 18:48:19 +0000 (13:48 -0500)] 
Initialize local value boxes for some coercion results (CIDs below)

CIDs: #1503917, #1503948, #1503o5o, #1503989

These are in calc_{string, octet}(), where coercion results stored
in locals must be cleared before returning. Currently coverity claims
that the value box's type is not set. One would think that modeling
fr_value_box_cast() to say it writes the destination on success would
suffice, but that might not be the case, so we will initialize the
value boxes just as we have done with some local buffers used in
sbuffs.

2 years agoImprove sample TACACS virtual server
Nick Porter [Tue, 1 Aug 2023 15:15:36 +0000 (16:15 +0100)] 
Improve sample TACACS virtual server

2 years agoAdd authentication flags attribute and set to No-Echo for TACACS GetPass
Nick Porter [Tue, 1 Aug 2023 14:08:55 +0000 (15:08 +0100)] 
Add authentication flags attribute and set to No-Echo for TACACS GetPass

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:49 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dns.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:46 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv6.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:43 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/dhcpv4.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:40 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/radius.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:37 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/bfd.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:34 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/util.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:31 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tftp.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:28 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/vmps.tar

2 years agoScheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar
github-actions[bot] [Tue, 1 Aug 2023 09:34:24 +0000 (09:34 +0000)] 
Scheduled fuzzing: Update src/tests/fuzzer-corpus/tacacs.tar

2 years agoChange other kqueue ifdef, too
Matthew Newton [Mon, 31 Jul 2023 17:05:25 +0000 (18:05 +0100)] 
Change other kqueue ifdef, too

See 433970a3ed07

2 years agoused / unused
Alan T. DeKok [Mon, 31 Jul 2023 15:55:28 +0000 (11:55 -0400)] 
used / unused

2 years agotypo
Alan T. DeKok [Mon, 31 Jul 2023 15:33:48 +0000 (11:33 -0400)] 
typo

2 years agotypos and word smithing
Alan T. DeKok [Mon, 31 Jul 2023 15:31:57 +0000 (11:31 -0400)] 
typos and word smithing

2 years agoadd tests for explicit_bzero() and memset_explicit()
Alan T. DeKok [Mon, 31 Jul 2023 15:31:38 +0000 (11:31 -0400)] 
add tests for explicit_bzero() and memset_explicit()

2 years agomove to using memset_explicit()
Alan T. DeKok [Mon, 31 Jul 2023 15:30:24 +0000 (11:30 -0400)] 
move to using memset_explicit()

2 years agomove Interpreter to top
Alan T. DeKok [Mon, 31 Jul 2023 15:17:13 +0000 (11:17 -0400)] 
move Interpreter to top

2 years agoMissed out init in test_bstrncpy() (CID #1504057) (#5127)
James Jones [Mon, 31 Jul 2023 15:19:05 +0000 (10:19 -0500)] 
Missed out init in test_bstrncpy() (CID #1504057) (#5127)

2 years agoredisGetReply doesn't nullify the reply pointer when there's no reply...
Arran Cudbard-Bell [Sat, 29 Jul 2023 15:42:02 +0000 (11:42 -0400)] 
redisGetReply doesn't nullify the reply pointer when there's no reply...

2 years agoredis: Expose read only toggle
Arran Cudbard-Bell [Fri, 28 Jul 2023 19:23:12 +0000 (15:23 -0400)] 
redis: Expose read only toggle

2 years agoredis: Don't prefix function loading with "read only"
Arran Cudbard-Bell [Fri, 28 Jul 2023 19:22:20 +0000 (15:22 -0400)] 
redis: Don't prefix function loading with "read only"

2 years agoHelp coverity recognize the range check (CID #1503921) (#5125)
James Jones [Fri, 28 Jul 2023 19:02:13 +0000 (14:02 -0500)] 
Help coverity recognize the range check (CID #1503921) (#5125)

The code checks that offset is in [12, start - packet), and
coverity recognizes the lower bound check as constraining
offset, but doesn't recognze the upper bound check, hence the
TAINTED_SCALAR defect. We rewrite the check in an equivalent
form with offset by itself on one side of the relational
operator.

2 years agoEnclose explicit loop case of fr_memset_secure() in block (#5126)
James Jones [Fri, 28 Jul 2023 19:01:16 +0000 (14:01 -0500)] 
Enclose explicit loop case of fr_memset_secure() in block (#5126)

Done because of the initial if statement, which makes the
explicit loop declaratons not be at the start of a block.

2 years agoKeep too-long lines from overwriting output_buffer (#5093)
James Jones [Fri, 28 Jul 2023 14:15:29 +0000 (09:15 -0500)] 
Keep too-long lines from overwriting output_buffer (#5093)

This came up because of CID #1533664, but almost certainly won't
placate coverity. It just makes sure that it won't ask for more
than will fit in output_buff, at the extremely rare cost of not
printing all of the remaining part of the line.

2 years agoadd and use fr_memset_secure()
Alan T. DeKok [Thu, 27 Jul 2023 22:53:03 +0000 (15:53 -0700)] 
add and use fr_memset_secure()

we will update the configure scripts later

2 years agoRevert "securely wipe secret information in pairs"
Alan T. DeKok [Thu, 27 Jul 2023 22:42:18 +0000 (15:42 -0700)] 
Revert "securely wipe secret information in pairs"

This reverts commit d8ddfd4a1df33cfa21b942b20ce53af263b93c52.

nope.  Various Linux distributions don't have it.

2 years agosecurely wipe secret information in pairs
Alan T. DeKok [Thu, 27 Jul 2023 22:27:38 +0000 (15:27 -0700)] 
securely wipe secret information in pairs

2 years agoCheck fr_sbuff_in_bstrncpy() in generate_from_header() (CID #1503908) (#5107)
James Jones [Thu, 27 Jul 2023 16:00:13 +0000 (11:00 -0500)] 
Check fr_sbuff_in_bstrncpy() in generate_from_header() (CID #1503908) (#5107)

2 years agoInitialize sbuff_tests output buffers for now (#5098)
James Jones [Thu, 27 Jul 2023 15:59:49 +0000 (10:59 -0500)] 
Initialize sbuff_tests output buffers for now (#5098)

CID #1503912, #1503930, #1503945, #1503930, #1503945

This should quiet coverity while we figure out why the
sbuff function models don't communicate to coverity that
on success, they really do write to the output sbuff.

2 years agoCheck sbuff returns in header_source() (CIDs #150424, #150280) (#5116)
James Jones [Thu, 27 Jul 2023 15:58:36 +0000 (10:58 -0500)] 
Check sbuff returns in header_source() (CIDs #150424, #150280) (#5116)

It's seriously unlikely, since conf_buffer can use all the
memory there is, but in theory the generation of the SMTP header
*could* fail, and that's enough to make coverity kvetch.

2 years agoMake clear to fr_radius_ok() that totallen is validated (CID #1455247) (#5109)
James Jones [Thu, 27 Jul 2023 15:58:12 +0000 (10:58 -0500)] 
Make clear to fr_radius_ok() that totallen is validated (CID #1455247) (#5109)

Coverity thinks that calculating totallen via byte-swapping taints
the buffer holding the packet to be decoded. Modeling fr_radius_ok()
doesn't seem to have worked, so we'll try making it clear to coverity
that we validate totallen.

2 years agoldap: Alloc all resources at the start of the function
Arran Cudbard-Bell [Thu, 27 Jul 2023 15:11:28 +0000 (11:11 -0400)] 
ldap: Alloc all resources at the start of the function

2 years agoAdd _ldap_connection_close_watch only after `queries' have been (#5123)
Max Khon [Thu, 27 Jul 2023 15:09:14 +0000 (23:09 +0800)] 
Add _ldap_connection_close_watch only after `queries' have been (#5123)

initialized and after the connection is known to be correctly
initialized (and not free'd after being added to close watch list).

2 years agominor documentation updates
Matthew Newton [Thu, 27 Jul 2023 11:59:14 +0000 (12:59 +0100)] 
minor documentation updates

2 years agoUpdate FreeRADIUS web site Antora documentation
Matthew Newton [Wed, 26 Jul 2023 15:11:56 +0000 (16:11 +0100)] 
Update FreeRADIUS web site Antora documentation

2 years agobump antora to 3.1 as 2.0 is now EOL
Matthew Newton [Wed, 26 Jul 2023 15:05:43 +0000 (16:05 +0100)] 
bump antora to 3.1 as 2.0 is now EOL

2 years agoAdd copying of secret flag to xlats which create a new value box
Nick Porter [Wed, 26 Jul 2023 12:35:40 +0000 (13:35 +0100)] 
Add copying of secret flag to xlats which create a new value box

and produce output which can reveal the input

2 years agoUse fr_value_box_contains_secret when securely printing lists
Nick Porter [Wed, 26 Jul 2023 12:33:48 +0000 (13:33 +0100)] 
Use fr_value_box_contains_secret when securely printing lists

Lists can contain groups and the secret could be a child of a group

2 years agoSet value box secret on all concat_in_place paths
Nick Porter [Wed, 26 Jul 2023 12:28:53 +0000 (13:28 +0100)] 
Set value box secret on all concat_in_place paths

2 years agoAdd sample "send ...Get..." sections to TACACS virtual server
Nick Porter [Wed, 26 Jul 2023 09:34:04 +0000 (10:34 +0100)] 
Add sample "send ...Get..." sections to TACACS virtual server

2 years agoSet the secret flag of User-Message based on the attribute it really holds
Nick Porter [Wed, 26 Jul 2023 10:03:06 +0000 (11:03 +0100)] 
Set the secret flag of User-Message based on the attribute it really holds

2 years agoAdd API for querying / manipulating value box secret flag
Nick Porter [Wed, 26 Jul 2023 10:02:10 +0000 (11:02 +0100)] 
Add API for querying / manipulating value box secret flag

In anticipation of the flags moving to a structure.

2 years agoTACACS User-Message can contain the password - so mark as secret
Nick Porter [Wed, 26 Jul 2023 09:31:12 +0000 (10:31 +0100)] 
TACACS User-Message can contain the password - so mark as secret

2 years agodoc: man page asciidoc fixes
Matthew Newton [Wed, 26 Jul 2023 12:32:52 +0000 (13:32 +0100)] 
doc: man page asciidoc fixes

2 years agodoc: fix nav for howtos and tutorials
Matthew Newton [Wed, 26 Jul 2023 12:10:49 +0000 (13:10 +0100)] 
doc: fix nav for howtos and tutorials

2 years agodocs: some small antora fixes
Matthew Newton [Tue, 25 Jul 2023 18:23:13 +0000 (19:23 +0100)] 
docs: some small antora fixes

and remove unused list.adoc (replaced by all_modules.adoc)

2 years agodoc: fix a load of broken xrefs
Matthew Newton [Tue, 25 Jul 2023 18:25:09 +0000 (19:25 +0100)] 
doc: fix a load of broken xrefs

2 years agoWe don't need to qualify the enums in the calix dictionary
Arran Cudbard-Bell [Wed, 26 Jul 2023 03:58:20 +0000 (20:58 -0700)] 
We don't need to qualify the enums in the calix dictionary

2 years agoRecord file destination from config into default_log
Nick Porter [Tue, 25 Jul 2023 12:38:48 +0000 (13:38 +0100)] 
Record file destination from config into default_log

Needed so that each destination created from default_log knows what file
to use.

2 years agoTypo
Nick Porter [Tue, 25 Jul 2023 06:48:24 +0000 (07:48 +0100)] 
Typo

2 years agoKeep track of secret flag when concatenating value boxes to string / octets
Nick Porter [Mon, 24 Jul 2023 16:11:43 +0000 (17:11 +0100)] 
Keep track of secret flag when concatenating value boxes to string / octets

2 years agoIf suppress_secrets is set, use hide secret value boxes in %pM printing
Nick Porter [Mon, 24 Jul 2023 14:31:56 +0000 (15:31 +0100)] 
If suppress_secrets is set, use hide secret value boxes in %pM printing

2 years agoAdd fr_value_box_list_aprint_secure()
Nick Porter [Mon, 24 Jul 2023 14:26:06 +0000 (15:26 +0100)] 
Add fr_value_box_list_aprint_secure()

For printing lists of boxes in debug output when hiding secret values

2 years agoAlways parse log section of main config
Nick Porter [Mon, 24 Jul 2023 13:05:37 +0000 (14:05 +0100)] 
Always parse log section of main config

There are other options in there besides the destination.

2 years agoWhilst the fr_box() macros do something different to fr_value_box, it's still not...
Arran Cudbard-Bell [Sat, 22 Jul 2023 22:36:01 +0000 (15:36 -0700)] 
Whilst the fr_box() macros do something different to fr_value_box, it's still not appropriate to use strlen implicitly when boxing values

2 years agoUser-Password is secret here, too
Alan T. DeKok [Sat, 22 Jul 2023 16:00:37 +0000 (12:00 -0400)] 
User-Password is secret here, too

2 years agoin may be NULL
Alan T. DeKok [Sat, 22 Jul 2023 15:48:26 +0000 (11:48 -0400)] 
in may be NULL

2 years agomark secrets as secret
Alan T. DeKok [Sat, 22 Jul 2023 12:49:54 +0000 (08:49 -0400)] 
mark secrets as secret

2 years agoUase __coverity_writeall__() in fr_value_vox_init() model
James Jones [Fri, 21 Jul 2023 12:55:47 +0000 (07:55 -0500)] 
Uase __coverity_writeall__() in fr_value_vox_init() model

2 years agoadd and use fr_pair_print_secure()
Alan T. DeKok [Sat, 22 Jul 2023 12:39:47 +0000 (08:39 -0400)] 
add and use fr_pair_print_secure()

to omit secrets when printing pairs

2 years agoadd and support suppress_secrets
Alan T. DeKok [Fri, 21 Jul 2023 18:40:14 +0000 (14:40 -0400)] 
add and support suppress_secrets

the default is to not suppress secrets.  Printing secrets is
suppressed if it's running as "-X" AND the configuration file
says to suppress them.  Otherwise the secrets are printed.

this behavior means that for most configurations, administrators
can see (and compare) the user passwords.  However, if the admins
want to suppress secrets, they can do so in their local
configuration.

2 years agodefine and use fr_vasprintf_secure()
Alan T. DeKok [Fri, 21 Jul 2023 17:41:54 +0000 (13:41 -0400)] 
define and use fr_vasprintf_secure()

which escapes / omits the contents of any value-box which is
marked "secret".

Note that we _cannot_ do this omission in fr_value_box_print(),
as that function may be used multiple times internally.  For example,
converting a clear-text password to CHAP via an MD5 xlat.  Those
values should be passed through unchanged.

As a result, we can only omit secrets in a new function, which can
then be used in debug / log functions which are known to be sent
to the admin.

There are still some pieces missing.

%pM prints a value-box list, and the fr_value_box_list_aprint()
function does not take a flag for printing secrets (or not).

%pP prints a pair, and the fr_pair_aprint() function also does not
take a flag for printing secrets.

The configuration files store data in CONF_PAIRs, which don't use
value-boxes.  So any shared secret is still printed in debug mode.

2 years agoset secret flag in fr_value_box_init()
Alan T. DeKok [Fri, 21 Jul 2023 17:40:08 +0000 (13:40 -0400)] 
set secret flag in fr_value_box_init()

which unfortunately means rearranging the header file includes
a little bit.

2 years agodefine escaping rules for secrets
Alan T. DeKok [Fri, 21 Jul 2023 17:37:30 +0000 (13:37 -0400)] 
define escaping rules for secrets

Through the simple expedient of mashing all characters to '.'

The length of the secret still leaks, but that's not too bad.

As escaping is only done for data types "string" and "octets",
other secret values will not be escaped.  Perhaps we can fix that
later if we care.

2 years agoadd secret flag to dictionaries and value-boxes
Alan T. DeKok [Fri, 21 Jul 2023 17:36:26 +0000 (13:36 -0400)] 
add secret flag to dictionaries and value-boxes

parse the "secret" flag in dictionaries.  RADIUS sets the "secret"
flag for encrypted attributes

2 years agoswap order of evaluation again
Alan T. DeKok [Thu, 20 Jul 2023 18:04:45 +0000 (14:04 -0400)] 
swap order of evaluation again

2 years agoRevert "start setting migration flags"
Alan T. DeKok [Thu, 20 Jul 2023 17:49:52 +0000 (13:49 -0400)] 
Revert "start setting migration flags"

This reverts commit 437b402b8977df1b125b4cb857a3a169f0091158.

let's see if this makes the imap tests run again...

2 years agoremove all tests we don't want, instead of using elsif
Alan T. DeKok [Thu, 20 Jul 2023 17:48:40 +0000 (13:48 -0400)] 
remove all tests we don't want, instead of using elsif

2 years agoadd and use "safe" fields for LDAP and SQL
Alan T. DeKok [Thu, 20 Jul 2023 13:17:01 +0000 (09:17 -0400)] 
add and use "safe" fields for LDAP and SQL

which means that if we escape data once, it is not escaped again.

For SQL, the escape function is tracked per driver.  So you can't
escape something for MySQL, and then later use it for PostgreSQL
without that _also_ being escaped.

2 years agodefine macro for automatically setting "safe" values
Alan T. DeKok [Thu, 20 Jul 2023 12:50:06 +0000 (08:50 -0400)] 
define macro for automatically setting "safe" values

2 years ago"safe" values can still be tainted.
Alan T. DeKok [Thu, 20 Jul 2023 12:39:50 +0000 (08:39 -0400)] 
"safe" values can still be tainted.

Users of that data who understand this particular value of the "safe"
flagmar can then ignore the "tainted" flag, and use the value as if it
was untainted.  Every other user of the data must still treat it as
tainted.

2 years agofr_value_box_alloc() does not need to take a "tainted" flag
Alan T. DeKok [Thu, 20 Jul 2023 12:13:03 +0000 (08:13 -0400)] 
fr_value_box_alloc() does not need to take a "tainted" flag

a bare box is not tainted.  In the few cases where the data is
tainted, it is copied from a tainted source via fr_value_box_copy(),
which also copies the tainted flag

2 years agoancestors must be structural
Alan T. DeKok [Thu, 20 Jul 2023 11:52:00 +0000 (07:52 -0400)] 
ancestors must be structural

2 years agomember_num starts at 1, not 0
Alan T. DeKok [Thu, 20 Jul 2023 11:51:43 +0000 (07:51 -0400)] 
member_num starts at 1, not 0

2 years agoadd fr_box() generic
Alan T. DeKok [Thu, 20 Jul 2023 11:49:41 +0000 (07:49 -0400)] 
add fr_box() generic

which only works for some leaf types, as there string / octets
types need also to deal with length and talloc issues.  Other types
like ipaddr need to check the contents of the source.

2 years agostart setting migration flags
Alan T. DeKok [Mon, 17 Jul 2023 19:28:12 +0000 (15:28 -0400)] 
start setting migration flags

2 years agomore change vp->da->type to vp->vp_type
Alan T. DeKok [Mon, 17 Jul 2023 18:48:37 +0000 (14:48 -0400)] 
more change vp->da->type to vp->vp_type

2 years agovp_type and da->type are allowed to be different for COMBO_IP
Alan T. DeKok [Mon, 17 Jul 2023 18:47:43 +0000 (14:47 -0400)] 
vp_type and da->type are allowed to be different for COMBO_IP

2 years agoensure that vp->vp_data is initialized correctly
Alan T. DeKok [Mon, 17 Jul 2023 18:47:08 +0000 (14:47 -0400)] 
ensure that vp->vp_data is initialized correctly

2 years agoremove unused function
Alan T. DeKok [Mon, 17 Jul 2023 18:25:04 +0000 (14:25 -0400)] 
remove unused function

2 years agochange vp->da->type to vp->vp_type
Alan T. DeKok [Mon, 17 Jul 2023 18:13:16 +0000 (14:13 -0400)] 
change vp->da->type to vp->vp_type

not only is it friendlier to cache locality, it's more correct
because of things like FR_TYPE_COMBO_IPADDR, where the realized
vp->vp_type is different from the theoretical da->type

2 years agoMake debug_ policies a little simpler
Nick Porter [Mon, 17 Jul 2023 15:37:52 +0000 (16:37 +0100)] 
Make debug_ policies a little simpler

Removes some noise from the debug output

2 years agoThere is no coa list anymore
Nick Porter [Mon, 17 Jul 2023 15:35:31 +0000 (16:35 +0100)] 
There is no coa list anymore