开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: Modernizing the HTML control panel

 

开云体育

I think your code to send the token is faulty. I see this:

Authorization: Bearer [object Object]

I've changed the server code to send the CORS headers. If you let me know what platform you are using I'll send you a binary.

73,
John

On 06/10/2024 19:38, Rik M7GMT wrote:

That's very strange, John. I've attached a couple of screenshots of the Firefox developer console, and a .har file which you can import into your own browser console so that you can click around on the various requests and see details for yourself.
?
You can see that the request to /api/request_token succeeds and I get a token in the response. This token is then supplied as part of the request to /api/nodes, but this fails with a CORS error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at . (Reason: CORS preflight response did not succeed). Status code: 403.
?
It doesn't make much sense to have an open API if it's only usable from pages served by BPQ itself, so I would suggest allowing any origin, rather than relying on pages to be served by BPQ. As I mentioned earlier, this will only affect browsers as other tools like NodeJS and Python don't actually bother checking or obeying CORS rules anyway.


Re: New Versions

 

开云体育

Sorry, it looks like it failed to upload. It shoud be there now.

73,
John



On 07/10/2024 02:13, Gary - K7EK via groups.io wrote:

I do not see the new BPQ32 or BPQMail, only BPQ32.dll dated 10/06 in the beta folder. The most recent
files beyond that are dated 08/27. Am I looking in the wrong place??

Best regards,

Gary, K7EK





On Sunday, October 6, 2024 at 12:25:54 PM EDT, Eric H. Christensen via groups.io <wg3k@...> wrote:


On Sunday, October 6th, 2024 at 03:30, John G8BPQ <john.wiseman@...> wrote:

> I've uploaded new versions of BPQ32, BPQMail and linbpq to my beta site.
>
> This should fix the problem with SendPToMultiple forwarding messages
> that have reached their target BBS. It adds the BBS HA to the Routing
> Trace to help diagnose problems with bull distribution.

This update seems to have fixed my problem with HA routing.? I reran routing on all my messages and it picked up @USA AND @NA messages and properly routed them.

BBS Version 6.0.24.45

241006 16:18:33 ?? ? ? ? ? Msg 8930 Routing Trace To PKTNET Via USA
241006 16:18:33 ?? ? ? ? ? Routing Trace. Check if reached correct area My HA is #SMD.MD.USA.NOAM
241006 16:18:33 ?? ? ? ? ? Routing Trace Type B (Flood) TO PKTNET VIA USA Route On WW NOAM USA (null) (null)
241006 16:18:33 ?? ? ? ? ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KA1VSC
241006 16:18:33 ?? ? ? ? ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KA3VSP
241006 16:18:33 ?? ? ? ? ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KB3KOW
241006 16:18:33 ?? ? ? ? ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS N3HYM
241006 16:18:33 ?? ? ? ? ? Routing Trace - No Match

Thank you!

73,
Eric WG3K
FM18rp
Packet: WG3K@WG3K.#SMD.MD.USA.NOAM
E-Mail: wg3k@...









Re: Linbpq, Winlink Express, and Kenwood D710 won't connect

 

Try setting max frame to 1, the built in tnc has limited buffer space as I recall.
73
jim KI0BK?
?


Re: New Versions

 

I do not see the new BPQ32 or BPQMail, only BPQ32.dll dated 10/06 in the beta folder. The most recent
files beyond that are dated 08/27. Am I looking in the wrong place??

Best regards,

Gary, K7EK





On Sunday, October 6, 2024 at 12:25:54 PM EDT, Eric H. Christensen via groups.io <wg3k@...> wrote:


On Sunday, October 6th, 2024 at 03:30, John G8BPQ <john.wiseman@...> wrote:

> I've uploaded new versions of BPQ32, BPQMail and linbpq to my beta site.
>
> This should fix the problem with SendPToMultiple forwarding messages
> that have reached their target BBS. It adds the BBS HA to the Routing
> Trace to help diagnose problems with bull distribution.

This update seems to have fixed my problem with HA routing.? I reran routing on all my messages and it picked up @USA AND @NA messages and properly routed them.

BBS Version 6.0.24.45

