IETF-SSH archive

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

Re: Other Socket Tunnels (Was: New draft Possibilities)



I was just wondering if there has ever been any
thought put to making a draft of a UDP tunnel like the
TCP forwarding function.

I was tossing this idea along with unix domain sockets/windows named pipes and thought it might make more sense to define a generic "socket tunnel" session or subsystem. Something like:

  byte      SSH_MSG_CHANNEL_OPEN
  string    "direct-socket"
  string    socket type name (e.g. "udp","unix","named-pipe")
  uint32    sender channel
  uint32    initial window size
  uint32    maximum packet size
  ...          socket type specific data

"udp" (might as well support "tcp" as well for completeness)
  string    host to connect
  uint32    port to connect
  string    originator IP address
  uint32    originator port

"unix"
 string     path to socket
bool datagram (Never seen a use for AF_UNIX/SOCK_DGRAM personally but it is possible...)

"named-pipe"
 string     hostname
 string     pipename
 uint32    flags

Obviously still issues to work out with connection based vs. connectionless and reliability etc... But at the very least, the "unix"(SOCK_STREAM version) and "named-pipe" sockets could prove useful.

-Sara



Home | Main Index | Thread Index | Old Index