Commit Graph

43 Commits

Author SHA1 Message Date
Dirk Koopman
48f0cb90d0 remove Prot.pm, sort %valid fields 2022-01-22 13:01:10 +00:00
Dirk Koopman
f63d598af3 add DXCIDR, fix version no tracking
Add more mojo code compatibility
2022-01-20 18:36:58 +00:00
Dirk Koopman
4b207544da mega-merge of major parts of mojo
The point of this is to make it easier to maintain both branches.

DXProt (DXProtHandle has already been copied) route/* DXChannel
DXCommandmode and console.pl have been either copied wholesale,
where necessary, modified to use the old Msg based networking stack.
2022-01-07 23:47:56 +00:00
Dirk Koopman
b7512d7880 allow debug to track cluster config
This is for Jim AD1C really. But "set/debug cluster" will put out
lines like:

CLUSTER: node N0VD-7 added
CLUSTER: user AD6KH added
and
CLUSTER: user AD6KH deleted
CLUSTER: node N0VD-7 deleted

and represent this node's view of which nodes and users are
available on the cluster as a whole.
2010-10-29 17:02:41 +01:00
Dirk Koopman
e1d5c2a325 add IP Address to PC92 A record
Start some extra auditing.
2009-11-26 11:10:33 +00:00
Dirk Koopman
8081646e93 add the ability to limit no of connections
Add the ability to limit the no of connections an incoming user/node
has. If a node/user is already connected elsewhere more than the maximum
no of times then this incoming connection is refused.
2008-10-01 23:04:48 +01:00
Dirk Koopman
c1540ccd79 New improved route finding algorithm
This is what Changes says:

Change the route finding algorithm completely. No more recursion. No more
tree searching. It now gives you answers even on a partial cluster map. Oh
and the answers are correct, instead on completely random.

Also completely remove RouteDB from the equation.
Also change sh/newc to default to node map rather than node+user map.
2008-06-24 19:36:57 +01:00
Dirk Koopman
f4c54c5174 fix new pc9x midnight rollover bug 2007-10-09 15:27:00 +01:00
Dirk Koopman
93292dcd62 reduce the number of duplicate PC92 for Ext Nodes
Try to reduce the no of duplicate PC92C for external PC protocol
nodes by listening for others that are out there and bumping up our
update time instead of us transmitting more or less the same info
as well.
2007-09-16 18:01:53 +01:00
Dirk Koopman
fee8c4eabd use just one lastid for all pc9x sentences
This should work fine and will cure the dupe/lost talk problem
2007-09-10 21:10:52 +01:00
Dirk Koopman
fb9c2ab049 change node disconnection code to improve node clearouts 2007-07-12 15:54:04 +01:00
Dirk Koopman
ac14c69838 connect up the discontinuous trees and route better
This involves making sure that all the external nodes get fixed
up even though their parent node does not yet exist (because no
config record has come in. It is safe to create these, in
anticipation of the C record coming in somewhen.

In the process of this, obscount reseting now happens much more
frequently (which I hope means correctly).

Allow Route::findroutes to find routes to these disconnected
nodes that are in the routing table but have no parent that is
yet anchored to a dxchan. Simply remember the dxchan that that
C record came in on. It doesn't matter if it gets overwritten by
another node, if it came in that way, there must be a route.

In any case, chances are, the first dxchan to get the C record
is the best and the deduping will (mostly) prevent it being
overwritten. When the linking C record comes in, it is all
irrelevant anyway...
2007-06-24 21:15:23 +01:00
Dirk Koopman
fd0a34c34a remove all $Id$ strings 2007-06-24 02:17:43 +01:00
Dirk Koopman
d3641e4f28 Rearrange startup PC92 arrangements
This is an attempt to cut down on the number PC92Cs that are flying
around. It does this be storing the last PC92C and only sending
it (which should be ignored by other people if broadcast) and
a PC92A. It does mean that the PC92C could be quite out of date
but a fresher will be along soon(ish)

I have also increase the pc92 update time to one hour and
randomised it to one hour - upto 1/4 of the update time.

It will also do each node separately, rather than all together in
one big gob.
2007-06-23 12:54:02 +01:00
Dirk Koopman
948528bfc0 recover from removal of newline characters! 2007-06-21 15:40:45 +01:00
Dirk Koopman
d2580480d2 Merge branch 'SIMPLEROUTE'
and tag as 1.55

Conflicts:

	.gitignore
	data/.gitignore
	perl/DXProt.pm
	perl/Version.pm
2007-06-21 14:54:07 +01:00
Dirk Koopman
b9dffeff72 Prepare for git repository
remove all the versioning from the code and introduce Version.pm
fix some niffnaffs
2007-06-14 12:08:12 +01:00
Dirk Koopman
7b9256cead Prepare for SIMPLEROUTE merge (more files) 2007-06-13 22:30:38 +01:00
minima
cbda6153fa change do_pc92 to do_pc9x 2007-01-22 13:59:59 +00:00
minima
43a8ee1258 force a disconnect down all other interfaces if a node connects directly
thus (hopefully) clearing out the old inflated number of users with the
real data direct from the node.
2007-01-17 00:22:01 +00:00
minima
5ba4018131 fix delete code 2007-01-16 11:52:55 +00:00
minima
217d9d54b6 try to sort out PC16 so that local connections override and update remote
ones.
2007-01-16 11:37:41 +00:00
minima
cf0e4eb14c fix deletions on pc92 config (finally)? 2007-01-15 21:40:01 +00:00
minima
bfb3961b8a try to gather more info on disappearing nodes 2007-01-15 14:43:49 +00:00
minima
e2d8260202 reset obs count on node route on new() (we must have seen it after all)! 2007-01-14 20:43:10 +00:00
minima
314a26e98d allow the PC16/17/19/21 to operate locally only (ready for polled routing). 2007-01-08 21:00:21 +00:00
minima
ad7e69f78e add dxver to these routines 2007-01-08 10:46:29 +00:00
minima
db0959118b fix up times and move things around for pc92 2007-01-06 21:50:41 +00:00
minima
c6428493a8 implement PC92 config changes 2007-01-02 21:36:44 +00:00
minima
ed6790555f restyles PC92 2006-12-17 21:03:34 +00:00
minima
af378e7408 get some basic XML routines up and running. 2006-01-10 22:22:21 +00:00
minima
f47bc72134 add portuguese and french languages 2003-05-06 12:38:16 +00:00
minima
7b616aeabc 1. tidy up AUTOLOAD
2. make sure empty PC16s are not sent out on startup
2003-01-16 03:54:06 +00:00
minima
dbf7523a9b remove warnings from $BRANCH lines for 5.8.0 2002-07-29 15:41:49 +00:00
minima
148f4d4313 start work on NP stuff seriously 2002-07-11 15:28:35 +00:00
minima
9a61ef5550 added PC90 stuff 2002-07-04 21:59:06 +00:00
minima
9fdfb0d757 added some rsfp checking 2001-09-18 13:36:29 +00:00
minima
412fb1b9e4 6. make set/isolate and acc/route mutually exclusive (and issue appropriate
error messages).
7. Improve stat/route_node and stat/route_user for diagnostics.
2001-09-03 13:04:01 +00:00
minima
3634fba90a 1. make spot dups look back 5 mins.
2. strip the top off each character in any text field of a Spot for duping.
3. Try to make the routing tables more accurate for users that login to
more than one node.
4. Make PC50s come out in one heap on all channels every 14 mins, instead of
on the 14th minute in the connection time for each channel. This should
reduce (slightly) the dups that are dumped.
2001-09-03 09:26:42 +00:00
minima
2b58ccdf81 change build number calculation to be more accurate 2001-09-01 12:15:09 +00:00
minima
6624dcdf07 merged back NEW_ROUTE into trunk 2001-08-08 15:56:49 +00:00
minima
b67b50de92 add more routing code together with associated commands 2001-06-06 13:30:21 +00:00
minima
fdc49835d7 Started the new routing stuff which will run in parallel for a while.
Changed the msg timeout arrangements so that it might not get stuck so
easily.
2001-05-15 16:10:29 +00:00