Commit Graph

110 Commits

Author SHA1 Message Date
Björn Ketelaars
19c2d8df76 main() is exptected to return a value 2015-09-19 17:35:14 +02:00
solusipse
888b578907 Merge pull request #18 from bket/daemon
daemonizing fiche
2015-09-19 16:29:54 +02:00
Björn Ketelaars
2972046f5f modify README.md accordingly. While here explain -e option 2015-09-04 14:26:59 +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
solusipse
a0bbd2fa28 Merge pull request #15 from renaudallard/master
Multiple fixes
2015-08-29 16:12:12 +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
73bc067641 Use arc4random on BSD systems to avoid complaints from the compiler 2015-08-27 16:37:13 +02:00
Renaud Allard
8ccfcc8c06 Avoid using strcpy and strcat
That will also remove the warnings given by picky compilers
2015-08-27 15:55:09 +02:00
Renaud Allard
caa6f5ed6a Former patch had a small bug, this has been corrected 2015-08-27 14:59:08 +02:00
Renaud Allard
1bc2132e1d Do not append a / at the end of the output path
Solves issue #13
2015-08-27 14:48:21 +02:00
Renaud Allard
d771d7bdfd Decrease the likeliness of name collisions 2015-08-27 14:36:36 +02:00
Renaud Allard
49ea4c7ccd Use MSG_DONTWAIT to use non blocking operation. This solves issue #14 2015-08-27 11:51:25 +02:00
Renaud Allard
318987c100 Correct a typo: lenght -> length 2015-08-27 10:33:39 +02:00
solusipse
a85e04d816 Merge pull request #10 from part1zano/master
Simplified Makefile
2015-05-04 19:30:56 +02:00
Maxim Kirenenko
48c540d83b Simplified Makefile 2015-05-02 22:56:36 +03:00
solusipse
c75f4b29a1 Merge pull request #9 from part1zano/master
Makefile: more *BSD-friendly, got rid of mandatory gcc
2015-05-02 17:14:29 +02:00
Maxim V Filimonov
7ee9910cac Makefile: more *BSD-friendly, got rid of mandatory gcc 2015-05-01 23:49:11 +03:00
solusipse
a7174e18db added travis sign 0.9 2014-09-09 05:49:43 +02:00
solusipse
b643f4a922 custom script parameter for travis 2014-09-09 05:42:13 +02:00
solusipse
629e8d3003 travis-ci 2014-09-09 05:37:00 +02:00
solusipse
157353707e changed logging format 2014-09-09 03:26:21 +02:00
solusipse
1d425525a1 removed unused variables 2013-11-01 11:03:17 +01: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
solusipse
0c3e6aacd4 added newline symbol at the end of two error messages 2013-09-22 21:43:09 +02:00
solusipse
eabb2f5b97 increased slug array size 2013-09-18 01:10:50 +02:00
solusipse
32dbdfe86f increased slug array size 2013-09-18 01:02:00 +02:00
solusipse
c23aee0900 Merge pull request #2 from hmage/master
Fix segfaults
2013-09-17 13:35:55 -07: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
b302b6e1d9 Add output binary to .gitignore 2013-09-17 21:31:17 +04:00
Eugene Bujak
5dc293e241 Add newlines at end of file. 2013-09-17 21:06:20 +04:00
solusipse
cb774abf27 changed default timeout value 2013-09-17 01:28:36 +02:00
solusipse
6ee6fa3100 fixing hostname error problem 2013-09-16 22:49:39 +02:00
solusipse
8b553306f0 minor fix 2013-09-16 15:07:31 +02:00
solusipse
7b48aed402 changed error policy when obtaining ip and hostname 2013-09-16 13:37:44 +02:00
solusipse
c1e3711742 added details to error messages 2013-09-16 10:53:32 +02:00
solusipse
173883c0a5 issue #1 2013-09-15 23:41:16 +02:00
solusipse
6b2569b406 Update README.md 2013-09-14 01:00:23 +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
d6865f63f2 saving to txt by default now (compability issues) 2013-09-13 22:16:05 +02:00
solusipse
d731796d06 changed default buffer size 2013-09-13 20:32:08 +02:00
solusipse
2d5e5c9c31 added waitall flag for socket 2013-09-13 20:28:01 +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