Commit 499c72b6 authored by garciay's avatar garciay
Browse files

Security support in the TA

parent 7a69f81b
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@ LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any
# With facility layer
# With facility layer
#LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpA
#LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpA


LibCommon_Time.PX_TAC := 15.0
LibCommon_Time.PX_TAC := 5.0


[LOGGING]
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# In this section you can specify the name of the log file and the classes of events
@@ -96,10 +96,10 @@ LogEventTypes:= Yes
#     save_mode   : 1 to save sent packet, 0 otherwise
#     save_mode   : 1 to save sent packet, 0 otherwise


# Single GeoNetworking component port
# Single GeoNetworking component port
# GN port using NIC
#system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=1,expiry=1000,its_aid=38,secured_mode=1,certificate=ta_cert_nistp256_sha256)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=eth1,file=,filter=and ether proto 0x8947,frame_offset=0,save_mode=1)"
# GN port using PCAP file
# GN port using PCAP file
system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=38,secured_mode=1,certificate=ta_cert_nistp256_sha256,sec_db_path=/home/vagrant/tmp/Yann)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=BABEBABE0002,nic=,file=../../../testdata/test_61_beacon_sec.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=1,expiry=1000,its_aid=38,secured_mode=1,certificate=CERT_TS_A,sec_db_path=/home/vagrant/tmp/Yann)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=BABEBABE0002,nic=,file=../../../testdata/test_61_beacon_sec.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
# GN port using NIC
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,beaconing=1,expiry=500,its_aid=38,secured_mode=1,certificate=CERT_TS_A,sec_db_path=/home/vagrant/tmp/Yann)/ETH(mac_src=4C5E0C14D2EA,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=4C5E0C14D2EA,nic=eth1,file=,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
# Commsignia GN port
# Commsignia GN port
#system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=38,secured_mode=0,certificate=ta_cert_nistp256_sha256)/COMMSIGNIA(mac_src=4C5E0C14D2EA,bc=FFFFFFFFFFFF,eth_type=8947,target_host=10.200.1.101,target_port=7942,sourcePort=7943,its_aid=38,interface_id=2,tx_power=-32)/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192.168.156.4,src_port=12345)/ETH(mac_src=026f8338c1e5,mac_dst=0A0027000011,eth_type=0800)/PCAP(mac_src=0800275c4959,file=../../../testdata/commsignia_61_beacon.pcap,filter=and (udp port 30000 or udp port 7943))"
#system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=38,secured_mode=0,certificate=ta_cert_nistp256_sha256)/COMMSIGNIA(mac_src=4C5E0C14D2EA,bc=FFFFFFFFFFFF,eth_type=8947,target_host=10.200.1.101,target_port=7942,sourcePort=7943,its_aid=38,interface_id=2,tx_power=-32)/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192.168.156.4,src_port=12345)/ETH(mac_src=026f8338c1e5,mac_dst=0A0027000011,eth_type=0800)/PCAP(mac_src=0800275c4959,file=../../../testdata/commsignia_61_beacon.pcap,filter=and (udp port 30000 or udp port 7943))"
# Multiple GeoNetworking component port
# Multiple GeoNetworking component port
@@ -158,7 +158,7 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#TestCodec_GeoNetworking.tc_GeoNet_Port_2          # Use simulator of file to run this test
#TestCodec_GeoNetworking.tc_GeoNet_Port_2          # Use simulator of file to run this test
                                                   # Used to test device_mode=0,beaconing=1,beacon codec
                                                   # Used to test device_mode=0,beaconing=1,beacon codec
                                                   # With startPassBeaconing
                                                   # With startPassBeaconing
#TestCodec_GeoNetworking.tc_GeoNet_Port_3          # Use test beaconing with secured mode set in config file
TestCodec_GeoNetworking.tc_GeoNet_Port_3          # Use test beaconing with secured mode set in config file
                                                   # Used to test device_mode=1,beaconing=1,nic
                                                   # Used to test device_mode=1,beaconing=1,nic
                                                   # Also used to generate secured/unsecured beacons
                                                   # Also used to generate secured/unsecured beacons
#TestCodec_GeoNetworking.tc_GeoNet_Port_4          # Use simulator of file to run this test with secured mode set in config file
#TestCodec_GeoNetworking.tc_GeoNet_Port_4          # Use simulator of file to run this test with secured mode set in config file
@@ -288,7 +288,7 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#TestCodec_SecuredMessages.tc_secured_message_signed_1
#TestCodec_SecuredMessages.tc_secured_message_signed_1
#TestCodec_SecuredMessages.tc_secured_message_signed_2
#TestCodec_SecuredMessages.tc_secured_message_signed_2
# Chain of certificates
# Chain of certificates
TestCodec_ChainOfCertificates.tc_full_check_certificate_1
#TestCodec_ChainOfCertificates.tc_full_check_certificate_1
#TestCodec_ChainOfCertificates.tc_full_check_certificate_2
#TestCodec_ChainOfCertificates.tc_full_check_certificate_2


[MAIN_CONTROLLER]
[MAIN_CONTROLLER]