-1

I can't undersatand this :

All communication happens using SSH with port forwardings in both directions

Any help?

Thanks.

closed as unclear what you're asking by JFL, user36472, Ron Maupin Mar 2 '18 at 14:07

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • we need more context, without more details it is impossible to see what this is about. – JFL Mar 2 '18 at 10:33
2

All communication happens using SSH with port forwardings in both directions

A well-known search engine suggests it's a quote from RIPE describing the network design for Atlas, its internet monitoring network, which has lots of probes out in the network.

It has this diagram (copied per RIPE public-non-profit permissions)

From reading that document, my understanding is:

  • There's a controller, some kind of server, listening on port 8080.
  • There's a client 'probe', which also has some kind of server process listening on port 8080.
  • If there were no privacy or authentication concerns, they'd just connect and communicate.
  • But they are out in the wild
  • So the probe makes an SSH call back to the client (unusually on port 443) with port forwarding

Which means

  • A connection received by the probe on port 8888 is forwarded to the controller on port 8080.
  • A connection received by the controller on port $remote_port is forwarded to the probe on port 8080.

Implicit in this is that SSH is forwarding TCP streams, not UDP.

There are many possibilities with most SSH software, but the usual situation is the incoming stream appears to come from the localhost in the following way. (Assuming this is web traffic ...) A web browser on the client connects from localhost:random to localhost:8888 where SSH (on the client) is listening. SSH sends the traffic, wrapped up in SSH protocol, to the server, which unwraps it. Then the SSH (on the server) makes a connection from its localhost:random to server's localhost:8080.

There is endless material available on SSH port forwarding to cover it in detail. You'll have to dig through more of RIPE's Atlas project if you want the exact details of what happens there.

Not the answer you're looking for? Browse other questions tagged or ask your own question.