Moby Dick Consolidated System Integration Plan
Moby Dick Consolidated System Integration Plan Moby Dick Consolidated System Integration Plan
D0103v1.doc Version 1 6.7.2003 static int PFKey::get_spi() static void PFKey::free_spi(int spi) static int URPFWMgr::init() static int URPFWMgr::allow6(const char *in_dev, struct in6_addr *v6addr) static int URPFWMgr::forbid6(struct in6_addr *v6addr) 4.2.3.7 Interface between AAAC Attendant and metering The metering attendant can read out the data from the Accounting database on request coming from the AAAC Attendant. It is expected that data of the accounting database is red out in permanent intervals (about 3 minutes). The data red out will be deleted at the accounting database in order to keep the size of this database small and the whole system scalable. This reading intervals will be triggered by the AAAC Attendant via a C API which is described in the following: AAAC client can get accounting data through a function call (Get_Meter_Data). Additionally, the C Lib can also give AAAC client two functions as required in [1]: Meter_Start() and Meter_Stop(). struct st_accdata { char *date; char *time; char *sourcepeeraddress; char *destpeeraddress; unsigned int inputOctets; //fromoctets unsigned int outputOctets; //tooctets unsigned int inputPackets; //frompdus unsigned int outputPackets; //fromoctets unsigned int destPort; unsigned int dscp; struct st_acctdata *next } Figure 53: Meter Attendant API – data format Parameters of the Meter_Start message are Session_ID and CoA. Para meters of the get_Meter are the Session_ID. The Meter_Stop parameter is the Session_ID only. The Session_ID will be created and maintained by the AAAC Attendant. This session_ID will be combined with a CoA after Meter_Start is called. AAAC client can use it to get Accounting data from meter and inform meter to stop counting for this CoA. Get_Meter_Data return a pointer to the structure. The accounting data are stored in this structure list. The list end with a null point in next. 4.2.3.8 Interface between AAAC attendant and Fast Handover module 4.2.3.8.1 Description The AAAC attendant module has an interface to the Fast Handover (FHO) module, which is a kernel space module. These modules interact with each other to transfer the context from the old access router (oAR) to the new access router (nAR). This is illustrated in the figure below. On receiving a “Router Solicitation for Proxy” message form the MN, the FHO module at the old access router requests the AAAC Attendant for the context associated with the MN. The FHOmodule executes the function “StartCtxTransfer” which contains identification of the message (MesgType) e.g. StartCtxTransfer, SendctxToAtt or SendctxToFHO and the length of this message In case of an intra-domain fast handover, which is the only kind of FAST Handover to be considered within Moby Dick, transferring the related context between the oAR and the nAR performs reestablishment of related AAAC context on the nAR. This requires control primitives to be exchanged locally between the old and new Air’s HO module and the AAAC attendant. Context has to be requested from the AAAC attendant on the oAR on reception of the Router Solicitation for Proxy. To identify the respective mobile terminal, the old CoA is used as an identifier on the oAR. The context is to be attached to the Fast-HO CT extension and conveyed to the nAR through the HI message. On the nAR, the context D0103v1.doc 70 / 168
D0103v1.doc Version 1 6.7.2003 is to be passed to the AAAC attendant module, providing also the nCoA as identifier for the new binding. The following figure repeats the fast handover message flow, whereas the important messages for the AAAC context transfer are numbered 3 and 5 and the colored messages, marked with A,B,C and X, are not considered in the following description. After the Mobile Terminal initialized the handover via the Proxy Router Advertisement (msg. 2), the FHO module should: • Get the WP4 context from the AAAC on the oAR before Msg 3 (fig. above) • Include the WP4 context in the Handover initiate (msg. 3) and sent it to the nAR • Give the WP4 context to the AAAC attendant on the nAR (fig above) The context will consist of a Type Length Value TLV structure that is opaque to the FHO module. The parameters passed from the AAAC attendant to the MT registration module are also passed in a TLV structure. Old AR New AR User Space AAA Att. User Space AAA Att. 1. Trigger ctxTran FHO Mod. Kernel 2. CtxtoFHO 3. Handover Initiate FHO Mod. Kernel 4. CtxtoAtt Figure 54: FHO module and Attendant interaction during FHO 4.2.3.8.2 Interface mechanisms After the handover is initiated via the Proxy Router Advertisement (msg. 2) by the Mobile Node, the oAR needs the AAAC context before contacting the nAR and triggers the ATT to relay the AAAC context to the FHO module (see figure below: step 1), which is performed in step 2 (figure below). The context is included in the Handover initiate message to the nAR (step 3, figure below) where it is given to the respective AAAC attendant in step4. The figure below shows the interaction between the different entities involved in detail. On receiving a “Router Solicitation for Proxy” message form the MN, the FHO module at the old access router requests the AAAC Attendant for the context associated with the MN. The FHOmodule executes the function “StartCtxTransfer” which contains identification of the message (MesgType) e.g. StartCtxTransfer, SendctxToAtt or SendctxToFHO and the length of this message. The parameters of the respective messages will be presented in detail below. 4.2.3.8.3 Interface contents The contents of the context are as follows Context { Auth-Lifetime }; { Session-Timeout }; /* what's left of it */ { ATT-MN-SPI }; { MIPv6-Mobile-Node-Address }; { MIPv6-CO-Address }; { AR-Address }; D0103v1.doc 71 / 168
- Page 19 and 20: D0103v1.doc Version 1 6.7.2003 curr
- Page 21 and 22: D0103v1.doc Version 1 6.7.2003 •
- Page 23 and 24: D0103v1.doc Version 1 6.7.2003 No A
- Page 25 and 26: D0103v1.doc Version 1 6.7.2003 o Fo
- Page 27 and 28: D0103v1.doc Version 1 6.7.2003 NCP
- Page 29 and 30: D0103v1.doc Version 1 6.7.2003 4.1.
- Page 31 and 32: D0103v1.doc Version 1 6.7.2003 4.1.
- Page 33 and 34: D0103v1.doc Version 1 6.7.2003 asso
- Page 35 and 36: D0103v1.doc Version 1 6.7.2003 Mobi
- Page 37 and 38: D0103v1.doc Version 1 6.7.2003 WP4
- Page 39 and 40: D0103v1.doc Version 1 6.7.2003 Para
- Page 41 and 42: D0103v1.doc Version 1 6.7.2003 Ackn
- Page 43 and 44: D0103v1.doc Version 1 6.7.2003 inst
- Page 45 and 46: D0103v1.doc Version 1 6.7.2003 MT P
- Page 47 and 48: D0103v1.doc Version 1 6.7.2003 The
- Page 49 and 50: D0103v1.doc Version 1 6.7.2003 RtSo
- Page 51 and 52: D0103v1.doc Version 1 6.7.2003 auth
- Page 53 and 54: D0103v1.doc Version 1 6.7.2003 In a
- Page 55 and 56: D0103v1.doc Version 1 6.7.2003 AR s
- Page 57 and 58: D0103v1.doc Version 1 6.7.2003 4.2.
- Page 59 and 60: D0103v1.doc Version 1 6.7.2003 Even
- Page 61 and 62: D0103v1.doc Version 1 6.7.2003 4.2.
- Page 63 and 64: D0103v1.doc Version 1 6.7.2003 Filt
- Page 65 and 66: D0103v1.doc Version 1 6.7.2003 4.2.
- Page 67 and 68: D0103v1.doc Version 1 6.7.2003 •
- Page 69: D0103v1.doc Version 1 6.7.2003 The
- Page 73 and 74: D0103v1.doc Version 1 6.7.2003 4.3
- Page 75 and 76: D0103v1.doc Version 1 6.7.2003 4.3.
- Page 77 and 78: D0103v1.doc Version 1 6.7.2003 This
- Page 79 and 80: D0103v1.doc Version 1 6.7.2003 This
- Page 81 and 82: D0103v1.doc Version 1 6.7.2003 4.3.
- Page 83 and 84: D0103v1.doc Version 1 6.7.2003 4.3.
- Page 85 and 86: D0103v1.doc Version 1 6.7.2003 The
- Page 87 and 88: D0103v1.doc Version 1 6.7.2003 4.3.
- Page 89 and 90: D0103v1.doc Version 1 6.7.2003 be u
- Page 91 and 92: D0103v1.doc Version 1 6.7.2003 o Ma
- Page 93 and 94: D0103v1.doc Version 1 6.7.2003 Gene
- Page 95 and 96: D0103v1.doc Version 1 6.7.2003 Upli
- Page 97 and 98: D0103v1.doc Version 1 6.7.2003 Now
- Page 99 and 100: D0103v1.doc Version 1 6.7.2003 3. D
- Page 101 and 102: D0103v1.doc Version 1 6.7.2003 User
- Page 103 and 104: D0103v1.doc Version 1 6.7.2003 Inte
- Page 105 and 106: D0103v1.doc Version 1 6.7.2003 User
- Page 107 and 108: D0103v1.doc Version 1 6.7.2003 Serv
- Page 109 and 110: D0103v1.doc Version 1 6.7.2003 S1 E
- Page 111 and 112: D0103v1.doc Version 1 6.7.2003 The
- Page 113 and 114: D0103v1.doc Version 1 6.7.2003 Old
- Page 115 and 116: D0103v1.doc Version 1 6.7.2003 This
- Page 117 and 118: D0103v1.doc Version 1 6.7.2003 Leng
- Page 119 and 120: D0103v1.doc Version 1 6.7.2003 4.5.
D0103v1.doc Version 1 6.7.2003<br />
static int PFKey::get_spi()<br />
static void PFKey::free_spi(int spi)<br />
static int URPFWMgr::init()<br />
static int URPFWMgr::allow6(const char *in_dev,<br />
struct in6_addr *v6addr)<br />
static int URPFWMgr::forbid6(struct in6_addr *v6addr)<br />
4.2.3.7 Interface between AAAC Attendant and metering<br />
The metering attendant can read out the data from the Accounting database on request coming from the<br />
AAAC Attendant. It is expected that data of the accounting database is red out in permanent intervals<br />
(about 3 minutes). The data red out will be deleted at the accounting database in order to keep the size of<br />
this database small and the whole system scalable. This reading intervals will be triggered by the AAAC<br />
Attendant via a C API which is described in the following:<br />
AAAC client can get accounting data through a function call (Get_Meter_Data). Additionally, the C Lib<br />
can also give AAAC client two functions as required in [1]: Meter_Start() and Meter_Stop().<br />
struct st_accdata<br />
{<br />
char *date;<br />
char *time;<br />
char *sourcepeeraddress;<br />
char *destpeeraddress;<br />
unsigned int inputOctets; //fromoctets<br />
unsigned int outputOctets; //tooctets<br />
unsigned int inputPackets; //frompdus<br />
unsigned int outputPackets; //fromoctets<br />
unsigned int destPort;<br />
unsigned int dscp;<br />
struct st_acctdata *next<br />
}<br />
Figure 53: Meter Attendant API – data format<br />
Parameters of the Meter_Start message are Session_ID and CoA. Para meters of the get_Meter are the<br />
Session_ID. The Meter_Stop parameter is the Session_ID only.<br />
The Session_ID will be created and maintained by the AAAC Attendant. This session_ID will be<br />
combined with a CoA after Meter_Start is called. AAAC client can use it to get Accounting data from<br />
meter and inform meter to stop counting for this CoA.<br />
Get_Meter_Data return a pointer to the structure. The accounting data are stored in this structure list. The<br />
list end with a null point in next.<br />
4.2.3.8 Interface between AAAC attendant and Fast Handover module<br />
4.2.3.8.1 Description<br />
The AAAC attendant module has an interface to the Fast Handover (FHO) module, which is a kernel<br />
space module. These modules interact with each other to transfer the context from the old access router<br />
(oAR) to the new access router (nAR). This is illustrated in the figure below.<br />
On receiving a “Router Solicitation for Proxy” message form the MN, the FHO module at the old access<br />
router requests the AAAC Attendant for the context associated with the MN. The FHOmodule executes<br />
the function “StartCtxTransfer” which contains identification of the message (MesgType) e.g.<br />
StartCtxTransfer, SendctxToAtt or SendctxToFHO and the length of this message<br />
In case of an intra-domain fast handover, which is the only kind of FAST Handover to be considered<br />
within <strong>Moby</strong> <strong>Dick</strong>, transferring the related context between the oAR and the nAR performs reestablishment<br />
of related AAAC context on the nAR. This requires control primitives to be exchanged<br />
locally between the old and new Air’s HO module and the AAAC attendant. Context has to be requested<br />
from the AAAC attendant on the oAR on reception of the Router Solicitation for Proxy. To identify the<br />
respective mobile terminal, the old CoA is used as an identifier on the oAR. The context is to be attached<br />
to the Fast-HO CT extension and conveyed to the nAR through the HI message. On the nAR, the context<br />
D0103v1.doc 70 / 168