spider.git
3 years agoimprove node initialisation debugging multiconnect
Dirk Koopman [Sun, 10 May 2020 23:30:28 +0000 (00:30 +0100)]
improve node initialisation debugging

3 years agofix echo typo
Dirk Koopman [Sun, 10 May 2020 22:51:12 +0000 (23:51 +0100)]
fix echo typo

3 years agoInitial user multiple attachments!!
Dirk Koopman [Sun, 10 May 2020 22:42:22 +0000 (23:42 +0100)]
Initial user multiple attachments!!

This will, after 3 (default) bumpoffs with 5 mins (default) it
will allow up $main::allowmultiple (if set > 1) connections with different
ssids BUT THE SAME user record.

Strip out echo and blank cmds from progress debugging unless set/debug 'echo'
is set.

3 years agowwv & wcy progress, random lockouts
Dirk Koopman [Sat, 9 May 2020 21:23:45 +0000 (22:23 +0100)]
wwv & wcy progress, random lockouts

Improve the look of WWV and WCY progress messages.
Stop the random lockouts of connected nodes with ephemeral user
records.

3 years agoadd incoming route/channel for progress dbg
Dirk Koopman [Sat, 9 May 2020 16:45:05 +0000 (17:45 +0100)]
add incoming route/channel for progress dbg

3 years agosquash some warnings
Dirk Koopman [Fri, 8 May 2020 15:26:05 +0000 (16:26 +0100)]
squash some warnings

3 years agotidy up Route, add argument to sh/ver
Dirk Koopman [Fri, 8 May 2020 15:06:53 +0000 (16:06 +0100)]
tidy up Route, add argument to sh/ver

3 years agoremove day/month/year from progress spots
Dirk Koopman [Thu, 7 May 2020 16:31:45 +0000 (17:31 +0100)]
remove day/month/year from progress spots

3 years agoadd reversion statement to Changes
Dirk Koopman [Thu, 7 May 2020 15:46:31 +0000 (16:46 +0100)]
add reversion statement to Changes

3 years agoredo ffff remove on pc92 a
Dirk Koopman [Thu, 7 May 2020 15:41:57 +0000 (16:41 +0100)]
redo ffff remove on pc92 a

3 years agoRevert "add first take on IP address remembering"
Dirk Koopman [Thu, 7 May 2020 15:31:27 +0000 (16:31 +0100)]
Revert "add first take on IP address remembering"

This reverts commit c7a3cfda9336d765d387e9328f817d1f0e5230d1.

3 years agoRevert "new version of ip address storage"
Dirk Koopman [Thu, 7 May 2020 15:12:06 +0000 (16:12 +0100)]
Revert "new version of ip address storage"

This reverts commit f18ba64dd93bbf7c47e6b5143bfc99af817888e8.

3 years agoadd expanded UPGRADE.mojo
Dirk Koopman [Tue, 28 Apr 2020 13:20:31 +0000 (14:20 +0100)]
add expanded UPGRADE.mojo

3 years agonew version of ip address storage
Dirk Koopman [Mon, 27 Apr 2020 23:38:11 +0000 (00:38 +0100)]
new version of ip address storage

3 years agostrip off extra brackets in pc61 ip storage
Dirk Koopman [Mon, 27 Apr 2020 18:47:30 +0000 (19:47 +0100)]
strip off extra brackets in pc61 ip storage

3 years agotry to fix the recursive brackets on PC61 ip
Dirk Koopman [Mon, 27 Apr 2020 18:32:39 +0000 (19:32 +0100)]
try to fix the recursive brackets on PC61 ip

3 years agoadd first take on IP address remembering
Dirk Koopman [Mon, 27 Apr 2020 15:48:08 +0000 (16:48 +0100)]
add first take on IP address remembering

4 years agoadd line more debugging to DXCron::cread
Dirk Koopman [Sun, 26 Apr 2020 23:52:33 +0000 (00:52 +0100)]
add line more debugging to DXCron::cread

