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

Andrew Cagney cagney at vault.libreswan.fi
Thu Feb 25 00:57:50 UTC 2021


New commits:
commit ccbe7cf60701e6713b870309220857f22c2290da
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed Feb 24 19:06:29 2021 -0500

    ikev2: in decode_net_id() construct an ip_selector, follow-through
    
    - decode_net_id() was constructing an ip_subnet and then, somehow,
      stuffing a port into it
    
      instead construct/return a selector (subnet + port + ipproto)
    
    - in caller quick_inI1_outR1() delete code stuffing ports and
      protocols into <<struct p2id>>
    
      instead, when needed, rebuild client selectors
    
    - replace quick_inI1_outR1_tail()'s <<struct verify_oppo_bundle>>
      parameter with just parameters it needs - st, md, client selectors,
      hash
    
      (it should be merged with quick_inI1_outR1())
    
    - replace find_client_connection(really-long-parameter-list) with
      find_v1_client_connection(c, local_client, remote_client)
    
      (but leave body as-is for now - got to stop somewhere)
    
    fix more subnet vs selector problems



More information about the Swan-commit mailing list