Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:dpi_components:platform:dpi_mobile_spec:start [2023/08/28 13:39] – ↷ Операцией перемещения обновлены ссылки elena.krasnobryzh | en:dpi:dpi_components:platform:dpi_mobile_spec:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 11 Mobile Networks Support ====== | ||
| - | {{indexmenu_n> | ||
| - | < | ||
| - | < | ||
| - | Stingray SG can detect GTP-C traffic and extract subscriber parameters for the subscriber' | ||
| - | GTP support is enabled by parameters in fastdpi.conf: | ||
| - | < | ||
| - | # bras_enable=1 | ||
| - | # | ||
| - | # GTP processing mode | ||
| - | # Values: | ||
| - | # 0 - (default) GTP processing is disabled | ||
| - | # 1 - [bind mode] In this mode, BNG/BRAS processes GTP-C packets of the session start and end, | ||
| - | # | ||
| - | # At the end of the session, the login-IP connection is broken. | ||
| - | # 2 - [auth mode] authorization of GTP sessions is enabled. In this mode, BNG/BRAS processes GTP-C session start and end packets. | ||
| - | # Upon successful start of the GTP session, BRAS sends an L3 authorization request to PCRF, | ||
| - | # | ||
| - | # At the end of the session, the login-IP connection is broken. | ||
| - | # SSG does not terminate GTP sessions, all GTP-C packets are dropped. | ||
| - | # 3 - [passive bind mode] Similar to mode 1 [mirror bind mode], but GTP-C packets are not dropped. | ||
| - | # The SSG should be in a gap on the S11 or S5 interface. | ||
| - | # 4 - [passive auth mode] Similar to mode 2 [mirror auth mode], but GTP-C packets are not dropped. | ||
| - | # The SSG should be in a gap on the S11 or S5 interface. | ||
| - | # | ||
| - | </ | ||
| - | |||
| - | |||
| - | Creating a session (bind IP-LOGIN) on responses: | ||
| - | < | ||
| - | #Response to Create PDP Context Request for GTPv1: | ||
| - | Create PDP Context Response | ||
| - | |||
| - | #Response to Create Session Request for GTPv2: | ||
| - | Create Session Response | ||
| - | </ | ||
| - | |||
| - | Deleting a session (bind IP-LOGIN) on responses: | ||
| - | < | ||
| - | #Response to Delete PDP Context Request for GTPv1: | ||
| - | Delete PDP Context Response | ||
| - | |||
| - | #Response to Delete Session Request for GTPv2: | ||
| - | Delete Session Response | ||
| - | |||
| - | #Response to Delete Bearer Request for GTPv2: | ||
| - | Delete Bearer Response | ||
| - | </ | ||
| - | |||
| - | |||
| - | The Stingray SG connection point is set by the parameter: | ||
| - | < | ||
| - | # Where the SSG is connected (which GTP-C is fed to the SCAT) | ||
| - | # Valid values: | ||
| - | # 0 - S5 protocol (SGW <-> PGW). This is the default | ||
| - | # 1 - S11 protocol (MME <-> SGW) | ||
| - | bras_gtp_mountpoint=0 | ||
| - | </ | ||
| - | |||
| - | In mirror mode ('' | ||
| - | In passive mode ( '' | ||
| - | |||
| - | You should also set the maximum size of active GTP-sessions internal database in fastdpi.conf | ||
| - | |||
| - | < | ||
| - | # Max number of concurrent GTP-sessions | ||
| - | # We recommend setting this parameter 1.5-2 times more than the actual max number of sessions | ||
| - | # Default value: 10000 sessions, minimum value: 10000 | ||
| - | # | ||
| - | </ | ||
| - | |||
| - | After receiving a request to create a GTP-C session, SSG waits for a packet of successful session creation. Only at this moment, upon receiving a successful response and issuing an IP address to the subscriber, connects the login and IP. The response timeout is set by a parameter in fastdpi.conf: | ||
| - | < | ||
| - | # Max time to wait for a response to a GTP session creation, seconds | ||
| - | # Default = 3 seconds | ||
| - | # | ||
| - | </ | ||
| - | |||
| - | IMSI or MSISDN can be used as a login, which is set by a parameter in fastdpi.conf: | ||
| - | < | ||
| - | # What is the subscriber' | ||
| - | # 0 - IMSI (by default) | ||
| - | # 1 - MSISDN | ||
| - | # | ||
| - | </ | ||
| - | |||
| - | <note important> | ||
| - | |||
| - | To detect GTP-U, you have to enable tunnel parsing: | ||
| - | < | ||
| - | # enable the tunnels parsing by dispatchers | ||
| - | check_tunnels=1 | ||
| - | # enable the detection and parsing of GTP-U | ||
| - | detect_gtp_tunnel=1 | ||
| - | </ | ||
| - | When you enable parsing of GTP-U tunnels, SSG will work with the real IP-address of the subscriber, and not with the IP-address of the tunnel. That means that it becomes possible to apply filtering, services and policing to the GTP-subscriber. | ||
| - | |||
| - | SSG does not terminate GTP-U tunnels. | ||
| - | |||
| - | The internal database of GTP-sessions can be controlled with a special set of [[en: | ||