From 35d38d2c3f3db22216d43604b8750ecb6089e525 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Thu, 9 Sep 2010 18:26:02 +0400 Subject: iprange: implemneted modules iprange to validate ip addresses of controlling connection and tunnel It will check that ip address of tunnel is not in range of clients ip addresses. This will avoid kernel softlockups due to loopback occured. --- accel-pptpd/iprange.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 accel-pptpd/iprange.h (limited to 'accel-pptpd/iprange.h') diff --git a/accel-pptpd/iprange.h b/accel-pptpd/iprange.h new file mode 100644 index 0000000..88a2486 --- /dev/null +++ b/accel-pptpd/iprange.h @@ -0,0 +1,10 @@ +#ifndef __IPRANGE_H +#define __IPRANGE_H + +#include + +int iprange_client_check(in_addr_t ipaddr); +int iprange_tunnel_check(in_addr_t ipaddr); + +#endif + -- cgit v1.2.3