Code Monkey home page Code Monkey logo

sniff's Introduction

Hi there ๐Ÿ‘‹

If you're interested in more about me, my personal website is at pault.ag. I'll eventually be posting more about amateur Radio adventures over at K3XEC.com, and my SDR Go code is over at @hztools

Feel free to follow me over on Mastodon!

Be sure to check out @hylang!

sniff's People

Contributors

divergentdave avatar jwilk avatar paultag avatar vatine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sniff's Issues

Feature request: different defaults for unmatched hosts vs. no SNI extension

I would like to send requests with unmatched hosts to a different server than requests with no SNI extension whatsoever. I am currently accomplishing this with Pagekite. (see here and here)

My use case for this is to send one host and all SNI-less connections to a traditional web server, and to send all unmatched SNI names to a Tor bridge. Tor connections always use SNI, and each connection uses a new, randomly generated front domain name.

OpenSSL SSL_connect: SSL_ERROR_SYSCALL

Not sure how to solve this one. My setup is running sniff on server1 forwarding sniff.pulser.im to another server running caddy. I was able to forward port 80 and get letsencrypt to issue an ssl cert for sniff.pulser.im but when I switch sniff over to port 443 and try to serve a webpage in caddy, I get this error

snifftest:~# curl -v https://sniff.pulser.im
* Rebuilt URL to: https://sniff.pulser.im/
*   Trying 95.216.203.136...
* TCP_NODELAY set
* Connected to sniff.pulser.im (95.216.203.136) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to sniff.pulser.im:443 
* stopped the pause stream!
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to sniff.pulser.im:443 

Any suggestions?

sniff.json

{
    "bind": {
        "host": "0.0.0.0",
        "port": 443
    },
    "servers": [
        {
            "default": false,
            "regexp": false,
            "host": "94.130.57.41",
            "names": [
                "sniff.pulser.im"
            ],
            "port": 443
        }
    ],
    "verbose": false
}

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.