]> dxcluster.org Git - spider.git/log
spider.git
4 years agocorrect users conversion program name
Dirk Koopman [Wed, 20 May 2020 12:30:07 +0000 (13:30 +0100)]
correct users conversion program name

4 years agostrip out user conversion into convert-v3-to-v4.pl
Dirk Koopman [Wed, 20 May 2020 12:18:03 +0000 (13:18 +0100)]
strip out user conversion into convert-v3-to-v4.pl

4 years agoadd branch to sh/ver, rm redundant module
Dirk Koopman [Tue, 19 May 2020 15:55:03 +0000 (16:55 +0100)]
add branch to sh/ver, rm redundant module

4 years agoFix all the DXUser API changes to use JSON
Dirk Koopman [Tue, 19 May 2020 15:07:12 +0000 (16:07 +0100)]
Fix all the DXUser API changes to use JSON

4 years agonew style DXUsers memory layout
Dirk Koopman [Mon, 18 May 2020 22:44:05 +0000 (23:44 +0100)]
new style DXUsers memory layout

This allows for the unused user records to stay out of RAM until
"get"ed (or got in English). New get calls that allow for listing
to be done with auto-vivifying user records in the main hash.

Also partial lists can be obtained with get_some_calls(qr/.../).

4 years agochange system crontab to spawn export_users
Dirk Koopman [Fri, 15 May 2020 23:31:38 +0000 (00:31 +0100)]
change system crontab to spawn export_users

4 years agofix export_user cmd for now
Dirk Koopman [Fri, 15 May 2020 23:24:41 +0000 (00:24 +0100)]
fix export_user cmd for now

4 years agoWIP DXUser no storable, no db_file
Dirk Koopman [Fri, 15 May 2020 23:09:19 +0000 (00:09 +0100)]
WIP DXUser no storable, no db_file

4 years agoMerge branch 'newusers' of ssh://server/scm/spider into newusers
Dirk Koopman [Fri, 15 May 2020 15:58:36 +0000 (16:58 +0100)]
Merge branch 'newusers' of ssh://server/scm/spider into newusers

4 years agoNow add files that the previous commit refered to
Dirk Koopman [Fri, 15 May 2020 15:56:32 +0000 (16:56 +0100)]
Now add files that the previous commit refered to

4 years agovarious (hopeful) stability changes
Dirk Koopman [Fri, 15 May 2020 15:52:03 +0000 (16:52 +0100)]
various (hopeful) stability changes

1. Remove Storable from subprocessing, introduce DXSubcommand as
   a light shim over Mojo::IOLoop::Subprocess.
2. Try to prevent user->put when in a spawned process. Which will
   likely need more thinking about and more work.
3. Make it clearer where the spawns are coming from.

4 years agofix error messaging in DXUser::init
Dirk Koopman [Wed, 13 May 2020 10:40:29 +0000 (12:40 +0200)]
fix error messaging in DXUser::init

4 years agonominally working JSON Storable DXUser replacement
Dirk Koopman [Wed, 13 May 2020 00:35:22 +0000 (01:35 +0100)]
nominally working JSON Storable DXUser replacement

works more than three times as fast as Storable does and, hopefully
is less likely to get corrupted.

4 years agoMerge branch 'mojo' into newusers
Dirk Koopman [Tue, 12 May 2020 22:59:36 +0000 (23:59 +0100)]
Merge branch 'mojo' into newusers

4 years agoRestore Script.pm to master's version
Dirk Koopman [Tue, 12 May 2020 22:26:37 +0000 (23:26 +0100)]
Restore Script.pm to master's version

4 years agoupdated docs for rbn.pl
Dirk Koopman [Tue, 12 May 2020 21:42:28 +0000 (22:42 +0100)]
updated docs for rbn.pl

4 years agoprobably fix Script erase error
Dirk Koopman [Mon, 11 May 2020 18:05:37 +0000 (19:05 +0100)]
probably fix Script erase error

4 years agoprobably fix Script erase error
Dirk Koopman [Mon, 11 May 2020 18:05:37 +0000 (19:05 +0100)]
probably fix Script erase error

4 years agofix typos in DXUser.pm
Dirk Koopman [Mon, 11 May 2020 11:26:09 +0000 (12:26 +0100)]
fix typos in DXUser.pm

4 years agoadd first part of json users file change
Dirk Koopman [Mon, 11 May 2020 08:12:41 +0000 (09:12 +0100)]
add first part of json users file change

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

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

4 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.

4 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.

4 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

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

4 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

4 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

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

4 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

4 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.

4 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.

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

4 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

4 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

4 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

4 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

5 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.

5 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

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

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

5 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?