Commit Graph

370 Commits (30f10f6c6d65df334b2fb93bb5a9845bf8ef732c)

Author SHA1 Message Date
Michael Zillgith 9e6e3487da - removed compiler warnings 4 years ago
Michael Zillgith abd26eedca - IED client: fixed memory leak when reusing IedConnection 4 years ago
Michael Zillgith 3532623319 - IED server: Goose publisher - set NdsCom when data set not configured or GoEna fails because of large data set 5 years ago
Michael Zillgith d546ebac6f - restrict maximum recursion depth in BerDecoder_decodeLength when indefinite length encoding is used to avoid stack overflow when receiving malformed messages 5 years ago
Michael Zillgith ed810fde0f - MmsValue_equalTypes: check parameters for NULL to avoid dereferencing NULL pointer 5 years ago
Michael Zillgith e04e424b02 - fixed oss-fuzz issues 31399, 31340, 31341, 31344, 31346 5 years ago
Michael Zillgith 9e27ed5a77 - MMS server: add compile time configuration options to enable/disable fileDelete and fileRename services (fileRename is now disabled by default) 5 years ago
Michael Zillgith 4dc971ba56 - MMS server: better data model lock handling for performance improvements 5 years ago
Michael Zillgith 4f0667b597 - removed some warnings and code cleanup 5 years ago
Michael Zillgith de2ce1d008 - removed some compiler warnings (when compiling with clang) 5 years ago
Michael Zillgith db1671587e - IED server: fixed bug - logs (journals) are added to all logical devices instead of just the parents 5 years ago
Michael Zillgith 74a227bdf2 - IED server: WriteAccessHandler can tell the stack not to update the
value when returning DATA_ACCESS_ERROR_SUCCESS_NO_UPDATE
5 years ago
Michael Zillgith 981c2dd5f3 - fix problem: TLS does not work with HandleSet 5 years ago
Michael Zillgith e59aa5521e - fixed memory leak in ISO server 5 years ago
Michael Zillgith a165d1698d - MMS: changed handling of variable sized bit strings (now also accepts bit strings of larger size, ignoring the bits that exceed the specified size) 5 years ago
Michael Zillgith 00a821e67e Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 5 years ago
Michael Zillgith 543d7802f5 - MMS client: add handling of initiate error PDU 5 years ago
Michael Zillgith b27e363372 - IED server: add support for correct CBB handling (required for test case sAss4) and initiate error PDU 5 years ago
Michael Zillgith 42802db6f1 - added -Wextra to Makefile and changed code to avoid resulting warnings 5 years ago
Michael Zillgith 1f56110d32 - removed some compiler warnings 5 years ago
Michael Zillgith 7ee278cead - IEC 61850 client: using poll/select to reduce CPU consumption 5 years ago
Michael Zillgith 42013e1550 - MMS client: fixed bug in TLS connection handling 5 years ago
Michael Zillgith e4b2849894 - fixed problems in handling array elements and array element components 5 years ago
Michael Zillgith 6a3c66eafa - fixed bug in MmsConnection_readMultipleVariables: send invaid messsage and memory access errors when too many items are passed to the function exhausting MMS payload size 5 years ago
Michael Zillgith 504c260667 - fixed program crash when normal mode parameers are missing in presentation layer (#252) 5 years ago
Michael Zillgith 88acbd49c4 - COTP: fixed possible heap buffer overflow when handling message with invalid (zero) value in length field (#250) 5 years ago
Michael Zillgith 24a380c845 - IEC 61850 server: added updating of missing attributes for control
service tracking
5 years ago
Michael Zillgith 4ee5891388 - fixed debug output in iso_server.c 5 years ago
Michael Zillgith 4a3702112e - MMS client: fixed potential problem in multi-variable write response parsing 5 years ago
Michael Zillgith de6886c6f3 - MMS: fixed problem in handling of indefinite length encoded BER elements 5 years ago
Michael Zillgith 538b9698bc - COTP: fixed bug in sendBuffer loop 5 years ago
Michael Zillgith c4de14eb45 - MmsValue: fixed unaligned memory access problems for MMS_FLOAT variables 5 years ago
Michael Zillgith 3bf0e9a689 - MMS client: fixed potential problem in handling of next invoke ID 5 years ago
Michael Zillgith 9ca6d696c3 - MMS client: added additional check when parsing read response 5 years ago
Michael Zillgith e1eb09d55b - MmsValue: added NULL checks for all memory allocations
- MmsValue: buffer for float/double data is now part of the MmsValue structure and not allocated separately
5 years ago
Michael Zillgith d55afdfb92 - IEC 61850 server: added support to listen on multiple IP addresses and ports (new function IedServer_addAccessPoint) 5 years ago
Michael Zillgith 94dcbb0119 - removed unused variable 5 years ago
Michael Zillgith b0fbf9f3a3 - IEC 61850 server: fixed - Configuration option CONFIG_MAXIMUM_TCP_CLIENT_CONNECTIONS = -1 doesn't work (#231) 5 years ago
Michael Zillgith 8e95e7dbb8 - MMS: also update bitstring value when source bit string is of smaller size than the bitstring to be updated 5 years ago
Michael Zillgith 73f1a98b4a Merge branch 'v1.4' into v1.5 5 years ago
Michael Zillgith 994eea4b9a - GOOSE subscriber: fixed crash when GOOSE messages misses time stamp 5 years ago
Michael Zillgith cdf371e92e - fixed: MmsValue_printToBuffer fails with empty MMS_OCTET_STRING (#227) 5 years ago
Michael Zillgith 97e65d5743 - fixed problem encoding OID with arc values 0 5 years ago
Michael Zillgith 4871989658 - MMS client: fixed bug in log entry parsing (#224) 5 years ago
Michael Zillgith 95f751ef63 - IEC 61850 server: fixed potential null pointer dereference in multi
thread mode when server is stopped
5 years ago
Michael Zillgith f4957cf62a - IEC 61850 server: wait for background thread termination before data model is released 5 years ago
Michael Zillgith 0d4930ac25 - MMS server: fixed potential crash when get-named-variable-list-attributes response doesn't fit in MMS PDU. Server returns service error in this case 6 years ago
Michael Zillgith bfcb65eabc - add 64 bit integer support to MmsValue_printToBuffer 6 years ago
Michael Zillgith b4b74c69a4 - windows socket layer: fixed bug - cannot reuse handleset 6 years ago
Michael Zillgith 37d43fe8d4 - windows socket layer: fixed bug - cannot reuse handleset 6 years ago
Michael Zillgith d20da7c15d - TLS: fixed memory leak when TLS authentication fails 6 years ago
Michael Zillgith c71015f240 - TLS: fixed memory leak when TLS authentication fails 6 years ago
Michael Zillgith d86055173d - IEC 61850 server: control models - allow delaying select response with check handler (new handler return value CONTROL_WAITING_FOR_SELECT) 6 years ago
Michael Zillgith abcf93416f - added function IedServer_getNumberOfOpenConnections
- IEC 61850/MMS server: refactored connection handling
6 years ago
Michael Zillgith f788256247 - Socket layer: Added function HandleSet_removeSocket
- Socket layer (Linux/BSD): replaced select by poll
6 years ago
Michael Zillgith 8991954e3c - removed header dependencies from API headers 6 years ago
Michael Zillgith 18c2e30f87 - IEC 61850 server: refactored reporting module; unbuffered reports are stored to report buffer and sent by connection handling thread 6 years ago
Michael Zillgith afe9afafc0 - MMS get name list service: fixed wrong return value in case of unknown argument for continueAfter 6 years ago
Michael Zillgith d6bf4047e1 - fixed compilation problem when CONFIG_MMS_THREADLESS_STACK is defined 6 years ago
Michael Zillgith b4c7cefb15 - MMS value parser: added plausibility check for bit-string padding value (#200) 6 years ago
Michael Zillgith 320f41fc1f - check return value of getNumberOfElements in MmsValue_decodeMmsData 6 years ago
Michael Zillgith 23e381fa76 - added additional length checks in MmsValue_decodeMmsData to fix #194 6 years ago
Michael Zillgith 6c53924c05 - added additional length check in BerDecoder_decodeLength and checked return values in callers (fix problem #196) 6 years ago
Michael Zillgith 8c1b75b382 - code cleanup; fixed issues from compiler warnings 6 years ago
Michael Zillgith 5fbb67c44c - some code beautification 6 years ago
Michael Zillgith 6738215c8f
Merge pull request #183 from kiraly533/v1.4
TimeActivatedControl before wait check and fixes for file-upload issues.
6 years ago
Michael Zillgith cee97f7676 MMS server: handle file close with unknown FRSM ID 6 years ago
Király Péter 3b32c14870 - MMS server: in case of file upload timeout the task will end with proper error response. 6 years ago
Király Péter c988b78e5f - MMS server: fixed file upload error with multi-threaded server, added some NULL checks to file-handling. 6 years ago
Király Péter c223b1c2b5 - MMS server: fixed possible crash when client disconnects during file upload 6 years ago
Michael Zillgith 17205ed874 - Client: response timeout for connection setup now configurable (default timeout now 5 s instead of 1 s )
- removed configuration option CONFIG_TCP_READ_TIMEOUT_MS
6 years ago
Michael Zillgith 8bbc905533 - IEC 61850 client: improved error handling and fixed potential memory leak in IedConnection_getDeviceModelFromServer 6 years ago
Michael Zillgith 6e9047916c - fixed bug in BerInteger_setUint16 6 years ago
Michael Zillgith 903abe0b6d - MMS client: fixed problem with obtain file timeout with large files 6 years ago
Michael Zillgith 320f511d33 - IEC 61850 client: Added functions IedConnection_setRequestTimeout and IedConnection_getRequestTimeout to C API and IedConnection.RequestTimeout property to .NET API 6 years ago
Michael Zillgith e7ece50f08 - updated documentation for MMS octet string type (MMS_OCTET_STRING) handling functions 6 years ago
Michael Zillgith cba8bf5714 MMS server: fixed memory access problem when client unexpectedly closed connection during file upload (set-file) 6 years ago
Michael Zillgith cbd0008f48 - IEC 61850 client: fixed - file transfer doesn't release outstanding connection 6 years ago
Michael Zillgith 88849e1663 - added new type PSelector to represent presentation layer selector more flexible 6 years ago
Michael Zillgith 2cf288fbeb Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith 57f6df3c3a - HAL(Socket): Added function Socket_getLocalAddress
- IEC 61850 server: Added function ClientConnection_getLocalAddress
6 years ago
Michael Zillgith 2bfd0fd0ef - GOOSE receiver: add support for operation without Ethernet HAL implementation 6 years ago
Michael Zillgith 965cebbe2d - added export definitions to MmsVariableSpecification functions 6 years ago
Michael Zillgith 84fcfbbd22 - MMS client/server: handle missing invoke ID in reject/error PDUs 6 years ago
Michael Zillgith 4c123c0c3c - MMS server: fixed potential deadlock in multi-thread mode 6 years ago
Michael Zillgith 73417cdbf2 - Added additional check in MmsVariableSpecification_getChildValue 6 years ago
Michael Zillgith 4f59099c59 Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith 0d5fa50947 - MMS client: added missing socket release when connection was not opened 6 years ago
Michael Zillgith 60741394a3 - MMS server: fixed bug in obtain file service (crash when target directory doesn't exist) 6 years ago
Michael Zillgith 8f5b501d75 - removed inline function declarations 6 years ago
Michael Zillgith c2d73c3fe8 - fixed bug parsing OID string with space as separator 6 years ago
Michael Zillgith 7cb69c983a - additionally allow comma and space as separators in ap-titles used in API functions 6 years ago
Michael Zillgith daff495246 - MMS client/server: accept empty bit strings 6 years ago
Michael Zillgith 16c061b4df - MMS server API: removed dependency from internal header file iso_server.h 6 years ago
Michael Zillgith 5a83af9206 - moved mms_server.h back to public API (see github #117) 7 years ago
Michael Zillgith c98a2b0baa - MMS server: fixed connection handling problem in multi-threaded mode 7 years ago
Michael Zillgith 994484d1a6 - MMS server: added semaphore for open connections map to prevent problem in multi-threaded mode 7 years ago
Michael Zillgith 0cddcb7d12 - MMS client: changed signature of MmsConnection_FileReadHandler 7 years ago
Michael Zillgith 8ffbd9f265 - removed function MmsValue_deleteIfNotNull (now MmsValue_delete does check for NULL) 7 years ago
Michael Zillgith 9f8d52005b - MMS client: fixed problem when reusing connection 7 years ago