| 356 |
|
int aftype; /**< Makes life easier for DNS res in IPV6 */ |
| 357 |
|
int country_id; /**< ID corresponding to a ISO 3166 country code */ |
| 358 |
|
|
| 359 |
– |
char *passwd; |
| 359 |
|
fde_t fd; |
| 360 |
+ |
|
| 361 |
|
/* Anti-flood stuff. We track how many messages were parsed and how |
| 362 |
|
* many we were allowed in the current second, and apply a simple |
| 363 |
|
* decay to avoid flooding. |
| 366 |
|
int allow_read; /**< How many we're allowed to read in this second */ |
| 367 |
|
int sent_parsed; /**< How many messages we've parsed in this second */ |
| 368 |
|
|
| 369 |
< |
char* response; /**< Expected CHALLENGE response from client */ |
| 370 |
< |
char* auth_oper; /**< Operator to become if they supply the response */ |
| 369 |
> |
char *password; /**< Password supplied by the client/server */ |
| 370 |
> |
char *challenge_response; /**< Expected CHALLENGE response from client */ |
| 371 |
> |
char *challenge_operator; /**< Operator to become if they supply the response */ |
| 372 |
|
}; |
| 373 |
|
|
| 374 |
|
/*! \brief Client structure */ |