add structure

This commit is contained in:
eyedeekay
2024-11-20 18:09:42 -05:00
parent 071f31f674
commit 40a80dae8d
34 changed files with 37 additions and 33 deletions

36
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,36 @@
Contributing
============
Project Structure
-----------------
```md
# Libraries:
lib/http/client # high level http.Client implementation, filtering middleware, HTTP outproxy client, encrypted leaseSet middleware
lib/http/server # high level http.Server implementation
lib/http/server/listener # high level net.Listener implementation, filtering middleware
lib/irc/client # high level net.Conn implementation, filtering middleware, ??encrypted leaseSet middleware??
lib/irc/socksclient # high level net.Dialer implementation, filtering middleware, ??encrypted leaseSet middleware??
lib/irc/server # high level net.Listener implementation, filtering middleware
lib/socks/client # high level net.Conn implementation, filtering middleware, SOCKS outproxy client, ??encrypted leaseSet middleware??
lib/standard/client # high level net.Dialer implementation, filtering middleware
lib/standard/server # high level net.Listener implementation, filtering middleware
lib/udp/client # high level net.Conn implementation, filtering middleware
lib/udp/server # high level net.Listener implementation, filtering middleware
lib/tun/client # high level songgao.Water implementation using SOCKS5 backend, configuration tooling
# Commands
cmd/http/client # starts an HTTP proxy listening on a port, forwarding requests to lib/http/client's http.Client
cmd/http/server # starts a client connected to a local port, forwarding requests to and lib/http/service/listener's custom net.Listener
cmd/irc/client # starts a proxy listening on a port, forwarding requests to lib/irc/client's custom net.Conn implementation
cmd/irc/socksclient # starts a SOCKS proxy listening on a port forwarding requests to lib/irc/socksclient's custom net.Dialer
cmd/irc/server # starts a client connected to a port, forwarding requests to lib/irc/server's custom net.Listener
cmd/socks/client # starts a SOCKS5 proxy lisening on a port forwarding requests to lib/irc/server's custom net.Dialer
cmd/standard/client # starts a proxy listening on a port forwarding requests to lib/standard/client's custom net.Conn
cmd/standard/server # start a client connected to a local port forwarding requests to lib/standard/server's custom net.Listener
cmd/udp/client # start a "quasi-server" which forwards datagrams to and from lib/udp/client's custom net.Conn
cmd/udp/server # start a "quasi-client" which forwards datagrams to and from lib/udp/server's custom net.Listener
cmd/tun/client # start a TUN device forwarding to a SOCKS proxy
```

View File

@ -21,45 +21,13 @@ I2PTunnel Client
- [] SOCKS Proxy Client
- [] SOCKS IRC Client
- [] UDP Client(Not in I2PTunnel Java)
- [] TUN Device(Not in I2PTunnel Java, may require root)
- [] TUN Device(Not in I2PTunnel Java, may require root or linux namespaces)
Omitted:
--------
- [] SOCKS4* Client
### Structure
```md
# Libraries:
lib/http/client # high level http.Client implementation, filtering middleware, encrypted leaseSet middleware
lib/http/server # high level http.Server implementation
lib/http/server/listener # high level net.Listener implementation, filtering middleware
lib/irc/client # high level net.Conn implementation, filtering middleware, ??encrypted leaseSet middleware??
lib/irc/socksclient # high level net.Dialer implementation, filtering middleware, ??encrypted leaseSet middleware??
lib/irc/server # high level net.Listener implementation, filtering middleware
lib/socks/client # high level net.Conn implementation, filtering middleware, ??encrypted leaseSet middleware??
lib/standard/client # high level net.Dialer implementation, filtering middleware
lib/standard/server # high level net.Listener implementation, filtering middleware
lib/udp/client # high level net.Conn implementation, filtering middleware
lib/udp/server # high level net.Listener implementation, filtering middleware
lib/tun/client # high level songgao.Water implementation using SOCKS5 backend, configuration tooling
# Commands
cmd/http/client # starts an HTTP proxy listening on a port, forwarding requests to lib/http/client's http.Client
cmd/http/server # starts a client connected to a local port, forwarding requests to and lib/http/service/listener's custom net.Listener
cmd/irc/client # starts a proxy listening on a port, forwarding requests to lib/irc/client's custom net.Conn implementation
cmd/irc/socksclient # starts a SOCKS proxy listening on a port forwarding requests to lib/irc/socksclient's custom net.Dialer
cmd/irc/server # starts a client connected to a port, forwarding requests to lib/irc/server's custom net.Listener
cmd/socks/client # starts a SOCKS5 proxy lisening on a port forwarding requests to lib/irc/server's custom net.Dialer
cmd/standard/client # starts a proxy listening on a port forwarding requests to lib/standard/client's custom net.Conn
cmd/standard/server # start a client connected to a local port forwarding requests to lib/standard/server's custom net.Listener
cmd/udp/client # start a "quasi-server" which forwards datagrams to and from lib/udp/client's custom net.Conn
cmd/udp/server # start a "quasi-client" which forwards datagrams to and from lib/udp/server's custom net.Listener
```
### Usage
```Go

0
cmd/doc.md Normal file
View File

0
cmd/http/client/doc.md Normal file
View File

0
cmd/http/doc.md Normal file
View File

0
cmd/http/server/doc.md Normal file
View File

0
cmd/irc/client/doc.md Normal file
View File

0
cmd/irc/doc.md Normal file
View File

0
cmd/irc/server/doc.md Normal file
View File

0
cmd/socks/client/doc.md Normal file
View File

0
cmd/socks/doc.md Normal file
View File

View File

0
cmd/standard/doc.md Normal file
View File

View File

0
cmd/udp/client/doc.md Normal file
View File

0
cmd/udp/doc.md Normal file
View File

0
cmd/udp/server/doc.md Normal file
View File

0
lib/doc.md Normal file
View File

0
lib/http/client/doc.md Normal file
View File

0
lib/http/doc.md Normal file
View File

0
lib/http/server/doc.md Normal file
View File

0
lib/irc/client/doc.md Normal file
View File

0
lib/irc/doc.md Normal file
View File

0
lib/irc/server/doc.md Normal file
View File

0
lib/socks/client/doc.md Normal file
View File

0
lib/socks/doc.md Normal file
View File

View File

0
lib/standard/doc.md Normal file
View File

View File

0
lib/tun/client/doc.md Normal file
View File

0
lib/tun/doc.md Normal file
View File

0
lib/udp/client/doc.md Normal file
View File

0
lib/udp/doc.md Normal file
View File

0
lib/udp/server/doc.md Normal file
View File