ben-toogood
38ec233350
proxy/mucp: don't lookup routes if client using proxy ( #1896 )
2020-08-05 12:45:56 +01:00
Asim Aslam
563768b58a
v3 refactor ( #1868 )
...
* Move to v3
Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2020-07-27 13:22:00 +01:00
Di Wu
f9bf562393
fix typo in comments ( #1840 )
...
* remove global error tracking
* rpc_server: fix invalid register err
* fix typo
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-07-16 16:33:11 +01:00
ben-toogood
174e44b846
Deprecate client/selector ( #1767 )
...
* client/{grpc,rpc}: depricate selector (wip)
* {client,cmd}: remove client/selector
* deprecate client/selector
* router/static: fix lookup
* config/cmd: add support for legacy static selector flag
* config/cmd: add support for legacy dns selector flag
2020-07-01 17:06:59 +01:00
ben-toogood
979af853b9
proxy/mucp: use Micro-Namespace to filter networks ( #1772 )
2020-07-01 10:55:46 +01:00
ben-toogood
ee02511658
proxy/mucp: add support for multi-tenancy ( #1746 )
2020-06-26 10:31:06 +01:00
Asim Aslam
29cccd0b4a
minor tweak add log line to proxy and basic auth provider by default ( #1513 )
2020-04-09 14:10:17 +01:00
Asim Aslam
e204f3e2e8
Add metadata Get method ( #1425 )
2020-03-26 18:50:00 +00:00
Asim Aslam
776a7d6cd6
Update filter comment for proxy ( #1416 )
2020-03-26 08:05:00 +00:00
7b385bf163
minimize allocations in logger and tunnel code ( #1323 )
...
* logs alloc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* tunnel allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* try to fix tunnel
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* cache cipher for send
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-11 17:55:39 +00:00
117f56ebf7
prune util/log and user logger ( #1237 )
...
* prune util/log and user logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* plaintext logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* add newline
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-23 13:45:20 +00:00
Asim Aslam
eed8a0bf50
delete proxy cached route before updating ( #1200 )
2020-02-15 12:05:22 +00:00
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Asim Aslam
3e24276eb1
fix break
2020-01-22 16:44:34 +00:00
Asim Aslam
97928e88f8
stop watcher
2020-01-19 23:15:57 +00:00
Asim Aslam
1af82df8b1
Check link is grpc
2020-01-03 19:46:14 +00:00
Asim Aslam
9cecf2e097
make grpc proxy streaming work
2020-01-02 21:11:25 +00:00
Asim Aslam
1ea6390eae
Add proxy string method
2019-12-16 15:18:20 +00:00
Asim Aslam
03700ae6c0
Replace proxy options
2019-12-16 14:55:47 +00:00
Asim Aslam
679214e598
just return filtered routes
2019-12-08 15:39:45 +00:00
Asim Aslam
c445aed6b1
Cleanup and speedup network convergence along with direct messaging for connect and solicit
2019-12-07 19:54:29 +00:00
Milos Gajdos
5865e89bed
Fixing dead code and go vet moaning
2019-12-05 16:10:49 +00:00
a1eaf9cc20
linting fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-12-04 00:22:02 +03:00
Astone
29fb58db39
improve code quality
2019-12-03 20:59:02 +08:00
Asim Aslam
080363e8c4
The mega cruft proxy PR ( #974 )
...
* the mega cruft proxy PR
* Rename broker id
* add protocol=grpc
* fix compilation breaks
* Add the tunnel broker to the network
* fix broker id
* continue to be backwards compatible in the protocol
2019-11-25 16:31:43 +00:00
Till Knuesting
24b8d2a315
preallocating slices ( #904 )
...
* preallocated some slices when size is known
* gofmt
* gofmt
2019-11-04 10:33:53 +00:00
tegk
f88518d994
used gofmt with -s flag on whole project
2019-11-01 15:07:53 +00:00
Asim Aslam
174fbde049
add ability to filter routes based on headers
2019-10-31 22:34:06 +00:00
Asim Aslam
51922c1763
Refresh route metrics in the proxy
2019-10-25 22:46:43 +01:00
Asim Aslam
f26d470db1
A few changes for the network / tunnel link state
2019-10-24 17:51:41 +01:00
Asim Aslam
f792fac1cc
Round robin routes we've sorted by metric
2019-10-22 11:53:49 +01:00
Asim Aslam
fe94237448
Update router querying method ( #834 )
...
* Add address to router query options. Drop Query interface for QueryOptions
* Cleanup isMatch function
* Update network proto
2019-10-09 17:13:52 +01:00
Asim Aslam
4eb1aaae85
Fix the proxy watcher
2019-09-20 16:25:29 +01:00
Asim Aslam
721c5e6857
fix broken build
2019-08-29 13:11:20 +01:00
Asim Aslam
7d033818cf
if the service name is blank, barf
2019-08-29 13:10:06 +01:00
Asim Aslam
955dc2a23d
change where we order the routes
2019-08-23 14:11:53 +01:00
Asim Aslam
934b8eb86d
Error as link not found
2019-08-23 14:09:57 +01:00
Asim Aslam
b7f510ff64
support links in the proxy
2019-08-23 14:05:11 +01:00
Asim Aslam
4495ca3839
Use client.Call for non streaming requests
2019-08-16 17:24:17 +01:00
Asim Aslam
0b0eee41d0
functioning proxy code
2019-08-16 16:46:29 +01:00
Asim Aslam
5a5b1b8f6e
only continue to stream when its a stream
2019-08-15 20:54:28 +01:00
Asim Aslam
c0a676bfa9
Only check the router status if the lookup fails
2019-08-12 17:06:08 +01:00
Asim Aslam
4030ccc27b
Move proxy/router
2019-08-05 17:44:33 +01:00
Asim Aslam
3f97743e34
Move router and proxy into network package
2019-06-21 17:20:31 +01:00
Asim Aslam
d3a6297b17
Add working grpc proxy config
2019-06-18 18:51:52 +01:00
Asim Aslam
97967cbe14
move options under config
2019-06-12 12:45:42 +01:00
Asim Aslam
9e23855c37
Fixup the proxy, strip down go.mod. Win bigly
2019-06-07 13:42:39 +01:00
Asim Aslam
a58bc8e75c
add proxy interface and move router packages
2019-06-06 17:55:32 +01:00