¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: NWSGet fix for HTTPS


 

NWS has reconfigured their web site to redirect all http traffic to
https. Not a bad thing but it does indeed break NWSget. I have a
solution that I have just implemented but it isn't pretty.

I'm running my UI-View/NWSget on a real XP box, no VM. It ran great
until this change by NWS.

What we need is a proxy server that will pass the
, rewrite it to https and actually become the
SSL client for that https connection, then pass the output back to
NWSget via http.

Like this:

http https
nwsget --------------> proxy ---------------->



http https
nwsget <------------- proxy <----------------


There just happens to be an open source "man in the middle" proxy that
does this. "mitmproxy"

I could not get it to run on XP, it died with DLL errors but since I'm
running FreeBSD as my firewall/gateway I put it there. It would have
been great to put it on my XP box but oh well. If you are running XP
in a VM then you might be able to run mitmproxy on the host system and
run it thru there.

So, somewhere, you want to run "mitmdump -R
-p 8080" This listens on port 8080 and forwards all requests to
. So far so good.

Now, on your NWSget, modify your NWSget.ini file change the RIDGE and
RIDGENAT to point to where you are running your mitmdump. In my case
it looks like this now:

RIDGE=

RIDGENAT=

This does just what we want. NWSget sends it's requests to
10.1.1.1:8080 using http, mitmdump "proxies" that to
and it serves as the SSL client for the
https connection. It forwards any data it gets from radar.weather.gov
back to NWSget via an unsecured http connection.

Clear as mud?

Now, Pat Mullet, KC8RTW got mitmproxy to run on windows 7. He sent me
the following information:

After trying to install MITMProxy on my Windows 7 Home Premium 64bit
laptop via the instructions at
and running into
various problems installing yet another version of python and pip.py,
I found a windows installer at GitHub
().

Once I installed it, everytime I opened it, I got the following
error: "The program can't start because vcruntime140.dll is missing
from your computer."

I tried the simple fix of putting a copy of the .dll in the windows
system file, with no result. A Google search of the error message
recommended installing Microsoft's Visual C++ 2015 Redistributable. I
downloaded and installed the 64 bit version, ran MITMproxy and got
the same error. The error recommended reinstalling MITMProxy. I did
so, same result. I noted, however that the program was installed in
the program files (x86) folder. Taking a wild leap, I downloaded and
installed the 32bit version of the Redistributable, then reinstalled
and ran MITMProxy. SUCCESS!

I know have a shell window up running mitmproxy ui reading "Proxy
server listening at Web server listening at

Join [email protected] to automatically receive all group messages.