summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [#3025] re-enable ProcessSpawnTest.isRunningSyncAndrei Pavel2024-02-222-24/+16
|
* [#3025] fix location detection in kea-adminAndrei Pavel2024-02-221-26/+31
|
* [#3025] add isFileAndrei Pavel2024-02-224-6/+25
|
* [#3025] add unit testsAndrei Pavel2024-02-227-12/+229
|
* [#3025] sync kea-admin in db connection and fix interaction with retryAndrei Pavel2024-02-222-51/+53
|
* [#3025] add ability to wait sync in ProcessSpawnAndrei Pavel2024-02-223-62/+299
|
* [#3025] add db init on startup to other managersAndrei Pavel2024-02-2212-185/+69
|
* [#3025] switch io service to DatabaseConnection'sAndrei Pavel2024-02-222-2/+2
|
* [#3025] minor changes to kea-adminAndrei Pavel2024-02-221-19/+9
| | | | | | | | | - Reword 'Database version' to 'Schema version'. - Remove a newline that was present only when running mysql operations and not for postgresql operations. It was more visible since now it appeared in the kea logs. - Remove some extraneous exits. They weren't in the way of anything, but weren't doing anything either.
* [#3025] add ability to inherit env in ProcessSpawnAndrei Pavel2024-02-226-34/+137
|
* [#3025] automatic init of postgresql schemaAndrei Pavel2024-02-2210-29/+172
|
* [#3025] convert db access params to kea-adminAndrei Pavel2024-02-227-5/+31
|
* [#3025] automatic init of mysql schemaAndrei Pavel2024-02-226-25/+158
|
* [#3185] fixed access invalid iteratorRazvan Becheriu2024-02-211-3/+4
|
* [#2022] Fixed commentFrancis Dupont2024-02-211-1/+1
|
* [#2022] Checkpoint: began reorgFrancis Dupont2024-02-215-83/+126
|
* [#3231] Fixed some additional comments.Thomas Markwalder2024-02-202-4/+1
| | | | | | | Minor nits in: src/bin/dhcp4/tests/dhcp4_test_utils.h src/bin/dhcp6/tests/dhcp6_test_utils.h
* [#3231] Refine conditional log in pkt_filter_bpf.ccThomas Markwalder2024-02-201-1/+1
| | | | modified: pkt_filter_bpf.cc
* [#3231] Fixed build issue under MacOS SonomaThomas Markwalder2024-02-201-0/+11
| | | | | | | | | | | Added conditional compilation to address MacOS adding the macro BPF_TIMEVAL to define the structure used in the bpf header as either "struct timeval" or "struct timeval32" (64 bit vs 32 bit). CMSG uses timeval, BPF uses timeval32. src/lib/dhcp/pkt_filter_bpf.cc PktFilterBPF::receive()
* [#3231] Addressed review commentsThomas Markwalder2024-02-206-5/+6
| | | | Minor cleanups, added a ChangeLog entry
* [#3231] Log SOCKET RECEIVED TIME supportThomas Markwalder2024-02-204-1/+42
| | | | | | | | | | | | src/hooks/dhcp/perfmon/perfmon_callouts.cc dhcp4_srv_configured() dhcp6_srv_configured() - added to log socket received time support src/hooks/dhcp/perfmon/perfmon_messages.mes PERFMON_DHCP4_SOCKET_RECEIVED_TIME_SUPPORT PERFMON_DHCP6_SOCKET_RECEIVED_TIME_SUPPORT - new messages
* [#3231] Add log of event stack to Perfmon calloutsThomas Markwalder2024-02-204-0/+29
| | | | | | | | | | | | src/hooks/dhcp/perfmon/perfmon_callouts.cc pkt4_send() pkt6_send() Added dump off packet event stack as a DEBUG log message src/hooks/dhcp/perfmon/perfmon_messages.mes New messages: PERFMON_DHCP4_PKT_EVENTS PERFMON_DHCP6_PKT_EVENTS
* [#3231] Core task 3 for perfmonThomas Markwalder2024-02-2012-22/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add packet events and subnet callout argumments to kea-dhcp4 and kea-dhcp6 src/bin/dhcp4/dhcp4_srv.* Dhcpv4Srv::runOne() - add mt_queued packet event to query in MT mode Dhcpv4Srv::processPacket() - add "process_started" event to query upon entry Dhcpv4Srv::processDhcp4Query() - pass selected subnet (if one) into processPacketPktSend() Dhcpv4Srv::sendResponseNoThrow() - add subnet parameter, pass it into processPacketPktSend9() Dhcpv4Srv::processPacketPktSend() - add subnet parameter, add "process_completed" event to query, add subnet to callout arguments src/bin/dhcp4/tests/dhcp4_test_utils.cc src/bin/dhcp4/tests/dhcp4_test_utils.h src/bin/dhcp4/tests/hooks_unittest.cc Updates to verify packet events content add subnet4 callout argument src/bin/dhcp6/dhcp6_srv.cc Dhcpv6Srv::runOne() - add mt_queued packet event to query in MT mode Dhcpv6Srv::processPacket() - add "process_started" event to query upon entry Dhcpv6Srv::processDhcp6Query() - pass selected subnet (if one) into processPacketPktSend() Dhcpv6Srv::sendResponseNoThrow() - add subnet parameter, pass it into processPacketPktSend9() Dhcpv6Srv::processPacketPktSend() - add subnet parameter, add "process_completed" event to query, add subnet to callout arguments src/bin/dhcp6/tests/dhcp6_test_utils.cc src/bin/dhcp6/tests/dhcp6_test_utils.h src/bin/dhcp6/tests/hooks_unittest.cc Updates to verify packet events content add subnet4 callout argument src/bin/dhcp4/dhcp4_hooks.dox Updated pkt4_send arguments src/bin/dhcp6/dhcp6_hooks.dox Updated pkt6_send arguments
* [#3207] Format the codeSlawek Figiel2024-02-201-10/+7
|
* [#3207] Change the member namesSlawek Figiel2024-02-201-5/+5
|
* [#3207] Add some commentsSlawek Figiel2024-02-201-0/+6
|
* [#3207] Change the letter caseSlawek Figiel2024-02-201-3/+3
|
* [#3207] Trim whitespaceSlawek Figiel2024-02-201-3/+3
|
* [#3207] Replace boost radom with stdSlawek Figiel2024-02-201-4/+3
|
* [#3207] Remove old implementationSlawek Figiel2024-02-205-126/+3
|
* [#3207] Add a wrapper for boost rand generatorSlawek Figiel2024-02-202-7/+38
|
* [#3207] Remove helper classSlawek Figiel2024-02-202-29/+0
|
* [#3207] Remove helper classesSlawek Figiel2024-02-201-14/+0
|
* [#3207] Remove weighted random generatorSlawek Figiel2024-02-202-334/+0
|
* [#2022] Checkpoint: last version of parking codeFrancis Dupont2024-02-192-10/+50
|
* [#3242] Fixed copyright dateThomas Markwalder2024-02-161-1/+1
|
* [#3242] Addressed comments, added ChangeLog entryThomas Markwalder2024-02-169-10/+10
| | | | Minor cosmetic fixes.
* [#3209] Fixed .gitattributes fileThomas Markwalder2024-02-161-2/+2
| | | | modified: src/hooks/dhcp/perfmon/.gitattributes
* [#3242] Added bare-bones perfmon hook libraryThomas Markwalder2024-02-1619-1/+562
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New files: arm/hooks-perfmon.rst src/hooks/dhcp/perfmon/.gitattributes src/hooks/dhcp/perfmon/.gitignore src/hooks/dhcp/perfmon/Makefile.am src/hooks/dhcp/perfmon/libloadtests/.gitignore src/hooks/dhcp/perfmon/libloadtests/Makefile.am src/hooks/dhcp/perfmon/libloadtests/load_unload_unittests.cc src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc src/hooks/dhcp/perfmon/perfmon.dox src/hooks/dhcp/perfmon/perfmon_callouts.cc src/hooks/dhcp/perfmon/perfmon_log.cc src/hooks/dhcp/perfmon/perfmon_log.h src/hooks/dhcp/perfmon/perfmon_messages.cc src/hooks/dhcp/perfmon/perfmon_messages.h src/hooks/dhcp/perfmon/perfmon_messages.mes src/hooks/dhcp/perfmon/tests/.gitignore src/hooks/dhcp/perfmon/tests/Makefile.am src/hooks/dhcp/perfmon/tests/run_unittests.cc src/hooks/dhcp/perfmon/version.cc Modified: configure.ac arm/hooks-perfmon.rst arm/hooks.rst arm/logging.rst arm/rst_arm_sources.mk conf.py src/hooks/dhcp/Makefile.am
* [#3230] addressed reviewRazvan Becheriu2024-02-1610-17/+17
|
* [#3230] Added UT to BPF filterThomas Markwalder2024-02-161-0/+8
| | | | modified: tests/pkt_filter_bpf_unittest.cc
* [#3230] Added UTs for isSocketReceiveTimeSupportedThomas Markwalder2024-02-163-0/+36
| | | | | | | src/lib/dhcp/tests/pkt_filter_inet6_unittest.cc src/lib/dhcp/tests/pkt_filter_inet_unittest.cc src/lib/dhcp/tests/pkt_filter_lpf_unittest.cc Added test for isSocketReceivedTimeSupported)
* [#3230] Move isSocketReceivedSuppported()Thomas Markwalder2024-02-166-21/+30
| | | | | Move isSocketReceivedSuppported() impls out of headers and into cc files so we're sure SO_TIMESTAMP is known.
* [#3230] Addressed review commentsThomas Markwalder2024-02-1621-88/+163
| | | | | | | | | | | | | | | | | | | | | src/lib/dhcp/iface_mgr.* IfaceMgr::isSocketReceviedTimeSupported() - new function src/lib/dhcp/pkt_filter.* PktFilter::isSocketReceviedTimeSupported() - new pure virtual function src/lib/dhcp/pkt_filter6.cc src/lib/dhcp/pkt_filter_bpf.h src/lib/dhcp/pkt_filter_inet.h src/lib/dhcp/pkt_filter_inet6.h src/lib/dhcp/pkt_filter_lpf.h Added implementation of isSocketReceivedTimeSupported() src/lib/dhcp/pkt_filter_lpf.cc Removed WITH_CMSG and refactored receive() to be a single function with conditional codde based on SO_TIMESTAMP Updated UTs accordingly
* [#3230] addressed reviewRazvan Becheriu2024-02-157-15/+14
|
* [#3230] Initial commitThomas Markwalder2024-02-1516-54/+662
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds dhcp::PktEvent, modifies packet filters and tests src/lib/dhcp/pkt.* Add PktEvent class, add stack and methods to Pkt src/lib/dhcp/pkt_filter_bpf.cc PktFilterBPF::receive() - fetch timestamp from bpfhdr, add SOCKET_RECEIVED and BUFFER_READ events PktFilterBPF::send() - add RESPONSE_SENT event src/lib/dhcp/pkt_filter_inet.cc PktFilterInet::openSocket() - enable SO_TIMESTAMP socket option PktFilterInet::receive() - fetch SO_TIMESTAMP via CMSG, add SOCKET_RECEIVED and BUFFER_READ events PktFilterInet::send() - add RESPONSE_SENT event src/lib/dhcp/pkt_filter_inet6.cc PktFilterInet6::openSocket() - enable SO_TIMESTAMP socket option PktFilterInet6::receive() - fetch SO_TIMESTAMP via CMSG, add SOCKET_RECEIVED and BUFFER_READ events PktFilterInet::send() - add RESPONSE_SENT event src/lib/dhcp/pkt_filter_lpf.cc PktFilterLPF::openSocket() - enable SO_TIMESTAMP socket option PktFilterLPF::receive() - added conditonal compilation version based on WITH_CMSG macro that fetches SO_TIMESTAMP and add SOCKET_RECEIVED and BUFFER_READ events PktFilterLPF::send() - add RESPONSE_SENT event src/lib/dhcp/tests/pkt4_unittest.cc TEST_F(Pkt4Test, PktEvents) - new test src/lib/dhcp/tests/pkt6_unittest.cc TEST_F(Pkt6Test, PktEvents) - new test src/lib/dhcp/tests/pkt_filter6_test_utils.cc src/lib/dhcp/tests/pkt_filter6_test_utils.h src/lib/dhcp/tests/pkt_filter_inet6_unittest.cc src/lib/dhcp/tests/pkt_filter_inet_unittest.cc src/lib/dhcp/tests/pkt_filter_test_utils.cc src/lib/dhcp/tests/pkt_filter_test_utils.h Updated tests to check PktEvent stack contents src/lib/dhcp/tests/pkt_filter_bpf_unittest.cc src/lib/dhcp/tests/pkt_filter_lpf_unittest.cc Updated tests to check PktEvent stack contents, Changed DISABLED_ tests to use SKIP_IF(notRoot)
* [#3209] Further review commentsThomas Markwalder2024-02-071-4/+4
| | | | modified: encode/encode.cc
* [#3209] Addressed review commentsThomas Markwalder2024-02-074-58/+80
| | | | Minor clean up, added commentary
* [#3209] addressed reviewRazvan Becheriu2024-02-073-44/+44
|
* [#3209] Updated copyrightsThomas Markwalder2024-02-0739-37/+62
|