flygoast / ttskeliplist

A TokyoTyrant skeleton plugin to store IPv4 address to be used as dynamic ACL(access control list) storage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TokyoTyrant IPLIST Skeleton Plugin

Introduction

The is a skeleton plugin of TokyoTyrant server. It stores IPv4 addresses in memory. If the given IP address is in memory, the get request will get a "1" response, otherwise "0". The IP addresses can be set using put request and can be removed using out request. The key can be form of IP address range, such as "192.168.1.100-192.168.1.200", or CIDR, such as "192.168.1.0/24".

Build

    cd ttskeliplist
    make

Use

    ttserver -skel ttskeliplist.so

Author

FengGu flygoast@126.com

About

A TokyoTyrant skeleton plugin to store IPv4 address to be used as dynamic ACL(access control list) storage.


Languages

Language:C 100.0%