Re: Channel documentation?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

rapier wrote:
> Is there any documentation (outside of the code) describing the channel 
> functions?

The channel functions in the OpenSSH codebase? Probably no.


> I'm looking at using a secondary channel to periodically report back
> receiver side TCP metrics (via the TCP_INFO struct) to the caller for
> flow diagnostics. Alternatively, is there a good place in the code
> base I can use as a starting point to understand the process?

Are you familiar with channels in general? RFC 4254 5. Channel Mechanism.

If you want to control exactly when data from (your metric) channels
are sent on the wire I think you have to do quite a deep dive into the code.

If you care less about jitter then you can maybe look at SFTP but
probably much better any of the socket forwarding.

If you want to implement the metric completely in the application layer
you could investigate creating it in a subsystem, which (like SFTP) is
also just a channel.


//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux