public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 00/24] Boundary-checked "packets", TCP timerfd timeouts, assorted fixes
@ 2022-03-25 22:52 Stefano Brivio
  2022-03-25 22:52 ` [PATCH 01/24] conf, util, tap: Implement --trace option for extra verbose logging Stefano Brivio
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: Stefano Brivio @ 2022-03-25 22:52 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 3262 bytes --]


Stefano Brivio (24):
  conf, util, tap: Implement --trace option for extra verbose logging
  pcap: Fix mistake in printed string
  util: Drop CHECK_SET_MIN_MAX{,_PROTO_FD} macros
  util: Use standard int types
  tcp: Refactor to use events instead of states, split out spliced
    implementation
  test/lib/video: Fill in href attributes of video shortcuts
  udp: Drop _splice from recv, send, sendto static buffer names
  udp: Split buffer queueing/writing parts of udp_sock_handler()
  dhcpv6, tap, tcp: Use IN6_ARE_ADDR_EQUAL instead of open-coded
    memcmp()
  udp: Use flags for local, loopback, and configured unicast binds
  Makefile: Enable a few hardening flags
  test: Add asciinema(1) as requirement for CI in README
  test, seccomp, Makefile: Switch to valgrind runs for passt functional
    tests
  tcp, udp, util: Enforce 24-bit limit on socket numbers
  tcp: Rework timers to use timerfd instead of periodic bitmap scan
  tcp_splice: Close sockets right away on high number of open files
  test/perf: Work-around for virtio_net hang before long streams from
    guest
  README: Avoid "here" links
  README: Update Interfaces and Availability sections
  tcp: Fit struct tcp_conn into a single 64-byte cacheline
  dhcp: Minimum option length implied by RFC 951 is 60 bytes, not 62
  tcp, tcp_splice: Use less awkward syntax to swap in/out sockets from
    pools
  util: Fix function declaration style of write_pidfile()
  treewide: Packet abstraction with mandatory boundary checks

 Makefile                  |   18 +-
 README.md                 |   58 +-
 arp.c                     |   51 +-
 arp.h                     |    2 +-
 conf.c                    |   15 +
 dhcp.c                    |   62 +-
 dhcp.h                    |    2 +-
 dhcpv6.c                  |  151 +-
 dhcpv6.h                  |    3 +-
 icmp.c                    |   28 +-
 icmp.h                    |    4 +-
 ndp.c                     |   59 +-
 ndp.h                     |    3 +-
 packet.c                  |  134 ++
 packet.h                  |   77 +
 passt.1                   |    5 +
 passt.c                   |   13 +-
 passt.h                   |    9 +-
 pcap.c                    |    2 +-
 seccomp.sh                |    1 +
 tap.c                     |  331 ++--
 tcp.c                     | 3023 +++++++++++++++----------------------
 tcp.h                     |   27 +-
 tcp_splice.c              |  888 +++++++++++
 tcp_splice.h              |   15 +
 test/README.md            |   10 +-
 test/lib/setup            |   52 +-
 test/lib/video            |    2 +-
 test/perf/passt_tcp       |   15 +
 test/perf/passt_udp       |   15 +
 test/run                  |    9 +
 test/valgrind.supp        |    9 +
 test/valgrind/passt       |   22 +
 test/valgrind/passt_in_ns |   22 +
 udp.c                     |  501 +++---
 udp.h                     |    6 +-
 util.c                    |   95 +-
 util.h                    |   43 +-
 38 files changed, 3313 insertions(+), 2469 deletions(-)
 create mode 100644 packet.c
 create mode 100644 packet.h
 create mode 100644 tcp_splice.c
 create mode 100644 tcp_splice.h
 create mode 100644 test/valgrind.supp
 create mode 100644 test/valgrind/passt
 create mode 100644 test/valgrind/passt_in_ns

-- 
2.35.1


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-03-25 22:53 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 22:52 [PATCH 00/24] Boundary-checked "packets", TCP timerfd timeouts, assorted fixes Stefano Brivio
2022-03-25 22:52 ` [PATCH 01/24] conf, util, tap: Implement --trace option for extra verbose logging Stefano Brivio
2022-03-25 22:52 ` [PATCH 02/24] pcap: Fix mistake in printed string Stefano Brivio
2022-03-25 22:52 ` [PATCH 03/24] util: Drop CHECK_SET_MIN_MAX{,_PROTO_FD} macros Stefano Brivio
2022-03-25 22:52 ` [PATCH 04/24] util: Use standard int types Stefano Brivio
2022-03-25 22:52 ` [PATCH 05/24] tcp: Refactor to use events instead of states, split out spliced implementation Stefano Brivio
2022-03-25 22:52 ` [PATCH 06/24] test/lib/video: Fill in href attributes of video shortcuts Stefano Brivio
2022-03-25 22:52 ` [PATCH 07/24] udp: Drop _splice from recv, send, sendto static buffer names Stefano Brivio
2022-03-25 22:52 ` [PATCH 08/24] udp: Split buffer queueing/writing parts of udp_sock_handler() Stefano Brivio
2022-03-25 22:52 ` [PATCH 09/24] dhcpv6, tap, tcp: Use IN6_ARE_ADDR_EQUAL instead of open-coded memcmp() Stefano Brivio
2022-03-25 22:52 ` [PATCH 10/24] udp: Use flags for local, loopback, and configured unicast binds Stefano Brivio
2022-03-25 22:52 ` [PATCH 11/24] Makefile: Enable a few hardening flags Stefano Brivio
2022-03-25 22:52 ` [PATCH 12/24] test: Add asciinema(1) as requirement for CI in README Stefano Brivio
2022-03-25 22:52 ` [PATCH 13/24] test, seccomp, Makefile: Switch to valgrind runs for passt functional tests Stefano Brivio
2022-03-25 22:52 ` [PATCH 14/24] tcp, udp, util: Enforce 24-bit limit on socket numbers Stefano Brivio
2022-03-25 22:52 ` [PATCH 15/24] tcp: Rework timers to use timerfd instead of periodic bitmap scan Stefano Brivio
2022-03-25 22:52 ` [PATCH 16/24] tcp_splice: Close sockets right away on high number of open files Stefano Brivio
2022-03-25 22:52 ` [PATCH 17/24] test/perf: Work-around for virtio_net hang before long streams from guest Stefano Brivio
2022-03-25 22:52 ` [PATCH 18/24] README: Avoid "here" links Stefano Brivio
2022-03-25 22:52 ` [PATCH 19/24] README: Update Interfaces and Availability sections Stefano Brivio
2022-03-25 22:52 ` [PATCH 20/24] tcp: Fit struct tcp_conn into a single 64-byte cacheline Stefano Brivio
2022-03-25 22:52 ` [PATCH 21/24] dhcp: Minimum option length implied by RFC 951 is 60 bytes, not 62 Stefano Brivio
2022-03-25 22:52 ` [PATCH 22/24] tcp, tcp_splice: Use less awkward syntax to swap in/out sockets from pools Stefano Brivio
2022-03-25 22:52 ` [PATCH 23/24] util: Fix function declaration style of write_pidfile() Stefano Brivio
2022-03-25 22:53 ` [PATCH 24/24] treewide: Packet abstraction with mandatory boundary checks Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).