1842 Commits

Author SHA1 Message Date
936f5d35d8 Update release notes for 7.0.0 7.0.0 2019-07-24 16:08:00 -07:00
a22f866211 mask warnings during shutdown()
On some target (OSX), and interrupted recv() will
return with a a spurious error (EBADF).
2019-07-24 16:08:00 -07:00
badf14c4fa cleanup and quiet warnings 2019-07-15 14:06:06 -07:00
b06aa1831f minor
disambiguate error messages
2019-07-15 14:03:50 -07:00
1e9e4bd2a8 BlockingTCPAcceptor drop unused ctor 2019-07-15 14:03:50 -07:00
34009d2a3a update pvasr 2019-07-15 13:54:36 -07:00
e0dc94a91d always epicsThreadStackBig
on RTEMS at least, c++ code needs the largest standard
stack frame size.
2019-07-15 13:54:36 -07:00
3a8a24deb3 vxworks fix 2019-06-26 17:02:02 -07:00
fd95f90acc hexDump, now with ascii!
... again
2019-06-26 16:48:31 -07:00
f44dcbfc77 WIN32 fix 2019-06-26 16:48:31 -07:00
9eb5843def Merge pull request #144 from mdavidsaver/idletimeout
TCP Idle Timeout
2019-06-26 15:57:37 -07:00
05bf0fc453 CAPlugin handle peer NULL data 2019-06-13 10:52:24 -07:00
5abfc10a82 really echo this time... 2019-06-12 13:25:35 -07:00
a2c106378a avoid deadlock involving fair_queue<T>::clear()
Avoid destroying items while the queue lock is held.
2019-05-29 11:09:24 -07:00
6dd1346ace further dead code 2019-05-21 08:54:14 -07:00
9e05b29f35 Don't clear client _outgoingIR on beacon anomaly
No reason to do this, especially w/o locking.  Outgoing used by
a TCP send thread, beacon anomaly handling on UDP receive thread.

Probably means that anomaly handling never happens...
2019-05-21 08:54:14 -07:00
a6e7d7f5fc Remove dead code
aliveNotification() and unresponsiveTransport() never called.
Remove these, and code only referenced through these methods.
2019-05-21 08:54:14 -07:00
c9bd214f7c client proto v2 2019-05-21 08:54:14 -07:00
2da60b083e Enable client sending of CMD_ECHO 2019-05-21 08:54:14 -07:00
8d18b4ca3d PVA server protocol v2
Now with idle timeout!
2019-05-21 08:54:14 -07:00
111a3dde86 RX timeout
Enable idle timeout if both peers have version>=2.
2019-05-21 08:54:14 -07:00
79e73ab966 AbstractCodec cleanup 2019-05-21 08:54:14 -07:00
a1af3c2c8e echo content 2019-05-21 08:54:14 -07:00
0f26f39b5b more de-virt getRevision() 2019-05-21 08:51:01 -07:00
64453e1f1a split client/server protocol version 2019-05-21 08:51:01 -07:00
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
dfeb9fd5a5 more Troubleshoot "no more data in UDP packet" 2019-05-21 08:51:00 -07:00
ecee708d3a redo hexDump
ludicrously inefficient (cf. toHex() ), and inflexible.
2019-05-21 08:51:00 -07:00
732fd1f771 Troubleshoot "no more data in UDP packet" 2019-05-21 08:45:50 -07:00
e66893bb38 no longer relevant 2019-05-20 17:55:20 -07:00
75befddf46 minor 2019-05-20 17:48:10 -07:00
3a2a3ac148 remove unused getSocketReceiveBufferSize() 2019-05-20 17:48:10 -07:00
d593462613 yet more osdGetRoles 2019-05-20 17:48:10 -07:00
0084b6e60a de-virt Transport::getRevision()
Makes clear that this is/was only for TCP,
and eliminate redundant storage.  Also apply
locking to this storage.

Use header version directly in search handler.
Correct as only UDP search is actually used atm.
2019-05-20 17:48:10 -07:00
be1bbe4aa8 const-ness 2019-05-20 17:48:10 -07:00
32ba2f32d0 avoid deprecated ByteBuffer::getArray()
use identical, but not overloaded, getBuffer()
2019-05-19 14:09:38 -07:00
bd7ae12143 simpler win32 linking fix 2019-05-16 18:11:31 -07:00
f9ac164ee7 Revert "try to fix downstream win32 linking"
This reverts commit 4f0c4c46a3.
2019-05-16 18:09:47 -07:00
4f0c4c46a3 try to fix downstream win32 linking 2019-05-16 14:03:45 -07:00
b54cc1f62b remove deprecated namedLockPattern.h 2019-05-16 10:21:52 -07:00
e978a29e5e remove deprecated createFileLogger 2019-05-16 10:21:52 -07:00
baf8d47e1a try to fix windows build failure 2019-05-12 18:18:25 -07:00
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
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
5b333922d5 6.1.2 6.1.2 2019-04-17 14:12:16 -07:00
eec3efd36a doxygen 2019-04-17 13:45:53 -07:00
8415a125d9 minor 2019-04-17 09:38:37 -07:00
3fa1e83b55 avoid redundant sockaddr -> string 2019-04-17 09:35:43 -07:00
a697008f13 demagic 2019-04-17 09:35:43 -07:00
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