Commit Graph

1808 Commits

Author SHA1 Message Date
Michael Davidsaver be1bbe4aa8 const-ness 2019-05-20 17:48:10 -07:00
Michael Davidsaver 32ba2f32d0 avoid deprecated ByteBuffer::getArray()
use identical, but not overloaded, getBuffer()
2019-05-19 14:09:38 -07:00
Michael Davidsaver bd7ae12143 simpler win32 linking fix 2019-05-16 18:11:31 -07:00
Michael Davidsaver f9ac164ee7 Revert "try to fix downstream win32 linking"
This reverts commit 4f0c4c46a3.
2019-05-16 18:09:47 -07:00
Michael Davidsaver 4f0c4c46a3 try to fix downstream win32 linking 2019-05-16 14:03:45 -07:00
Michael Davidsaver b54cc1f62b remove deprecated namedLockPattern.h 2019-05-16 10:21:52 -07:00
Michael Davidsaver e978a29e5e remove deprecated createFileLogger 2019-05-16 10:21:52 -07:00
Michael Davidsaver baf8d47e1a try to fix windows build failure 2019-05-12 18:18:25 -07:00
Michael Davidsaver 736e0c169a Merge branch 'auth'
* auth:
  fix osdGetRoles
  oops
  Add showauth executable
  getgrouplist() on OSX has different sig.
  auth fix mingw static
  fix search PeerInfo
  PeerInfo in pva/server.h and pva/sharedstate.h
  make PeerInfo available during search phase
  auth status void accidental success.
  minor doc
  always need to link with netapi32 now
  authorize with local group lookup
  Add osdGetRoles()
  authorization framework
  pvasr show PeerInfo
  redo security (aka. access control)
  remove asCheck

# Conflicts:
#	src/server/pv/responseHandlers.h
#	src/server/responseHandlers.cpp
2019-05-12 14:40:29 -07:00
Michael Davidsaver 523cb46e21 fix osdGetRoles
Ignore NGROUPS_MAX.  On Darwin NGROUPS_MAX==16.
The actual limit is higher.

getgrouplist() is weird...
2019-04-29 11:20:06 -07:00
Michael Davidsaver 5b333922d5 6.1.2 6.1.2 2019-04-17 14:12:16 -07:00
Michael Davidsaver eec3efd36a doxygen 2019-04-17 13:45:53 -07:00
Michael Davidsaver 8415a125d9 minor 2019-04-17 09:38:37 -07:00
Michael Davidsaver 3fa1e83b55 avoid redundant sockaddr -> string 2019-04-17 09:35:43 -07:00
Michael Davidsaver a697008f13 demagic 2019-04-17 09:35:43 -07:00
Michael Davidsaver 31a7b66575 MonitorFIFO relax state requirements for post()
post() while close()d can be a no-op.  Simplify async. close().
May indicate a race with open(), which will fail on type change.
2019-04-17 09:35:43 -07:00
Bruce Hill b3b1e0b2c5 Have env tryGetPropertyAsString() ck for ENV_PARAM default. 2019-04-17 09:34:54 -07:00
Michael Davidsaver 86f4439d99 oops 2019-04-17 09:07:56 -07:00
Michael Davidsaver 2424c89bd7 Add showauth executable 2019-04-10 15:52:13 -07:00
Michael Davidsaver 4ea6831800 getgrouplist() on OSX has different sig. 2019-04-10 11:27:46 -07:00
Michael Davidsaver cddbabf8bc auth fix mingw static 2019-04-09 11:07:30 -07:00
Michael Davidsaver 78410499f0 6.1.1 6.1.1 2019-03-18 11:22:15 -07:00
Michael Davidsaver 5b7b865965 release notes 2019-03-18 09:03:19 -07:00
Michael Davidsaver 77a7d53f62 Add MonitorFIFO::getRequester() 2019-03-17 19:31:09 -07:00
Michael Davidsaver b462d82b18 pvinfo show peerName 2019-03-17 19:30:49 -07:00
Michael Davidsaver ea149f6292 pvac Add ConnectEvent::peerName 2019-03-17 19:30:46 -07:00
Michael Davidsaver 663146f2e7 update release notes 2019-03-11 14:34:58 -07:00
Michael Davidsaver 754a1d2b08 pvtools main() catch 2019-03-04 18:01:33 -08:00
Michael Davidsaver 936f8add27 pvcall fix array args 2019-02-21 08:52:55 -08:00
Michael Davidsaver 5b14bbef5a drop display.format 2019-02-19 19:58:47 -08:00
Michael Davidsaver 37cb765ed5 minor log message 2019-02-19 19:58:33 -08:00
Michael Davidsaver 22622e91a9 server: detect duplicate channelCreated() calls 2019-02-19 19:58:13 -08:00
Michael Davidsaver d52d8cf5d4 pva/server.h allow createChannel() to return NULL 2019-02-19 19:55:58 -08: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 31d98fc965 attempt to please MSVC
Seems not to elide some calls to
Configure::operator=()
2019-01-12 14:31:19 -08:00
Michael Davidsaver 13cac5f4cc remove asCheck
This interface will be removed.
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