4 years agolose some of the annoying uninitialised msgs
Dirk Koopman [Sun, 26 Apr 2020 23:38:48 +0000 (00:38 +0100)]
lose some of the annoying uninitialised msgs

4 years agoBe even more paranoid decoding users
Dirk Koopman [Sun, 26 Apr 2020 13:33:40 +0000 (14:33 +0100)]
Be even more paranoid decoding users

4 years agofix DXUtil::localdata ?perl bug?
Dirk Koopman [Sun, 26 Apr 2020 13:02:48 +0000 (14:02 +0100)]
fix DXUtil::localdata ?perl bug?

4 years agofix localdata for /spider/data only files
Dirk Koopman [Sun, 26 Apr 2020 12:42:03 +0000 (13:42 +0100)]
fix localdata for /spider/data only files

4 years agofix export_users cmd
Dirk Koopman [Sun, 26 Apr 2020 12:31:50 +0000 (13:31 +0100)]
fix export_users cmd

Actually make sure that DXUser::del_file removes all versions
of users.v3 it can find whether in /spider/data and in /spider/local_data.

In the process make sure that the DEFAULT place that "localdata(<file>)
places that <file> is in /spider/local_data.

4 years agoyet another sh/cl change
Dirk Koopman [Sun, 26 Apr 2020 11:24:15 +0000 (12:24 +0100)]
yet another sh/cl change

4 years agoyet another sh/cl
Dirk Koopman [Sun, 26 Apr 2020 11:01:52 +0000 (12:01 +0100)]
yet another sh/cl

4 years agoremove redundant CMD debugging
Dirk Koopman [Sun, 26 Apr 2020 10:47:48 +0000 (11:47 +0100)]
remove redundant CMD debugging

4 years agofix dbg warnings on things like $main::me->run_cmd
Dirk Koopman [Sun, 26 Apr 2020 10:43:43 +0000 (11:43 +0100)]
fix dbg warnings on things like $main::me->run_cmd

4 years agoadd vestigial WWV and WCY 'progress'
Dirk Koopman [Sun, 26 Apr 2020 09:58:23 +0000 (10:58 +0100)]
add vestigial WWV and WCY 'progress'

These are not in their final form. Please don't give me a hard time about
that.

Changed sh/cl message again.

4 years agofix sh/cl at user startup with new arrangements
Dirk Koopman [Sat, 25 Apr 2020 23:01:23 +0000 (00:01 +0100)]
fix sh/cl at user startup with new arrangements

4 years agoremove redundant wpxloc.dat
Dirk Koopman [Sat, 25 Apr 2020 22:50:40 +0000 (23:50 +0100)]
remove redundant wpxloc.dat

4 years agosh/cl and dmesg changes
Dirk Koopman [Sat, 25 Apr 2020 22:33:09 +0000 (23:33 +0100)]
sh/cl and dmesg changes

Add max no of local users seen since node start
Add ability to show last n lines of the debug ring buffer

4 years agofix weird sprintf error in AnnTalk dbging
Dirk Koopman [Fri, 24 Apr 2020 23:54:22 +0000 (00:54 +0100)]
fix weird sprintf error in AnnTalk dbging

Specifically:

Invalid conversion in sprintf: "% -35 " at /spider/perl/DXProtHandle.pm line 2016.

4 years agodo some ring printing if carp et al are called
Dirk Koopman [Fri, 24 Apr 2020 23:47:02 +0000 (00:47 +0100)]
do some ring printing if carp et al are called

4 years agoadd link to show/debug_ring as dmesg
Dirk Koopman [Fri, 24 Apr 2020 19:54:06 +0000 (20:54 +0100)]
add link to show/debug_ring as dmesg

Should be a reasonable synonym for linux people. And it's a lot quicker
to type than show/debug_ring. Which is, admittedly, more descriptive.

