Commit Graph

1312 Commits (699d75dcd34c5a6578d4a34b4deff05da1c2e52b)
 

Author SHA1 Message Date
Michael Zillgith 699d75dcd3 - updated required mbedtls version to 2.28.x 3 years ago
Michael Zillgith a657eb7721 - applied coding style 3 years ago
Michael Zillgith c630abb8d1
Merge pull request #415 from mbourhis/add-parameter-for-choosing-MMS-port-in-server-examples
Examples: add command line parameter for choosing the MMS port in som…
3 years ago
Michael Zillgith 19d05f5dc0
Merge pull request #423 from fedefrancescon/fix/iec-62351-messages
Fixing Security events messages to match IEC62351-100-3
3 years ago
Michael Zillgith 6904705083
Merge pull request #422 from fedefrancescon/fix/renegotiation-reset-on-crl-update
CRL checks on socket read/write and ssl cache expire
3 years ago
Michael Zillgith bfd87c703d
Merge pull request #421 from fedepell/tls_reset
tls: add method to reset used CRL (certificate revocation list)
3 years ago
Michael Zillgith 559bc76b34
Merge pull request #420 from fedefrancescon/feature/added-cmake-option
Added few cmake options
3 years ago
Federico Francescon c5979072c9 Added check for changed CRL on socket read/write. Added reset of renegotiation ssl cache on CRL add 3 years ago
Federico Francescon cf02b9fa3a Fixing Security events messages to match IEC62351-100-3 3 years ago
Federico Pellegrin 29a4f498f9 tls: add method to reset used CRL (certificate revocation list)
Add a method to be able to reset the CRL, otherwise any previously
added CRL will stay there until the object is totally destroyed.
This proves to be needed for cases when we need to delete the
CRL (ie. it expired) during the lifetime of the server.
3 years ago
Federico Francescon 28e9e07c7e Added some options to cmake and updated defautls to match base `make` configuration 3 years ago
Michael Zillgith ba18d18c8d - fixed - dynamic model helper functions: Check added to Cancel object for CDC APC 3 years ago
Michael Zillgith ce2ce7e96b
Merge pull request #417 from DavidKorczynski/cifuzz-int
Create cifuzz.yml
3 years ago
Michael Zillgith da088a1938 - replaced all control data access errors with codes allowed in 8-1:2011 table 87 (LIB61850-375) 3 years ago
David Korczynski afc2d1035e Create cifuzz.yml 3 years ago
Michael Zillgith b6cd6b61e0 - IED Server: added function to set time quality for internally updated times (LIB61850-372) 3 years ago
Michael Zillgith 23d71f322d - fixed - servers sends object-access-unsupported on GetAllData when ReadAccessHandler is installed (LIB61850-370) 3 years ago
Michael Zillgith df66698b4d - added TLSConnection object to provide more context in TLS event callback (LIB61850-366) 3 years ago
Michael Zillgith 91b0e6ed67 - fixed - endless loop sending reports when MMS PDU size is too small (LIB61850-365) 3 years ago
Mikael Bourhis 9da09a22a9 Examples: add command line parameter for choosing the MMS port in some server examples
Some 'server' examples already have this capability.
Complete the 'server' example list that support the possibility of using
another MMS port than the default one (port '102').

Signed-off-by: Mikael Bourhis <mikael.bourhis@smile.fr>
3 years ago
Michael Zillgith 98f088a1d3 - removed redundant declarations (LIB61850-359) 3 years ago
Michael Zillgith 4b5db538fd
Merge pull request #411 from fedepell/fix_cert_copy
tls: fix order of operations to copy peer certificate
3 years ago
Michael Zillgith 65318c44b6
Merge pull request #410 from fedepell/crl_update_also_from_file
TLS: update CRL load time also when loading from file
3 years ago
Federico Pellegrin e1e6919411 tls: fix order of operations to copy peer certificate
The memcpy is done before assigning the length, so the length is not
set and is therefore either 0 (so no peer certificate will be available)
or a random number (that can lead to crashes) making the feature not work.

