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