Radiator Server Documentation — v10.33.2

discard

Discard action for silently dropping RADIUS requests

Table of Contents
  • discard
  • Syntax
  • Parameters
  • Example
  • See Also

discard

This action stops the pipeline execution and silently drops the request without sending any response to the client on protocols that allows it like RADIUS and TACACS+ protocols.

Syntax

discard;

Or with an optional reason message:

discard "reason message";

Parameters

  • message (optional): A string expression that describes why the request was discarded. This message is logged but not sent to the client.

Example

aaa "policy" {
    handler "authentication" {
      @execute {
          if all {
            aaa.identity == "blocked-user";
          } then {
              discard "User is blocked";
          } else {
              accept;
          }
      }
   }
}

See Also

  • reject - Reject a request with an Access-Reject response
Navigation
  • accept

  • all

  • any

  • append

  • assert

  • backend

  • challenge

  • chap

  • conditions

  • copy

  • count

  • debug

  • discard

  • each

  • eap

  • error

  • filter

  • first

  • hotp

  • http-basic-auth

  • if

  • ignore

  • invoke

  • log

  • map

  • message

  • modify

  • mschap

  • mschapv2

  • none

  • pap

  • reason

  • reject

  • reject_errors

  • replace

  • reply

  • rewrite

  • set

  • sleep

  • sometimes

  • stop

  • totp

  • trace

  • try

  • until

  • while

  • with

  • yubikey