241006 16:18:33 ?? ? ? ? ? Msg 8930 Routing Trace To PKTNET Via USA
241006 16:18:33 ?? ? ? ? ? Routing Trace. Check if reached correct area My HA is #SMD.MD.USA.NOAM
241006 16:18:33 ?? ? ? ? ? Routing Trace Type B (Flood) TO PKTNET VIA USA Route On WW NOAM USA (null) (null)
241006 16:18:33 ?? ? ? ? ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KA1VSC
241006 16:18:33 ?? ? ? ? ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KA3VSP
241006 16:18:33 ?? ? ? ? ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KB3KOW
241006 16:18:33 ?? ? ? ? ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS N3HYM
241006 16:18:33 ?? ? ? ? ? Routing Trace - No Match

Thank you!

73,
Eric WG3K
FM18rp
Packet: WG3K@WG3K.#SMD.MD.USA.NOAM
E-Mail: wg3k@...








Re: Modernizing the HTML control panel

 

开云体育

Yes, that sounds like it.

I'll have a go with Firefox.

73, John



On 06/10/2024 19:42, Rik M7GMT wrote:

I just tried in Chrome and the request to /api/request_token fails with the following error: Access to XMLHttpRequest at '' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Not sure which browser you were using, but that sounds like what you were seeing.


Re: Modernizing the HTML control panel

 

I just tried in Chrome and the request to /api/request_token fails with the following error: Access to XMLHttpRequest at 'http://192.168.0.109:9123/api/request_token' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Not sure which browser you were using, but that sounds like what you were seeing.


Re: Modernizing the HTML control panel

 

That's very strange, John. I've attached a couple of screenshots of the Firefox developer console, and a .har file which you can import into your own browser console so that you can click around on the various requests and see details for yourself.
?
You can see that the request to /api/request_token succeeds and I get a token in the response. This token is then supplied as part of the request to /api/nodes, but this fails with a CORS error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.0.109:9123/api/nodes. (Reason: CORS preflight response did not succeed). Status code: 403.
?
It doesn't make much sense to have an open API if it's only usable from pages served by BPQ itself, so I would suggest allowing any origin, rather than relying on pages to be served by BPQ. As I mentioned earlier, this will only affect browsers as other tools like NodeJS and Python don't actually bother checking or obeying CORS rules anyway.


Re: Modernizing the HTML control panel

 

开云体育

Thanks, Rik.

I've traced the data stream between the Browser and BPQ and am not seeing an OPTIONS message.

If I install your code in the BPQ HTML folder the token request is accepted. The api request fails as you are not supplying the token, but if I bypass the code to check this the data is returned.

There is a problem that BPQ isn't putting the correct content-type header in returned css but so long as the css is cached in the browser it works.

On reflection I'd prefer the pages to be installed on the server rather than allowing cross domain requests.

73, John




On 06/10/2024 10:30, Rik M7GMT wrote:

Sure. This pages tries to fetch the node list, but fails - see the developer console in your browser (right click on the page, choose "Inspect", then go to the Network tab).
?
The form expects the IP:port of a BPQ node's HTTP port. All the code for this is in js/api-client.js - to simplify the demo, it requests a new token before each request to the API (we wouldn't normally do this, of course).


Re: New Versions

 

On Sunday, October 6th, 2024 at 03:30, John G8BPQ <john.wiseman@...> wrote:

I've uploaded new versions of BPQ32, BPQMail and linbpq to my beta site.

This should fix the problem with SendPToMultiple forwarding messages
that have reached their target BBS. It adds the BBS HA to the Routing
Trace to help diagnose problems with bull distribution.
This update seems to have fixed my problem with HA routing. I reran routing on all my messages and it picked up @USA AND @NA messages and properly routed them.

BBS Version 6.0.24.45

241006 16:18:33 ? Msg 8930 Routing Trace To PKTNET Via USA
241006 16:18:33 ? Routing Trace. Check if reached correct area My HA is #SMD.MD.USA.NOAM
241006 16:18:33 ? Routing Trace Type B (Flood) TO PKTNET VIA USA Route On WW NOAM USA (null) (null)
241006 16:18:33 ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KA1VSC
241006 16:18:33 ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KA3VSP
241006 16:18:33 ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS KB3KOW
241006 16:18:33 ? Routing Trace HR WW NOAM USA (null) (null) Matches BBS N3HYM
241006 16:18:33 ? Routing Trace - No Match

