home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,796 of 28,835   
   Mikhail Potemkin to All   
   Bug#1128929: ITP: golang-github-launchda   
   24 Feb 26 17:30:01   
   
   XPost: linux.debian.devel   
   From: potemkinmr@gmail.com   
      
   Package: wnpp   
   Severity: wishlist   
   Owner: Mikhail Potemkin    
      
   * Package name    : golang-github-launchdarkly-go-ntlm-proxy-auth   
     Version         : 1.0.2-1   
     Upstream Author : LaunchDarkly   
   * URL             : https://github.com/launchdarkly/go-ntlm-proxy-auth   
   * License         : MIT   
     Programming Lang: Go   
     Description     : Authorize to an NTLM Proxy for a HTTP(S) connection in   
   Golang (LaunchDarkly fork)   
      
    go-ntlm-proxy-auth   
    .   
    License: MIT (https://opensource.org/licenses/MIT) GoDoc   
    (https://godoc.org/github.com/launchdarkly/go-ntlm-proxy-auth) Build and   
    Test (https://github.com/launchdarkly/go-ntlm-proxy-   
    auth/actions/workflows/ci.yml)   
    .   
    With this package, you can connect to http/https servers protected by an   
    NTLM proxy in Golang.   
    .   
    This is a fork of (https://github.com/Codehardt/go-ntlm-proxy-auth) which   
    adds support for HTTPS proxy URLs. It also uses the fork   
    (https://github.com/launchdarkly/go-ntlmssp) instead of   
    github.com/Azure/go-ntlmssp.   
    .   
    Example: NewNTLMProxyDialContext   
    .   
      // create a dialer   
      dialer := &net.Dialer{   
          Timeout:   30 * time.Second,   
          KeepAlive: 30 * time.Second,   
      }   
    .   
      // wrap dial context with NTLM   
      ntlmDialContext := ntlm.NewNTLMProxyDialContext(dialer, proxyURL,   
    "user", "password", "domain", nil)   
    .   
      // create a http(s) client   
      client := &http.Client{   
          Transport: &http.Transport{   
              Proxy: nil, // !!! IMPORTANT, do not set proxy here !!!   
              DialContext: ntlmDialContext,   
          },   
      }   
    .   
    Example: WrapDialContext (deprecated - does not support HTTPS proxy URL)   
    .   
      // create a dialer   
      dialer := &net.Dialer{   
          Timeout:   30 * time.Second,   
          KeepAlive: 30 * time.Second,   
      }   
    .   
      // wrap dial context with NTLM   
      ntlmDialContext := ntlm.WrapDialContext(dialer.DialContext,   
    "proxyAddr", "user", "password", "domain")   
    .   
      // create a http(s) client   
      client := &http.Client{   
          Transport: &http.Transport{   
              Proxy: nil, // !!! IMPORTANT, do not set proxy here !!!   
              DialContext: ntlmDialContext,   
          },   
      }   
      
      
   Needed by golang-github-launchdarkly-go-server-sdk   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca