Paul Bellamy
1edeb8d190
Removing report.Node.WithID ( #1315 )
...
* removing usage of report.Node.WithID
* report.Topology.AddNode can use the node's ID field
2016-04-19 16:48:03 +01:00
Tom Wilkie
6b56475766
Use ps.Map for Counters and Sets, remove Metadata in favour of Latest.
...
Also
- Add more complicated report.json for benchmark
- Break up report/topology.go
- Implement our own DeepEqual for ps.Map
2016-01-22 15:10:32 -08:00
Tom Wilkie
a3c53aadf5
No more nil flow workers
2015-10-27 10:53:23 +00:00
Peter Bourgon
cb40ad3a90
Continued un-exporting of symbols; renames
...
- Unexport consts, types, vars, etc.
- Rename Conntracker (interface) to FlowWalker, to match its definition.
- Rename conntracker (type) to conntrackWalker, to match the interface.
- Move conntrack_test.go to conntrack_internal_test.go and package endpoint
2015-10-27 10:40:09 +00:00
Peter Bourgon
6ae5077515
Un-export NATMapper
...
Lots of TODOs to clean up...
2015-10-27 10:38:22 +00:00
Peter Bourgon
32a57e63db
probe/endpoint: NATMapper missed an edge case
...
NATMapper can be created with a nil Conntracker if
ConntrackerModulePresent is false, e.g. on Darwin.
Check for that in ApplyNAT.
2015-10-27 10:36:52 +00:00
Tom Wilkie
e2dfcb1def
Review feedback
2015-09-24 03:07:20 +00:00
Tom Wilkie
7da599194d
Test the nat mapper.
2015-09-23 11:01:29 +00:00
Tom Wilkie
766d8772d7
Do a conntrack -L before -E to capture existing connections and NAT mappings.
2015-09-15 10:02:59 +00:00
Tom Wilkie
925851169e
Use AddNode when adding nodes to the topology, such that the get merged with any existing node that might be there.
2015-09-15 10:02:58 +00:00
Tom Wilkie
57f7b4f2e6
Rename NodeMetadata -> Node
2015-09-03 16:18:54 +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
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