Commit Graph

122 Commits

Author SHA1 Message Date
Michael Davidsaver
50de6cc58e remove 3.14 compatibility 2019-08-20 15:52:56 -07:00
Michael Davidsaver
64453e1f1a split client/server protocol version 2019-05-21 08:51:01 -07:00
Michael Davidsaver
1ea70a302b ignore protocol minor version 0
The change from 0 -> 1 included incompatible changes
to CMD_BEACON and several others.

Ignore any UDP messages (beacon or search),
and disconnect any TCP peers, with version==0.
2019-05-21 08:51:01 -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
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
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
b462d82b18 pvinfo show peerName 2019-03-17 19:30:49 -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
bfff9275bd always need to link with netapi32 now 2019-01-12 17:07:24 -08:00
Michael Davidsaver
728822b0e9 drop eget 2018-10-30 17:20:15 -07:00
Michael Davidsaver
a4e78916b7 pvtools: update options message 2018-10-30 17:20:15 -07:00
Michael Davidsaver
c2f386446a fix pvinfo 2018-10-30 17:20:15 -07:00
Michael Davidsaver
6dea9d90cc pvutils rework 2018-10-30 16:25:59 -07:00
Michael Davidsaver
9de8676a6f pvlist debugging 2018-10-18 15:18:00 -07:00
Evan J. Smith
30f07f2fb6 Changing default request string to 'field()' 2018-10-02 20:29:02 -07:00
Michael Davidsaver
281447c909 pvtools: force flush cout
Apparently windows CRT doesn't have a timed flush.
2018-09-17 10:37:36 -07:00
Michael Davidsaver
2d5ba15095 pvlist replace getBroadcastAddresses() with discoverInterfaces() 2018-07-02 14:39:36 -07:00
Michael Davidsaver
f29ef3121e pvtools: compose pvutil_ostream
eliminate at least some of the odd-ness which is causing
build failures on hosted mingw.
2018-06-29 16:22:56 -07:00
Michael Davidsaver
7a523dd948 drop unused NOMINMAX 2018-05-18 15:20:26 -07:00
Michael Davidsaver
6ccca1ce58 const-ify string constants
yes really...
2018-05-18 10:12:34 -07:00
Michael Davidsaver
1adea89e77 pvtools: combine separator and fieldSeparator
both always have the same value anyway...
2018-04-24 08:33:25 -07:00
Michael Davidsaver
9c25057d80 pvtools: drop unnecessary accessors for global flags
These don't provide any encapsulation or validation...
2018-04-24 08:29:45 -07:00
Andrew C. Starritt
a2b60771c2 pvget -m show time/alarm
MD: cleanups
2018-04-24 07:36:06 -07:00
Michael Davidsaver
af2adf9248 pvlist remove comma
some shells will include the trailing ',' in selection
when double clicking.  Users find this annoying.
2018-03-08 11:43:36 -05:00
Michael Davidsaver
74fbd22d40 pvput: fix enum_t
Need to get value.choices
2018-02-27 14:29:50 -08:00
Michael Davidsaver
d605eaca11 pvput avoid unnecessary iteration 2018-02-27 13:27:38 -08:00
Michael Davidsaver
d41d15d59e drop some dead code 2018-02-01 19:51:32 -08:00
Michael Davidsaver
b05ec689d0 pvget/pvinfo check for NULL channel 2018-01-31 11:51:13 -08:00
Michael Davidsaver
903d117485 pvAccessLog() add EPICS_PRINTF_STYLE()
and fixup incorrect specifiers
2017-12-28 10:49:54 -06:00
Michael Davidsaver
4e743f2d95 eget remove broken "-m" monitor mode 2017-11-28 17:54:25 -06:00
Michael Davidsaver
0161799c93 must zero osiSockAddr prior to use!
RTEMS depends on this or eg. bind()
will fail because comparison with
list of interface addresses is done
with memcmp()!
2017-11-28 17:54:25 -06:00
Michael Davidsaver
955c1896a1 pvget: always print Timeout 2017-11-27 20:10:33 -06:00
Michael Davidsaver
2a1ba9418e pvtools: make -V show version, -v show full structure 2017-10-06 14:36:27 +02:00
Michael Davidsaver
60c97c3e88 drop MBLIB 2017-10-05 11:10:27 +02:00
Michael Davidsaver
221b880a4f typo 2017-10-05 09:36:53 +02:00
Michael Davidsaver
cb9a154934 pvput: missing NULL check 2017-10-05 09:04:07 +02:00
Michael Davidsaver
41dd55e00f pvput: missing error case 2017-10-04 14:29:10 +02:00
Michael Davidsaver
f68fa741f0 pvtools oops 2017-09-28 16:47:43 -05:00
Michael Davidsaver
7bc7e03de7 pvput compat 2017-09-12 12:02:26 -05:00
Michael Davidsaver
f192317320 pvput minor 2017-09-08 15:29:28 -05:00
Michael Davidsaver
ecbb2194a2 more pvput: support "legacy" array mode (w/ size) 2017-09-08 12:04:52 -05:00
Michael Davidsaver
2d0ce8df36 pvput 3.14 compat 2017-09-07 19:00:42 -05:00
Michael Davidsaver
71c3ec220b pvput bitset tracking 2017-09-07 16:07:20 -05:00
Michael Davidsaver
94737721e3 pvput use pvac 2017-09-06 20:15:21 -05:00
Michael Davidsaver
27ec187bd4 inetAddressUtil no more new vector
no more allocating vector.
2017-09-02 09:55:15 -05:00
Michael Davidsaver
6c53f54485 pvget reftrack 2017-08-30 11:17:03 -05:00
Michael Davidsaver
6ace47a55a adapt to PVStructure const propagation 2017-08-08 16:52:11 +02:00
Michael Davidsaver
d3b482e87f another ambiguity 2017-07-18 11:03:39 +02:00