The MR simply copies first the length that will make the memcpy work.
3 years ago
Federico Pellegrin 3f8150e391 TLS: update CRL load time also when loading from file
Similarly as done when loading a CRL directly, this allows to
have the CA chain recalculated for ongoing connections also when
using CRLs from files.
3 years ago
Michael Zillgith d00fb7fffb - removed some VC++ warnings 3 years ago
Michael Zillgith 80f609d5e6 Merge branch 'v1.5_feature_339' into v1.5 3 years ago
Michael Zillgith 10622ba36b - fixed path traversal vulnerability in MMS file services (LIB61850-357) 3 years ago
Michael Zillgith dd3e2a6870 - fixed - create multiple integrity reports in the same interval when integrity timeouts are aligned (LIB61850-323) 3 years ago
Michael Zillgith e29736d732 - IED server: added missing call to getNextRoundedStartTime (LIB61850-323) 3 years ago
Michael Zillgith d34b3f4f70 - fixed - server scrahs when SyncIntegrityReportTimes in active and
IntgPd=0 (LIB61850-355)
3 years ago
Michael Zillgith 021b3100ac - fixed some VC++ compiler warnings 3 years ago
Michael Zillgith 893e298107 - fixed - missing API export declarations for functions IedServerConfig_setSyncIntegrityReportTimes and IedServerConfig_getSyncIntegrityReportTimes (LIB61850-353) 3 years ago
Michael Zillgith 219111eef1 - IED server: fixed - possible deadlock when IedServer_lockDataModel is used from multiple threads (LIB61850-352) 3 years ago
Michael Zillgith 7c06680cba - MMS server: fixed - possible deadlock in obtainFile-service/file upload task (LIB61850-351) 3 years ago
Michael Zillgith a3b04b7bc4 - MMS server: fixed potential null pointer dereference when confirmedServiceResponse for fileOpen is received with invoke-id 0 (LIB61850-348) 3 years ago
Michael Zillgith fa8e3c0798 - TLS: added TLS alert callbacks; support for session resumption with session IDs (LIB61850-339) 3 years ago
Michael Zillgith 15398c9ab5 - MMS_SERVER: fixed bug in getNameList request handling when domain ID is too long (LIB61850-346) 3 years ago
Michael Zillgith 1615c8ea9a - added type checks when using asn1c parsing results for whole MmsPdu (LIB61850-343) 3 years ago
Michael Zillgith aeb8cb6157 - MMS client: added function MmsConnection_sendRawData for test purposes 3 years ago
Michael Zillgith 4fb8113821 - fixed wrong check for empty itemId 3 years ago
Michael Zillgith 30217b41cc - GOOSE subscriber: fixed vulnerabilities related to malformed bit-string, integer, and unsigned values (LIB61850-342) 3 years ago
Michael Zillgith 9424917185 - MMS server: fixed bug in handling of continueAfter parameter of getNameList request (LIB61850-341) 3 years ago
Michael Zillgith 22f6a823ea - changed StringUtils_createStringInBuffer function to consider max buffer size (LIB61850-333) 3 years ago
Michael Zillgith 8addfc2095 - replaced most str(n)cpy/str(n)cat calls (LIB61850-333) 3 years ago
Michael Zillgith 4d951e04c5 - encode boolean true value as 0x01 instead of 0xff to avoid interoperability problems 3 years ago
Michael Zillgith 3fe0effcda Merge branch 'v1.5_develop_323' into v1.5_develop 3 years ago
Michael Zillgith 5b4f6f2fd9 - fixed sscanf format string in config_file_parser.c 3 years ago
Michael Zillgith a4fdf089bb - fixed locking mechanism in logging.c (LIB61850-327) 3 years ago
Michael Zillgith b3868a2f9f - removed some cppcheck warnings 3 years ago