Weitere ähnliche Inhalte
Ähnlich wie sshuttle VPN (2011-04) (20)
Kürzlich hochgeladen (20)
sshuttle VPN (2011-04)
- 26. But when carrying TCP over TCP, the inner TCP never experiences packet loss because the outer TCP fixes it 17
- 28. How do they know the link between is only 1 MBit? 18
- 33. How do they know to transmit at only 500 kbits each? 19
- 43. That's the only reason why large uploads (Bittorrent) make your Internet suck 22
- 46. Then you have about 0.1*600 = 60 kbytes in flight at any moment
- 49. “ As big as possible” is always wrong! 24
- 58. Reduces TCP/IP overhead instead of adding it (especially by merging small packets)
- 60. Can use simple, well-understood streaming encryption (ssh is more trustworthy than IPsec) 28
- 62. sshuttle uses a cheap hack to keep latency low even in heavy-traffic situations
- 63. So if you upload and ssh at the same time, use sshuttle... it'll suck less 29
- 69. Self-assembly: Phase 1 ssh myserver “ python -c ' import sys; skip_imports=1; verbosity=0; exec compile(sys.stdin.read(764), amp;quot;assembler.pyamp;quot;, amp;quot;execamp;quot;) ' ” 32
- 70. Self-assembly: Phase 2 import sys, zlib z = zlib.decompressobj() mainmod = sys.modules[__name__] name = 1 while name: name = sys.stdin.readline().strip() if name: nbytes = int(sys.stdin.readline()) content = z.decompress(sys.stdin.read(nbytes)) exec compile(content, name, "exec") mainmod.__dict__[name[:-3]] = mainmod main() 34
- 82. And sets up your local routing to send those over the VPN 37