rust-tls-server

Web server for handling HTTPS using TLS

https://github.com/bohdaq/rust-tls-server

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary

Keywords

https rust server
Last synced: 4 months ago · JSON representation ·

Repository

Web server for handling HTTPS using TLS

Basic Info
  • Host: GitHub
  • Owner: bohdaq
  • License: other
  • Language: Rust
  • Default Branch: main
  • Homepage:
  • Size: 188 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 6
Topics
https rust server
Created about 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.md

rust-tls-server

rust-tls-server is a web server capable of serving static content over https.

Features

  1. HTTPS via Mozilla Intermediate TLS
  2. Self-signed certificate out of the box
  3. Strict Transport Security
  4. Content Security Policy is set to serve assets only from https sources. Inline javascript is forbidden
  5. Referer Policy is set
  6. Cross-Origin Resource Sharing (CORS). Allowing resources to be used on other domains can be crucial for providing APIs and services. Knowing how cumberstone and difficult is the process to setup the CORS, server ships with CORS enabled to all requests by default.
  7. HTTP Range Requests. Server supports requests for the part of the file, or several different parts of the file.
  8. HTTP Client Hints. Proactively asking client browser for suitable additional information about the system.
  9. X-Content-Type-Options set to nosniff, prevents from MIME type sniffing attacks.
  10. X-Frame-Options. Site is not allowed to be embedded into iframe on other domains.
  11. Symlinks. You can have symlinks in your folder and they will be resolved correctly.
  12. Caching done right. It means no caching and therefore no outdated uncontrollable resources.
  13. Resolving .html files without .html in path. It means if you try to open /some-html-file it will open file some-html-file.html and won't show 404 not found error. Same applies for folders. If you try to open /folder it will open file folder/index.html
  14. Extensive logging. It means server prints the request-response pairs as they are so you can see all the details like request method, path, version and headers.
  15. No third party dependencies.

Download

Download binary from Google Drive.

Installation

Open INSTALL for details.

Development

Open DEVELOPER for details.

Configuration

Open CONFIGURE for details.

Frequently Asked Questions

Open FAQ for details.

Community

Use GitHub discussions, issues and pull requests.

There is Rust Web Server Discord where you can ask questions and share ideas.

Follow the Rust code of conduct.

Donations

If you appreciate my work and want to support it, feel free to do it via PayPal.

Links

  1. Rust Web Server
  2. http-to-https-letsencrypt
  3. Rust Web Framework
  4. Create Debian Package
  5. Create RPM Package
  6. Homebrew Formula
  7. crypto-ext
  8. file-ext

Owner

  • Name: Bohdan Tsap
  • Login: bohdaq
  • Kind: user

Citation (CITATION.cff)

cff-version: 0.0.1
message: "If you use this software, please cite it as below."
authors:
  - family-names: Tsap
    given-names: Bohdan
    orcid: https://orcid.org/0000-0002-5221-5607
    email: bohdan.tsap@tutanota.com
title: "Rust TLS Server"
version: 16.0.0
doi: 10.5281/zenodo.8233759
date-released: 2023-08-10
url: "https://github.com/bohdaq/rust-tls-server/"

GitHub Events

Total
Last Year

Dependencies

Cargo.toml cargo