Tom MTT.
48c211fc64
fix(README.md): broken link
1 year ago
Tom MTT.
5c93649473
fix(Makefile): minor tweaks
1 year ago
Tom MTT.
fbcf5b1464
fix(Makefile): unzip -f flag
1 year ago
Tom MTT.
e5a16d5b36
fix(README.md): timeout
1 year ago
Tom MTT.
20fe93c3ca
feat(README.md): cosmopolitan libc "tutorial"
1 year ago
Tom MTT.
de2c58196c
fix(feuille.c): pledge if using cosmopolitan libc
1 year ago
Tom MTT.
0ccd538c97
style(Makefile): padding
1 year ago
Tom MTT.
16f516d6ce
feat: cosmopolitan libc support
...
Added support for cosmopolitan libc.
Simply do `make COSMO=yes` and you'll get feuille.com, a working
αcτµαlly pδrταblε εxεcµταblε pastebin server.
+ version bump.
1 year ago
Tom MTT.
63319d7525
fix(server.c): better dual-stack mode handling
1 year ago
Tom MTT.
3c356481e1
fix: remove useless newlines
1 year ago
Tom MTT.
fdbbd73010
fix(feuille.c): check validity of sockets in accept loop
1 year ago
Tom MTT.
3922c5cabb
style(README.md): line break
1 year ago
Tom MTT.
1d240b795a
fix(cgi/feuille.cgi.c): remove carriage returns and fix some code
1 year ago
Tom MTT.
bc03a56c75
style(LICENSE): fix word wrapping
1 year ago
Tom MTT.
b146e1a300
fix: remove `misc' folder and put the aliases in README.md
...
+ fix typo.
1 year ago
Tom MTT.
fdd0d73e77
fix(server.c): add newline only if there isn't one already
1 year ago
Tom MTT.
8764f00655
chore: update manpage
1 year ago
Tom MTT.
65ecf9d81a
fix: remove dynamic analysis debug flags
1 year ago
Tom MTT.
de702c9b58
fix(feuille.c): use {u,g}id_t instead of int for uid and gid
1 year ago
Tom MTT.
9f9a25237a
chore: update manpage
1 year ago
Tom MTT.
4b3b46e7ab
fix(feuille.c): initialize uid and gid to remove useless warnings
1 year ago
Tom MTT.
38b6f2ddc5
style(feuille.c): newline
1 year ago
Tom MTT.
c6f8f0e736
fix(bin.c): error check and paste size
1 year ago
Tom MTT.
8c30d271df
feat: use paste size instead of NULL byte in order to write the paste
...
Previously, the pastes were written to disk until feuille encountered
a NULL byte. This is now fixed.
+ version bump.
1 year ago
Tom MTT.
b61f5c4cae
chore: bump version
1 year ago
Tom MTT.
c69277655f
fix(feuille.c): error messages
1 year ago
Tom MTT.
47c337793d
fix(feuille.c): better root privileges drop and debug mode handling
1 year ago
Tom MTT.
7b5d3e82d6
feat(README.md): service tutorial
1 year ago
Tom MTT.
e4e889334a
fix(service/systemd): typo
1 year ago
Tom MTT.
1b7b78d9ca
feat: service files
1 year ago
Tom MTT.
f3fbb4c77f
feat(feuille.c): handle children exit codes
1 year ago
Tom MTT.
1694929221
fix(feuille.c): reorganize some of its code
1 year ago
Tom MTT.
4894825dac
fix(feuille.c): documentation (x2)
1 year ago
Tom MTT.
741800f7f3
fix(feuille.c): documentation
1 year ago
Tom MTT.
9e011de4ab
style(server.c): comment
1 year ago
Tom MTT.
00e6fe5582
feat(feuille.c): accept_loop, better DEBUG mode, some style fixes
1 year ago
Tom MTT.
2ed08dc596
feat(config.mk): add DEBUG flag to build options
1 year ago
Tom MTT.
bf42903592
feat(feuille.c): do not create thread pool if in DEBUG mode
...
Will be useful when a batch of static/dynamic analysis tools will
check feuille's code.
1 year ago
Tom MTT.
43be904636
style: macros indentations (again)
1 year ago
Tom MTT.
46d7d4bff3
style(server.c): macros indentation
1 year ago
Tom MTT.
bb9a60b240
style(feuille.c): minor padding fix
1 year ago
Tom MTT.
5ba58b1bd7
feat: reduce timeout, max file size, and use more workers by default
1 year ago
Tom MTT.
955c840ba4
fix(server.c): add <syslog.h> header
1 year ago
Tom MTT.
4867ff3468
chore: update headers
1 year ago
Tom MTT.
7c796a567f
fix(.gitignore): remove .clangd from ignored files
1 year ago
Tom MTT.
8780761486
style(server.c): minor fix
1 year ago
Tom MTT.
42cdd1e16d
fix(feuille.c): ignore SIGPIPE errors
...
feuille was being killed by SIGPIPE when it tried to send data to an
already closed socket (e.g. when someone did a nmap scan on feuille's
port.)
1 year ago
Tom MTT.
aeee552947
fix(feuille.1): FEUILLE(1) -> feuille(1)
1 year ago
Tom MTT.
b58184c509
feat(README.md): example usage with syntax highlighting
1 year ago
Tom MTT.
e3622822fb
fix(feuille.c): add TODO comment and fix style issue
1 year ago