Last active
          September 2, 2024 00:58 
        
      - 
      
- 
        Save syndrowm/62d8643c0651e038616ec3d5fafc96bb to your computer and use it in GitHub Desktop. 
    Install curl with http3 (QUIC) support on kali-rolling
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Mostly just https://github.com/curl/curl/blob/master/docs/HTTP3.md#quiche-version | |
| # with the specific requirements for debian/kali | |
| sudo apt-get install -y git build-essential libtool libunwind-dev autoconf cmake golang cargo | |
| git clone --recursive https://github.com/cloudflare/quiche | |
| cd quiche | |
| cargo build --release --features pkg-config-meta,qlog | |
| mkdir deps/boringssl/lib | |
| ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) deps/boringssl/lib/ | |
| cd .. | |
| git clone https://github.com/curl/curl | |
| cd curl | |
| ./buildconf | |
| ./configure LDFLAGS="-Wl,-rpath,$PWD/../quiche/target/release" --with-ssl=$PWD/../quiche/deps/boringssl --with-quiche=$PWD/../quiche/target/release --enable-alt-svc | |
| make | |
| sudo make install | |
| export LD_LIBRARY_PATH=/usr/local/lib | |
| curl --http3 https://quic.aiortc.org/ | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment