Coder Social home page Coder Social logo

xiaosuo / aerospike-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hanumathrao/aerospike-server

0.0 0.0 0.0 3.5 MB

Aerospike Database Server – flash-optimized, in-memory, nosql database

Home Page: http://aerospike.com/

License: Other

Makefile 0.69% C 94.14% C++ 3.20% HTML 0.07% CSS 0.57% Shell 0.84% Objective-C 0.03% Python 0.26% Groff 0.16% DTrace 0.04%

aerospike-server's Introduction

ipt_SYNPROXY

It is an implementation of SYNPROXY based on netfilter of Linux. An iptables raw target SYNPROXY is implemented.

In order to use it, you must get the newest Linux kernel source code, and follow the following steps:

cd linux
patch -p1 < path-to-synproxy.diff
/* you need select raw table, ip_conntrack and syncookies */
make && make install modules_install && reboot
cd path-to-synproxy
make
cp libipt_SYNPROXY.so path-to-iptables-shared-module
insmod ipt_SYNPROXY.ko

If there isn't any error in the above steps, congratulations, and you can play with it.

For example, you want to protect the local HTTP server from the SYN-flood attacks:

iptables -t raw -A PREROUTING -p tcp --dport 80 \
	--tcp-flags SYN,ACK,RST,FIN SYN \
	-m conntrack --ctstate INVALID -j SYNPROXY

If you run SYNPROXY on a gateway which does DNAT, you should move the DNAT rules from PREROUTING to OUTPUT chain, because the second SYN to the server is sent locally.

aerospike-server's People

Contributors

bbulkow avatar bhuvanramk avatar briannichols avatar bwhisler avatar chetanvaity avatar citrusraj avatar cstivers78 avatar gayathrikaliyamoorthy avatar gooding470 avatar jtraver avatar kportertx avatar ksedgwic avatar mtendjou avatar oldmantaiter avatar pratyyy avatar psi-mankoski avatar sameerapadhye avatar sumitjindal avatar sunilvirus avatar wchu-citrusleaf avatar xiaosuo avatar xorphox avatar yami280 avatar

Watchers

 avatar  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.