Commit Graph

31 Commits

Author SHA1 Message Date
Robert Swiecki
2cf562160d nsjail/pid/subproc: a). keep childrens' PIDs in a map indexed by pid b). correctly fetch remote IPv6 address text 2020-02-16 22:34:19 +01:00
Wiktor Garbacz
273ce6bc84 pipe socket traffic in and out of sandboxee 2020-02-14 17:07:14 +01:00
Robert Swiecki
f07c523543 net/cmdline: better checks for TCP port values 2019-08-19 11:34:34 +02:00
Robert Swiecki
83fc152d7c Make netlink3-route mandatory 2019-01-20 18:37:47 +01:00
Robert Swiecki
25004a5545 Support --iface_vs_ma with libnl3 2018-10-25 14:49:46 +02:00
Wiktor Garbacz
7fe87b41c7 code formatting 2018-10-24 10:31:14 +02:00
Micky Del Favero
303f7ab7f0 Remove duplicate code
Signed-off-by: Micky Del Favero <micky@BeeCloudy.net>
2018-10-23 22:24:43 +02:00
Micky Del Favero
233a7296fe Added --macvlan_vs_ma switch to be able to set macvlan's mac-address.
Signed-off-by: Micky Del Favero <micky@BeeCloudy.net>
2018-10-23 15:05:50 +02:00
Robert Swiecki
054e62c026 net: use memset to init stack structs 2018-06-20 15:36:44 +02:00
Robert Swiecki
15a13e78b8 cmdline: remove deprecated options 2018-06-01 17:15:47 +02:00
Robert Swiecki
824b9a2982 net: dbg message 2018-06-01 03:14:48 +02:00
Robert Swiecki
78fa4031c4 net: separate function for interface configuration 2018-06-01 02:10:05 +02:00
Robert Swiecki
47c8cf7a01 net: support owning interfaces with libnl too 2018-05-31 14:45:44 +02:00
Robert Swiecki
7d57fc81be cmdline: add iface_own to take ownership of one of the global interfaces 2018-05-30 15:26:09 +02:00
Robert Swiecki
e0374b4642 util: remove file only of O_CREAT was specified 2018-02-17 15:27:00 +01:00
Robert Swiecki
82fb06be4e make it compile under c++11 (e.g. ubuntu trusty) 2018-02-16 15:43:03 +01:00
Robert Swiecki
810394cf16 switc all == false cmps to ! 2018-02-12 15:17:33 +01:00
Robert Swiecki
7b9178f5d7 make indent depend 2018-02-11 04:02:43 +01:00
Robert Swiecki
ac89fbb44f user: simplify creation of uid/gid maps 2018-02-11 04:02:14 +01:00
Robert Swiecki
0513124b4f mnt: convert describeMountPt from const char* to std::string 2018-02-11 00:24:43 +01:00
Robert Swiecki
55e8e09c4a net: convert net::connToText to std::string 2018-02-11 00:17:44 +01:00
Robert Swiecki
b691b8796c nsjail: iface_no_lo -> iface_lo 2018-02-10 18:22:51 +01:00
Robert Swiecki
7bddb40d87 net: move all iface_vs* options from char* to std::string 2018-02-10 18:18:40 +01:00
Robert Swiecki
97278f191b log: rename log to logs due to clash with glibc's log 2018-02-10 17:49:15 +01:00
Robert Swiecki
4494deffa7 omit keyword 'struct' 2018-02-10 15:50:12 +01:00
Robert Swiecki
ecd4c32d9a mnt: replace sys/queue with std::vector 2018-02-10 14:38:01 +01:00
Robert Swiecki
381e6a1af7 nsjail: move pids queue to a vector 2018-02-10 05:13:25 +01:00
Robert Swiecki
b84b349580 net: faster struct cleaning 2018-02-09 19:12:48 +01:00
Robert Swiecki
7f72cbd497 all: move to C++ 2018-02-09 18:55:42 +01:00
Robert Swiecki
a6c34999f2 util: move to C++ 2018-02-09 18:45:50 +01:00
Robert Swiecki
cb6222abdf net: move to C++ 2018-02-09 17:27:28 +01:00