|
|
|
#####################################################################
|
|
|
|
# srsEPC configuration file
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
# MME configuration
|
|
|
|
#
|
|
|
|
# mme_code: 8-bit MME code identifies the MME within a group.
|
|
|
|
# mme_group: 16-bit MME group identifier.
|
|
|
|
# tac: 16-bit Tracking Area Code.
|
|
|
|
# mcc: Mobile Country Code
|
|
|
|
# mnc: Mobile Network Code
|
|
|
|
# apn: Set Access Point Name (APN)
|
|
|
|
# mme_bind_addr: IP bind addr to listen for eNB S1-MME connnections
|
|
|
|
# dns_addr: DNS server address for the UEs
|
|
|
|
# encryption_algo: Preferred encryption algorithm for NAS layer
|
|
|
|
# (default: EEA0, support: EEA1, EEA2)
|
|
|
|
# integrity_algo: Preferred integrity protection algorithm for NAS
|
|
|
|
# (default: EIA1, support: EIA1, EIA2 (EIA0 not support)
|
|
|
|
#
|
|
|
|
#####################################################################
|
|
|
|
[mme]
|
|
|
|
mme_code = 0x1a
|
|
|
|
mme_group = 0x0001
|
|
|
|
tac = 0x0007
|
|
|
|
mcc = 001
|
|
|
|
mnc = 01
|
|
|
|
mme_bind_addr = 127.0.1.100
|
|
|
|
apn = srsapn
|
|
|
|
dns_addr = 8.8.8.8
|
|
|
|
encryption_algo = EEA0
|
|
|
|
integrity_algo = EIA1
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
# HSS configuration
|
|
|
|
#
|
|
|
|
# algo: Authentication algorithm (xor/milenage)
|
|
|
|
# db_file: Location of .csv file that stores UEs information.
|
|
|
|
#
|
|
|
|
#####################################################################
|
|
|
|
[hss]
|
|
|
|
auth_algo = xor
|
|
|
|
db_file = user_db.csv
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
# SP-GW configuration
|
|
|
|
#
|
|
|
|
# gtpu_bind_addr: GTP-U bind address.
|
|
|
|
# sgi_if_addr: SGi TUN interface IP address.
|
|
|
|
# sgi_if_name: SGi TUN interface name.
|
|
|
|
#
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
[spgw]
|
|
|
|
gtpu_bind_addr = 127.0.1.100
|
|
|
|
sgi_if_addr = 172.16.0.1
|
|
|
|
sgi_if_name = srs_spgw_sgi
|
|
|
|
|
|
|
|
####################################################################
|
|
|
|
# PCAP configuration
|
|
|
|
#
|
|
|
|
# Packets are captured to file in the compact format decoded by
|
|
|
|
# the Wireshark s1ap dissector and with DLT 150.
|
|
|
|
# To use the dissector, edit the preferences for DLT_USER to
|
|
|
|
# add an entry with DLT=150, Payload Protocol=s1ap.
|
|
|
|
#
|
|
|
|
# enable: Enable or disable the PCAP.
|
|
|
|
# filename: File name where to save the PCAP.
|
|
|
|
#
|
|
|
|
####################################################################
|
|
|
|
[pcap]
|
|
|
|
enable = false
|
|
|
|
filename = /tmp/epc.pcap
|
|
|
|
|
|
|
|
####################################################################
|
|
|
|
# Log configuration
|
|
|
|
#
|
|
|
|
# Log levels can be set for individual layers. "all_level" sets log
|
|
|
|
# level for all layers unless otherwise configured.
|
|
|
|
# Format: e.g. s1ap_level = info
|
|
|
|
#
|
|
|
|
# In the same way, packet hex dumps can be limited for each level.
|
|
|
|
# "all_hex_limit" sets the hex limit for all layers unless otherwise
|
|
|
|
# configured.
|
|
|
|
# Format: e.g. s1ap_hex_limit = 32
|
|
|
|
#
|
|
|
|
# Logging layers: nas, s1ap, mme_gtpc, spgw_gtpc, gtpu, spgw, hss, all
|
|
|
|
# Logging levels: debug, info, warning, error, none
|
|
|
|
#
|
|
|
|
# filename: File path to use for log output. Can be set to stdout
|
|
|
|
# to print logs to standard output
|
|
|
|
#####################################################################
|
|
|
|
[log]
|
|
|
|
all_level = info
|
|
|
|
all_hex_limit = 32
|
|
|
|
filename = /tmp/epc.log
|
|
|
|
|
|
|
|
#nas_level = debug
|
|
|
|
#s1ap_level = debug
|
|
|
|
#mme_gtpc_level = debug
|
|
|
|
#spgw_gtpc_level = debug
|
|
|
|
#gtpu_level = debug
|
|
|
|
#spgw_level = debug
|
|
|
|
#hss_level = debug
|