Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move to a new "Service" config format #182

Merged
merged 130 commits into from
Sep 4, 2024
Merged

Conversation

sbruens
Copy link

@sbruens sbruens commented Jun 3, 2024

We introduce a concept of a Service. Services listen on an address and accept a set of ciphers. This generalization allows us to move away from a single port->cipher map.

@sbruens sbruens requested a review from fortuna June 3, 2024 21:35
@sbruens sbruens marked this pull request as ready for review June 3, 2024 21:35
@sbruens sbruens requested a review from a team as a code owner June 3, 2024 21:35
@sbruens
Copy link
Author

sbruens commented Jun 3, 2024

@fortuna PTAL while I'm out. I'll pick it back up once I'm back next week.

Copy link

@juev juev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A very good point is that ports are now used as they are described in the configuration file.

cmd/outline-ss-server/config.go Outdated Show resolved Hide resolved
cmd/outline-ss-server/config.go Outdated Show resolved Hide resolved
cmd/outline-ss-server/config.go Outdated Show resolved Hide resolved
cmd/outline-ss-server/config.go Outdated Show resolved Hide resolved
net/address.go Outdated Show resolved Hide resolved
net/address.go Outdated Show resolved Hide resolved
net/address.go Outdated Show resolved Hide resolved
net/address.go Outdated Show resolved Hide resolved
cmd/outline-ss-server/config.go Outdated Show resolved Hide resolved
cmd/outline-ss-server/config.go Outdated Show resolved Hide resolved
cmd/outline-ss-server/main.go Outdated Show resolved Hide resolved
cmd/outline-ss-server/main.go Outdated Show resolved Hide resolved
cmd/outline-ss-server/main.go Outdated Show resolved Hide resolved
@sbruens sbruens requested review from fortuna and jyyi1 June 14, 2024 18:43
@sbruens sbruens force-pushed the sbruens/shared-listeners branch from 707bc35 to 80e5d49 Compare August 7, 2024 14:49
Base automatically changed from sbruens/shared-listeners to master August 28, 2024 13:26
@sbruens
Copy link
Author

sbruens commented Aug 28, 2024

@fortuna PTAL now that the listener changes have been merged

@sbruens sbruens merged commit 9992735 into master Sep 4, 2024
5 checks passed
@sbruens sbruens deleted the sbruens/proxy branch September 4, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants