This is an old revision of the document!
Version 14.0 Shooting Stars
Changes in version 14.1
- [BRAS] DHCP-Dual support. Description
- [BRAS] Support for L2TP termination. Description
- [DPI] Migration to DPDK 24.11, support for new NICs (Intel E830 200G, Intel E610, Napatech SmartNIC). Description
- [CLI] Added support for
subs_idin commands:dhcp show,dhcp reauth,dhcp6 show,dhcp6 reauth, anddhcp disconnect. Description - [DPI] New protocols added: AGORA_STREAMS(49314), AZAR_CALL(49315), WECHAT_CALL(49316), TEAMS_CALL(49317). List of protocols
- [DPI] Improved support for LINE_CALL, VYKE_CALL protocols. List of protocols
- [DPI] Fixed smartdrop behavior
- [DPI] Added validation for complex protocols. List of protocols
- [DPDK] Increased the maximum number of dispatchers to 32. Description
- [IPFIX/Netflow] Added the ability to change IPFIX/Netflow parameters without restarting fastDPI using the
ipfix_reservedparameter. Description - [FastRadius] It is now possible to set both
bind_ipv6_addressandbind_ipv6_subnet. If the Framed-IPv6-Prefix has a /128 mask, it is not checked against thebind_ipv6_subnetrestriction. Description - CLI command
dev infonow includes the name of the LAG that the port belongs to. Description - [PCRF][PPP][Framed-pool] Added: DHCP option
Client-Idnow includestunnel-IPas part of the subscriber ID. For more details, see sections IPv4 Pools Support and IPv6 pools support - [IPFIX] Message aggregation added for IPFIX streams: FullFlow/DNS/META/NAT
- [IPFIX] Added parameter
ipfix_mtu_limitto restrict maximum message size for IPFIX UDP packets. Description: ClickStream export Setup, Configuring Full NetFlow Export in IPFIX Format - [IPFIX DNS] New elements added to IPFIX DNS: 224 (ipTotalLength) and 43823:3206 (DNS transaction id). Description
- [VRRP] Fixed proper handling of the
vrrp_enableoption change - [BRAS][PPP] PPP session key is now compound:
l2subs_id+tunnel-IP. For PPPoE sessions, tunnel IP = 0. CLI commands that usesubs_idas a key (subs prop show,l2tp show session,l2tp term, etc.) may now return multiple entries with the samel2subs_id. Description - [DPI] Added cloud protocols with identifiers 55296..58367
- [IPFIX] Fixed IPFIX exporter reinitialization bugs
- [BRAS][subs_grooming] Fixed potential crash due to race condition during fastDPI shutdown
- [CLI] Added commands to display mempool properties and statistics
hal mempool props hal mempool statDPDK must be built with statistics collection enabled to display mempool stats
- [BRAS][DHCP] Fixed crash when parsing Framed-Pool Renew response if it contains no DHCP options
- [PCRF][Acct] Fixed: Interim-Update sending is now disabled when
Acct-Interim-Interval = 0is explicitly set in the RADIUS response. For more details, see sections acct-interim-interval, PPPoE Radius Access-Request - [VASE_CLI] Created a unified CLI for managing DPI, BRAS, DHCP (KEA), ROUTER (BIRD) with support for authorization and command logging via TACACS (VEOS 8.x required). Description
- [SNMP] Created a module for monitoring system components via SNMP
- [DPI] Added DOQ 49318 protocol (DNS-over-QUIC)
- [Router] Announcing subscriber white addresses for 1:1 NAT individually and after authentication. Description
- [PCRF] Added support for service 19 "DNS spoofing", profile required. Description
- [DPDK] Removed dedicated mempools. The fastdpi.conf option
dpdk_emit_mempool_sizeis deprecated and no longer used. - [VLAN-Rule] Moved vlan group data from UDR to SDR. Global rules for vlan drop/pass/hide/permit set by the previous CLI command
vlan groupwere converted and moved from UDR to SDR, with removal from UDR. Description - Up to version 14, only one built-in database UDR (User Data Repository) is used, intended for permanent storage of data about services, policings, and other FastDPI settings.
Starting from Version 14, UDR is split into UDR and SDR. The split occurs automatically during version update.
SDR (System Data Repository) is intended for storing FastDPI settings not related to subscribers. It can be considered that SDR is an extension of fastdpi.conf. No special activation of SDR is required — the necessary .mdb files are created automatically when the corresponding mode is enabled in fastdpi.conf. - [VLAN] VLAN rules — added CLI commands. Description
- [IPv6] Added direction detection in combined traffic (IN+OUT on one port) based on the local flag for IP addresses. Enabled via
combined_io_direction_modeoption - [BRAS] Fixed compatibility with the old format of service 18, where there were fewer protocols and both fields in the profile needed to be filled
- [DPI] Lowered detection priority for
telegram_tls - [DPI] Improved detection of
WECHATandWECHAT_CALL - [BRAS][Framed-Route] Fixed: possible crash when freeing memory
- [BRAS] Refactored PCRF connectivity: in the new implementation, all connections are equal; an error on any triggers reconnection of all connections and a switch to another PCRF. Added CLI commands:
pcrf connect show— show current status and accumulated statistics for PCRF connections.- Force connection to the specified PCRF
pcrf connect switch [<pcrf_index>], where<pcrf_indxed>is the index of the connection line in theauth_serverparameter. If<pcrf_indxed>is not specified — defaults to 0.
Description
- [IPFIX DNS] Added the ability to send DNS MX responses via IPFIX. Enabled by setting bit 3 (4) of the
ajb_save_dnsparameter. Description - [DPI] Added FakeTLS protocol (49319) with validation
- [BRAS][DHCP] Changed: sliding window algorithm for rate limit
- [BRAS] Fixed: time comparison error when loading ip_prop from UDR
- [VLAN-Rule] Added support for 'any' instead of '*' when describing VLAN range. Description
- [DPI][LOG] Messages about insufficient SSL parsers are written to the slave log not for every event, but at a frequency of 1/50000.
- [DPI] Added protocols ZALO_CALL(49320) and VK_CALL(49321)
- [DPI] Fixed blocking in hard mode for SSL
- [Acct] Added attribute
VASExperts-Service-Type. Radius acct start/interim/stop sends the authorization type in theVASExperts-Service-Typeattribute. Description - [CLI] Added:
stat flow ip6command to display IPv6 flow statistics. Description - [CLI] Added:
stat flow ip4command to display IPv4 flow statistics. Analogous to the output infastdpi_stat.log. Description - [IPFIX] Fixed ExportTime formation error in IPFIX Fullflow
- [CLI] Added
stat netflowcommand. Displays general statistics for Netflow/IPFIX (same as infastdpi_stat.logunder the "Statistics on NFLW_export" section). Description - [DNS] Added support for substitution/blocking/dropping of DNS requests A, AAAA, MX, HTTPS. Description
- [CLI] Added
stat firewallcommand. Description - [DPI] Added BIGO_CDN protocol (49324)
- [DPI] Added UDP support for BIGOTV
- [PCRF][L2TP] Fixed: NAS attributes for L2TP during authorization
- [BRAS][L2TP] Fixed: data race when closing sessions
- [DPDK] Removed deprecated rx channels settings and related checks
- [IPFIX] Added configurable sending of drop octets/packets counters when generating IPFIX fullflow. Description
- [PCAP] Added capability to save traffic of a specified vlan using the
ajb_save_vlanparameter. Description - [DPIUTILS] Updated checknat utility. Description
- [DPIUTILS] Updated dns2dic utility with domain blocking support. Description
- [BRAS][L2TP] Fixed: data race during tunnel creation
- [Router] Fixed: interception and diversion of IPv6 packets to tap interfaces. Link-local addresses were not diverted to tap, even if explicitly specified in the
router.subnet6settings. - [BRAS][L2TP] Fixed: length field in L2TP header for data packets. According to RFC, the len field in L2TP header is optional for data packets. Some L2TP client implementations do not understand data packets with the len field in the L2TP header. This fix adjusts FastDPI's behavior: if data packets from the subscriber arrive without the len field, then SSG will also send data packets without this field. If data packets from the subscriber contain the len field, SSG will include it as well.
- [BRAS] Fixed: sending commands from the
pending_queue. In some cases (e.g., during state transitions of the pcrf monitorinitial → connected), sending commands from thepending_queuewas not triggered, which caused commands to "hang" in the queue indefinitely (until reconnection due to a socket error). - Fixed a recently introduced error (affecting betas 4.6 and 4.7) in the session lifecycle that leads to resource exhaustion over time; an operational update from these versions (or rollback) is recommended.
Changes in version 14.1
DPI
- [DPI][ajb_save_vlan] Fixed an error when the engine operates in read-only mode
- [DPDK][tap_device] Fixed: setting the tx queue length using the
dpdk_tx_queue_sizeoption. Previously, the TAP device tx queue length was always set to 256, which caused VMware VMXNET3 Ethernet Controller to report: ETHDEV: Invalid value for nb_tx_desc(=256), should be: <= 4096, >= 512, and a product of 1 - [LAG] Fixed: added load balancing for pass packets
- [DPI][ip_node stg] Added bucket occupancy statistics. The new CLI command
stat storage ip4 detaildisplays bucket fill statistics in IPv4 node storage - [DPI] Added validation for the MULTIPROXY_STRONG protocol
- [DPI] Improved scalability on 128-core systems
- [DPI][log] Improved the logging subsystem in cases of log file overflow
- [DPI][tethering] Added tethering detection. The parameter
tethering_ttl_allowed = 128:64[hot] defines the list of allowed TTL values for subscriber traffic that are not considered tethering. Values are separated by ':'. Up to 256 values (0–255) are supported. Description
BNG
- [BNG][framed-route] Fixed: Framed-Route handling when the subscriber login changes. Previously, Framed-Route subnets remained bound to the old login, and all services and policing for these subnets were taken from the old login
- [BNG] Added the
bras_disable_l3_authoption — explicit prohibition of L3 auth in L2 BNG mode for all subscribers. For example, only DHCP authorization will work for subscribers with the AS local meta. Default value:off(L3 auth allowed)bras_disable_l3_auth=off. This option is meaningful only ifenable_auth=1. The option is incompatible withbras_dhcp_auth_mix=0: ifbras_dhcp_auth_mix=0is set,bras_disable_l3_authis assumed to beoff(L3 auth allowed), and a warning is logged to the alert log - [BNG] Added a new subscriber flag — prohibit L3 auth for a specific subscriber. This flag can only be set or cleared via CLI: a new parameter
disable_l3_auth=[1:0]was added to thesubs prop setcommand (1— disable L3 auth,0— allow). By default, L3 auth is allowed - [BNG][srcIP spoofing] Added filtering by source AS flags on the subs→inet path before packet processing to block outbound operator-side DDOS with IP spoofing.
Added a new fastdpi.conf optionip_filter_source_as_flags(hot) — subs traffic AS filtering. Bitmask of AS flags for source IP on the subs side.
Only packets whose source IP AS contains at least one of the specified flags are allowed; otherwise, the packet is dropped. AS flag values (bitmask):- 0 - filtering disabled (default) —
ip_filter_source_as_flags=0x0 - 0x0100 - pass
- 0x0200 - local
- 0x0400 - peer
- 0x0800 - term
- 0x1000 - mark1
- 0x2000 - mark2
- 0x4000 - mark3
- [BNG][PPP] Added database session utilization statistics to the
ppp show statcommand - [BNG][PCEF][Policing] Added configuration of global policing from parameters passed in the
VasExperts-Policing-Profileattribute with theBR##prefix - [BNG][PCEF][Services] Added configuration of a personal (
noname) user service profile from parameters passed in theVasExperts-Service-Profileattribute with theBP##prefix - [BNG][PCEF][rating-group] New options (cold, fastDPI restart required):
rating_group_count— number of rating groups,0— RG disabled. Default value:0rating_group_max_subs— maximum number of subscribers with RG. Default value:0(RG disabled)
RG storage is initialized only if billing statistics are enabled. Memory calculation for RG statistics storage: counter size per RG = 32 bytes. Total required memory:32 * rating_group_count * rating_group_max_subs * num_thread
Example: for 10k subscribers, 256 RGs, and 8 processing threads, 625M of memory is required:
rating_group_count = 256 rating_group_max_subs = 10000 num_thread = 8 memory_required = 32 * 256 * 10000 * 8 = 625M
- [BNG][PCEF][rating-group][RADIUS Accounting] Output of RG statistics in RADIUS Accounting. RG statistics are sent in separate Interim-Update packets. Only non-zero RGs are transmitted. Due to the 4096-byte RADIUS packet size limit, RG data may be split into multiple Interim-Update packets.
To distinguish Interim-Update packets containing RG data, a new VSAVasExperts-Acct-Type(id=28, vendor 43823, integer) is used with the following values:0— standard Interim Update Accounting1— RG data
Each rating group and its counters are transmitted in a *single* VSA containing the following attributes:VasExperts-Acct-Rating-GroupVasExperts-Acct-Input-Octets-64VasExperts-Acct-Output-Octets-64VasExperts-Acct-Input-Packets-64VasExperts-Acct-Output-Packets-64
Packet and byte counters are output according to theacct_swap_diroption (as in Accounting).
RG transmission specifics:- RGs are optional and may be absent for a subscriber; in this case, no RG accounting is sent
- if the RADIUS server does not acknowledge receipt of an RG packet, it is not retransmitted — fresh data will be sent in the next Interim-Update
- if a subscriber has RG statistics, current RG data is sent in Interim-Update packets before Acct-Stop at session termination
- [BNG][PCEF][rating-group][CLI] Added the
subs traffic statCLI command. For a specified subscriber, the command displays billing statistics and rating group statistics, if enabled - [BNG][PCEF][rating-group][RADIUS Accept] Added assignment of an RG service during authorization. RG statistics accumulation can be enabled only if service 9 (billing statistics) is enabled for the subscriber. RG is assigned at authorization by specifying a special service 9 profile named "RG":
VasExperts-Service-Profile :="9:RG"
If service 9 is disabled, RG accumulation is also disabled.
Examples:
# service 9 enabled, RG disabled. Standard RADIUS Accounting is sent. VasExperts-Enable-Service :="9:on"
# service 9 enabled, RG enabled. RG data is sent in RADIUS Accounting. VasExperts-Service-Profile :="9:RG"
# service 9 disabled, RG disabled. Neither standard RADIUS Accounting nor RG is sent. VasExperts-Enable-Service :="9:off"
Was this information helpful?