Commit graph

  • d19b396f11 tap: Don't quit if pasta gets EIO on writev() to tap, interface might be down Stefano Brivio 2024-07-24 14:33:01 +0200
  • a09aeb4bd6 tcp: Correctly update SO_PEEK_OFF when tcp_send_frames() drops frames David Gibson 2024-07-24 13:31:09 +1000
  • 9cb6b50815 tcp: probe for SO_PEEK_OFF both in tcpv4 and tcp6 Jon Maloy 2024-07-20 09:54:53 -0400
  • 882599e180 udp: Rename UDP listening sockets David Gibson 2024-07-18 15:26:53 +1000
  • d29fa0856e udp: Remove rdelta port forwarding maps David Gibson 2024-07-18 15:26:52 +1000
  • d89b3aa097 udp: Remove obsolete socket tracking David Gibson 2024-07-18 15:26:51 +1000
  • 898f797174 udp: Direct datagrams from host to guest via flow table David Gibson 2024-07-18 15:26:50 +1000
  • b7ad19347f udp: Find or create flows for datagrams from tap interface David Gibson 2024-07-18 15:26:49 +1000
  • 8126f7a660 udp: Remove obsolete splice tracking David Gibson 2024-07-18 15:26:48 +1000
  • e0647ad80c udp: Handle "spliced" datagrams with per-flow sockets David Gibson 2024-07-18 15:26:47 +1000
  • a45a7e9798 udp: Create flows for datagrams from originating sockets David Gibson 2024-07-18 15:26:46 +1000
  • 8abd06e9fa fwd: Update flow forwarding logic for UDP David Gibson 2024-07-18 15:26:45 +1000
  • c000f2aba6 flow, icmp: Use general flow forwarding rules for ICMP David Gibson 2024-07-18 15:26:44 +1000
  • 060f24e310 flow, tcp: Flow based NAT and port forwarding for TCP David Gibson 2024-07-18 15:26:43 +1000
  • 4cd753e65c icmp: Manage outbound socket address via flow table David Gibson 2024-07-18 15:26:42 +1000
  • 781164e25b flow: Helper to create sockets based on flowside David Gibson 2024-07-18 15:26:41 +1000
  • 2faf6fcd8b icmp: Eliminate icmp_id_map David Gibson 2024-07-18 15:26:40 +1000
  • 2f40a01944 icmp: Look up ping flows using flow hash David Gibson 2024-07-18 15:26:39 +1000
  • 6d76278c21 icmp: Obtain destination addresses from the flowsides David Gibson 2024-07-18 15:26:38 +1000
  • 5cffb1bf64 icmp: Remove redundant id field from flow table entry David Gibson 2024-07-18 15:26:37 +1000
  • 508adde342 tcp: Re-use flow hash for initial sequence number generation David Gibson 2024-07-18 15:26:36 +1000
  • acca4235c4 flow, tcp: Generalise TCP hash table to general flow hash table David Gibson 2024-07-18 15:26:35 +1000
  • 163a339214 tcp, flow: Replace TCP specific hash function with general flow hash David Gibson 2024-07-18 15:26:34 +1000
  • f19a8f71f9 tcp_splice: Eliminate SPLICE_V6 flag David Gibson 2024-07-18 15:26:33 +1000
  • 528a6517f8 tcp: Simplify endpoint validation using flowside information David Gibson 2024-07-18 15:26:32 +1000
  • e2ea10e246 tcp: Manage outbound address via flow table David Gibson 2024-07-18 15:26:31 +1000
  • 52d45f1737 tcp: Obtain guest address from flowside David Gibson 2024-07-18 15:26:30 +1000
  • f9fe212b1f tcp, flow: Remove redundant information, repack connection structures David Gibson 2024-07-18 15:26:29 +1000
  • 4e2d36e83f flow: Common address information for target side David Gibson 2024-07-18 15:26:28 +1000
  • 8012f5ff55 flow: Common address information for initiating side David Gibson 2024-07-18 15:26:27 +1000
  • ba74b1fea1 doc: Extend zero-recv test with methods using msghdr David Gibson 2024-07-17 14:52:23 +1000
  • 01e5611ec3 doc: Test behaviour of closing duplicate UDP sockets David Gibson 2024-07-17 14:52:22 +1000
  • 66a02c9f7c tcp_splice: Use parameterised macros for per-side event/flag bits David Gibson 2024-07-17 14:52:21 +1000
  • 5235c47c79 flow: Introduce flow_foreach_sidei() macro David Gibson 2024-07-17 14:52:20 +1000
  • 71d7985188 flow, tcp_splice: Prefer 'sidei' for variables referring to side index David Gibson 2024-07-17 14:52:19 +1000
  • 9b125e7776 flow, icmp, tcp: Clean up helpers for getting flow from index David Gibson 2024-07-17 14:52:18 +1000
  • 2fa91ee391 udp: Handle errors on UDP sockets David Gibson 2024-07-17 10:36:04 +1000
  • 6bd8283bf9 util: Add AF_UNSPEC support to sockaddr_ntop() David Gibson 2024-07-17 10:36:03 +1000
  • 4e1f850f61 udp, tcp: Tweak handling of no_udp and no_tcp flags David Gibson 2024-07-17 10:36:02 +1000
  • 272d1d033c udp: Make udp_sock_recv static David Gibson 2024-07-17 10:36:01 +1000
  • f79c42317f conf: Don't configure port forwarding for a disabled protocol David Gibson 2024-07-17 10:36:00 +1000
  • a740e16fd1 tcp: handle shrunk window advertisements from guest Jon Maloy 2024-07-12 15:04:50 -0400
  • e63d281871 tcp: leverage support of SO_PEEK_OFF socket option when available Jon Maloy 2024-07-12 15:04:49 -0400
  • 8bd57bf25b doc: Trivial fix for reuseaddr-priority David Gibson 2024-07-15 10:43:07 +1000
  • ec2691a12e doc: Test behaviour of zero length datagram recv()s David Gibson 2024-07-05 20:44:09 +1000
  • 299c407501 doc: Add program to document and test assumptions about SO_REUSEADDR David Gibson 2024-07-05 20:44:08 +1000
  • be0214cca6 udp: Consolidate datagram batching David Gibson 2024-07-05 20:44:07 +1000
  • 69e5393c37 udp: Move some more of sock_handler tasks into sub-functions David Gibson 2024-07-05 20:44:06 +1000
  • c6c61a9e1a udp: Don't repeatedly initialise udp[46]_eth_hdr David Gibson 2024-07-05 20:44:05 +1000
  • 55aff45bc1 udp: Unify udp[46]_l2_iov David Gibson 2024-07-05 20:44:04 +1000
  • 9f9b15f949 udp: Unify udp[46]_mh_splice David Gibson 2024-07-05 20:44:03 +1000
  • fbd78b6f3e udp: Rename IOV and mmsghdr arrays David Gibson 2024-07-05 20:44:02 +1000
  • f62c33d85f udp: Pass full epoll reference through more of sock handler path David Gibson 2024-07-05 20:44:01 +1000
  • 8f8eb73482 flow: Add flow_sidx_valid() helper David Gibson 2024-07-05 20:44:00 +1000
  • 74c1c5efcf util: sock_l4() determine protocol from epoll type rather than the reverse David Gibson 2024-07-05 20:43:59 +1000
  • b625ed5fee conf: Use the right maximum buffer size for c->sock_path Stefano Brivio 2024-06-27 22:16:45 +0200
  • 403a7c14a0 tcp_splice: Check return value of setsockopt() for SO_RCVLOWAT Stefano Brivio 2024-06-27 00:55:07 +0200
  • 21ee1eb2de conf: Copy up to MAXDNSRCH - 1 bytes, not MAXDNSRCH Stefano Brivio 2024-06-27 00:50:56 +0200
  • 1ee2ecade3 udp: Reduce scope of rport in udp_invert_portmap() 2024_06_24.1ee2eca Stefano Brivio 2024-06-21 15:21:26 +0200
  • 054697598f Revert "udp: Make rport calculation more local" Stefano Brivio 2024-06-21 13:59:48 +0200
  • c66f0341d9 log: Don't report syslog failures to stderr after initialisation Stefano Brivio 2024-06-20 16:59:29 +0200
  • e7323e515a conf, passt: Don't call __openlog() if a log file is used Stefano Brivio 2024-06-19 21:25:30 +0200
  • dba7f0f5ce treewide: Replace strerror() calls Stefano Brivio 2024-06-17 11:55:04 +0200
  • 92a22fef93 treewide: Replace perror() calls with calls to logging functions Stefano Brivio 2024-06-15 00:37:11 +0200
  • c1140df889 log: Add _perror() logging function variants Stefano Brivio 2024-06-15 00:25:23 +0200
  • afd9cdc9bb log, passt: Always print to stderr before initialisation is complete Stefano Brivio 2024-06-14 22:47:51 +0200
  • 8c2f24a560 conf, log: Instead of abusing log levels, add log_conf_parsed flag Stefano Brivio 2024-06-14 19:00:27 +0200
  • bca0fefa32 conf, passt: Make --stderr do nothing, and deprecate it Stefano Brivio 2024-06-19 20:10:10 +0200
  • b74801645c conf, passt: Don't try to log to stderr after we close it Stefano Brivio 2024-06-06 17:18:32 +0200
  • 65923ba798 conf: Accept duplicate and conflicting options, the last one wins Stefano Brivio 2024-06-18 18:04:49 +0200
  • 62de6140d9 netlink: Strip nexthop identifiers when duplicating routes Stefano Brivio 2024-06-18 08:17:51 +0200
  • 1544a43863 passt.1, qrap.1: align license description with SPDX identifier Danish Prakash 2024-06-19 15:10:55 +0530
  • f301bb18b5 netlink: Ignore EHOSTUNREACH failures when duplicating routes Stefano Brivio 2024-06-18 13:00:51 +0200
  • 450a6131be netlink: With no default route, pick the first interface with a route Stefano Brivio 2024-06-18 18:55:43 +0200
  • 54a9d3801b tcp: Don't rely on bind() to fail to decide that connection target is valid Stefano Brivio 2024-06-18 12:32:17 +0200
  • 020ff7a40e siphash: Remove stale prototypes David Gibson 2024-06-19 12:59:06 +1000
  • 7e87bd98ac udp: Move management of udp[46]_localname into udp_splice_send() David Gibson 2024-06-14 11:51:08 +1000
  • ff57f8ddc6 udp: Rework how we divide queued datagrams between sending methods David Gibson 2024-06-14 11:51:07 +1000
  • 63db7dcdbf udp: Fold checking of splice flag into udp_mmh_splice_port() David Gibson 2024-06-14 11:51:06 +1000
  • 523fbc5af7 util: Split construction of bind socket address from the rest of sock_l4() David Gibson 2024-06-14 11:51:05 +1000
  • 4070bac7a4 tap: use in->buf_size rather than sizeof(pkt_buf) Laurent Vivier 2024-06-13 14:36:55 +0200
  • 7290335b14 iov: remove iov_copy() Laurent Vivier 2024-06-13 14:36:54 +0200
  • 0c335d751a vhost-user: compare mode MODE_PASTA and not MODE_PASST Laurent Vivier 2024-06-13 14:36:53 +0200
  • 377b666dc9 udp: rename udp_sock_handler() to udp_buf_sock_handler() Laurent Vivier 2024-06-13 14:36:52 +0200
  • e7ac995217 udp: refactor UDP header update functions Laurent Vivier 2024-06-13 14:36:51 +0200
  • 9ecf7fedc5 tap: refactor packets handling functions Laurent Vivier 2024-06-13 14:36:50 +0200
  • fba2b544b6 tcp: move buffers management functions to their own file Laurent Vivier 2024-06-13 14:36:49 +0200
  • ec26fa013a tcp: extract buffer management from tcp_send_flag() Laurent Vivier 2024-06-13 14:36:48 +0200
  • d949667436 cppcheck: Suppress constParameterCallback errors David Gibson 2024-06-08 16:30:40 +1000
  • 8a83b530fe selinux: Allow access to user_devpts 2024_06_07.8a83b53 Derek Schrock 2024-05-26 18:28:42 -0400
  • ec416fdcc4 tcp, flow: Fix some error paths which didn't clean up flows properly David Gibson 2024-06-07 11:55:24 +1000
  • 3f63743a65 util: Use 'long' to represent millisecond durations David Gibson 2024-06-06 20:09:49 +1000
  • f9e8ee0777 lineread: Use ssize_t for line lengths David Gibson 2024-06-06 20:09:48 +1000
  • c919bbbdd3 conf: Safer parsing of MAC addresses David Gibson 2024-06-06 20:09:47 +1000
  • bda80ef53f util: Use unsigned indices for bits in bitmaps David Gibson 2024-06-06 20:09:46 +1000
  • 0e36fe1a43 clang-tidy: Enable the bugprone-macro-parentheses check David Gibson 2024-06-06 20:09:45 +1000
  • 7094b91d10 Remove pointless macro parameters in CALL_PROTO_HANDLER David Gibson 2024-06-06 20:09:44 +1000
  • c80fa6a6bb udp: Make rport calculation more local David Gibson 2024-06-06 20:09:42 +1000
  • d2afb4b625 tcp: Make pointer const in tcp_revert_seq David Gibson 2024-06-06 20:09:41 +1000
  • b3aeb004ea log: Remove log_to_stdout option David Gibson 2024-06-05 10:42:42 +1000