Back to index

nagios-plugins  1.4.16
Classes | Defines | Typedefs
radius.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pw_auth_hdr

Defines

#define AUTH_VECTOR_LEN   16
#define AUTH_PASS_LEN   16
#define AUTH_STRING_LEN   128 /* maximum of 254 */
#define AUTH_HDR_LEN   20
#define CHAP_VALUE_LENGTH   16
#define PW_AUTH_UDP_PORT   1645
#define PW_ACCT_UDP_PORT   1646
#define VENDORPEC_USR   429
#define PW_TYPE_STRING   0
#define PW_TYPE_INTEGER   1
#define PW_TYPE_IPADDR   2
#define PW_TYPE_DATE   3
#define PW_AUTHENTICATION_REQUEST   1
#define PW_AUTHENTICATION_ACK   2
#define PW_AUTHENTICATION_REJECT   3
#define PW_ACCOUNTING_REQUEST   4
#define PW_ACCOUNTING_RESPONSE   5
#define PW_ACCOUNTING_STATUS   6
#define PW_PASSWORD_REQUEST   7
#define PW_PASSWORD_ACK   8
#define PW_PASSWORD_REJECT   9
#define PW_ACCOUNTING_MESSAGE   10
#define PW_ACCESS_CHALLENGE   11
#define PW_USER_NAME   1
#define PW_PASSWORD   2
#define PW_CHAP_PASSWORD   3
#define PW_NAS_IP_ADDRESS   4
#define PW_NAS_PORT_ID   5
#define PW_SERVICE_TYPE   6
#define PW_FRAMED_PROTOCOL   7
#define PW_FRAMED_IP_ADDRESS   8
#define PW_FRAMED_IP_NETMASK   9
#define PW_FRAMED_ROUTING   10
#define PW_FILTER_ID   11
#define PW_FRAMED_MTU   12
#define PW_FRAMED_COMPRESSION   13
#define PW_LOGIN_IP_HOST   14
#define PW_LOGIN_SERVICE   15
#define PW_LOGIN_TCP_PORT   16
#define PW_OLD_PASSWORD   17
#define PW_REPLY_MESSAGE   18
#define PW_CALLBACK_NUMBER   19
#define PW_CALLBACK_ID   20
#define PW_EXPIRATION   21
#define PW_FRAMED_ROUTE   22
#define PW_FRAMED_IPXNET   23
#define PW_STATE   24
#define PW_CLASS   25
#define PW_VENDOR_SPECIFIC   26
#define PW_SESSION_TIMEOUT   27
#define PW_IDLE_TIMEOUT   28
#define PW_CALLED_STATION_ID   30
#define PW_CALLING_STATION_ID   31
#define PW_PROXY_STATE   33
#define PW_ACCT_STATUS_TYPE   40
#define PW_ACCT_DELAY_TIME   41
#define PW_ACCT_INPUT_OCTETS   42
#define PW_ACCT_OUTPUT_OCTETS   43
#define PW_ACCT_SESSION_ID   44
#define PW_ACCT_AUTHENTIC   45
#define PW_ACCT_SESSION_TIME   46
#define PW_ACCT_INPUT_PACKETS   47
#define PW_ACCT_OUTPUT_PACKETS   48
#define PW_CHAP_CHALLENGE   60
#define PW_NAS_PORT_TYPE   61
#define PW_PORT_LIMIT   62
#define PW_CONNECT_INFO   77
#define PW_FALL_THROUGH   500
#define PW_ADD_PORT_TO_IP_ADDRESS   501
#define PW_EXEC_PROGRAM   502
#define PW_EXEC_PROGRAM_WAIT   503
#define PW_AUTHTYPE   1000
#define PW_PREFIX   1003
#define PW_SUFFIX   1004
#define PW_GROUP   1005
#define PW_CRYPT_PASSWORD   1006
#define PW_CONNECT_RATE   1007
#define PW_USER_CATEGORY   1029
#define PW_GROUP_NAME   1030
#define PW_HUNTGROUP_NAME   1031
#define PW_SIMULTANEOUS_USE   1034
#define PW_STRIP_USERNAME   1035
#define PW_HINT   1040
#define PAM_AUTH_ATTR   1041
#define PW_LOGIN_TIME   1042
#define PW_LOGIN_USER   1
#define PW_FRAMED_USER   2
#define PW_DIALBACK_LOGIN_USER   3
#define PW_DIALBACK_FRAMED_USER   4
#define PW_PPP   1
#define PW_SLIP   2
#define PW_NONE   0
#define PW_BROADCAST   1
#define PW_LISTEN   2
#define PW_BROADCAST_LISTEN   3
#define PW_VAN_JACOBSEN_TCP_IP   1
#define PW_TELNET   0
#define PW_RLOGIN   1
#define PW_TCP_CLEAR   2
#define PW_PORTMASTER   3
#define PW_AUTHTYPE_LOCAL   0
#define PW_AUTHTYPE_SYSTEM   1
#define PW_AUTHTYPE_SECURID   2
#define PW_AUTHTYPE_CRYPT   3
#define PW_AUTHTYPE_REJECT   4
#define PW_AUTHTYPE_PAM   253
#define PW_AUTHTYPE_ACCEPT   254
#define PW_NAS_PORT_ASYNC   0
#define PW_NAS_PORT_SYNC   1
#define PW_NAS_PORT_ISDN   2
#define PW_NAS_PORT_ISDN_V120   3
#define PW_NAS_PORT_ISDN_V110   4
#define PW_STATUS_START   1
#define PW_STATUS_STOP   2
#define PW_STATUS_ALIVE   3
#define PW_STATUS_ACCOUNTING_ON   7
#define PW_STATUS_ACCOUNTING_OFF   8

