GithubHelp home page GithubHelp logo

ukhomeoffice / dq-docker-netinspection Goto Github PK

View Code? Open in Web Editor NEW
2.0 17.0 1.0 9 KB

HODQ - docker image of network inspection tool to be hooked up to running containers

License: MIT License

Shell 100.00%
hodq docker tcpdump-capture tcpdump network-analysis troubleshooting

dq-docker-netinspection's Introduction

DQ docker network inspection tool

Installing / Getting started

You will require docker to build and start this image. It has been built in a way it can be started and attached to another docker image.

Prerequisites

This project is dependent on the following libs and programs:

- docker

Building

docker build -t dq-docker-netinspection .

Deploying / Publishing

Obtain CONTAINER_ID of the image you want this network inspector to be attached to:

docker ps

Attach network inspector:

docker run -v $(pwd)/out:/out:rw --net container:<CONTAINER_ID_TO_LISTEN_ON> -ti dq-docker-netinspection

Configuration

Listener

By default it is listening on eth0 network interface (default one inside the container).

By default it is listening to localhost inside the container, by using attached container network

Default ports are 80, 443, 10443, 8080 and 8081 - these are very DQ specific TODO - parametrize ports

Output file

By default this container saves output to /out/file.pcap file. It should be on mounted volume so it can be inspected offline.

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

More information in CONTRIBUTING.md

Links

Licensing

The code in this project is licensed under MIT LICENSE

Code of Conduct

Please follow this CODE OF CONDUCT

dq-docker-netinspection's People

Contributors

pawniemiec avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

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.