moby / moby/libnetwork

Creating own network driver with configurable drops

Open
#2,643 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.2k
Forks
875
PR merge metrics
No merged PRs in 30d

Description

I'm searching any hints how to start creating my own copy of a bridge networking driver with some additional features for communication protocol testing.

I think running these steps would be my way:

  1. create a running copy of some network plugin in my local docker 20.10 instance
  2. add hard coded "bad line quality feature" like dropping 1% of UDP packets
  3. Add configurable options from some external config file for dropping features

Any hints how to start this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a driver implementation, test, or entry point. Begin by locating the bridge networking driver in the Docker 20.10/libnetwork code, then determine how a copy could support packet dropping and external configuration; done would require a defined, tested configurable behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.