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

2018-07-28 Thread D. Hugh Redelmeier
New commits: commit ffc124dff6754da9a88f19d229554fce58862f3a Author: D. Hugh Redelmeier Date: Sat Jul 28 15:30:38 2018 -0400 pluto: out_struct debugging controlled by DBG_EMITTING, not DBG_PARSING commit 0d36f4249a4fec6683b330164cdd3cdccd10108a Author: D. Hugh Redelmeier Date: Sat Jul

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

2018-07-29 Thread D. Hugh Redelmeier
New commits: commit 661c5452af2f178df8fc6118c55a9cfa67fda404 Author: D. Hugh Redelmeier Date: Sun Jul 29 14:41:43 2018 -0400 pluto: refer to ISAKMP_NEXT_NONE and ISAKMP_NEXT_v2NONE by name - More to come. - Add a couple of useful comments too. commit

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

2018-08-03 Thread D. Hugh Redelmeier
New commits: commit 32b25cd15a5b606c01004ea2ea6bda0ba5fb2c8d Author: D. Hugh Redelmeier Date: Fri Aug 3 15:30:11 2018 -0400 libipsecconf: fix off-by-one error in f28c65e2c5a132562172522a73c88a2fcf4a841e Bug reported by Cagney. ___ Swan

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

2018-08-10 Thread D. Hugh Redelmeier
New commits: commit 59165f0a975e60b1c28a9626117300f53bf1e818 Author: D. Hugh Redelmeier Date: Fri Aug 10 16:21:58 2018 -0400 testing: change Strongswan reference logs to reflect changes in c7cc3dbdd0782c157d2676740212c24e35c18415 - Order of DPD vendor ID and FRAGMENTATION vendor

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

2018-08-13 Thread D. Hugh Redelmeier
New commits: commit 0d63ca83e965a29c676905ac55c6e5238c8dc97a Author: D. Hugh Redelmeier Date: Mon Aug 13 13:08:25 2018 -0400 pluto: negotiate_hash_algo_from_notification() prevent buffer overrun; tidy - if the Other Side sent a payload listing too many hash algorithms

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

2018-08-13 Thread D. Hugh Redelmeier
New commits: commit d7eb264d9c1923c8d1e911490445198d1ee8d582 Author: D. Hugh Redelmeier Date: Tue Aug 14 01:53:11 2018 -0400 pluto: ikev2_parent.c: simplify and add some ??? ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-08-14 Thread D. Hugh Redelmeier
New commits: commit c2e3fb0c0302c166b298ea9933da766011fba523 Author: D. Hugh Redelmeier Date: Tue Aug 14 02:19:02 2018 -0400 pluto: build payloads with struct initializers; tidy - for output payload structs, switch to using struct initializer to fill in fields where possible

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

2018-08-12 Thread D. Hugh Redelmeier
New commits: commit f4d19f8a5e566b654881e4b2f7cbe23475f98c8e Author: D. Hugh Redelmeier Date: Sun Aug 12 13:26:32 2018 -0400 whack.h: bump WHACK_MAGIC to reflect recent change fd547b0ffa5ec14b50bd25a71d5c220f2e532ed2 added sighash_policy to the whack_message so WHACK_MAGIC

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

2018-08-13 Thread D. Hugh Redelmeier
New commits: commit 5cecaafc89167260c8aa4fbc937b867343a502ae Author: D. Hugh Redelmeier Date: Mon Aug 13 11:46:48 2018 -0400 pluto: sprinkle "static"; formatting tweaks ___ Swan-commit mailing list Swan-commit@lists.libreswan

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

2018-08-14 Thread D. Hugh Redelmeier
New commits: commit 623f4f53e84a0ddc71a54f7fc4c4d2cf9c8dd7d7 Author: D. Hugh Redelmeier Date: Tue Aug 14 10:52:14 2018 -0400 Revert "pluto: build payloads with struct initializers; tidy" This reverts commit c2e3fb0c0302c166b298ea9933da766011fba523. Seems to have

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

2018-08-18 Thread D. Hugh Redelmeier
New commits: commit 9280af4e6ddc6f57a013c6c81dca81f54ae0ed55 Author: D. Hugh Redelmeier Date: Sun Aug 19 01:01:54 2018 -0400 pluto: simplify build_id_payload() ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-08-19 Thread D. Hugh Redelmeier
New commits: commit 56dc77beba667853b0d2f017d373497942d686ab Author: D. Hugh Redelmeier Date: Sun Aug 19 02:12:46 2018 -0400 pluto: clarify odd bits in aggr_inI2 commit 3f29a679a4c02a13fd152c2f86bebba87739f32f Author: D. Hugh Redelmeier Date: Sun Aug 19 02:10:25 2018 -0400 pluto

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

