Hi,
I have been looking into the example data provided by Osmocom as shown in the link below.
http://osmocom.org/projects/gmr/wiki/Example_Data
I could reproduce the first pcap output (up to the Ciphering Mode Command) for the Voice call using the gmr1_rx_live from the live branch.
With the provided Kc, I thought I would be able to reproduce the second pcap (including the call setup). I have modified the sa_tch3.c to include the Kc code. However, I am not able to get the results as shown in the second pcap file. I noticed that in the sa_tch3.c code, there is a ciphering part (marked by "Retry with ciphering") which was disabled. This part of code didn't compile as some variables were not defined.
Probably my approach was not right. Any pointer here? Which code is needed to produce the second pcap (deciphered) file given the Kc is known? Many thanks in advance.
Best regards, Johann
Hi,
Probably my approach was not right. Any pointer here? Which code is needed to produce the second pcap (deciphered) file given the Kc is known? Many thanks in advance.
You won't be able to reproduce exactly the same results.
I had to redact some private information from the captures. In the .pcap I could just manually overwrite a few bytes, but for the RF captures, I had to zero-out entire bursts to make them non-decodable and that messes with the ability of wireshark to re-assemble the fragments.
And decryption support is present in the non-live version :
gmr1_rx 4 tnt-locupd-267-93600.cfile tnt-locupd-268-93600.cfile eb9c4d2b0d027131 gmr1_rx 4 tnt-call-267-93600.cfile tnt-call-268-93600.cfile ebc34fcbd572466
Cheers,
Sylvain