Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
6c00eba63bc9a5f4009b88deb49692dc036b85e3
/
src
/
dns.c
9d00869
CLEANUP: cli: replace all occurrences of manual handling of return messages
by Willy Tarreau
· 5 years ago
fc9cfe4
REORG: proto_htx: Move HTX analyzers & co to http_ana.{c,h} files
by Christopher Faulet
· 5 years ago
45726fd
BUG/MINOR: dns: remove irrelevant dependency on a client connection
by Willy Tarreau
· 5 years ago
333939c
MINOR: action: new '(http-request|tcp-request content) do-resolve' action
by Baptiste Assmann
· 6 years ago
db4c852
MINOR: dns: move callback affection in dns_link_resolution()
by Baptiste Assmann
· 7 years ago
dfd35fd
MINOR: dns: dns_requester structures are now in a memory pool
by Baptiste Assmann
· 6 years ago
3f795f7
MEDIUM: tasks: Merge task_delete() and task_free() into task_destroy().
by Olivier Houchard
· 6 years ago
2fa66c3
BUG/MEDIUM: dns: overflowed dns name start position causing invalid dns error
by Nikhil Agrawal
· 6 years ago
8d4e7dc
BUG/MEDIUM: dns: Don't prevent reading the last byte of the payload in dns_validate_response()
by Jérôme Magnin
· 6 years ago
efbbdf7
BUG: dns: Prevent out-of-bounds read in dns_validate_dns_response()
by Remi Gacogne
· 6 years ago
2d19fbc
BUG: dns: Prevent out-of-bounds read in dns_read_name()
by Remi Gacogne
· 6 years ago
58df5ae
BUG: dns: Prevent stack-exhaustion via recursion loop in dns_read_name
by Remi Gacogne
· 6 years ago
2455ceb
MEDIUM: memory: use pool_destroy_all() to destroy all pools on deinit()
by Willy Tarreau
· 6 years ago
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· 6 years ago
e655251
MINOR: initcall: use initcalls for section parsers
by Willy Tarreau
· 6 years ago
172f5ce
MINOR: initcall: use initcalls for most post_{check,deinit} and per_thread*
by Willy Tarreau
· 6 years ago
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· 6 years ago
42cf639
CLEANUP: Fix typos in the dns subsystem
by Joseph Herlant
· 6 years ago
db39843
MINOR: stream-int: replace si_cant_put() with si_rx_room_{blk,rdy}()
by Willy Tarreau
· 6 years ago
d0f5bbc
MINOR: stream-int: rename SI_FL_WAIT_ROOM to SI_FL_RXBLK_ROOM
by Willy Tarreau
· 6 years ago
433c16f
BUILD: dns: fix null-deref build warning at -Wextra
by Willy Tarreau
· 6 years ago
044fd5b
BUG/MINOR: dns: check and link servers' resolvers right after config parsing
by Baptiste Assmann
· 6 years ago
f6ee9dc
BUG/MEDIUM: dns: don't store dns_build_query() result in the trash's length
by Willy Tarreau
· 6 years ago
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· 6 years ago
8e2d943
MINOR: dns: new DNS options to allow/prevent IP address duplication
by Baptiste Assmann
· 6 years ago
84221b4
MINOR: dns: fix wrong score computation in dns_get_ip_from_response
by Baptiste Assmann
· 6 years ago
741e00a
CLEANUP: dns: inacurate comment about prefered IP score
by Baptiste Assmann
· 6 years ago
e56fffd
CLEANUP: dns: remove obsolete macro DNS_MAX_IP_REC
by Baptiste Assmann
· 6 years ago
9f6af33
MINOR: tasks: Change the task API so that the callback takes 3 arguments.
by Olivier Houchard
· 6 years ago
f3d9e60
BUG/MEDIUM: dns: Delay the attempt to run a DNS resolution on check failure.
by Olivier Houchard
· 6 years ago
abbf607
MEDIUM: cli: Add payload support
by Aurélien Nephtali
· 7 years ago
210eb25
CLEANUP: dns: remove duplicate code in src/dns.c
by Ilya Shipitsin
· 7 years ago
1fa7d2a
BUG/MINOR: dns: don't downgrade DNS accepted payload size automatically
by Baptiste Assmann
· 7 years ago
a9786b6
MINOR: fd: pass the iocb and owner to fd_insert()
by Willy Tarreau
· 7 years ago
2ec2db9
MINOR: dns: Handle SRV record weight correctly.
by Olivier Houchard
· 7 years ago
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· 7 years ago
fbc74e8
MINOR/CLEANUP: proxy: rename "proxy" to "proxies_list"
by Olivier Houchard
· 7 years ago
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· 7 years ago
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· 7 years ago
2838107
BUG/MINOR: dns: Don't lock the server lock in snr_check_ip_callback().
by Olivier Houchard
· 7 years ago
55dcdf4
BUG/MINOR: dns: Don't try to get the server lock if it's already held.
by Olivier Houchard
· 7 years ago
5ec8457
BUG/MAJOR: threads/dns: add missing unlock on allocation failure path
by Willy Tarreau
· 7 years ago
e9fd6b5
BUG/MINOR: dns: fix missing lock protection on server.
by Emeric Brun
· 7 years ago
d16bfe6
BUG/MINOR: dns: Fix SRV records with the new thread code.
by Olivier Houchard
· 7 years ago
b2812a6
MEDIUM: thread/dns: Make DNS thread-safe
by Christopher Faulet
· 7 years ago
c60def8
MAJOR: threads/task: handle multithread on task scheduler
by Emeric Brun
· 7 years ago
36716a7
MEDIUM: threads/fd: Initialize the process mask during the call to fd_insert
by Christopher Faulet
· 7 years ago
67957bd
MAJOR: dns: Refactor the DNS code
by Christopher Faulet
· 7 years ago
ff88efb
BUG/MINOR: dns: Fix CLI keyword declaration
by Christopher Faulet
· 7 years ago
06d80a9
REORG: channel: finally rename the last bi_* / bo_* functions
by Willy Tarreau
· 7 years ago
d5370e1
MINOR: net_helper: add functions to read from vectors
by Willy Tarreau
· 7 years ago
c3680ec
MINOR: add severity information to cli feedback messages
by Andjelko Iharos
· 7 years ago
576c5aa
MINOR: fd: Set owner and iocb field before inserting a new fd in the fdtab
by Christopher Faulet
· 7 years ago
f5f7130
BUG/MINOR: dns: wrong resolution interval lead to 100% CPU
by Baptiste Assmann
· 7 years ago
8d11236
CLEANUP: dns: remove duplicated code in dns_validate_dns_response()
by Baptiste Assmann
· 7 years ago
60e9c26
CLEANUP: dns: remove duplicated code in dns_resolve_recv()
by Baptiste Assmann
· 7 years ago
e2d03d2
MINOR: dns: make SRV record processing more verbose
by Baptiste Assmann
· 7 years ago
e70bc05
MINOR: dns: automatic reduction of DNS accpeted payload size
by Baptiste Assmann
· 7 years ago
9d8dbbc
MINOR: dns: Maximum DNS udp payload set to 8192
by Baptiste Assmann
· 7 years ago
747359e
BUG/MINOR: dns: server set by SRV records stay in "no resolution" status
by Baptiste Assmann
· 7 years ago
2af08fe
MINOR: dns: enabled edns0 extension and make accpeted payload size tunable
by Baptiste Assmann
· 7 years ago
7d2a126
MINOR: dns: ability to use a SRV resolution for multiple backends
by Baptiste Assmann
· 7 years ago
a644aa8
MINOR: dns: make debugging function dump_dns_config() compatible with SRV records
by Baptiste Assmann
· 7 years ago
63a2811
MINOR: dns: update dns response buffer reading pointer due to SRV record
by Baptiste Assmann
· 7 years ago
ddc8ce6
MINOR: dns: update record dname matching for SRV query types
by Baptiste Assmann
· 7 years ago
251abb9
MINOR: dns: Update analysis of TRUNCATED response for SRV records
by Baptiste Assmann
· 7 years ago
8da5f98
MINOR: dns: Handle SRV records.
by Olivier Houchard
· 7 years ago
a8c6db8
MINOR: dns: Cache previous DNS answers.
by Olivier Houchard
· 7 years ago
f1d33db
CLEANUP: task: remove all initializations to TICK_ETERNITY after task_new()
by Willy Tarreau
· 7 years ago
cc9b94a
BUG/MINOR: warning: ‘need_resend’ may be used uninitialized
by William Lallemand
· 7 years ago
201c07f
MAJOR/REORG: dns: DNS resolution task and requester queues
by Baptiste Assmann
· 7 years ago
8ea0bcc
MINOR: dns: introduce roundrobin into the internal cache (WIP)
by Baptiste Assmann
· 8 years ago
69fce67
MINOR: dns: make 'ancount' field to match the number of saved records
by Baptiste Assmann
· 8 years ago
fa4a663
MINOR: dns: implement a LRU cache for DNS resolutions
by Baptiste Assmann
· 8 years ago
729c901
MAJOR: dns: save a copy of the DNS response in struct resolution
by Baptiste Assmann
· 7 years ago
fb7091e
MINOR: dns: new snr_check_ip_callback function
by Baptiste Assmann
· 8 years ago
4274637
REORG: dns: dns_option structure, storage of hostname_dn
by Baptiste Assmann
· 8 years ago
81ed1a0
MINOR: dns: functions to manage memory for a DNS resolution structure
by Baptiste Assmann
· 8 years ago
6492053
BUG/MAJOR: dns: Broken kqueue events handling (BSD systems).
by Frédéric Lécaille
· 7 years ago
5e5bc9f
BUG/MINOR: dns: Wrong address family used when creating IPv6 sockets.
by Frédéric Lécaille
· 8 years ago
fc72590
MINOR: dns: improve DNS response parsing to use as many available records as possible
by Baptiste
· 8 years ago
5cd1b92
MINOR: dns: give ability to dns_init_resolvers() to close a socket when requested
by Baptiste Assmann
· 8 years ago
777b560
MINOR: appctx/cli: remove the "dns" entry from the appctx union
by Willy Tarreau
· 8 years ago
3067bfa
BUG/MEDIUM: cli: fix "show stat resolvers" and "show tls-keys"
by Willy Tarreau
· 8 years ago
30e5e18
CLEANUP: cli: remove assignments to st0 and st2 in keyword parsers
by Willy Tarreau
· 8 years ago
3b6e547
CLEANUP: cli: rename STAT_CLI_* to CLI_ST_*
by Willy Tarreau
· 8 years ago
69e9644
REORG: cli: move show stat resolvers to dns.c
by William Lallemand
· 8 years ago
c3d8cd4
BUG/MEDIUM: dns: don't randomly crash on out-of-memory
by Willy Tarreau
· 8 years ago
3cf7f98
MINOR: dns: proper domain name validation when receiving DNS response
by Baptiste Assmann
· 9 years ago
c1ce5f3
MEDIUM: dns: new DNS response parser
by Baptiste Assmann
· 8 years ago
bcbd491
CLEANUP/MINOR dns: comment do not follow up code update
by Baptiste Assmann
· 9 years ago
5457eb4
CLEANUP: dns: Removing usless variable & assignation
by Erwan Velu
· 9 years ago
8ab7942
BUG/MINOR: Fix endiness issue in DNS header creation code
by Nenad Merdanovic
· 8 years ago
eec1d38
BUG/MEDIUM: dns: fix alignment issues in the DNS response parser
by Willy Tarreau
· 8 years ago
9b7125c
BUG/MEDIUM: dns: fix alignment issue when building DNS queries
by Vincent Bernat
· 9 years ago
6f79aca
BUG/MINOR: DNS: resolution structure change
by Baptiste Assmann
· 9 years ago
060e573
BUG/MINOR: dns: trigger a DNS query type change on resolution timeout
by Baptiste Assmann
· 9 years ago
382824c
BUG/MINOR: dns: inapropriate way out after a resolution timeout
by Baptiste Assmann
· 9 years ago
02779b6
CLEANUP: uniformize last argument of malloc/calloc
by Vincent Bernat
· 9 years ago
3c2f2f2
CLEANUP: remove unneeded casts
by Vincent Bernat
· 9 years ago
Next »