Commit graph

  • 2dbc622f54 tap: Split tap_ip4_send() into UDP and ICMP variants David Gibson 2022-10-19 11:43:56 +1100
  • db07804d26 ndp: Use tap_icmp6_send() helper David Gibson 2022-10-19 11:43:55 +1100
  • cb1edae3b5 ndp: Remove unneeded eh_source parameter David Gibson 2022-10-19 11:43:54 +1100
  • 9d8dd8b6f4 tap: Split tap_ip6_send() into UDP and ICMP variants David Gibson 2022-10-19 11:43:53 +1100
  • f616ca231e Split tap_ip_send() into IPv4 and IPv6 specific functions David Gibson 2022-10-19 11:43:52 +1100
  • fb5d1c5d7d tap: Remove unhelpeful vnet_pre optimization from tap_send() David Gibson 2022-10-19 11:43:51 +1100
  • f72b63e92f Remove support for TCP packets from tap_ip_send() David Gibson 2022-10-19 11:43:50 +1100
  • a2eb2d310a Add helpers for normal inbound packet destination addresses David Gibson 2022-10-19 11:43:49 +1100
  • 3d8ccb44a6 Add csum_ip4_header() helper to calculate IPv4 header checksums David Gibson 2022-10-19 11:43:48 +1100
  • bd4be308fc Add csum_udp4() helper for calculating UDP over IPv4 checksums David Gibson 2022-10-19 11:43:47 +1100
  • 6905ac75ec Add csum_udp6() helper for calculating UDP over IPv6 checksums David Gibson 2022-10-19 11:43:46 +1100
  • 67ab617172 Add csum_icmp4() helper for calculating ICMP checksums David Gibson 2022-10-19 11:43:45 +1100
  • 7abd2b0d72 Add csum_icmp6() helper for calculating ICMPv6 checksums David Gibson 2022-10-19 11:43:44 +1100
  • b3f359167b passt.1: Add David to AUTHORS 2022_10_15.b3f3591 Stefano Brivio 2022-10-13 21:58:13 +0200
  • 3e2eb4337b conf: Bind inbound ports with CAP_NET_BIND_SERVICE before isolate_user() Stefano Brivio 2022-10-13 18:21:27 +0200
  • 40abd447c8 Rename pasta_setup_ns() to pasta_spawn_cmd() David Gibson 2022-10-14 15:25:37 +1100
  • eb3d03a588 isolation: Only configure UID/GID mappings in userns when spawning shell David Gibson 2022-10-14 15:25:36 +1100
  • fb449b16bd isolation: Prevent any child processes gaining capabilities David Gibson 2022-10-14 15:25:35 +1100
  • c22ebccba8 isolation: Replace drop_caps() with a version that actually does something David Gibson 2022-10-14 15:25:34 +1100
  • ceb2061587 isolation: Refactor isolate_user() to allow for a common exit path David Gibson 2022-10-14 15:25:33 +1100
  • ea5936dd3f Replace FWRITE with a function David Gibson 2022-10-14 15:25:32 +1100
  • 096e48669b isolation: Clarify various self-isolation steps David Gibson 2022-10-14 15:25:31 +1100
  • 6909a8e339 Remove unhelpful drop_caps() call in pasta_start_ns() David Gibson 2022-10-14 15:25:30 +1100
  • 01b4e71f7a pasta_start_ns() always ends in parent context David Gibson 2022-10-14 15:25:29 +1100
  • 672a8cd80e pasta: More general way of starting spawned shell as a login shell David Gibson 2022-10-14 15:25:28 +1100
  • f99e9a3338 test: Move slower tests to end of test run David Gibson 2022-10-14 15:25:27 +1100
  • 7f2a7396e2 log.h: Avoid unnecessary GNU extension for token pasting Stefano Brivio 2022-10-12 17:31:37 +0200
  • 55cdcc159b util.h: Add missing gcc pragma push before pragma pop Stefano Brivio 2022-10-12 17:29:54 +0200
  • abbe01af59 icmp: Set sin6_scope_id for outbound ICMPv6 echo requests Stefano Brivio 2022-10-12 06:46:25 +0200
  • 57e2c066e9 conf: Drop excess colons in usage for DHCP and DNS options Stefano Brivio 2022-10-11 00:41:47 +0200
  • 6acf89638b netlink: Disable duplicate address detection for configured IPv6 address Stefano Brivio 2022-10-11 00:36:30 +0200
  • 6f3e38cac5 Don't create 'tap' socket for ports that are bound to loopback only Stefano Brivio 2022-10-12 16:48:52 +0200
  • d0dd0242a6 tcp, tcp_splice: Fix port remapping for inbound, spliced connections Stefano Brivio 2022-10-10 19:00:43 +0200
  • eab9d8d5d6 tcp, tcp_splice: Adjust comments to current meaning of inbound and outbound Stefano Brivio 2022-10-10 19:00:33 +0200
  • 346da48fe6 udp: Fix port and address checks for DNS forwarder Stefano Brivio 2022-10-10 02:40:29 +0200
  • 2970dc257c tap: Don't check sequence counts when adding packets to pool Stefano Brivio 2022-10-10 02:33:15 +0200
  • cc65f31250 packet: Fix off-by-one in packet_get_do() sanity checks Stefano Brivio 2022-10-10 02:28:22 +0200
  • 10236de486 conf: Report usage for --no-netns-quit Stefano Brivio 2022-10-07 05:01:21 +0200
  • c1eff9a3c6 conf, tcp, udp: Allow specification of interface to bind to Stefano Brivio 2022-10-07 04:53:40 +0200
  • a62ed181db conf, tap: Add option to quit once the client closes the connection Stefano Brivio 2022-10-07 04:01:56 +0200
  • 9de65dd3f4 util: Check return value of lseek() while reading bound ports from procfs Stefano Brivio 2022-10-07 02:07:33 +0200
  • e23024ccff conf, log, Makefile: Add versioning information Stefano Brivio 2022-10-10 10:35:47 +0200
  • 2074b332f9 log: Add missing function comment for trace_init() Stefano Brivio 2022-10-06 14:59:26 +0200
  • 01efc71ddd log, conf: Add support for logging to file Stefano Brivio 2022-10-06 14:51:04 +0200
  • f4e1e88e1d passt.h: Include netinet/if_ether.h before struct ctx declaration Stefano Brivio 2022-10-06 13:23:07 +0200
  • 51fa9bfd7b conf: Drop duplicate, diverging optstring assignments Stefano Brivio 2022-10-06 12:55:03 +0200
  • da152331cf Move logging functions to a new file, log.c Stefano Brivio 2022-09-24 09:53:15 +0200
  • c4101334e1 test: Add rudimentary support to run selected tests only Stefano Brivio 2022-10-06 17:19:12 +0200
  • 06aa26fcf3 Makefile: Hack for optimised-away store in ndp() before checksum calculation 2022_09_29.06aa26f Stefano Brivio 2022-09-29 10:59:38 +0200
  • 5290b6f13e udp: Replace pragma to ignore bogus stringop-overread warning with workaround Stefano Brivio 2022-09-28 20:45:55 +0200
  • 505a33e9f9 Makefile: Extend noinline workarounds for LTO and -O2 to gcc 12 Stefano Brivio 2022-09-28 20:36:57 +0200
  • 65b649017c cppcheck: Remove unused unmatchedSuppression suppressions David Gibson 2022-09-28 14:33:39 +1000
  • f5d053034c Mark unused functions for cppcheck David Gibson 2022-09-28 14:33:38 +1000
  • cd05be75fb cppcheck: Remove unused va_list_usedBeforeStarted suppression David Gibson 2022-09-28 14:33:37 +1000
  • 5f77ac24c5 cppcheck: Remove unused objectIndex suppressions David Gibson 2022-09-28 14:33:36 +1000
  • 20a3427812 cppcheck: Remove unused knownConditionTrueFalse suppression David Gibson 2022-09-28 14:33:35 +1000
  • 5beb3472ed cppcheck: Avoid errors due to zeroes in bitwise ORs David Gibson 2022-09-28 14:33:34 +1000
  • 0616620805 Regenerate seccomp.h if seccomp.sh changes David Gibson 2022-09-28 14:33:33 +1000
  • 1ae95f33cc cppcheck: Suppress NULL pointer warning in tcp_sock_consume() David Gibson 2022-09-28 14:33:32 +1000
  • 8f6be016ae cppcheck: Suppress same-value-in-ternary branches warning David Gibson 2022-09-28 14:33:31 +1000
  • 740ea28f29 qrap: Handle case of PATH environment variable being unset David Gibson 2022-09-28 14:33:30 +1000
  • b35a6cfa0c cppcheck: Remove localtime suppression for pcap.c David Gibson 2022-09-28 14:33:29 +1000
  • 6ce68113e3 cppcheck: Broaden suppression for unused struct members David Gibson 2022-09-28 14:33:28 +1000
  • 656acdfc26 Avoid ugly 'end' members in netlink structures David Gibson 2022-09-28 14:33:27 +1000
  • 40901c5437 cppcheck: Use inline suppression for strtok() in conf.c David Gibson 2022-09-28 14:33:26 +1000
  • 6aca100469 cppcheck: Use inline suppressions for qrap.c David Gibson 2022-09-28 14:33:25 +1000
  • fb15259205 cppcheck: Use inline suppression for ffsl() David Gibson 2022-09-28 14:33:24 +1000
  • e2b7d370d0 cppcheck: Work around false positive NULL pointer dereference error David Gibson 2022-09-28 14:33:23 +1000
  • df74984c52 Stricter checking for nsholder.c David Gibson 2022-09-28 14:33:22 +1000
  • a668d87e7e Don't shadow global function names David Gibson 2022-09-28 14:33:21 +1000
  • ab96da98cd Don't shadow 'i' in conf_ports() David Gibson 2022-09-28 14:33:20 +1000
  • eb5e123038 cppcheck: Reduce scope of some variables David Gibson 2022-09-28 14:33:19 +1000
  • 68ef4931cb Clean up parsing in conf_runas() David Gibson 2022-09-28 14:33:18 +1000
  • 7d4e50827c Pack DHCPv6 "on wire" structures David Gibson 2022-09-28 14:33:17 +1000
  • 8534be076c Catch failures when installing signal handlers David Gibson 2022-09-28 14:33:16 +1000
  • 8a19f36864 clang-tidy: Remove duplicate #include from icmp.c David Gibson 2022-09-28 14:33:15 +1000
  • 5823dc5c68 clang-tidy: Fix spurious null pointer warning in pasta_start_ns() David Gibson 2022-09-28 14:33:14 +1000
  • 798b7ff1c0 clang-tidy: Suppress warning about unchecked error in logfn macro David Gibson 2022-09-28 14:33:13 +1000
  • 84fec4e998 Clean up parsing of port ranges David Gibson 2022-09-28 14:33:12 +1000
  • a1a058533c cppcheck: Add target specific headers David Gibson 2022-09-26 20:43:46 +1000
  • 6d171cb357 Makefile: Simplify getting target triple for compiler David Gibson 2022-09-26 20:43:45 +1000
  • 2e7f9da6d1 cppcheck: Run quietly David Gibson 2022-09-26 20:43:44 +1000
  • d0629ff2b2 cppcheck: Avoid excessive scanning due to system headers David Gibson 2022-09-26 20:43:43 +1000
  • 1fcce70caa clang-tidy: Disable 'readability-identifier-length' David Gibson 2022-09-26 20:43:42 +1000
  • dc3f200a0b test: Remove unneccessary pane naming from layout_two_guests David Gibson 2022-09-26 20:43:41 +1000
  • feb8946ff5 test: Simplify data handling for transfer tests David Gibson 2022-09-26 20:43:40 +1000
  • 0a15b467d4 test: Use --config-net for namespace setup David Gibson 2022-09-26 20:43:39 +1000
  • 5b899dce7a test: More robust wait for pasta/passt to be ready David Gibson 2022-09-26 20:43:38 +1000
  • 33983de46b test: Remove unnecessary sleeps from shutdown tests David Gibson 2022-09-26 20:43:37 +1000
  • 05a2c7ae3c test: Add wait_for() shell helper David Gibson 2022-09-26 20:43:36 +1000
  • 8978f6552b icmp: Correct off by one errors dealing with number of echo request ids 2022_09_24.8978f65 David Gibson 2022-09-24 19:08:23 +1000
  • d5b80ccc72 Fix widespread off-by-one error dealing with port numbers David Gibson 2022-09-24 19:08:22 +1000
  • 3ede07aac9 Treat port numbers as unsigned David Gibson 2022-09-24 19:08:21 +1000
  • 0d1886dca0 Pass entire port forwarding configuration substructure to conf_ports() David Gibson 2022-09-24 19:08:20 +1000
  • f5a31ee94c Don't use indirect remap functions for conf_ports() David Gibson 2022-09-24 19:08:19 +1000
  • 1467a35b5a udp: Delay initialization of UDP reversed port mapping table David Gibson 2022-09-24 19:08:18 +1000
  • 163dc5f188 Consolidate port forwarding configuration into a common structure David Gibson 2022-09-24 19:08:17 +1000
  • 1128fa03fe Improve types and names for port forwarding configuration David Gibson 2022-09-24 19:08:16 +1000
  • 11e285df8f Fix the name of the qemu-system-* executable Vasiliy Ulyanov 2022-09-23 11:56:30 +0200
  • 8338135777 README: Add missing parenthesis in Try It section Stefano Brivio 2022-09-24 09:00:22 +0200