4 years agoadd "progress" to pc93 messages
Dirk Koopman [Fri, 24 Apr 2020 12:52:14 +0000 (13:52 +0100)]
add "progress" to pc93 messages

4 years agofix default crontab
Dirk Koopman [Fri, 24 Apr 2020 12:13:45 +0000 (13:13 +0100)]
fix default crontab

4 years agochange spawn_cmd diffms msg to progress
Dirk Koopman [Fri, 24 Apr 2020 11:02:10 +0000 (12:02 +0100)]
change spawn_cmd diffms msg to progress

4 years agochanged the default DXVars.pm.issue debug
Dirk Koopman [Fri, 24 Apr 2020 10:52:56 +0000 (11:52 +0100)]
changed the default DXVars.pm.issue debug

4 years agochange DXCron subprocess stats to 'progress'
Dirk Koopman [Fri, 24 Apr 2020 10:05:50 +0000 (11:05 +0100)]
change DXCron subprocess stats to 'progress'

4 years agoadd arguments to CMD progress debug
Dirk Koopman [Fri, 24 Apr 2020 09:52:22 +0000 (10:52 +0100)]
add arguments to CMD progress debug

4 years agoadd CTY-3008 prefixes
Dirk Koopman [Fri, 24 Apr 2020 09:43:46 +0000 (10:43 +0100)]
add CTY-3008 prefixes

4 years agoadd progress indications
Dirk Koopman [Fri, 24 Apr 2020 09:32:42 +0000 (10:32 +0100)]
add progress indications

set/debug progress (now a default) will show signs of stuff happening
in concentrated form, e.g a new spot or someone using a command. This
is especially useful in 'nolog' (i,e "ring buffer") modes.

Fix grepdbg so that no input line just lists the latest dbg file

4 years agoadd unset/startup to the Changes list
Dirk Koopman [Wed, 22 Apr 2020 23:06:29 +0000 (00:06 +0100)]
add unset/startup to the Changes list

4 years agoFix unset/startup cmd
Dirk Koopman [Wed, 22 Apr 2020 23:03:08 +0000 (00:03 +0100)]
Fix unset/startup cmd

4 years agoadd prefixes CTY-3007
Dirk Koopman [Wed, 22 Apr 2020 20:07:49 +0000 (21:07 +0100)]
add prefixes CTY-3007

4 years agofix modules search path in update_sysop.pl
Dirk Koopman [Wed, 22 Apr 2020 17:43:28 +0000 (18:43 +0100)]
fix modules search path in update_sysop.pl

This means it will work even if not called from /spider/perl.

4 years agoadd Spot.pm with disabled $readback
Dirk Koopman [Tue, 21 Apr 2020 21:26:53 +0000 (22:26 +0100)]
add Spot.pm with disabled $readback

It turns out that using tac to read backwards isn't really worth it
for spot files, but I'm leaving the code there for any future
use cases.

4 years agosimplified the disconnect even more
Dirk Koopman [Tue, 21 Apr 2020 19:13:39 +0000 (20:13 +0100)]
simplified the disconnect even more

And now added some working debugging and put back bye.pl so that
it doesn't call Mojo directly.

Simplified the whole thing. Now let's see whether that has a memory leak

4 years agoRemove wait on drain (which may never happen)
Dirk Koopman [Tue, 21 Apr 2020 18:43:32 +0000 (19:43 +0100)]
Remove wait on drain (which may never happen)

Changed the arrangements sending logout files (what a palaver for
something so "simple"). Basically, if there is nothing to send on
disconnect, the Mojo "drain" signal is never emitted. So it hangs for
ever. But only sometimes (for some reason).

4 years agonote sh/log speedup changes
Dirk Koopman [Mon, 20 Apr 2020 17:57:15 +0000 (18:57 +0100)]
note sh/log speedup changes

