No description
Find a file
baez90 57a7e10e74
Add Prometheus metrics (#10)
* Add Prometheus metrics

- cleanup
- update dependencies
- improve parsing of options where possible
- Update Go to latest version
2020-10-02 11:56:48 +02:00
.github/workflows Fixed TLS issue with mismatching certificates 2020-06-24 12:25:34 +02:00
api Add health API and basic CLI support 2020-06-15 12:32:18 +02:00
assets fix container build and add missing demo CA files 2020-06-15 16:29:47 +02:00
cmd Add Prometheus metrics (#10) 2020-10-02 11:56:48 +02:00
deploy Add health API and basic CLI support 2020-06-15 12:32:18 +02:00
docs Add Makefile and reference to docs 2020-04-07 00:31:47 +02:00
internal Add Prometheus metrics (#10) 2020-10-02 11:56:48 +02:00
pkg Add Prometheus metrics (#10) 2020-10-02 11:56:48 +02:00
plugins Add Prometheus metrics (#10) 2020-10-02 11:56:48 +02:00
.dockerignore Add health API and basic CLI support 2020-06-15 12:32:18 +02:00
.gitattributes Initial working version 2020-04-01 04:08:21 +02:00
.gitignore Cleanup 2020-06-15 12:32:18 +02:00
.goreleaser.yml Add health API and basic CLI support 2020-06-15 12:32:18 +02:00
config-container.yaml Fixed TLS issue with mismatching certificates 2020-06-24 12:25:34 +02:00
config.yaml Add Prometheus metrics (#10) 2020-10-02 11:56:48 +02:00
Dockerfile Add Prometheus metrics (#10) 2020-10-02 11:56:48 +02:00
go.mod Add Prometheus metrics (#10) 2020-10-02 11:56:48 +02:00
go.sum Add Prometheus metrics (#10) 2020-10-02 11:56:48 +02:00
LICENSE Create LICENSE 2020-04-11 12:17:15 +02:00
Makefile Fixed TLS issue with mismatching certificates 2020-06-24 12:25:34 +02:00
README.md Add GoReport badge 2020-04-26 18:32:42 +02:00

INetMock

Go Go Report Card Quality Gate Status Lines of Code Maintainability Rating Security Rating Bugs Vulnerabilities

INetMock is kind of a fork of INetSim. "Kind of" in terms that both applications overlap in their functionality to serve as "fake internet" routers.

INetMock right now does not implement so many protocols like INetSim. In fact it is only able to respond to HTTP, HTTPS, DNS, DNS-over-TLS (DoT) requests and to act as an HTTP proxy. The most notable advantage of INetMOck over INetSim is that it issues proper TLS certificates on the fly signed by a CA certificate that can be deployed to client systems to achieve "proper" TLS encryption - as long as the client does not use certificate pinning or something similar.

A second advantage is that INetMock is a complete rewrite in Go, based on a plugin system that allows dynamic configuration while it has a way smaller memory footprint and far better startup and shutdown times. It also does not enforce root privileges as it is also possible to run the application with the required capabilities to open ports e.g. with SystemD (a sample unit file can be found in the deploy/ directory).

This project is still heavy work-in-progress. There may be breaking changes at any time. There's no guarantee for anything except no kittens will be harmed!

Docs

Docs are available either in the docs/ directory or as rendered markdown book at the GitHub pages.

Contribution/feature requests

Please create an issue for any proposal, feature requests, found bug,... I'm glad for every kind of feedback!

Right now I've no special workflow for pull requests but I will look into every proposed change.