]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
5 years agoVarious fixes to get more of the tests passing
Arran Cudbard-Bell [Mon, 23 Nov 2020 19:57:33 +0000 (12:57 -0700)] 
Various fixes to get more of the tests passing

5 years agoMake unknown pair allocation more efficient
Arran Cudbard-Bell [Mon, 23 Nov 2020 18:18:05 +0000 (11:18 -0700)] 
Make unknown pair allocation more efficient

5 years agoFixes for DHCPv6
Arran Cudbard-Bell [Sun, 22 Nov 2020 20:31:49 +0000 (13:31 -0700)] 
Fixes for DHCPv6

5 years agoRemove redundant prefixes from most dictionaries
Arran Cudbard-Bell [Sat, 21 Nov 2020 01:14:51 +0000 (19:14 -0600)] 
Remove redundant prefixes from most dictionaries

5 years agoallow the key field to be fully qualified
Alan T. DeKok [Fri, 20 Nov 2020 20:06:24 +0000 (15:06 -0500)] 
allow the key field to be fully qualified

and fully qualify it in the one dictionary which needs it

5 years agoFixup DHCPv4 and ARP tests
Arran Cudbard-Bell [Fri, 20 Nov 2020 02:02:54 +0000 (20:02 -0600)] 
Fixup DHCPv4 and ARP tests

5 years agoRemove validation check looking for DA in global namespace
Arran Cudbard-Bell [Fri, 20 Nov 2020 02:02:30 +0000 (20:02 -0600)] 
Remove validation check looking for DA in global namespace

5 years agoFix pair destructor
Arran Cudbard-Bell [Fri, 20 Nov 2020 02:02:12 +0000 (20:02 -0600)] 
Fix pair destructor

5 years agoAllocate pairs from da in pair_legacy.c
Arran Cudbard-Bell [Fri, 20 Nov 2020 01:34:53 +0000 (19:34 -0600)] 
Allocate pairs from da in pair_legacy.c

5 years agoFixup ALIAS to work in the correct namespace
Arran Cudbard-Bell [Fri, 20 Nov 2020 00:17:58 +0000 (18:17 -0600)] 
Fixup ALIAS to work in the correct namespace

5 years agoAutoloader should load by OID
Arran Cudbard-Bell [Thu, 19 Nov 2020 23:15:16 +0000 (17:15 -0600)] 
Autoloader should load by OID

5 years agoFixup printing some more
Arran Cudbard-Bell [Thu, 19 Nov 2020 23:08:47 +0000 (17:08 -0600)] 
Fixup printing some more

5 years agoPrint errors with quotes
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:35:42 +0000 (16:35 -0600)] 
Print errors with quotes

5 years agoMake fr_proto_da_stack_build_partial more forgiving
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:35:33 +0000 (16:35 -0600)] 
Make fr_proto_da_stack_build_partial more forgiving

5 years agoFix name resolution in fr_dict_attr_add
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:35:00 +0000 (16:35 -0600)] 
Fix name resolution in fr_dict_attr_add

5 years agoPrint unknown attributes with their numeric ID
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:34:35 +0000 (16:34 -0600)] 
Print unknown attributes with their numeric ID

5 years agoAdd extra sanity checks
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:34:07 +0000 (16:34 -0600)] 
Add extra sanity checks

5 years agoAdd vendors to the vendor specific namespace
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:33:19 +0000 (16:33 -0600)] 
Add vendors to the vendor specific namespace

5 years agoDon't add 'Cast vendor' attribute
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:33:08 +0000 (16:33 -0600)] 
Don't add 'Cast vendor' attribute

5 years agoFixup printing unresolved tmpls
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:32:33 +0000 (16:32 -0600)] 
Fixup printing unresolved tmpls

We didn't used to record the parent, now we do.

5 years agoPrint flags correctly
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:32:08 +0000 (16:32 -0600)] 
Print flags correctly

5 years agoFixup WiMAX attributes
Arran Cudbard-Bell [Thu, 19 Nov 2020 22:30:59 +0000 (16:30 -0600)] 
Fixup WiMAX attributes

5 years agoAdd more debug functions
Arran Cudbard-Bell [Thu, 19 Nov 2020 16:05:12 +0000 (10:05 -0600)] 
Add more debug functions

5 years agoAdd multi-level namespaces
Arran Cudbard-Bell [Wed, 18 Nov 2020 20:14:00 +0000 (14:14 -0600)] 
Add multi-level namespaces