4 years agofix sh/log things to allow all search strings
Dirk Koopman [Mon, 20 Apr 2020 13:55:13 +0000 (14:55 +0100)]
fix sh/log things to allow all search strings

Search strings are escaped so can't be regexes (but that could change)

4 years agofix sh/log users as well
Dirk Koopman [Mon, 20 Apr 2020 13:39:39 +0000 (14:39 +0100)]
fix sh/log users as well

4 years agospeed up sh/log et al by using 'tac' if found
Dirk Koopman [Mon, 20 Apr 2020 13:07:34 +0000 (14:07 +0100)]
speed up sh/log et al by using 'tac' if found

4 years agoadd info to Changes and UPGRADE.mojo
Dirk Koopman [Mon, 20 Apr 2020 00:22:27 +0000 (01:22 +0100)]
add info to Changes and UPGRADE.mojo

4 years agoremove any leading ::ffff: on ipv4 addresses newdisc
Dirk Koopman [Sun, 19 Apr 2020 22:44:00 +0000 (23:44 +0100)]
remove any leading ::ffff: on ipv4 addresses

4 years agoforce disconnect on attempt 2
Dirk Koopman [Sun, 19 Apr 2020 20:33:07 +0000 (21:33 +0100)]
force disconnect on attempt 2

4 years agoclean up Msg debugging further
Dirk Koopman [Sun, 19 Apr 2020 20:28:28 +0000 (21:28 +0100)]
clean up Msg debugging further

Also make sure that a FORCE CLOSE situation (which may now never happen)
goes directly to close it.

4 years agoadjust accept debugging a tad
Dirk Koopman [Sun, 19 Apr 2020 20:18:30 +0000 (21:18 +0100)]
adjust accept debugging a tad

4 years agofix hang on unreachable outgoing connects
Dirk Koopman [Sun, 19 Apr 2020 20:09:17 +0000 (21:09 +0100)]
fix hang on unreachable outgoing  connects

4 years agomove ::process things back into persec
Dirk Koopman [Sun, 19 Apr 2020 16:00:54 +0000 (17:00 +0100)]
move ::process things back into persec

4 years agoimprove spawn dbg, move "use Mojolicious"
Dirk Koopman [Sun, 19 Apr 2020 15:12:57 +0000 (16:12 +0100)]
improve spawn dbg, move "use Mojolicious"

We have moved the first use of "use Mojolicious <version>" AFTER the
"use DXDebug" to allow capture of Mojo errors into the debug log.

4 years agonew style disconnect
Dirk Koopman [Sat, 18 Apr 2020 21:07:56 +0000 (22:07 +0100)]
new style disconnect

This attempts to fix the "send the logout file" issue

4 years agofix DXProt.pm
Dirk Koopman [Fri, 17 Apr 2020 14:38:08 +0000 (15:38 +0100)]
fix DXProt.pm

4 years agolog all incoming rcmd regardless of outcome
Dirk Koopman [Fri, 17 Apr 2020 14:03:22 +0000 (15:03 +0100)]
log all incoming rcmd regardless of outcome

4 years agoput dx.pl into an explicit handle sub new-spawn
Dirk Koopman [Fri, 17 Apr 2020 13:45:47 +0000 (14:45 +0100)]
put dx.pl into an explicit handle sub

4 years agotidy debuging in DXCron
Dirk Koopman [Fri, 17 Apr 2020 01:59:49 +0000 (02:59 +0100)]
tidy debuging in DXCron

Change UPGRADE.mojo to reflect no longer using Mojo::IOLoop::ForkCall

4 years agoadd dbg line to dxcron::spawn_cmd
Dirk Koopman [Fri, 17 Apr 2020 01:13:58 +0000 (02:13 +0100)]
add dbg line to dxcron::spawn_cmd

4 years agomake save a non-spawnable cmd
Dirk Koopman [Fri, 17 Apr 2020 00:32:27 +0000 (01:32 +0100)]
make save a non-spawnable cmd

