Nick (and others) you're more than welcome to chip in with any experiential thoughts here also...
Netmail infinite looping...and how to stop it?
It's possible for netmail to get into an infinite loop when a node addresses netmail to a non exisistent system (21:2/201) it routes all traffic to
it's HUB 21:2/100 in NET 2 using 21:*
As the HUB does not have that echonode set up it looks to the routing and finds
the HUB 21:1/100 in NET 1 using 21:*
Netmail is routed to 1/100 which only has 2/100 defined with routing of 21:2/* so back it goes to 2/100 which in turn sends it back to 1/100 and on it goes.
Hi! <waves>
So I take it you have multiple hubs in this network? If I'm understanding
what I'm reading, something is definitely amiss. Are your hubs parsing nodelists? If so, that first hub should realize it's not a valid node
That makes me wonder, do you have any kind of 21:* route statement as a catchall on your hub system? If you do, you shouldn't.
Hmm, this seems like it may be bad routing configs. You as the main hub shouldn't be "routing" anything, except for points through their
The hubs below you should have direct connections to all of their links, and then the catchall 21:* going to you as the last option.
You shouldn't need node wildcards at all, unless you yourself are routing past one of your lower hubs directly to a downlink of theirs, in which that hub should be let known of that so they don't make the same route statement.
If you don't understand what I'm trying to get at (I know, I feel like
I'm beginning to ramble), I can try to simplify things a bit..
Accession wrote to Avon on 12-10-17 22:02 <=-
@MSGID: <5A2E0692.116.19fsx_mys@tequilamockingbirdonline.net>
Netmail infinite looping...and how to stop it?
Before I read on, there are some things you just won't be able to fix. However, I run HPT here as my tosser on my hub, and I don't see any infinite looping. If said mail has no destination it just stays here
doing nothing until I find it and delete it (this is what I meant by
you can't fix that - but the looping can definitely be fixed).
In 1/100 there are the following settings
21:3/100 has Route Info ³ 21:3/*
21:2/100 has Route Info ³ 21:2/*
you can't fix that - but the looping can definitely be fixed).
Deja Vu... :)
Accession wrote to Bill McGarrity on 12-11-17 19:19 <=-
On 12/11/17, Bill McGarrity said the following...
you can't fix that - but the looping can definitely be fixed).
Deja Vu... :)
Very much so, now that I've mentioned that damn catchall that seems to
be rearing it's ugly head on hub systems these days. ;)
In 1/100 there are the following settings
21:3/100 has Route Info ³ 21:3/*
21:2/100 has Route Info ³ 21:2/*
That should be fine. You should then probably check the other two hubs to make sure they don't have anything that could cause a loop.
However, with HUBs using that 21:* catchall, it will cause loops because even if it is net 2 and is on 2/100's system, but is unknown.. it will send it to you anyways.
You have a couple options.
1) setup a 3-way polygon
1/100
route 2/* to 2/100
route 3/* to 3/100
2/100
route 1/* to 1/100
route 3/* to 3/100
3/100
route 1/* to 1/100
route 2/* to 2/100
2) If you're still top of the chain and the single point of failure (assuming 1/100 is the top level hub):
1/100
route 2/* to 2/100
route 3/* to 3/100
2/100
route 1/* to 1/100
route 3/* to 1/100
3/100
route 1/* to 1/100
route 2/* to 1/100
See what I'm getting at? 21:* shouldn't be used on any of the 3 hub systems at all.
Regards,
Nick
At the moment both 2/100 and 3/100 have a 1/100 echonode defined and
that has the 21:* catchall routing any netmail statement in it's entry. This means if any netmail can't be delivered within the originating node/HUB it hands it on to 1/100 to sort.
I could set up links between all three to create a three way polygon so netmail is routed more directly between each HUB instead of NET 2 and
NET 3 routing it via NET 1
Yep.. so the key is to change the routing info for 1/100 to 21:1/* on the NET 2 HUB instead of 21:* , that will as you say stop a rouge 21:2/xxx addressed netmail leaving NET2 if it is unknown.
But as a feature for development I think the HUB still needs to be able
to send a reply netmail back to the originating system (and a copy to
the HUB sysop) that an error in delivery occurred because of [insert reason here]
I may well do this but will need to establish echonode setups for all
HUBS in each HUB. At present NET 2 and NET 3 just poll NET 1 for
echomail and/or any netmail that needs to be sent in/out
I thought I had this in place but the 21:* was not the right way to go
as it is being used at present. So to speed up things I will opt for option 1..
Thanks appreciated!
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 202:44:13 |
Calls: | 2,083 |
Calls today: | 1 |
Files: | 11,139 |
Messages: | 947,981 |