GithubHelp home page GithubHelp logo

knock's Introduction

Stand With Ukraine grongor's GitHub Stats Top Languages

Hello! ๐Ÿ‘‹

I'm a backend/system software developer since ever (professionally since circa 2008), currently working for CDN77.

I love to dive deep into things most people even don't know to exist and write future-proof and performant code, mostly in Go, PHP, Java, and Python.

I'd like to add Rust to this repertoire, I just didn't find enough time yet. ๐Ÿ˜ž

I know my way around Linux quite well (I consider myself a DevOps guy), definitely better than the average developer, and I can write all kinds of incredibly scary shell scripts.

I designed and managed complete CI/CD environments/pipelines/templates (TeamCity, GitLab CI, GitHub Actions, Jenkins, ...), wrote a custom BGP server (and complete monitoring solution around it), helped build a monitoring/management application that handles thousands of devices (servers, routers, DWDMs, ...) and all the data they produce/gather (critical tool for the network team), and...many other things I can't remember right now. ๐Ÿ™‚

I actively contribute to the OSS community and maintain a few repositories myself.

knock's People

Contributors

cool91788 avatar gch1p avatar grongor 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  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  avatar  avatar  avatar  avatar  avatar  avatar

knock's Issues

Only recognisies IPv6 addresses, not IPv6 resolving hostnames

@grongor
I suggest an adjustment something like:

-   self.host = args.host
-   self.is_ipv6 = args.host.find(':') != -1
+   self.addr = socket.getaddrinfo(args.host, 0)
+   self.is_ipv6 = self.addr[0][0] == socket.AF_INET6

-   s.connect_ex((self.host, port))
+   s.connect_ex((self.addr[0][4][0], port))

add some feature

allow user to chose what protocol to knock in each port

I have implemented it, see pull requests.

IPv6

Returning tuple from socket.getaddrinfo() too long using IPv6.

Working for IPv4 / IPv6:

        self.address_family, _, _, _, addrinfo = socket.getaddrinfo(
                host=args.host,
                port=None,
                flags=socket.AI_ADDRCONFIG
            )[0]
        
        self.ip_address = addrinfo[0]

How to hide port usage

Hello i am a noob please can you explain how can i use Knock to hide port usage, thank you

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.