Skip to content

HunterChen/kconnp

 
 

Repository files navigation

kconnp

The connection pool in linux kernel layer.

###Requires:

  • X86 CPU
  • Linux Kernel Version >= 2.6.18
  • Host OR VM (KVM,XEN,Vmware, etc)

Installation

  1. $ download src package
  2. $ cd kconnp
  3. $ ./configure
  4. $ make
  5. $ make install

Usage

#####Commands kconnp (stats|ldcfg|start|stop|restart)

  • stats: output the statistics infomation
  • reload: reload the config
  • start: start the service
  • stop: shutdown the service
  • restart: restart the service

#####Configuration ######Files

  • Global: /etc/kconnp.conf
  • White list for ACL: /etc/iports.allow
  • Black list for ACL: /etc/iports.deny
  • Communication Primitives: /etc/primitives.deny

######Explains

  • The priority of black list is higher than white black list.
  • If the iport is specified,the connections will be pre-connected.
  • If the connection is configured stateful (tag: (S)),each connection only be use one time before closing.

E-Mail:zzgang2008@gmail.com

About

The connection pool in linux kernel layer.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.6%
  • Shell 1.3%
  • C++ 0.1%