Commit Graph

51 Commits (1f6584ffb37385b3f21d710d9bbf261449fd78e6)

Author SHA1 Message Date
Joseph Calderon 2d653628ce support partial rateless decode with re-NACK + enhance mock 2026-07-12 20:23:05 -07:00
Joseph Calderon c7d943aea8 move fec codec factory registry to NormSessionMgr 2026-07-12 20:22:50 -07:00
joseph calderon fe495011fa basic rateless codec support 2026-07-12 18:33:41 -07:00
Joe Calderon 75a3dd59ee
Some safety fixes (#101)
* Fix uninitialized memory read vulnerability in packet validation

* Fix buffer overflows in temporary file generation
2026-07-03 12:01:20 -04:00
bebopagogo 0c4b130c7b fixed NormCmdCCMsg item parsing and iteration per issue reported by CrunchyJohnHaven 2026-05-23 20:48:17 -04:00
Jeffery Weston 823e3e8c88 fix npc compilation error 2025-07-23 13:32:38 -04:00
bebopagogo 9500578e89 Merge branch 'master' of https://github.com/USNavalResearchLaboratory/norm
Incorporation of formatting tweaks with primary code.
2025-04-22 16:16:04 -04:00
bebopagogo 3802edadf1 minor formatting tweak 2025-04-22 16:15:58 -04:00
Jeff Weston 1c534c05f1
Remove debug lines
Removed debug lines added in bc6e81f to fix #94
2025-03-31 10:52:48 -04:00
PM 0c2e151a77
use data race safe gmtime variant as in NormSession::OnReportTimeout (#91)
Co-authored-by: Pat Mills <patrick.m.mills2@boeing.com>
2025-03-26 01:03:34 -04:00
bebopagogo 006f9d29aa Merge branch 'master' of https://github.com/USNavalResearchLaboratory/norm 2025-01-26 20:27:11 -05:00
bebopagogo b7b252fd55 fixes to npc (NormPrecoder) and updated its documentation. Include 'auto' block sizing' feature 2025-01-26 20:26:49 -05:00
bebopagogo 7a6c09ae17 fixes to npc (NormPrecoder) and updated its documentation. Include 'auto' block sizing' feature 2025-01-26 20:13:35 -05:00
bebopagogo bc6e81feda fix to limit rate increase to no more than double during slow start 2025-01-02 11:19:11 -05:00
bebopagogo 2ae69e6e96 fix to NormFile::Open() where 'flags' were not properly saved and affected NormFile::Rename() 2024-01-28 20:26:15 -05:00
bebopagogo 6188965887 fixed improper delete operator usage in normApp.cpp and minor tweaks 2024-01-24 13:43:38 -05:00
bebopagogo 17dc41ab72 added examples/chant.cpp for simple command-line NORM chat app 2023-05-31 19:30:36 -04:00
bebopagogo 9f65f5e20a pynorm improvement to keep cache sender enqueued objects in pynorm.instance._objects cache 2022-10-04 19:21:41 -04:00
bebopagogo e9658ab837 fixed type casting issue with NormSenderNode::backoff_factor 2022-09-11 14:29:58 -04:00
bebopagogo d00ebc22d2 fixed type casting issue with NormSenderNode::backoff_factor 2022-09-11 14:27:21 -04:00
bebopagogo b896f5408f update to NormSession::DeleteTxObject() to close file for NORM_OBJECT_FILE _befere_ issuing PURGE notification 2022-09-07 11:48:40 -04:00
bebopagogo a8c5688d40 updated NormFile::Rename() to always close/reopen files upon renaming for better performance due to way file handles are managed on Unix ... was already required for Windows 2022-08-21 00:18:29 -04:00
bebopagogo 5872195eaa refinement/improvement to inactive sender timeout/reactivation 2022-08-20 22:52:05 -04:00
Brian Adamson 001d50aa46 pynorm fixes 2022-08-20 22:36:29 -04:00
bebopagogo 972b1a3e0b fixes to pynorm for Python3 and normMsgr.py and normFileSend.py examples 2022-05-22 21:52:45 -04:00
bebopagogo e9e3c99b21 update to NORM_SYNC_ALL policy 2022-05-09 11:33:01 -04:00
bebopagogo 46a030891d NORM_SYNC_ALL policy improvement 2022-05-09 11:30:24 -04:00
Luca Boccassi 9c367b50bc
pkg-config, PIE, API breakages fixes (#23)
* Update protolib to pick up new fixes

* CMake: restore SONAME_VERSION to 1

* CMake: generate pkg-config file

* CMake: set -fvisibility=hidden and POSITION_INDEPENDENT_CODE

Need to build everything with fPIC, and also hide symbols by default,
since public ones are explicitly marked as such.

* Revert public API incompatible changes

NormSetId and NormCountCompletedObjects were part of the public API in
released versions, so they cannot be just removed without breaking API/ABI
compatibility.
NormSendCommandTo is a private symbol, but was marked for export by
mistake.

* Add BUILD_STATIC_LIBS option to allow building both static and shared objects

CMake does not support this out of the box, so it has to be implemented
manually. It results in the libnorm build being repeated twice, as there's
no object sharing.
2021-02-01 10:20:20 -05:00
Brian Adamson 0ff199fc3c normStreamer example feature additions, code cleanup 2020-06-14 11:21:19 -04:00
Brian Adamson ad31a1a32a normStreamer example tweak 2020-06-13 13:15:03 -04:00
bebopagogo 5519d06cee fix for non ECN_SUPPORT build 2020-06-06 12:50:11 -04:00
bebopagogo c738eea1a9 added option for GRTT probing aspect of NORM to use a distinct IP traffic class for its operation. The reason for this is where some Layer 2 protocols may implement some form of reliable, retransmission that could adversely impact the NORM GRTT round-trip measurement. A distinct traffic class for that signaling allows the possibility of mapping it to different underlying Layer 2 services (e.g. bypass any reliability mechanism for those specific NORM messages) 2020-06-06 12:41:58 -04:00
bebopagogo 61e9d8311a cleanup 2020-05-18 10:20:57 -04:00
bebopagogo f49de2c510 tweaks 2020-05-18 10:19:28 -04:00
mjvk 8d8c3f0da5
[WIP] Cmake (#8)
* Adds initial cmake

* Renames include according common convention

* Tries to include examples

* Changes to protokit

* Improves install step

* Removes /protokit

* Fixes some comments

* Adds a few feature tests

* Adds FLOCK includes

* Removes if in feature tests

* Fixes missing normApi.cpp

* Adds missing include

* Fixes bad rename
2020-05-18 10:19:04 -04:00
bebopagogo 88e600cedb added NormStreamGetVacancy() and some NormSocket improvement 2020-04-29 22:38:59 -04:00
bebopagogo f55d445755 fixed bug where stream watermark flushing was incorrect due to code in ASSERT() block 2020-03-01 14:53:41 -05:00
bebopagogo e9469280c1 extended NORM_SEND_ERROR notification and added info-only (0 size files, etc) object support 2020-03-01 12:21:58 -05:00
bebopagogo ff723c71ed changes to support Protolib ProtoPkt changes 2020-01-20 16:51:06 -05:00
bebopagogo 260109ea70 update to track Protolib ProtoPkt changes 2020-01-20 00:21:49 -05:00
bebopagogo d2e1391ef3 initial addition of normCast example 2019-12-27 11:34:11 -05:00
Brian Adamson 1c3283fd3b fix to wscript so all targets build. Made build of both static and dynamic NORM libraries default 2019-10-16 14:29:36 -04:00
Jeff Weston 120989e3d6 update to latest 2019-09-11 12:29:48 -04:00
Jeff Weston 7dc0cea1b0 v1.5.8 2019-09-11 12:24:09 -04:00
Jeff Weston a8ab40d749 v1.5.7 2019-09-11 12:21:00 -04:00
Jeff Weston da5e8f6692 v1.5r6 2019-09-11 12:12:00 -04:00
Jeff Weston 76edf0c18d v1.5r5 2019-09-11 12:11:22 -04:00
Jeff Weston 5be33c4e24 v1.5b4 2019-09-11 12:09:35 -04:00
Jeff Weston bf41edfbff v1.5b3 2019-09-11 12:08:58 -04:00
Jeff Weston 0194e2ba9a v1.5b2 2019-09-11 12:08:00 -04:00