2018-08-19 Thread D. Hugh Redelmeier
New commits: commit 5b106e8e94b0ca58a600e82c5a2e15b48464aa9e Author: D. Hugh Redelmeier Date: Sun Aug 19 02:36:05 2018 -0400 pluto: add and use v2_build_id_payload() This replaces a bunch of ugly casts with one. ___ Swan-commit mailing

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

2018-08-20 Thread D. Hugh Redelmeier
New commits: commit 6dc99409a6b0e35e875d4d30512091afb393b63f Author: D. Hugh Redelmeier Date: Mon Aug 20 17:38:44 2018 -0400 pluto: tweak some whitespace ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org

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

2018-08-26 Thread D. Hugh Redelmeier
New commits: commit 109a16cf2b2d1fd09ba59ead8b5a7a44c33944bc Author: D. Hugh Redelmeier Date: Sun Aug 26 22:37:48 2018 -0400 pluto: minimize scopes of variables also: - exploit auto struct initialization - ditch some seam-enabling code - convert

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

2018-08-18 Thread D. Hugh Redelmeier
New commits: commit 448263e0bf0ba85ab86d397ef3c1ef915602513f Author: D. Hugh Redelmeier Date: Sat Aug 18 03:58:58 2018 -0400 pluto: build payloads with struct initializers; tidy These changes are linked by changes to np (next payload) emitting. - for output payload

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

2018-08-21 Thread D. Hugh Redelmeier
New commits: commit 4dfd1845c3458a2d4f1b79ec49c83c4871bd03d9 Author: D. Hugh Redelmeier Date: Tue Aug 21 11:37:09 2018 -0400 pluto: simplify his_id_was_instantiated macro ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-08-21 Thread D. Hugh Redelmeier
New commits: commit 28a2fe33d375c55ac914fe7a6fd550823fd29a4c Author: D. Hugh Redelmeier Date: Tue Aug 21 11:59:25 2018 -0400 pluto: make process_v1_packet() slightly more readable ___ Swan-commit mailing list Swan-commit@lists.libreswan.org

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

2018-07-20 Thread D. Hugh Redelmeier
New commits: commit f01486bbd06322d73ce782f98334d5a5c37b51a7 Author: D. Hugh Redelmeier Date: Fri Jul 20 22:16:59 2018 -0400 pervasive: use PRINTF_LIKE and UNUSED instead of bulky GCC-isms ___ Swan-commit mailing list Swan-commit

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

2018-07-20 Thread D. Hugh Redelmeier
New commits: commit 12b0082e835ffee4b37ac76850f243e2068c295b Author: D. Hugh Redelmeier Date: Fri Jul 20 22:00:13 2018 -0400 libipsecconf: respect that starter_error_append takes a format ___ Swan-commit mailing list Swan-commit

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

2018-07-14 Thread D. Hugh Redelmeier
New commits: commit a8c55f6eeda62b89a22214e3717f40fc691c8ebd Author: D. Hugh Redelmeier Date: Sat Jul 14 17:13:00 2018 -0400 pluto: don't ignore failure of ikev2_emit_sa_proposals() ___ Swan-commit mailing list Swan-commit@lists.libreswan.org

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

2018-07-15 Thread D. Hugh Redelmeier
New commits: commit 39cff244051bec854f911cdffcd2abd00906f302 Author: D. Hugh Redelmeier Date: Sun Jul 15 16:09:57 2018 -0400 pluto: fix some spelling and indentation commit 9f8edb14e70bcdca8e5afbe366bc6ba7319b0481 Author: D. Hugh Redelmeier Date: Sun Jul 15 16:05:28 2018 -0400

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

2018-07-16 Thread D. Hugh Redelmeier
New commits: commit c2ecdefb06fed7f51cbf6571f3a431b5643a1d7a Author: D. Hugh Redelmeier Date: Mon Jul 16 19:28:50 2018 -0400 pluto: convert all struct_desc initialization to use C new-style Too many fields to understand at a glance at an old-style initializer

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

