I don't understand it - nor how best to prevent it - but keep an eye out
for it as it happens frequently to "adb" & "stunnel" after Windows update.
Two PC utilities I use every day are "adb" & "stunnel" where frequently
(not always, but often enough to be a pattern) after a Windows update, the arbitrary ports stunnel uses & the static ports for adb are messed up.
I don't use a newsreader, per say... just a bunch of telent scripts... so I have to use stunnel for encryption... and changing the ports "fixes" it.
It's harder to fix it for adb because the ports are the defaults, but I use adb with scripts to mirror a six-inch phone to almost two feet on a screen.
Both seem to act up with odd port-related complaints after Windows update. Just FYI... as I don't know what's really happening so I can't prevent it.
Doesn't stunnel having its on config file were you define the client-
and server-side ports? Or are you using command-line arguments to
specify in/out ports?
If using a config file, you might want to run SysInternals Procmon, or
other file monitor, to see what touches stunnel's config file. The
monitor would have to monitor both before a reboot and afterward if the Windows update needed a reboot.
I've only ADB once (for seeing files on the Android phone on my desktop
PC), so I cannot address how port(s) are assigned to the USB port on the desktop PC that is connected via USB cable to the phone.
The only thing you change in the config is the port ("12345" in this case). After a Windows Update, I have to change it to "something else".
What that "something else" is, doesn't really seem to matter.
So, for example, I changed it to "54321" and then stunnel worked again.
Until the next Windows Update that is.
Thanks. The fact both stunnel & adb act up, coupled with the fact it
happens after Tuesdays, kind of tells me it's Windows Update reserving
ports that are already being reserved but Windows Update doesn't care.
I'd check the rules in Windows Firewall to ensure the prior stunnel
ports (from client, or to server) weren't blocked after the update.
Thanks. The fact both stunnel & adb act up, coupled with the fact it
happens after Tuesdays, kind of tells me it's Windows Update reserving
ports that are already being reserved but Windows Update doesn't care.
Don't use port numbers already assigned by IANA for common usage.
Port 12345 is for TCP/UDP for Warehouse Monitoring System.
You might trying
to bias your port assignments by 60000. That is, port 563 become 60563.
If you have another client using port 563, but to a different server,
use 61563, and so one by 1000 count intervals to keep the traffic using different ports.
Wally J <walterjones@invalid.nospam> wrote:<snip>
I don't understand it - nor how best to prevent it - but keep an eye out
for it as it happens frequently to "adb" & "stunnel" after Windows update. >>
Two PC utilities I use every day are "adb" & "stunnel" where frequently
(not always, but often enough to be a pattern) after a Windows update, the >> arbitrary ports stunnel uses & the static ports for adb are messed up.
I don't use a newsreader, per say... just a bunch of telent scripts... so I >> have to use stunnel for encryption... and changing the ports "fixes" it.
It's harder to fix it for adb because the ports are the defaults, but I use >> adb with scripts to mirror a six-inch phone to almost two feet on a screen. >>
Both seem to act up with odd port-related complaints after Windows update. >> Just FYI... as I don't know what's really happening so I can't prevent it.
Doesn't stunnel having its on config file were you define the client-
and server-side ports?
I specify the ports in my config file, have never
needed to change them, and have never experienced any problems following
a Windows 10 update.
Windows Firewall can be edited via registry edits to allow/block some
port numbers.
That's how installers or programs add rules to Windows
Firewall. Since you're editing a config file, a program using it won't
first get permission from Windows Firewall to allow the connection.
Check if after the update the firewall rules for stunnel have changed,
or aren't even defined.
John Hall <john_nospam@jhall.co.uk> wrote
I specify the ports in my config file, have never
needed to change them, and have never experienced any problems following
a Windows 10 update.
Thanks for confirming your stunnel.conf doesn't conflict with Windows
Update (even as the pattern for mine has been so for quite a while now).
The issue depends on the ports used, particularly those that Windows Update >reserves, right?
What ports do you use in your stunnel.conf?
I'll try those next.
Thanks in advance!
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 07:13:08 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,105 |