Commit 0254c4fe authored by Yann Garcia's avatar Yann Garcia
Browse files

Minor bug fixed in geonetworking_layer.cc; Minor issues fixed in etc/AtsDENM/AtsDENM.cfg

parent 27ca7472
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -935,7 +935,7 @@ int geonetworking_layer::setup_secured_mode() {

  params_its::const_iterator it = _params.find(params_its::certificate);
  if (it == _params.cend()) {
    _params.insert(std::pair<std::string, std::string>(std::string("certificate"), "CERT_TS_A_AT"));
    _params.insert(std::pair<std::string, std::string>(params_its::certificate, "CERT_TS_A_AT"));
  }
  it = _params.find(params_its::sec_db_path);
  if (it == _params.cend()) {
+7 −4
Original line number Diff line number Diff line
@@ -8,6 +8,9 @@ LibItsCommon_Pixits.PX_IUT_STATION_ID := 2533729309
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpB
LibItsDenm_Pics.PICS_IS_IUT_SECURED := true


LibItsCommon_Pixits.PX_CERT_FOR_TS := "CERT_TS_A_ATv2"

[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).
@@ -85,7 +88,7 @@ LogEventTypes:= Yes
#     time_offset : Time offset, used to skip packets with time offset < time_offset
#     save_mode   : Set to 1 to save sent packet, 0 otherwise

system.denmPort.params := "DENM(next_header=btpB,header_type=tsb)/BTP(dst_port=2002)/GN(ll_address=4C5E0C14D2EA,latitude=367470519,longitude=-455595023,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=1,sec_db_path=../data/certificates/certificates)/ETH(mac_src=181dea7eb7d3)/PCAP(mac_src=181dea7eb7d3,nic=wlo1,filter=and ether proto 0x8947)"
system.denmPort.params := "DENM(next_header=btpB,header_type=tsb)/BTP(dst_port=2002)/GN(ll_address=4C5E0C14D2EA,latitude=367470519,longitude=-455595023,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=1,certificate=CERT_TS_A_ATv2,sec_db_path=../data/certificates/certificates)/ETH(mac_src=181dea7eb7d3)/PCAP(mac_src=181dea7eb7d3,nic=wlo1,filter=and ether proto 0x8947)"

# DENM UpperTester port based on UDP
system.utPort.params := "UT_DENM/UDP(dst_ip=192.168.1.21,dst_port=12345,src_port=12346)"
@@ -189,9 +192,9 @@ system.utPort.params := "UT_DENM/UDP(dst_ip=192.168.1.21,dst_port=12345,src_port
# Check that IUT does not send a DENM if it is not permitted by signing certificate
#ItsDenm_TestCases.TC_DEN_SSP_BV_01_16
# Check that IUT does not send a DENM if it is not permitted by signing certificate
#ItsDenm_TestCases.TC_DEN_SSP_BV_01_17() runs on ItsDenm system ItsDenmSystem {
#ItsDenm_TestCases.TC_DEN_SSP_BV_01_17
# Check that IUT does not send a DENM if it is not permitted by signing certificate
#ItsDenm_TestCases.TC_DEN_SSP_BV_01_18() runs on ItsDenm system ItsDenmSystem {
#ItsDenm_TestCases.TC_DEN_SSP_BV_01_18
# Check that IUT does not send a DENM if it is not permitted by signing certificate
#ItsDenm_TestCases.TC_DEN_SSP_BV_01_19
# Check that IUT does not send a DENM if it is not permitted by signing certificate
@@ -211,7 +214,7 @@ system.utPort.params := "UT_DENM/UDP(dst_ip=192.168.1.21,dst_port=12345,src_port
# Check that IUT does not send a DENM if it is not permitted by signing certificate
#ItsDenm_TestCases.TC_DEN_SSP_BV_02_03
# Check that IUT does not send a DENM if it is not permitted by signing certificate
#ItsDenm_TestCases.TC_DEN_SSP_BV_02_04() runs on ItsDenm system ItsDenmSystem {
#ItsDenm_TestCases.TC_DEN_SSP_BV_02_04
# Check that receiving ITS-S transmits DENM to application if it concerns an unknown actionId and if it is not a termination DENM
ItsDenm_TestCases.TC_DEN_MSRV_BV_01
# Check that receiving ITS-S transmits DENM to application if it concerns a known actionId