Thank you!

73,
Eric WG3K
FM18rp
Packet: WG3K@WG3K.#SMD.MD.USA.NOAM
E-Mail: wg3k@...


Re: BBS Forwarding RF/AXIP

 

What's sad is that most people either don't want to learn from past
documentation, like the NEDA quarterlies/annuals, or they are not aware
that information does exist somewhere. As for routing via RF, the past
practice (before the internet) was to have forwarding partners at the
compass points around you and you used a separate frequency for each
direction if you could (dedicated RF/point-to-point). If that was not
possible, a local LAN frequency was used that only forwarding was done
between nodes and not open to users. The dedicated links were a 203,
the local LAN was 192. MINQUAL is set to 161 so that you only saw your
neighbor and one step further out so that you knew which partner to
forward it to. All forwarding links were on 220 (LAN) or 440 (P-to-P).

On 10/6/2024 7:38 AM, Chuck Gelm wrote:
On 10/6/24 07:13, Charles Hargrove wrote:
This means that you have only one forwarding partner on an RF link,
typically 220 or 440, at 1k2, 9k6 or higher. This drops the possibility
of having collisions or hidden transmitter syndrome. Dedicated links,
whether RF or AXIP links on the internet, will have NetRom quality
settings of 203 (80% reliability).
Hi, Charles:
Thank you for the response.
This may be getting 'off-topic', but
that definition sounds much like a Point-to-point link wherein
2 stations have exclusive access to a channel
(without regard to band/baud:
HF, VHF, UHF, or SHF / 300 to 144,400,000 baud. ;-).
As I prefer RF routing, I further complicate routing by assigning
'all' RF links a NETROM value of 192 and 'all' AXIP a value 191, and
generally without regard to link speed.
I keep my MINQUAL set to see only my neighbors and neighbor's neighbors, but
I prefer not to 'node hop' through my neighbor BBSs' nodes.
I prefer to move messages to the neighbor better able to route/deliver.
I just love it when folks mention hidden transmitter and exposed node syndrome.
On that topic ignorance and apathy too often lead to failure.
Again, thanks.
73, Chuck
--
Charles J. Hargrove - N2NOV
NYC-ARECS/RACES Citywide Radio Officer/Skywarn Coord.

NYC-ARECS/RACES Nets 441.100/136.5 PL
ARnewsline Broadcast Mon. @ 8:00PM
NYC-ARECS Weekly Net Mon. @ 8:30PM


NY-NBEMS Net Saturdays @ 10AM & USeast-NBEMS Net Wednesdays @ 7PM
on 7.036 Mhz USB (alt 3.536)/1500 hz waterfall spot; MFSK-16 or 32

"Information is the oxygen of the modern age. It seeps through the walls topped
by barbed wire, it wafts across the electrified borders." - Ronald Reagan

"The more corrupt the state, the more it legislates." - Tacitus

"Molann an obair an fear" - Irish Saying
(The work praises the man.)

"No matter how big and powerful government gets, and the many services it
provides, it can never take the place of volunteers." - Ronald Reagan


Re: New Versions

 

What is the best procedure for updating?

Em dom., 6 de out. de 2024, 04:30, John G8BPQ via <john.wiseman=[email protected]> escreveu:

I've uploaded new versions of BPQ32, BPQMail and linbpq to my beta site.

This should fix the problem with SendPToMultiple forwarding messages
that have reached their target BBS. It adds the BBS HA to the Routing
Trace to help diagnose problems with bull distribution.

I've added a facility to interlock KISS ports with session mode ports
like VARA and ARDOP. This means that an Interlock setting on a KISS port
which was previously ignored could now be used, so I suggest you remove
any Interlock lines from KISS port definitions.

73,
John







Re: BBS Forwarding RF/AXIP

 

On 10/6/24 07:13, Charles Hargrove wrote:
This means that you have only one forwarding partner on an RF link,
typically 220 or 440, at 1k2, 9k6 or higher. This drops the possibility
of having collisions or hidden transmitter syndrome. Dedicated links,
whether RF or AXIP links on the internet, will have NetRom quality
settings of 203 (80% reliability).
Hi, Charles:

