Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
2fabd9d535898a0f9249b199853cf56deee697fa
/
src
/
acl.c
6fb0f21
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Thu Apr 02 15:25:26 2020 +0500
e3b57bf
MINOR: sample: make sample_parse_expr() able to return an end pointer
by Willy Tarreau
· Fri Feb 14 16:50:14 2020 +0100
80b53ff
MEDIUM: arg: make make_arg_list() stop after its own arguments
by Willy Tarreau
· Fri Feb 14 08:40:37 2020 +0100
ed2c662
MINOR: sample/acl: use is_idchar() to locate the fetch/conv name
by Willy Tarreau
· Fri Feb 14 18:27:10 2020 +0100
361935a
BUG/MINOR: acl: Fix memory leaks when an ACL expression is parsed
by Christopher Faulet
· Fri Sep 13 09:50:15 2019 +0200
78c5eec
BUG/MINOR: acl: properly detect pattern type SMP_T_ADDR
by Willy Tarreau
· Fri Apr 19 11:45:20 2019 +0200
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· Sun Nov 25 19:14:37 2018 +0100
6808279
CLEANUP: Fix typos in the acl subsystem
by Joseph Herlant
· Thu Nov 15 14:55:09 2018 -0800
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· Fri Jul 13 10:54:26 2018 +0200
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· Fri Nov 24 16:50:31 2017 +0100
1b421ea
MINOR: acl: Pass the ACLs as an explicit parameter of build_acl_cond
by Christopher Faulet
· Fri Sep 22 14:38:56 2017 +0200
7d27f3c
BUG/MEDIUM: map/acl: fix unwanted flags inheritance.
by Emeric Brun
· Mon Jul 03 17:54:23 2017 +0200
54ceb04
BUG/MINOR: acls: Set the right refflag when patterns are loaded from a map
by Christopher Faulet
· Wed Jun 14 14:41:33 2017 +0200
bcfe23a
BUG/MEDIUM: acl: proprely release unused args in prune_acl_expr()
by Willy Tarreau
· Wed Apr 19 11:13:48 2017 +0200
145325e
BUG/MEDIUM: acl: don't free unresolved args in prune_acl_expr()
by Willy Tarreau
· Wed Apr 12 23:03:31 2017 +0200
97108e0
CLEANUP: sample: report "converter" instead of "conv method" in error messages
by Willy Tarreau
· Fri Nov 25 07:33:24 2016 +0100
9ff96c7
MINOR: acl: Add predefined METH_DELETE, METH_PUT
by Daniel Schneller
· Mon Apr 11 17:45:29 2016 +0200
02779b6
CLEANUP: uniformize last argument of malloc/calloc
by Vincent Bernat
· Sun Apr 03 13:48:43 2016 +0200
3c2f2f2
CLEANUP: remove unneeded casts
by Vincent Bernat
· Sun Apr 03 13:48:42 2016 +0200
9bb49f6
BUG/MEDIUM: acl: always accept match "found"
by Willy Tarreau
· Thu Sep 24 16:37:12 2015 +0200
07ee64e
MAJOR: sample: converts uint and sint in 64 bits signed integer
by Thierry FOURNIER
· Mon Jul 06 23:43:03 2015 +0200
192252e
MAJOR: sample: pass a pointer to the session to each sample fetch function
by Willy Tarreau
· Sat Apr 04 01:47:55 2015 +0200
15e91e1
MAJOR: sample: don't pass l7 anymore to sample fetch functions
by Willy Tarreau
· Sat Apr 04 00:52:09 2015 +0200
87b0966
REORG/MAJOR: session: rename the "session" entity to "stream"
by Willy Tarreau
· Fri Apr 03 00:22:06 2015 +0200
315ec42
BUG/MEDIUM: pattern: don't load more than once a pattern list.
by Thierry FOURNIER
· Mon Nov 24 11:14:42 2014 +0100
aa4e32e
CLEANUP: acl: cleanup some of the redundancy and spaghetti after last fix
by Willy Tarreau
· Fri Aug 29 19:09:48 2014 +0200
6f0ddca
BUG/MEDIUM: acl: correctly compute the output type when a converter is used
by Willy Tarreau
· Fri Aug 29 17:36:40 2014 +0200
9fefbd5
MINOR: acl: set "str" as default match for strings
by Thierry FOURNIER
· Sun May 11 15:15:00 2014 +0200
2039bba
MEDIUM: acl: strenghten the option parser to report invalid options
by Willy Tarreau
· Sun May 11 09:43:46 2014 +0200
e47e4e2
BUG/MEDIUM: patterns: last fix was still not enough
by Thierry FOURNIER
· Mon Apr 28 11:18:57 2014 +0200
a631fc8
BUG/MAJOR: patterns: -i and -n are ignored for inlined patterns
by Willy Tarreau
· Sat Apr 26 23:33:51 2014 +0200
c5a4e98
MEDIUM: acl: Change the acl register struct
by Thierry FOURNIER
· Wed Mar 05 16:07:08 2014 +0100
b7729c9
MINOR: pattern: forbid dns resolutions
by Thierry FOURNIER
· Tue Feb 11 16:24:41 2014 +0100
66eb9bf
MINOR: pattern: Remove the flag "PAT_F_FROM_FILE".
by Thierry FOURNIER
· Tue Feb 11 16:19:46 2014 +0100
94580c9
MINOR: dumpstat/conf: display all the configuration lines that using pattern reference
by Thierry FOURNIER
· Tue Feb 11 14:36:45 2014 +0100
eeaa951
MINOR: configuration: File and line propagation
by Thierry FOURNIER
· Tue Feb 11 14:00:19 2014 +0100
9860c41
MINOR: acl/pattern: Acl "-M" option force to load file as map file with two columns
by Thierry FOURNIER
· Wed Jan 29 14:23:29 2014 +0100
39bef45
MINOR: pattern/map/acl: Centralization of the file parsers
by Thierry FOURNIER
· Wed Jan 29 13:29:45 2014 +0100
e369ca2
MEDIUM: pattern_find_smp: functions find_smp uses the pat_ref_elt to find the element to be removed
by Thierry FOURNIER
· Wed Jan 29 16:24:55 2014 +0100
0d6ba51
MINOR: pattern: store configuration reference for each acl or map pattern.
by Thierry FOURNIER
· Tue Feb 11 03:31:34 2014 +0100
3534d88
MINOR: pattern/acl: Each pattern of each acl can be load with specified id
by Thierry FOURNIER
· Mon Jan 20 17:01:44 2014 +0100
af5a29d
MINOR: pattern: Each pattern is identified by unique id.
by Thierry FOURNIER
· Tue Mar 11 14:29:22 2014 +0100
5d34408
MEDIUM: pattern: The expected type is stored in the pattern head, and conversion is executed once.
by Thierry FOURNIER
· Mon Jan 27 14:19:53 2014 +0100
c5959fd
MEDIUM: pattern: merge same pattern
by Thierry FOURNIER
· Mon Jan 20 14:29:33 2014 +0100
1e00d38
MAJOR: pattern/map: Extends the map edition system in the patterns
by Thierry FOURNIER
· Tue Feb 11 11:31:40 2014 +0100
55d0b10
MEDIUM: pattern: add sample lookup function.
by Thierry FOURNIER
· Wed Jan 15 11:25:26 2014 +0100
6f7203d
MEDIUM: pattern: add prune function
by Thierry FOURNIER
· Tue Jan 14 16:24:51 2014 +0100
b113650
MEDIUM: pattern: add delete functions
by Thierry FOURNIER
· Wed Jan 15 11:38:49 2014 +0100
1794fdf
MEDIUM: pattern: The function pattern_exec_match() returns "struct pattern" if the patten match.
by Thierry FOURNIER
· Fri Jan 17 15:25:13 2014 +0100
b9b0846
MEDIUM: pattern: add indexation function.
by Thierry FOURNIER
· Fri Dec 13 15:12:32 2013 +0100
3ead5b9
MINOR: pattern: separe list element from the data part.
by Thierry FOURNIER
· Fri Dec 13 12:12:18 2013 +0100
972028f
MEDIUM: pattern: Change the prototype of the function pattern_register().
by Thierry FOURNIER
· Thu Jan 23 17:53:31 2014 +0100
511e947
MEDIUM: acl/pattern: standardisation "of pat_parse_int()" and "pat_parse_dotted_ver()"
by Thierry FOURNIER
· Thu Jan 23 17:40:34 2014 +0100
9eec0a6
MAJOR: auth: Change the internal authentication system.
by Thierry FOURNIER
· Wed Jan 22 18:38:02 2014 +0100
2049092
CLEANUP: acl: remove obsolete test in parse_acl_expr()
by Willy Tarreau
· Mon Mar 17 18:04:27 2014 +0100
4bfa422
BUG/MINOR: acl: parser must also stop at comma on ACL-only keywords
by Willy Tarreau
· Mon Dec 16 22:01:06 2013 +0100
adaddc2
CLEANUP: acl: remove useless blind copy-paste from sample converters
by Willy Tarreau
· Fri Dec 13 01:30:22 2013 +0100
c37a3c7
MEDIUM: acl: fix the initialization order of the ACL expression
by Willy Tarreau
· Fri Dec 13 01:24:09 2013 +0100
131b466
MEDIUM: acl: fix the argument parser to let the lower layer report detailed errors
by Willy Tarreau
· Fri Dec 13 01:08:36 2013 +0100
975c178
MINOR: sample: make sample_parse_expr() use memprintf() to report parse errors
by Willy Tarreau
· Thu Dec 12 23:16:54 2013 +0100
7609064
MINOR: pattern: make the pattern matching function return a pointer to the matched element
by Thierry FOURNIER
· Tue Dec 10 15:03:38 2013 +0100
7148ce6
MEDIUM: pattern: Extract the index process from the pat_parse_*() functions
by Thierry FOURNIER
· Fri Dec 06 19:06:43 2013 +0100
f3489d2
MINOR: pattern: do not assign SMP_TYPES by default to patterns
by Willy Tarreau
· Thu Dec 12 11:34:55 2013 +0100
e3ded59
MEDIUM: acl: Last patch change the output type
by Thierry FOURNIER
· Fri Dec 06 15:36:54 2013 +0100
3d536ac
BUG/MINOR: acl: fix sample expression error reporting
by Willy Tarreau
· Fri Dec 06 16:02:46 2013 +0100
ab92cf3
BUG/MINOR: acl: acl parser does not recognize empty converter list
by Thierry FOURNIER
· Fri Dec 06 10:34:35 2013 +0100
6f8fe31
MINOR: pattern: import acl_find_match_name() into pattern.h
by Willy Tarreau
· Thu Nov 28 22:24:25 2013 +0100
0cba607
MINOR: acl/pattern: use types different from int to clarify who does what.
by Willy Tarreau
· Thu Nov 28 22:21:02 2013 +0100
a65b343
MEDIUM: pattern: rename "acl" prefix to "pat"
by Thierry FOURNIER
· Thu Nov 28 18:22:00 2013 +0100
d163e1c
MEDIUM: pattern: create pattern expression
by Thierry FOURNIER
· Thu Nov 28 11:41:23 2013 +0100
ed66c29
REORG: acl/pattern: extract pattern matching from the acl file and create pattern.c
by Thierry FOURNIER
· Thu Nov 28 11:05:19 2013 +0100
dd69a04
MEDIUM: acl: associate "struct sample_storage" to each "struct acl_pattern"
by Thierry FOURNIER
· Fri Nov 22 19:14:42 2013 +0100
29d47b8
MINOR: acl: Extract the pattern matching function
by Thierry FOURNIER
· Fri Nov 22 18:03:42 2013 +0100
3a103c5
MINOR: acl: Extract the pattern parsing and indexation from the "acl_read_patterns_from_file()" function
by Thierry FOURNIER
· Fri Nov 22 17:33:27 2013 +0100
319e495
MINOR: acl: export acl arrays
by Thierry FOURNIER
· Fri Nov 22 17:25:35 2013 +0100
9c1d67e
MINOR: sample: provide the original sample_conv descriptor struct to the argument checker function.
by Thierry FOURNIER
· Thu Nov 21 13:37:41 2013 +0100
348971e
MEDIUM: acl: use the fetch syntax 'fetch(args),conv(),conv()' into the ACL keyword
by Thierry FOURNIER
· Thu Nov 21 10:50:10 2013 +0100
60eccc1
BUG/MINOR: acl: remove patterns from the tree before freeing them
by Willy Tarreau
· Thu Nov 14 16:00:12 2013 +0100
3c3dfd5
MINOR: acl: add a warning when an ACL keyword is used without any value
by Willy Tarreau
· Mon Nov 04 18:09:12 2013 +0100
79c412b
BUG/MEDIUM: acl: do not evaluate next terms after a miss
by Willy Tarreau
· Wed Oct 30 19:30:32 2013 +0100
ef37a66
CLEANUP: The function "regex_exec" needs the string length but in many case they expect null terminated char.
by Thierry FOURNIER
· Tue Oct 15 13:41:44 2013 +0200
9ca6936
BUG/MINOR: acl: implicit arguments of ACL keywords were not properly resolved
by Willy Tarreau
· Tue Oct 22 19:10:06 2013 +0200
ed5a4ae
CLEANUP: regex: Create regex_comp function that compiles regex using compilation options
by Thierry FOURNIER
· Mon Oct 14 14:07:36 2013 +0200
8cc1653
BUG/MINOR: acl: fix improper string size assignment in proxy argument
by Willy Tarreau
· Sun Sep 29 11:36:53 2013 +0200
ef38c39
MEDIUM: sample: systematically pass the keyword pointer to the keyword
by Willy Tarreau
· Mon Jul 22 16:29:32 2013 +0200
5b8ad22
CLEANUP: acl: move the 3 remaining sample fetches to samples.c
by Willy Tarreau
· Thu Jul 25 12:17:57 2013 +0200
dc13c11
BUG/MEDIUM: prevent gcc from moving empty keywords lists into BSS
by Willy Tarreau
· Fri Jun 21 23:16:39 2013 +0200
24b2c76
BUG/MINOR: acl: correctly consider boolean fetches when doing casts
by Willy Tarreau
· Wed Jun 12 21:50:19 2013 +0200
595ec54
MINOR: acl: add the new "env()" fetch method to retrieve an environment variable
by Willy Tarreau
· Wed Jun 12 21:34:28 2013 +0200
6d4e4e8
MEDIUM: acl: remove a lot of useless ACLs that are equivalent to their fetches
by Willy Tarreau
· Tue Jun 11 21:22:58 2013 +0200
9987ea9
MEDIUM: acl: automatically detect the type of certain fetches
by Willy Tarreau
· Tue Jun 11 21:09:06 2013 +0200
e3cf222
BUG: regex: fix pcre compile error when using JIT
by Hiroaki Nakamura
· Thu Apr 11 08:17:37 2013 +0200
f75d008
BUG/MAJOR: acl: add implicit arguments to the resolve list
by Willy Tarreau
· Sun Apr 07 21:20:44 2013 +0200
a4312fa
MAJOR: sample: maintain a per-proxy list of the fetch args to resolve
by Willy Tarreau
· Tue Apr 02 16:34:32 2013 +0200
bef91e7
MEDIUM: acl: support using sample fetches directly in ACLs
by Willy Tarreau
· Sun Mar 31 23:14:46 2013 +0200
93fddf1
MEDIUM: acl: have a pointer to the keyword name in acl_expr
by Willy Tarreau
· Sun Mar 31 22:59:32 2013 +0200
acca90d
MINOR: acl: remove the use_count in acl keywords
by Willy Tarreau
· Sun Mar 31 22:51:33 2013 +0200
5adeda1
MAJOR: acl: add option -m to change the pattern matching method
by Willy Tarreau
· Sun Mar 31 22:13:34 2013 +0200
d76a98a
MEDIUM: acl: move the ->parse, ->match and ->smp fields to acl_expr
by Willy Tarreau
· Sun Mar 31 18:34:33 2013 +0200
d86e29d
CLEANUP: acl: remove unused references to ACL_USE_*
by Willy Tarreau
· Mon Mar 25 08:21:05 2013 +0100
Next »