me-box / core-network Goto Github PK
View Code? Open in Web Editor NEWdatabox's traffic managing component
License: MIT License
databox's traffic managing component
License: MIT License
I've been trying to track this down for a while, but it appears to be an issue with the core-network dns resolver. To repeat:
./start-databox
install driver-os-monitor
install app-os-monitor
Then go to the app-os-monitor ui (you will see the odd error in the cm logs "ERROR: /app-os-monitor/ui/load.png?rand=0.7721667057062178 getaddrinfo ENOTFOUND app-os-monitor app-os-monitor:8080" but it mostly works)
then:
docker exec -it [container-manager id] sh
# nslookup app-os-monitor 10.0.0.3 (this should work)
# for i in `seq 1 10`; do echo "### $i ###"; nslookup app-os-monitor 10.0.0.3; done (this causes the falure)
from this point on dns resolution is completely broken
If I increase the core-network dns log level I see a lot of resolve app-os-monitor later...
not sure if this is related but looks odd.
Log.info (fun m -> m "Policy.substititue %a for %a" pp_ip old_ip pp_ip new_ip) >>= fun () ->
if PrivilegedSet.mem (SrcIP old_ip) t.privileged then begin
PrivilegedSet.remove (SrcIP old_ip) t.privileged
|> PrivilegedSet.add (SrcIP new_ip)
-- |> fun npriv -> t.privileged <- t.privileged end;
It appears that the last line should be fun npriv -> t.privileged <- npriv
since npriv is the accumulation of all the changes above it.
(additionally subsequently matching is done on the old_ip to update it, should it not match on name?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.