storj/storagenode
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
..
apikeys multinode/console: list node infos 2021-01-05 14:49:11 +00:00
bandwidth all: minor cleanups 2020-12-16 10:47:46 +00:00
collector error handling in heldamount cash and collector delete fixed 2020-07-22 12:26:13 +00:00
console storagenode/{payouts,console}: use same time for all calculations 2021-02-01 13:59:50 +02:00
contact all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
gracefulexit storagenode/gracefulexit: omit finished exits from ListPendingExits 2021-02-01 15:28:50 +00:00
inspector all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
internalpb {satellite,storagenode}/internalpb: use specific package name 2020-10-30 17:31:08 +02:00
monitor multinode/console: list node infos 2021-01-05 14:49:11 +00:00
multinode storanode, satellite: payout renamed to payouts, expected estimation payouts added, console api for audits reworked 2021-01-18 10:56:03 +00:00
nodestats web/storagenode: remove uptime columns and references 2021-01-29 15:36:59 -05:00
notifications web/storagenode: remove uptime columns and references 2021-01-29 15:36:59 -05:00
orders satellite/orders: Delete unused methods & DB tables 2021-02-01 18:01:29 +00:00
payouts storagenode/payouts: Distributed added to paystubs 2021-02-02 13:51:43 +00:00
pieces all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
piecestore storgenode/piecestore: Log upload size on Upload 2020-12-28 10:28:09 +00:00
piecetransfer storagenode/gracefulexit: logic moved from worker to service 2020-10-22 23:19:30 +00:00
preflight pkg/server,pkg/quic: accept an existing conn to create quic listener and 2021-02-03 12:04:29 -05:00
pricing all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
reputation web/storagenode: remove uptime columns and references 2021-01-29 15:36:59 -05:00
retain storagenode: fixed logging about piece being moved to trash, and added logging when piece was actually deleted 2020-08-02 20:00:05 +03:00
satellites all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
storagenodedb storagenode/payouts: Distributed added to paystubs 2021-02-02 13:51:43 +00:00
storageusage all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
trust all: add missing dots 2020-08-11 17:50:01 +03:00
version storagenode/suspensions: added offline-suspension notificatio chore + tests 2020-10-29 19:44:22 +02:00
operator.go all: fix dots 2020-07-16 14:58:28 +00:00
peer.go pkg/server,pkg/quic: accept an existing conn to create quic listener and 2021-02-03 12:04:29 -05:00