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)



>>   bool      datagram    (Never seen a use for AF_UNIX/SOCK_DGRAM
>> personally but it is possible...)
> I'm pretty sure I have; I just can't remember what offhand.

Doing "fstat | egrep 'unix dgram'", I see syslog, plus a bunch of stuff
of my own (most of my code using such sockets uses them to transfer
file descriptors between processes at run time with SCM_RIGHTS, though
there are exceptions).

Whether there is value in forwarding AF_LOCAL sockets is questionable.
Such forwarding will necessarily break certain facilities which some
users of AF_LOCAL assume will work, such as SCM_CREDS, and I don't
think it's unreasonable for code using AF_LOCAL sockets to blindly
assume that both ends are running on the same machine (and thus, for
example, agree on the size and byte order of ints)....

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse%rodents.montreal.qc.ca@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B



Home | Main Index | Thread Index | Old Index