-
546332786c
treewide: Use IN4ADDR_LOOPBACK_INIT more widely
David Gibson
2023-12-08 01:31:34 +11:00
-
1f2aab8aaa
tcp: Fix address type for tcp_sock_init_af()
David Gibson
2023-12-08 01:31:33 +11:00
-
4681ea09bc
checksum: Don't use linux/icmp.h when netinet/ip_icmp.h will do
David Gibson
2023-12-05 20:16:17 +11:00
-
5d5bb8c150
tcp: Don't account for hash table size in tcp_hash()
David Gibson
2023-12-07 16:53:53 +11:00
-
64e5459ba6
tcp: Implement hash table with indices rather than pointers
David Gibson
2023-12-07 16:53:52 +11:00
-
5913f26415
tcp: Switch hash table to linear probing instead of chaining
David Gibson
2023-12-07 16:53:51 +11:00
-
89fcb563fc
tcp: Fix conceptually incorrect byte-order switch in tcp_tap_handler()
David Gibson
2023-12-07 16:53:50 +11:00
-
a672705e4d
README: Update "Availability" section
Stefano Brivio
2023-12-24 18:36:29 +01:00
-
fd29d62a9d
tcp: Cast timeval fields to unsigned long long for printing
Stefano Brivio
2023-12-24 18:13:43 +01:00
-
60925b8b4e
flow: Add missing include, stdio.h
Stefano Brivio
2023-12-24 17:56:51 +01:00
-
baf4e2c028
test: Select first reported IPv6 address for guest/host comparison
Stefano Brivio
2023-12-08 18:41:36 +01:00
-
00358b7828
ndp: Extend lifetime of prefix, router, RDNSS and search list
Stefano Brivio
2023-12-08 17:43:17 +01:00
-
d491a4099b
test: Make handling of shell prompts with escapes a little more reliable
David Gibson
2023-11-23 12:52:53 +11:00
-
b86afe3559
tcp: Don't defer hash table removal
David Gibson
2023-11-30 13:02:22 +11:00
-
e21b6d69b1
tcp: "TCP" hash secret doesn't need to be TCP specific
David Gibson
2023-11-30 13:02:21 +11:00
-
cf83988e96
pif: Add helpers to get the name of a pif
David Gibson
2023-11-30 13:02:20 +11:00
-
460064d262
test: Avoid hitting guestfish command length limits
David Gibson
2023-11-30 13:02:19 +11:00
-
705549f834
flow,tcp: Use epoll_ref type including flow and side
David Gibson
2023-11-30 13:02:18 +11:00
-
788d2fe3ce
tcp_splice: Use unsigned to represent side
David Gibson
2023-11-30 13:02:17 +11:00
-
ecea8d36ff
flow,tcp: Generalise TCP epoll_ref to generic flows
David Gibson
2023-11-30 13:02:16 +11:00
-
31bab5f2d9
tcp: Remove unneccessary bounds check in tcp_timer_handler()
David Gibson
2023-11-30 13:02:15 +11:00
-
df96a4cb5d
flow: Introduce 'sidx' type to represent one side of one flow
David Gibson
2023-11-30 13:02:14 +11:00
-
eb8b1a233b
flow, tcp: Add logging helpers for connection related messages
David Gibson
2023-11-30 13:02:13 +11:00
-
96590b0560
flow: Make unified version of flow table compaction
David Gibson
2023-11-30 13:02:12 +11:00
-
9d44aba7e0
util: MAX_FROM_BITS() should be unsigned
David Gibson
2023-11-30 13:02:11 +11:00
-
e2e8219f13
flow, tcp: Consolidate flow pointer<->index helpers
David Gibson
2023-11-30 13:02:10 +11:00
-
f08ce92a13
flow, tcp: Move TCP connection table to unified flow table
David Gibson
2023-11-30 13:02:09 +11:00
-
16ae032608
flow, tcp: Generalise connection types
David Gibson
2023-11-30 13:02:08 +11:00
-
ba84a3b17a
treewide: Add messages to static_assert() calls
David Gibson
2023-11-30 13:02:07 +11:00
-
d902bb6288
tcp: remove useless assignment
Laurent Vivier
2023-11-28 17:54:23 +01:00
-
bae676a44e
port_fwd, util: Include additional headers to fix build with musl
Stefano Brivio
2023-11-29 14:19:06 +01:00
-
7e175f32c1
packet: Offset plus length is not always uint32_t, but it's always size_t
Stefano Brivio
2023-11-29 13:20:18 +01:00
-
06559048e7
treewide: Use 'z' length modifier for size_t/ssize_t conversions
Stefano Brivio
2023-11-29 13:17:10 +01:00
-
4117bd94f9
port_fwd, util: Don't bind UDP ports with opposite-side bound TCP ports
Stefano Brivio
2023-11-21 17:18:26 +01:00
-
4f1709db1b
valgrind: Don't disable optimizations for valgrind builds
David Gibson
2023-11-16 20:15:59 +11:00
-
f7724647b1
valgrind: Adjust suppression for MSG_TRUNC with NULL buffer
David Gibson
2023-11-16 20:15:58 +11:00
-
457ff122e3
udp,pasta: Periodically scan for ports to automatically forward
David Gibson
2023-11-15 16:25:34 +11:00
-
4ccdeecb74
tcp: Simplify away tcp_port_rebind()
David Gibson
2023-11-15 16:25:33 +11:00
-
1776e7af9b
tcp: Use common helper for rebinding inbound and outbound ports
David Gibson
2023-11-15 16:25:32 +11:00
-
3be9e0010e
clang-tidy: Suppress silly misc-include-cleaner warnings
David Gibson
2023-11-15 13:59:45 +11:00
-
5ec3634b07
tap, pasta: Handle short writes to /dev/tap
David Gibson
2023-11-08 14:17:54 +11:00
-
f0776eac07
tap, pasta: Handle incomplete tap sends for pasta too
David Gibson
2023-11-08 14:17:53 +11:00
-
cf3eeba6c0
tcp: Don't use TCP_WINDOW_CLAMP
David Gibson
2023-11-09 20:54:00 +11:00
-
930bc3b0f2
tcp: Rename and small cleanup to tcp_clamp_window()
David Gibson
2023-11-09 20:53:59 +11:00
-
2c1554c994
test/lib/perf_report: Fix up table highlight for pasta's local flows
Stefano Brivio
2023-11-10 06:35:54 +01:00
-
56d9f6d588
Revert "selinux: Drop user_namespace class rules for Fedora 37"
Stefano Brivio
2023-11-07 14:58:02 +01:00
-
74e6f48038
selinux: Allow passt to talk over unconfined_t UNIX domain socket for --fd
Stefano Brivio
2023-11-07 12:28:27 +01:00
-
50bc25a23c
log: Match implicit va_start() with va_end() in vlogmsg()
Stefano Brivio
2023-11-07 12:17:07 +01:00
-
9494a51a4e
port_fwd: Don't try to read bound ports from invalid file handles
Stefano Brivio
2023-11-07 12:04:33 +01:00
-
b944622969
netlink: Sequence numbers are actually 32 bits wide
Stefano Brivio
2023-11-07 11:13:05 +01:00
-
53ff387156
test/perf: Simplify calculation of "omit" time for TCP throughput
David Gibson
2023-11-06 18:08:33 +11:00
-
aa0bb9f471
test/perf: Remove unnecessary --pacing-timer options
David Gibson
2023-11-06 18:08:32 +11:00
-
498108ad70
test/perf: "MTU" changes in passt_tcp host to guest aren't useful
David Gibson
2023-11-06 18:08:31 +11:00
-
f94adb121a
test/perf: Explicitly control UDP packet length, instead of MTU
David Gibson
2023-11-06 18:08:30 +11:00
-
2926970523
test/perf: Small MTUs for spliced TCP aren't interesting
David Gibson
2023-11-06 18:08:29 +11:00
-
e516809a74
test/perf: Start iperf3 server less often
David Gibson
2023-11-06 18:08:28 +11:00
-
f9ff6678d4
test/perf: Get iperf3 stats from client side
David Gibson
2023-11-06 18:08:27 +11:00
-
8a41a8b20f
test/perf: Remove stale iperf3c/iperf3s directives
David Gibson
2023-11-06 18:08:26 +11:00
-
de974f0cf1
udp: Remove socket from udp_{tap,splice}_map when timed out
David Gibson
2023-11-06 13:17:09 +11:00
-
480aa4a108
udp: Consistently use -1 to indicate un-opened sockets in maps
David Gibson
2023-11-06 13:17:08 +11:00
-
c0426ff10b
log: Add vlogmsg()
David Gibson
2023-10-13 15:50:30 +11:00
-
5972203174
log: Enable format warnings
David Gibson
2023-10-13 15:50:29 +11:00
-
50d46ec847
log: Don't define logging function 4 times
David Gibson
2023-10-13 15:50:28 +11:00
-
0ad54e1043
tcp: Remove remaining declaration of tcp_l2_mh
Laurent Vivier
2023-10-13 10:45:45 +02:00
-
515db1ecc4
tcp_splice: Simplify selection of socket and pipe sides in socket handler
David Gibson
2023-11-07 13:42:50 +11:00
-
7486cd13af
tcp_splice: Exploit side symmetry in tcp_splice_destroy()
David Gibson
2023-11-07 13:42:49 +11:00
-
69db3b3b29
tcp_splice: Exploit side symmetry in tcp_splice_connect_finish()
David Gibson
2023-11-07 13:42:48 +11:00
-
1b76257147
tcp_splice: Exploit side symmetry in tcp_splice_timer()
David Gibson
2023-11-07 13:42:47 +11:00
-
8545058fbe
tcp_splice: Rename sides of connection from a/b to 0/1
David Gibson
2023-11-07 13:42:46 +11:00
-
0e8e534850
tcp_splice: Don't pool pipes in pairs
David Gibson
2023-11-07 13:42:45 +11:00
-
6357010cab
tcp_splice: Avoid awkward temporaries in tcp_splice_epoll_ctl()
David Gibson
2023-11-07 13:42:44 +11:00
-
409d3ca87f
tcp_splice: Remove unnecessary forward declaration
David Gibson
2023-11-07 13:42:43 +11:00
-
5a79ba6272
tcp_splice: Don't handle EPOLL_CTL_DEL as part of tcp_splice_epoll_ctl()
David Gibson
2023-11-07 13:42:42 +11:00
-
536acab2de
tcp_splice: Correct error handling in tcp_splice_epoll_ctl()
David Gibson
2023-11-07 13:42:41 +11:00
-
d33cbc600e
tcp_splice: Remove redundant tcp_splice_epoll_ctl()
David Gibson
2023-11-07 13:42:40 +11:00
-
f6d8dc2355
pif: Pass originating pif to tap handler functions
David Gibson
2023-11-07 12:40:16 +11:00
-
732e249376
pif: Record originating pif in listening socket refs
David Gibson
2023-11-07 12:40:15 +11:00
-
125c5e52a5
pif: Introduce notion of passt/pasta interface
David Gibson
2023-11-07 12:40:14 +11:00
-
0d73fa2225
udp: Clean up ref initialisation in udp_sock_init()
David Gibson
2023-11-07 12:40:13 +11:00
-
c09d0d0f60
port_fwd: Simplify get_bound_ports_*() to port_fwd_scan_*()
David Gibson
2023-11-03 13:23:03 +11:00
-
dcf5c0eb1e
port_fwd: Move port scanning /proc fds into struct port_fwd
David Gibson
2023-11-03 13:23:02 +11:00
-
1a40d00895
port_fwd: Split TCP and UDP cases for get_bound_ports()
David Gibson
2023-11-03 13:23:01 +11:00
-
180dbc957a
port_fwd: Don't NS_CALL get_bound_ports()
David Gibson
2023-11-03 13:23:00 +11:00
-
5a0485425b
port_fwd: Pre-open /proc/net/* files rather than on-demand
David Gibson
2023-11-03 13:22:59 +11:00
-
4f0b9f91e4
util: Add open_in_ns() helper
David Gibson
2023-11-03 13:22:58 +11:00
-
17d40d1cb5
port_fwd: Better parameterise procfs_scan_listen()
David Gibson
2023-11-03 13:22:57 +11:00
-
e90f2770ae
port_fwd: Move automatic port forwarding code to port_fwd.[ch]
David Gibson
2023-11-03 13:22:56 +11:00
-
26d86f1304
conf: Cleaner initialisation of default forwarding modes
David Gibson
2023-11-03 13:22:55 +11:00
-
3fb3f0f7a5
selinux: Drop user_namespace class rules for Fedora 37
Stefano Brivio
2023-10-09 23:04:47 +02:00
-
f851084c96
dhcp: put option 53 at the beginning
Stas Sergeev
2023-10-03 13:01:22 +05:00
-
a469fc393f
tcp, tap: Don't increase tap-side sequence counter for dropped frames
Stefano Brivio
2023-09-22 23:35:08 +02:00
-
d3192f67c4
tcp: Force TCP_WINDOW_CLAMP before resetting STALLED flag
Stefano Brivio
2023-09-22 23:21:20 +02:00
-
feaeb4986c
tcp: Fix comment to tcp_sock_consume()
Stefano Brivio
2023-09-22 23:08:29 +02:00
-
117b474f85
cppcheck: Work around bug in cppcheck 2.12.0
David Gibson
2023-09-29 15:50:22 +10:00
-
8640d62af7
cppcheck: Use "exhaustive" level checking when available
David Gibson
2023-09-29 15:50:21 +10:00
-
c0efa4e97f
conf: Remove overly cryptic selection of forward table
David Gibson
2023-09-29 15:50:20 +10:00
-
6471c7d01b
cppcheck: Make many pointers const
David Gibson
2023-09-29 15:50:19 +10:00
-
fc8f0f8c48
siphash: Use incremental rather than all-at-once siphash functions
David Gibson
2023-09-28 11:21:02 +10:00
-
04b10a8d90
siphash, checksum: Move TBAA explanation to checksum.c
David Gibson
2023-09-28 11:21:01 +10:00
-
ceae8422c1
siphash: Make internal helpers public
David Gibson
2023-09-28 11:21:00 +10:00