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

Use https for everything between oio-swift and the rest #1982

Open
2 of 4 tasks
martinetd opened this issue Jan 29, 2020 · 0 comments
Open
2 of 4 tasks

Use https for everything between oio-swift and the rest #1982

martinetd opened this issue Jan 29, 2020 · 0 comments

Comments

@martinetd
Copy link
Contributor

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

common?

SUMMARY

Our security officer requires us to run the swift gateway on a separate network as a kind of fuse between users and the rest of the oio cluster, and only encrypted traffic is allowed between the two networks.
We thus need to upgrade all plain text connections from http to https from the client.
(server setup is fairly straightforward, either a simple https reverse proxy for the oioproxy, or directly add https to the rawx apache config)

Recap of the work so far:

https to rawx

I'm not sure on that. My current understanding is that the meta-2 store the rawx url 'as is', and one might want to allow a mix of plain/crypted in which case changing the url on meta-2 isn't the best thing to do.
On the other hand, while the client could just rewrite all http links to https if the oioproxy connection is in https, if the ports involved aren't 80/443 I don't see how it could be guessed so that isn't straightforward either, so going full https might be the best way forward. It might be counter-intuitive though if that does not allow conversion for existing files easily?

public object URLs

When using e.g. s3cmd put --acl-public file s3://bucket/file I get this kind of url back:
Public URL of the object is: http://swiftgateway:6010/bucket/file
where 6010 is the https port and I have use_https = true in my .s3cfg configuration; so I assume this http comes back from the oio code somewhere.

I haven't started looking, I cannot get the url to work using plain either anyway, it might be a moot point.

Thanks!

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

No branches or pull requests

1 participant