An open API service indexing awesome lists of open source software.

https://github.com/khulnasoft-lab/fastdialer


https://github.com/khulnasoft-lab/fastdialer

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Fastdialer

[![License](https://img.shields.io/github/license/khulnasoft-lab/fastdialer)](LICENSE.md)
![Go version](https://img.shields.io/github/go-mod/go-version/khulnasoft-lab/fastdialer?filename=go.mod)
[![Release](https://img.shields.io/github/release/khulnasoft-lab/fastdialer)](https://github.com/khulnasoft-lab/fastdialer/releases/)
[![Checks](https://github.com/khulnasoft-lab/fastdialer/actions/workflows/build-test.yml/badge.svg)](https://github.com/khulnasoft-lab/fastdialer/actions/workflows/build-test.yml)
[![GoDoc](https://pkg.go.dev/badge/khulnasoft-lab/fastdialer)](https://pkg.go.dev/github.com/khulnasoft-lab/fastdialer/fastdialer)

Fastdialer is implementation of `net.Dialer` with lot of features like DNS Cache , Dial History etc

# Features

- DNS Cache
- Dial History
- Supports Memory/Hybrid/Disk Cache.
- Supports Old/New TLS and x509 versions
- Supports Resolution Using Hosts File
- Cross Platform and more..

For more details and documentation refer [GoDoc](https://pkg.go.dev/github.com/khulnasoft-lab/fastdialer/fastdialer).

### ZTLS Fallback

fastdialer by default fallbacks to using zcrypto when there is an error in TLS handshake (insufficient security level etc ). This is done to support older TLS versions and ciphers. This can be disabled in fastdialer options or by using `DISABLE_ZTLS_FALLBACK=true` environment variable. when falling back to ztls, ChromeCiphers are used

# Example

An Example showing usage of fastdialer as a library is specified [here](./example/main.go)

```
cd example/
go run main.go
```

# License

fastdialer is distributed under MIT License