Commit graph

  • c97bb527d6 tcp, tcp_splice: Move per-type cleanup logic into per-type helpers David Gibson 2024-01-16 11:50:34 +1100
  • eebca1115f tcp, tcp_splice: Remove redundant handling from tcp_timer() David Gibson 2024-01-16 11:50:33 +1100
  • 8563e7c870 treewide: Standardise on 'now' for current timestamp variables David Gibson 2024-01-16 11:50:32 +1100
  • 17bbab1c97 flow: Make flow_table.h #include the protocol specific headers it needs David Gibson 2024-01-16 11:50:31 +1100
  • 00c6eb6b68 pif: Remove unused pif_name() function David Gibson 2024-01-15 17:39:44 +1100
  • a179ca6707 treewide: Make a bunch of pointer variables pointers to const David Gibson 2024-01-15 17:39:43 +1100
  • f60c85194b test: Fix passt.mbuto for cases where /usr/sbin doesn't exist David Gibson 2024-01-15 17:39:42 +1100
  • f091893c1f netlink: Fetch most specific (longest prefix) address in nl_addr_get() 2023_12_30.f091893 Stefano Brivio 2023-12-27 14:46:39 +0100
  • 62b94c3ec8 README: Default SLAAC prefix comes from address (not prefix) on host Stefano Brivio 2023-12-27 11:48:20 +0100
  • e197c4e490 README: Fix broken link to CentOS Stream package Stefano Brivio 2023-12-30 11:44:51 +0100
  • f0ccca741f test: make passt.mbuto script more robust Jon Paul Maloy 2023-12-14 16:12:19 -0500
  • 6a348cb435 tcp: make tcp_sock_set_bufsize() static (again) Laurent Vivier 2023-12-04 15:23:11 +0100
  • 57de44a4bc util: Make sock_l4() treat empty string ifname like NULL David Gibson 2023-12-08 01:31:40 +1100
  • 5cada56186 treewide: Avoid in_addr_t David Gibson 2023-12-08 01:31:39 +1100
  • 24d1f6570b icmp: Avoid unnecessary handling of unspecified bind address David Gibson 2023-12-08 01:31:38 +1100
  • b9f4314ef9 util: Drop explicit setting to INADDR_ANY/in6addr_any in sock_l4() David Gibson 2023-12-08 01:31:37 +1100
  • eae4304000 util: Use htonl_constant() in more places David Gibson 2023-12-08 01:31:36 +1100
  • 073f530bfe treewide: Add IN4ADDR_ANY_INIT macro David Gibson 2023-12-08 01:31:35 +1100
  • 546332786c treewide: Use IN4ADDR_LOOPBACK_INIT more widely David Gibson 2023-12-08 01:31:34 +1100
  • 1f2aab8aaa tcp: Fix address type for tcp_sock_init_af() David Gibson 2023-12-08 01:31:33 +1100
  • 4681ea09bc checksum: Don't use linux/icmp.h when netinet/ip_icmp.h will do David Gibson 2023-12-05 20:16:17 +1100
  • 5d5bb8c150 tcp: Don't account for hash table size in tcp_hash() David Gibson 2023-12-07 16:53:53 +1100
  • 64e5459ba6 tcp: Implement hash table with indices rather than pointers David Gibson 2023-12-07 16:53:52 +1100
  • 5913f26415 tcp: Switch hash table to linear probing instead of chaining David Gibson 2023-12-07 16:53:51 +1100
  • 89fcb563fc tcp: Fix conceptually incorrect byte-order switch in tcp_tap_handler() David Gibson 2023-12-07 16:53:50 +1100
  • a672705e4d README: Update "Availability" section Stefano Brivio 2023-12-24 18:36:29 +0100
  • fd29d62a9d tcp: Cast timeval fields to unsigned long long for printing Stefano Brivio 2023-12-24 18:13:43 +0100
  • 60925b8b4e flow: Add missing include, stdio.h Stefano Brivio 2023-12-24 17:56:51 +0100
  • baf4e2c028 test: Select first reported IPv6 address for guest/host comparison Stefano Brivio 2023-12-08 18:41:36 +0100
  • 00358b7828 ndp: Extend lifetime of prefix, router, RDNSS and search list Stefano Brivio 2023-12-08 17:43:17 +0100
  • d491a4099b test: Make handling of shell prompts with escapes a little more reliable David Gibson 2023-11-23 12:52:53 +1100
  • b86afe3559 tcp: Don't defer hash table removal 2023_12_04.b86afe3 David Gibson 2023-11-30 13:02:22 +1100
  • e21b6d69b1 tcp: "TCP" hash secret doesn't need to be TCP specific David Gibson 2023-11-30 13:02:21 +1100
  • cf83988e96 pif: Add helpers to get the name of a pif David Gibson 2023-11-30 13:02:20 +1100
  • 460064d262 test: Avoid hitting guestfish command length limits David Gibson 2023-11-30 13:02:19 +1100
  • 705549f834 flow,tcp: Use epoll_ref type including flow and side David Gibson 2023-11-30 13:02:18 +1100
  • 788d2fe3ce tcp_splice: Use unsigned to represent side David Gibson 2023-11-30 13:02:17 +1100
  • ecea8d36ff flow,tcp: Generalise TCP epoll_ref to generic flows David Gibson 2023-11-30 13:02:16 +1100
  • 31bab5f2d9 tcp: Remove unneccessary bounds check in tcp_timer_handler() David Gibson 2023-11-30 13:02:15 +1100
  • df96a4cb5d flow: Introduce 'sidx' type to represent one side of one flow David Gibson 2023-11-30 13:02:14 +1100
  • eb8b1a233b flow, tcp: Add logging helpers for connection related messages David Gibson 2023-11-30 13:02:13 +1100
  • 96590b0560 flow: Make unified version of flow table compaction David Gibson 2023-11-30 13:02:12 +1100
  • 9d44aba7e0 util: MAX_FROM_BITS() should be unsigned David Gibson 2023-11-30 13:02:11 +1100
  • e2e8219f13 flow, tcp: Consolidate flow pointer<->index helpers David Gibson 2023-11-30 13:02:10 +1100
  • f08ce92a13 flow, tcp: Move TCP connection table to unified flow table David Gibson 2023-11-30 13:02:09 +1100
  • 16ae032608 flow, tcp: Generalise connection types David Gibson 2023-11-30 13:02:08 +1100
  • ba84a3b17a treewide: Add messages to static_assert() calls David Gibson 2023-11-30 13:02:07 +1100
  • d902bb6288 tcp: remove useless assignment Laurent Vivier 2023-11-28 17:54:23 +0100
  • bae676a44e port_fwd, util: Include additional headers to fix build with musl Stefano Brivio 2023-11-29 14:19:06 +0100
  • 7e175f32c1 packet: Offset plus length is not always uint32_t, but it's always size_t Stefano Brivio 2023-11-29 13:20:18 +0100
  • 06559048e7 treewide: Use 'z' length modifier for size_t/ssize_t conversions Stefano Brivio 2023-11-29 13:17:10 +0100
  • 4117bd94f9 port_fwd, util: Don't bind UDP ports with opposite-side bound TCP ports Stefano Brivio 2023-11-21 17:18:26 +0100
  • 4f1709db1b valgrind: Don't disable optimizations for valgrind builds 2023_11_19.4f1709d David Gibson 2023-11-16 20:15:59 +1100
  • f7724647b1 valgrind: Adjust suppression for MSG_TRUNC with NULL buffer David Gibson 2023-11-16 20:15:58 +1100
  • 457ff122e3 udp,pasta: Periodically scan for ports to automatically forward David Gibson 2023-11-15 16:25:34 +1100
  • 4ccdeecb74 tcp: Simplify away tcp_port_rebind() David Gibson 2023-11-15 16:25:33 +1100
  • 1776e7af9b tcp: Use common helper for rebinding inbound and outbound ports David Gibson 2023-11-15 16:25:32 +1100
  • 3be9e0010e clang-tidy: Suppress silly misc-include-cleaner warnings David Gibson 2023-11-15 13:59:45 +1100
  • 5ec3634b07 tap, pasta: Handle short writes to /dev/tap 2023_11_10.5ec3634 David Gibson 2023-11-08 14:17:54 +1100
  • f0776eac07 tap, pasta: Handle incomplete tap sends for pasta too David Gibson 2023-11-08 14:17:53 +1100
  • cf3eeba6c0 tcp: Don't use TCP_WINDOW_CLAMP David Gibson 2023-11-09 20:54:00 +1100
  • 930bc3b0f2 tcp: Rename and small cleanup to tcp_clamp_window() David Gibson 2023-11-09 20:53:59 +1100
  • 2c1554c994 test/lib/perf_report: Fix up table highlight for pasta's local flows Stefano Brivio 2023-11-10 06:35:54 +0100
  • 56d9f6d588 Revert "selinux: Drop user_namespace class rules for Fedora 37" 2023_11_07.56d9f6d Stefano Brivio 2023-11-07 14:58:02 +0100
  • 74e6f48038 selinux: Allow passt to talk over unconfined_t UNIX domain socket for --fd 2023_11_07.74e6f48 Stefano Brivio 2023-11-07 12:28:27 +0100
  • 50bc25a23c log: Match implicit va_start() with va_end() in vlogmsg() Stefano Brivio 2023-11-07 12:17:07 +0100
  • 9494a51a4e port_fwd: Don't try to read bound ports from invalid file handles Stefano Brivio 2023-11-07 12:04:33 +0100
  • b944622969 netlink: Sequence numbers are actually 32 bits wide Stefano Brivio 2023-11-07 11:13:05 +0100
  • 53ff387156 test/perf: Simplify calculation of "omit" time for TCP throughput David Gibson 2023-11-06 18:08:33 +1100
  • aa0bb9f471 test/perf: Remove unnecessary --pacing-timer options David Gibson 2023-11-06 18:08:32 +1100
  • 498108ad70 test/perf: "MTU" changes in passt_tcp host to guest aren't useful David Gibson 2023-11-06 18:08:31 +1100
  • f94adb121a test/perf: Explicitly control UDP packet length, instead of MTU David Gibson 2023-11-06 18:08:30 +1100
  • 2926970523 test/perf: Small MTUs for spliced TCP aren't interesting David Gibson 2023-11-06 18:08:29 +1100
  • e516809a74 test/perf: Start iperf3 server less often David Gibson 2023-11-06 18:08:28 +1100
  • f9ff6678d4 test/perf: Get iperf3 stats from client side David Gibson 2023-11-06 18:08:27 +1100
  • 8a41a8b20f test/perf: Remove stale iperf3c/iperf3s directives David Gibson 2023-11-06 18:08:26 +1100
  • de974f0cf1 udp: Remove socket from udp_{tap,splice}_map when timed out David Gibson 2023-11-06 13:17:09 +1100
  • 480aa4a108 udp: Consistently use -1 to indicate un-opened sockets in maps David Gibson 2023-11-06 13:17:08 +1100
  • c0426ff10b log: Add vlogmsg() David Gibson 2023-10-13 15:50:30 +1100
  • 5972203174 log: Enable format warnings David Gibson 2023-10-13 15:50:29 +1100
  • 50d46ec847 log: Don't define logging function 4 times David Gibson 2023-10-13 15:50:28 +1100
  • 0ad54e1043 tcp: Remove remaining declaration of tcp_l2_mh Laurent Vivier 2023-10-13 10:45:45 +0200
  • 515db1ecc4 tcp_splice: Simplify selection of socket and pipe sides in socket handler David Gibson 2023-11-07 13:42:50 +1100
  • 7486cd13af tcp_splice: Exploit side symmetry in tcp_splice_destroy() David Gibson 2023-11-07 13:42:49 +1100
  • 69db3b3b29 tcp_splice: Exploit side symmetry in tcp_splice_connect_finish() David Gibson 2023-11-07 13:42:48 +1100
  • 1b76257147 tcp_splice: Exploit side symmetry in tcp_splice_timer() David Gibson 2023-11-07 13:42:47 +1100
  • 8545058fbe tcp_splice: Rename sides of connection from a/b to 0/1 David Gibson 2023-11-07 13:42:46 +1100
  • 0e8e534850 tcp_splice: Don't pool pipes in pairs David Gibson 2023-11-07 13:42:45 +1100
  • 6357010cab tcp_splice: Avoid awkward temporaries in tcp_splice_epoll_ctl() David Gibson 2023-11-07 13:42:44 +1100
  • 409d3ca87f tcp_splice: Remove unnecessary forward declaration David Gibson 2023-11-07 13:42:43 +1100
  • 5a79ba6272 tcp_splice: Don't handle EPOLL_CTL_DEL as part of tcp_splice_epoll_ctl() David Gibson 2023-11-07 13:42:42 +1100
  • 536acab2de tcp_splice: Correct error handling in tcp_splice_epoll_ctl() David Gibson 2023-11-07 13:42:41 +1100
  • d33cbc600e tcp_splice: Remove redundant tcp_splice_epoll_ctl() David Gibson 2023-11-07 13:42:40 +1100
  • f6d8dc2355 pif: Pass originating pif to tap handler functions David Gibson 2023-11-07 12:40:16 +1100
  • 732e249376 pif: Record originating pif in listening socket refs David Gibson 2023-11-07 12:40:15 +1100
  • 125c5e52a5 pif: Introduce notion of passt/pasta interface David Gibson 2023-11-07 12:40:14 +1100
  • 0d73fa2225 udp: Clean up ref initialisation in udp_sock_init() David Gibson 2023-11-07 12:40:13 +1100
  • c09d0d0f60 port_fwd: Simplify get_bound_ports_*() to port_fwd_scan_*() David Gibson 2023-11-03 13:23:03 +1100
  • dcf5c0eb1e port_fwd: Move port scanning /proc fds into struct port_fwd David Gibson 2023-11-03 13:23:02 +1100
  • 1a40d00895 port_fwd: Split TCP and UDP cases for get_bound_ports() David Gibson 2023-11-03 13:23:01 +1100