4 years agonospawnify the rest of the known commands
Dirk Koopman [Thu, 16 Apr 2020 23:57:17 +0000 (00:57 +0100)]
nospawnify the rest of the known commands

4 years agonospawnify some of the commands
Dirk Koopman [Thu, 16 Apr 2020 23:29:24 +0000 (00:29 +0100)]
nospawnify some of the commands

4 years agonew version of subprocessing
Dirk Koopman [Thu, 16 Apr 2020 20:41:40 +0000 (21:41 +0100)]
new version of subprocessing

4 years agoregularise sh/dx debugging
Dirk Koopman [Sat, 11 Apr 2020 13:33:27 +0000 (14:33 +0100)]
regularise sh/dx debugging

4 years agoMerge branch 'mojo' of ssh://server/scm/spider into mojo
Dirk Koopman [Mon, 6 Apr 2020 20:56:42 +0000 (21:56 +0100)]
Merge branch 'mojo' of ssh://server/scm/spider into mojo

I wish I knew why I am doing the merge at this time!

4 years agoadd sh/dx origin and ip and regexes
Dirk Koopman [Mon, 6 Apr 2020 20:05:28 +0000 (21:05 +0100)]
add sh/dx origin and ip and regexes

See help show/ddx for more information

A regex for alpha fields for filters, Regexes are indicated by surrounding
the pattern required with { and } e.g {\d+\s*db\s+\d+\s*wpm(?:\s+cq)?} But, in this case,
the 'set/badword' mechanism is probably more robust.

This is an experimental feature that may well not work...

4 years agopart of making rcmd work again for async cmds
Dirk Koopman [Tue, 18 Feb 2020 00:38:09 +0000 (00:38 +0000)]
part of making rcmd work again for async cmds

4 years agotiddle a bit with PC[61]1 spot validation
Dirk Koopman [Sat, 21 Sep 2019 14:39:22 +0000 (15:39 +0100)]
tiddle a bit with PC[61]1 spot validation

with a view toward only allowing known users spots through.

4 years agoimprove is_callsign, is_ipaddr
Dirk Koopman [Sat, 21 Sep 2019 11:58:26 +0000 (12:58 +0100)]
improve is_callsign, is_ipaddr

fix typo in update_sysop.pl and watchdbg

4 years agoadd prefix_data.pl file
Dirk Koopman [Tue, 10 Sep 2019 16:47:01 +0000 (17:47 +0100)]
add prefix_data.pl file

4 years agoadd CTY-2913 prefixes
Dirk Koopman [Tue, 10 Sep 2019 16:05:24 +0000 (17:05 +0100)]
add CTY-2913 prefixes

4 years agoimprove DXQsl handling and fix crashes?
Dirk Koopman [Tue, 10 Sep 2019 16:02:53 +0000 (17:02 +0100)]
improve DXQsl handling and fix crashes?

4 years agoadd a 'not found' message if sh/dx shows nothing
Dirk Koopman [Thu, 29 Aug 2019 10:28:06 +0000 (11:28 +0100)]
add a 'not found' message if sh/dx shows nothing

4 years agoremove empty forward/mail command
Dirk Koopman [Wed, 28 Aug 2019 18:15:34 +0000 (19:15 +0100)]
remove empty forward/mail command

4 years agominor doc change in QSL.pm
Dirk Koopman [Wed, 28 Aug 2019 18:14:29 +0000 (19:14 +0100)]
minor doc change in QSL.pm

5 years agoclose QSL before re-initing it.
Dirk Koopman [Thu, 21 Feb 2019 10:16:50 +0000 (11:16 +0100)]
close QSL before re-initing it.

5 years agorevert export_users to in process action
Dirk Koopman [Sat, 16 Feb 2019 17:00:59 +0000 (17:00 +0000)]
revert export_users to in process action

This potentially does deletes which is a problem (at least for now) on spawned commands