2018-07-16 Thread D. Hugh Redelmeier
New commits: commit 6b72aa1f32af0a43dc9a811e4b5615ad212813cd Author: D. Hugh Redelmeier Date: Mon Jul 16 22:51:55 2018 -0400 kernel: fix spelling mistake in a comment ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-07-24 Thread D. Hugh Redelmeier
New commits: commit 5f67c7c0d685bf6e48646bbc7ea43ddd1d6192ce Author: D. Hugh Redelmeier Date: Tue Jul 24 14:41:45 2018 -0400 addcon: simplify; log to stderr when appropriate - systematically change "printf{ to "fprintf(stderr, " where it is fol

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

2018-07-24 Thread D. Hugh Redelmeier
New commits: commit df4ab8d344024a25fb954f3c39adaa280a859360 Author: D. Hugh Redelmeier Date: Tue Jul 24 22:04:48 2018 -0400 makefiles: fix grammar of a message ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-07-22 Thread D. Hugh Redelmeier
New commits: commit 486f4d7a422fe2d7c25595efb4246859e2c04e78 Author: D. Hugh Redelmeier Date: Sun Jul 22 22:22:57 2018 -0400 pervasive: contraction for "let us" is "let's", not "lets" ___ Swan-commit mailing list S

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

2018-07-22 Thread D. Hugh Redelmeier
New commits: commit 1daf10d71431b5061b0a0c94a45a2dc2207072b6 Author: D. Hugh Redelmeier Date: Sun Jul 22 19:10:34 2018 -0400 pervasive: eliminate newline after "static" in function definitions ___ Swan-commit mailing list S

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

2018-07-20 Thread D. Hugh Redelmeier
New commits: commit e987cf92205ee19ae11ebfc9d62cab8b8ce15538 Author: D. Hugh Redelmeier Date: Fri Jul 20 22:41:03 2018 -0400 libipsecconf: since resolvip isn't used, get rid of it ___ Swan-commit mailing list Swan-commit@lists.libreswan.org

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

2018-07-14 Thread D. Hugh Redelmeier
New commits: commit ec8db8c71a76a4e98cd9ff4f899878669cd79284 Author: D. Hugh Redelmeier Date: Sat Jul 14 04:07:43 2018 -0400 pluto: sa_t and its constants are not bools; make them enums ___ Swan-commit mailing list Swan-commit

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

2018-07-16 Thread D. Hugh Redelmeier
New commits: commit b858f9398aa5e9552b345ecea11f970774e7a8b6 Author: D. Hugh Redelmeier Date: Mon Jul 16 09:15:14 2018 -0400 pluto: reduce boilerplace in generating notify payloads and in using critical() - Most calls to ship_v2N had stereotyped parameters. Added

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

2018-07-14 Thread D. Hugh Redelmeier
New commits: commit 5618b2c31d6a80a3ffa2901c024e9db5448c7d9d Author: D. Hugh Redelmeier Date: Sat Jul 14 08:59:54 2018 -0400 pluto: tidy aspects of IKEv2 proposal handling - clarify that COOKIE_SIZE is also the v2 IKE SPI size - replace magic numbers for v2 IKE SPI size

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

2018-09-09 Thread D. Hugh Redelmeier
New commits: commit b6e8244a3fda063707192878446429f30b8b4d0c Author: D. Hugh Redelmeier Date: Sun Sep 9 20:51:28 2018 -0400 pluto: remove surplus whitespace ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org

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

2018-09-05 Thread D. Hugh Redelmeier
New commits: commit 6d0aea9400c33c4269ed35454826a2c94bc39230 Author: D. Hugh Redelmeier Date: Wed Sep 5 02:40:10 2018 -0400 pervasive: eliminate many casts to unsigned long and long This should allow the compilers to catch more of our mistakes. In many cases we use

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

2018-07-05 Thread D. Hugh Redelmeier
New commits: commit 6505c353d090ca4c7bf5196acd2b7347b3966eb0 Author: D. Hugh Redelmeier Date: Fri Jul 6 00:48:26 2018 -0400 pluto: clarify some related IKEv1 functions - ikev1_decode_peer_id sometimes has a surprising side-effect: changing the connection for a state

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

2018-07-08 Thread D. Hugh Redelmeier
New commits: commit d2180e3ef9df096d54faadd84a2210c14c6a344d Author: D. Hugh Redelmeier Date: Sun Jul 8 11:18:19 2018 -0400 pluto: remove last vestiges of warningsarefatal Complete 5e9b2306981cc09b4c3cd4bf46a0ec9a5723afa5 ___ Swan

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

2018-07-09 Thread D. Hugh Redelmeier
New commits: commit 5855c1155f9f678525dc3ba56b60ae5842d6e0fe Author: D. Hugh Redelmeier Date: Mon Jul 9 19:11:18 2018 -0400 pervasive: get rid of self-reference using "FreeS/WAN" and "Openswan" ___ Swan-commit mail

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

2018-07-11 Thread D. Hugh Redelmeier
New commits: commit 13e38a1ae0e0c41cf8d1673839706765c3880a5e Author: D. Hugh Redelmeier Date: Wed Jul 11 09:38:48 2018 -0400 pluto: a few more tweaks to add_connect - ensure alg_info_ike and alg_info_esp fields are initialized to NULL (initializing a pointer's raw memory

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

2018-07-06 Thread D. Hugh Redelmeier
New commits: commit 98633cbb425d50572335042055bf460215a940cd Author: D. Hugh Redelmeier Date: Fri Jul 6 09:38:58 2018 -0400 pluto: a few tweaks to ikev1_xauth.c - change result of xauth_launch_authent from always ignored 0 to void - add ??? comments where result

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

2018-07-07 Thread D. Hugh Redelmeier
New commits: commit 2b1e4815e9806b06ee11d8ab25fda7fcc858bea8 Author: D. Hugh Redelmeier Date: Sat Jul 7 11:10:41 2018 -0400 testing: ditch many definitions of exit_tool. Never used. ___ Swan-commit mailing list Swan-commit@lists.libreswan.org

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

2018-07-13 Thread D. Hugh Redelmeier
New commits: commit d4cbcd8d3575dab0dc99175b91be735b949860cf Author: D. Hugh Redelmeier Date: Fri Jul 13 09:34:56 2018 -0400 testing: use /dev/urandom for dnssec-keygen and dnssec-signzone By default, these use /dev/random. This can be very very slow. random(4) says /dev

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

2018-07-13 Thread D. Hugh Redelmeier
New commits: commit 3304569945ef35d2d4666ef24383ce1b0f8d Author: D. Hugh Redelmeier Date: Thu Jul 12 15:18:27 2018 -0400 pluto: ikev2_process_sa_payload: *chosen_proposal must be empty on entry and full on return commit 300036d602bd363e171b1d31a6fac69e9e56795e Author: D. Hugh

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

2018-07-12 Thread D. Hugh Redelmeier
New commits: commit 91c40a3fba269ff428804846841e06f1dd8c7fbf Author: D. Hugh Redelmeier Date: Thu Jul 12 09:55:22 2018 -0400 pluto: ikev2_proposals_from_alg_info_ike: passert(*result !- NULL) at end - Every caller but one passerted this after the call - added: the passert

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

2018-07-09 Thread D. Hugh Redelmeier
New commits: commit f28c65e2c5a132562172522a73c88a2fcf4a841e Author: D. Hugh Redelmeier Date: Mon Jul 9 01:55:40 2018 -0400 confread: more carefully handle diagnostics Problems: - err_t was used for mutable errors + for heap-allocated strings: leaks

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

2018-07-13 Thread D. Hugh Redelmeier
New commits: commit 157af04c882710935c4282dc7d8b78a0895203c8 Author: D. Hugh Redelmeier Date: Fri Jul 13 15:16:45 2018 -0400 pluto: fix ikev2_need_esp_or_ah_proposals broken in d23fb67075a07e6a7a2a1b4c09589c60534431e8 ___ Swan-commit mailing

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

2018-01-23 Thread D. Hugh Redelmeier
New commits: commit 7eab94e0bbdf4ccd8e404ae0a20c08aab0bd2705 Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Tue Jan 23 13:37:39 2018 -0500 pluto: flag type asssertions with comments Some function-type typedefs are useful but cannot be used in function defin

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

2018-09-12 Thread D. Hugh Redelmeier
New commits: commit fca0f0ec8d3527150a41a57b7234ba0fca00466c Author: D. Hugh Redelmeier Date: Wed Sep 12 04:07:39 2018 -0400 pluto: lsw_find_secret_by_id(): tidy three lines ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-04-18 Thread D. Hugh Redelmeier
New commits: commit d30e7da4854373d9089d051be2566db25996ef29 Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Wed Apr 18 10:55:19 2018 -0400 pluto: simplify ship_v2BOGUS() ___ Swan-commit mailing list Swan-commit@lists.libreswan.org

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

2018-04-18 Thread D. Hugh Redelmeier
New commits: commit 685c9771aa052456e02ab3712a05ec2796540f64 Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Wed Apr 18 11:10:02 2018 -0400 pluto: absorb more into ship_v2BOGUS() ___ Swan-commit mailing list Swan-commit@lists.libresw

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

2018-04-18 Thread D. Hugh Redelmeier
New commits: commit 8b088c1f854ece4a01fce63dd51f6d7785dbcff3 Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Wed Apr 18 11:48:40 2018 -0400 pluto: allow INITIAL_CONTACT to delete multiple connections This is an unlikely case but it can be con

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

2018-04-18 Thread D. Hugh Redelmeier
New commits: commit 3987d674826968921bf3e99a0956acafd4371692 Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Wed Apr 18 13:18:31 2018 -0400 pluto: fix typo: playload => payload (but it was a nice one) ___ Swan-commit mailing list Sw

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

2018-04-21 Thread D. Hugh Redelmeier
New commits: commit 91f7de765cefc33bd8685b6d69d31db64462e4c5 Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Sat Apr 21 19:28:38 2018 -0400 eliminate scattered and redundant #includes of commit 8868fd661759028b6576584a3996081cc28c8e61 Author: D. Hugh Redelmeier <h...@mimosa.

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

2018-04-16 Thread D. Hugh Redelmeier
New commits: commit fff2f721ad6f56812bf01cf63c4a6c646f8342ba Author: D. Hugh Redelmeier <h...@mimosa.com> Date: Mon Apr 16 17:14:37 2018 -0400 Tidy: - use struct initializers to advantage (lots more to be done) - replace most calls to zero() that initialized pointers

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

2018-06-29 Thread D. Hugh Redelmeier
New commits: commit 007b8753f9a36dbc91fa708564ead702cd4fb60f Author: D. Hugh Redelmeier Date: Fri Jun 29 03:11:20 2018 -0400 linux/include/libreswan.h: fix typo just introduced ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-06-28 Thread D. Hugh Redelmeier
New commits: commit bc3ea96bc4f9b070db9f8bc36a435e66ffd38917 Author: D. Hugh Redelmeier Date: Thu Jun 28 22:29:17 2018 -0400 pervasive: SET_V4_LEN and SET_V6_LEN to avoid ifdef boilerplace - fixes a number of errors in boilerplate

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

2018-06-22 Thread D. Hugh Redelmeier
New commits: commit 51eda7543c74b43df25ac9330be8899c98393dd4 Author: D. Hugh Redelmeier Date: Fri Jun 22 09:45:51 2018 -0400 pluto: fix leak of whack file descriptor in ikev2_parent_outI1 ___ Swan-commit mailing list Swan-commit

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

2018-06-27 Thread D. Hugh Redelmeier
New commits: commit 03bff8c06bcaf20583f05f7404aba872927bad62 Author: D. Hugh Redelmeier Date: Wed Jun 27 22:10:18 2018 -0400 pluto: connections.c: note a trick; make switch coverage clear for static analysis ___ Swan-commit mailing list Swan

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

2018-06-27 Thread D. Hugh Redelmeier
New commits: commit 78dc1a2ff82543567d75268ef4052f3514886cb9 Author: D. Hugh Redelmeier Date: Wed Jun 27 22:27:57 2018 -0400 pluto: ikev2_parent.c: simplify some functions commit 92ddee8cbb0da7390ea903c38b6241657b3b4292 Author: D. Hugh Redelmeier Date: Wed Jun 27 22:17:37 2018 -0400

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

2018-10-28 Thread D. Hugh Redelmeier
New commits: commit a1485e92caa85bc8215c772983d5c682e0e0905e Author: D. Hugh Redelmeier Date: Sun Oct 28 22:25:11 2018 -0400 libswan: x509dn.c: simplify, clarify, make more careful ASN.1 Distinguished Name decoding - redo init_rdn()/get_next_rdn() - never completely

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

2018-11-03 Thread D. Hugh Redelmeier
New commits: commit 542f32f1f1c9a8dfce850271eeea445ac3653e75 Author: D. Hugh Redelmeier Date: Sat Nov 3 10:31:44 2018 -0400 lib/libswan/x509dn.c dn_parse() For each ',' or '/' in an ASN.1 string, double it in the ASCII-fied version. This is the inverse of what is done

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

2018-11-03 Thread D. Hugh Redelmeier
New commits: commit 784bca5c25b0005107b25df47fdc560a8f163af0 Author: D. Hugh Redelmeier Date: Sat Nov 3 12:53:04 2018 -0400 pervasive: exploit chunk_eq() ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org

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

2018-11-02 Thread D. Hugh Redelmeier
New commits: commit 0cab6cc8ca89b80a9256960de4d68d66af3fb563 Author: D. Hugh Redelmeier Date: Fri Nov 2 16:04:39 2018 -0400 pluto: grammar ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https://lists.libreswan.org/mailman/listinfo

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

2018-11-05 Thread D. Hugh Redelmeier
New commits: commit 9632d141261ead3786b850eb0f524c06fc4edcc1 Author: D. Hugh Redelmeier Date: Mon Nov 5 13:28:17 2018 -0500 pluto/ikev2_message.c: avoid GCC 6.10 warning ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-11-07 Thread D. Hugh Redelmeier
New commits: commit 4c7f1808fa60cbe60511b7e944de6c4ff3f099db Author: D. Hugh Redelmeier Date: Wed Nov 7 03:02:46 2018 -0500 libipsecconf: rename various *_MAX things as *_ROOF for accuracy ___ Swan-commit mailing list Swan-commit

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

2018-11-09 Thread D. Hugh Redelmeier
New commits: commit 004d90abf6a2da93bc9f73c0f330fa39cd458725 Author: D. Hugh Redelmeier Date: Fri Nov 9 11:32:47 2018 -0500 asn1.h: note that asn1_length_signature() and is_asn1_der_encoded_signature() are are unused commit 22ebd1806bca81bafb99f1cefa28cbdf623d1afd Author: D. Hugh

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

2018-11-04 Thread D. Hugh Redelmeier
New commits: commit 0a78dbb08b27e3498073a98594abba7248a9634d Author: D. Hugh Redelmeier Date: Sun Nov 4 17:58:45 2018 -0500 libswan/asn1.c: another implementation of is_printablestring() This one is probably faster than the original (not measured). It is probably faster

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

2018-10-03 Thread D. Hugh Redelmeier
New commits: commit 4b504a2410bd193326295cb3119682eda11fec91 Author: D. Hugh Redelmeier Date: Wed Oct 3 02:08:51 2018 -0400 libswan: fix some flaws with resolve_ppp_peer - remove incorrect introductory comments - rename to "resolve_point_to_point_peer" to

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

2018-09-28 Thread D. Hugh Redelmeier
New commits: commit 3b9ce2aacaf7ada0b02bcc19c864358f6e8d33ec Author: D. Hugh Redelmeier Date: Fri Sep 28 14:13:45 2018 -0400 pluto: ikev1_xauth.h: more clearly type state transition functions ___ Swan-commit mailing list Swan-commit

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

2018-09-21 Thread D. Hugh Redelmeier
New commits: commit 268fca7cc9802c4bb7fff5133d3ef7c11ac0ddfa Author: D. Hugh Redelmeier Date: Fri Sep 21 03:45:33 2018 -0400 libswan: tidy secrets.[ch] - eliminate deadwood from secrets.h. Some functions disappear, some become file-static. - sprinkle const

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

2018-09-20 Thread D. Hugh Redelmeier
New commits: commit feae8224e3a9e6bf0f77631d7afd5f4201889798 Author: D. Hugh Redelmeier Date: Thu Sep 20 02:18:13 2018 -0400 pluto: tidy keys.c - eliminate redundant parameters of lsw_get_secret - reduce scope of auto variables - sprinkle const - make

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

2018-09-25 Thread D. Hugh Redelmeier
New commits: commit b257545675ae4564d866758eb3ef4230d7c1ede2 Author: D. Hugh Redelmeier Date: Tue Sep 25 17:14:36 2018 -0400 libipsecconf: fix off-by-one in config file "include" handling ___ Swan-commit mailing list S

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

2018-09-19 Thread D. Hugh Redelmeier
New commits: commit fa004e7d4b83fbeaa8d0f6d8430a96aed97a97b9 Author: D. Hugh Redelmeier Date: Wed Sep 19 12:51:01 2018 -0400 pluto: ikev1.c: when rejecting an unexpected payload, log the state name ___ Swan-commit mailing list Swan-commit

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

2018-09-22 Thread D. Hugh Redelmeier
New commits: commit 24234af0ec214cb86bd570d3964724ddab405bc5 Author: D. Hugh Redelmeier Date: Sat Sep 22 14:47:57 2018 -0400 pluto: rename out_byte => out_repeated_byte ___ Swan-commit mailing list Swan-commit@lists.libreswan.org ht

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

2018-09-28 Thread D. Hugh Redelmeier
New commits: commit 9a4b391b006fcfd7a90dea888d31019cc545cf3f Author: D. Hugh Redelmeier Date: Fri Sep 28 11:17:24 2018 -0400 pluto: IKEv2: create functions for boilerplate for starting and ending SK/SKF payloads This hairy code now appears only once instead of being repeated

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

2018-09-28 Thread D. Hugh Redelmeier
New commits: commit 27eac7de24933451bd9b80a38bd009b0163c304c Author: D. Hugh Redelmeier Date: Fri Sep 28 12:45:16 2018 -0400 pluto: crl_queue.c: deep_clone_general_names: initialize new .next to NULL ___ Swan-commit mailing list Swan-commit

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

2018-09-28 Thread D. Hugh Redelmeier
New commits: commit 063415a2a8ef5446bc43a959b31356a8d7e16504 Author: D. Hugh Redelmeier Date: Fri Sep 28 13:26:07 2018 -0400 pluto: add and use in_main_thread(); make main_thread private ___ Swan-commit mailing list Swan-commit

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

2018-09-28 Thread D. Hugh Redelmeier
New commits: commit f29644c394ce01d15f0b464df9c0f22786d39bef Author: D. Hugh Redelmeier Date: Fri Sep 28 13:36:37 2018 -0400 pluto: fetch.[ch]: make list_distribution_points() file-static ___ Swan-commit mailing list Swan-commit

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

2018-09-28 Thread D. Hugh Redelmeier
New commits: commit 7086a92e4e3df700971279521ee68c2805d068c0 Author: D. Hugh Redelmeier Date: Fri Sep 28 13:39:38 2018 -0400 pluto: foodgroups.h: delete unused and undefined "policygroups_dir" ___ Swan-commit mailing list S

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

2018-09-28 Thread D. Hugh Redelmeier
New commits: commit 341f5aa875965193148d89a146ac25930af5cc2d Author: D. Hugh Redelmeier Date: Fri Sep 28 13:47:50 2018 -0400 pluto: hostpair: make "remove_host_pair" file-static ___ Swan-commit mailing list Swan-commit@lists.libreswan

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

2018-09-28 Thread D. Hugh Redelmeier
New commits: commit 47e98df56ce71be370c9f701ea2a2c4e0bc88c62 Author: D. Hugh Redelmeier Date: Fri Sep 28 14:05:58 2018 -0400 pluto: ikev1_send.[ch]: eliminate "send_recorded_v1_ike_msg" ___ Swan-commit mailing list S

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

2018-12-27 Thread D. Hugh Redelmeier
New commits: commit df2084833a023e577936ce0bbc1bf339734fa25b Author: D. Hugh Redelmeier Date: Thu Dec 27 23:57:27 2018 -0500 pluto: slightly clarify uniquify_his_cpi() ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2019-01-02 Thread D. Hugh Redelmeier
New commits: commit 20f4002247ba4540cdc3b4ebe6f7c73828682649 Author: D. Hugh Redelmeier Date: Wed Jan 2 15:54:08 2019 -0500 pluto: rename and remodularize emit_v2N* - new names specify what should be included in the payload "sa": an SA (i.e. protoid and SPI)

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

2019-01-04 Thread D. Hugh Redelmeier
New commits: commit fed15202f0f59d9125e2ba77c5e6571ac0ef8de6 Author: D. Hugh Redelmeier Date: Fri Jan 4 23:23:20 2019 -0500 pluto: tidy build_redirected_from_notify_data and ikev2_parent_outI1_common; eliminate leak ___ Swan-commit mailing list

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

2019-01-18 Thread D. Hugh Redelmeier
New commits: commit d451f77d58f00986bb0605d4948be67a26385b31 Author: D. Hugh Redelmeier Date: Fri Jan 18 10:58:57 2019 -0500 make older GCC's happy All these were prompted by diagnostics from GCC 4.8.5. They probably matter for other GCCs. - GCC does not consider

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

2019-01-21 Thread D. Hugh Redelmeier
New commits: commit abb02a4e3a9d4403151aae29cc6b7bc27dcabac3 Author: D. Hugh Redelmeier Date: Mon Jan 21 10:14:06 2019 -0500 Pluto: a little bit of weeding - reduce heap use + Hashes fit in a buffer of modest and bounded size. If the lifetime of the buffer

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

2019-01-19 Thread D. Hugh Redelmeier
New commits: commit c6dd1d5b3f95b015501cc0870ca74136583bb95b Author: D. Hugh Redelmeier Date: Sat Jan 19 11:50:18 2019 -0500 libswan: fallout from compound literals being objects - add const qualifier in CHUNKO - eliminate compound literal from an initializer

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

2019-01-19 Thread D. Hugh Redelmeier
New commits: commit 199ac9a7405ee86013941b7627a38f77b060dec5 Author: D. Hugh Redelmeier Date: Sat Jan 19 10:53:49 2019 -0500 EMPTY_CHUNK: add const qualifier to type of EMPTY_CHUNK Since a C compound literal is an object, it can be modified. EMPTY_CHUNK expands into a compound

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

2018-12-18 Thread D. Hugh Redelmeier
New commits: commit 67542646a6f47d9e061a407be4c71950a354ff40 Author: D. Hugh Redelmeier Date: Tue Dec 18 13:57:04 2018 -0500 pluto: state.h: clarify comments on struct state fields that are keying material ___ Swan-commit mailing list Swan

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

2018-12-18 Thread D. Hugh Redelmeier
New commits: commit 294fa14ed6b3d9459e4a8de74af01ec3f9ac4050 Merge: 9cee999 6451564 Author: D. Hugh Redelmeier Date: Tue Dec 18 14:07:20 2018 -0500 Merge branch 'master' of vault.libreswan.org:/srv/src/libreswan commit 9cee99943a49e7324e18f451bbad75a900c42eaf Author: D. Hugh Redelmeier

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

2018-12-20 Thread D. Hugh Redelmeier
New commits: commit 13d61c89710b2d0cd721fd55911c1625fc6cacec Author: D. Hugh Redelmeier Date: Thu Dec 20 13:50:55 2018 -0500 pluto: ikev2_log_parentSA: restore tcpdump -E functionality; simplify ___ Swan-commit mailing list Swan-commit

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

2018-12-23 Thread D. Hugh Redelmeier
New commits: commit dfd3e6a775952209721fbb182ee3d15cde609691 Author: D. Hugh Redelmeier Date: Sun Dec 23 22:48:48 2018 -0500 pluto: fix crasher introduced in 169270757d ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-12-10 Thread D. Hugh Redelmeier
New commits: commit 2c027458e5ff744c39baececfebfa9eaf57cccf2 Author: D. Hugh Redelmeier Date: Tue Dec 11 01:46:47 2018 -0500 pluto: ikev2_parent.c: simplify add_st_to_ike_sa_send_list() commit a708e0871809c73bfc8e0f6da543a6ff1110f450 Author: D. Hugh Redelmeier Date: Tue Dec 11 01:45:28

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

2018-12-10 Thread D. Hugh Redelmeier
New commits: commit 7015798dd7e0dafb07f9b3301992fb5a8a5f612f Author: D. Hugh Redelmeier Date: Tue Dec 11 01:57:26 2018 -0500 pluto: tweak comments in event_schedule() ___ Swan-commit mailing list Swan-commit@lists.libreswan.org https

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

2018-12-14 Thread D. Hugh Redelmeier
New commits: commit d3ff44035a4b96764f07dfc68c5c733490c9aea6 Author: D. Hugh Redelmeier Date: Fri Dec 14 14:59:53 2018 -0500 pluto: ikev1.c: replace reference to v2 field with the corresponding v1 field st_skey_ei_nss => st_skeyid_e_

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

2018-12-21 Thread D. Hugh Redelmeier
New commits: commit d78acb3ea6f6d4c1a19b489c3d95b133e8cf2c9a Author: D. Hugh Redelmeier Date: Fri Dec 21 10:48:32 2018 -0500 pluto: ikev2_parent.c: fix a confusing intentation mistake ___ Swan-commit mailing list Swan-commit@lists.libreswan.org

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

2018-12-21 Thread D. Hugh Redelmeier
New commits: commit 96702cd31f95f8c0214d29cc440e193e5ad01b45 Merge: 1692707 ca6287c Author: D. Hugh Redelmeier Date: Fri Dec 21 11:40:02 2018 -0500 Merge branch 'master' of vault.libreswan.org:/srv/src/libreswan commit 169270757d6a2d61df730d1971613dff98db57eb Author: D. Hugh Redelmeier

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

2018-12-21 Thread D. Hugh Redelmeier
New commits: commit 526a3c46693bdd521fbe4c739a33c4e8f5ce89c8 Author: D. Hugh Redelmeier Date: Fri Dec 21 10:32:26 2018 -0500 Revert "pluto: emit_v2N's "critical" parameter since it was identical in each call" This reverts commit 731aaeee4199340b6aaf42eab5fa56b7919

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

2018-12-21 Thread D. Hugh Redelmeier
New commits: commit a2b6a07a5200a0e5dc4bfd400c834e662b98e0cc Author: D. Hugh Redelmeier Date: Fri Dec 21 10:55:21 2018 -0500 pluto: plug a leak in ikev2_parent_inI2outR2_id_tail() ___ Swan-commit mailing list Swan-commit@lists.libreswan.org

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

2018-12-21 Thread D. Hugh Redelmeier
New commits: commit 60505257ae2d788ccd5ee66eb481712ed5596ca2 Author: D. Hugh Redelmeier Date: Fri Dec 21 11:41:50 2018 -0500 pluto: get rid of a scope in ikev2_parent_inR1outI2_tail ___ Swan-commit mailing list Swan-commit@lists.libreswan.org

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

2018-12-05 Thread D. Hugh Redelmeier
New commits: commit e01b644c1cc518696512a26dd8288ea9d61e55ad Author: D. Hugh Redelmeier Date: Wed Dec 5 11:24:59 2018 -0500 clarify interface to several event-deletion functions Each deals with a pointer to a pointer to the event. If the pointer to the event is NULL

<    1   2   3   4   5   6   7   8   >