b40f3e7001
FINALLY fixed the logging thing and also logs to STDOUT
...
Got the client's actual IP address by using X-Forwarded-For header,
because some reverse proxy software (i.e. haproxy, relayd) will
override the IP address as the reverse proxy is the actual client.
Fixes #26
2025-02-21 02:52:01 +01:00
968a288866
Add support to ban extensions
2023-09-24 13:44:04 +02:00
Rawley
47d733b2f4
Add .perltidyrc, and format ( #24 )
...
* Add .perltidyrc, and format
* Format code
* Change tab size
2023-04-26 18:02:41 +02:00
Rawley
ac77cbfe4b
Improve logging ( #23 )
...
* Greatly improve logging with Mojo::Log
2023-03-24 08:05:01 +01:00
338c4c2771
Added POD documentation to sakisafe.pl
2023-03-15 14:54:25 +01:00
Rawley
1d53129435
Add Dockerfile ( #22 )
...
* added perl makefile
* fixup gitignore and eval
* add docker file
2023-03-14 13:14:48 +01:00
Rawley
deb4318cd9
Add Makefile.PL and allow banned IP's to be derived from a file ( #21 )
...
* added perl makefile
* fixup gitignore and eval
2023-03-13 14:18:46 +01:00
e62bcfa9d8
Added template for downlaod link in browsers, curl and similars just spit the link.
2023-02-13 21:30:11 +01:00
5605143ffa
Version
2023-02-12 13:46:33 +01:00
4b06627b0a
Goddamit, emacs
2023-02-12 13:44:09 +01:00
4fcd649b0b
Alright fixed more bugs
2023-02-12 13:42:18 +01:00
dcea6b2a24
Bug fix
2023-02-12 13:29:44 +01:00
f52dcbb721
Add colors to the warnings
2023-02-12 10:19:16 +01:00
b8dd0be83b
More verbose error messages using the 'Carp' module and $ERRNO
2023-02-12 10:02:36 +01:00
c8f7473690
Added support for OpenBSD's pledge because i was bored.
2023-02-11 11:43:49 +01:00
e8f03c430c
Added MIME types and stuff so the browser is able to show the file [experimental]
2022-12-30 08:52:51 +01:00
2d9e3fc94c
this code should be refactored
2022-12-19 18:34:17 +01:00
e361669b87
Added feature to ban IP addresses and also a logger
2022-11-22 15:23:03 +01:00
80ef5e6ba2
append .txt to the filename if the filename is "-"
2022-11-21 13:02:00 +01:00
db06f1cdc4
Better index
2022-11-21 12:59:53 +01:00
5fbb1f5257
Renamed upload.cgi to sakisafe.pl
2022-11-20 15:07:45 +01:00