Git Product home page Git Product logo

segway's Introduction

segway - Testing framework for IPv6 segment routing on Linux

segway sets up a network namespace with special network interfaces, simulating an IPv6 network with Segment Routing, and executes a given test suite, sending and sniffing packets. An example of test suite is provided in tests/example.seg.

segway uses Python 2.7 and requires several dependencies, which can be installed using pipenv.

git clone https://github.com/Zashas/segway.git
pipenv install
pipenv shell
cd segway
sudo python segway.py tests/example.seg

Usage

Usage:
    segway.py <path_to_tests> [--ns=<ns_name>] [-k] [-r] [-p]
    segway.py (-h | --help)

Options:
    -h, --help  Show help
    --ns=<ns_name>  Use specific network space name
    -k              Keep network namespace after running tests
    -r              Reuse network namespace and interfaces
    -p              Show packets of passed tests

segway's People

Contributors

zashas avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

segway's Issues

Cannot match packets with wide-used TCP/UDP ports

Incorrect packet received instead of packet #7.
	Sent :     fc00::2 -> fd00::42 / [fc00::1,+fd00::42] <sl 1,le 1> / UDP(4880,53) / "foobar"
	Expected : fc00::2 -> fc00::1 / [+fc00::1,fd00::42] <sl 0,le 1> / UDP(4880,53) / "foobar"
	Received : fc00::2 -> fc00::1 / [+fc00::1,fd00::42] <sl 0,le 1> / UDP(4880,53) / DNS

Espace " in payload

In parsing, cannot espace character " in the payload. Should be possible.

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.