Thank you for the response.
This may be getting 'off-topic', but
that definition sounds much like a Point-to-point link wherein
2 stations have exclusive access to a channel
(without regard to band/baud:
HF, VHF, UHF, or SHF / 300 to 144,400,000 baud. ;-).

As I prefer RF routing, I further complicate routing by assigning
'all' RF links a NETROM value of 192 and 'all' AXIP a value 191, and
generally without regard to link speed.
I keep my MINQUAL set to see only my neighbors and neighbor's neighbors, but
I prefer not to 'node hop' through my neighbor BBSs' nodes.
I prefer to move messages to the neighbor better able to route/deliver.

I just love it when folks mention hidden transmitter and exposed node syndrome.
On that topic ignorance and apathy too often lead to failure.

Again, thanks.

73, Chuck


Re: BBS Forwarding RF/AXIP

 

This means that you have only one forwarding partner on an RF link,
typically 220 or 440, at 1k2, 9k6 or higher. This drops the possibility
of having collisions or hidden transmitter syndrome. Dedicated links,
whether RF or AXIP links on the internet, will have NetRom quality
settings of 203 (80% reliability).

On 10/6/2024 5:12 AM, Chuck Gelm wrote:
I have always been confused about the word 'dedicated' as in /"dedicated RF links"/.
--
Charles J. Hargrove - N2NOV
NYC-ARECS/RACES Citywide Radio Officer/Skywarn Coord.

NYC-ARECS/RACES Nets 441.100/136.5 PL
ARnewsline Broadcast Mon. @ 8:00PM
NYC-ARECS Weekly Net Mon. @ 8:30PM


NY-NBEMS Net Saturdays @ 10AM & USeast-NBEMS Net Wednesdays @ 7PM
on 7.036 Mhz USB (alt 3.536)/1500 hz waterfall spot; MFSK-16 or 32

"Information is the oxygen of the modern age. It seeps through the walls topped
by barbed wire, it wafts across the electrified borders." - Ronald Reagan

"The more corrupt the state, the more it legislates." - Tacitus

"Molann an obair an fear" - Irish Saying
(The work praises the man.)

"No matter how big and powerful government gets, and the many services it
provides, it can never take the place of volunteers." - Ronald Reagan


Re: Modernizing the HTML control panel

 

Sure. This pages tries to fetch the node list, but fails - see the developer console in your browser (right click on the page, choose "Inspect", then go to the Network tab).
?
The form expects the IP:port of a BPQ node's HTTP port. All the code for this is in js/api-client.js - to simplify the demo, it requests a new token before each request to the API (we wouldn't normally do this, of course).


Re: BBS Forwarding RF/AXIP

 

开云体育

On 10/5/24 17:50, Jon Simonds wrote:
I have just recently setup a new linbpq installation, and would like to provide good "old-fashion" BBS access.
?
It has been MANY years since I helped maintain a packet BBS system (mid 90s).

Me too, 1988-2000, now 2019->

I remember setting up hierarchical routing back then, but it was rather simple, as it was all RF, and only to other systems on dedicated RF links.
I feel that Hierarchical Routing is the same whether RF or not.
I have always been confused about the word 'dedicated' as in "dedicated RF links".
?
I would love some help on getting my BBS running and setting up some forwarding partners to make sure we are sending BBS messages to their correct destinations.? ?
I also want to be able to receive bulletins etc.
?
Currently I have nothing setup for forwarding, and I have not been able to find a good "starting point" type tutorial.
Start here:

Contact those callsigns nearest you.

I suggest including WW4BSA, WT0F, and KD4WLE in your contact list.
I see 2 other G8BPQ stations in Gainesville on the map.
Perhaps the 3 of you could link and test hierarchical forwarding.

73, Chuck NC8Q

?
Thank you in advance for any help!? I'm very excited to get this up and running!
?
73,
Jon (KC4NWK)


New Versions

 

I've uploaded new versions of BPQ32, BPQMail and linbpq to my beta site.

This should fix the problem with SendPToMultiple forwarding messages that have reached their target BBS. It adds the BBS HA to the Routing Trace to help diagnose problems with bull distribution.

