mrlnc / lte-ciphercheck Goto Github PK
View Code? Open in Web Editor NEWCheck LTE Network Cipher Support -- over the air
License: GNU Affero General Public License v3.0
Check LTE Network Cipher Support -- over the air
License: GNU Affero General Public License v3.0
Unable to compile from git on Ubuntu 20.04 due to multiple errors.
$ lsb_release -a
LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
$ gcc --version
gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
(complete compilation)
1 is resolved by adding one additional 'nullptr' argument to the rrc::init arglest prior to the vararg {}
--
i don't know if there are any additional errors after this, that are dependent on this file compiling correctly, but I think this is the only standout, based on make's output.
clone from git, mkdir build && cd build; cmake ..; make -j4
full build log available upon request
Before filing an issue, search for solutions here:
I'm using an commercial SIM card with a pcsc based SIM card reader but I keep on getting the following error:
sudo ./srsue
linux; GNU C++ version 7.4.0; Boost_106501; UHD_003.010.003.HEAD-0-gef157678
Reading configuration file /home/ubuntu16/.config/srslte/ue.conf...
Built-in Release mode using commit 4925f48a on branch sec_algo_test.
Opening 1 RF devices with 1 RF channels...
Opening USRP with args: type=b200,master_clock_rate=23.04e6
-- Detected Device: B200
-- Operating over USB 3.
-- Initialize CODEC control...
-- Initialize Radio control...
-- Performing register loopback test... pass
-- Performing CODEC loopback test... pass
-- Asking for clock rate 23.040000 MHz...
-- Actually got clock rate 23.040000 MHz.
-- Performing timer loopback test... pass
Waiting PHY to initialize ... done!
Saving MAC PCAP file
Saving NAS PCAP file
Searching cell in DL EARFCN=39350, f_dl=2370.0 MHz, f_ul=2370.0 MHz
.
.
.
.
Found Cell: Mode=TDD, PCI=133, PRB=100, Ports=4, CFO=-5.5 kHz
Enabling subframe interpolation for TDD cells (recommended setting)
Enabling subframe interpolation for TDD cells (recommended setting)
Enabling subframe interpolation for TDD cells (recommended setting)
Could not attach to the network. Check configuration.
Saving MAC PCAP file
Saving NAS PCAP file
--- exiting ---
Why am I not able to connect to the commercial network?
I've double-checked the EARFCN's used by the network and made changes in the ue.conf regarding the same.
OS: Lubuntu 18.06 x86_64
Hardware: Intel i7-3610QM 3.06ghz, 8GB RAM, 1TB HDD
RF front-end: USRP B200
library and driver versions: 003.010.003(manually compiled)
Network configuration: masqueraded the wi-fi interface of my machine.
I should be able to connect to the commercial network using the commercial SIM Card through the PCSC card reader.
I'm receiving the following error...
Could not attach to the network. Check configuration.
~$ sudo apt-get install git cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev \
libconfig++-dev libsctp-dev libpcsclite-dev pcsc-tools libuhd-dev
~$ git clone https://github.com/mrlnc/eia0.git
~$ cd eia0
eia0$ mkdir build && cd build
build$ cmake ..
build$ make -j `nproc` srsue
cp eia0/srsue/ue.conf.example ~/.config/srslte/ue.conf
nano ~/.config/srslte/ue.conf (Added the below paramters)
[pcap]
enable = true
filename = /tmp/sec_results/ue
nas_enable = true
nas_filename = /tmp/sec_results/nas
[usim]
mode = pcsc
#algo = xor
#opc = 63BFA50EE6523365FF14C1F45F88737D
#k = 00112233445566778899aabbccddeeff
#imsi = 001010123456789
imei = 353490069873319
eia0/build/srsue/src$ sudo ./srsue
linux; GNU C++ version 7.4.0; Boost_106501; UHD_003.010.003.HEAD-0-gef157678
Reading configuration file /home/ubuntu16/.config/srslte/ue.conf...
Built-in Release mode using commit 4925f48a on branch sec_algo_test.
Opening 1 RF devices with 1 RF channels...
Opening USRP with args: type=b200,master_clock_rate=23.04e6
-- Detected Device: B200
-- Operating over USB 3.
-- Initialize CODEC control...
-- Initialize Radio control...
-- Performing register loopback test... pass
-- Performing CODEC loopback test... pass
-- Asking for clock rate 23.040000 MHz...
-- Actually got clock rate 23.040000 MHz.
-- Performing timer loopback test... pass
Waiting PHY to initialize ... done!
Saving MAC PCAP file
Saving NAS PCAP file
Searching cell in DL EARFCN=39350, f_dl=2370.0 MHz, f_ul=2370.0 MHz
.
.
.
.
Found Cell: Mode=TDD, PCI=133, PRB=100, Ports=4, CFO=-5.5 kHz
Enabling subframe interpolation for TDD cells (recommended setting)
Enabling subframe interpolation for TDD cells (recommended setting)
Enabling subframe interpolation for TDD cells (recommended setting)
Could not attach to the network. Check configuration.
Saving MAC PCAP file
Saving NAS PCAP file
--- exiting ---
A humble request can you pls share what changes did you make in the eia0 code compared to the vanilla srslte code?
I'm finding it difficult to understand the code would like to have the diff view and understand your implementation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.