P1sec / pycrate

A Python library to ease the development of encoders and decoders for various protocols and file formats; contains ASN.1 and CSN.1 compilers.
GNU Lesser General Public License v2.1
382 stars 132 forks source link

Decoding Help for Internode definitions #85

Open suchitsatpathy opened 4 years ago

suchitsatpathy commented 4 years ago

I am trying to decode the messages for S1AP and X2AP messages , where there are UE capability and other containers included . I can decode them separately using different funtions . However , I am trying to merge all the segments together . Below are the steps I am trying to perform . 1: Check if a specific container is present in the message 2: Decode the message 3: set the value in the S1AP message RAT capability type to the decoded value.

p1-bmu commented 4 years ago

What is the issue you have with pycrate ??

suchitsatpathy commented 4 years ago

Hi Mich ;

It is rather an enhancement request to decode the subcontainer and update the master container .

BR

Suchit Satpathy


From: Benoit Michau notifications@github.com Sent: Tuesday, May 26, 2020 3:55 AM To: P1sec/pycrate pycrate@noreply.github.com Cc: suchitsatpathy suchit.satpathy@hotmail.com; Author author@noreply.github.com Subject: Re: [P1sec/pycrate] Decoding Help for Internode definitions (#85)

What is the issue you have with pycrate ??

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/P1sec/pycrate/issues/85#issuecomment-633869567, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANONNSCNU2ETQGP4Z6EPJZTRTNYVJANCNFSM4NJS4SQA.

p1-bmu commented 4 years ago

Dear Suchit.

As you can understand, I am not your developer. Therefore I will not develop specific features for your need. Moreover, I don't understand clearly what you are expecting. Pycrate is an open-source software, it is open to external contributions, in multiple forms ; see https://github.com/P1sec/pycrate#contributing. If you have specific need and that you succeed to address them with a specific development, you can provide it back through a pull request, so that all pycrate's users can benefit from it.

Regarding the decoding of UE radio capabilities, you can take this part of pycrate_corenet as an example: https://github.com/P1sec/pycrate/blob/ffe38db8dd5626e189957b4b04d1046a19f329c9/pycrate_corenet/utils.py#L227

Best Regards, Benoit

suchitsatpathy commented 4 years ago

Hi Mich,

I really appreciate and thankful to you for your pycrate initiative and your support.

About the enhancements I was communicating to you; I am extreamly sorry , I did not mean to steer or personalize the development . I just wanted to be a part of this awesome initiative and contribute as much i can by testing, suggesting enhancements etc. I came across the contribution page just after I replied to your email. I think the pull option is a right way to follow . I am also writing a script to help me debug the system issues . Your initiative really helped me a lot and I am learning from this . Hope , you will not mind if I ask you questions if I have difficulty decoding a 3GPP messgae.

BR

Suchit Satpathy


From: Benoit Michau notifications@github.com Sent: Wednesday, May 27, 2020 5:59 AM To: P1sec/pycrate pycrate@noreply.github.com Cc: suchitsatpathy suchit.satpathy@hotmail.com; Author author@noreply.github.com Subject: Re: [P1sec/pycrate] Decoding Help for Internode definitions (#85)

Dear Suchit.

As you can understand, I am not your developer. Therefore I will not develop specific features for your need. Moreover, I don't understand clearly what you are expecting. Pycrate is an open-source software, it is open to external contributions, in multiple forms ; see https://github.com/P1sec/pycrate#contributing. If you have specific need and that you succeed to address them with a specific development, you can provide it back through a pull request, so that all pycrate's users can benefit from it.

Regarding the decoding of UE radio capabilities, you can take this part of pycrate_corenet as an example: https://github.com/P1sec/pycrate/blob/ffe38db8dd5626e189957b4b04d1046a19f329c9/pycrate_corenet/utils.py#L227

Best Regards, Benoit

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/P1sec/pycrate/issues/85#issuecomment-634557769, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANONNSCZJ4JAKHLV4RY7U5LRTTP7VANCNFSM4NJS4SQA.