]> git.treefish.org Git - fex.git/blob - htdocs/SEX.html
Original release 20150120
[fex.git] / htdocs / SEX.html
1 <HTML> 
2 <HEAD><TITLE>Stream EXchange</TITLE></HEAD>
3 <BODY>
4 <center></center>
5 <h1>Stream EXchange (SEX)</h1>
6
7 You can imagine SEX as network wide UNIX pipes with a relay between or as
8 network based FIFOs.<br>
9 This can be useful for piping data from A to B where
10 A and B cannot establish a direct connection, but both can connect to the
11 SEX-server by HTTP.<br>
12 SEX is a synchronous service in conjuction to F*EX
13 which is asynchronous.
14 <p>
15 For seamless integration into the UNIX tool chain, there are the
16 shell-tools <a href="download/sex.tar">sexsend and sexget</a>.
17 <p>
18 Using web browsers for sexing will not work, because they cannot handle
19 streams in a pipe. So far, there are only the UNIX clients. Feel free to
20 implement other clients for other operating systems :-)
21 <p>
22 Authentication is the same as with <a href="/">F*EX</a>.
23 <p>
24 Example:
25 <p>
26 <PRE>
27   root@lanldap:/var/log: tail -f syslog | sexsend framstag@rus.uni-stuttgart.de
28
29   framstag@blubb:/tmp: sexget | grep ldap
30 </PRE>
31 <p>
32 If you need encryption, then use the standard UNIX toolbox and add an
33 appropriate program to the pipe, for example: openssl bf
34
35 <h3>public SEX</h3>
36 The recipient of regular SEX must be a registered F*EX user.<br>
37 But you can also offer streams to non-registered user.<br>
38 This is called "<em>public SEX</em>", example:
39 <p>
40 <PRE>
41   framstag@flupp: cal | sexsend public
42   http://fex.rus.uni-stuttgart.de/sex?user=framstag@rus.uni-stuttgart.de&ID=public
43   http://fex.rus.uni-stuttgart.de/sex?dXNlcj1mcmFtc3RhZ0BydXMudW5pLXN0dXR0Z2FydC5kZSZJRD1wdWJsaWM=
44 </PRE>
45 <p>
46 sexsend then displays two URLs onder which one can get the stream.
47
48 <h3>SEX - all inclusive</h3>
49 To transfer files by streaming you can use xx-rated SEX:
50 <p>
51 <PRE>
52   root@vms2:/data/VM# <a href="/download/fuck.tar">sexxx</a> flupp
53   streaming:
54   flupp/
55   flupp/vmware.log
56   flupp/flupp.nvram
57   flupp/flupp.vmxf
58   flupp/flupp.vmx
59   flupp/flupp.vmdk
60   4976 MB 11640 kB/s
61 </PRE>
62
63 </BODY>
64 </HTML>