Giter Club home page Giter Club logo

corescope's Introduction

srsRAN

Build Status CodeQL Coverity

srsRAN is an open source 4G software radio suite developed by SRS. For 5G RAN, see our new O-RAN CU/DU solution - srsRAN Project.

See the srsRAN 4G project pages for information, guides and project news.

The srsRAN suite includes:

  • srsUE - a full-stack SDR 4G UE application with prototype 5G features
  • srsENB - a full-stack SDR 4G eNodeB application
  • srsEPC - a light-weight 4G core network implementation with MME, HSS and S/P-GW

For application features, build instructions and user guides see the srsRAN 4G documentation.

For license details, see LICENSE file.

Support

Mailing list: https://lists.srsran.com/mailman/listinfo/srsran-users

corescope's People

Contributors

davidrupprecht avatar ninjab3s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

corescope's Issues

Decoding error on NAS: 5GS tracking area identity list with more than one element

Issue Description

Corescope fails parsing the "5GS tracking area identity list" form the NAS-PDU inside a Registration accept message when the list contains more than one TAC.

5GS tracking area identity list
    Element ID: 0x54
    Length: 43
    Partial tracking area list  1
        .00. .... = Type of list: list of TACs belonging to one PLMN or SNPN, with non-consecutive TAC values (0)
        ...0 1100 = Number of elements: 13 elements (12)
        Mobile Country Code (MCC): Unknown (1)
        Mobile Network Code (MNC): Unknown (01)
        TAC: 1
        TAC: 2
        TAC: 3
        TAC: 81
        TAC: 111
        TAC: 112
        TAC: 117
        TAC: 121
        TAC: 122
        TAC: 123
        TAC: 141
        TAC: 151
        TAC: 152

Setup Details

git rev a7fd328
Running corescope against an instance of Open5Gcore from Fraunhofer FOKUS.
The AMF has configured support for a total number of 13 TAC.

Expected Behavior

2022-01-19T15:15:09.111703 [NGAP ] [I] Tx NGAP SDU, UplinkNASTransport, rnti=0xb
2022-01-19T15:15:09.113997 [NGAP ] [I] Tx NGAP SDU, InitialContextSetupResponse, rnti=0xb
2022-01-19T15:15:09.114006 [RRC ] [D] Incoming data from NGAP, writing to UE RRC. RNTI=0xb, 70 Bytes.

Actual Behaviour

2022-01-19T15:05:04.949000 [NGAP ] [I] Tx NGAP SDU, UplinkNASTransport, rnti=0xc
2022-01-19T15:05:04.951365 [NGAP ] [I] Tx NGAP SDU, InitialContextSetupResponse, rnti=0xc
2022-01-19T15:05:04.951388 [ASN1 ] [E] [ 0] Decoding Failed (5GS tracking area identity list): Length (43) does not equal expected length 7
2022-01-19T15:05:04.951389 [ASN1 ] [E] [ 0] [/home/o5gc/src/srs/corescope/srsRAN/lib/src/asn1/nas_5g_msg.cc][524] Decoding failure.
2022-01-19T15:05:04.951389 [ASN1 ] [E] [ 0] [/home/o5gc/src/srs/corescope/srsRAN/lib/src/asn1/nas_5g_msg.cc][3929] Decoding failure.
2022-01-19T15:05:04.951389 [ASN1 ] [E] [ 0] [/home/o5gc/src/srs/corescope/srsRAN/lib/src/asn1/nas_5g_msg.cc][3905] Decoding failure.

Steps to reproduce the problem

Confige an AMF to send a Registration Accept message with a "5GS tracking area identity list" that contians more than one TAC entry.

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue]

Corescope Installation Error: cannot find linked files

Issue Description

