Commit graph

  • 6413d71599 Workaround for false positive from clang-tidy (#452) Erik Boasson 2020-03-27 13:51:04 +01:00
  • 1c31fba043 Fix race in deleting lingering writers Erik Boasson 2020-03-27 10:31:42 +01:00
  • d82b7fdd73 Return PRECONDITION_NOT_MET if security not supported Erik Boasson 2020-03-25 14:48:35 +01:00
  • ecbd585f12 Generate header with compile-time features Erik Boasson 2020-03-25 10:39:44 +01:00
  • d4e9300dad Do not silently ignore security QoS settings Erik Boasson 2020-03-23 17:27:29 +01:00
  • 4fe9cf290d Add DDS_HAS_PROPERTY_LIST_QOS feature test macro Erik Boasson 2020-03-23 17:26:18 +01:00
  • 5d53e74029 Fix read/take/return_loan edge cases Erik Boasson 2020-03-24 18:51:29 +01:00
  • d089ce946c Dedup function to create unique topic names in tests Erik Boasson 2020-03-24 18:50:09 +01:00
  • d03587fcea Add identity bob to default test permissions xml Dennis Potman 2020-03-25 08:47:51 +01:00
  • bf23dee70a Fix in access control identity subject compare Dennis Potman 2020-03-24 21:24:16 +01:00
  • cec8aea6c9 Compound literals go out of scope, too Erik Boasson 2020-03-23 08:13:51 +01:00
  • 63f67ae965 Fix IPv6 multicast breakage Erik Boasson 2020-03-20 11:48:13 +01:00
  • 0768ad59ed
    Remove duplicated code in authentication plugin (#442) Dennis Potman 2020-03-20 13:44:27 +01:00
  • 79c086868f Fixed compile errors for targets that do not support IPV6 Thijs Sassen 2020-03-19 09:19:53 +01:00
  • ab5f51eada
    Merge pull request #424 from eboasson/master-to-security eboasson 2020-03-19 17:50:01 +01:00
  • 67c49235db Merge remote-tracking branch 'upstream/master' into master-to-security Erik Boasson 2020-03-19 08:18:48 +01:00
  • f139dbcd5e MS C++ is troubled by C99 compound literals Erik Boasson 2020-03-18 16:29:03 +01:00
  • e1201e678d Minor cleanup of UDP, TCP support code Erik Boasson 2020-03-13 15:14:17 +01:00
  • 0b9ab17018 Do not set DCPSParticipant listener too early Erik Boasson 2020-03-10 15:50:22 +01:00
  • 4df38f5bf9 Move all socket creation stuff to transport code Erik Boasson 2020-03-10 12:59:20 +01:00
  • 59459b9b8b Change PrismTech references to Adlink Erik Boasson 2020-03-10 10:43:57 +01:00
  • 89001a0f6a Remove unused PrismTech/Adlink-specials Erik Boasson 2020-03-10 10:25:51 +01:00
  • 77c3545f5e Move all time support to ddsrt Erik Boasson 2020-03-09 14:33:31 +01:00
  • 1611adc20a Replace T_SECOND etc. by DDS_ equivalents Erik Boasson 2020-03-09 14:13:59 +01:00
  • 763ed67958 Replace T_NEVER by DDS_NEVER, DDS_INFINITY Erik Boasson 2020-03-09 14:02:30 +01:00
  • 39c7997c67 Remove unused dds_sleepuntil Erik Boasson 2020-03-09 14:01:35 +01:00
  • 3ea2cea318
    Code formatting fixes and clean-up authentication plugin (#439) Dennis Potman 2020-03-18 10:01:20 +01:00
  • 0354b42cdc Check for permissions handle by testing for != 0 Erik Boasson 2020-03-14 10:19:55 +01:00
  • 4a6b134126 Fix passing of "relay_only" in check/register reader Erik Boasson 2020-03-14 10:16:25 +01:00
  • 6507859f36 Correct handling of identity certificates with EC key Marcel Jordense 2020-03-13 17:49:59 +01:00
  • f11dd50810 Set volatile secure reader initially out-of-sync Marcel Jordense 2020-03-10 15:54:10 +01:00
  • 269f18e98a Updated version for ros2 package Thijs Sassen 2020-03-11 16:23:06 +01:00
  • 9fe51ef3fb Install security plugins Sid Faber 2020-03-10 13:55:03 +00:00
  • 2c16dfa23e Don't link winsock1 Dan Rose 2020-03-09 13:36:10 -05:00
  • d1ed8df9f3 Create a separate socket for transmitting data Erik Boasson 2020-03-07 17:47:18 +01:00
  • e58f4dc344 Fix macro for checking serdata has get_keyhash Erik Boasson 2020-02-29 17:19:01 +01:00
  • ea91e17a62 Rename nn_keyhash to ddsi_keyhash Erik Boasson 2020-02-29 17:18:47 +01:00
  • 9e673769ce Add "deaf/mute" to pubsub Erik Boasson 2020-02-28 16:50:28 +01:00
  • 0845337f47 Test interface dropping incoming/outgoing packets Erik Boasson 2020-02-28 16:49:09 +01:00
  • 9c272c98b8 decode-trace IPv6 support + some minor fixes in it Erik Boasson 2020-02-28 16:51:13 +01:00
  • 0a9d391c64 Fixed logging in find_own_ip Dennis Potman 2020-03-05 13:13:24 +01:00
  • 8ca1780538 Correct problem with cleanup of security handshake Marcel Jordense 2020-03-04 18:34:30 +01:00
  • b8537c0d09 Add test in secure_communication suite to validate that payload/submsg/rtps-msg does not contain secret when using encryption protection kind Dennis Potman 2020-03-05 11:14:46 +01:00
  • 9cc128c295 Remove setting the tracing verbosity in tests and make configs in security core tests more consistent Dennis Potman 2020-03-05 11:12:40 +01:00
  • e7f5ae354c Fix security handshake test Dennis Potman 2020-03-04 11:14:51 +01:00
  • ea10dbd8e1 Fixes in security core tests: add check that all provided vars are used in variable expansion for test configs, add note on concurrency in authentication wrapper, replace assert by cunit assert in crypto wrapper Dennis Potman 2020-03-03 12:14:39 +01:00
  • 8f464e0c99 Fix writer-reader sync in secure_communication tests Dennis Potman 2020-03-02 14:58:31 +01:00
  • 28aa06915e Fixed bug in handshake happy-day test Dennis Potman 2020-03-02 13:05:05 +01:00
  • 6c9e50cf3a Fix for empty trusted CA dir Dennis Potman 2020-03-02 10:55:19 +01:00
  • 1cf472ea06 Refactored tests for security core: introduced generic wrappers for security plugins and updated plugin loading tests to use these instead of specific wrappers per test. Added test for securing communication ad handshake fail (using different identity CAs) Dennis Potman 2020-02-24 14:08:56 +01:00
  • 323de40cba Moved add_definitions in cmake files to /src/ so that all components and tests use the same definitions when compiling sources Dennis Potman 2020-02-26 10:17:01 +01:00
  • b3c5a8d4fc Refactored expand_vars so that a custom lookup function can be used, which makes it usable for replacing tags by values other than environment variables Dennis Potman 2020-02-24 14:03:25 +01:00
  • e412f6fab2
    Fix issue in dds_create_topic_arbitrary (#422) eboasson 2020-03-05 15:21:02 +01:00
  • 24e42fd658 Fix a few typos in security documentation eboasson 2020-03-03 16:14:33 +01:00
  • 7049469289 Update security documentation Dennis Potman 2020-02-29 11:39:23 +01:00
  • a0b4245600 Fix FSM timeout test race Erik Boasson 2020-03-03 12:41:47 +01:00
  • 1dad535bc0 Correct misplaced lock Marcel Jordense 2020-02-28 18:01:58 +01:00
  • 4960fbf94c Add security authentication handshake and encoding and decoding Marcel Jordense 2019-11-22 17:50:35 +01:00
  • dc57685ac3 Make sure USE_SANITIZER is not empty before foreach Christophe Bedard 2020-02-29 11:53:33 -05:00
  • ca4b5a368f Fix undefined behavior when hash function given null pointer Dan Rose 2020-02-28 15:19:21 -06:00
  • e8b0931798
    Don't turn on sanitizers for debug builds by default (#408) Dan Rose 2020-02-29 01:38:40 -06:00
  • d72ebb0ed3
    Don't pass null to memcmp (#413) Dan Rose 2020-02-29 01:32:02 -06:00
  • 1ee2dfe08f Avoid race causing thread-state pointer aliasing Erik Boasson 2020-02-26 13:26:20 +01:00
  • 6e0faae196 Fix warning -Wimplicit-int-float-conversion Dan Rose 2020-02-18 11:50:09 -06:00
  • 1c77aad39c Fix Clang static analyzer warnings Erik Boasson 2020-02-24 13:13:23 +01:00
  • 0d5a8bf461 Remove built-in crypto plugin unused variables Erik Boasson 2020-02-24 13:12:39 +01:00
  • e0a9beb3cb Fix condition for validating topic access rules Erik Boasson 2020-02-24 13:11:52 +01:00
  • 5aeace912b Converting to timeval/timespec need casts on 32bit Erik Boasson 2020-02-22 10:57:09 +01:00
  • 6dc28db197 Fix warning by cleaning up dds_set_qos_locked_raw Erik Boasson 2020-02-22 10:51:08 +01:00
  • 8bd6f34f67 Renamed unsupp config sections to internal Dennis Potman 2020-02-20 15:02:38 +01:00
  • 754eb4090e Fixed issue that Cyclone does not receive multicast data on Windows when the destination cache of the network stack is in a certain state. The issue is resolved by binding unicast sockets (incoming unicast and all outgoing traffic) to the address of the interface instead of inaddr_any (0.0.0.0). Set the new configuration option internal/BindUnicastToInterfaceAddr to false to get the old behavior. Dennis Potman 2020-02-20 14:53:54 +01:00
  • af3604dea7
    Fix some typos. (#399) ChenYing Kuo 2020-02-19 19:33:39 +08:00
  • 9a0ad5e2f5 ddsperf argument checking improvements Erik Boasson 2020-02-18 10:37:56 +01:00
  • ef047d6bd5 Check all dds_write calls in liveliness tests Erik Boasson 2020-02-18 10:36:00 +01:00
  • b03195ec72
    Merge pull request #395 from eboasson/security eboasson 2020-02-13 13:36:55 +01:00
  • 54fad0d601 Merge remote-tracking branch 'upstream/master' into security Erik Boasson 2020-02-13 13:13:54 +01:00
  • 4ed0128578 Rework security code in proxy participant creation Erik Boasson 2020-02-13 11:54:21 +01:00
  • 62a6004e8a Remove "CM" topic related flags reintroduced by merge Erik Boasson 2020-02-13 11:52:52 +01:00
  • 9b43303d82 Remove unused "kernel sequence numbers" notion Erik Boasson 2020-02-13 11:48:10 +01:00
  • 2cd8909beb Fixed build error on FreeRTOS Thijs Sassen 2020-02-13 08:46:05 +01:00
  • bf3d1bc270 Fix getifaddrs for non-English interface names on Windows Jeroen Koekkoek 2020-02-12 20:15:57 +01:00
  • 0d3ca448ff Liveliness monitoring fixes for security FSM Erik Boasson 2020-02-12 20:15:49 +01:00
  • ad58db0721 Merge branch 'master' into security Erik Boasson 2020-02-12 16:00:57 +01:00
  • 80ed351efd Add declaration prototype line for ddsrt_atomic_ function to fix armhf build warning Erik Boasson 2020-02-12 14:08:17 +01:00
  • 8d6b308199 Add more checks to ddsperf and run on Travis Erik Boasson 2020-02-11 12:50:00 +01:00
  • 701c6f5a5c Retain less data in keep-last WHC in absence of ACKs Erik Boasson 2020-02-11 16:07:54 +01:00
  • 6ed190ce2a Fix leak in converting hostname to IP address Erik Boasson 2020-02-12 11:40:13 +01:00
  • 01f9c0599c Set transport in locator of TCP server sockets Erik Boasson 2020-02-12 10:26:14 +01:00
  • b84eee5abb Fix detecting remote ping/pong writers in ddsperf Erik Boasson 2020-02-11 11:59:26 +01:00
  • ab7c95e02f Clean up sertopic_default definition Erik Boasson 2020-02-04 15:34:34 +01:00
  • ad19f571ae Rename nn_plist, xqos to ddsi_plist, xqos Erik Boasson 2020-02-03 10:35:31 +01:00
  • 551dae69a4 Rename q_globals to ddsi_domaingv Erik Boasson 2020-02-03 10:20:34 +01:00
  • d92d491b83 Update local delivery code for multiple sertopics Erik Boasson 2020-01-30 16:11:14 +01:00
  • 27d7c72626 Relax constraints on topic entities Erik Boasson 2020-01-28 21:29:14 +01:00
  • 08c9db0934 Rework plist/qos printing, diffing and logging Erik Boasson 2020-01-08 12:26:21 +01:00
  • 6bd28fb4b1 Add plist diff and partial fini functions Erik Boasson 2020-01-07 15:59:17 +01:00
  • 2d252ad1f6 Description corrections. Michel 2020-02-10 10:10:42 +01:00
  • d24bf4d27d
    Update authentication plugin with respect to the remote identity handle (#379) MarcelJordense 2020-02-10 13:24:51 +01:00
  • aef4f0a126 Certificate trigger and directory operations Stefan Kimmer 2020-01-24 10:53:18 +01:00
  • 3de040d21a Add support for musl libc Jeroen Koekkoek 2020-02-05 23:23:04 +01:00