aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-service-namestore.c
Commit message (Collapse)AuthorAge
* BUILD: Move namestore to serviceMartin Schanzenbach2023-10-19
|
* NEWS: Refactoring components under src/ into lib/, plugin/, cli/ and service/Martin Schanzenbach2023-10-18
| | | | | This also includes a necessary API refactoring of crypto from IDENTITY to UTIL.
* BUILD: Silence int/enum mismatch compiler warnings and curl deprecated definesMartin Schanzenbach2023-09-23
|
* NAMESTORE: fix overread in handle_record_store.ulfvonbelow2023-02-06
| | | | | | | | | | | | | | | | A RecordStoreMessage looks like this: | header | key | recordset | A StoreActivity's rs field is supposed to point to the record set. handle_record_store tries to make a copy of this record set, but it does it by allocating enough memory for both key and recordset, then copying sizeof(key) + sizeof(recordset) bytes into it *starting from recordset*. This causes memcpy to read past the end of recordset by sizeof(key) bytes. There's still enough room in the allocated region for it, though, so it's only an overread. Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
* UTIL: Allow only inlcusion of util glib-style.Martin Schanzenbach2022-12-04
|
* BUILD: Attempt to disentable platform.h, gnunet_common.h and ↵Martin Schanzenbach2022-12-04
| | | | gnunet_private_config.h insanity
* IPC: Convert all message payload lengths to uint16_t types.Martin Schanzenbach2022-11-06
|
* -fix coverityMartin Schanzenbach2022-11-01
|
* IDENTITYMartin Schanzenbach2022-10-29
| | | | | | | This commit is a major rework of the unclean GNUNET_IDENTITY_*Key structures and its use in serialized objects (e.g. RPC messages). The structures are now no longer to be used directly but instead through their serialization helper functions whenever needed.
* - address coverity findings !coverityMartin Schanzenbach2022-10-25
|
* NAMESTORE: Allow to purge/recover orphans using CLI. Do not handle orphans ↵Martin Schanzenbach2022-10-24
| | | | in service
* -fix namestore JSON; fix zone monitorMartin Schanzenbach2022-10-24
|
* NAMESTORE: Introduce GANA-managed error codesMartin Schanzenbach2022-10-23
|
* - fix sqlite free issue; allow to autotedect or provide corectly in zonefileMartin Schanzenbach2022-10-20
|
* -fix tests; add zonefile testMartin Schanzenbach2022-10-20
|
* -fix deletion of tombstone recordsMartin Schanzenbach2022-10-19
|
* NAMESTORE: Add records_lookup2 API for filtering and update REST API with ↵Martin Schanzenbach2022-10-19
| | | | filter functionality
* NAMESTORE: Do not return orphaned zones to clients. Issue #7201Martin Schanzenbach2022-10-19
|
* -fix conflictMartin Schanzenbach2022-10-18
|\
| * -DOC: Documentation cleanup pass through NAMESTORE subsystemWillow Liquorice2022-10-03
| |
* | -cleanup various warningsMartin Schanzenbach2022-10-11
| |
* | NAMESTORE: Bulk insert API now properly handles message length restrictionMartin Schanzenbach2022-10-06
| |
* | NAMESTORE: Move Namecache block refresh into zonemonitorMartin Schanzenbach2022-10-04
| |
* | NAMESTORE: Add performance tests for bulk import/txMartin Schanzenbach2022-10-03
| |
* | NAMESTORE: Make bulk and transactional API consistent with monitoringMartin Schanzenbach2022-10-03
| |
* | NAMESTORE: Roll back on client disconnectMartin Schanzenbach2022-10-03
| |
* | NAMESTORE: Bulk store API and fix for delayed store activitiesMartin Schanzenbach2022-10-03
|/ | | | | | | | | New API: GNUNET_NAMESTORE_records_store2 which allows the caller to pass an array of records in order to facilitate bulk import of zone data. Further, the transactional API requires that monitors and namecache updates are delayed until transactions are actually commited.
* - coverity fixesMartin Schanzenbach2022-10-01
|
* NAMESTORE: Add DB setup utility with SQlite support; PQ brokenMartin Schanzenbach2022-09-30
|
* NAMESTORE: Allow service-side record set filtering. Fixes #7193Martin Schanzenbach2022-09-28
| | | | | | | This commit enables zone iteration APIs which allow you to set a record set filter to determine which records should be returned or not. In particular filtering of private records and maintenance records (TOMBSTONE) for zonemaster.
* BUILD: Silence some -Wall warningsMartin Schanzenbach2022-09-26
|
* NAMESTORE: Fix error handling for lookupsMartin Schanzenbach2022-09-24
| | | | | The error was wrongly interpreted as GNUNET_NO is not an error in this particular case.
* NAMESTORE: Towards proper transactional locksMartin Schanzenbach2022-09-23
|
* NAMESTORE: Add select ... for update / edit records APIsMartin Schanzenbach2022-09-23
|
* NAMESTORE: Add begin, commit and rollback API messagesMartin Schanzenbach2022-09-23
| | | | | Namestore service can now handle begin commit and rollback. A test for rollback exists and works for sqlite.
* NAMESTORE: Use a per client database connectionMartin Schanzenbach2022-09-23
| | | | | | Each connecting namestore client will now get a new database connection through any of the plugins. This will allow us to properly use locking in databases where available.
* -unusedMartin Schanzenbach2022-04-02
|
* NAMESTORE: Towards new transaction-based APIMartin Schanzenbach2022-03-21
|
* -cov fixesMartin Schanzenbach2022-03-16
|
* -better lock handling/refactoring !coverityMartin Schanzenbach2022-03-16
|
* -actually lock label of a zone, not all labelsMartin Schanzenbach2022-03-16
|
* NAMESTORE: Add record set blocking APIMartin Schanzenbach2022-03-16
| | | | | | | New API that allows the caller to reserve the mofification of a record set under a label. The record set cannot be modified by other clients until released.
* NAMESTORE: Prevent storing records under invalid labelsMartin Schanzenbach2022-03-15
|
* -fixMartin Schanzenbach2022-02-25
|
* -fix namestore testsMartin Schanzenbach2022-02-25
|
* GNS: Allow lowercase and uppercaseMartin Schanzenbach2022-02-15
| | | | | According to LSD0001, atm lowercase and uppercase names are allowed and different.
* GNS/NAMESTORE: Fix GNS2DNS delegationsMartin Schanzenbach2022-02-14
|
* -fix namestore logicMartin Schanzenbach2022-02-08
|
* GNS: LSD0001 improvementsMartin Schanzenbach2022-02-07
| | | | | | NAMESTORE: Better error handling. Fixed private record feature. GNSRECORD: Record inconsistency check for delegation and redirection records
* -simlify and correct tombstone logicMartin Schanzenbach2022-02-06
|