Skip to main content

router shell is a interactive diagnostic shell for Linux

Project description

RoSh - Router Shell

WARNING This project is still in an early stage of development, and most of its intended function is missing!

This is a interactive diagnostic shell for (software|linux)-based routers. It's inspired by the CLI of network equipment (i.e. Cisco IOS) and implements simular diagnostic commands like the iproute2/bridge/ethtool/tc/wireguard commands.

rosh demo

Commands

The following commands are available:

- exit               exit from rosh
- netns              change active netns namespace for subsequent commands
    {netns}
- ping               execute ping command
- shell              launch a interactive system shell
- show
  - interface        show interface details
      {ifname} [|settings|coalesce|driver|eee|features|module|pause|ring|stats|tstamp]
  - ip
    - address        show assigned ipv4 addresses
        {ifname}
    - neighbour      show ipv4 neighbour cache entries (ARP)
        [dev <{ifname}>] [proto <{proto}>]
    - route          show ipv4 routes
    - rule           show ipv4 routing policy rules
        {ifname}
  - ipv6
    - address        show assigned ipv6 addresses
        {ifname}
    - neighbour      show ipv4 neighbour cache entries
        [dev <{ifname}>] [proto <{proto}>]
    - route          show ipv6 routes
    - rule           show ipv6 routing policy rules
        {ifname}
  - netns            show netns namespaces
      {netns}
- ssh                execute ssh command
- tcpdump            execute tcpdump command
- telnet             execute telnet command
- traceroute         execute traceroute command

Install

RoSh is available at PyPi and can be installed via pip:

$ pip install rosh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rosh-0.0.2.tar.gz (27.1 kB view hashes)

Uploaded Source

Built Distribution

rosh-0.0.2-py3-none-any.whl (33.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page