eecheng87 / ESCA

Effective System Call Aggregation
https://eecheng87.github.io/ESCA/
MIT License
38 stars 5 forks source link

Support TLS in Nginx #17

Open eecheng87 opened 2 years ago

eecheng87 commented 2 years ago

The current implementation doesn't consider TLS processing. However, SSL/TLS have been employed (typically in the form of HTTPS) by 64.3% of the 137,502 most popular websites on the Internet as reported in November 2018.

Expected modifications:

  1. rewrite Makefile, Nginx should be configured with SSL module (--with-http_ssl_module).
  2. Since user-land encryption, sendfile is replaced with write. Thus, wrapper of write should be added in ngx.c.
  3. Add script to generate RSA/ECDSA key for TLS server.

Similar changes can be referenced in SAIO in the coming weeks.