[100%] Linking CXX executable corescope
/usr/bin/ld: cannot find -lsrsenb_upper
/usr/bin/ld: cannot find -lsrsenb_rrc
/usr/bin/ld: cannot find -lsrsenb_s1ap
/usr/bin/ld: cannot find -lsrsenb_common
/usr/bin/ld: cannot find -lsrsgnb_upper
/usr/bin/ld: cannot find -lsrsgnb_ngap
/usr/bin/ld: cannot find -lsrsue_upper
/usr/bin/ld: cannot find -lsrsran_radio
/usr/bin/ld: cannot find -lenb_cfg_parser
collect2: error: ld returned 1 exit status
make[2]: *** [corescope/src/CMakeFiles/corescope.dir/build.make:187: corescope/src/corescope] Error 1
make[1]: *** [CMakeFiles/Makefile2:9193: corescope/src/CMakeFiles/corescope.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Setup Details

While following the instructions provided here
after using the following command:

cmake .. -DCMAKE_INSTALL_PREFIX=~/<install location>

and then executing

make -j $(nproc)

Current machine: Ubuntu 20.04.3 LTS

Wiki Sidebar Links Not Working

Hi,

The sidebar on the wiki page is not referencing the correct links

image

[home]: https://github.com/softwareradiosystems/corescope/wiki
[install]: https://github.com/softwareradiosystems/corescope/wiki/Installation
[config]: https://github.com/softwareradiosystems/corescope/wiki/Configuration
[features]: https://github.com/softwareradiosystems/corescope/wiki/Supported-Features
[appnote]: https://github.com/softwareradiosystems/corescope/wiki/Application-Note

This should be:

[home]: https://github.com/srsran/corescope/wiki
[install]: https://github.com/srsran/corescope/wiki/Installation
[config]: https://github.com/srsran/corescope/wiki/Configuration
[features]: https://github.com/srsran/corescope/wiki/Supported-Features
[appnote]: https://github.com/srsran/corescope/wiki/Application-Note

I opened this issue as I could not find a way to create a PR for the wiki separately.

Sending of unexpected Configuration update complete NAS message.

Issue Description

corescope is sending an configuration update complete response when it is not requested to by the core.
According to 3GPP TS 24.501 Section 5.4.4.3.:

If "acknowledgement requested" is indicated in the Acknowledgement bit of the Configuration update indication IE in
the CONFIGURATION UPDATE COMMAND message, the UE shall send a CONFIGURATION UPDATE
COMPLETE message.

Setup Details

running corescope against an instance of of the open5gcore from Fraunhofer FOKUS.

Expected Behavior

No reply was expected to the configuration update command message.

Actual Behaviour

corescope replies with a configuration update complete message.

Steps to reproduce the problem

send a NAS PDU with the following contens to corescope:

NG Application Protocol (DownlinkNASTransport)
    NGAP-PDU: initiatingMessage (0)
        initiatingMessage
            procedureCode: id-DownlinkNASTransport (4)
            criticality: ignore (1)
            value
                DownlinkNASTransport
                    protocolIEs: 3 items
                        Item 0: id-AMF-UE-NGAP-ID
                        Item 1: id-RAN-UE-NGAP-ID
                        Item 2: id-NAS-PDU
                            ProtocolIE-Field
                                id: id-NAS-PDU (38)
                                criticality: reject (0)
                                value
                                    NAS-PDU: 7e02ff3205d5027e0054431510004f00700065006e003600470063006f00720065450910…
                                        Non-Access-Stratum 5GS (NAS)PDU
                                            Security protected NAS 5GS message
                                                Extended protocol discriminator: 5G mobility management messages (126)
                                                0000 .... = Spare Half Octet: 0
                                                .... 0010 = Security header type: Integrity protected and ciphered (2)
                                                Message authentication code: 0xff3205d5
                                                Sequence number: 2
                                            Plain NAS 5GS Message
                                                Extended protocol discriminator: 5G mobility management messages (126)
                                                0000 .... = Spare Half Octet: 0
                                                .... 0000 = Security header type: Plain NAS message, not security protected (0)
                                                Message type: Configuration update command (0x54)
                                                Network Name - Full name for network
                                                Network Name - Short Name

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.