Blame


1 1213c735 2021-01-21 op 2021-01-21 Omar Polo <op@omarpolo.com>
2 1213c735 2021-01-21 op
3 0ac2dcec 2021-01-21 op * configure: added a configure script
4 0ac2dcec 2021-01-21 op
5 1213c735 2021-01-21 op * server.c (handle_handshake): glob for vhost domain
6 1213c735 2021-01-21 op
7 1213c735 2021-01-21 op * gmid.c (log_request): logs the full IRI and the response code (even for CGI)
8 1213c735 2021-01-21 op
9 17b09e3c 2021-01-18 op 2021-01-19 Omar Polo <op@omarpolo.com>
10 17b09e3c 2021-01-18 op
11 05c23a54 2021-01-19 op * parse.y (servopt): add "lang" server option
12 6119e13e 2021-01-19 op (servopt): moving "default type" from global options to server options
13 05c23a54 2021-01-19 op
14 17b09e3c 2021-01-18 op * Dockerfile: add a dockerfile
15 17b09e3c 2021-01-18 op
16 e7ecf9a5 2021-01-18 op 2021-01-18 Omar Polo <op@omarpolo.com>
17 e7ecf9a5 2021-01-18 op
18 d89aa763 2021-01-18 op * parse.y (option): add mime and "default type" options for media types.
19 e7ecf9a5 2021-01-18 op
20 7a11e8a5 2021-01-17 op 2021-01-17 Omar Polo <op@omarpolo.com>
21 7a11e8a5 2021-01-17 op
22 7a11e8a5 2021-01-17 op * sandbox.c (sandbox): added initial seccomp(2) support
23 7a11e8a5 2021-01-17 op
24 15902770 2021-01-15 op 2021-01-15 Omar Polo <op@omarpolo.com>
25 15902770 2021-01-15 op
26 bd726b55 2021-01-15 op * cgi.c (start_cgi): set SERVER_NAME to the vhost when executing CGI scripts
27 bd726b55 2021-01-15 op
28 5bc3c98e 2021-01-15 op * parse.y (option): add ability to specify the tls versions with "protocols"
29 5bc3c98e 2021-01-15 op
30 8696c5ea 2021-01-15 op * gmid.c (handle_open_conn): ensure the port number of the request matches
31 8696c5ea 2021-01-15 op
32 dafb57b8 2021-01-15 op * sandbox.c (sandbox): sandbox on OpenBSD (pledge/unveil, as before) and on FreeBSD (capsicum) too
33 dafb57b8 2021-01-15 op
34 6214c127 2021-01-15 op * sample.conf: added sample configuration
35 6214c127 2021-01-15 op
36 15902770 2021-01-15 op * gmid.c (main): changed behaviour: daemon off by default
37 15902770 2021-01-15 op (main): changed -c in -C (cert option)
38 15902770 2021-01-15 op (main): changed -k in -K (key option, for consistency with -C)
39 15902770 2021-01-15 op (main): added -c to load a configuration
40 15902770 2021-01-15 op (main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
41 15902770 2021-01-15 op (handle_handshake): add vhosts support
42 15902770 2021-01-15 op
43 9939ddcf 2021-01-13 op 2021-01-13 Omar Polo <op@omarpolo.com>
44 9939ddcf 2021-01-13 op
45 9939ddcf 2021-01-13 op * iri.c (parse_scheme): normalize scheme while parsing, so we're
46 9939ddcf 2021-01-13 op RFC3986 compliant.
47 9939ddcf 2021-01-13 op
48 85dff1f9 2021-01-11 op 2021-01-11 Omar Polo <op@omarpolo.com>
49 85dff1f9 2021-01-11 op
50 9939ddcf 2021-01-13 op * 1.4 and 1.4.1 tagged
51 9939ddcf 2021-01-13 op
52 85dff1f9 2021-01-11 op * gmid.c (main): ipv6 disabled by default and -6 flag to enable it
53 7b1d9790 2021-01-11 op (handle): reject non-gemini protocols with 53
54 85dff1f9 2021-01-11 op
55 709d6e5e 2021-01-10 op 2021-01-10 Omar Polo <op@omarpolo.com>
56 709d6e5e 2021-01-10 op
57 709d6e5e 2021-01-10 op * gmid.c (logs): log also the port of the client
58 33756bd2 2021-01-10 op (loop): accept both ipv4 and ipv6
59 709d6e5e 2021-01-10 op
60 60ff0355 2020-12-26 op 2020-12-26 Omar Polo <op@omarpolo.com>
61 60ff0355 2020-12-26 op
62 60ff0355 2020-12-26 op * uri.c (parse_uri): IRI support
63 60ff0355 2020-12-26 op
64 4f12842d 2020-12-21 op 2020-12-21 Omar Polo <op@omarpolo.com>
65 4f12842d 2020-12-21 op
66 4f12842d 2020-12-21 op * gmid.c (main): -d supports relative paths
67 4f12842d 2020-12-21 op
68 d7802bb4 2020-12-02 op 2020-12-02 Omar Polo <op@omarpolo.com>
69 d7802bb4 2020-12-02 op
70 d7802bb4 2020-12-02 op * gmid.c: logging reworked and daemonize. The -l option was
71 d7802bb4 2020-12-02 op removed: now it logs on syslog if -f (foreground) is not passed.
72 d7802bb4 2020-12-02 op
73 ae2ad03e 2020-11-18 op 2020-11-18 Omar Polo <op@omarpolo.com>
74 ae2ad03e 2020-11-18 op
75 c603f126 2020-11-18 op * 1.3.2 tagged
76 c603f126 2020-11-18 op
77 c603f126 2020-11-18 op * gmid.c (url_after_proto): fix bug introduced in last version
78 c603f126 2020-11-18 op regarding full URLs with explicit gemini protocol.
79 c603f126 2020-11-18 op
80 dd389558 2020-11-18 op * 1.3.1 tagged
81 dd389558 2020-11-18 op
82 ae2ad03e 2020-11-18 op * gmid.c (url_after_proto): correct url parsing: accept URLs
83 ae2ad03e 2020-11-18 op without explicit protocol
84 dd389558 2020-11-18 op (url_start_of_request): correct handling of relative URLs
85 ae2ad03e 2020-11-18 op
86 721e2325 2020-11-18 op 2020-11-17 Omar Polo <op@omarpolo.com>
87 721e2325 2020-11-18 op
88 721e2325 2020-11-18 op * gmid.c (main): add flag -p to change the port
89 721e2325 2020-11-18 op
90 a5d310bc 2020-11-10 op 2020-11-10 Omar Polo <op@omarpolo.com>
91 a5d310bc 2020-11-10 op
92 d431188c 2020-11-10 op * ChangeLog: 1.3 tagged, fixed ChangeLog format
93 d431188c 2020-11-10 op
94 a5d310bc 2020-11-10 op * gmid.c (open_file): added support for path parameters for CGI
95 a5d310bc 2020-11-10 op scripts
96 a5d310bc 2020-11-10 op
97 3c19febb 2020-11-06 op 2020-11-06 Omar Polo <op@omarpolo.com>
98 3c19febb 2020-11-06 op
99 0ed56567 2020-11-06 op * gmid.1: great improvements to the documentation
100 0ed56567 2020-11-06 op
101 3c19febb 2020-11-06 op * gmid.c (url_after_proto): ensure that the requested protocol is
102 3c19febb 2020-11-06 op “gemini” and not something else that’s long 6 bytes.
103 3c19febb 2020-11-06 op
104 aff8d190 2020-11-06 op * gmid.c (loop): added support for cgi scripts (can handle multiple
105 aff8d190 2020-11-06 op concurrently)
106 aff8d190 2020-11-06 op
107 2c3a40fa 2020-11-06 op 2020-11-06 Omar Polo <op@venera>
108 2c3a40fa 2020-11-06 op
109 2c3a40fa 2020-11-06 op * gmid.1: added option to log to a file
110 2c3a40fa 2020-11-06 op
111 dd080e1f 2020-11-05 op 2020-11-05 Omar Polo <op@omarpolo.com>
112 dd080e1f 2020-11-05 op
113 dd080e1f 2020-11-05 op * gmid.c (filetypes): add MIME type for xml files
114 dd080e1f 2020-11-05 op
115 19f68393 2020-11-03 op 2020-11-03 Omar Polo <op@omarpolo.com>
116 19f68393 2020-11-03 op
117 19f68393 2020-11-03 op * 1.2 tagged
118 19f68393 2020-11-03 op
119 d431188c 2020-11-10 op * gmid.c (main): ignore SIGPIPE
120 d431188c 2020-11-10 op
121 2b897a2c 2020-10-14 op 2020-10-14 Omar Polo <op@omarpolo.com>
122 2b897a2c 2020-10-14 op
123 4f6eb772 2020-10-14 op * 1.1 tagged
124 2b897a2c 2020-10-14 op
125 d431188c 2020-11-10 op * switching to mmap() based file handling
126 d431188c 2020-11-10 op
127 2b897a2c 2020-10-14 op 2020-10-07 Omar Polo <op@omarpolo.com>
128 2b897a2c 2020-10-14 op
129 2b897a2c 2020-10-14 op * 1.0 tagged