Commit Graph

23 Commits

Author SHA1 Message Date
ad33c94c6f Rework Makefile dependencies 2016-02-24 19:17:40 +01:00
087082ef08 Enable IPV6 requests support in iptogeo server 2016-02-24 19:17:40 +01:00
1f789284dd Remove ip_data.c from Git 2016-02-24 19:15:40 +01:00
2456039df1 Add IPv6 support for listening sockets 2016-02-17 18:15:04 +01:00
3370e83f55 Forgot some syscalls for seccomp (when sigint is raised) 2016-02-17 18:15:04 +01:00
3152fbf947 Add more seccomp syscalls 2016-02-17 18:15:04 +01:00
59b55cfa55 Add Licence information 2016-02-17 18:15:04 +01:00
b6d0c796be New threads where not placed in head of linked list 2016-02-17 18:15:04 +01:00
978f9335f0 Forgot to replace one ctx nb_sockets variable by nb_sockets 2016-02-17 18:15:04 +01:00
4b791be9f6 Add full IPV6 support 2016-02-06 14:24:26 +01:00
401a2e98af Error in iteractive algorithm, continue statement, continue for and not global while 2016-02-06 14:23:28 +01:00
501875ae2b Allows to pass IPv6 in interactive mode (always returns None for now) 2016-02-04 20:39:50 +01:00
57fce2afe2 Move from recursive algorithm to linear one Update REQ_IPV4 and REQ_IPV6 defines 2016-02-04 20:39:50 +01:00
58b0439d9d Use poll instead of select 2016-02-04 20:39:50 +01:00
d110f892b4 Don't read thread_ctx nb_available_sockets and nb_cur_sockets as they may be changed. Use temporary variables. Use microseconds timeout instead of seconds 2016-02-04 20:39:50 +01:00
9b0bdae64e Add close_socket fucntions and rise the scope for mutex for accessing s_last_thread 2016-02-04 20:39:50 +01:00
54184da72c Fix a bug : bad size for sockets malloc 2016-02-04 20:39:50 +01:00
93f45dab81 Fix a bug : Remove thread if there is no more active connection (bad condition tested) 2016-02-04 20:39:50 +01:00
148a2a81c8 Add -B option to doesn't go in background 2016-02-04 20:39:50 +01:00
feb89ff6b3 Add first seccomp implementation 2016-02-04 20:39:50 +01:00
ef5176e7ec Rework build system 2016-02-04 20:39:50 +01:00
9f880f8705 Add max nb requests per client 2016-01-31 11:49:24 +01:00
446c5b0461 Initial commit 2016-01-31 11:42:28 +01:00