Typedefs

typedef struct pw_auth_hdr AUTH_HDR

Class Documentation

struct pw_auth_hdr

Definition at line 37 of file radius.h.

Class Members
u_char code
u_char data
u_char id
u_short length
u_char vector

Define Documentation

#define AUTH_HDR_LEN   20

Definition at line 45 of file radius.h.

#define AUTH_PASS_LEN   16

Definition at line 33 of file radius.h.

#define AUTH_STRING_LEN   128 /* maximum of 254 */

Definition at line 34 of file radius.h.

#define AUTH_VECTOR_LEN   16

Definition at line 32 of file radius.h.

#define CHAP_VALUE_LENGTH   16

Definition at line 46 of file radius.h.

#define PAM_AUTH_ATTR   1041

Definition at line 135 of file radius.h.

#define PW_ACCESS_CHALLENGE   11

Definition at line 69 of file radius.h.

#define PW_ACCOUNTING_MESSAGE   10

Definition at line 68 of file radius.h.

#define PW_ACCOUNTING_REQUEST   4

Definition at line 62 of file radius.h.

#define PW_ACCOUNTING_RESPONSE   5

Definition at line 63 of file radius.h.

#define PW_ACCOUNTING_STATUS   6

Definition at line 64 of file radius.h.

#define PW_ACCT_AUTHENTIC   45

Definition at line 108 of file radius.h.

#define PW_ACCT_DELAY_TIME   41

Definition at line 104 of file radius.h.

#define PW_ACCT_INPUT_OCTETS   42

Definition at line 105 of file radius.h.

#define PW_ACCT_INPUT_PACKETS   47

Definition at line 110 of file radius.h.

#define PW_ACCT_OUTPUT_OCTETS   43

Definition at line 106 of file radius.h.

#define PW_ACCT_OUTPUT_PACKETS   48

Definition at line 111 of file radius.h.

#define PW_ACCT_SESSION_ID   44

Definition at line 107 of file radius.h.

#define PW_ACCT_SESSION_TIME   46

Definition at line 109 of file radius.h.

#define PW_ACCT_STATUS_TYPE   40

Definition at line 103 of file radius.h.

#define PW_ACCT_UDP_PORT   1646

Definition at line 49 of file radius.h.

#define PW_ADD_PORT_TO_IP_ADDRESS   501

Definition at line 119 of file radius.h.

#define PW_AUTH_UDP_PORT   1645

Definition at line 48 of file radius.h.

