[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Tue Aug 15 15:02:53 EEST 2023


New commits:
commit 8f2125cb1d6a26b771313bb0845b4c81a1ec4fae
Merge: 9d68626bd0 ae758f9b5a
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Aug 15 07:56:40 2023 -0400

    dmux/send: add --impair block-{inbound,outbound} and drip-{inbound}
    
    for instance, drip feeding an IKEv2 exchange:
    
      ipsec whack --impair block-inbound:yes
     002 IMPAIR: block all inbound messages: yes
     west #
      ipsec whack --impair block-outbound:yes
     002 IMPAIR: block all outbound messages: yes
     west #
      ipsec auto --asynchronous --up westnet-eastnet-ipv4-psk-ikev2
     1v2 "westnet-eastnet-ipv4-psk-ikev2" #1: initiating IKEv2 connection
     west #
      ../../guestbin/wait-for.sh --match 'IMPAIR: blocking outbound message 1' -- cat /tmp/pluto.log
     "westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: blocking outbound message 1
     west #
      ipsec whack --impair drip-outbound:1
     002 IMPAIR: start processing outbound drip packet 1
     002 IMPAIR: stop processing outbound drip packet 1
     west #
      ../../guestbin/wait-for.sh --match 'IMPAIR: blocking inbound message 1' -- cat /tmp/pluto.log
     packet from 192.1.2.23:500: IMPAIR: blocking inbound message 1
     west #
      ipsec whack --impair drip-inbound:1
     002 IMPAIR: start processing inbound drip packet 1
     002 IMPAIR: stop processing inbound drip packet 1
     west #
      ../../guestbin/wait-for.sh --match 'IMPAIR: blocking outbound message 2' -- cat /tmp/pluto.log
     "westnet-eastnet-ipv4-psk-ikev2" #1: IMPAIR: blocking outbound message 2
     west #
      ipsec whack --impair drip-outbound:2
     002 IMPAIR: start processing outbound drip packet 2
     002 IMPAIR: stop processing outbound drip packet 2
     west #
      ../../guestbin/wait-for.sh --match 'IMPAIR: blocking inbound message 2' -- cat /tmp/pluto.log
     packet from 192.1.2.23:500: IMPAIR: blocking inbound message 2
     west #
      ipsec whack --impair drip-inbound:2
     002 IMPAIR: start processing inbound drip packet 2
     002 IMPAIR: stop processing inbound drip packet 2
     west #
      ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254
     up
    
    fix #1229
    
    Merge commit 'ae758f9b5a8770de19c600802ea8d4dfe56c42ba'

commit ae758f9b5a8770de19c600802ea8d4dfe56c42ba
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Aug 14 15:47:20 2023 -0400

    demux/send: add --impair drip-{inbound,outbound}:nr

commit 602c86924c5d6f1a149c4edae1c232b45f76a831
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Aug 14 22:04:16 2023 -0400

    logging: add md_{attach,detach}()

commit b141f5d17c138b01e8756cd44ff26ec009994f1a
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Aug 14 13:09:58 2023 -0400

    demux/send: add --impair block-{inbound,outbound}
    
    as in block every single message (but record it)

commit dde77726de6c29dda5976669aa8f494a40bb1a5c
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Aug 14 12:27:00 2023 -0400

    send: in impair_outbound() save everything needed to re-send



More information about the Swan-commit mailing list