Modern forward proxy

Fórumok

Létezik olyan modern opensource forward proxy, ami tud http2-t (client-proxy és proxy-upstream között is)? Squid nem tud, Varnish nem alkalmas forward proxyra.

Köszi!

Hozzászólások

https://github.com/apache/trafficserver/issues/2984

 

Unfortunately, ATS supports only "client side" HTTP/2 connection regardless forward or reverse proxy like below.

Client --(HTTP/2)--> ATS --(HTTP/1.1)--> Origin Server

Origin server side HTTP/2 connection is ongoing project. ( https://github.com/apache/trafficserver/projects/9 )

Szerkesztve: 2019. 12. 20., p – 14:06

haproxy is támogatja 2.0 óta:

frontend fe_main
    mode http
    bind *:80
    bind *:443 ssl crt /etc/haproxy/certs/azoldalad.com.pem alpn h2,http/1.1
    http-request redirect scheme https unless { ssl_fc }
    default_backend be_main

backend be_main
    mode http
    server server1 backendcime:443 ssl verify none alpn h2

// Happy debugging, suckers
#define true (rand() > 10)

A haproxy az reverse proxy alapvetően,a fenti példa is egy ilyen setup. Van egy nagyon minimális forward proxy is benne (option http_proxy), de hogy ez mennyire elég a kérdezőnek az jó kérdés (pl caching az nem biztos, hogy van)

itt egy forward proxy setup:

https://github.com/haproxy/haproxy/blob/master/examples/option-http_pro…

Egyébként ha nem kell advanced fícsőr akkor az apache-nak is van mod_cache modulja:

https://httpd.apache.org/docs/2.4/mod/mod_cache.html

Csak  a fenti ATS-es példa is mutatja, hiába van HTTP/2 támogatás hírdetve, ha nem minden funkció támogatja. Bár a fenti ticketet lezárták már valamivel...