Commit Graph

36 Commits

Author SHA1 Message Date
Frédéric Lécaille 64d0ed515b CONTRIB: Add vi file extensions to .gitignore
*.swp and *.swo file extensions are used by vi. Very annoying to not have them
ignored by git.
2023-06-02 18:14:34 +02:00
Willy Tarreau af26361837 BUILD: makefile: commit the tiny FreeBSD makefile stub
The idea here is to try to detect the use of "make" instead of "gmake"
on FreeBSD. After having long tried, there's no way to construct a
condition that is common to both makefile languages and could serve as
a differentiator since there's simply no common word between the two
languages. However on FreeBSD (the main used BSD platform), "make" is
configured to look for BSDmakefile before the other ones. It allows us
to intercept it and explain to use gmake with an example of a roughly
converted make command line (we just strip "-J xx,xx" that systematically
gets inserted if "-j" is used). A few tricks are used, such as creating
a dummy target on the fly based on the requested one just to silence the
output, and always match "all" since it's used by default when no target
is specified. .DEFAULTS was initially used but finally dropped thanks to
this.

For example:

  $ make -j$(getconf NPROCESSORS_ONLN) TARGET=freebsd USE_OPENSSL=1
  Please use GNU make instead. It is often called gmake.
  Example:
    gmake  -j 4 TARGET=freebsd USE_OPENSSL=1  all

It will often be sufficient to permit a copy-paste and to try again.
Note that the .gitignore was updated.
2023-05-24 17:17:36 +02:00
Amaury Denoyelle e3e3121227 CLEANUP: exclude udp-perturb with .gitignore
udp-perturb is a tool which can be used as a UDP gateway. It can be used
to reorder, remove or corrupt datagrams. It is compiled in dev/
directory and added to .gitignore to not clutter git status output.
2022-09-16 15:47:04 +02:00
Amaury Denoyelle 7b8f477da5 CLEANUP: exclude haring with .gitignore
haring is a new utility to decode file-backed rings. It is compiled in
dev/ directory and so the binary should be specified in .gitignore to
not clutter git status output.
2022-08-17 11:04:20 +02:00
Amaury Denoyelle c003f50122 MINOR: qpack: implement standalone decoder tool
Implement a standalone binary to be able to easily a hex-string QPACK
stream. The binary must be compiled via the Makefile. Hex-strings are
specified on stdin.
2022-06-15 15:42:10 +02:00
Willy Tarreau 550101dc4b DOC: remove the outdated ROADMAP file
It's almost never update (last time was 3 years ago) and contains both
stuff that was already implemented and stuff that nobody's interested in
anymore. Let's remove it.
2022-05-30 17:01:39 +02:00
Christopher Faulet 5a2c661efa DOC: lua-api: Add documentation about lua filters
Lua filter support is highly experimental. The documentation was added to
allow first lua filter implementations. The API is not stabilized and must
be improved to be fully usable. This docuementation is quite light for
now. But more will be added.
2021-08-15 20:56:44 +02:00
Willy Tarreau 6807c7f6e1 ADMIN: dyncookie: implement a simple dynamic cookie calculator
This utility can be useful to figure what cookie value a server will
have based on the secret, its IP and its port.
2021-08-11 14:07:45 +02:00
Willy Tarreau 90f2c7f41a ADDONS: make addons/ discoverable by git via .gitignore
When the contrib/ parts were moved to addons/, no rule was added in
.gitignore to make addons/ searchable for new files, let's fix it.
2021-05-07 16:48:14 +02:00
Willy Tarreau 580727f3af CLEANUP: contrib: remove the last references to the now dead contrib/ directory
Now with the last SPOA modules gone, contrib/ doesn't exist anymore
and does not need to be referenced in the Makefile nor .gitignore.
2021-04-21 15:13:58 +02:00
Willy Tarreau 046fbe6d50 CONTRIB: move mod_defender out of the tree
As previously mentioned SPOA code has nothing to do in the haproxy core
since they're not dependent on haproxy's version. This one was moved to
its own repository here with complete history:

  https://github.com/haproxytech/spoa-mod_defender
2021-04-21 15:13:58 +02:00
Willy Tarreau b77cd7f562 CONTRIB: move modsecurity out of the tree
As previously mentioned SPOA code has nothing to do in the haproxy core
since they're not dependent on haproxy's version. This one was moved to
its own repository here with complete history:

    https://github.com/haproxy/spoa-modsecurity
2021-04-21 11:30:43 +02:00
Willy Tarreau 8695199aa8 CONTRIB: move spoa_example out of the tree
As previously mentioned SPOA code has nothing to do in the haproxy core
since they're not dependent on haproxy's version. This one was moved to
its own repository here with complete history:

     https://github.com/haproxy/spoa-example
2021-04-21 09:39:06 +02:00
Willy Tarreau d798889a5d CONTRIB: move halog to admin/
halog is an admin tool, so let's move it to admin/ as well. The makefile
was updated to build from the new directory.
2021-04-02 17:48:42 +02:00
Willy Tarreau 074ebcde29 CONTRIB: move some dev-specific tools to dev/
The following directories were moved from contrib/ to dev/ to make their
use case a bit clearer. In short, only developers are expected to ever
go there. The makefile was updated to build and clean from these ones.

