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

2018-09-19 Thread Andrew Cagney
New commits:
commit b6a857cd8a99b967e481c12c2387edef924a3b86
Author: Andrew Cagney 
Date:   Wed Sep 19 10:18:29 2018 -0400

shunk_t: add more string functions ...

(and rename shunk_token() to shunk_strsep())

shunk_t shunk_strsep(shunk_t *shunk, const char *delim);
bool shunk_caseeq(shunk_t lhs, shunk_t rhs);
bool shunk_strcaseeq(shunk_t shunk, const char *string);
bool shunk_caseeat(shunk_t *lhs, shunk_t rhs);
bool shunk_strcaseeat(shunk_t *lhs, const char *string);

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[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@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit 3343e5fc1687c4820a4fa9704db8826881d1d251
Author: Andrew Cagney 
Date:   Wed Sep 19 10:28:06 2018 -0400

logging: add LSWLOG_ERROR() and LSWLOG_INFO() for sending messages to error 
stream and console

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit ad907386dfad44b92bb6ce1b0641a86abe832830
Author: Andrew Cagney 
Date:   Wed Sep 19 11:51:07 2018 -0400

keywords: add yet another NAME<>VALUE map; but this time with .details

Yes, enum_names, sparse_names, and keyword_name_values along with
this should all be merged.  Unfortunately adding .details to any of the
existing maps causes code churn, so hold off until this code has
had time to settle.

For instance, the sparce_names and keyword_name_values initializers
will both need to be changed so that they don't get uninitialized
field warnings from the new .details field.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit 7245fd1c813f62244b97283f482a2965ee03eb1b
Author: Andrew Cagney 
Date:   Wed Sep 19 13:20:22 2018 -0400

testing: drop the impair lset_t test; keep the debug one

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit f21b555975ed5472c8029dcd2717ca4d7993ffa3
Merge: 7245fd1 21b1631
Author: Andrew Cagney 
Date:   Wed Sep 19 13:21:58 2018 -0400

testing: replace '--impair send-*-ke-payload' with '--impair ke-payload:*'

Where the latter doesn't use 'lset_t cur_debugging' getting the code
away from the 64-bit lset_t limitation.

Merge commit '21b16319a9ee8d0abb1835d793623e6bf8952400'

commit 21b16319a9ee8d0abb1835d793623e6bf8952400
Author: Andrew Cagney 
Date:   Wed Sep 19 12:48:30 2018 -0400

impairing: drop old/redundant --impair send-*-ke-payload options

commit 4bb4b1d0bb644bb36a847e32ab68da876ee410b5
Author: Andrew Cagney 
Date:   Wed Sep 19 11:57:39 2018 -0400

impairing: add --impair WHAT:HOW, for instance --impair ke-payload:omit

Where, inside pluto, the value is stored in the global:
   enum send_impairment impair_ke_payload;
and, unlike the existing impairments, doesn't share the lset_t
cur_debugging.

The existing --impair options can be migrated over later.

commit 429ad80477b36d7706e2e5fabb32ebba8700d7bc
Author: Andrew Cagney 
Date:   Wed Sep 19 10:15:24 2018 -0400

testing: use --impair ke-payload:*

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit c501f0de5ae7100a88ca63e7526e073f4404d601
Author: Andrew Cagney 
Date:   Wed Sep 19 13:48:30 2018 -0400

testing: another -impair retransmits -> suppress-retransmits

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit 9406db2404577a449abbdbe8f5f34dc052c79fc1
Author: Andrew Cagney 
Date:   Wed Sep 19 14:27:56 2018 -0400

testing: --impair retransmits -> delete-on-retransmit

quicker, and expected to fail

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit 9a87ec086b40db9555d674e483745072fb3dea24
Author: Andrew Cagney 
Date:   Wed Sep 19 16:17:54 2018 -0400

testing: more --impair retransmits -> suppress-retransmits

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit 889ab03248ae56b984572f659e65c3bcb27218c6
Author: Andrew Cagney 
Date:   Wed Sep 19 16:25:34 2018 -0400

testing: more --impair retransmits -> delete-on-retransmit

these expect a very quick unauthentication fail notification;
could be improved with --impair delete-on-notify?

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit 690b011203e154b53b2b320d223da4974260467e
Author: Andrew Cagney 
Date:   Wed Sep 19 16:46:02 2018 -0400

testing: more --impair retransmits -> suppress-retransmits

clearly see the connection fail

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 Thread Andrew Cagney
New commits:
commit 2e11bec006b9aadf37b38b7f6d6ae0e1d7c84062
Author: Andrew Cagney 
Date:   Wed Sep 19 21:07:23 2018 -0400

pluto: move close_any(), dup_any() to fd.[hc], make functions real and add 
debug code

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


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

2018-09-19 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 get_ppk() unconditionally set *ppk_id

- many other simplifications

commit e06490182b12b3d9584245b0b0d9fd4f2466047c
Author: D. Hugh Redelmeier 
Date:   Thu Sep 20 02:08:17 2018 -0400

libswan: partially handle PKK_ECDSA in lsw_free_preshared_secrets()

I don't know how to free the whole structure properly.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit