storj/satellite
Yingrong Zhao 7e80badaf9 pkg/server,pkg/quic: accept an existing conn to create quic listener and
allow disabling tcp/quic

In order to have more control of a server so that we can
simulate connection failures in `testplanet`, this PR changes
quic.Listener to accept an existing UDPConn instead of relying on the
quic-go library to create the UDPConn.
This PR also adds two flags on the `server.Config` struct to allow
enabling/disabling tcp/tls listener and quic listener. By default, they
are both set to true.
    - `DisableTCPTLS`: internal flag, disables tcp/tls listener.
    - `DisableQUIC`: hidden flag, disables quic listener
By making the `DisableQUIC` a hidden flag, it allows storagenode operators to
have the ability to disable quic traffic in case their set up can't work
with udp traffic.

Change-Id: I853b12435d988b9c41ad9b873fd57480d792e378
2021-02-03 12:04:29 -05:00
..
accounting satellite/orders: Delete unused methods & DB tables 2021-02-01 18:01:29 +00:00
admin satellite/console: Add ability to list projects by owner ID 2021-01-15 14:22:22 +00:00
attribution all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
audit all: minor cleanups 2020-12-16 10:47:46 +00:00
compensation satellite/compensation: add total-paid and total-distributed to invoices 2021-02-02 18:14:31 +00:00
console satellite/console/consolewasm: assert less about error 2021-02-03 10:36:58 -05:00
contact satellite/{contact,nodestats,overlay,satellitedb}: remove references to total_uptime_count and uptime_success_count columns 2021-01-19 15:43:02 -05:00
gc all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
gracefulexit cmd/satellite: Add command for GE data cleanup 2021-02-01 17:30:58 +00:00
inspector all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
internalpb satellite/orders: use smaller encrypted metadata 2021-01-08 16:40:31 +00:00
mailservice all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
marketingweb all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
metainfo satellite/metainfo: add unimplemented ListPendingObjectStreams 2021-02-02 16:51:36 +02:00
metrics satellite/metainfo: get away from using pb.Pointer in Metainfo Loop 2020-10-27 13:06:47 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection satellite/overlay: use DownloadSelectionCache for getting node IPs 2021-01-29 16:47:10 +02:00
nodestats satellite/{contact,nodestats,overlay,satellitedb}: remove references to total_uptime_count and uptime_success_count columns 2021-01-19 15:43:02 -05:00
orders satellite/orders: Delete unused methods & DB tables 2021-02-01 18:01:29 +00:00
overlay satellite/overlay: use DownloadSelectionCache for getting node IPs 2021-01-29 16:47:10 +02:00
payments satellite/payments/stripecoinpayments: fix tests failing in 2021 2021-01-04 10:47:31 +01:00
referrals all: minor cleanups 2020-12-16 10:47:46 +00:00
repair satellite/repair: fix comment in TestRepairExpiredSegment 2021-02-03 10:09:49 +02:00
revocation all: fix dots 2020-07-16 14:58:28 +00:00
rewards adding hypernet to the list (#4025) 2021-01-20 10:52:29 -05:00
satellitedb satellite/projectaccounting: Improve performance of ProjectAccounting.getBuckets 2021-02-03 14:05:12 +00:00
snopayouts satellite/satellitedb: add distributed column and migration 2021-02-01 16:33:14 +00:00
admin.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
api.go pkg/server,pkg/quic: accept an existing conn to create quic listener and 2021-02-03 12:04:29 -05:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go satellite/orders: Delete unused methods & DB tables 2021-02-01 18:01:29 +00:00
gc.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
peer.go satellite/orders: Delete unused methods & DB tables 2021-02-01 18:01:29 +00:00
repairer.go satellite/orders: remove unused satelliteAddress field 2021-01-08 12:25:39 -05:00