Skip to content

Get client IP when using TLS/SSH connections#277

Merged
avsm merged 3 commits into
mirage:masterfrom
victorgomes:master
Aug 17, 2019
Merged

Get client IP when using TLS/SSH connections#277
avsm merged 3 commits into
mirage:masterfrom
victorgomes:master

Conversation

@victorgomes
Copy link
Copy Markdown
Contributor

This is related to issue #188
The client IP and port wasn't properly propagated.

@Silur
Copy link
Copy Markdown

Silur commented Jan 16, 2019

what's keeping back from merging this?

@avsm
Copy link
Copy Markdown
Member

avsm commented Jan 16, 2019

@Silur a lack of review and testing time. Have you tried this patch and can you report anything about it?

@victorgomes
Copy link
Copy Markdown
Contributor Author

I've been using this patch in our server: https://cerberus.cl.cam.ac.uk

@deuszex
Copy link
Copy Markdown

deuszex commented Jan 16, 2019

I was directed here from issue number #286
To run the pr had to downgrade ipaddr to 2.9.0 and tls to 0.9.2 then it worked as expected and got the ip of the client who connected in to our server

@deuszex
Copy link
Copy Markdown

deuszex commented Mar 26, 2019

will there be anything of this?

@avsm avsm merged commit aeca8a1 into mirage:master Aug 17, 2019
avsm added a commit to avsm/opam-repository that referenced this pull request Aug 17, 2019
… conduit-lwt-unix (2.0.0)

CHANGES:

* lwt-unix: obtain client IP correctly when using TLS connections (mirage/ocaml-conduit#277 @victorgomes)
* lwt-unix: replace the dune/ocaml file with a `(select)` build form.
  This avoids invoking `ocamlfind` from the build, and fits in with the
  rest of dune builds much more naturally (@avsm).
* lwt-unix: force callers to give a custom callback `on_exn` in case of exceptions
  to avoid random crashes (mirage/ocaml-conduit#261 @kit-ty-kate)
* mirage: use `dns-client>=4.0.0` which is the `udns` implementation (mirage/ocaml-conduit#290 @hannesm)
* mirage: rename `mirage-conduit` to `conduit-mirage` to fit the naming structure
  of this library suite more.  All new users of Mirage should use `conduit-mirage`,
  and migrating should involve simply swapping the name in your `dune` and `opam`
  files (mirage/ocaml-conduit#302 @hannesm @avsm)
* async: expose `verify_mode` correctly in `Conduit_async` (mirage/ocaml-conduit#298 @brendanlong)
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.

4 participants