CWOP - TCPIP vs TCPXX **closed**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

K5KVN
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Fri Jun 13, 2014 3:54 am

CWOP - TCPIP vs TCPXX **closed**

Post by K5KVN »

I am a new Weatherbridge user and a ham radio operator. I'm wondering about the packet being sent from Weatherbridge to CWOP. Prior to Weatherbridge, I sent my data to CWOP via Weatherlink with my callsign and password. Using Weatherlink, my raw data shows as follows, for example:

K5KVN>APRS,TCPIP*,qAC,SIXTH:@090135z3612.47N/09413.64W_352/000g000t049r000p006P006h48b10188L....DsIP-VP

But with Weatherbridge, it is:

K5KVN>APRS,TCPXX*,qAX,CWOP-2:@090123z3612.48N/09413.63W_351/000g000t050r000p006P006b10186h47eMB22

My understanding is that TCPIP* means the data came from a properly authenticated source and TCPXX* is unauthenticated. I see on a few forums that TCPXX* and qAX are depreciated. Can Weatherbridge be updated to allow ham radio callsign and CWOP password so that it will properly authenticate and/or send TCPIP* and qAC in the header?

There is a discussion of depreciated TCPXX here:
http://www.weather-watch.com/smf/index. ... o1hiarop43

and here: https://groups.google.com/forum/#!topic ... VHJiU8JSZg
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: CWOP - TCPIP vs TCPXX

Post by admin »

When just replacing TCPXX by TCPIP does the trick, that would be easy.
Does this come with additional restrictions? I am not that deep into ARPS...
K5KVN
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Fri Jun 13, 2014 3:54 am

Re: CWOP - TCPIP vs TCPXX

Post by K5KVN »

I'm not sure, sorry. I just happened to notice my packets changed when I started using Weatherbridge and I started digging into it.

It looks like packet construct and sending to the APRS/CWOP servers are addressed in #11 here: http://wxqa.com/faq.html

It looks to me that it might be as simple as making sure each packet sends TCPIP* (asterisk has to be included).

-Kevin
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: CWOP - TCPIP vs TCPXX

Post by admin »

Is someone reading here, who has a deeper understanding in these APRS mysteries and can help?
AF6GL
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Fri Jun 20, 2014 1:37 am

Re: CWOP - TCPIP vs TCPXX

Post by AF6GL »

I am not that familiar with the inner workings of APRS but mine has been working fine for a very long time. Here is the raw data it sends out for me. I don't see a problem with yours, maybe it is with the cwop end of things. Hope this helps.

Timothy

AF6GL>APRS,TCPXX*,qAX,CWOP-2:@182336z3314.77N/11715.20W_281/004g012t072r000p000P000b10114h61eMB22
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: CWOP - TCPIP vs TCPXX **solved**

Post by admin »

I checked the code and in recent versions Meteohub and Meteobridge are already using TCPIP.
K5KVN
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Fri Jun 13, 2014 3:54 am

Re: CWOP - TCPIP vs TCPXX **solved**

Post by K5KVN »

Well, I'm still sending TCPXX*. And AF6GL above shows that he is also sending TCPXX*. As a test, I changed back to Weatherbridge to send to CWOP. As soon as I did that, the packets changed to TCPXX*. Below is my raw data from a few minutes ago, from the moment I switched from using my other upload service (Weatherlink.com) to my Weatherbridge. The first one was sent with my other upload service, then I switched to Weatherbridge and the packets began showing TCPXX* (the bottom two packets in the list below):

K5KVN>APRS,TCPIP*,qAC,SIXTH:@200056z3612.47N/09413.64W_215/000g001t078r000p022P022h80b10176L....DsIP-VP
K5KVN>APRS,TCPXX*,qAX,CWOP-2:@200058z3612.48N/09413.63W_233/000g001t078r000p022P022b10175h81eMB22
K5KVN>APRS,TCPXX*,qAX,CWOP-2:@200103z3612.48N/09413.63W_233/000g000t077r000p022P022b10177h82eMB22

I am using Software Version: Linux 3.3.8 mips (BE), FW 1.2, MeteoBridge 2.2 (3967). Is that version supposed to be sending TCPIP*?
User avatar
YJB
Platinum Boarder
Platinum Boarder
Posts: 387
Joined: Thu Feb 19, 2009 5:53 pm
Location: Venhuizen, Netherlands
Contact:

Re: CWOP - TCPIP vs TCPXX **solved**

