Tom Wilkie
903a51397b
Review feedback
2015-08-28 09:19:56 +00:00
Tom Wilkie
1a286eac04
Use an exec'd conntrack in 'events' mode instead of repeatedly execing it for NAT mappings. Also use conntrack to populate the endpoint table.
2015-08-27 16:29:33 +00:00
Tom Wilkie
7ca9dd32e6
Revert "Also use conntrack to populate the endpoint topology."
...
This reverts commit f89044a381 .
2015-08-21 14:55:39 +00:00
Tom Wilkie
f89044a381
Also use conntrack to populate the endpoint topology.
2015-08-21 13:51:00 +00:00
Tom Wilkie
6f1f453098
Review feedback
2015-08-19 12:22:28 +00:00
Tom Wilkie
89df11bbfd
Make edge direction flow from client->server.
2015-08-19 10:17:24 +00:00
Peter Bourgon
b9afa67ad6
gopacket-based traffic sniffing
2015-08-03 10:55:59 +02:00
Peter Bourgon
3dd59c8b9b
Fixes to NodeMetadata
...
NewNodeMetadata -> MakeNodeMetadata. It doesn't return a pointer, so
Make is more idiomatic.
Invoke MakeNodeMetadata when necessary. The zero value for a
NodeMetadata is no longer valid.
Split MakeNodeMetadata to two constructors. MakeNodeMetadata when you
don't have anything to prepopulate; MakeNodeMetadataWith when you do.
Also, a fix to the tests in app. We unmarshal a RenderableNode struct,
which has a JSON-ignored NodeMetadata field. The zero value is invalid,
so we need to fix that before performing comparisons.
2015-07-30 17:20:44 +02:00
Peter Bourgon
fc308d93b8
Normalize var names; use Addr/Port key constants
2015-07-30 16:36:27 +02:00
Tom Wilkie
f85195308c
report.Metadata -> map[string]string
2015-07-16 12:06:05 +00:00
Tom Wilkie
c2065836e2
Make NodeMetadata a struct, move existing map[string]string to NodeMetadata.Metadata
2015-07-15 10:06:36 +00:00
Paul Bellamy
95f941ff2d
const-izing NodeMetadata fields
2015-07-02 14:51:12 +01:00
Paul Bellamy
a9b53f6d76
refactoring some common logic
2015-07-02 14:19:38 +01:00
Peter Bourgon
d9a37df783
WeaveTagger becomes Weave, both Reporter & Tagger
2015-06-30 12:05:32 +02:00
Peter Bourgon
f4b3930a19
Probe re-org
...
- tag/weave* -> package overlay
- tag/origin_host* -> package host
- tag/topology* -> package main
2015-06-30 10:18:00 +02:00
Tom Wilkie
a4ddd0094f
Duplicate endpoints in the endpoint topology to account for NAT mapping.
...
Also, move spy.go into probe/endpoint and make it adhere to the Reporter interface.
2015-06-23 10:33:06 +00:00