1
0
Fork 0
mirror of https://passt.top/passt synced 2025-04-09 23:15:02 +02:00

Commit graph

  • 193385bd2f log to stderr until process is daemonized, even if a log file is set Laine Stump 2023-02-15 03:24:29 -05:00
  • dccc2ff774 test: Fedora 32-35 have moved to the archives David Gibson 2023-02-14 10:37:13 +11:00
  • 64325a0dac test: Update location for Debian ppc64 images David Gibson 2023-02-14 10:37:12 +11:00
  • 6ccab72d9b tcp: Improve handling of fallback if socket pool is empty on new splice David Gibson 2023-02-14 10:48:23 +11:00
  • dc467d526f tcp: Split pool lookup from creating new sockets in tcp_conn_new_sock() David Gibson 2023-02-14 10:48:22 +11:00
  • 912d37cd5b tcp: Move socket pool declarations around David Gibson 2023-02-14 10:48:21 +11:00
  • c8993476d5 tcp: Split init and ns cases for tcp_sock_refill() David Gibson 2023-02-14 10:48:20 +11:00
  • e456c1ccdc tcp: Make a helper to refill each socket pool David Gibson 2023-02-14 10:48:19 +11:00
  • ee8353cd64 Makefile: Explict int type in FALLOC_FL_COLLAPSE_RANGE probe Florian Weimer 2023-02-03 16:09:34 +01:00
  • 67920b8820 test/pasta_options: Ignore failures on shell 'exit' Stefano Brivio 2023-02-12 23:52:29 +01:00
  • a234407f5c pasta: propagate exit code from child command Paul Holzinger 2023-02-09 15:59:49 +01:00
  • 04dfc5b81f pasta: correctly exit when execvp() fails Paul Holzinger 2023-02-08 16:54:40 +01:00
  • 3487b5fc93 pasta: do not leak netlink sock into child Paul Holzinger 2023-02-07 16:10:46 +01:00
  • 7a8ed9459d Make assertions actually useful David Gibson 2023-01-16 14:15:27 +10:00
  • cc6d8286d1 tcp: Reset ACK_FROM_TAP_DUE flag only as needed, update timer Stefano Brivio 2023-02-12 22:26:55 +01:00
  • ac153595c0 tap: Send frames after the first one in tap_send_frames_pasta() Stefano Brivio 2023-02-12 14:34:38 +01:00
  • d8921dafe5 pasta: Wait for tap to be set up before spawning command Stefano Brivio 2023-02-12 12:22:59 +01:00
  • 54502cca7f udp: Use tap_send_frames() David Gibson 2023-01-06 11:43:22 +11:00
  • 2d553b587a tap: Improve handling of partial frame sends David Gibson 2023-01-06 11:43:21 +11:00
  • 97d1ca2ed6 udp: Use abstracted tap header David Gibson 2023-01-06 11:43:20 +11:00
  • 0fb7b2b908 tap: Use different io vector bases depending on tap type David Gibson 2023-01-06 11:43:19 +11:00
  • 2416310a17 tcp: Use abstracted tap header David Gibson 2023-01-06 11:43:18 +11:00
  • 4b3d38a069 tap: Add "tap headers" abstraction David Gibson 2023-01-06 11:43:17 +11:00
  • e4443ba9bd tcp: Consolidate calculation of total frame size David Gibson 2023-01-06 11:43:16 +11:00
  • dcea26076d tcp: Remove redundant and incorrect initialization from *_iov_init() David Gibson 2023-01-06 11:43:15 +11:00
  • 716a926ef4 util: Parameterize ethernet header initializer macro David Gibson 2023-01-06 11:43:14 +11:00
  • 67afaab411 tcp, udp: Use named field initializers in iov_init functions David Gibson 2023-01-06 11:43:13 +11:00
  • f5a950115b util: Introduce hton*_constant() in place of #ifdefs David Gibson 2023-01-06 11:43:12 +11:00
  • 6d011c1faa tap, tcp: Move tap send path to tap.c David Gibson 2023-01-06 11:43:11 +11:00
  • e21ee41ac3 tcp: Combine two parts of pasta tap send path together David Gibson 2023-01-06 11:43:10 +11:00
  • a79e774770 tcp: Improve interface to tcp_l2_buf_flush() David Gibson 2023-01-06 11:43:09 +11:00
  • f1d2d35416 tcp: Don't compute total bytes in a message until we need it David Gibson 2023-01-06 11:43:08 +11:00
  • 99f0be3cad tcp: Combine two parts of passt tap send path together David Gibson 2023-01-06 11:43:07 +11:00
  • d3089eb0ea pcap: Replace pcapm() with pcap_multiple() David Gibson 2023-01-06 11:43:06 +11:00
  • cb3c1ce307 pcap: Introduce pcap_frame() helper David Gibson 2023-01-06 11:43:05 +11:00
  • b93d025d50 udp: Don't use separate sockets to listen for spliced packets David Gibson 2023-01-05 15:26:25 +11:00
  • 8d503e825f udp: Decide whether to "splice" per datagram rather than per socket David Gibson 2023-01-05 15:26:24 +11:00
  • 8a10f23720 udp: Unify udp_sock_handler_splice() with udp_sock_handler() David Gibson 2023-01-05 15:26:23 +11:00
  • f1ed8dbfa7 udp: Pre-populate msg_names with local address David Gibson 2023-01-05 15:26:22 +11:00
  • c9e193b5ae udp: Don't handle tap receive batch size calculation within a #define David Gibson 2023-01-05 15:26:21 +11:00
  • 4eb54fd2e7 udp: Split receive from preparation and send in udp_sock_handler() David Gibson 2023-01-05 15:26:20 +11:00
  • 09c00f1d2a udp: Split sending to passt tap interface into separate function David Gibson 2023-01-05 15:26:19 +11:00
  • a6e919a951 udp: Move sending pasta tap frames to the end of udp_sock_handler() David Gibson 2023-01-05 15:26:18 +11:00
  • c196953f1e test/perf/pasta_tcp: Add host to namespace cases for traffic via tap Stefano Brivio 2023-01-04 18:42:50 +01:00
  • 37f82ccd9f tcp: Explicitly check option length field values in tcp_opt_get() Stefano Brivio 2023-01-04 17:31:08 +01:00
  • 08c01f5b4e test/perf/pasta_udp: Add host to namespace cases for traffic via tap Stefano Brivio 2023-01-04 00:49:07 +01:00
  • 310bdbdcf4 udp: Factor out control structure management from udp_sock_fill_data_v[46] David Gibson 2022-11-24 19:54:21 +11:00
  • 4b2d227c86 udp: Preadjust udp[46]_l2_iov_tap[].iov_base for pasta mode David Gibson 2022-11-24 19:54:20 +11:00
  • d533807027 udp: Better factor IPv4 and IPv6 paths in udp_sock_handler() David Gibson 2022-11-24 19:54:19 +11:00
  • 6af7ee74cf udp: Fix incorrect use of IPv6 mh buffers in IPv4 path David Gibson 2022-11-24 19:54:18 +11:00
  • 34764ea4f3 udp: Correct splice forwarding when receiving from multiple sources David Gibson 2022-11-30 15:13:16 +11:00
  • 2dec914209 udp: Split send half of udp_sock_handler_splice() from the receive half David Gibson 2022-11-30 15:13:15 +11:00
  • fc7f91e709 udp: Unify buffers for tap and splice paths David Gibson 2022-11-30 15:13:14 +11:00
  • c52ca4aecf udp: Add helper to extract port from a sockaddr_in or sockaddr_in6 David Gibson 2022-11-30 15:13:13 +11:00
  • e7e2a321ba udp: Make UDP_SPLICE_FRAMES and UDP_TAP_FRAMES_MEM the same thing David Gibson 2022-11-30 15:13:12 +11:00
  • 5b0027f942 udp: Simplify udp_sock_handler_splice David Gibson 2022-11-30 15:13:11 +11:00
  • 71d2595a8f udp: Update UDP "connection" timestamps in both directions David Gibson 2022-11-30 15:13:10 +11:00
  • 7610034fef udp: Don't explicitly track originating socket for spliced "connections" David Gibson 2022-11-30 15:13:09 +11:00
  • 27bfebb061 udp: Re-use fixed bound sockets for packet forwarding when possible David Gibson 2022-11-30 15:13:08 +11:00
  • c277c6dd7d udp: Don't create double sockets for -U port David Gibson 2022-11-30 15:13:07 +11:00
  • d9394eb9b7 udp: Split splice field in udp_epoll_ref into (mostly) independent bits David Gibson 2022-11-30 15:13:06 +11:00
  • 8517239243 udp: Remove the @bound field from union udp_epoll_ref David Gibson 2022-11-30 15:13:05 +11:00
  • 1cd684b09b udp: Don't connect "forward" sockets for spliced flows David Gibson 2022-11-30 15:13:04 +11:00
  • 9ef31b7619 udp: Always use sendto() rather than send() for forwarding spliced packets David Gibson 2022-11-30 15:13:03 +11:00
  • 729edc241d udp: Separate tracking of inbound and outbound packet flows David Gibson 2022-11-30 15:13:02 +11:00
  • 4ebb4905e9 udp: Also bind() connected ports for "splice" forwarding David Gibson 2022-11-30 15:13:01 +11:00
  • 190169c544 passt, tap: Process data on the socket before HUP/ERR events Richard W.M. Jones 2022-11-17 18:49:35 +00:00
  • 6b4e68383c passt, tap: Add --fd option Richard W.M. Jones 2022-11-17 18:49:34 +00:00
  • 15119dcf6c build: Remove *~ files with make clean Richard W.M. Jones 2022-11-17 18:49:33 +00:00
  • 4d099c85df build: Force-create pasta symlink Richard W.M. Jones 2022-11-17 18:49:32 +00:00
  • b06014a6b2 tcp: Pass union tcp_conn pointer to destroy and splice timer functions Stefano Brivio 2022-11-19 09:29:54 +01:00
  • 8e914238b6 tcp: Use dual stack sockets for port forwarding when possible David Gibson 2022-11-17 16:59:08 +11:00
  • 8033a8e889 util: Always return -1 on error in sock_l4() David Gibson 2022-11-17 16:59:07 +11:00
  • 9b0cc33d68 util: Allow sock_l4() to open dual stack sockets David Gibson 2022-11-17 16:59:06 +11:00
  • ebf56c7b56 tcp: Consolidate tcp_sock_init[46] David Gibson 2022-11-17 16:59:05 +11:00
  • 023213facd tcp_splice: Allow splicing of connections from IPv4-mapped loopback David Gibson 2022-11-17 16:59:04 +11:00
  • bb6bb5649d tcp: NAT IPv4-mapped IPv6 addresses like IPv4 addresses David Gibson 2022-11-17 16:59:03 +11:00
  • 034fa8a58d tcp: Remove v6 flag from tcp_epoll_ref David Gibson 2022-11-17 16:59:02 +11:00
  • 7f1f2f3f51 tcp: Fix small errors in tcp_seq_init() time handling David Gibson 2022-11-17 16:59:01 +11:00
  • e7bae5bafd tcp: Have tcp_seq_init() take its parameters from struct tcp_conn David Gibson 2022-11-17 16:59:00 +11:00
  • a93bfada5b tcp: Unify initial sequence number calculation for IPv4 and IPv6 David Gibson 2022-11-17 16:58:59 +11:00
  • 7114fc92eb tcp: Simplify tcp_hash_match() to take an inany_addr David Gibson 2022-11-17 16:58:58 +11:00
  • eb050b5a19 tcp: Take tcp_hash_insert() address from struct tcp_conn David Gibson 2022-11-17 16:58:57 +11:00
  • 685f97b8de tcp: Hash IPv4 and IPv4-mapped-IPv6 addresses the same David Gibson 2022-11-17 16:58:56 +11:00
  • ca69c3f196 inany: Helper functions for handling addresses which could be IPv4 or IPv6 David Gibson 2022-11-17 16:58:55 +11:00
  • b65d603e23 tcp: Don't store hash bucket in connection structures David Gibson 2022-11-17 16:58:54 +11:00
  • 233b95e90f tcp: Remove splice from tcp_epoll_ref David Gibson 2022-11-17 16:58:53 +11:00
  • d909fda1e8 tcp: Use the same sockets to listen for spliced and non-spliced connections David Gibson 2022-11-17 16:58:52 +11:00
  • 356c6e0677 tcp: Unify part of spliced and non-spliced conn_from_sock path David Gibson 2022-11-17 16:58:51 +11:00
  • 73d3a3e84e tcp: Separate helpers to create ns listening sockets David Gibson 2022-11-17 16:58:50 +11:00
  • 433604a581 tcp: Unify the IN_EPOLL flag David Gibson 2022-11-17 16:58:49 +11:00
  • 34476511f7 tcp: Partially unify tcp_timer() and tcp_splice_timer() David Gibson 2022-11-17 16:58:48 +11:00
  • 0eef48c4be tcp: Unify tcp_defer_handler and tcp_splice_defer_handler() David Gibson 2022-11-17 16:58:47 +11:00
  • ee8f8e9564 tcp: Unify spliced and non-spliced connection tables David Gibson 2022-11-17 16:58:46 +11:00
  • 181ce83d9b tcp: Improved helpers to update connections after moving David Gibson 2022-11-17 16:58:45 +11:00
  • ff27fd63cd tcp: Add connection union type David Gibson 2022-11-17 16:58:44 +11:00
  • 3cf027bd59 tcp: Move connection state structures into a shared header David Gibson 2022-11-17 16:58:43 +11:00
  • c6b822428a tcp_splice: Helpers for converting from index to/from tcp_splice_conn David Gibson 2022-11-17 16:58:42 +11:00
  • 60be7438fa tcp: Better helpers for converting between connection pointer and index David Gibson 2022-11-17 16:58:41 +11:00
  • 46b78ce96a tcp: Remove unused TCP_MAX_SOCKS constant David Gibson 2022-11-17 16:58:40 +11:00