Article delegate-en/4129 of [1-5109] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:]  
VSAP and HTTP/ACCEPT (Re: performance measurements and socks question)
Fri, 12 Sep 2008     Yutaka Sato

Hi,

In message  on 09/11/08(20:14:03)
you Andre wrote:
 |The functionality you implemented in the VSAP protocol is actually not
 |possible with other SOCKS implementations and I also suspected this to
 |be an extension of the socks protocol. But the possibility is actually
 |quite neat :) and this is exactly what I'm looking for. Might it be
 |possible to get a translation of the
 |japanese version?

The only documentation of VSAP is in its source file "src/vsap.c"
VSAP was designed to replace the SOCKS protocol (but not :p)
It is totally different from SOCKS protocol (but can wrap it if necessary)
The VSAP protocol is very simple and you can test it as follows:

  (VSAP-server)
  A  % delegated -P9999 SERVER=vsap -fv
  
  (VSAP-client acting as a server)
  B  % telnet localhost 9999
  C  BIND *:9998
  d  VSAP/0.1 210 1 0.0.0.0:9998 bound.
  E  LISTEN 1
  f  VSAP/0.1 220 listen ok.
  G  ACCEPT
  i  VSAP/0.1 230 1 127.0.0.1:9998 127.0.0.1:64312 accepted.
  J  RELAY
  l  aaa
  M  bbb
  
  (a client)
  H  % telnet localhost 9998
  K  aaa
  n  bbb


And I'm reminded that I made another similar protocol as an extension for
the HTTP protocol adding new "ACCEPT" method.
The specification is in "src/htaccept.c" :)

  (HTTP-server)
  A  % delegated -P9999 SERVER=http -fv HTTPCONF=methods:+,ACCEPT REMITTABLE=+,tcprelay

  (HTTP-client acting as a server)
  B  % telnet localhost 9999
  C  ACCEPT *:9998 HTTP/1.1
  d  HTTP/1.1 100 bound
  d  Host: 0.0.0.0:9998
  d
  f  HTTP/1.1 200 accepted
  f  Host: 127.0.0.1:64947
  f
  h  xxx
  I  yyy

  (a client)
  E  % telnet localhost 9998
  G  xxx
  j  yyy


Cheers,
Yutaka
--
  9 9   Yutaka Sato http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller
  search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V