Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASF crash on UDP malfunctions #186

Closed
JustArchi opened this issue Mar 29, 2016 · 4 comments
Closed

ASF crash on UDP malfunctions #186

JustArchi opened this issue Mar 29, 2016 · 4 comments
Labels
🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. 💢 No solution yet Issues marked with this label indicate that we don't have any idea how to solve this problem yet. ⛔ On hold Issues marked with this label are blocked from being worked on, very often due to third-parties.

Comments

@JustArchi
Copy link
Member

More info: SteamRE/SteamKit#260

@JustArchi JustArchi added 🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. ⛔ On hold Issues marked with this label are blocked from being worked on, very often due to third-parties. labels Mar 29, 2016
@JustArchi
Copy link
Member Author

JustArchi commented Mar 29, 2016

Until it's solved, support for UDP protocol is experimental - https://github.com/JustArchi/ArchiSteamFarm/wiki/Configuration

Which means that I'm not accepting any bug report related to networking when running in UDP mode, especially bugs with stacktrace very similar to the one posted by me above.

29/03/2016 23:36:04 [!] EXCEPTION: UnhandledExceptionHandler() <Main> Unable to decrypt incoming packet
29/03/2016 23:36:06 [!] StackTrace:
   em SteamKit2.NetFilterEncryptionWithHMAC.ProcessIncoming(Byte[] data)
   em SteamKit2.UdpConnection.DispatchMessage()
   em SteamKit2.UdpConnection.ReceiveData(UdpPacket packet)
   em SteamKit2.UdpConnection.ReceivePacket(UdpPacket packet)
   em SteamKit2.UdpConnection.NetLoop()
   em System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   em System.Threading.ThreadHelper.ThreadStart()
29/03/2016 23:36:06 [!] EXCEPTION: UnhandledExceptionHandler() <Main> O comprimento dos dados a desencriptar é inválido (Translation: The length of the data to decrypt is invalid).
29/03/2016 23:36:06 [!] StackTrace:
   em System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
   em System.Security.Cryptography.CryptoStream.FlushFinalBlock()
   em System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
   em System.IO.Stream.Close()
   em System.IO.Stream.Dispose()
   em SteamKit2.CryptoHelper.SymmetricDecrypt(Byte[] input, Byte[] key, Byte[]& iv)
   em SteamKit2.CryptoHelper.SymmetricDecryptHMACIV(Byte[] input, Byte[] key, Byte[] hmacSecret)
   em SteamKit2.NetFilterEncryptionWithHMAC.ProcessIncoming(Byte[] data)

@JustArchi JustArchi added the 💢 No solution yet Issues marked with this label indicate that we don't have any idea how to solve this problem yet. label Jul 31, 2016
@JustArchi JustArchi reopened this Dec 9, 2017
@JustArchi
Copy link
Member Author

This should be fixed by now.

@Luckz
Copy link
Contributor

Luckz commented Feb 8, 2018

https://github.com/JustArchi/ArchiSteamFarm/wiki/Configuration still lists this as a blocker; I understand 612 is waiting for the next .NET Core release

@JustArchi
Copy link
Member Author

Correct, I didn't test this option in long-run yet.

fadillzzz pushed a commit to fadillzzz/ArchiSteamFarm that referenced this issue Apr 11, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jun 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Issues marked with this label indicate unintended program behaviour that needs correction. ✔️ Confirmed Issues marked with this label were acknowledged and confirmed by the developers. 💢 No solution yet Issues marked with this label indicate that we don't have any idea how to solve this problem yet. ⛔ On hold Issues marked with this label are blocked from being worked on, very often due to third-parties.
Projects
None yet
Development

No branches or pull requests

2 participants