Commit graph

  • 0d547a5b0f qrap: Generate -netdev as JSON Andrea Bolognani 2023-02-24 19:49:49 +0100
  • 4f2341f31d qrap: Introduce machine-specific PCI address base Andrea Bolognani 2023-02-24 19:49:48 +0100
  • 8828a637ba qrap: Drop args in JSON format Andrea Bolognani 2023-02-24 19:49:47 +0100
  • 16f19c87f5 qrap: Fix support for pc machines Andrea Bolognani 2023-02-24 19:49:46 +0100
  • 9cec4309c9 qrap: Fix limits for PCI addresses Andrea Bolognani 2023-02-24 19:49:45 +0100
  • d2df763232 log, conf, tap: Define die() as err() plus exit(), drop cppcheck workarounds Stefano Brivio 2023-02-27 04:06:19 +0100
  • fb05a71378 doc/demo: Fix and suppress ShellCheck warnings Stefano Brivio 2023-02-27 03:44:25 +0100
  • 26a0e4d6ee Fix definitions of SOCKET_MAX, TCP_MAX_CONNS Stefano Brivio 2023-02-27 03:30:01 +0100
  • 4f523c3276 tcp: Avoid (theoretical) resource leak (CWE-772) Coverity warning Stefano Brivio 2023-02-27 03:13:31 +0100
  • a1d5537741 tcp: Avoid false (but convoluted) positive Coverity CWE-476 warning Stefano Brivio 2023-02-27 03:05:26 +0100
  • 5474bc5485 tcp, tcp_splice: Get rid of false positive CWE-394 Coverity warning from fls() Stefano Brivio 2023-02-27 02:45:42 +0100
  • a48c5c2abf treewide: Disable gcc strict aliasing rules as needed, drop workarounds Stefano Brivio 2023-02-27 01:57:36 +0100
  • da46fdac36 tcp: Suppress knownConditionTrueFalse cppcheck false positive Stefano Brivio 2023-02-25 12:09:01 +0100
  • 834b9a3049 log: Send identifier string in log messages, openlog() won't work for us Stefano Brivio 2023-02-23 18:32:20 +0100
  • bad2526872 conf, udp: Allow any loopback address to be used as resolver Stefano Brivio 2023-02-23 16:41:47 +0000
  • 8ca907a3f0 conf: Split add_dns{4,6}() out of get_dns() Stefano Brivio 2023-02-23 13:32:30 +0000
  • ddf7097a71 udp: Actually use host resolver to forward DNS queries Stefano Brivio 2023-02-23 12:21:29 +0000
  • 4ddbcb9c0c tcp: Disable optimisations for tcp_hash() 2023_02_22.4ddbcb9 Stefano Brivio 2023-02-22 13:12:58 +0100
  • 933aa1014b selinux/passt.te: Allow setting socket option on routing netlink socket Stefano Brivio 2023-02-21 18:09:23 +0000
  • 0c11355e83 selinux/passt.te: Allow /etc/resolv.conf symlinks to be followed Stefano Brivio 2023-02-21 18:07:31 +0000
  • 7d9150db0a selinux/passt.te: Allow setcap on the process itself Stefano Brivio 2023-02-21 18:06:05 +0000
  • 01801b131f selinux: Switch to a more reasonable model for PID and socket files Stefano Brivio 2023-02-21 18:03:49 +0000
  • 4902447630 selinux: Define interfaces for libvirt and similar frameworks Stefano Brivio 2023-02-21 18:00:13 +0000
  • 9136f74015 selinux/passt.if: Fix typo in passt_read_data interface definition Stefano Brivio 2023-02-21 17:56:07 +0000
  • 4663ccc89a conf: Fix typo and logic in conf_ports() check for port binding 2023_02_16.4663ccc Stefano Brivio 2023-02-16 19:46:36 +0100
  • 36f0199f6e conf, tap: Silence two false positive invalidFunctionArg from cppcheck Stefano Brivio 2023-02-16 19:19:23 +0100
  • 89e0fbfaa7 tcp: Remove 'zero_len' goto from tcp_data_from_sock David Gibson 2023-02-16 16:43:11 +1100
  • 83b2061ae7 tcp: Remove 'recvmsg' goto from tcp_data_from_sock David Gibson 2023-02-16 16:43:10 +1100
  • 42bfd212b1 tap: Eliminate goto from tap_handler() David Gibson 2023-02-16 16:43:09 +1100
  • b62ed9ca0e tap: Don't pcap frames that didn't get sent David Gibson 2023-02-16 16:43:08 +1100
  • d9577965a3 passt.1: Fix typo, improve wording in examples of port forwarding specifiers Stefano Brivio 2023-02-16 02:00:47 +0100
  • 77a6d976aa dhcp: Fix netmask calculation for option 1 from prefix length Stefano Brivio 2023-02-16 01:53:30 +0100
  • 7564b58a7f tap: Use single counter for iov elements in tap_send_frames_pasta() Stefano Brivio 2023-02-16 01:36:17 +0100
  • 3d0de2c1d7 conf, tcp, udp: Exit if we fail to bind sockets for all given ports Stefano Brivio 2023-02-16 01:29:55 +0100
  • b4f13c2b18 log: Don't duplicate messages on stderr before daemonising Stefano Brivio 2023-02-15 12:47:48 +0100
  • c9af6f92db convert all remaining err() followed by exit() to die() Laine Stump 2023-02-15 03:24:37 -0500
  • a1ab1ca2ee log a detailed error (not usage()) when there are extra non-option arguments Laine Stump 2023-02-15 03:24:36 -0500
  • 60bd93e91f make conf_netns_opt() exit immediately after logging error Laine Stump 2023-02-15 03:24:35 -0500
  • ead4a98111 make conf_ugid() exit immediately after logging error Laine Stump 2023-02-15 03:24:34 -0500
  • fe2a54e86e make conf_pasta_ns() exit immediately after logging error Laine Stump 2023-02-15 03:24:33 -0500
  • b20fe11b36 make conf_ports() exit immediately after logging error Laine Stump 2023-02-15 03:24:32 -0500
  • c864c60047 eliminate most calls to usage() in conf() Laine Stump 2023-02-15 03:24:31 -0500
  • dac4af81e3 add die() to log an error message and exit with a single call Laine Stump 2023-02-15 03:24:30 -0500
  • 193385bd2f log to stderr until process is daemonized, even if a log file is set Laine Stump 2023-02-15 03:24:29 -0500
  • dccc2ff774 test: Fedora 32-35 have moved to the archives David Gibson 2023-02-14 10:37:13 +1100
  • 64325a0dac test: Update location for Debian ppc64 images David Gibson 2023-02-14 10:37:12 +1100
  • 6ccab72d9b tcp: Improve handling of fallback if socket pool is empty on new splice David Gibson 2023-02-14 10:48:23 +1100
  • dc467d526f tcp: Split pool lookup from creating new sockets in tcp_conn_new_sock() David Gibson 2023-02-14 10:48:22 +1100
  • 912d37cd5b tcp: Move socket pool declarations around David Gibson 2023-02-14 10:48:21 +1100
  • c8993476d5 tcp: Split init and ns cases for tcp_sock_refill() David Gibson 2023-02-14 10:48:20 +1100
  • e456c1ccdc tcp: Make a helper to refill each socket pool David Gibson 2023-02-14 10:48:19 +1100
  • ee8353cd64 Makefile: Explict int type in FALLOC_FL_COLLAPSE_RANGE probe Florian Weimer 2023-02-03 16:09:34 +0100
  • 67920b8820 test/pasta_options: Ignore failures on shell 'exit' Stefano Brivio 2023-02-12 23:52:29 +0100
  • a234407f5c pasta: propagate exit code from child command Paul Holzinger 2023-02-09 15:59:49 +0100
  • 04dfc5b81f pasta: correctly exit when execvp() fails Paul Holzinger 2023-02-08 16:54:40 +0100
  • 3487b5fc93 pasta: do not leak netlink sock into child Paul Holzinger 2023-02-07 16:10:46 +0100
  • 7a8ed9459d Make assertions actually useful David Gibson 2023-01-16 14:15:27 +1000
  • cc6d8286d1 tcp: Reset ACK_FROM_TAP_DUE flag only as needed, update timer Stefano Brivio 2023-02-12 22:26:55 +0100
  • ac153595c0 tap: Send frames after the first one in tap_send_frames_pasta() Stefano Brivio 2023-02-12 14:34:38 +0100
  • d8921dafe5 pasta: Wait for tap to be set up before spawning command Stefano Brivio 2023-02-12 12:22:59 +0100
  • 54502cca7f udp: Use tap_send_frames() David Gibson 2023-01-06 11:43:22 +1100
  • 2d553b587a tap: Improve handling of partial frame sends David Gibson 2023-01-06 11:43:21 +1100
  • 97d1ca2ed6 udp: Use abstracted tap header David Gibson 2023-01-06 11:43:20 +1100
  • 0fb7b2b908 tap: Use different io vector bases depending on tap type David Gibson 2023-01-06 11:43:19 +1100
  • 2416310a17 tcp: Use abstracted tap header David Gibson 2023-01-06 11:43:18 +1100
  • 4b3d38a069 tap: Add "tap headers" abstraction David Gibson 2023-01-06 11:43:17 +1100
  • e4443ba9bd tcp: Consolidate calculation of total frame size David Gibson 2023-01-06 11:43:16 +1100
  • dcea26076d tcp: Remove redundant and incorrect initialization from *_iov_init() David Gibson 2023-01-06 11:43:15 +1100
  • 716a926ef4 util: Parameterize ethernet header initializer macro David Gibson 2023-01-06 11:43:14 +1100
  • 67afaab411 tcp, udp: Use named field initializers in iov_init functions David Gibson 2023-01-06 11:43:13 +1100
  • f5a950115b util: Introduce hton*_constant() in place of #ifdefs David Gibson 2023-01-06 11:43:12 +1100
  • 6d011c1faa tap, tcp: Move tap send path to tap.c David Gibson 2023-01-06 11:43:11 +1100
  • e21ee41ac3 tcp: Combine two parts of pasta tap send path together David Gibson 2023-01-06 11:43:10 +1100
  • a79e774770 tcp: Improve interface to tcp_l2_buf_flush() David Gibson 2023-01-06 11:43:09 +1100
  • f1d2d35416 tcp: Don't compute total bytes in a message until we need it David Gibson 2023-01-06 11:43:08 +1100
  • 99f0be3cad tcp: Combine two parts of passt tap send path together David Gibson 2023-01-06 11:43:07 +1100
  • d3089eb0ea pcap: Replace pcapm() with pcap_multiple() David Gibson 2023-01-06 11:43:06 +1100
  • cb3c1ce307 pcap: Introduce pcap_frame() helper David Gibson 2023-01-06 11:43:05 +1100
  • b93d025d50 udp: Don't use separate sockets to listen for spliced packets David Gibson 2023-01-05 15:26:25 +1100
  • 8d503e825f udp: Decide whether to "splice" per datagram rather than per socket David Gibson 2023-01-05 15:26:24 +1100
  • 8a10f23720 udp: Unify udp_sock_handler_splice() with udp_sock_handler() David Gibson 2023-01-05 15:26:23 +1100
  • f1ed8dbfa7 udp: Pre-populate msg_names with local address David Gibson 2023-01-05 15:26:22 +1100
  • c9e193b5ae udp: Don't handle tap receive batch size calculation within a #define David Gibson 2023-01-05 15:26:21 +1100
  • 4eb54fd2e7 udp: Split receive from preparation and send in udp_sock_handler() David Gibson 2023-01-05 15:26:20 +1100
  • 09c00f1d2a udp: Split sending to passt tap interface into separate function David Gibson 2023-01-05 15:26:19 +1100
  • a6e919a951 udp: Move sending pasta tap frames to the end of udp_sock_handler() David Gibson 2023-01-05 15:26:18 +1100
  • c196953f1e test/perf/pasta_tcp: Add host to namespace cases for traffic via tap Stefano Brivio 2023-01-04 18:42:50 +0100
  • 37f82ccd9f tcp: Explicitly check option length field values in tcp_opt_get() Stefano Brivio 2023-01-04 17:31:08 +0100
  • 08c01f5b4e test/perf/pasta_udp: Add host to namespace cases for traffic via tap Stefano Brivio 2023-01-04 00:49:07 +0100
  • 310bdbdcf4 udp: Factor out control structure management from udp_sock_fill_data_v[46] David Gibson 2022-11-24 19:54:21 +1100
  • 4b2d227c86 udp: Preadjust udp[46]_l2_iov_tap[].iov_base for pasta mode David Gibson 2022-11-24 19:54:20 +1100
  • d533807027 udp: Better factor IPv4 and IPv6 paths in udp_sock_handler() David Gibson 2022-11-24 19:54:19 +1100
  • 6af7ee74cf udp: Fix incorrect use of IPv6 mh buffers in IPv4 path David Gibson 2022-11-24 19:54:18 +1100
  • 34764ea4f3 udp: Correct splice forwarding when receiving from multiple sources David Gibson 2022-11-30 15:13:16 +1100
  • 2dec914209 udp: Split send half of udp_sock_handler_splice() from the receive half David Gibson 2022-11-30 15:13:15 +1100
  • fc7f91e709 udp: Unify buffers for tap and splice paths David Gibson 2022-11-30 15:13:14 +1100
  • c52ca4aecf udp: Add helper to extract port from a sockaddr_in or sockaddr_in6 David Gibson 2022-11-30 15:13:13 +1100
  • e7e2a321ba udp: Make UDP_SPLICE_FRAMES and UDP_TAP_FRAMES_MEM the same thing David Gibson 2022-11-30 15:13:12 +1100
  • 5b0027f942 udp: Simplify udp_sock_handler_splice David Gibson 2022-11-30 15:13:11 +1100
  • 71d2595a8f udp: Update UDP "connection" timestamps in both directions David Gibson 2022-11-30 15:13:10 +1100