libnet  latest
A Portable Framework for Low-Level Network Packet Construction
Macros
Remote_auth_methods

Macros

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

Detailed Description

Macro Definition Documentation

§ RPCAP_RMTAUTH_NULL

#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.

§ RPCAP_RMTAUTH_PWD

#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.