Содержание

SWa Authorization Interface Settings

Section "charon.plugins.eap-diameter.swa"

Parameter Description Value
app_id Application ID swa
realm Serviced realm epc.mncYYY.mccXXX.3gppnetwork.org
host Client hostname epdg.epc.mncYYY.mccXXX.3gppnetwork.org
vendor_id Vendor ID [none][3gpp]
<diameter-aaa-client-name-1> {} AAA Client #1 parameters
<diameter-aaa-client-name-2> {} AAA Client #2 parameters
<diameter-aaa-client-name-n> {} AAA Client #n parameters

Example:

charon {
        	plugins {
                    	eap-diameter {
                                	interface = SWm
                                	swa {
                                           	app_id = swa
                                           	realm = epc.mnc002.mcc250.3gppnetwork.org
                                           	host = epdg.epc.mnc002.mcc250.3gppnetwork.org
                                           	vendor_id = 3gpp
                                           	diameter-aaa-client-name-1 {}
                                           	diameter-aaa-client-name-2 {}
                                           	diameter-aaa-client-name-n {}
                    	                }
                    	}
        	}
}

Section "charon.plugins.eap-diameter.swa.<diameter-aaa-client-name-n>"

Parameter Description Value
local AAA Server address:port AAA.BBB.CCC.DDD:XXXX, [1111.2222.3333.4444.5555.6666.7777.8888]:XXXX
remote AAA Client address:port AAA.BBB.CCC.DDD:XXXX, [1111.2222.3333.4444.5555.6666.7777.8888]:XXXX
proto Transport protocol [sctp][tcp]

Example:

charon {
        	plugins {
                    	eap-diameter {
                                	interface = SWm
                                	swa {
                                           	app_id = swa
                                           	realm = epc.mnc002.mcc250.3gppnetwork.org
                                           	host = epdg.epc.mnc002.mcc250.3gppnetwork.org
                                           	vendor_id = 3gpp
                                           	diameter-aaa-client-1 {
                                                       	local = 192.168.1.1:3868
                                                       	remote = 192.168.2.1:3868
                                                       	proto = sctp
                                           	}
                                           	diameter-aaa-client-2 {
                                                       	local = 192.168.1.1:3869
                                                       	remote = 192.168.2.2:3868
                                                       	proto = tcp
                                           	}
                    	        	}
                    	}
        	}
}