Commit graph

  • eff3bcb245 netlink: Split nl_addr() into separate operation functions David Gibson 2023-08-03 17:19:41 +1000
  • e96182e9c2 netlink: Split up functionality of nl_link() David Gibson 2023-08-03 17:19:40 +1000
  • 0cf7bf31f6 tap: Remove unnecessary global tun_ns_fd David Gibson 2023-08-02 13:15:42 +1000
  • 7bc9b66fc2 tap: More detailed error reporting in tap_ns_tun() David Gibson 2023-08-02 13:15:41 +1000
  • 6920adda0d util: Make ns_enter() a void function and report setns() errors David Gibson 2023-08-02 13:15:40 +1000
  • b15ce5b6ce Use static assertion to verify that union epoll_ref is the right size David Gibson 2023-08-01 13:36:47 +1000
  • 8218d99013 Use C11 anonymous members to make poll refs less verbose to use David Gibson 2023-08-01 13:36:46 +1000
  • 649068a287 Allow C11 code, not just C99 code David Gibson 2023-08-01 13:36:45 +1000
  • 023d684420 Revert "MAKE: Fix parallel builds; .o files; .gitignore; new makedocs" Stefano Brivio 2023-07-10 06:33:44 +0200
  • cc2a6bec3c MAKE: Fix parallel builds; .o files; .gitignore; new makedocs KuhnChris 2023-06-28 16:07:28 +0200
  • e01759e2fa tap: Explicitly drop IPv4 fragments, and give a warning David Gibson 2023-07-05 14:35:16 +1000
  • 4c98d3be80 conf: Correct length checking of interface names in conf_ports() David Gibson 2023-06-28 15:11:15 +1000
  • c4017cc4a1 conf: Fix size checking of -I interface name David Gibson 2023-06-28 15:11:14 +1000
  • 289301b39c netlink: Use correct interface index in NL_SET mode 2023_06_27.289301b David Gibson 2023-06-27 20:22:33 +1000
  • 32660cea04 pasta: include errno in error message 2023_06_25.32660ce Paul Holzinger 2023-06-23 12:23:50 +0200
  • 594dce66d3 isolation: keep CAP_SYS_PTRACE when required Paul Holzinger 2023-06-23 10:25:32 +0200
  • 5b646b9b10 conf: Accept -a and -g without --config-net in pasta mode Stefano Brivio 2023-06-23 09:52:36 +0200
  • d034fb698f conf: Make -a/--address really imply --no-copy-addrs Stefano Brivio 2023-06-22 15:46:41 +0200
  • db29fd281a seccomp: Make seccomp.sh re-entrancy safe David Gibson 2023-06-21 13:06:37 +1000
  • 3c6d1b9bb2 conf, log: On -h / --help, print usage to stdout, not stderr Stefano Brivio 2023-06-04 07:14:49 +0200
  • d072ac2434 tap: With pasta, don't reset on tap errors, handle write failures Stefano Brivio 2023-06-04 06:51:47 +0200
  • 429e1a7e71 conf: Fix erroneous check of ip6->gw 2023_06_03.429e1a7 David Gibson 2023-06-02 15:02:02 +1000
  • e3b19530e4 test/nstool: Fix fd leak in accept() loop David Gibson 2023-05-23 12:25:43 +1000
  • 527c822a3b test/nstool: Provide useful error if given a path that's too long David Gibson 2023-05-23 12:25:42 +1000
  • 9f61c5b68b passt.h: Fix description of pasta_ifi in struct ctx Stefano Brivio 2023-05-14 19:46:39 +0200
  • cc9d16758b conf, pasta: With --config-net, copy all addresses by default Stefano Brivio 2023-05-14 19:12:09 +0200
  • e89da3cf03 netlink: Add functionality to copy addresses from outer namespace Stefano Brivio 2023-05-14 18:44:53 +0200
  • a7359f0948 conf: Don't exit if sourced default route has no gateway Stefano Brivio 2023-05-14 16:24:11 +0200
  • e8fef7525c Revert "conf: Adjust netmask on mismatch between IPv4 address/netmask and gateway" Stefano Brivio 2023-05-14 15:22:00 +0200
  • da54641f14 conf, pasta: With --config-net, copy all routes by default Stefano Brivio 2023-05-14 15:04:38 +0200
  • 468f19a852 conf: --config-net option is for pasta mode only Stefano Brivio 2023-05-14 14:14:29 +0200
  • 2fe0461856 netlink: Add functionality to copy routes from outer namespace Stefano Brivio 2023-05-14 13:49:43 +0200
  • f099afb1f2 pasta: Improve error handling on failure to join network namespace Stefano Brivio 2023-05-14 13:32:41 +0200
  • 1c3c68970e netlink: Fix comment about response buffer size for nl_req() Stefano Brivio 2023-05-14 13:30:18 +0200
  • 770d1a4502 isolation: Initially Keep CAP_SETFCAP if running as UID 0 in non-init Stefano Brivio 2023-05-21 15:03:31 +0200
  • b0e450aa85 pasta: Detach mount namespace, (re)mount procfs before spawning command Stefano Brivio 2023-05-21 14:50:11 +0200
  • b0881aae6d util, conf: Add and use ns_is_init() helper Stefano Brivio 2023-05-21 14:47:07 +0200
  • 25f1d1a84f tap: Don't update ip6.addr_seen to :: David Gibson 2023-05-16 10:36:11 +1000
  • 96f8d55c4f correct -6 option in manpage 2023_05_09.96f8d55 lemmi 2023-05-08 18:05:01 +0200
  • 940bd3eff9 passt: Fix error check for signal(), improve error messages Stefano Brivio 2023-04-13 19:32:13 +0200
  • 1a3ade9037 nstool: Enter holder's cwd when changing mount ns with nstool exec David Gibson 2023-04-06 13:28:19 +1000
  • 98031bee73 nstool: Advertise the holder's cwd (in its mountns) across the socket David Gibson 2023-04-06 13:28:18 +1000
  • 469b69aaa1 test: Use "nstool exec" to slightly simplify tests David Gibson 2023-04-06 13:28:17 +1000
  • 3372cd0902 test: Initialise ${TRACE} properly David Gibson 2023-04-06 13:28:16 +1000
  • 329149d51a nstool: Add --keep-caps option to nstool exec David Gibson 2023-04-06 13:28:15 +1000
  • 0b66944648 nstool: Add nstool exec command to execute commands in an nstool namespace David Gibson 2023-04-06 13:28:14 +1000
  • 3bcbca5db8 nstool: Helpers to iterate through namespace types David Gibson 2023-04-06 13:28:13 +1000
  • f6a9ea3af5 nstool: Add magic number to advertized information David Gibson 2023-04-06 13:28:12 +1000
  • 4311066bdb nstool: Detect what namespaces target is in David Gibson 2023-04-06 13:28:11 +1000
  • fd4a752e92 nstool: Replace "pid" subcommand with "info" subcommand David Gibson 2023-04-06 13:28:10 +1000
  • a4b017d91c nstool: Split some command line parsing and socket setup to subcommands David Gibson 2023-04-06 13:28:09 +1000
  • 42fb218347 nstool: Move description of its operation modes from comment to usage David Gibson 2023-04-06 13:28:08 +1000
  • 2884ccd2e7 nstool: Reverse parameters to nstool David Gibson 2023-04-06 13:28:07 +1000
  • 4914fce77b nstool: Rename nsholder to nstool David Gibson 2023-04-06 13:28:06 +1000
  • 55bbe3dbcb test: Remove race between commands run in the same context David Gibson 2023-04-05 11:56:42 +1000
  • ca2749e1bd passt: Relicense to GPL 2.0, or any later version Stefano Brivio 2023-04-05 20:11:44 +0200
  • b10b983fbd fedora: Adjust path for SELinux policy and interface file to latest guidelines 2023_03_29.b10b983 Stefano Brivio 2023-03-29 13:17:31 +0200
  • 387f4aca74 fedora: Don't install useless SELinux interface file for pasta Stefano Brivio 2023-03-27 19:50:01 +0200
  • dafd92d555 selinux: Drop useless interface file for pasta Stefano Brivio 2023-03-27 19:47:07 +0200
  • 98a9a7d9e5 conf: Allow binding to ports on an interface without a specific address Stefano Brivio 2023-03-27 19:35:26 +0200
  • 33d88f79d9 tcp: Clear ACK_FROM_TAP_DUE also on unchanged ACK sequence from peer Stefano Brivio 2023-03-23 16:07:57 +0100
  • 4e73e9bd65 tcp: Don't special case the handling of the ack of a syn David Gibson 2023-03-27 14:56:34 +1100
  • 085672f77c tcp: Clarify allowed state for tcp_data_from_tap() David Gibson 2023-03-27 14:56:33 +1100
  • 1ee2f7cada tcp: Don't reset ACK_TO_TAP_DUE on any ACK, reschedule timer as needed 2023_03_21.1ee2f7c Stefano Brivio 2023-03-21 23:14:58 +0100
  • 9ffccf7acc tcp: When a connection flag it set, don't negate it for debug print Stefano Brivio 2023-03-21 19:39:55 +0100
  • 89d1494974 Fix false positive if cppcheck doesn't give a false positive David Gibson 2023-03-21 14:55:00 +1100
  • 34ade90957 Work around weird false positives with cppcheck-2.9.1 David Gibson 2023-03-21 14:54:59 +1100
  • ccf6d2a7b4 udp: Actually bind detected namespace ports in init namespace Stefano Brivio 2023-03-21 16:01:30 +0100
  • 418f75ac37 pasta: fix tcp port forwarding in auto mode Paul Holzinger 2023-03-20 19:10:34 +0100
  • dd23496619 fedora: Refresh SELinux labels in scriptlets, require -selinux package 2023_03_17.dd23496 Stefano Brivio 2023-03-16 20:51:23 +0100
  • 87a655045b Makefile: Enable external override for TARGET Stefano Brivio 2023-03-15 10:08:47 +0100
  • 7727804658 passt.1: Fix description of --mtu option Stefano Brivio 2023-03-15 10:06:50 +0100
  • 4e6178fd46 log: Avoid time_t/__syscall_slong_t format mismatch with long int on X32 ABI Stefano Brivio 2023-03-10 23:15:35 +0100
  • 70c0765b49 fedora: Install SELinux interface files to shared include directory 2023_03_10.70c0765 Stefano Brivio 2023-03-10 19:10:01 +0100
  • 93105ea066 contrib/selinux: Split interfaces into smaller bits Stefano Brivio 2023-03-10 17:00:31 +0000
  • dcdc50fc22 contrib/selinux: Drop unused passt_read_data() interface Stefano Brivio 2023-03-10 14:53:37 +0000
  • 9f35cf0b11 contrib/selinux: Drop "example" from headers: this is the actual policy Stefano Brivio 2023-03-10 14:53:14 +0000
  • 7c7625ddff README: Update Features section, plus minor improvements 2023_03_09.7c7625d Stefano Brivio 2023-03-08 23:43:10 +0100
  • 294d6dc4c6 contrib: Drop libvirt out-of-tree patch, integration mostly works in 9.1.0 Stefano Brivio 2023-03-08 23:47:19 +0100
  • 42fb62516d contrib: Drop QEMU out-of-tree patches Stefano Brivio 2023-03-08 23:46:13 +0100
  • f3cd0f9e45 contrib: Drop Podman out-of-tree patch, integration is upstream now Stefano Brivio 2023-03-08 23:45:08 +0100
  • d7272f1df8 tcp: Clamp MSS value when queueing data to tap, also for pasta Stefano Brivio 2023-03-08 18:07:42 +0100
  • bb2b67cb35 conf: Terminate on EMFILE or ENFILE on sockets for port mapping Stefano Brivio 2023-03-08 13:21:19 +0100
  • 5aea2f88ab tcp, udp: Fix partial success return codes in {tcp,udp}_sock_init() Stefano Brivio 2023-03-08 12:38:39 +0100
  • 73992c42ce tcp, udp, util: Pass socket creation errors all the way up Stefano Brivio 2023-03-08 12:14:29 +0100
  • 50687616e4 util: Carry own definition of __bswap_constant{16,32} Stefano Brivio 2023-03-08 04:13:50 +0100
  • 89e38f5540 treewide: Fix header includes to build with musl Chris Kuhn 2023-03-08 04:00:22 +0100
  • 5c58feab7b conf, passt: Rename stderr to force_stderr Chris Kuhn 2023-03-08 03:47:45 +0100
  • fde8004ab0 netlink: Use 8 KiB * netlink message header size as response buffer Stefano Brivio 2023-03-08 03:43:25 +0100
  • a9c59dd91b conf, icmp, tcp, udp: Add options to bind to outbound address and interface Stefano Brivio 2023-03-08 03:29:51 +0100
  • 70148ce5be conf, passt.h: Rename "outbound" interface to "template" interface Stefano Brivio 2023-03-07 19:23:18 +0100
  • d361fe6e80 contrib/selinux: Let interface users set paths for log, PID, socket files Stefano Brivio 2023-03-06 23:19:18 +0000
  • de9b0cb5fe contrib/selinux: Allow binding and connecting to all UDP and TCP ports Stefano Brivio 2023-03-06 23:05:36 +0000
  • 41bc669866 contrib/selinux: Let passt write to stdout and stderr when it starts Stefano Brivio 2023-03-06 22:49:39 +0000
  • 009af75e45 contrib/selinux: Drop duplicate init_daemon_domain() rule Stefano Brivio 2023-03-06 22:48:21 +0000
  • 83236216c4 udp: Fix signedness warning on 32-bits architectures Stefano Brivio 2023-02-28 00:59:19 +0100
  • f6b6b66a88 Makefile: Fix SuperH 4 builds: it's AUDIT_ARCH_SH, not AUDIT_ARCH_SH4 Stefano Brivio 2023-02-28 00:54:56 +0100
  • 0d8c114aa2 Makefile, seccomp.sh: Fix cross-builds, adjust syscalls list to compiler Stefano Brivio 2023-02-28 00:53:01 +0100
  • c538ee8d69 util: Add own prototype for __clone2() on ia64 2023_02_27.c538ee8 Stefano Brivio 2023-02-27 17:49:23 +0100
  • b1b75bd73a contrib/apparmor: Split profile into abstractions, use them Stefano Brivio 2023-02-27 17:24:40 +0100