Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - brian_sp2

Pages: [1]
1
YateBTS / Has ciphering & encryption implemented on YateBTS?
« on: November 06, 2018, 08:22:17 AM »
I'm looking for encrypting the connection between MS and BTS. would YateBTS do that?
Is there any algorithm like A5/1 or A5/3 in YateBTS to make ciphering happen?

2
YateBTS / Ciphering Mode Command message structure
« on: November 06, 2018, 06:45:59 AM »
I'm sent Authenticate Request message from BTS to MS manually by implementing this part of my own class in source:

Code: [Select]
    const char* keySeq = "0";
const char* rand = "00112233445566778899AABBCCDDEEFF";

XmlElement* rrm = new XmlElement("MM");
    XmlElement* ch =  new XmlElement("Message");
    ch->setAttribute("type","AuthenticationRequest");
    ch->addChildSafe(new XmlElement("CKSN", keySeq));
    ch->addChildSafe(new XmlElement("rand", rand));
    rrm->addChildSafe(ch);
    conn->sendL3(rrm);

So, the following XML will be generated and will be sent to the MS:

Code: [Select]
<MM>
  <Message type="AuthenticationRequest">
    <CKSN>0</CKSN>
    <rand>00112233445566778899AABBCCDDEEFF</rand>
  </Message>
</MM>

Which this was already implemented in YateBTS source code, in YBTSMM::handleLocationUpdate class.

I'm wondering how is Ciphering Mode Command is structured in XML to initiate ciphering between BTS - MS?
Should it be like:

Code: [Select]
<MM>
  <Message type="StartCiphering">
    <CKSN>0</CKSN>
    <rand>00112233445566778899AABBCCDDEEFF</rand>
  </Message>
</MM>

Can someone please create a log and see if they have such XML transferred in their network?
I need to know how to create Ciphering Mode Command message structure in XML.

3
Yate users hangout place / Enable Ciphering in YateBTS source
« on: November 04, 2018, 07:33:44 AM »
Hey, #yate IRC channel is empty as my pocket :)

Anyone here have any idea how to implement Ciphering Mode Command on YateBTS source?
Where should I send the Ciphering Mode Command (RR) message in the code? Anywhere near the authSend classes or what?
Have anyone patched the source to make Cipher.Encypt config to work?
Please contact me ASAP.

4
YateBTS / Re: cipher
« on: November 04, 2018, 07:29:00 AM »
Actually I'm having the same problem here but I'm also working on it.
Ciphering mode is not completely implemented in the YateBTS source code. So we need to complete this part.
To enable ciphering, BTS (only BTS can instantiate ciphering mode) sends Ciphering Mode Command (RR) message to the MS, then MS sends back the Ciphering Mode Complete (RR) message to the BTS and ciphering mode acknowledgement will be completed.

Currently, I'm trying to modify the source and send all changes as a patch on Github. I'll let you know if that happened.

Pages: [1]