#define PW_AUTHENTICATION_ACK   2

Definition at line 60 of file radius.h.

#define PW_AUTHENTICATION_REJECT   3

Definition at line 61 of file radius.h.

#define PW_AUTHENTICATION_REQUEST   1

Definition at line 59 of file radius.h.

#define PW_AUTHTYPE   1000

Definition at line 123 of file radius.h.

#define PW_AUTHTYPE_ACCEPT   254

Definition at line 180 of file radius.h.

#define PW_AUTHTYPE_CRYPT   3

Definition at line 177 of file radius.h.

#define PW_AUTHTYPE_LOCAL   0

Definition at line 174 of file radius.h.

#define PW_AUTHTYPE_PAM   253

Definition at line 179 of file radius.h.

#define PW_AUTHTYPE_REJECT   4

Definition at line 178 of file radius.h.

#define PW_AUTHTYPE_SECURID   2

Definition at line 176 of file radius.h.

#define PW_AUTHTYPE_SYSTEM   1

Definition at line 175 of file radius.h.

#define PW_BROADCAST   1

Definition at line 157 of file radius.h.

#define PW_BROADCAST_LISTEN   3

Definition at line 159 of file radius.h.

#define PW_CALLBACK_ID   20

Definition at line 90 of file radius.h.

#define PW_CALLBACK_NUMBER   19

Definition at line 89 of file radius.h.

#define PW_CALLED_STATION_ID   30

Definition at line 99 of file radius.h.

#define PW_CALLING_STATION_ID   31

Definition at line 100 of file radius.h.

#define PW_CHAP_CHALLENGE   60

Definition at line 113 of file radius.h.

#define PW_CHAP_PASSWORD   3

Definition at line 73 of file radius.h.

#define PW_CLASS   25

Definition at line 95 of file radius.h.

#define PW_CONNECT_INFO   77

Definition at line 116 of file radius.h.

#define PW_CONNECT_RATE   1007

Definition at line 128 of file radius.h.

#define PW_CRYPT_PASSWORD   1006

Definition at line 127 of file radius.h.

#define PW_DIALBACK_FRAMED_USER   4

Definition at line 147 of file radius.h.

#define PW_DIALBACK_LOGIN_USER   3

Definition at line 146 of file radius.h.

#define PW_EXEC_PROGRAM   502

Definition at line 120 of file radius.h.

#define PW_EXEC_PROGRAM_WAIT   503

Definition at line 121 of file radius.h.

#define PW_EXPIRATION   21

Definition at line 91 of file radius.h.

#define PW_FALL_THROUGH   500

Definition at line 118 of file radius.h.

#define PW_FILTER_ID   11

Definition at line 81 of file radius.h.

#define PW_FRAMED_COMPRESSION   13

Definition at line 83 of file radius.h.

#define PW_FRAMED_IP_ADDRESS   8

Definition at line 78 of file radius.h.

#define PW_FRAMED_IP_NETMASK   9

Definition at line 79 of file radius.h.

#define PW_FRAMED_IPXNET   23

Definition at line 93 of file radius.h.

#define PW_FRAMED_MTU   12

Definition at line 82 of file radius.h.

#define PW_FRAMED_PROTOCOL   7

Definition at line 77 of file radius.h.

#define PW_FRAMED_ROUTE   22

Definition at line 92 of file radius.h.

#define PW_FRAMED_ROUTING   10

Definition at line 80 of file radius.h.

#define PW_FRAMED_USER   2

Definition at line 145 of file radius.h.

#define PW_GROUP   1005

Definition at line 126 of file radius.h.

#define PW_GROUP_NAME   1030

Definition at line 130 of file radius.h.

#define PW_HINT   1040

Definition at line 134 of file radius.h.

#define PW_HUNTGROUP_NAME   1031

Definition at line 131 of file radius.h.

#define PW_IDLE_TIMEOUT   28

Definition at line 98 of file radius.h.

#define PW_LISTEN   2

Definition at line 158 of file radius.h.

#define PW_LOGIN_IP_HOST   14

Definition at line 84 of file radius.h.

#define PW_LOGIN_SERVICE   15