5 years agofree any new (and unused) tracking structure we allocated
Alan T. DeKok [Thu, 26 Nov 2020 16:51:26 +0000 (11:51 -0500)] 
free any new (and unused) tracking structure we allocated

5 years agodon't call fr_message_done() from fr_network_send_request()
Alan T. DeKok [Thu, 26 Nov 2020 14:23:39 +0000 (09:23 -0500)] 
don't call fr_message_done() from fr_network_send_request()

it's caller will take care of that.

5 years agoAlter comment to reflect changes made in b9df3e0
Boris Lytochkin [Wed, 25 Nov 2020 07:19:39 +0000 (10:19 +0300)] 
Alter comment to reflect changes made in b9df3e0

5 years agofix typo
Alan T. DeKok [Tue, 24 Nov 2020 21:19:29 +0000 (16:19 -0500)] 
fix typo

5 years agoCall fr_set_dumpable even when we don't switch users / groups
Terry Burton [Mon, 23 Nov 2020 16:01:12 +0000 (16:01 +0000)] 
Call fr_set_dumpable even when we don't switch users / groups

Currently during startup, dump_core (implicitly initialised to false) is only
set when we switch_users().

This results in debuggers detaching even with security.allow_core_dumps = yes
due to calling prctl(PR_SET_DUMPABLE, 0) from fr_reset_dumpable() in contexts
where we don't switch_users(), such as unprivileged debugging within the build
tree.

5 years agopair: Add fr_pair_value_bstr_append_buffer() function
Jorge Pereira [Tue, 24 Nov 2020 01:27:57 +0000 (22:27 -0300)] 
pair: Add fr_pair_value_bstr_append_buffer() function

