2017 © Pedro Peláez
 

library privsep

Privilege separating PHP code

image

rootnet/privsep

Privilege separating PHP code

  • Friday, July 20, 2018
  • by rootnet
  • Repository
  • 1 Watchers
  • 12 Stars
  • 56 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

Privsepd

The daemon for privilege separating php code, (*1)

privsepd is an RPC daemon for PHP. It is connection oriented and designed to provide an as near native interface for the client as possible through the remote interface. Every connection is run in it's own process to ensure that multiple connections don't interfere., (*2)

Code made available through the daemon needs to be self-contained and is loaded through the autoload directive in the configuration file. This autoload file is loaded at every connection, allowing code updates without server reloads. Besides regular calls (both functions and methods) the interface supports closures, arguments by reference, remote objects, and cascading throwables. Incoming function-, method- and attributerequests and returning throwables originating are subject to a whitelist check before returning., (*3)

Installation

The installation is divided into two parts, the daemon installation and the composer package containing the code that connects to the daemon., (*4)

Daemon installation

You can install the daemon by cloning the Privsepd git-repository and running make install ``` bash $ git clone https://github.com/rootnet/privsep.git $ cd privsep $ make $ sudo make install, (*5)

Optional run the tests
Test require root because of testing privilege revocation
``` bash
$ sudo make test

Uninstall the daemon ``` bash $ sudo make uninstall, (*6)


Clean up after yourself ``` bash $ make clean

Application installation

You can install the application package into your project using Composer. ``` bash composer require rootnet/privsep, (*7)

# Usage
For a detailed description of the usage for both the daemon and application see
the included man pages.
``` bash
man privsepd
man privsepd.conf
man remote

License

See License, (*8)

The Versions

20/07 2018

dev-master

9999999-dev http://www.rootnet.nl

Privilege separating PHP code

  Sources   Download

ISC

The Requires

  • php ^7.1

 

code separating

20/07 2018

2.0.1

2.0.1.0 http://www.rootnet.nl

Privilege separating PHP code

  Sources   Download

ISC

The Requires

  • php ^7.1

 

code separating

22/08 2017

2.0.0

2.0.0.0 http://www.rootnet.nl

Privilege separating PHP code

  Sources   Download

ISC

The Requires

  • php ^7.1

 

code separating

22/06 2017

1.0.0

1.0.0.0 http://www.rootnet.nl

Privilege separating PHP code

  Sources   Download

ISC

The Requires

  • php ^7.1

 

code separating