Commit Graph

36 Commits

Author SHA1 Message Date
Dirk Koopman
eef5dcbb47 add time constraints and other checks on PC9x timestamp
This involves making sure that the timestamp is within 15 mins of "now"
to be accepted. This has other rollover effects in that I don't send an
"old" C record on startup anymore, just send an A record followed by a K.
These days a newly minted C record will be along in 15mins or so anyway.

Made sh/newc terminal width aware.

Added CTY-1709 cty.dat data.
2007-11-16 17:15:11 +00:00
Dirk Koopman
709a22cc74 push non-pc9x and non-spider nodes back for routing
At the moment it appears that we can rely on non-spider nodes routing
stuff correctly for mail and rcmd. So we push those routes to the back
of the list.
2007-10-10 11:45:59 +01:00
Dirk Koopman
be8bb8ddec push non-pc9x nodes to the back for routing
Currently, if a directly connected non-pc9x node advertises a route
to another node, even if that node
2007-10-10 11:37:24 +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
05bed9a172 make Route::findroutes the basis of all routing 2007-06-24 01:03:03 +01:00
Dirk Koopman
28f251eee8 fix Route::findroutes? 2007-06-24 00:21:06 +01:00
Dirk Koopman
a2b44b1c0d try to stop Route::findroutes recursing too much 2007-06-23 23:50:10 +01:00
Dirk Koopman
99e970eab7 fixed Route::findroutes 2007-06-23 22:42:09 +01:00
Dirk Koopman
916f0deef0 temporary commit for findroutes 2007-06-23 21:39:37 +01:00
Dirk Koopman
6230850db2 Fix initial set of bugs pointed on mailing list
1. Fix Alias for sh/mydx (so it isn't the same as sh/myfdx).
2. Fix sh/c/n uninitialised variable message
3. Fix (and improve) sh/newc gb7 problem
2007-06-22 18:50:11 +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
cb8e869e37 change config display a bit 2007-01-15 22:37:10 +00:00
minima
c6177e73d2 get it right! 2007-01-15 21:43:23 +00:00
minima
e57e5b72e6 fix VERSION 2007-01-15 21:41:41 +00:00
minima
cf0e4eb14c fix deletions on pc92 config (finally)? 2007-01-15 21:40:01 +00:00
minima
dce19df96e fix DXChannel->get to DXChannel::get 2005-03-13 11:14:31 +00:00
minima
b463dee2ef tidy up prefix handling
add extra clause handling for sh/dx
2004-06-23 17:05:51 +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
8178d787d7 added the state filtering stuff
tried to speed up the AUTOLOADING
tried to fix the near dupe check again
2002-10-13 19:35:41 +00:00
minima
dbf7523a9b remove warnings from $BRANCH lines for 5.8.0 2002-07-29 15:41:49 +00:00
minima
47c7227bbe bring Curses uptodate in html 2001-09-18 16:57:09 +00:00
minima
6ccc3a6e86 1. clear/* node_default and user_default now work.
2. in acc or rej/* you can now use (comma separated) prefixes as well as lists
of numbers for things like *_dxcc, *_itu and *_cq (eg: by_dxcc ve,w); just
remember that countries like ve and w have lots of zones and itus!
3. Added all the clear/* commands to help and added some comments about 2.
4. All filters (including *_default ones) are now reinstalled on channels in
realtime, so changing a filter does NOT require a disconnect and reconnect
cycle anymore.
2001-09-10 00:38:32 +00:00
minima
dea6cbc282 force route to always give the local channel if available 2001-09-03 14:06:17 +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
42032b193f fix some little problems with disconnects
change behaviour of config
2001-06-07 11:43:11 +00:00
minima
d7a259b564 move userconfig and nodeconfig to stat
fix robs with localusers not being taken out of the routing tables
2001-06-07 10:42:23 +00:00
minima
6cbf9bb26c fix the field lists 2001-06-06 14:01:34 +00:00
minima
b67b50de92 add more routing code together with associated commands 2001-06-06 13:30:21 +00:00
minima
0f840352db dd Route! 2001-05-15 16:27:24 +00:00