Skip to content

mheers/mongonet

 
 

Repository files navigation

mongonet - mongo wire protocol tools

The purpose of this library is to have a number of low level tools for building a variety of things. This is not a driver, though could be turned into one if someone wanted.

There are two examples included:

straight_proxy

This is a trivial proxy for mongod, no real use today, maybe SSL termination??

sni_tester

This is a proxy that adds a single command "sni". This is to help test client sni support.

To Start cd cmd/sni_tester go run sni_tester.go

To use > db.adminCommand("sni") { "sniName" : "local.10gen.cc", "ok" : 1 }

ismaster_rewriter

This is a proxy that intercepts the ismaster request of a client to allow clients without support for replicaSets the access to a mongodb instance with a configured replicaSet.

To Start cd cmd/ismaster_rewriter go run ismaster_rewriter.go

About

Set of tools for mongo network protocol programming in go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%