Commit Graph

370 Commits (30f10f6c6d65df334b2fb93bb5a9845bf8ef732c)

Author SHA1 Message Date
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
Michael Zillgith 0dff4286aa - merged latest changes to the server reporting module from 1.3 branch
- merged with 1.3 branch
7 years ago
Michael Zillgith 0b2d97c738 - COTP: added payload length validation (see github #127) 7 years ago
Michael Zillgith 452abd7dbf - MMS client/server: added support for component alternate access for generic variable read requests 7 years ago
Michael Zillgith 6af7973b09 - IsoClientConnection_associateAsync: added check if socket creation has been successful 7 years ago
Michael Zillgith 3d8ab44a49 - MMS client: improved handling of malformed messages when reading data
- MMS client: improved handling of malformed messages when receiving reports
- MMS client: fixed potential memory leak when receiving malformed messages
7 years ago
Michael Zillgith 1c461009c2 - MMS client/server: fixed potential memory leaks in TLS handling code 7 years ago
Michael Zillgith 87cac8dc00 - code formated 7 years ago
Michael Zillgith 4bd8b40b6c - code formatting 7 years ago
Michael Zillgith bbb56a16a3 - removed some compiler warnings 7 years ago
Michael Zillgith 1d61afaa8b - C library: removed C++ style line comments 7 years ago
Michael Zillgith 5ed474a44a - MMS client: fixed problem with async connect timeout 7 years ago
Michael Zillgith 3e30910319 - IEC 61850 client: added missing async functions for files 7 years ago
Michael Zillgith aca462c761 - removed outcommented code 7 years ago
Michael Zillgith d0f4c06d62 - IEC 61850 client: added functions IedConnection_getLogicalDeviceVariables, IedConnection_getLogicalDeviceDataSets, and IedConnection_getLogicalDeviceDataSetsAsync to address #89 7 years ago
Michael Zillgith a817b3d3c6 - updated data model of server_example_basic_io
- common: MmsVariableSpecification_getChildValue now also accepts "." as separator
7 years ago
Michael Zillgith 861c5b244b - MMS client: fixed bug with async request timeout 7 years ago
Michael Zillgith e90d5d44fa - IEC 61850 client: added async discovery functions 7 years ago
Michael Zillgith 44d8ad8d15 - IEC 61850/MMS client: changed all invokeId parameters in async callbacks to uint32_t 7 years ago
Michael Zillgith ed75aa3f46 - some code formatting 7 years ago
Michael Zillgith 2b7dc5c5fe - added API export/internal decorations
- removed .def files for windows
7 years ago
Michael Zillgith 54d8fb74d7 - IEC 61850 client: added async versions for connect, abort, release, get variable specification, write object 7 years ago
Michael Zillgith a5e15003ce - correcting verions detection for swig (phyton)
- client: adopted TLS code to new async architecture
7 years ago
Michael Zillgith 56d7ee4f0b - IEC 61850/MMS client: Add support for write variable for array element with component
- added lost README file for winpcap
7 years ago
Michael Zillgith 70c1cd691d - MMS client: refactoring for async connect, abort, release 7 years ago
Michael Zillgith 8d45d44cc2 - Socket HAL: added functons for asynchronous (non-blocking) connect 7 years ago
Michael Zillgith 4d32e3c1ae - MMS client: code cleanup for asnyc functions 7 years ago
Michael Zillgith 069646f954 - MMS client: added asynchronous file service functions 7 years ago
Michael Zillgith 7767e282d6 - MMS client: added asynchronous get name list functions 7 years ago
Michael Zillgith fc1d62d1a7 MMS client: added asynchronous read journal service 7 years ago
Michael Zillgith c80a87d5e8 - MMS client: add asynchronous function for MMS identify service 7 years ago
Michael Zillgith 7600c0f3cf - MMS client: add asynchronous function for MMS status request service 7 years ago
Michael Zillgith aa7e89684e - MMS client: add asynchronous function for get variable access attributes service 7 years ago
Michael Zillgith 5692d0246b - MMS client: added asynchronous define named variable list functions 7 years ago
Michael Zillgith 80ce9c8967 - MMS client: added asynchronous read and write functions 7 years ago
Michael Zillgith aa86d3b259 - IEC 61850 server: number of dynamic data sets configurable at runtime 7 years ago
Michael Zillgith a0adcf94e7 - IEC 61850 Server: made number of data set entries configurable at runtime 7 years ago
Michael Zillgith e905bc242b - MMS server: initialize maxConnections in IsoServer 7 years ago
Michael Zillgith 77f97dc006 - replaced strndup 7 years ago
Michael Zillgith 51c29fe9a7 - IEC 61850 server/ MMS server: maximum number of client connections configurable at runtime 7 years ago
Michael Zillgith d108dae115 - MMS server: fixed locking bug in file obtain service 7 years ago
Michael Zillgith 8b957b8f82 - IEC 61850 client: add support for single array element access (with component specification) 7 years ago
Michael Zillgith eef34cf40e - MMS server: add support for array element (index) access with nested component 7 years ago
Michael Zillgith 3f07176dc3 - MMS server: fixed bug in delete variable list service - scope of delete was not considered optional 7 years ago
Michael Zillgith 0b51d6841a - added Socket_activateTcpKeepAlive function 7 years ago
Michael Zillgith 02cda48128 - moved TLS API to platform abstraction layer 7 years ago
Michael Zillgith 71493036dc - IEC 61850 server/MMS server: make dynamic data set service configurable at runtime with IedServerConfig object (new functions IedServerConfig_enableLogService and IedServerConfig_isLogServiceEnabled) 7 years ago
Michael Zillgith 0a3d86601b - IEC 61850 server/MMS server: make dynamic data set service configurable at runtime with IedServerConfig object (new functions IedServerConfig_enableDynamicDataSetService and IedServerConfig_isDynamicDataSetServiceEnabled) 7 years ago
Michael Zillgith 27e883a1bc - MMS server: fixed bug in association service (file rename was not reported as supported service) 7 years ago
Michael Zillgith 143bc977c0 - IEC 61850 server/MMS server: make file service configurable at runtime with IedServerConfig object (new functions IedServerConfig_enableFileService and IedServerConfig_isFileServiceEnabled) 7 years ago
Michael Zillgith ab51835377 - MMS server: fixed wrong preprocessor defines that can cause problems in some configurations (unlimited number of client connections/ multi-threaded server) 7 years ago
Michael Zillgith 4605c60a3b - fixed bug in MmsValue_update 7 years ago
Michael Zillgith 2c9a4bb088 - TLS client: fixed problem with high CPU load 7 years ago
Michael Zillgith 9e15185c74 - ISO connection: fixed race condition that can cause corrupted messages 7 years ago
Michael Zillgith 605913b0c1 - fixed some configuration issues 7 years ago
Michael Zillgith 7b98f368dc - some code reformating 8 years ago
Michael Zillgith 02a330e414 - IEC 61850 server: added memory alignement for buffered reporting 8 years ago
Michael Zillgith d86e9f8b98 - client: fixed bug in parsing initiate response message 8 years ago
Michael Zillgith 49208df7f4 - removed ATTRIBUTE_PACKED 8 years ago
Michael Zillgith 3a2ad2c4ef - refactored TLS API (moved TLSSocket in a separate private header file) 8 years ago
Michael Zillgith d45e729ecf - MMS client/server: added missing length field checks to increase decoder stability 8 years ago
Michael Zillgith 11f0fa9e2a - added cast in MmsValue_update 8 years ago
Michael Zillgith 7e43e265a7 - MMS server: added state mutex for IsoServer 8 years ago
Michael Zillgith 260d97ae23 - MMS client: MmsConnection added mutexes for state variable 8 years ago
Michael Zillgith 5a0315b52b - MMS client: added mutex for state in IsoClientConnection 8 years ago
Michael Zillgith f9030a8b4f - MmsValue_update function now allows adjusting octet-string size of target object 8 years ago
Michael Zillgith 311cd905f1 - MMS client/server: removed mms_indication.h and MmsIndication type 8 years ago
Michael Zillgith 577158ec6e - updated documentation
- tls_server_example uses AcseAuthenticator
- IsoConnectionParameters: remove TLSConfiguration when compiled without TLS support
8 years ago
Michael Zillgith afd374397d - IEC 61850/MMS: allow using default port in non-threaded mode 8 years ago
Michael Zillgith 570ca71570 - IEC 61850/MMS: integrated TLS for MMS client/server 8 years ago
Michael Zillgith 6eddf2fa08 - fixed potential memory alignement problem
(cherry picked from commit f0184fdd4b)
8 years ago
Michael Zillgith f7b04a02ed - MMS client: fixed bug in MmsConnection_connect (COTP payload buffer was not reset in case of an error during connect -> connection failed in case of reuse of MmsConnection object) 8 years ago
Michael Zillgith ba985ec2b0 - MMS client: delete named variable list service supports VMD specific lists 8 years ago
Michael Zillgith c291db5d95 - updated README file
- SV receiver: Added semaphore to make subscriber list thread-safe
8 years ago
Michael Zillgith 5fb8c5b984 - MMS: added more length checks in parsers for file services 8 years ago
Michael Zillgith 02689d1410 - MMS server: more restrictive value type check when handling write access 8 years ago
Michael Zillgith e26ac787d7 - MMS client: file services -fixed encoding problem with long file names 8 years ago
Michael Zillgith d8f964ac7c - MMS server: ACSE authenticator passes application reference (ap-title and ae-qualifier) 8 years ago
Michael Zillgith 53e741852e - example directory cleanup 8 years ago
Michael Zillgith 922dac1a34 - MMS: fixed potential memory leak in asn1 code that can be caused by malformed MMS messages 8 years ago
Michael Zillgith 90d910625b - MMS: asn1 parser - removed debugging code 8 years ago
Michael Zillgith a008275f37 - MMS client: parse reject PDU
- MMS: improved BER decoder stability
8 years ago
Michael Zillgith 5b470f740c - MMS server: MMS read handler sets domain to NULL for VMD scope variable 8 years ago
Michael Zillgith c3043290ac - MMS client: MmsConnection_getVariableAccessAttributes support for VMD specific variables 8 years ago
Michael Zillgith e595cb7b46 - MMS client: improved error handling 8 years ago
Michael Zillgith 17bc388ae5 - updated CHANGELOG for release 1.1.0 8 years ago
Michael Zillgith d0ac21e487 - client/server: added set data set service (MMS write named variable list)
- client/server: improved write access to array elements and sub arrays
8 years ago
Michael Zillgith 325867b5f4 - MMS client: replaced asn1c code in mms_client_initiate.c 8 years ago
Michael Zillgith 311c70ea30 - some code cleanup in mms_client_connection.c 8 years ago
Michael Zillgith b1641b82ff - MMS client/server: extended BER encoder to support MMS PDU sizes with more than 64k 8 years ago
Michael Zillgith 15ec6c7a7c - added additional check to MmsValue_update for structure size mismatch 8 years ago
Michael Zillgith c08fe41cbb - SV publisher: Changed SampledValuesPublisher_create to support setting of Communication parameters at runtime 8 years ago
Michael Zillgith 2a40798f10 - server: added MmsFileAccessHandler for server side monitoring and control of file services
- file services: added support to set filestore basepath at runtime
- added IedConnection_getFileDirectoryEx to better control receiving file directories
8 years ago
Michael Zillgith 3aa01687c5 - MMS client/server: fixed problem with negative frsmId
- some code cleanup
8 years ago
mzillgith 046541700a Merge pull request #6 from cedricboudinet/master
Various patch
9 years ago
Cedric Boudinet 81cf937616 Fixing buffer overflow when printing Mms Array Value to buffer 9 years ago
Michael Zillgith 877d4562e4 - COTP: fixed problem in server side src/dst reference handling 9 years ago
Michael Zillgith dc4090e95d - MMS server API: added documentation for ObtainFile service callbacks 9 years ago
Michael Zillgith 9ad549592d - refactoring names in string_utils.h/.c
- fixed bug in StringUtils_copySubString
9 years ago
Michael Zillgith b8a4e8c7b0 - some fixes 9 years ago
Michael Zillgith 46575aeb68 - implemented setFile service
- prepared for release 1.0.0
9 years ago