24hr per-IP addr time limit not limiting [fixed in v1.248]
Something has gone wrong with the "24hr per-IP addr time limit" option. As I have a limited bandwidth 4G network subscription, this has been a very good option/tool to reduce to a limit the connections. Also earlier I did have some problems with a issue when someones reached the limit and was kicked off, by refreshing the page, did "erase" the time used and begin again at 0 minutes of use. But now this function did not work at all. Now this message appear in the log for every connections:"TLIMIT exempt local connection from xx.xxx.xxx.xxx " and not the "TLIMIT - IP connecting LIMIT OKAY cur:10 < lim 300 for xxx.xxx.xxx.xxx" as before. This also happens to another Kiwi SDR I have at another QTH.
Levi
Norway
Levi
Norway
Comments
Also, multiple connections are now counted cumulatively towards the limit. So if there is a limit of two minutes in 24 hours, and you have made two simultaneous connections, both of the connections will be kicked after one minute as you have consumed your two minutes of total connect time.
I think there is a problem with v1.248
I updated my main KiWi earlier today and it ran OK.
But now several hours later I can't log into the web interface either as a user or admin.
I have a 30 min inactivity and 120 min IP timeout set.
I could SSH in as root on the local network, but it didn't seem to be able to find some directories.
I tried a restart (cribbed from the other thread) using
"cdp" (cd project)
"mi" (make install)
"ku" (kiwi up)
wait a bit
"ms" (check status)
and it came back up.
Any ideas ?
Regards,
Martin - G8JNJ
Levi
Hi John,
Yes it is vague - sorry about that.
I tired to get a grab of the terminal screen and log whilst running some commands (Unfortunately I'm not a Linux Guru) but for some reason it didn't catch them, by which time the KiWi had rebooted. The only error messages I could remember were several that said something along the lines of "unable to find directory".
It's behaved OK since the rebuild, so I'll just keep my eye on it to see if it lock out again later today when there has been some extended use that may cause the timeout to kick in.
If this happens again, what commands should I use to try and capture suitable diagnostic information ?
Regards,
Martin - G8JNJ
On the remote syslog server something like
"tail -f /var/log/messages | grep -i 'kiwisdr'"
I was going to see if there still syslog servers for Windows kicking about but one I used years ago amusingly called "Kiwi Syslog" seems to be $300 now, PTRG still do one a part of the free package but they do tend to follow up with lots of emails or at least did last time I tried their stuff.
Most if not all Linux distros can have their syslog server edited to accept remote connections so my preference is for $0 and a few lines of code copy-pasted from the internet.
And in the case of user interface problems it's essential to capture the browser's javascript/console log (Mac: Firefox cmd-alt-K, Chrome cmd-alt-J, Safari cmd-alt-C; probably ctrl key instead of cmd on Windows).