You can get the new version here. Here are some screenshots:
2 March 2014
QSSTV with hampal digital SSTV
I've been trying out the new version of QSSTV, 8.2.4, listening on on 40m. It has support for the DRM-based digital modes now.
You can get the new version here. Here are some screenshots:
You can get the new version here. Here are some screenshots:
23 February 2014
Oddness with Apple iCloud SMTP with TLS - MITM?
Last Thursday, the 20th February, there was a planned migration of my ADSL service to another LLU provider. Things went smoothly, but I noticed that my line sync rates were a little on the low-side, so I planned to email my ISP about it the following day, if the connection hadn't improved.
After returning home from work on Friday 21st, I determined that the sync rates were still below par, and with oodles of margin, proceeded to knock out an email asking someone to fiddle with something. However, I was stumped by an unforeseen hurdle - Thunderbird (running on Linux) was unable to send an email through the configured SMTP server: smtp.mail.me.com, using TLS on port 587.
I then experimented with my iPhone 4S, and found that it could send emails via the same SMTP server on either my 3G service or when connected via my domestic wifi through the ADSL service of my ISP. OK, I thought, it must be a Thunderbird configuration problem, but I found nothing wrong. I then dropped my LAN connection on my Linux box and established a wifi connection, using my iPhone 4S as a hotspot, and found that Thunderbird was able to send emails OK with the same configuration via the cellular network.
I found this to be odd, something didn't make sense. I couldn't understand why using the cellular network for the SMTP connection would allow either the iOS or Thunderbird clients to work, but only the iOS client would succesfully send via SMTP with TLS over my ISPs network. At this point I raised the issue with my ISP.
A shortwhile later, the ISP suggested that I should try and connect via SMTP on port 25. Not wanting to actually make a clear-text authenticated connection with my actual account credentials, I decided to connect with telnet on port 25.
The results looked like this:
That seemed pretty normal, I vaguely recalled seeing that greeting before. I tried again on port 587. The results looked like this:
This attempt was made using my ADSL connection for internet access. Nothing happened after the connection was made, so I dropped the telnet connection, switched to using my iPhone's hotspot and tried the same thing. I got the same response on port 587 as I had previously on port 25:
Pretty strange huh? The IP address was the same so It wouldn't seem that there was any DNS buggeration involved.
I made contact with my ISP again and reported my findings. Within 20 minutes they responded, stating that they too had attempted to telnet to port 587 but met with the expected Oracle greeting. By this time, I had verified that the server answering on port 587 had indeed started to behave in the manner expected.
At this point I was a bit confused and slightly paranoid. I mentioned to the ISP that this was all very fishy and that some kind of explanation would be appropriate. It was at his point that I think they went home for the weekend, and I started to fiddle around with something else. It was Saturday afternoon before I heard about the Apple SSL goto fail bug being patched on Friday. The existence of that bug explains why my iPhone itself would have been happy sending email through my ADSL connection through a MITM to the STMP server on port 587, and why Thunderbird would not.
So what does this all mean? Was there a MITM attack going on?
After returning home from work on Friday 21st, I determined that the sync rates were still below par, and with oodles of margin, proceeded to knock out an email asking someone to fiddle with something. However, I was stumped by an unforeseen hurdle - Thunderbird (running on Linux) was unable to send an email through the configured SMTP server: smtp.mail.me.com, using TLS on port 587.
I then experimented with my iPhone 4S, and found that it could send emails via the same SMTP server on either my 3G service or when connected via my domestic wifi through the ADSL service of my ISP. OK, I thought, it must be a Thunderbird configuration problem, but I found nothing wrong. I then dropped my LAN connection on my Linux box and established a wifi connection, using my iPhone 4S as a hotspot, and found that Thunderbird was able to send emails OK with the same configuration via the cellular network.
I found this to be odd, something didn't make sense. I couldn't understand why using the cellular network for the SMTP connection would allow either the iOS or Thunderbird clients to work, but only the iOS client would succesfully send via SMTP with TLS over my ISPs network. At this point I raised the issue with my ISP.
A shortwhile later, the ISP suggested that I should try and connect via SMTP on port 25. Not wanting to actually make a clear-text authenticated connection with my actual account credentials, I decided to connect with telnet on port 25.
The results looked like this:
$ telnet smtp.mail.me.com 25
Trying 17.172.34.225...
Connected to smtp.mail.me.com.
Escape character is '^]'.
220 st11p00mm-asmtp002.mac.com -- Server ESMTP (Oracle Communications
Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013))
That seemed pretty normal, I vaguely recalled seeing that greeting before. I tried again on port 587. The results looked like this:
$ telnet smtp.mail.me.com 587
Trying 17.172.34.225...
Connected to smtp.mail.me.com.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
This attempt was made using my ADSL connection for internet access. Nothing happened after the connection was made, so I dropped the telnet connection, switched to using my iPhone's hotspot and tried the same thing. I got the same response on port 587 as I had previously on port 25:
$ telnet smtp.mail.me.com 587
Trying 17.172.34.225...
Connected to smtp.mail.me.com.
Escape character is '^]'.
220 st11p00mm-asmtp001.mac.com -- Server ESMTP (Oracle Communications
Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013))
Pretty strange huh? The IP address was the same so It wouldn't seem that there was any DNS buggeration involved.
I made contact with my ISP again and reported my findings. Within 20 minutes they responded, stating that they too had attempted to telnet to port 587 but met with the expected Oracle greeting. By this time, I had verified that the server answering on port 587 had indeed started to behave in the manner expected.
At this point I was a bit confused and slightly paranoid. I mentioned to the ISP that this was all very fishy and that some kind of explanation would be appropriate. It was at his point that I think they went home for the weekend, and I started to fiddle around with something else. It was Saturday afternoon before I heard about the Apple SSL goto fail bug being patched on Friday. The existence of that bug explains why my iPhone itself would have been happy sending email through my ADSL connection through a MITM to the STMP server on port 587, and why Thunderbird would not.
So what does this all mean? Was there a MITM attack going on?
31 December 2013
fcsched
I've just cobbled together a rudimentary scheduler for triggering recording/post-processing of FUNcube-1 (AO-73) telemetry with the fcdec utilities.
It uses a predict server to provide pass predictions, is written in python, has a GPLV3 licence and is available on github here. It is only a few hours old, and hasn't seen many passes, but it may well work :)
I found details of the predict server's command set here.
It uses a predict server to provide pass predictions, is written in python, has a GPLV3 licence and is available on github here. It is only a few hours old, and hasn't seen many passes, but it may well work :)
I found details of the predict server's command set here.
Using fcdec on Ubuntu 13.10
After some time away from home over Xmas, I decided to have a go at using Alex's fcdec telemetry decoder for the Funcube satellite.
The source is available on github here. It is also necessary to get the source for fcdctl from here. I ran the makefiles in the decoder, fcdctl and filter directories. I then edited tools/submit.sh to reflect my credentials stored with the online data warehouse. I then edited the WORK_DIR and PROG_DIR macros in tools/fcd_sequencer.sh to reflect the paths in my home directory.
I then created links in my ~/bin dir to the binaries I'd just built for decode, fcdctl and filter, and also for the tools/submit.sh and tools/fcd_sequencer.sh scripts.
I discovered that I also needed to install the libsox-fmt-pulse package in order for pulse to work properly with sox and also needed to ensure that the fcd-pro was set to the "Analogue Stereo Input" profile in the configuration tab of pavucontrol.
This let me run fcd_sequencer which then waited for a command on tcp port 12345 to start collecting data. This could be done using telnet. I used telnet to connect to localhost on port 12345 and then submitted the command "start +600" followed by hitting the enter key and then pressing Ctrl+] then entered "quit" to exit telnet and close the tcp connection. At that point, the fcd_sequencer script started to collect data.
There was a pass at 1108z this morning (31st Dec 2013) and it seemed that I was able to decode 40 telemetry packets. This was with my original fcd-pro (not the pro-plus, for some reason I've not been able to get fcdctl to work with the pro-plus yet) and using my 2m turnstile-with-reflectors in the loft for the antenna.
20131231_110203: --------------------------------------------------------------
20131231_110204:
20131231_110204: Waiting for new command on port 12345
20131231_110713: Received start command: start
20131231_110713: Will capture IQ for 780 seconds
Freq set to 145.924000 MHz.
LNA gain set to 10 dB.
nr USB path firmware frequency LNA gain audio device
0 0003:0014:02 18.10 145.924000 MHz 10 dB card6
20131231_110713: Using audio input: alsa_input.usb-Hanlincrest_Ltd._FUNcube_Dongle_V1.0-00-V10.analog-stereo
20131231_110713: Start capture to /home/darren/funcube-data/out/20131231_110713/fcd_iq_sc_20131231_110713_96_145924.raw
20131231_112013: Filter and decode (G=100) /home/darren/funcube-data/out/20131231_110713/fcd_iq_sc_20131231_110713_96_145924.raw:40
20131231_112022: Filter and decode (G=200) /home/darren/funcube-data/out/20131231_110713/fcd_iq_sc_20131231_110713_96_145924.raw:40
20131231_112030: G=100 gave 40 packets; G=200 gave 40 packets
20131231_112030: Submitting packets from /home/darren/funcube-data/out/20131231_110713/data-200.txt
20131231_112030:
20131231_112030: --------------------------------------------------------------
Having a look at the raw file with a modified tools/fcd_replay.grc file, I observed the following with the fosphor display.
In order to get this all working, I found it useful to temporarily instrument the fcd_sequencer.sh script by adding the -x option on the first line, as below:
Update 1st Jan 2014: I've written fcsched to schedule fcdec according to passes reported by a predict server.
The source is available on github here. It is also necessary to get the source for fcdctl from here. I ran the makefiles in the decoder, fcdctl and filter directories. I then edited tools/submit.sh to reflect my credentials stored with the online data warehouse. I then edited the WORK_DIR and PROG_DIR macros in tools/fcd_sequencer.sh to reflect the paths in my home directory.
I then created links in my ~/bin dir to the binaries I'd just built for decode, fcdctl and filter, and also for the tools/submit.sh and tools/fcd_sequencer.sh scripts.
I discovered that I also needed to install the libsox-fmt-pulse package in order for pulse to work properly with sox and also needed to ensure that the fcd-pro was set to the "Analogue Stereo Input" profile in the configuration tab of pavucontrol.
This let me run fcd_sequencer which then waited for a command on tcp port 12345 to start collecting data. This could be done using telnet. I used telnet to connect to localhost on port 12345 and then submitted the command "start +600" followed by hitting the enter key and then pressing Ctrl+] then entered "quit" to exit telnet and close the tcp connection. At that point, the fcd_sequencer script started to collect data.
There was a pass at 1108z this morning (31st Dec 2013) and it seemed that I was able to decode 40 telemetry packets. This was with my original fcd-pro (not the pro-plus, for some reason I've not been able to get fcdctl to work with the pro-plus yet) and using my 2m turnstile-with-reflectors in the loft for the antenna.
20131231_110203: --------------------------------------------------------------
20131231_110204:
20131231_110204: Waiting for new command on port 12345
20131231_110713: Received start command: start
20131231_110713: Will capture IQ for 780 seconds
Freq set to 145.924000 MHz.
LNA gain set to 10 dB.
nr USB path firmware frequency LNA gain audio device
0 0003:0014:02 18.10 145.924000 MHz 10 dB card6
20131231_110713: Using audio input: alsa_input.usb-Hanlincrest_Ltd._FUNcube_Dongle_V1.0-00-V10.analog-stereo
20131231_110713: Start capture to /home/darren/funcube-data/out/20131231_110713/fcd_iq_sc_20131231_110713_96_145924.raw
20131231_112013: Filter and decode (G=100) /home/darren/funcube-data/out/20131231_110713/fcd_iq_sc_20131231_110713_96_145924.raw:40
20131231_112022: Filter and decode (G=200) /home/darren/funcube-data/out/20131231_110713/fcd_iq_sc_20131231_110713_96_145924.raw:40
20131231_112030: G=100 gave 40 packets; G=200 gave 40 packets
20131231_112030: Submitting packets from /home/darren/funcube-data/out/20131231_110713/data-200.txt
20131231_112030:
20131231_112030: --------------------------------------------------------------
Having a look at the raw file with a modified tools/fcd_replay.grc file, I observed the following with the fosphor display.
In order to get this all working, I found it useful to temporarily instrument the fcd_sequencer.sh script by adding the -x option on the first line, as below:
#!/bin/bash -xThis let me determine exactly what was happening as the script ran. I did actually make a mistake when creating the symbolic link to submit.sh (missing the .sh extension on the link name). This caused the invocation of submit.sh by fcd_sequencer.sh to fail, but the use of the -x option in fcd_sequencer.sh allowed me to see the correct invocation of submit.sh and to manually invoke it once the symbolic link had been fixed, culminating in the appearance of a line in the upload rankings table here crediting G0HWW with 40 packets.
Update 1st Jan 2014: I've written fcsched to schedule fcdec according to passes reported by a predict server.
21 November 2013
gpredict trsp file for FUNCUBE
Add a file to the ~/.config/Gpredict/trsp directory, with the following contents:
[FUNCUBE BPSK Telem]
DOWN_LOW=145935000
[FUNCUBE U/V]
UP_LOW=435150000
UP_HIGH=435130000
DOWN_LOW=145950000
DOWN_HIGH=145970000
INVERT=true
Depending on where or when you got your keps, you may have a different Catalogue Number for FUNCUBE-1. Create a file called CAT_NUM.trsp. where CAT_NUM is the catalogue number for FUNCUBE-1.I have two trsp files, one called 39417.trsp and the other 312.trsp, as I have two sets of keps for FUNCUBE-1 right now. UPDATE 1st Jan 2014: The latest recommended keps (referenced here) are for catalogue number 39444. In gpredict, this is known as 2013-066AE.
With the keps for FUNCUBE added to gpredict and with the really cool recently added support for hamlib compatible remote control of gqrx it's easy enough to find FUNCUBE with a Funcube Dongle Pro+ as a receiver. I'm using a homebrew 2m Turnstile-With-Reflectors in the loft as an antenna.
Update:
I'm going to have a listen for ChargerSat-1 (more) too. The trsp file for that is called 99912.trsp and has the following contents.
[ChargeSat-1 Telem]
DOWN_LOW=437405000
Here are (or were) the keps.
[FUNCUBE BPSK Telem]
DOWN_LOW=145935000
[FUNCUBE U/V]
UP_LOW=435150000
UP_HIGH=435130000
DOWN_LOW=145950000
DOWN_HIGH=145970000
INVERT=true
Depending on where or when you got your keps, you may have a different Catalogue Number for FUNCUBE-1. Create a file called CAT_NUM.trsp. where CAT_NUM is the catalogue number for FUNCUBE-1.
With the keps for FUNCUBE added to gpredict and with the really cool recently added support for hamlib compatible remote control of gqrx it's easy enough to find FUNCUBE with a Funcube Dongle Pro+ as a receiver. I'm using a homebrew 2m Turnstile-With-Reflectors in the loft as an antenna.
Update:
I'm going to have a listen for ChargerSat-1 (more) too. The trsp file for that is called 99912.trsp and has the following contents.
[ChargeSat-1 Telem]
DOWN_LOW=437405000
Here are (or were) the keps.
Subscribe to:
Posts (Atom)