I've added a facility to interlock KISS ports with session mode ports like VARA and ARDOP. This means that an Interlock setting on a KISS port which was previously ignored could now be used, so I suggest you remove any Interlock lines from KISS port definitions.

73,
John


Re: Modernizing the HTML control panel

 

开云体育

Could you send me a page that shows this in action so I can see exactly what is received by the server in the OPTIONS request?

Thanks,
John


On 04/10/2024 12:42, Rik M7GMT wrote:

I've hit a snag. While requests to the API will work when using curl, NodeJS, Python, etc, they won't work from within a browser. This is because browsers make an OPTIONS request before the main request (known as the "CORS Preflight") and the server does not recognise OPTIONS requests (it responds with "403 Bad Method"). The request to /api/request_token does work because it is a "Simple request", but the request to /api/nodes fails because it has an Authorization header (which means it doesn't count as a "Simple request"). A good explanation about this can be found .
?
To fix this, the server should respond to OPTIONS requests with the header Access-Control-Allow-Origin: *
?
Even a different port on the same server counts as a different origin, so the error persists even if I serve the page from my node machine, as the web server can't use the same port as BPQ's web UI.


Re: BBS Forwarding RF/AXIP

 

开云体育

Hi Jon,

I'd be happy to setup an AXIP link and BBS forwarding.

My MAP: VE3CGR-7 ve3cgr.dyndns.org UDP 10093 B

My HA: VE3CGR.#SCON.ON.CAN.NOAM

Ron
VE3CGR

On 2024-10-05 5:50 p.m., Jon Simonds via groups.io wrote:
I have just recently setup a new linbpq installation, and would like to provide good "old-fashion" BBS access.
?
It has been MANY years since I helped maintain a packet BBS system (mid 90s).
I remember setting up hierarchical routing back then, but it was rather simple, as it was all RF, and only to other systems on dedicated RF links.
?
I would love some help on getting my BBS running and setting up some forwarding partners to make sure we are sending BBS messages to their correct destinations.? ?
I also want to be able to receive bulletins etc.
?
Currently I have nothing setup for forwarding, and I have not been able to find a good "starting point" type tutorial.
?
Thank you in advance for any help!? I'm very excited to get this up and running!
?
73,
Jon (KC4NWK)


Virus-free.


BBS Forwarding RF/AXIP

 

I have just recently setup a new linbpq installation, and would like to provide good "old-fashion" BBS access.
?
It has been MANY years since I helped maintain a packet BBS system (mid 90s).
I remember setting up hierarchical routing back then, but it was rather simple, as it was all RF, and only to other systems on dedicated RF links.
?
I would love some help on getting my BBS running and setting up some forwarding partners to make sure we are sending BBS messages to their correct destinations.? ?
I also want to be able to receive bulletins etc.
?
Currently I have nothing setup for forwarding, and I have not been able to find a good "starting point" type tutorial.
?
Thank you in advance for any help!? I'm very excited to get this up and running!
?
73,
Jon (KC4NWK)


Re: Modernizing the HTML control panel

 

开云体育

The access token mechanism is there for future use when I add calls to change information and to keep a session state between requests. Neither is needed for the currently implemented requests, but I didn't want to have a different system for different requests.

I'll change to sending expires_at. I doubt if anyone is actually using the existing field but if someone has a problem? I could send both.

73,
John




On 04/10/2024 11:07, Rik M7GMT wrote:

Sure. One thing I am a bit concerned about is the access_token process. For public information (such as the node list), this doesn't seem necessary at all, and as anyone can simply request a token without any authentication, doesn't actually provide any security, while adding an extra layer of complexity. It would be required when it comes to configuration data that's normally behind a login though (both getting and setting).
?
The other point is the expires_in key. I believe this should instead be expires_at, otherwise it's a bit confusing - does it mean 300 minutes from when the request was made, from when the response was sent, or when the response was received? This should also probably use UNIX epoch rather than minutes, e.g. { "access_token": "ABC123", "expires_at": 1728050700000 }. This would make the logic on the client much simpler as you would just check if the expires_at value is greater than the current time, to know if the token is still valid.