phpIPAM installation on CentOS 7

Here is a full guide on how to install phpIPAM on CentOS 7. This should work on all RHEL based distributuons. For this guide I used competely fresh install of CentOS 7, we will do step by step guide for all applications neede for phpIPAM to run.

I used the following assumptions:

  • No software is installed on server (Apache, MySQL, php)
  • Database and apache server will run on same machine
  • phpipam will run in server root directory (will be accessible via http://ip_address/), no vhosts
  • Prettified links will be used
  • Only bare minimum configuration will be done

... Read more

Written by MihaP on 2017/01/05 guide

Example API calls using CURL

Here is a short guide on how to create API calls using CURL for a reference. Result will be presented as json and in debug mode.

Enable API and create new API key

Go to settings in phpipam GUI and enable API module, than go to settings > API and create new API App, set all APP params as desired for you APP.

Authentication

First we need to authenticate to API server by providing username/password from some valid phpipam account to receive token: ... Read more

Written by MihaP on 2017/01/02 guide api

phpIPAM API clients

To simplify API calls etc. I created a separate GitHub repository to have a collection of phpipam API clients for different languages etc. If you created a client and want to share it head over to https://github.com/phpipam/phpipam-api-clients and share yours !

To start I created a php class to work as API client, now available in repo in php-client folder:
https://github.com/phpipam/phpipam-api-clients/tree/master/php-client ... Read more

Written by MihaP on 2016/07/22 guide news api

phpipam v1.2 released

Dear all, I am happy to announce new release of phpipam IP address management – version 1.2.

For this release backend code was completely rewritten, for database connections now pdo has replaced mysqli. It also fixes lots of bugs, parametized SQL queries and brings lots of new features. ... Read more

Written by MihaP on 2016/01/29 news release

SElinux policy for icmp checks

Many issues reported with scanning subnets and updating host statuses are related to SElinux being enabled. So far the solution was to completely disable SElinux, but this was more workaround than anything else. Robert was kind enough to share SElinux policy that should be used with phpipam if SElinux is enabled on your server.

Basically it permits the opening of raw IP sockets for non-root users, that are required for executing ping command.

1) Create the file http_ping.tt and add the following to it: ... Read more

Written by MihaP on 2015/03/23 guide

Using custom fields in phpipam

phpipam has support for creating custom fields to be used in address, subnets, vlans, devices and users tables. This is useful when you need to add some custom data to your tables. You can set your custom fields under Administration > Custom fields.

It supports following types of data and it representations: ... Read more

Written by MihaP on 2015/02/24 guide

phpipam MySQL database optimizations

Having large amount of subnets (and other tables) on unoptimised MySQL database server can significantly increase page loads. To see which parameters need to be change I usually use mysqltuner perl script, which connects to database, analyses data and proposes which parameters need to be changed that are not optimally set based on current load. ... Read more

Written by MihaP on 2015/01/12 guide

phpipam v1.1 released :: security fixes, performance improvements, mod_rewrite optional

Dear all, I am happy to announce new version of phpipam IP address management – version 1.1. This release fixed some bugs, provided some new features, but most importantly it was focused on:

  • Security fixes (SQL injection, XSS scripting, crypting DB passwords, brute-force attack prevention, …)
  • Performace improvements (Caching, reusing SQL connection),..
  • mod_rewrite no longer required, selectable URL structure under settings

Some screens:

... Read more

Written by MihaP on 2014/12/08 news release

  1. Home
  2. phpIPAM news