James Coglan
ce9b6819d6
resolved: tests for dns_packet_dup()
2024-07-22 10:48:52 +01:00
James Coglan
d6f1f962fe
resolved: tests for dns_packet_patch_max_udp_size()
2024-07-22 10:47:59 +01:00
James Coglan
b81b8faa43
resolved: tests for dns_packet_append_answer(); LOC records
2024-07-22 10:47:25 +01:00
James Coglan
346b0d3b18
resolved: tests for dns_packet_append_answer(); TXT records
2024-07-22 10:46:40 +01:00
James Coglan
053ec2c5a2
resolved: tests for dns_packet_append_answer(); NAPTR records
2024-07-22 10:45:34 +01:00
James Coglan
3c7ede7b88
resolved: tests for dns_packet_append_answer(); SVCB and HTTPS records
2024-07-22 10:44:02 +01:00
James Coglan
6ff5ca8e09
resolved: tests for dns_packet_append_answer(); HINFO records
2024-07-22 10:37:44 +01:00
James Coglan
945a75c88c
resolved: tests for dns_packet_append_answer(); RRSIG records
2024-07-22 10:36:56 +01:00
James Coglan
1f66bd238f
resolved: tests for dns_packet_append_answer(); SRV records
2024-07-22 10:35:01 +01:00
James Coglan
bcd218151f
resolved: tests for dns_packet_append_answer(); NS, CNAME, PTR and MX records
2024-07-22 10:34:11 +01:00
James Coglan
1516ebfc02
resolved: tests for dns_packet_append_answer(); single A record
2024-07-22 10:31:11 +01:00
James Coglan
2927f43d2b
resolved: tests for dns_packet_truncate_opt()
2024-07-22 10:30:31 +01:00
James Coglan
b6899784b5
resolved: tests for dns_packet_append_opt()
2024-07-22 10:29:51 +01:00
James Coglan
1ac8f468b6
resolved: tests for dns_packet_append_key() domain name compression
2024-07-22 10:29:13 +01:00
James Coglan
fc838bd42a
resolved: tests for basic usage of dns_packet_append_key()
2024-07-22 10:27:58 +01:00
James Coglan
6bfbacc9b4
resolved: tests for dns_packet_set_flags()
2024-07-22 10:27:00 +01:00
James Coglan
ca93c4fe75
resolved: tests for DNS parameter formatters
2024-07-22 10:21:05 +01:00
James Coglan
6e85e24376
resolved: tests for dns_packet_is_reply_for()
2024-07-22 10:20:58 +01:00
James Coglan
e7e2f01d7b
resolved: tests for dns_packet_validate_{query,reply}()
2024-07-22 10:18:59 +01:00
James Coglan
59e987a0b7
resolved: tests for dns_packet_has_nsid_request()
2024-07-22 10:17:36 +01:00
James Coglan
d6c13c6817
resolved: tests for dns_packet_ede_rcode()
2024-07-22 10:16:59 +01:00
James Coglan
9728540e61
resolved: tests for dns_ede_rcode_is_dnssec()
2024-07-22 10:15:22 +01:00
James Coglan
eedf263bd0
resolved: tests for dns_packet_equal()
2024-07-22 10:15:15 +01:00
James Coglan
e067858bb1
resolved: tests for dns_packet_extract(); parsing LOC records
2024-07-22 10:14:09 +01:00
James Coglan
2dd00dba25
resolved: tests for dns_packet_extract(); parsing TXT records
2024-07-22 10:13:03 +01:00
James Coglan
6cf9767e1c
resolved: tests for dns_packet_extract(); parsing OPT records
...
These tests identify a couple of problems with OPT pseudo-RR parsing.
First, any TTL value with the high bit set is replaced with zero before
checking the record type. For most types this is correct, since TTLs
have the range of signed int32. But for OPT records where the TTL is
repurposed to hold the extended RCODE, EDNS version and flags, it means
that the high bit cannot be used in extended RCODEs. Any RCODE with the
high bit set will be read as zero.
Second, the DNS_PACKET_RCODE() function bit-shifts the extended RCODE by
24 places instead of 20, so that it ends up forming the lower 8 bits of
a 12-bit RCODE, instead of the upper 8 bits as intended.
We intend to fix these issues in other pull requests.
2024-07-22 10:11:51 +01:00
James Coglan
99fe3607ca
resolved: tests for dns_packet_extract(); parsing NAPTR records
2024-07-22 10:09:23 +01:00
James Coglan
b0a0743b71
resolved: tests for dns_packet_extract(); parsing HINFO records
2024-07-22 10:08:35 +01:00
James Coglan
5e663903f3
resolved: tests for dns_packet_extract(); parsing SVCB and HTTPS records
2024-07-22 10:07:03 +01:00
James Coglan
c0ae07ec2b
resolved: tests for dns_packet_extract(); parsing RRSIG records
2024-07-22 10:03:32 +01:00
James Coglan
02ea4cb919
resolved: tests for dns_packet_extract(); parsing SRV records
2024-07-22 10:02:46 +01:00
James Coglan
887bc36231
resolved: tests for dns_packet_extract(); handling ANY class/type in answers
2024-07-22 10:01:35 +01:00
James Coglan
3d0df33fc2
resolved: tests for dns_packet_extract(); parsing SOA records
2024-07-22 10:01:02 +01:00
James Coglan
8a5e122d95
resolved: tests for dns_packet_extract(); parsing NS records
2024-07-22 09:59:20 +01:00
James Coglan
0afc219da8
resolved: tests for dns_packet_extract(); parsing A records
2024-07-22 09:57:39 +01:00
James Coglan
326ba6a5b0
resolved: tests for dns_packet_extract(); check handling of self-referential compression pointers
2024-07-22 09:53:17 +01:00
James Coglan
f97d7a6969
resolved: tests for dns_packet_extract(); checking for malformed queries
2024-07-22 09:52:16 +01:00
James Coglan
48b0b8f0cd
resolved: tests for dns_packet_extract(); A and CNAME answers with domain compression
2024-07-22 09:49:01 +01:00
James Coglan
e50e5cffde
resolved: tests for dns_packet_extract(); parsing of queries
2024-07-22 09:47:47 +01:00
James Coglan
b8112c9d68
resolved: tests for parsing DNS packet headers
2024-07-22 09:46:27 +01:00
Lennart Poettering
9545512f3e
update TODO
2024-07-03 10:55:18 +02:00
Daan De Meyer
6bd14bf4b3
mkosi: update fedora commit reference
...
* f9fe17dbde Use vmlinux.h from kernel-devel
* 9cbad936a6 Pull in openssl-devel-engine
* 8ae009f929 Only add Requires on python3-zstd on Fedora
* 750e910c7c Drop BuildRequires on python3-zstd
2024-07-03 10:39:58 +02:00
Daan De Meyer
88e9230643
mkosi: Don't touch the packaging checkout if work is being done
...
If work is being done in a separate branch, don't touch the packaging
checkout.
2024-07-03 01:17:35 +02:00
Daan De Meyer
48d6dad100
meson: Define __TARGET_ARCH macros required by bpf
...
These are required by the bpf_tracing.h header in libbpf, see
https://github.com/libbpf/libbpf/blob/master/src/bpf_tracing.h .
bpf_tracing.h does have a few fallbacks in case __TARGET_ARCH_XXX
is not defined but recommends using the __TARGET_ARCH macros instead
so let's do that.
2024-07-03 01:16:35 +02:00
Luca Boccassi
e6b2508275
coredump: correctly take tmpfs size into account for compression
...
We calculate the amount of uncompressed data we can write by taking the limits
into account and halving it to ensure there's room for switching to compression
on the fly when storing cores on a tmpfs (eg: due read-only rootfs).
But the logic is flawed, as taking into account the size of the tmpfs storage
was applied after the halving, so in practice when an uncompressed core file
was larger than the tmpfs, we fill it and then fail.
Rearrange the logic so that the halving is done after taking into account
the tmpfs size.
2024-07-03 01:15:03 +02:00
Mike Yuan
4b7249111a
docs/CODING_STYLE: document that we nowadays prefer (const char*) for func ret type
...
Addresses https://github.com/systemd/systemd/pull/33567#discussion_r1662818225
2024-07-02 23:35:58 +02:00
Luca Boccassi
467c501667
Merge pull request #33577 from fbuihuu/testsuite-tweaks-for-v256-on-SUSE
...
Testsuite tweaks for v256 on suse
2024-07-02 23:35:33 +02:00
Lennart Poettering
6f5c8f44f1
Merge pull request #33574 from poettering/get-efi-var-raw
...
efi: efi variable refactoring
2024-07-02 21:16:37 +02:00
Franck Bui
252542ffc3
test: fix TEST-74-AUX-UTILS.ssh.sh on SUSE
2024-07-02 19:07:03 +02:00
Franck Bui
855bad331e
test: preserve symlink in inst_recursive()
...
On SUSE this function is used to copy symlinks installed in *.wants/
directories.
2024-07-02 19:06:21 +02:00