Giter Site home page Giter Site logo

Initialize README.md about dandelion HOT 3 OPEN

jviehhauser avatar jviehhauser commented on August 23, 2024
Initialize README.md

from dandelion.

Comments (3)

zhuhaow avatar zhuhaow commented on August 23, 2024 1

from dandelion.

zhuhaow avatar zhuhaow commented on August 23, 2024

Hi @jviehhauser, thanks for you interest in specht2.

Would mind share want you want from specht2? Since this is mainly written for my personal usage, I just implemented features that myself need.

from dandelion.

jviehhauser avatar jviehhauser commented on August 23, 2024

Sure! At QuantCo and previously at BMW Group, my teams and I have worked extensively with jump hosts we used as gateways into specific network zones. Specht(Lite) allowed us to automatically and easily switch between these environments and port-/SOCKS5-forward. So essentially:

  • Define custom forwarding rules
  • Support for SOCKS5 and HTTP

Here is an example configuration that I am currently using:

# This is the local http proxy server port.
# Note there is another SOCKS5 proxy server starts at port+1 automatically.
port: 9090
# Adapter is the remote proxy server you want to connect to
adapter:
     # id is used to distinguish adapter when defining rules.
     # There is a 'direct' adapter that connect directly to target host without proxy.
  - id: proxy
    type: HTTP
    host: localhost
    port: 6116
  - id: sox
    # SOCKS5 config (e.g. route certain addresses through it)
    type: socks5
    host: localhost
    port: 6115
  # Speed adapter automatically connects to all specified adapters (with given delay)
  # and uses the one that becomes ready first.
  - id: speed
    type: SPEED
    adapters:
      - id: proxy
        # Delay in milliseconds.
        delay: 300
      - id: sox
        delay: 300
      - id: direct
        delay: 0
  # Disconnect after given delay without connecting to remote.
  - id: reject
    type: reject
    # It's very important to set a delay since some apps may try to reconnect repeatedly.
    delay: 300
# Here defines how things should work.
# Rule will be matched one by one.
rule:
  # Forward requests based on whether the host domain matches the given regular expressions.
  - type: list
    file: ~/.SpechtLite/noproxylist
    adapter: direct
  - type: list
    file: ~/.SpechtLite/proxylist
    adapter: proxy
  - type: list
    file: ~/.SpechtLite/soxlist
    adapter: sox
  # Match all other requests.
  - type: all
    adapter: speed

from dandelion.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.