base64/  flags/  hpack/  plug_qdisc/  poll/  tcploop/  trace/
2021-04-02 17:48:42 +02:00
Willy Tarreau 34b4369709 CONTRIB: debug: split poll from flags
Now poll is its own project and doesn't share the "flags" Makefile
any more. One of the issues was that it was making references to the
haproxy include path which is not needed here.
2021-04-02 17:48:42 +02:00
Ilya Shipitsin adf6b977ce CLEANUP: Update .gitignore
This excludes ar archives from being ignored.
2020-09-12 13:11:24 +02:00
Tim Duesterhus c14d20eda3 CLEANUP: Update .gitignore
This excludes the currently tracked files from being ignored.
2020-09-06 22:12:56 +02:00
Willy Tarreau ba4ad17b61 DOC: create a BRANCHES file to explain the life cycle
This file tries to describe development versus maintenance and gives hints
about what version to pick depending on the user's skills and goals.
2019-06-15 22:00:14 +02:00
Willy Tarreau 7f3327390f DOC: split the README into README + INSTALL
The README was barely usable after all the additions having accumulated
over the years. This patch introduces a new INSTALL file explaining how
to build and install haproxy with various levels of details. The README
is now mostly an index to the list of useful documentations.
2018-12-16 22:30:57 +01:00
Frdric Lcaille 153b2b68bf MINOR: tests: First regression testing file.
Add a makefile target 'reg-tests' to run all regression testing file
found in 'reg-tests' directory.
Add reg-tests/lua/h00000.vtc first regression testing file for a LUA
fixed by f874a83 commit.
2018-06-19 10:14:59 +02:00
Christopher Faulet f9f6ed0a51 CLEANUP: .gitignore: Ignore binaries from the contrib directory
Some binaries were not ignored and polluted the "git status" output.
2018-03-06 17:33:05 +01:00
Christopher Faulet 010fdedc37 MINOR: spoe: add random ip-reputation service as SPOA example
This is a very simple service that implement a "random" ip reputation
service. It will return random scores for all checked IP addresses. It only
shows you how to implement a ip reputation service or such kind of services
using the SPOE.
2016-11-09 22:57:02 +01:00
Willy Tarreau c7d3f3ab76 CLEANUP: don't ignore scripts in .gitignore
We'll store a few maintenance scripts in scripts/ so don't ignore it.
2016-05-10 12:02:27 +02:00
Vincent Bernat 39cec29244 CLEANUP: .gitignore cleanup
.gitignore is an odd beast. All the stuff at the beginning is useless
since in the bottom part starts with /.* and /*. Therefore, the top part
is useless. Moreover, the bottom part makes unignore *.o and
friends. Add it back at the bottom.
2016-04-12 12:06:29 +02:00
Vincent Bernat 638f66ac05 CLEANUP: don't ignore debian/ directory if present
This makes packaging with git tools easier as it is not possible to
cancel anything in debian/.gitignore since the whole directory is
ignored.
2015-10-14 22:51:45 +02:00
Willy Tarreau 14a923cd2e DOC: add a MAINTAINERS file
This one indicates who to CC when sending changes affecting certain
parts of the product.
2015-09-21 15:24:34 +02:00
Willy Tarreau 11e334d972 DOC: add a CONTRIBUTING file
This file tries to explain in the most detailed way how to contribute
patches. A few parts of it were moved from the README. .gitignore was
updated.
2015-09-20 22:43:56 +02:00
Willy Tarreau 80c2f2f024 CLEANUP: .gitignore: finally ignore everything but what is known.
Still too many files remain, it's easier to block everything but
what we know.
2015-08-11 12:17:41 +02:00
Willy Tarreau 921405e4a8 CLEANUP: .gitignore: ignore more test files
Exclude from "git status" many of the files that often result from
development tests and bug reports reproducers.
2015-08-11 12:17:41 +02:00
Andrew Latham fbc4e77321 DOC: Address issue where documentation is excluded due to a gitignore rule. 2014-10-07 15:05:19 +02:00
Marc-Antoine Perennou f825580da8 MEDIUM: add systemd service
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-02-13 10:47:59 +01:00
Marc-Antoine Perennou ed9803e606 MEDIUM: add haproxy-systemd-wrapper
Currently, to reload haproxy configuration, you have to use "-sf".

There is a problem with this way of doing things. First of all, in the systemd world,
reload commands should be "oneshot" ones, which means they should not be the new main
process but rather a tool which makes a call to it and then exits. With the current approach,
the reload command is the new main command and moreover, it makes the previous one exit.
Systemd only tracks the main program, seeing it ending, it assumes it either finished or failed,
and kills everything remaining as a grabage collector. We then end up with no haproxy running
at all.

This patch adds wrapper around haproxy, no changes at all have been made into it,
so it's not intrusive and doesn't change anything for other hosts. What this wrapper does
is basically launching haproxy as a child, listen to the SIGUSR2 (not to conflict with
haproxy itself) signal, and spawing a new haproxy with "-sf" as a child to relay the
first one.

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-02-13 10:47:56 +01:00
Willy Tarreau 83ded5082e [CLEANUP] update .gitignore to ignore more temporary files 2008-03-07 09:39:37 +01:00
Willy Tarreau 14d43834f5 [BUILD] updated .gitignore 2006-12-19 18:03:12 +01:00
Willy Tarreau 09733ab109 [MINOR] add .gitignore 2006-12-16 19:56:22 +01:00