Giter Site home page Giter Site logo

ipso's Introduction

ipso

An IP address management tool in development.

To get started you will need to have a PostgreSQL server up and running. It works with 9.3.3 and will probably work with earlier 9.x series releases.

At the moment, you are assumed to be using the following database settings:

server: localhost
database: ipso
username: ipso
password: ipso

As a postgres superuser, or user with suitable rights, you might:

createuser -P ipso
createdb -O ipso ipso

Initialise the database and sample data with:

psql ipso -f ipso.sql

If you're using Debian or Ubuntu, install the following packages:

libdbd-pg-perl
libgetopt-long-descriptive-perl
libnetaddr-ip-perl
libregexp-common-net-cidr-perl
libregexp-common-perl
libregexp-ipv6-perl
libswitch-perl
libtext-asciitable-perl
libtime-duration-perl

You may then be able to do the following:

martin@molly:~/ipso$ ./ipso_block -l
.---------------------------------------------------------------------------------------------------------------------.
|                                                 Available IP Blocks                                                 |
+----+------------------------+-------------+--------------------+-----------------------------+----------------------+
| ID | Block                  | Allocations | Used (%)           | Free (%)                    | Notes                |
+----+------------------------+-------------+--------------------+-----------------------------+----------------------+
|  1 | 192.168.0.0/24         |           2 | 40 (15.6%)         | 216 (84.4%)                 | Part of RFC1918      |
|  2 | 192.168.1.0/24         |           2 | 40 (15.6%)         | 216 (84.4%)                 | Part of RFC1918      |
|  3 | 10.0.0.0/8             |           1 | 10 (5.96e-05%)     | 16777206 (100%)             | Also part of RFC1918 |
|  4 | 2001:ba8:1f1:f12c::/64 |           1 | 100000 (5.42e-13%) | 1.84467440737095e+19 (100%) | Some IPv6            |
'----+------------------------+-------------+--------------------+-----------------------------+----------------------'

ipso's People

Contributors

martbrooks avatar sgran avatar

Watchers

 avatar

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.