[GIT SERIES v3] secnet: polypath
Ian Jackson
ijackson at chiark.greenend.org.uk
Thu Oct 2 18:49:22 BST 2014
The following series is available for review here:
http://www.chiark.greenend.org.uk/ucgi/~ian/git/secnet.git/
git://git.chiark.greenend.org.uk/~ian/secnet.git
in the following rev-list:
base.polypath.v3..proposed.polypath.v3
Compared to v2, this contains many important bugfixes, stylistic and
logging improvements, and an entirely new privsep arrangement (which
means that it can be used with a secnet which drops privilege).
1 hackypar: Fix coding style
2 udp: Use <bsd/sys/queue.h> for notify lists
3 main loop: Use <bsd/sys/queue.h> for poll interest list
4 poll: Introduce and use BEFOREPOLL_WANT_FDS
5 realloc: Provide safe_realloc_ary
6 poll: Make handling of fds array actually dynamic
7 poll: Abolish max_nfds
8 poll: Support deregistration from the main event loop
9 poll: Document reentrancy restriction on before()
10 logging: Provide lg_perror and lg_vperror
11 comm: Rename a lot of state pointer variables
12 comm: Use BUF_GET_BYTES
13 comm: Break out common code in comm
14 comm: Break out some common udp parts
15 comm: Formalise interface to udp sockets
16 comm: Make udp_make_socket be able to tolerate failures
17 comm: Provide udp_socks_deregister
18 logging: Provide lg_exitstatus
19 logging: Use lg_exitstatus
20 udp: Break out udp_destroy_socket
21 process: Introduce afterfork()
22 Introduce setnonblock()
23 fds: Make many fds nonblocking
24 util: Provide async_linebuf_read
25 slip: Remove an incorrect XXX comment
26 cleanup: Replace a few calls to malloc/realloc with safe_malloc
27 udp: Introduce some `us' convenience variables, etc.
28 udp: Log transmission and reception errors, at least some of the tim
29 Makefile.in: Move settings of various directories above CFLAGS etc.
30 transform-cbcmac: Move max_[seq]_skew into params struct
31 transform: Break out SEQNUM_KEYED_FIELDS and SEQNUM_PARAMS_FIELDS
32 transform: Discard previously-received packets
33 secnet: provide will_droppriv
34 util: Use BSD queue.h for phase hook lists
35 buffer: Provide buffer_destroy
36 util: Break out pollbadbit()
37 polypath: Provide polypath comm module
38 polypath: Provide Linux interface monitor
39 test-example: Provide a polypath test
40 polypath: Reorganise to break up ifaddr handling
41 process: Clear SHUTDOWN hooks in afterfork()
42 polypath: Break up child process handling
43 polypath: Close parent's socket in child
44 fds etc.: Support non-forking persistent children
45 logging: Persistent children include pid in their log messages
46 polypath: Log pid of long-running interface monitor
47 test-example: Reorder a config to better test CHILDPERSIST
48 polypath: Provide privsep mode
49 test-example: Set `system/userid'
50 udp, polypath: Make specifying port optional
51 test-example: Test not specifying a port
52 udp, polypath: Log `experiencing success receiving', etc.
Makefile.in | 21 +-
README | 63 ++-
comm-common.c | 55 +++
comm-common.h | 110 +++++
hackypar.c | 134 +++---
ipaddr.c | 10 +-
log.c | 90 +++-
modules.c | 1 +
polypath-interface-monitor-linux | 84 ++++
polypath.c | 846 +++++++++++++++++++++++++++++++++++++
process.c | 51 +--
resolver.c | 2 +-
secnet.c | 93 ++--
secnet.h | 80 +++-
site.c | 27 +-
slip.c | 63 +--
test-example/common.conf | 1 +
test-example/inside-polypath.conf | 20 +
transform-cbcmac.c | 31 +-
transform-common.h | 64 ++-
transform-eax.c | 17 +-
tun.c | 8 +-
udp.c | 411 ++++++++++--------
util.c | 153 ++++++-
util.h | 48 ++-
25 files changed, 2059 insertions(+), 424 deletions(-)
--
More information about the sgo-software-discuss
mailing list