Code Monkey home page Code Monkey logo

netwrk's Introduction

netwrk

A collection of useful, yet to be cross platform, networking tools. The purpose of this project is to learn how to implement networking protocols and tools from scratch.

Each networking tools and protocol implementations resides inside the tools/ directory. The core networking routines and other utilities are in the lib/ directory.

Tools currrently available

  1. ftp-cli: An FTP file downloader tool. A very minimal implementation of the FTP download protocol.
Usage:
ftp-cli <ftp-url>

Example:
ftp-cli ftp://134.119.8.75/zoc/zoc.exe
  1. packet-sniffer: A simple packet sniffer tool.
Usage(Requires root privilege):
sudo packet-sniffer <interface-name>

Example:
sudo packet-sniffer eth0

Steps to build

  1. Each tool may be individually compiled. For example, ftp-cli is compiled as shown below:
    $ cd tools/ftp-cli
    $ make
    $ ./ftp-cli <ftp-url>
    

Cross compiling(For raspberry pi)

  1. First setup sysroot for the target platform. You can create a sysroot using the help of this repo -> irakr/RPi-Cross-Build-Environment.
  2. Set the following environment variables:
    export SYSROOT_PATH=<path-to-sysroot>
    
  3. Compile:
    $ make PLATFORM=raspi
    
  4. To deploy the binaries, the TARGET_IP and TARGET_USER environment variables must be set first. Then run:
    $ make deploy
    
    By default, the binaries will be copied to /home/$(TARGET_USER)/netwrk in the target system.

netwrk's People

Contributors

irakr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.