Forum Replies Created
-
AuthorPosts
-
zzz
Participanta side note:
To see non-unicode characters correctly. you might need to set
LC_ALL=
to your language encoding beforehand.zzz
ParticipantI am afraid, I am not thinking straight by turning off encryption and configuring on wine, due to limited connectivity, though the vlans are strictly isolated and secured enough, tough I do feel that leaving PKI dependency while encryption is disabled is not reasonable.
Please see my other new thread, compared to that, I think this issue affects less people.zzz
ParticipantProvided that you have configured correctly, many public Email service provider deploy extra constraint or authentication measurement on SMTP to fight spam. Maybe try other Email provider better smaller, less known ones.
Best with private or internal SMTP.zzz
Participant– Install wine-staging,
– Installdotnet core for window x64
into wine prefix like on windows
– Run wine ScadaAdmin.exezzz
ParticipantCould you define the tricky
tricky(R)
?
My project this time is an extension of an existing project, otherwise I wouldn’t get into OPC UA I guess. I think it’s better I don’t fiddle with the KepwareEx service, since the other client software that KepwareEx is installed for seems not so robust. I don’t want to break it. And I have just learn this much about OPC UA.
I’d rather try my luck with dotnet. I believe my previous attempts on formula in RS5 is more twisted :-D.zzz
ParticipantThat PR works, its just unclear to me if skipping cert check simply like that is consistent enough to not leave bugs like uninitialized sth. … since I only tested it on ScadaAdmin+dotnet8+Wine9 which is at most momentary, compared to Communicator.
Anyway at least, if secmode is disabled as none, encryption stuff being left alone, seem logical to me.zzz
ParticipantForgot to tick for notify. 😀
zzz
ParticipantCould you unfold
_SYSTEM_
node inpSpace.OPCServer
and take a screenshot for that ?Anyway, this is just for configuration convenience, shouldn’t affect the operation. Just fold the _SYSTEM_ node in RS6 and use nodes on root to add property.
zzz
ParticipantAlso on the TagName thing, for the first time, I need to join two OPCUA string values together. I am not sure if formula like below will be suffice.
Data Len: '30' Data Type: 'Ascii Str' TagCode: '' TagName: '' Formula Enabled: 'true' Formula: Val('TagCode1')+Val('TagCode2')
TagCode1, TagCode2 are not referenced anywhere in Channels, only configured in ScadaComm
OPC UA Properties
.zzz
ParticipantTried to ignore
Success
error, nothing happens afterwards, no error, no nothing. Its not a Success as claimed. 🙁zzz
ParticipantSince there doesn’t seem to be any mention of the session id, it may be worth mentioning that the password encryption is initialized with the sess_id.
Here is how I did it in my current client.
def Encrypt(s: str, sec_key, sess_id) -> str: ct = EncryptBytes(s.encode("UTF8"), sec_key, sess_id) return binascii.b2a_hex(ct).decode("ascii").upper() def EncryptBytes(bstr:bytes, secretKey, sess_id): # generate iv from sess_id iv = bytearray(IVSize) sessBuf = struct.pack("q",sess_id) sessBufLen = len(sessBuf) for i in range(0, IVSize): iv[i] = sessBuf[i % sessBufLen] #print("gen_iv=") #hexdump(iv) # encrypt byets padder = padding.PKCS7(128).padder() cipher = Cipher(algorithms.AES(secretKey), modes.CBC(iv)) encr = cipher.encryptor() bstr = padder.update(bstr) + padder.finalize() ct = encr.update(bstr) + encr.finalize() return ct
zzz
ParticipantThe
System.Security.Cryptography.CryptographicException: Success
behavior is not affected by setting
Security Mode
= None
Security Policy
= Nonezzz
ParticipantDotNet version in Wine
Host:
Version: 8.0.2
Architecture: x64
Commit: 1381d5ebd2
RID: win-x64zzz
ParticipantI have InfluxDB2 and RapidScada6.0 on a remote box setup a year ago.
I was thinking about updating influxdb to the latest and just found the change in v3. I guess we need to use InfluxQL more and diminish the use of Flux for query. But it was treated like a 2nd class citizen in v2.zzz
ParticipantOK, there are some path issue when running with
wine dotnet ScadaAdmin.dll
.
No language file is loaded, on both wine and windows. I guess some path func changed behaviour.
(Also clicking on any menu will lead to crash, which only happens on wine).
On Windows if I click Tools>Language, an error pops up:[Error Caption] [LoadCultureError]: Can not find a part of the path c:\program files\dotnet\lang
But
publish ... --os win
does create an exe that I can run under wine. With theScadaAdmin.exe
loader running from the same path setup, everything works ok on both Linux/wine and Windows.With mono I can’t execute any linux native loader for dotnet assembly, e.g.
ScadaAdmin
ScadaServer
. I guess it’s not possible to work around this without issue (considering the above path issue without loader).This is not a bug report but more of an observation though.
-
This reply was modified 1 year, 7 months ago by
zzz.
-
This reply was modified 1 year, 7 months ago by
-
AuthorPosts