Commit Graph

17 Commits

Author SHA1 Message Date
087082ef08 Enable IPV6 requests support in iptogeo server 2016-02-24 19:17: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
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
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