5 years agoTypo (#3763)
Jorge Pereira [Tue, 24 Nov 2020 02:20:49 +0000 (23:20 -0300)] 
Typo (#3763)

5 years agoRemove legacy pair function
Arran Cudbard-Bell [Mon, 23 Nov 2020 21:50:32 +0000 (14:50 -0700)] 
Remove legacy pair function

5 years agoa few fixes
Alan T. DeKok [Mon, 23 Nov 2020 21:16:57 +0000 (16:16 -0500)] 
a few fixes

check for valid tmpl types, and cast to correct types
so that the function calling map_afrom_sbuff() has to do less
work.

update map_assignment_table for attr_filter
we need assignments, but also filtering operators.

add parameter for terminating the RHS
which is only used when the RHS is a bare word.  Otherwise
we know when the RHS quoted string stops:  at the quote.

5 years agoexpose cond_quote_table
Alan T. DeKok [Fri, 20 Nov 2020 22:25:41 +0000 (17:25 -0500)] 
expose cond_quote_table

5 years agotry to parse dates with local-specific strings
Alan T. DeKok [Mon, 23 Nov 2020 21:04:20 +0000 (16:04 -0500)] 
try to parse dates with local-specific strings

5 years agouse UTC for date to string, too.
Alan T. DeKok [Mon, 23 Nov 2020 21:00:22 +0000 (16:00 -0500)] 
use UTC for date to string, too.

Manual port of 7ea17db2d2 from v3.0.x

5 years agoMake sure fr_sbuff_extend_file() NUL terminates the extended sbuff (#3756)
James Jones [Sat, 21 Nov 2020 16:16:00 +0000 (10:16 -0600)] 
Make sure fr_sbuff_extend_file() NUL terminates the extended sbuff (#3756)

We include a test in sbuff_tests.c that exercises this.

5 years agoCI: Upload clang scan analysis artifacts upon failure (#3758)
Terry Burton [Sat, 21 Nov 2020 16:12:20 +0000 (16:12 +0000)] 
CI: Upload clang scan analysis artifacts upon failure (#3758)

Moved actions from ci/build.sh into distinct steps in the job.

ci/build.sh retained for now so that Jenkins can be refreshed.

5 years agoTypo
Jorge Pereira [Fri, 20 Nov 2020 21:35:04 +0000 (18:35 -0300)] 
Typo

5 years agodon't initialize until *after* the NULL check
Alan T. DeKok [Thu, 19 Nov 2020 19:27:27 +0000 (14:27 -0500)] 
don't initialize until *after* the NULL check

5 years agoFix duplicate
Arran Cudbard-Bell [Thu, 19 Nov 2020 15:23:55 +0000 (09:23 -0600)] 
Fix duplicate

5 years agoFixup dictionary debugging functions
Arran Cudbard-Bell [Thu, 19 Nov 2020 14:55:09 +0000 (08:55 -0600)] 
Fixup dictionary debugging functions

5 years agoCI: Add GitHub Super-Linter (#3747)
Terry Burton [Thu, 19 Nov 2020 03:13:45 +0000 (03:13 +0000)] 
CI: Add GitHub Super-Linter (#3747)

Performs a full run on push to the "linter" branch, otherwise only lints
changed files.

5 years agoFix test framework to deal with the error stack being in a new order
Arran Cudbard-Bell [Thu, 19 Nov 2020 00:07:33 +0000 (18:07 -0600)] 
Fix test framework to deal with the error stack being in a new order

5 years agoMove common acutest helps out into a separate header
Arran Cudbard-Bell [Wed, 18 Nov 2020 23:45:39 +0000 (17:45 -0600)] 
Move common acutest helps out into a separate header

Invert fr_strerror_pop order

5 years agoAnother way of quieting clang scan
Arran Cudbard-Bell [Wed, 18 Nov 2020 20:06:19 +0000 (14:06 -0600)] 
Another way of quieting clang scan

5 years agofix as per changed behavior
Alan T. DeKok [Wed, 18 Nov 2020 19:28:06 +0000 (14:28 -0500)] 
fix as per changed behavior

5 years agoQuick hack to get `%(func:<discreet args>)` working
Arran Cudbard-Bell [Wed, 18 Nov 2020 19:13:59 +0000 (13:13 -0600)] 
Quick hack to get `%(func:<discreet args>)` working

5 years agoRemove da_has_ref and fix group default references
Arran Cudbard-Bell [Wed, 18 Nov 2020 18:47:08 +0000 (12:47 -0600)] 
Remove da_has_ref and fix group default references

5 years agoHelps to initialise the marker
Arran Cudbard-Bell [Wed, 18 Nov 2020 18:25:40 +0000 (12:25 -0600)] 
Helps to initialise the marker

5 years agono idea why this was committed
Alan T. DeKok [Wed, 18 Nov 2020 18:22:29 +0000 (13:22 -0500)] 
no idea why this was committed

5 years agoupdate comment
Alan T. DeKok [Wed, 18 Nov 2020 18:13:57 +0000 (13:13 -0500)] 
update comment

5 years agoquote nothing means output nothing
Alan T. DeKok [Wed, 18 Nov 2020 18:11:41 +0000 (13:11 -0500)] 
quote nothing means output nothing

and test *in for encoding, as "in" will always be non-NULL

5 years agono input means an error
Alan T. DeKok [Wed, 18 Nov 2020 18:10:53 +0000 (13:10 -0500)] 
no input means an error

5 years agoPassing a NULL box pointer to a box printing function is an error
Arran Cudbard-Bell [Wed, 18 Nov 2020 18:05:05 +0000 (12:05 -0600)] 
Passing a NULL box pointer to a box printing function is an error

5 years agoCheck to see if the list head contains boxes, not whether we were passed a list head
Arran Cudbard-Bell [Wed, 18 Nov 2020 18:02:31 +0000 (12:02 -0600)] 
Check to see if the list head contains boxes, not whether we were passed a list head

jsonquote shouldn't error out on NULL input

5 years agoif there's no value box, add an empty string
Alan T. DeKok [Wed, 18 Nov 2020 17:42:47 +0000 (12:42 -0500)] 
if there's no value box, add an empty string

5 years agodon't print zero data
Alan T. DeKok [Wed, 18 Nov 2020 17:41:28 +0000 (12:41 -0500)] 
don't print zero data

5 years agoAdd new OID processing functions
Arran Cudbard-Bell [Wed, 18 Nov 2020 17:28:39 +0000 (11:28 -0600)] 
Add new OID processing functions

5 years agodocument stuff!
Alan T. DeKok [Wed, 18 Nov 2020 16:51:25 +0000 (11:51 -0500)] 
document stuff!

5 years agoadd tests for IPv6 prefix
Alan T. DeKok [Tue, 17 Nov 2020 20:55:38 +0000 (15:55 -0500)] 
add tests for IPv6 prefix

5 years agov4: Replace fr_pair_t * with fr_pair_list_t in structures (#3754)
Nick Porter [Wed, 18 Nov 2020 14:28:54 +0000 (14:28 +0000)] 
v4: Replace fr_pair_t * with fr_pair_list_t in structures (#3754)

* Alter request control and state fr_pair_t * to fr_pair_list_t

* Alter rc_request filter to be fr_pair_list_t

* Amend rs_request_t link_vps to be fr_pair_list_t

* Amend rs filter_request_vps and filter_response_vps to fr_pair_list_t

* Ament mschapv2_opaque_t mppe_keys and repy to be fr_pair_list_t

* Amend peap_tunnel_t soh_reply_vps to be fr_pair_list_t

* Amend udp_request_s extra to be fr_pair_list_t

* Amend rlm_isc_dhcp_info_s options to be fr_pair_list_t

* Replace fr_pair_t ** with fr_pair_list_t * in tmpl.h structures

* Amend fr_trigger_t vps to be fr_pair_list_t

* Amend fr_pool_s trigger_args to be fr_pair_list_t

* Amend PAIR_LIST check and reply to be fr_pair_list_t

* Amend listen_socket_t cert_vps to be fr_pair_list_t

* Amend exfile_s trigger_args to be fr_pair_list_t

* Ament fr_radius_packet_t vps to be fr_pair_list_t

* Amend unlang_frame_state_foreach_t vps to be fr_pair_list_t

and format tidy

* Amend unlang_frame_state_tmpl_t vps to be fr_pair_list_t

No initialisation is done as vps is passed in to unlang_tmpl_push when
structure is created.

* Amend fr_redis_cluster trigger_args to be fr_pair_list_t

5 years agoV4: replace instances of fr_pair_t * on the stack, that represent a list, with fr_pai...
Nick Porter [Wed, 18 Nov 2020 01:25:38 +0000 (01:25 +0000)] 
V4: replace instances of fr_pair_t * on the stack, that represent a list, with fr_pair_list_t (#3743)

* s/fr_pair_t */fr_pair_list_t/ in radsniff.c

* s/fr_pair_t */fr_pair_list_t/ in unit_test_attribute.c

* s/fr_pair_t */fr_pair_list_t/ in unit_test_module.c

* s/fr_pair_t */fr_pair_list_t/ in curl/base.c

* s/fr_pair_t */fr_pair_list_t/ in eap/base.c

* s/fr_pair_t */fr_pair_list_t/ in eap_aka_sim/decode.c

* Correct return type of fr_pair_add_by_da() and fr_pair_update_by_da()

* s/fr_pair_t */fr_pair_list_t/ in eap_aka_sim/state_machine.c

* s/fr_pair_t */fr_pair_list_t/ in ldap/map.c

* s/fr_pair_t */fr_pair_list_t/ in redis/cluster.c

* s/fr_pair_t */fr_pair_list_t/ in server/exec.c

* s/fr_pair_t */fr_pair_list_t/ in server/exfile.c

* s/fr_pair_t */fr_pair_list_t/ in server/map.c

* s/fr_pair_t */fr_pair_list_t/ in server/map_async.c

* s/fr_pair_t */fr_pair_list_t/ in server/snmp.c

* s/fr_pair_t */fr_pair_list_t/ in server/state.c

* s/fr_pair_t */fr_pair_list_t/ in server/tmpl_eval.c

* s/fr_pair_t */fr_pair_list_t/ in server/trigger.c

* s/fr_pair_t */fr_pair_list_t/ in server/users_file.c

* s/fr_pair_t */fr_pair_list_t/ in tls/validate.c

* s/fr_pair_t */fr_pair_list_t/ in unlang/foreach.c

* s/fr_pair_t */fr_pair_list_t/ in unlang/xlat_builtin.c

* s/fr_pair_t */fr_pair_list_t/ in util/pair_print.c

* s/fr_pair_t */fr_pair_list_t/ in util/struct.c

* s/fr_pair_t */fr_pair_list_t/ in proto_radius_load.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_attr_filter.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_cache.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_client.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_csv.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_dhcpv4.c

* s/fr_pair_t */fr_pair_list_t/ in eap_fast.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_eap_fast.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_eap_mschapv2.c

* s/fr_pair_t */fr_pair_list_t/ in peap.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_eap_ttls/ttls.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_exec.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_files.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_json.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_ldap/groups.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_radius_udp.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_rest/rest.c

* s/fr_pair_t */fr_pair_list_t/ in rlm_sql.c

* s/fr_pair_t */fr_pair_list_t/ in dhcpv4/packet.c

* s/fr_pair_t */fr_pair_list_t/ in dhcpv6/decode.c

* s/fr_pair_t */fr_pair_list_t/ in dhcpv6/encode.c

* s/fr_pair_t */fr_pair_list_t/ in radius/decode.c

* s/fr_pair_t */fr_pair_list_t/ in radius/packet.c

5 years agoNotes on fr_pair_alloc
Arran Cudbard-Bell [Wed, 18 Nov 2020 01:19:30 +0000 (19:19 -0600)] 
Notes on fr_pair_alloc

5 years agoRevert "RPM: Disable rlm_curl (and rlm_rest) in RHEL < 8."
Arran Cudbard-Bell [Wed, 18 Nov 2020 00:31:23 +0000 (18:31 -0600)] 
Revert "RPM: Disable rlm_curl (and rlm_rest) in RHEL < 8."

This reverts commit 80e28bf77e633850ec830f55683ae64b8d57a96a.

5 years ago7.24 is the bare minimum libcurl version we need
Arran Cudbard-Bell [Wed, 18 Nov 2020 00:31:07 +0000 (18:31 -0600)] 
7.24 is the bare minimum libcurl version we need

5 years agoRPM: Set SELinux tunable radius_use_jit=1 after installation (#3751)
Terry Burton [Tue, 17 Nov 2020 22:19:40 +0000 (22:19 +0000)] 
RPM: Set SELinux tunable radius_use_jit=1 after installation (#3751)

5 years agoRPM: Disable rlm_curl (and rlm_rest) in RHEL < 8.
Terry Burton [Tue, 17 Nov 2020 21:03:38 +0000 (21:03 +0000)] 
RPM: Disable rlm_curl (and rlm_rest) in RHEL < 8.

cURL >= 7.45 is not available until CentOS 8.

5 years agoDocker CentOS build: Install a recent version of make from SCL
Terry Burton [Tue, 17 Nov 2020 20:10:27 +0000 (20:10 +0000)] 
Docker CentOS build: Install a recent version of make from SCL

Required since fbb6e762650259009ce65f8ba6122684f50680ec

5 years agofix prefix length encoding / decoding
Alan T. DeKok [Tue, 17 Nov 2020 20:37:40 +0000 (15:37 -0500)] 
fix prefix length encoding / decoding

by adding a function to do the dirty work

5 years agomore tests for commit eb807ffa
Alan T. DeKok [Tue, 17 Nov 2020 20:37:22 +0000 (15:37 -0500)] 
more tests for commit eb807ffa

5 years agoalign hex output
Alan T. DeKok [Sun, 15 Nov 2020 15:11:44 +0000 (10:11 -0500)] 
align hex output

5 years agoFix issue with sigtran.authorize
Arran Cudbard-Bell [Tue, 17 Nov 2020 19:37:34 +0000 (13:37 -0600)] 
Fix issue with sigtran.authorize

5 years agoFix crash on exit for certain virtual servers
Arran Cudbard-Bell [Tue, 17 Nov 2020 19:31:28 +0000 (13:31 -0600)] 
Fix crash on exit for certain virtual servers

5 years agoFormatting
Arran Cudbard-Bell [Tue, 17 Nov 2020 19:30:47 +0000 (13:30 -0600)] 
Formatting

5 years agoDon't attempt to deploy on PR
Arran Cudbard-Bell [Tue, 17 Nov 2020 18:56:33 +0000 (12:56 -0600)] 
Don't attempt to deploy on PR

5 years ago:tool: Update acutest.h to the latest version (#3748)
Jorge Pereira [Tue, 17 Nov 2020 01:49:20 +0000 (22:49 -0300)] 
:tool: Update acutest.h to the latest version  (#3748)

* Suppress leak warnings in tzset() on OSX

* Update acutest.h to the latest version

It was updated to the latest `b89ea78` revision from
oficial repo https://github.com/mity/acutest/commits/master

* Rename 's/test_verbose_level__/test_verbose_level_/g'

It is necessary to use the latest acutest.h

5 years agoIA-PD-Prefix-IPv6-Prefix should be a prefix type
Arran Cudbard-Bell [Mon, 16 Nov 2020 17:04:14 +0000 (11:04 -0600)] 
IA-PD-Prefix-IPv6-Prefix should be a prefix type

The DHCPv6 standard changes the encoding based on whether it's a struct field or an option, which is why it was a fixed length v6 address before.  Unfortunately none of the modules in FreeRADIUS will work with a prefix value split into its components

5 years agoAdd vendor-specific equivalent to DHCP-Error-Message
Arran Cudbard-Bell [Mon, 16 Nov 2020 14:50:17 +0000 (08:50 -0600)] 
Add vendor-specific equivalent to DHCP-Error-Message

5 years agoAdd value for Do-Not-Respond
Arran Cudbard-Bell [Sun, 15 Nov 2020 18:06:19 +0000 (12:06 -0600)] 
Add value for Do-Not-Respond

5 years agoadd mode for printing out values
Arran Cudbard-Bell [Sun, 15 Nov 2020 17:58:59 +0000 (11:58 -0600)] 
add mode for printing out values

5 years agoGet a valid cpu/wallclock offset in the test utilities
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:57:06 +0000 (10:57 -0600)] 
Get a valid cpu/wallclock offset in the test utilities

5 years agoAttributes contain unix time, not internal time
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:49:00 +0000 (10:49 -0600)] 
Attributes contain unix time, not internal time

5 years agoRemove junk from tests
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:13:58 +0000 (10:13 -0600)] 
Remove junk from tests

5 years agoStupid symbol auto-complete
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:09:17 +0000 (10:09 -0600)] 
Stupid symbol auto-complete

5 years agoRevert "Hex doesn't need to extend"
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:08:08 +0000 (10:08 -0600)] 
Revert "Hex doesn't need to extend"

This reverts commit ec61b5763e140c225223f199238d18dc8ff01c67.

5 years agoFix leaked marker
Arran Cudbard-Bell [Sun, 15 Nov 2020 16:02:29 +0000 (10:02 -0600)] 
Fix leaked marker

5 years agoSimplify relay encoder
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:55:38 +0000 (09:55 -0600)] 
Simplify relay encoder

5 years agodbuff: Copy ahead/behind macros from sbuffs
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:53:30 +0000 (09:53 -0600)] 
dbuff: Copy ahead/behind macros from sbuffs

5 years agoFixup fr_dhcpv6_encode to return the correct length
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:53:15 +0000 (09:53 -0600)] 
Fixup fr_dhcpv6_encode to return the correct length

Fix magic numbers
Make code more concise

5 years agoHex doesn't need to extend
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:43:27 +0000 (09:43 -0600)] 
Hex doesn't need to extend

5 years agoSplit out tests
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:43:16 +0000 (09:43 -0600)] 
Split out tests

5 years agoAdd FR_VALUE_BOX_TO_NETWORK_RETURN
Arran Cudbard-Bell [Sun, 15 Nov 2020 15:42:05 +0000 (09:42 -0600)] 
Add FR_VALUE_BOX_TO_NETWORK_RETURN

5 years agoadd function to pretty-print DHCPv6 packets as hex
Alan T. DeKok [Sat, 14 Nov 2020 20:41:05 +0000 (15:41 -0500)] 
add function to pretty-print DHCPv6 packets as hex

5 years agoWe need <sys/wait.h> on Linux
Alan T. DeKok [Sat, 14 Nov 2020 19:50:06 +0000 (14:50 -0500)] 
We need <sys/wait.h> on Linux

5 years agotry to work around libkqueue issues on Linux
Alan T. DeKok [Sat, 14 Nov 2020 19:32:25 +0000 (14:32 -0500)] 
try to work around libkqueue issues on Linux

5 years agoJust return slen
Arran Cudbard-Bell [Sat, 14 Nov 2020 17:46:10 +0000 (11:46 -0600)] 
Just return slen

5 years agosimplify fr_value_box_to_network
Arran Cudbard-Bell [Sat, 14 Nov 2020 17:32:28 +0000 (11:32 -0600)] 
simplify fr_value_box_to_network

5 years agoupdate for whitespace changes
Alan T. DeKok [Sat, 14 Nov 2020 14:40:06 +0000 (09:40 -0500)] 
update for whitespace changes

5 years agothere is a trailing space after the length
Alan T. DeKok [Sat, 14 Nov 2020 13:49:52 +0000 (08:49 -0500)] 
there is a trailing space after the length