Post by YJB »

Hi,

Just make clear that this is not a site specific issue I'm sending TCPXX packages as well:

Code: Select all

DW6007>APRS,TCPXX*,qAX,CWOP-2:@200557z5239.98N/00512.13E_296/006g011t056r000p002P000b10182h86L139eMH49
DW6007>APRS,TCPXX*,qAX,CWOP-2:@200602z5239.98N/00512.13E_300/007g011t056r000p002P000b10182h86L144eMH49
DW6007>APRS,TCPXX*,qAX,CWOP-2:@200607z5239.98N/00512.13E_315/007g011t056r000p002P000b10182h85L100eMH49
This is on Meteohub v4.9y-7069

But it doesn't bother me (which is probably due a lack of knowledge)

Ysbrand
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: CWOP - TCPIP vs TCPXX **solved**

Post by admin »

K5KVN wrote:Well, I'm still sending TCPXX*. And AF6GL above shows that he is also sending TCPXX*. As a test, I changed back to Weatherbridge to send to CWOP. As soon as I did that, the packets changed to TCPXX*. Below is my raw data from a few minutes ago, from the moment I switched from using my other upload service (Weatherlink.com) to my Weatherbridge. The first one was sent with my other upload service, then I switched to Weatherbridge and the packets began showing TCPXX* (the bottom two packets in the list below):

K5KVN>APRS,TCPIP*,qAC,SIXTH:@200056z3612.47N/09413.64W_215/000g001t078r000p022P022h80b10176L....DsIP-VP
K5KVN>APRS,TCPXX*,qAX,CWOP-2:@200058z3612.48N/09413.63W_233/000g001t078r000p022P022b10175h81eMB22
K5KVN>APRS,TCPXX*,qAX,CWOP-2:@200103z3612.48N/09413.63W_233/000g000t077r000p022P022b10177h82eMB22

I am using Software Version: Linux 3.3.8 mips (BE), FW 1.2, MeteoBridge 2.2 (3967). Is that version supposed to be sending TCPIP*?
Well I see in the code that Meteobridge is sending out TCPIP, may be by going through the CWOP network they do change the message headers somehow. But I am not an expert on this. I just can say what Meteobridge sends out. If you don't believe me, sniff the outgoing TCP traffic and you will see.
User avatar
YJB
Platinum Boarder
Platinum Boarder
Posts: 387
Joined: Thu Feb 19, 2009 5:53 pm
Location: Venhuizen, Netherlands
Contact:

Re: CWOP - TCPIP vs TCPXX **solved**

Post by YJB »

I've asked Phil Gladstone if he can share his insights.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: CWOP - TCPIP vs TCPXX **solved**

Post by admin »

This is what Meteobridge does send out:

Code: Select all

DD4OS>APRS,TCPIP*:@201057z5352.50N/00953.12E_000/001g004t063r000p001P000b10126h66L542eMB22
User avatar
YJB
Platinum Boarder
Platinum Boarder
Posts: 387
Joined: Thu Feb 19, 2009 5:53 pm
Location: Venhuizen, Netherlands
Contact:

Re: CWOP - TCPIP vs TCPXX **solved**

Post by YJB »

Hi Boris,

Not sure if this applies to MH as well, you can login to my kit, or if you can point me to the outgoing packet I will have a look myself.
pjsg
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Fri Jun 20, 2014 1:27 pm

Re: CWOP - TCPIP vs TCPXX **solved**

Post by pjsg »

As I understand it, the APRS system converts the TCPIP into TCPXX for messages that are injected by a user without a passcode. This is (I think) how they prevent non-licensed amateur messages from being transmitted over the air.

Philip
K5KVN
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Fri Jun 13, 2014 3:54 am

Re: CWOP - TCPIP vs TCPXX **solved**

Post by K5KVN »

That's what I understand, too, from more reading that I've done. Could Weatherbridge be made to send our CWOP station ID *and* password, so that the TCPIP would carry through to the APRS system?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: CWOP - TCPIP vs TCPXX **solved**

Post by admin »

just checking Meteohub output, which is also directing to TCPIP:

Code: Select all

DD4OS>APRS,TCPIP*:@201259z-1-1.-2N/-01-1.-2E_357/001g002t063r000p000P000b10114h61L200eMH49
Passcode is set to "-1". Is there a dedicated passcode for amateur radio IDs like mine (DD4OS)?
If so, where to get this from CWOP?
Locked