Code Monkey home page Code Monkey logo

ipmatcher's Introduction

Joel Christner

Thank you for visiting my Github profile. I'm an open source developer and member of the .NET Foundation focused on distributed systems, data storage, information search and retrieval, data management, and messaging. Outside of coding, I'm a husband, father to two wonderful children, a Brazilian Jiu Jitsu black belt, and a musician.

If you've found value in the software I've published and wish to support me, please consider sponsoring me on Github or buying me a coffee.

ipmatcher's People

Contributors

jchristn avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

ipmatcher's Issues

Match check error for non-zero-ending networks

Hi! I found errors when checking the match for the cases below. I indicate maximal and minimal hosts for easiest understanding.

{
	"network": "172.18.0.1",
	"mask": "255.255.255.0",
	"hostMin": "172.18.0.1",
	"hostMax": "172.18.0.254"
}

IP address checked: 172.18.0.1
{
	"network": "172.18.0.20",
	"mask": "255.255.255.240",
	"hostMin": "172.18.0.17",
	"hostMax": "172.18.0.30"
}

IP addresses checked: 172.18.0.20 y 172.18.0.25

It seems that algorithm is not working well on networks different from "*.*.*.0" expression.

By the way, the correct name of the method is MatchExists() and not Match() as it's indicated in Usage section of README.md file.

Thanks a lot.
Regards.

Iván Meyer.

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.