Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop to dnssec_rr #2

Merged
merged 144 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
d515247
add test with qtype CH
valesteban Nov 27, 2023
68d6b74
add test to fix
valesteban Nov 28, 2023
18124ab
create unimplemented function
valesteban Nov 28, 2023
773f9ac
create test for negative answer function
valesteban Nov 28, 2023
f006375
fix test in lookup
valesteban Nov 28, 2023
ae5e35c
progress in negative catching
valesteban Nov 28, 2023
c6a3e1d
add integration test section 6.2.1 - 6.2.2
Ephyy Nov 29, 2023
5cfef51
Merge remote-tracking branch 'origin/develop' into integration-test
Ephyy Nov 29, 2023
7c936b5
update query response
Ephyy Nov 29, 2023
ef3b008
fix bug in method add_additional
valesteban Nov 29, 2023
760ab6d
add method save_negative_answers
valesteban Nov 29, 2023
9984d9e
change docker compose
Ephyy Nov 29, 2023
c34a30a
update main client
Ephyy Nov 29, 2023
842a73e
test get negative cached answer in inner_lookup
valesteban Nov 29, 2023
bff69ed
add function for negative caching
valesteban Nov 29, 2023
159f829
fix save negative answer in cache
valesteban Nov 29, 2023
bb1d6ff
look negative answer in cache in inner_lookup
valesteban Nov 29, 2023
a9664f5
docs for HostData
justRkive Nov 30, 2023
ff20c21
style in docs
justRkive Nov 30, 2023
dd4c117
add ns query integration tests
Ephyy Dec 4, 2023
e84828d
add no resource and mistyped name integration test
Ephyy Dec 4, 2023
b56e489
add mx query integration test
Ephyy Dec 4, 2023
66c04f8
test: update integration_test.rs
Ephyy Dec 14, 2023
4d302af
test: add inner lookup cache test cases
Ephyy Dec 14, 2023
de3c339
add: creation_time for cache
justRkive Dec 14, 2023
9352015
Add get_creation_time method to RRCache
justRkive Dec 14, 2023
71a2396
add timeout cache and test
justRkive Dec 15, 2023
eb74ab3
add get_absolut_ttl()
justRkive Dec 15, 2023
326cf11
first commit proving the new branch
konegoro Dec 18, 2023
761f722
test: update integration_test.rs
Ephyy Dec 18, 2023
e983c4a
test: update integration_test.rs warning
Ephyy Dec 18, 2023
5e8fc09
test: update integration_test.rs, qtype=any test
Ephyy Dec 18, 2023
1620371
add test qtype A client UDP
konegoro Dec 19, 2023
193bf58
add test qtype NS client UDP
konegoro Dec 19, 2023
e2fbd67
add auxiliadd auxiliary function
valesteban Dec 19, 2023
bd80085
add test qtype CNAME client UDP
konegoro Dec 19, 2023
f0e67c5
add test qtype SOA client UDP
konegoro Dec 19, 2023
30430a3
add test qtype MX client UDP
konegoro Dec 19, 2023
59d861b
add test qtype PTR client UDP
konegoro Dec 19, 2023
4bf1e7b
Fix typo in documentation of tests qtype
konegoro Dec 19, 2023
1411676
add test qtype TXT client UDP
konegoro Dec 19, 2023
ddcbdd2
add timeout between queries sent
valesteban Dec 19, 2023
282dd8c
add test qtype TSIG client UDP
konegoro Dec 19, 2023
ed691d3
add test qtype HINFO client UDP
konegoro Dec 19, 2023
8281393
Fix bug of server_addr in tests qtypes TXT, HINFO, TSIG
konegoro Dec 19, 2023
d34e923
Fix dominio use in qtypes test and udp_client_query test, now example…
konegoro Dec 19, 2023
3c72c48
Fix unwrap() into a match in qtypes tests and udp_client_query() test
konegoro Dec 19, 2023
ffd818d
update question.rs, remove print
Ephyy Dec 20, 2023
3f5417f
Fix error in qtypes tests of spanish message in panic, updated to Eng…
konegoro Dec 20, 2023
6ed6f0b
add test qtype A inner_lookup in async_resolver
konegoro Dec 21, 2023
2710afa
add test qtype NS inner_lookup in async_resolver
konegoro Dec 21, 2023
50a0258
add test qtype MX inner_lookup in async_resolver
konegoro Dec 21, 2023
d1e656e
add test qtype PTR inner_lookup in async_resolver
konegoro Dec 21, 2023
6b69250
add test qtype SOA inner_lookup in async_resolver
konegoro Dec 21, 2023
fe63c75
add test qtype TXT inner_lookup in async_resolver
konegoro Dec 21, 2023
3904777
add test qtype CNAME inner_lookup in async_resolver
konegoro Dec 21, 2023
faa9131
add test qtype HINFO inner_lookup in async_resolver
konegoro Dec 21, 2023
a9ebfe9
add test qtype TSIG inner_lookup in async_resolver
konegoro Dec 21, 2023
699db49
timeout_rr_cache set to public
justRkive Dec 21, 2023
e84d5dc
add timeout_cache_data
justRkive Dec 21, 2023
a4e9943
refact name method to filter_timoeut
justRkive Dec 21, 2023
07f7537
refactor name metod to filer_timeout_cache_data
justRkive Dec 21, 2023
2de4fcc
add tiemout_cache
justRkive Dec 21, 2023
50a6a84
add timeout cache in storee_dat_cache
justRkive Dec 21, 2023
31b4ae2
change timeout_cache order
justRkive Dec 21, 2023
5b11232
fix bug retransmision queries
valesteban Dec 26, 2023
c093b98
fix: cache_data field to private
justRkive Dec 29, 2023
823d982
fix: host_data field to private
justRkive Dec 29, 2023
88fcb0d
add verification ID query in resoolver
valesteban Dec 29, 2023
defa033
refactor: RRCache to RRStoredData
justRkive Dec 29, 2023
528bc92
Merge branch 'rfc-1123' of https://github.com/niclabs/dns-rust into r…
justRkive Dec 29, 2023
5eef096
rafactor: host_hash field to domain_names_data
justRkive Dec 29, 2023
3a0b0eb
refactor: HostData to DomainNameCache
justRkive Dec 29, 2023
c04617f
docs: description to domain_names_data
justRkive Dec 29, 2023
8b80fc4
docs: add description to domain_names_data
justRkive Dec 29, 2023
8e083a2
refactor: DomainNameCache to CacheByDomainName
justRkive Dec 29, 2023
1770dc9
refactor: cache_data to record_types_data
justRkive Dec 29, 2023
5a2d3e9
refactor: CacheData to CacheByRecordType
justRkive Dec 29, 2023
b11bcd6
docs: CacheByRecord TYpe
justRkive Dec 29, 2023
bf190d0
refact: host_data to cache_by_domain_name
justRkive Jan 2, 2024
5be4286
refact: cache_data to cache_by_record_type
justRkive Jan 2, 2024
11a454b
refact: rr_cache to rr_stored_data
justRkive Jan 2, 2024
cf6473c
refact: rr_stored_data inside cache_by_record_type crate
justRkive Jan 2, 2024
bc3365b
added: client connection get ip function
FranciscaOrtegaG Jan 3, 2024
d84079c
added client connection get ip
FranciscaOrtegaG Jan 3, 2024
7116f82
added: get_ip function in tcp connection
FranciscaOrtegaG Jan 4, 2024
a2a455a
added: function get_ip in udp_connection
FranciscaOrtegaG Jan 4, 2024
27e8c70
fixed: warning in client
FranciscaOrtegaG Jan 4, 2024
d7d6529
added: function get io in client connection
FranciscaOrtegaG Jan 4, 2024
be02a0b
added: get_ip function in udp connection
FranciscaOrtegaG Jan 4, 2024
b5af86d
added: get ip function in tcp connection
FranciscaOrtegaG Jan 4, 2024
3b3be06
add test get ip V4 in TCP connection
konegoro Jan 4, 2024
82010dc
add test get ip V6 in TCP connection
konegoro Jan 4, 2024
7897b98
add test get ip V4 in UDP connection
konegoro Jan 4, 2024
c42195e
add test get ip V6 in UDP connection
konegoro Jan 4, 2024
ed95a47
add commentary in get ip v6 In UDP and TCP
konegoro Jan 4, 2024
41bdb2c
Merge branch 'rfc-1123' into test_practicante
justRkive Jan 4, 2024
25a0456
delete: duplicated code from merge
justRkive Jan 4, 2024
83bff64
add extra verification timeout_rr_cache test
konegoro Jan 4, 2024
438a38f
add test filter_timeout with rtype a in cache_by_recor_type
konegoro Jan 4, 2024
28e3be6
add test filter_timeout with differents rtypes in cache_by_recor_type…
konegoro Jan 4, 2024
ca05602
refactor variables names and change name test for timeout_rr_cache
konegoro Jan 5, 2024
8015de7
add test timeout cache by domain name with 2 differents domains
konegoro Jan 5, 2024
5d9f831
add test filter_timeout with rtype NS in cache_by_recor_type
konegoro Jan 5, 2024
616bf2f
add FIXME with documentation in test with 2 differents domains in cac…
konegoro Jan 5, 2024
e0a5d01
add test filter_timeout with rtype CNAME in cache_by_recor_type
konegoro Jan 5, 2024
4dee8b8
add test filter_timeout with rtype SOA in cache_by_recor_type
konegoro Jan 5, 2024
0fd0765
add test filter_timeout with rtype PTR in cache_by_recor_type
konegoro Jan 5, 2024
ba168c5
add test filter_timeout with rtype MX in cache_by_recor_type
konegoro Jan 5, 2024
bd7e3ae
add test filter_timeout with rtype TXT in cache_by_recor_type
konegoro Jan 5, 2024
6ef7b4a
add test filter_timeout with rtype HINFO in cache_by_recor_type
konegoro Jan 5, 2024
ea2b511
add test filter_timeout with rtype TSIG in cache_by_recor_type
konegoro Jan 5, 2024
853c032
add test timeout cache 1 domain same Rtype in DnsCache, but faills
konegoro Jan 5, 2024
a6dbdf3
added get ip from the sender
FranciscaOrtegaG Jan 8, 2024
21e8902
added: send also return ip address
FranciscaOrtegaG Jan 8, 2024
822064c
added: check if the ip of who sends an receiveque query is the same
FranciscaOrtegaG Jan 8, 2024
635bf39
fix test two domains in timout rr cache in cache by domain
konegoro Jan 8, 2024
fd52482
fixed: extended changes to lookup
FranciscaOrtegaG Jan 8, 2024
251e940
fixed: warning in udp connection
FranciscaOrtegaG Jan 8, 2024
cdd3e5b
fixed: warning in tcp connection
FranciscaOrtegaG Jan 8, 2024
d05ac75
fixed : tests in lookup
FranciscaOrtegaG Jan 8, 2024
68ab57a
add test timeout cache 2 rtypes 2 domains in cache by rtype
konegoro Jan 8, 2024
92343b8
fixed error in test lookup
FranciscaOrtegaG Jan 8, 2024
0b457b9
FIx: add new update variable in tests who fails in cache by record (s…
konegoro Jan 8, 2024
fa7c89d
add bigger test in cache by rtype to prove the correctly cleaning in …
konegoro Jan 8, 2024
aa7aadf
add extra confirmation in test filter_timout_cache_data_cleaning_laye…
konegoro Jan 8, 2024
19c2314
fix test timeout cache in Dns_cache, now pass, buts has a ambiguous FIX
konegoro Jan 8, 2024
a957a84
Fix: little typos in the tests
konegoro Jan 9, 2024
d76327c
add test two layers down in DNS_Cache for timeouts, (equivalent of te…
konegoro Jan 9, 2024
f360783
fix: empty vec as answer is an error
justRkive Jan 9, 2024
734a095
test: update integration_test.rs
Ephyy Jan 10, 2024
41f908f
Merge remote-tracking branch 'origin/test_practicante' into rfc-1123
Ephyy Jan 10, 2024
e220735
Merge branch 'rfc-1123' of https://github.com/niclabs/dns-rust into r…
Ephyy Jan 10, 2024
52a27c5
test: update integration_test.rs
Ephyy Jan 10, 2024
ccede5a
Merge branch 'develop' of https://github.com/niclabs/dns-rust into de…
Litr0 Jan 10, 2024
2d07ae3
Merge branch 'rfc-1123' into develop
FranciscaOrtegaG Jan 10, 2024
f2a24ac
refact: filter_timeout by domain name
justRkive Jan 10, 2024
7220311
fix remove key in filter timeout
justRkive Jan 10, 2024
9369048
refact filter_timeout_by_rtype name
justRkive Jan 10, 2024
8fe7158
fix filter timeout test
justRkive Jan 10, 2024
e65683e
add verification in filter_timout test
justRkive Jan 10, 2024
e5f670a
fix filter timout chache data layer down test
justRkive Jan 10, 2024
68e7841
fix filter timoeut chace data layer down dns cache test
justRkive Jan 10, 2024
38e8c07
refact filter_timeout_by_domain using filter map
justRkive Jan 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
version: "4"
services:
resolver:
build: .
image: dns-rust:latest
ports:
- "58396:58396"
network_mode: "dns"
client:
container_name: client
dns_rust:
container_name: dns_rust
build: .
image: dns-rust:latest
test:
Expand Down
Loading
Loading