31 Commits

Author SHA1 Message Date
Lars Kellogg-Stedman
441debc4c7 teach fiche about binding to a specific address
Add the -L <listen_addr> option which permits fiche to bind to a
specific local address rather than INADDR_ANY.
2018-02-27 11:24:58 -05:00
solusipse
cdd910b150 Re-added support for https (#33) 2017-09-17 14:34:44 +02:00
solusipse
8ff08a0409 Entirely rewritten fiche 2017-09-02 17:51:43 +02:00
nnnn20430
b9ed17e937 added IPv6 support 2016-03-15 14:13:08 +01:00
solusipse
a5c137c06d enhancement #33 2016-01-23 12:36:53 +01:00
Björn Ketelaars
c42b8526f0 only root can chown. However, when running as root privileges are dropped. As such, it doesn't make sense to have a function like change_owner() 2015-09-19 19:57:02 +02:00
Björn Ketelaars
36f8df2011 instead of using perror() use printf(). Removes ugly and useless error codes. While here move function to *.c 2015-09-19 19:57:01 +02:00
Björn Ketelaars
7e33e463bb remove info(), instead used printf's. Check for DAEMON at some stages 2015-09-19 17:35:16 +02:00
Björn Ketelaars
f7926b75fc display_date() is only used one time, doesn't make sense to make it a function 2015-09-19 17:35:15 +02:00
Björn Ketelaars
6f16b43387 add option to daemonize fiche 2015-09-04 13:54:56 +02:00
Björn Ketelaars
7a2b8b1888 wrap printf in info() and replace a couple of printf statements 2015-09-04 13:54:55 +02:00
Björn Ketelaars
89c5fc8680 stop using display_line(). Instead use a printf statement 2015-09-04 13:54:55 +02:00
Björn Ketelaars
bb59a374a1 remove unused function *return_line() 2015-09-04 13:54:54 +02:00
Renaud Allard
047ecf672c Add -e option to use the extended charset I committed before.
"reduced" charset makes it easier to remember the URL by default
2015-08-29 11:34:32 +02:00
Renaud Allard
d771d7bdfd Decrease the likeliness of name collisions 2015-08-27 14:36:36 +02:00
solusipse
c10d19e9d9 fixed code that caused warnings 2013-10-30 00:39:51 +01:00
solusipse
249413374d changed printing policy 2013-09-26 13:06:52 +02:00
solusipse
33f00487d0 issue #3 (rejecting http) 2013-09-26 12:36:29 +02:00
Eugene Bujak
fe0fcbe1e6 Fix segfault -- buffers didn't have space for null-byte string terminator. 2013-09-17 21:31:28 +04:00
Eugene Bujak
5dc293e241 Add newlines at end of file. 2013-09-17 21:06:20 +04:00
solusipse
c1e3711742 added details to error messages 2013-09-16 10:53:32 +02:00
solusipse
924341e973 updated usage info 2013-09-14 00:29:00 +02:00
solusipse
0eedbf68c0 added whitelist 2013-09-14 00:17:26 +02:00
solusipse
d1a66efe6e added feature of changing user 2013-09-13 23:51:58 +02:00
solusipse
d731796d06 changed default buffer size 2013-09-13 20:32:08 +02:00
solusipse
0f7583f3ed added ban mechanism 2013-09-10 10:30:49 +02:00
solusipse
d25e9baf02 added logging 2013-09-09 21:02:33 +02:00
solusipse
7164539018 moved address function call to thread 2013-09-09 03:47:25 +02:00
solusipse
ebe5c33cd6 fixed time seed issue 2013-09-06 05:03:11 +02:00
solusipse
c1e0d782ed added header 2013-09-06 04:42:52 +02:00
solusipse
829c8e16d8 first stable version 2013-09-06 04:01:55 +02:00