Added support for no-routes (X-Split-Exclude)

This commit is contained in:
Nikos Mavrogiannopoulos
2015-02-06 14:05:10 +01:00
parent 5f34edaf31
commit bcea928abe
15 changed files with 150 additions and 52 deletions
+29 -1
View File
@@ -1,3 +1,29 @@
/* === Authentication ===
main sec-mod worker
| | |
| | <--AUTH_INIT--- |
| | ---AUTH_REP---> |
| | <--AUTH_CONT--- |
| | . |
| | . |
| | . |
| | ----AUTH_REP--> |
| | |
| <----------AUTH_COOKIE_REQ------------- |
| | |
| ---SESSION_OPEN----> | |
| <--SESSION_REPLY---- | |
| | |
| -----------------AUTH_REP-------------> |
| | |
| |
| | (disconnect)
| ---SESSION_CLOSE---> |
*/
/*
* == Auth in main process (cookie auth only) ==
*
@@ -50,6 +76,7 @@ message auth_reply_msg
optional string xml_config_file = 26;
optional string ipv4_network = 27;
optional string ipv6_network = 28;
repeated string no_routes = 29;
}
/* RESUME_FETCH_REQ + RESUME_DELETE_REQ */
@@ -185,7 +212,7 @@ message cookie
*
* main sec-mod
* SESSION_OPEN/CLOSE ------>
*
* <------ SESSION_REPLY
*/
/* SEC_SESSION_CLOSE */
@@ -221,4 +248,5 @@ message sec_auth_session_reply_msg
optional uint32 net_priority = 25;
optional string explicit_ipv4 = 26;
optional string explicit_ipv6 = 27;
repeated string no_routes = 28;
}