• Stars
    star
    100
  • Rank 340,703 (Top 7 %)
  • Language
    Shell
  • License
    BSD 2-Clause "Sim...
  • Created about 11 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Webapp to monitor network usage and simulate network link conditions

This repository is no longer maintained. Issue reports and pull requests will not be attended.


Cellular Data Network Simulator

Cellular Data Network Simulator is dedicated WiFi network to monitor network usage and simulate network link conditions for mobile applications. It uses well established technologies: OpenWrt, tc, iptables and CloudShark.

Read more at Polidea Blog

Features

  • Easy to use web and mobile interface
  • Simulate: bandwidth, delay, loss, corruption, occasional loss of signal
  • Can capture the traffic and send it to CloudShark
  • Apply limits per-device
  • Works well in environment with multiple devices and multiple testers
  • Works well as virtual machine bridged with separate wireless network

Requirements

  • OpenWrt device running on Barrier Breaker - can be router or virtual machine
  • Two network interfaces - one for WAN and one for WIFI/LAN

Installation

The are a few simple steps to install Cellular Data Network Simulator:

  1. Install cdns:

     opkg update
     opkg install http://polidea.github.io/Cellular-Data-Network-Simulator/cdns_0.5-3_all.ipk
    

    Installation of Cellular Data Network Simulator replaces default Luci webpage. The Luci can be accessed using: http://ip-address/index-old.html

  2. Configure:

     vim /etc/config/cdns
    

    By default there are 5 profiles: Full, HSDPA, Edge, GPRS and Disabled.

    In order to support packet capture uploads to Cloudshark, you must edit the cloudshark_api_token parameter. You must create an account at https://www.cloudshark.org and retrieve your API token from the Preferences / API Tokens drop-down menu.

  3. Start the service:

     /etc/init.d/cdns enable
     /etc/init.d/cdns start
    

    That simply enables and starts the service,

  4. Start the uhttpd daemon:

     /etc/init.d/uhttpd enable
     /etc/init.d/uhttpd start
    

    If you didn’t do it before you have to enable and start the uhttpd daemon.

  5. Start using:

    Simply open: http://ip-address/.

Uninstallation

    /etc/init.d/cdns stop
    opkg remove cdns

Compile yourself

  1. Download sources:

     git clone <repo-path>
    
  2. Build the package yourself:

     make
    
  3. For more options view help:

     make help
    

License

   BSD 2-Clause License    

FAQ

  1. To fix problems with displaying web page execute from router's commandline:

     grep -lir "<html>" /tmp/testing/events*.cfg | xargs rm
    

Changelog

  • v.0.5-0: First public release (25.11.2013)
  • v.0.5-1: Bug fixing (12.02.2014)
  • v.0.5-2: Fixed Cloudshark URL and added CA bundle (25.03.2014)
  • v.0.5-3: Fixed #5 (18.09.2014)

More Repositories

1

RxBluetoothKit

iOS & OSX Bluetooth library for RxSwift
Swift
1,408
star
2

SiriusObfuscator

C++
467
star
3

cmake-nRF5x

cmake script for nRF5 series SoC
C
121
star
4

Cockpit

Easily define a set of parameters that can be accessed and changed by the developers via built-in compact UI at runtime.
Kotlin
119
star
5

android-hierarchy-viewer

HTML
113
star
6

tree-view-list-android

Provide configurable tree view list for android devices
Java
82
star
7

android-zoom-view

Android zooming view
Java
76
star
8

blemulator_flutter

BLEmulator Flutter: the Flutter BLE peripheral simulator
Dart
73
star
9

android-coverflow

Simple implementation of android's cover flow widget.
Java
68
star
10

basset-ios

Converting vector based images to iOS-style PNG(s) tool that organizes them in XCode Assets
Python
53
star
11

state-machine-android

A lightweight state machine implementation for Android.
Java
24
star
12

SOCK

Simple Omitter of Conflicts Kit - tool that prevents some of merge conflicts in .pbxproj file in Xcode projects
Python
23
star
13

the-missing-android-xml-junit-test-runner

Test runner that produces standard junit XML output file
Java
22
star
14

PLVisualAttributeConstraints

Custom VFL (Visual Format Language) for creating NSLayoutConstraint's. Offers more readable and concise replacement for constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant: (NSLayoutConstraint, AutoLayout mechanism)
Objective-C
22
star
15

react-native-blemulator

BLE simulator for react-native-ble-plx
TypeScript
20
star
16

Health2Fitbit

Simple tool that exports steps from HealthKit (eg. from Apple Watch) to Fitbit
Objective-C
17
star
17

android-section-list

Provides implementation of list which is divided to sections
Java
15
star
18

AndroidImageCache

LRU based Bitmap cache for Android. In Addition WebImageView for loading images from web resources.
Java
15
star
19

Polithings

Set of drivers for Android Things
Kotlin
14
star
20

better-gesture-detector

Android gesture detector better than default one
Java
13
star
21

SiriusObfuscator-SymbolExtractorAndRenamer

C++
11
star
22

ResourceSweeper

Python
11
star
23

PLObservers

Small tool for fast implementation of multi-observer pattern in Objective-C
Objective-C
9
star
24

android-image-manager

Image manager for android applications.
Java
8
star
25

recycler-view-adapters

A set of RecyclerView adapters, that are adding some great new features.
Java
8
star
26

android-flip3d

Android widget that allows for 3D-flipping of alternate views
Java
7
star
27

PLCoreDataUtils

A set of helper methods for CoreData
Objective-C
6
star
28

PLImageManager

image manager/downloader for iOS
Objective-C
6
star
29

Shuttle-Backend

Shuttle makes easy, secure and fast mobile apps distribution possible. It allows delivering iOS and Android mobile applications to stakeholders from the very beginning of the cooperation with the app creators. To try out our solution, simply use our code and if you need frontend and mobile app — contact us directly!
Groovy
6
star
30

at_candle

Example of candle powered by Android Things
Kotlin
4
star
31

android-notification-utils

Small set of utilities used by Polidea to develop android notifications
Java
4
star
32

PLColors

Objective-C library to create UIColor/NSColor objects based on the HEX color representation.
Objective-C
4
star
33

SiriusObfuscator-FileExtractor

Ruby
4
star
34

SiriusObfuscator-VerificationSuite

Swift
4
star
35

PLXCoreBluetooth-RACExtensions

Reactive Cocoa Extensions to CoreBluetooth
Objective-C
4
star
36

PLXFrameLayout

AutoLayout on frames
Objective-C
3
star
37

android-menu-navigator

Build navigation from json menu description
Java
3
star
38

dag-checks

The dag-checks consist of checks that can help you in maintaining your Apache Airflow instance.
Python
3
star
39

PLXImageManager

Image manager/downloader for iOS
Objective-C
2
star
40

mce-heatmap

Heatmap from MCE
JavaScript
1
star
41

PIXIE

Firmware for beautiful PIXIE device.
C++
1
star
42

docker-101

Example Docker project to help you bootstrap your awesome apps.
CSS
1
star
43

PLXColors

Objective-C library to create UIColor/NSColor objects based on the HEX color representation.
Objective-C
1
star
44

FrameLayout

AutoLayout on frames. This repo has been moved to
Objective-C
1
star
45

PLXObservers

Small tool for fast implementation of multi-observer pattern in Objective-C
Objective-C
1
star
46

PLXVisualAttributeConstraints

Custom VFL (Visual Format Language) for creating NSLayoutConstraint's. Offers more readable and concise replacement for constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant: (NSLayoutConstraint, AutoLayout mechanism)
Objective-C
1
star