Posts

Procedures to writing script in ns3

Image
Including necessary files Use appropriate namespace Set simulation time resolution Enable logging for different modules Creating codes Create net devices with MAC and PHY Attach Net devices to nodes and set interconnections Install protocol stack in nodes Set network address for interfaces Setup routing Install applications in nodes Setup tracing Set application start and stop time Set simulation start time Run simulation Release resources at end of the simulation source:  https://ns3tutorial.com/ns3-tutorial/ This is a checklist of the steps for writing a simulation script in ns-3, the discrete event network simulator, from including headers and setting the time resolution to creating nodes and devices and installing the protocol stack. Following the steps in order matters because each stage depends on the previous one, for example installing the internet stack before assigning addresses. It is a helpful map when starting a new ns-3 scenario.

Install ns-3.32 on Ubuntu 20.04

Image
  $ sudo apt-get update $ sudo apt-get upgrade $ sudo add-apt-repository ppa:rock-core/qt4 $ sudo apt update $ sudo apt upgrade $ sudo apt-get install gcc g++ python python-dev libgtk-3-dev wireshark gnuplot $ sudo apt install qt4-dev-tools libqt4-dev $ sudo apt install libqtcore4 libqtgui4 $ sudo apt install doxygen valgrind sqlite3 $ sudo apt-get install libgsl-dev $ sudo apt-get install pkg-config $ sudo apt-get install graphviz $ sudo apt-get install libgcrypt20-dev $ sudo apt-get install lldpd snmp $ sudo apt-get install dpdk-dev libdpdk-dev dpdk $ sudo apt-get install castxml $ sudo apt-get install mpi $ pip3 install pygccxml $ pip3 install graphviz $ pip3 install kiwi download https://www.nsnam.org/releases/ns-3-32/ $ tar xjf ns-allinone-3.32.tar.bz2 $ cd ns-allinone-3.32 $ cd ns-3.32 $ export CPPFLAGS="-Wno-error" $ ./waf configure --enable-examples --enable-tests $ ./waf build This is a step by step recipe for installing ns-3.32, the network simulator, on Ubuntu 20...

Codes and Ciphers

Image
There are many different types of codes and ciphers. A code is a system where a symbol, picture, or group of letters represents a specific alphabetical letter or word. A cipher is where a message is made by substituting one symbol for a letter. Some common codes that have been used by spies: American Sign Language Morse Code Navajo and other unwritten ancient languages Picture codes Common ciphers: Alphabet ciphers Math based ciphers Transposing or substituting letters

The rise of Cybercrime in India

Image
The rise of Cybercrime in India - Key statistics and facts Internet users across the globe are increasing at an alarming rate. More people are getting dependent on the internet every year where India stands loud on the usage of the internet. According to reports, India crossed a benchmark of 500 million internet users in the year 2018.

A primer on RSA

Image
Homomorphic Encryption is a way of performing computations on encrypted data. Both RSA and ElGamal encryption techniques possess multiplicative homomorphic properties. These algorithms support only one operation (multiplication) on encrypted data and so they are termed as partial homomorphic encryption schemes. By using RSA and ElGamal, the encrypted data could be multiplied together without performing decryption. If needed, the results after such computations could be returned in decrypted form. This scheme reduces computation time and increases the security and privacy of data being processed. Many organizations rely on third-party to outsource their large amount of electronic data for storage. It may be needed to perform some computations on the encrypted data on the server-side provided by an untrusted third party. Homomorphic Encryption will be much useful in such applications.

Microsoft SEAL installation on macOS

Image
Microsoft SEAL is an easy-to-use open-source (MIT licensed) homomorphic encryption library developed by the Cryptography and Privacy Research Group at Microsoft. Microsoft SEAL is written in modern standard C++ and is easy to compile and run in many different environments. For more information about the Microsoft SEAL project, see sealcrypto.org . brew install cmake autoconf automake libtool shtool gflags xcode-select --install git clone https://github.com/google/googletest cd googletest-master cmake . make make install git clone https://github.com/microsoft/SEAL cd SEAL

Resolution and Megapixel (8K / 4K UHD / 1440p / FHD)

Image
Aspect Ratio Proportion 17:9 1.88 16:9 1.77 5:3 1.66 16:10 1.6 3:2 1.5 4:3 1.33 5:4 1.25