Commit graph

  • dd942eaa48 passt: Fix build with gcc 7, use std=c99, enable some more Clang checkers Stefano Brivio 2021-10-21 04:26:08 +0200
  • 6257a2752e test/perf: Try sourcing maximum scaling frequency from cpufreq Stefano Brivio 2021-10-21 01:24:22 +0200
  • 819d13bb92 seccomp.sh: Handle missing ausyscall(8) or unknown syscall number Stefano Brivio 2021-10-21 01:21:26 +0200
  • 849308d207 Makefile, tcp: Don't try to use tcpi_snd_wnd from tcp_info on pre-5.3 kernels Stefano Brivio 2021-10-21 01:19:27 +0200
  • a20626fb35 util: Go to next non-empty line, skip newlines in line_read() Stefano Brivio 2021-10-20 11:39:08 +0200
  • 9618d24700 ndp, dhcpv6, tcp, udp: Always use link-local as source if gateway isn't Stefano Brivio 2021-10-20 11:10:23 +0200
  • 12cfa6444c passt: Add clang-tidy Makefile target and test, take care of warnings Stefano Brivio 2021-10-20 00:05:11 +0200
  • 7f1e7019cb test/demo: Don't wait for # after pasta is started by perf report Stefano Brivio 2021-10-20 08:27:55 +0200
  • 4f69efcfba README: .. doesn't actually work for comments in Markdown Stefano Brivio 2021-10-20 08:26:56 +0200
  • 7d24803fb3 conf: Always pass an empty buffer to line_read() in get_dns() Stefano Brivio 2021-10-20 00:01:35 +0200
  • b0b77118fe passt: Address warnings from Clang's scan-build Stefano Brivio 2021-10-19 19:18:04 +0200
  • 1a563a0cbd passt: Address gcc 11 warnings Stefano Brivio 2021-10-19 17:28:18 +0200
  • 087b5f4dbb LICENSES: Add license text files, add missing notices, fix SPDX tags Stefano Brivio 2021-10-19 12:43:28 +0200
  • f154a0489a Makefile: Install man pages to /usr/share/man instead of /usr/man Stefano Brivio 2021-10-19 09:50:18 +0200
  • 2725003d45 Makefile: Prefix installation paths with $(DESTDIR) Stefano Brivio 2021-10-19 09:42:08 +0200
  • 9df5027129 perf/passt_udp: Don't overshoot UDP bandwidth excessively on larger MTUs Stefano Brivio 2021-10-19 09:30:42 +0200
  • 7aaff3387a perf/passt_tcp: Don't exceed typical L3 cache sizes with buffers Stefano Brivio 2021-10-19 09:28:44 +0200
  • e8ac8a3b7c test/perf: Use CPU frequency from /proc/cpuinfo instead of cpupower(1) Stefano Brivio 2021-10-19 09:25:29 +0200
  • 1bddcf3dd7 tcp: Fix for non-blocking splice() on older kernels Stefano Brivio 2021-10-19 09:19:50 +0200
  • 9e065b1448 tcp: Fix ACK reporting on older kernels (no tcp.kernel_snd_wnd case) Stefano Brivio 2021-10-19 09:13:53 +0200
  • 5496074862 netlink: NETLINK_GET_STRICT_CHK is not available on older kernels Stefano Brivio 2021-10-19 09:08:06 +0200
  • 8a874ecf58 passt: Include linux/seccomp.h and linux/audit.h instead of seccomp.h Stefano Brivio 2021-10-19 09:03:35 +0200
  • 17600d6d6e netlink, conf: Actually get prefix/mask length Stefano Brivio 2021-10-19 09:01:27 +0200
  • 1ac0d52820 tcp: Arm tcp_data_noack on insufficient window too, don't reset if ACK doesn't match Stefano Brivio 2021-10-16 16:58:16 +0200
  • 85038e9410 passt: Add clock_gettime to list of allowed syscalls Stefano Brivio 2021-10-16 16:54:23 +0200
  • 2c7d1ce088 passt: Static builds: don't redefine __vsyslog(), skip getpwnam() and initgroups() Stefano Brivio 2021-10-16 06:15:05 +0200
  • 1fd0c9b0e1 util, pasta: Don't read() and lseek() every single line in read_line() Stefano Brivio 2021-10-15 22:39:17 +0200
  • 14fe73e766 udp: drop bogus udp_tap_map ts assignment Stefan Hajnoczi 2021-10-15 11:27:17 +0100
  • 6231422dfb demo/pasta: Swap init>ns and ns>init flows Stefano Brivio 2021-10-15 20:45:16 +0200
  • a56721b61c util: Don't duplicate debug messages, they're already on stderr Stefano Brivio 2021-10-15 20:43:41 +0200
  • 6943d41d6c tcp: ...and so I got a socket called zero Stefano Brivio 2021-10-15 20:42:11 +0200
  • bd47b68ebf passt: Check if a PID file was actually requested before creating it Stefano Brivio 2021-10-15 20:40:56 +0200
  • 955fe812dc util: Define ROUND_UP() Stefano Brivio 2021-10-15 17:18:48 +0200
  • 2f4f29c5a7 tcp: Bump TCP_TAP_FRAMES back to 256 Stefano Brivio 2021-10-15 17:17:57 +0200
  • 38fbfdbcb9 tcp: Get rid of iov with cached MSS, drop sendmmsg(), add deferred flush Stefano Brivio 2021-10-15 17:13:23 +0200
  • 54e6513d17 tcp: Clamp MSS depending on IP version, properly derive buffer sizes Stefano Brivio 2021-10-15 17:09:37 +0200
  • bf63832207 conf, pasta: Create a new namespace also if probing netns options failed Stefano Brivio 2021-10-15 17:07:16 +0200
  • 4b12cf94f0 checksum: Stream load into four registers at a time with > 128 bytes Stefano Brivio 2021-10-15 17:04:46 +0200
  • 74f29d3148 checksum: Interleave lo/hi sums while folding into 128-bit sums, drop TODO Stefano Brivio 2021-10-15 16:59:12 +0200
  • 364cc313ea pasta: Allow nanosleep(2) and clock_nanosleep(2) syscalls too Stefano Brivio 2021-10-14 21:48:44 +0200
  • dca31d4206 netlink: Bring up interface even if neither MTU nor MAC address is configured Stefano Brivio 2021-10-14 19:11:05 +0200
  • 388435542e passt: Don't refuse to run if UID is 0 in non-init namespace Stefano Brivio 2021-10-14 18:01:00 +0200
  • 54a65e3693 pasta: Push pasta.h header Stefano Brivio 2021-10-14 13:40:53 +0200
  • 2e6e29a757 slirp4netns.sh: Introduce compatibility wrapper behaving like slirp4netns(1) Stefano Brivio 2021-10-14 13:07:32 +0200
  • 3c6d24dd30 netlink, pasta: Configure MTU of tap interface on --config-net Stefano Brivio 2021-10-14 13:05:56 +0200
  • 54a19002df conf: Add -P, --pid, to specify a file where own PID is written to Stefano Brivio 2021-10-14 12:17:47 +0200
  • 1cbd2c8c6b conf: Reset netns_only flag after probing Stefano Brivio 2021-10-14 12:12:33 +0200
  • c61944a1f8 tcp: Explicitly align IP headers in tcp4_l2_{,flags}buf_t also in non-AVX2 build Stefano Brivio 2021-10-14 12:10:24 +0200
  • f45891cf26 conf, tcp, udp: Add --no-map-gw to disable mapping gateway address to host Stefano Brivio 2021-10-14 05:26:37 +0200
  • 3bb859c505 passt: Warn if we're running as root, abort if we can't change to nobody:nobody Stefano Brivio 2021-10-14 04:54:06 +0200
  • fc93f97774 conf: Reset errno before checking port specifier with strtol(3) Stefano Brivio 2021-10-14 03:08:54 +0200
  • 9f1724ad1e passt: Drop all capabilities that we might have, except for CAP_NET_BIND_SERVICE Stefano Brivio 2021-10-14 02:47:03 +0200
  • 32d07f5e59 passt, pasta: Completely avoid dynamic memory allocation Stefano Brivio 2021-10-14 01:21:29 +0200
  • 66d5930ec7 passt, pasta: Add seccomp support Stefano Brivio 2021-10-13 22:25:03 +0200
  • f318174a93 test: Drop debugging left-overs in lib/util Stefano Brivio 2021-10-13 21:49:59 +0200
  • d5c887de87 doc: Add to man page tip to grant passt the CAP_NET_BIND_SERVICE capability Stefano Brivio 2021-10-12 23:03:01 +0200
  • 4869d309e1 doc: Fix up note about missing tcpi_snd_wnd in man page Stefano Brivio 2021-10-12 22:56:36 +0200
  • c9d57fee7c tcp: Decrease pool size for pipes to 16 Stefano Brivio 2021-10-12 22:53:56 +0200
  • 44ca4bcf3e util: Fix comment to bitmap_clear() Stefano Brivio 2021-10-12 22:53:33 +0200
  • 675174d4ba conf, tap: Split netlink and pasta functions, allow interface configuration Stefano Brivio 2021-10-11 12:01:31 +0200
  • dcd3605d14 conf: Don't get IPv{4,6} DNS addresses if IPv{4,6} is disabled Stefano Brivio 2021-10-10 01:13:37 +0200
  • 580581fd96 conf: Avoid getifaddrs(), split L2/L3 address fetching, get filtered dumps Stefano Brivio 2021-10-10 01:09:25 +0200
  • e871fa9f22 README: Drop domain part in absolute links Stefano Brivio 2021-10-07 15:14:22 +0200
  • 40767a0da3 conf: Fix getopt_long() return value for --quiet Stefano Brivio 2021-10-07 04:07:59 +0200
  • 2da54a0292 pasta: Add second waitid() in pasta_child_handler() Stefano Brivio 2021-10-07 04:09:13 +0200
  • 9a175cc2ce pasta: Allow specifying paths and names of namespaces Giuseppe Scrivano 2021-09-29 16:11:06 +0200
  • ab32838022 git: Add pre-push hook Stefano Brivio 2021-10-06 14:06:37 +0200
  • 8131fc9175 tcp: Check if timestamp is passed also while sending FIN to tap/guest Stefano Brivio 2021-10-05 23:21:40 +0200
  • ccbf13ed1b tcp: Drop EPOLLOUT for connections being established earlier Stefano Brivio 2021-10-05 19:52:24 +0200
  • a909fd5e7a conf: Silence gcc -Os warning Stefano Brivio 2021-10-05 21:22:09 +0200
  • 16f4b983de passt: Shrink binary size by dropping static initialisers Stefano Brivio 2021-10-05 21:15:01 +0200
  • a26722b875 test/lib/term: Export PCAP and DEBUG variables for tmux sessions globally Stefano Brivio 2021-10-05 19:58:59 +0200
  • 8ec5adc989 test/lib/setup: Increase --max-stackframe in commented-out valgrind command Stefano Brivio 2021-10-05 19:57:53 +0200
  • d565082f84 tcp: Simplify ACK-sending conditions in tcp_data_from_tap() Stefano Brivio 2021-10-05 19:51:03 +0200
  • eda446ba54 tcp: Always probe SO_SNDBUF, second attempt Stefano Brivio 2021-10-05 19:48:55 +0200
  • a4826ee04b tcp: Defer and coalesce all segments with no data (flags) to handler Stefano Brivio 2021-10-05 19:46:59 +0200
  • 371667fcfb tcp: Increase LOW_RTT_THRESHOLD to 10us Stefano Brivio 2021-10-05 19:33:37 +0200
  • 78631ceb99 tcp: Reduce size of socket pools Stefano Brivio 2021-10-05 19:32:20 +0200
  • cf9976beac tcp: Increase TCP_TAP_FRAMES once more Stefano Brivio 2021-10-05 19:31:04 +0200
  • d4d61480b6 tcp, tap: Turn tcp_probe_mem() into sock_probe_mem(), use for AF_UNIX socket too Stefano Brivio 2021-10-05 19:27:04 +0200
  • eef4e82903 passt: Add handler for optional deferred tasks Stefano Brivio 2021-10-05 19:20:26 +0200
  • 529b245d2b demo/pasta: Enter the right directory before issuing perf report -g Stefano Brivio 2021-10-04 22:18:35 +0200
  • 52054d8b37 tcp: Fix botched timeout comparison Stefano Brivio 2021-10-04 22:17:22 +0200
  • 98dfe1cdf4 tcp: Check pending ACK every two thirds of window, not every half Stefano Brivio 2021-10-04 22:15:36 +0200
  • ffaf1d09f2 tcp: Don't set ACK flag while merely updating window value Stefano Brivio 2021-10-04 22:14:13 +0200
  • 81128241d6 tcp: Set TCP_TAP_FRAMES back to 32 Stefano Brivio 2021-10-04 22:12:58 +0200
  • 683043e200 tcp: Probe net.core.{r,w}mem_max, don't set SO_{RCV,SND}BUF if low Stefano Brivio 2021-10-04 22:08:24 +0200
  • e1a2e2780c tcp: Check if connection is local or low RTT was seen before using large MSS Stefano Brivio 2021-10-04 22:01:16 +0200
  • f6bff339a9 tcp: Adjust usage of sending buffer depending on its size Stefano Brivio 2021-10-04 21:50:05 +0200
  • 2408ddffa3 tcp: Derive MSS announced to guest/namespace from configured MTU if present Stefano Brivio 2021-09-29 16:46:58 +0200
  • 4e5129719d test: Record CI and demo videos in Xvfb by default, fix demo setup sequence Stefano Brivio 2021-09-29 16:45:26 +0200
  • a8b767b06d README: Fix pasta anchor in Try it section Stefano Brivio 2021-09-28 14:45:07 +0200
  • 299737fa74 doc: Add source Excalidraw scene files for diagrams Stefano Brivio 2021-09-27 15:11:14 +0200
  • 061519b562 test: Add CI/demo scripts Stefano Brivio 2021-09-27 15:10:35 +0200
  • ca325e7583 README: Add demo section Stefano Brivio 2021-09-27 13:45:17 +0200
  • 9657b6ed05 conf, tcp: Periodic detection of bound ports for pasta port forwarding Stefano Brivio 2021-09-27 05:24:30 +0200
  • e69e13671d util: Fix parsing of next option in ipv6_l4hdr() Stefano Brivio 2021-09-27 01:25:19 +0200
  • 904b86ade7 tcp: Rework window handling, timers, add SO_RCVLOWAT and pools for sockets/pipes Stefano Brivio 2021-09-19 02:29:05 +0200
  • 3c839bfc46 tcp: Drop TODO about sequence collision attacks Stefano Brivio 2021-09-27 00:31:17 +0200
  • f004de4a9d tap: Don't leak file descriptor used to bring up loopback interface Stefano Brivio 2021-09-27 00:28:24 +0200