Commit Graph

756 Commits

Author SHA1 Message Date
Michael Davidsaver
4ea6831800 getgrouplist() on OSX has different sig. 2019-04-10 11:27:46 -07:00
Michael Davidsaver
c5fe16eff2 fix search PeerInfo 2019-02-19 19:54:42 -08:00
Michael Davidsaver
34f53c123a PeerInfo in pva/server.h and pva/sharedstate.h 2019-01-29 19:59:53 -08:00
Michael Davidsaver
d8f9ef2557 make PeerInfo available during search phase 2019-01-29 19:59:53 -08:00
Michael Davidsaver
bdd2730315 auth status void accidental success.
The default value of _verificationStatus is reported
on auth timeout.  Make sure it isn't success.
2019-01-13 19:04:59 -08:00
Michael Davidsaver
b46e0972ea minor doc 2019-01-13 19:04:59 -08:00
Michael Davidsaver
bfff9275bd always need to link with netapi32 now 2019-01-12 17:07:24 -08:00
Michael Davidsaver
50302d31ac authorize with local group lookup 2019-01-12 15:14:19 -08:00
Michael Davidsaver
b168c51aac Add osdGetRoles() 2019-01-12 15:14:19 -08:00
Michael Davidsaver
3209899172 authorization framework 2019-01-12 15:14:19 -08:00
Michael Davidsaver
9babc06ab3 pvasr show PeerInfo 2019-01-12 15:14:19 -08:00
Michael Davidsaver
fa484a883a redo security (aka. access control)
Break up monolithic SecurityPlugin API into three parts.

1. Authentication.
2. Authorization.
3. Access Control decision.  Left to ChannelProviders
2019-01-12 15:14:19 -08:00
Michael Davidsaver
13cac5f4cc remove asCheck
This interface will be removed.
2019-01-12 14:31:19 -08:00
Michael Davidsaver
31d98fc965 attempt to please MSVC
Seems not to elide some calls to
Configure::operator=()
2019-01-12 14:31:19 -08:00
Michael Davidsaver
3b4a52a360 remove usage of NoDefaultMethods 2019-01-12 12:02:25 -08:00
Michael Davidsaver
09354041dc minor c++11 2019-01-12 12:02:25 -08:00
Michael Davidsaver
0d1ba091a2 remove unused, and un-useful, IP address utils 2019-01-12 12:02:25 -08:00
Michael Davidsaver
d48971dbb9 BlockingUDPConnector cleanup
remove unused options and arguments.  Avoid alloc.
2019-01-12 12:02:25 -08:00
Michael Davidsaver
be3729cdb1 oops 2018-12-08 18:45:30 -08:00
Michael Davidsaver
81af0d72e8 client.h monitor missing NULL test 2018-12-08 17:50:09 -08:00
Michael Davidsaver
eb8be48807 preemptive dllimport 2018-12-08 17:50:09 -08:00
Andrew Johnson
eaf422669b Fix Windows symbol decorations in src/client implementation 2018-11-28 13:29:32 -06:00
Michael Davidsaver
095011d013 note 2018-11-26 10:40:43 -08:00
Michael Davidsaver
0959f9be88 use epicsGuard 2018-10-31 09:21:23 -07:00
Andrew Johnson
39d0706cf1 Fix typo in CAChannelGet class member 2018-10-30 16:19:12 -05:00
Andrew Johnson
2b998541ee Merge caProvider changes (PR #131) from mrkraimer
ANJ: Added some items to release_notes.dox
Fixes: Github issue #126
2018-10-29 18:20:50 -05:00
Michael Davidsaver
f84774e3ec PVA server earlier check of monitor window
Check window size before attemting poll() as apparently
"spurious" send() is possible.
2018-10-22 14:07:22 -07:00
Michael Davidsaver
3f85f7c2ad cleanup 2018-10-22 10:04:57 -07:00
Michael Davidsaver
a486f3d4c7 SharedPV::Handler better defaults 2018-10-18 17:52:56 -07:00
Michael Davidsaver
31ed0b55ec minor 2018-10-18 17:52:56 -07:00
Michael Davidsaver
1b273d3787 deprecate createFileLogger() 2018-10-18 17:52:56 -07:00
Michael Davidsaver
729f16f94e SharedPV move internal names under detail:: 2018-10-18 17:52:35 -07:00
Michael Davidsaver
0a5f8b44db doc 2018-10-18 15:18:00 -07:00
Michael Davidsaver
ac9ebc47ba improper use of rand() w/o RAND_MAX
... with an extra dose of integer modulo thrown in.
2018-10-18 15:18:00 -07:00
Michael Davidsaver
9de8676a6f pvlist debugging 2018-10-18 15:18:00 -07:00
Michael Davidsaver
731767b086 SharedPV fix onFirstConnect() on monitor creation 2018-10-08 07:10:13 -07:00
Michael Davidsaver
9ca7487e29 SharedPV allow use of Channel::destroy() to trigger onLastDisconnect()
Add dead flag to catch double destroy() or use after destroy()
2018-10-07 20:07:40 -07:00
Michael Davidsaver
ed1bd1b962 SharedPV defer onFirstConnect() to first getField/Put/Monitor 2018-10-07 20:07:40 -07:00
Michael Davidsaver
165313d8f5 client.h add some exception guards
These are one shot operations anyway,
and allowing user exceptions to propagate
to core PVA isn't helpful.
2018-10-07 20:07:40 -07:00
Michael Davidsaver
53b95dd336 more SharedPV rpc state tracking
handle re-open() with RPC
2018-10-06 17:55:57 -07:00
Michael Davidsaver
f6eeeac649 more UDP debugging 2018-10-04 21:08:15 -07:00
Michael Davidsaver
48770f132f fix global string constants 2018-10-04 21:08:15 -07:00
Michael Davidsaver
605c172d3c fix SharedPV allow rpc() while close()'d
Don't call channelRPCConnect() again during open().

Turns out that a second channelRPCConnect() has
the effect of sending a reply with OK and NULL.
2018-10-04 07:31:01 -07:00
Michael Davidsaver
542d51a215 RPC troubleshooting
something funny is going on
2018-10-03 23:41:30 -07:00
Michael Davidsaver
abc1b448d5 minor 2018-10-03 23:41:30 -07:00
Michael Davidsaver
421d50e3ba SharedPV too many notifiedConn
notifiedConn set more often than it should.
2018-10-03 18:36:32 -07:00
Michael Davidsaver
e67e00c968 client.h minor 2018-10-03 18:36:32 -07:00
mrkraimer
bca188d597 Merge https://github.com/epics-base/pvAccessCPP 2018-10-03 05:54:04 -04:00
Michael Davidsaver
d4f3abf461 more descriptive UDP logging 2018-10-02 12:52:24 -07:00
Michael Davidsaver
2fec84461d use of CMD_* instead of magic numbers 2018-10-02 12:52:24 -07:00