Main Page Modules Data Structures File List Data Fields Globals Related Pages

# Authentication methods supported by the RPCAP protocol
[Exported Structures and Definitions]

## Defines
#define | RPCAP_RMTAUTH_NULL 0
| It defines the NULL authentication.
#define | RPCAP_RMTAUTH_PWD 1
| It defines the username/password authentication.

## Detailed Description

## Define Documentation

#define RPCAP_RMTAUTH_NULL 0

| It defines the NULL authentication. This value has to be used within the 'type' member of the pcap_rmtauth structure. The 'NULL' authentication has to be equal to 'zero', so that old applications can just put every field of struct pcap_rmtauth to zero, and it does work. Definition at line 277 of file remote-ext.h. Referenced by daemon_checkauth(), and rpcap_sendauth().

#define RPCAP_RMTAUTH_PWD 1

| It defines the username/password authentication. With this type of authentication, the RPCAP protocol will use the username/ password provided to authenticate the user on the remote machine. If the authentication is successful (and the user has the right to open network devices) the RPCAP connection will continue; otherwise it will be dropped. This value has to be used within the 'type' member of the pcap_rmtauth structure. Definition at line 288 of file remote-ext.h. Referenced by daemon_checkauth(), and rpcap_sendauth().

documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.