5 years agoAdd a ring buffer to debugging + other things
Dirk Koopman [Sat, 16 Feb 2019 00:29:12 +0000 (00:29 +0000)]
Add a ring buffer to debugging + other things

Add a ring buffer to debugging to allow sysops to reduce the amount of pointless debugging info that is
continually logged. Likely this is something that big sites or RPi users might want.

The biggy is 'chan'. You want this in the ring buffer, but not logging. To do this:

set/debug chan nologchan

You can log the ring contents at any time with: show/debug_ring
NOTE: you should probably have watchdbg running for this to be much use unless you are doing this as a
matter of record.

export_users has been fixed and is forced to be dumped into /spider/local_data as default.

show/debug now sorts its output.

LogDbg has been fixed to log stuff to the correct category.

5 years agoadd cty2802 prefixes + wpxloc.raw
Dirk Koopman [Sat, 14 Jul 2018 09:22:01 +0000 (10:22 +0100)]
add cty2802 prefixes + wpxloc.raw

5 years agosome RBN prerequisite changes
Dirk Koopman [Sat, 16 Jun 2018 11:20:06 +0000 (12:20 +0100)]
some RBN prerequisite changes

5 years agoadd more digi modes and other fixes
Dirk Koopman [Sun, 6 May 2018 15:57:41 +0000 (16:57 +0100)]
add more digi modes and other fixes

In particular make the selection(s) work and not order dependent

6 years agoadd CTY-2802 prefixes
Dirk Koopman [Tue, 23 Jan 2018 15:15:21 +0000 (15:15 +0000)]
add CTY-2802 prefixes

6 years agoremove last is_aranea reference
Dirk Koopman [Wed, 1 Nov 2017 10:27:26 +0000 (10:27 +0000)]
remove last is_aranea reference

6 years agoGet basic web protocol working
Dirk Koopman [Thu, 26 Oct 2017 23:04:24 +0000 (00:04 +0100)]
Get basic web protocol working

6 years agoextend the Web interface protocol further
Dirk Koopman [Thu, 26 Oct 2017 18:02:50 +0000 (19:02 +0100)]
extend the Web interface protocol further

Also clarify things like the ultimate hostname if it is an IP based system.
This means that stuff coming in on the web will be identified by the IP
address that they connect to, rather than the IP address of the channel. Basically
a Web interface is a proxy and therefore the connection object needs the address
of the web server, but things like DX spots need the proxy address.

6 years agoMerge branch 'mojo' of ssh://server/scm/spider into mojo
Dirk Koopman [Thu, 26 Oct 2017 01:21:58 +0000 (02:21 +0100)]
Merge branch 'mojo' of ssh://server/scm/spider into mojo

6 years agoStart (serious) web interface work
Dirk Koopman [Thu, 26 Oct 2017 01:20:53 +0000 (02:20 +0100)]
Start (serious) web interface work

Install and test basic connections from an associated web interface

6 years agoadd dxweb app
Dirk Koopman [Sat, 21 Oct 2017 16:08:45 +0000 (17:08 +0100)]
add dxweb app

6 years agoMake license version 2
Dirk Koopman [Sat, 21 Oct 2017 14:33:24 +0000 (15:33 +0100)]
Make license version 2

6 years agofix up small error on Spot::init
Dirk Koopman [Sat, 26 Aug 2017 10:25:54 +0000 (11:25 +0100)]
fix up small error on Spot::init

This is only relevant for converting old spots into new ones and will only happen once.
It will now convert old <14 field spots to modern 14 field ones (and not only 12 field ones)

6 years agoadd default systemd service (init) file
Dirk Koopman [Fri, 11 Aug 2017 14:02:13 +0000 (15:02 +0100)]
add default systemd service (init) file

6 years agotry harder to get clean disconnects
Dirk Koopman [Thu, 10 Aug 2017 11:13:05 +0000 (12:13 +0100)]
try harder to get clean disconnects