Definition at line 85 of file radius.h.

#define PW_LOGIN_TCP_PORT   16

Definition at line 86 of file radius.h.

#define PW_LOGIN_TIME   1042

Definition at line 136 of file radius.h.

#define PW_LOGIN_USER   1

Definition at line 144 of file radius.h.

#define PW_NAS_IP_ADDRESS   4

Definition at line 74 of file radius.h.

#define PW_NAS_PORT_ASYNC   0

Definition at line 183 of file radius.h.

#define PW_NAS_PORT_ID   5

Definition at line 75 of file radius.h.

#define PW_NAS_PORT_ISDN   2

Definition at line 185 of file radius.h.

#define PW_NAS_PORT_ISDN_V110   4

Definition at line 187 of file radius.h.

#define PW_NAS_PORT_ISDN_V120   3

Definition at line 186 of file radius.h.

#define PW_NAS_PORT_SYNC   1

Definition at line 184 of file radius.h.

#define PW_NAS_PORT_TYPE   61

Definition at line 114 of file radius.h.

#define PW_NONE   0

Definition at line 156 of file radius.h.

#define PW_OLD_PASSWORD   17

Definition at line 87 of file radius.h.

#define PW_PASSWORD   2

Definition at line 72 of file radius.h.

#define PW_PASSWORD_ACK   8

Definition at line 66 of file radius.h.

#define PW_PASSWORD_REJECT   9

Definition at line 67 of file radius.h.

#define PW_PASSWORD_REQUEST   7

Definition at line 65 of file radius.h.

#define PW_PORT_LIMIT   62

Definition at line 115 of file radius.h.

#define PW_PORTMASTER   3

Definition at line 170 of file radius.h.

#define PW_PPP   1

Definition at line 151 of file radius.h.

#define PW_PREFIX   1003

Definition at line 124 of file radius.h.

#define PW_PROXY_STATE   33

Definition at line 101 of file radius.h.

#define PW_REPLY_MESSAGE   18

Definition at line 88 of file radius.h.

#define PW_RLOGIN   1

Definition at line 168 of file radius.h.

#define PW_SERVICE_TYPE   6

Definition at line 76 of file radius.h.

#define PW_SESSION_TIMEOUT   27

Definition at line 97 of file radius.h.

#define PW_SIMULTANEOUS_USE   1034

Definition at line 132 of file radius.h.

#define PW_SLIP   2

Definition at line 152 of file radius.h.

#define PW_STATE   24

Definition at line 94 of file radius.h.

#define PW_STATUS_ACCOUNTING_OFF   8

Definition at line 195 of file radius.h.

#define PW_STATUS_ACCOUNTING_ON   7

Definition at line 194 of file radius.h.

#define PW_STATUS_ALIVE   3

Definition at line 193 of file radius.h.

#define PW_STATUS_START   1

Definition at line 191 of file radius.h.

#define PW_STATUS_STOP   2

Definition at line 192 of file radius.h.

#define PW_STRIP_USERNAME   1035

Definition at line 133 of file radius.h.

#define PW_SUFFIX   1004

Definition at line 125 of file radius.h.

#define PW_TCP_CLEAR   2

Definition at line 169 of file radius.h.

#define PW_TELNET   0

Definition at line 167 of file radius.h.

#define PW_TYPE_DATE   3

Definition at line 56 of file radius.h.

#define PW_TYPE_INTEGER   1

Definition at line 54 of file radius.h.

#define PW_TYPE_IPADDR   2

Definition at line 55 of file radius.h.

#define PW_TYPE_STRING   0

Definition at line 53 of file radius.h.

#define PW_USER_CATEGORY   1029

Definition at line 129 of file radius.h.

#define PW_USER_NAME   1

Definition at line 71 of file radius.h.

#define PW_VAN_JACOBSEN_TCP_IP   1

Definition at line 163 of file radius.h.

#define PW_VENDOR_SPECIFIC   26

Definition at line 96 of file radius.h.

#define VENDORPEC_USR   429

Definition at line 51 of file radius.h.


Typedef Documentation

typedef struct pw_auth_hdr AUTH_HDR