]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove config options which controlled use of packet-authenticator in dedup
authorNick Porter <nick@portercomputing.co.uk>
Thu, 8 May 2025 13:40:21 +0000 (14:40 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 8 May 2025 13:49:41 +0000 (14:49 +0100)
src/lib/io/master.c
src/lib/server/client.c
src/lib/server/client.h
src/listen/radius/proto_radius_tcp.c
src/listen/radius/proto_radius_udp.c

index a63b1199fc7715e01bb2d638791f8ced5fb63592..3695ace0db0c1cdd3d1e98db0753c1987ede4f11 100644 (file)
@@ -419,7 +419,6 @@ static fr_client_t *radclient_clone(TALLOC_CTX *ctx, fr_client_t const *parent)
        COPY_FIELD(cs);
        COPY_FIELD(proto);
        COPY_FIELD(active);
-       COPY_FIELD(dedup_authenticator);
 
        COPY_FIELD(use_connected);
 
@@ -2590,7 +2589,6 @@ static ssize_t mod_write(fr_listen_t *li, void *packet_ctx, fr_time_t request_ti
        COPY_FIELD(client, limit_proxy_state);
        COPY_FIELD(client, limit_proxy_state_is_set);
        COPY_FIELD(client, use_connected);
-       COPY_FIELD(client, dedup_authenticator);
        COPY_FIELD(client, cs);
 
        // @todo - fill in other fields?
index 9658e3f51ebb5764ec5888e31b31ad21e627bc0a..17b467337dc61bc55e8b75d6fcb7e159197f303d 100644 (file)
@@ -448,8 +448,6 @@ static const conf_parser_t client_config[] = {
          .uctx = &(cf_table_parse_ctx_t){ .table = fr_radius_limit_proxy_state_table, .len = &fr_radius_limit_proxy_state_table_len },
          .dflt = "auto" },
 
-       { FR_CONF_OFFSET("dedup_authenticator", fr_client_t, dedup_authenticator), .dflt = "yes" },
-
        { FR_CONF_OFFSET("response_window", fr_client_t, response_window) },
 
        { FR_CONF_POINTER("proto", FR_TYPE_STRING, 0, &hs_proto) },
index 19753d8f945f4694b29f94a74be9f919e5bd0333..bcc21fd2ceba34e467160ea57e5a35bced785b80 100644 (file)
@@ -118,7 +118,6 @@ struct fr_client_s {
        bool                    dynamic;                //!< Whether the client was dynamically defined.
        bool                    active;                 //!< for dynamic clients
        bool                    use_connected;          //!< do we use connected sockets for this client
-       bool                    dedup_authenticator;    //!< more RADIUS stuff
 
 #ifdef WITH_TLS
        bool                    tls_required;           //!< whether TLS encryption is required.
index abace378443111d3fce4454de32910d170992dad..599d54de7270475f3ddb9e46f43f082f90e34335 100644 (file)
@@ -60,7 +60,6 @@ typedef struct {
 
        bool                            recv_buff_is_set;       //!< Whether we were provided with a recv_buff
        bool                            dynamic_clients;        //!< whether we have dynamic clients
-       bool                            dedup_authenticator;    //!< dedup using the request authenticator
 
        fr_client_list_t                        *clients;               //!< local clients
 
@@ -90,7 +89,6 @@ static const conf_parser_t tcp_listen_config[] = {
        { FR_CONF_OFFSET_IS_SET("recv_buff", FR_TYPE_UINT32, 0, proto_radius_tcp_t, recv_buff) },
 
        { FR_CONF_OFFSET("dynamic_clients", proto_radius_tcp_t, dynamic_clients) } ,
-       { FR_CONF_OFFSET("accept_conflicting_packets", proto_radius_tcp_t, dedup_authenticator) } ,
        { FR_CONF_POINTER("networks", 0, CONF_FLAG_SUBSECTION, NULL), .subcs = (void const *) networks_config },
 
        { FR_CONF_OFFSET("max_packet_size", proto_radius_tcp_t, max_packet_size), .dflt = "4096" } ,
index 04119865ad3b401eec01ab666a119a54b68f3d9c..58b5421633ea57bad23b6b715952feef19250aa5 100644 (file)
@@ -68,7 +68,6 @@ typedef struct {
        bool                            recv_buff_is_set;       //!< Whether we were provided with a recv_buff
        bool                            send_buff_is_set;       //!< Whether we were provided with a send_buff
        bool                            dynamic_clients;        //!< whether we have dynamic clients
-       bool                            dedup_authenticator;    //!< dedup using the request authenticator
 
        fr_client_list_t                *clients;               //!< local clients
 
@@ -101,7 +100,6 @@ static const conf_parser_t udp_listen_config[] = {
        { FR_CONF_OFFSET_IS_SET("recv_buff", FR_TYPE_UINT32, 0, proto_radius_udp_t, recv_buff) },
        { FR_CONF_OFFSET_IS_SET("send_buff", FR_TYPE_UINT32, 0, proto_radius_udp_t, send_buff) },
 
-       { FR_CONF_OFFSET("accept_conflicting_packets", proto_radius_udp_t, dedup_authenticator) } ,
        { FR_CONF_OFFSET("dynamic_clients", proto_radius_udp_t, dynamic_clients) } ,
        { FR_CONF_POINTER("networks", 0, CONF_FLAG_SUBSECTION, NULL), .subcs = (void const *) networks_config },