Blame


1 e17642a7 2021-02-01 op 2021-02-01 Omar Polo <op@omarpolo.com>
2 e17642a7 2021-02-01 op
3 e17642a7 2021-02-01 op * parse.y (servopt): require absolute paths in config file
4 e17642a7 2021-02-01 op
5 ee29b5a6 2021-01-31 op 2021-01-31 Omar Polo <op@omarpolo.com>
6 ee29b5a6 2021-01-31 op
7 ee29b5a6 2021-01-31 op * gmid.c (main): cgi scripts now have only std{in,out,err} open
8 ee29b5a6 2021-01-31 op
9 e9992347 2021-01-30 op 2021-01-30 Omar Polo <op@omarpolo.com>
10 e9992347 2021-01-30 op
11 e9992347 2021-01-30 op * server.c: change precedence of location rules
12 e9992347 2021-01-30 op
13 dceca3b6 2021-01-29 op 2021-01-29 Omar Polo <op@omarpolo.com>
14 dceca3b6 2021-01-29 op
15 dceca3b6 2021-01-29 op * iri.c (parse_authority): accept a wider range of unicode
16 dceca3b6 2021-01-29 op codepoints while parsing the host name.
17 dceca3b6 2021-01-29 op
18 3300cbe0 2021-01-27 op 2021-01-26 Omar Polo <op@omarpolo.com>
19 3300cbe0 2021-01-27 op
20 3300cbe0 2021-01-27 op * puny.c (puny_decode): initial punycode support!
21 3300cbe0 2021-01-27 op
22 145ba43e 2021-01-25 op 2021-01-25 Omar Polo <op@omarpolo.com>
23 145ba43e 2021-01-25 op
24 a5d04ea0 2021-01-25 op * gmid.1: manpage improvements (example and usage)
25 a5d04ea0 2021-01-25 op
26 a5d04ea0 2021-01-25 op * gmid.c (main): Dropping -C, -K, -f, changing the meaning of -d:
27 a5d04ea0 2021-01-25 op now it's the certificate directory. Serve the directory given as
28 a5d04ea0 2021-01-25 op positional argument (or the current one) when running in
29 a5d04ea0 2021-01-25 op config-less mode.
30 a5d04ea0 2021-01-25 op (gen_certificate): automatically generate a certificate
31 a5d04ea0 2021-01-25 op
32 145ba43e 2021-01-25 op * parse.y (option): added chroot and user options
33 145ba43e 2021-01-25 op
34 ba7b2faa 2021-01-24 op 2021-01-24 Omar Polo <op@omarpolo.com>
35 ba7b2faa 2021-01-24 op
36 252908e6 2021-01-24 op * server.c (open_dir): add directory listing (disabled by default)
37 252908e6 2021-01-24 op
38 c8b74339 2021-01-24 op * parse.y (vhost): added support for location blocks
39 c8b74339 2021-01-24 op
40 ba7b2faa 2021-01-24 op * server.c (send_dir): make the directory index customizable
41 ba7b2faa 2021-01-24 op
42 ba7b2faa 2021-01-24 op 2021-01-23 Omar Polo <op@omarpolo.com>
43 ba7b2faa 2021-01-24 op
44 ba7b2faa 2021-01-24 op * gg.c (main): added gg, a barebone gemini client. used by the
45 ba7b2faa 2021-01-24 op regress suite
46 ba7b2faa 2021-01-24 op
47 1213c735 2021-01-21 op 2021-01-21 Omar Polo <op@omarpolo.com>
48 1213c735 2021-01-21 op
49 0ac2dcec 2021-01-21 op * configure: added a configure script
50 0ac2dcec 2021-01-21 op
51 1213c735 2021-01-21 op * server.c (handle_handshake): glob for vhost domain
52 1213c735 2021-01-21 op
53 1213c735 2021-01-21 op * gmid.c (log_request): logs the full IRI and the response code (even for CGI)
54 1213c735 2021-01-21 op
55 17b09e3c 2021-01-18 op 2021-01-19 Omar Polo <op@omarpolo.com>
56 17b09e3c 2021-01-18 op
57 05c23a54 2021-01-19 op * parse.y (servopt): add "lang" server option
58 6119e13e 2021-01-19 op (servopt): moving "default type" from global options to server options
59 05c23a54 2021-01-19 op
60 17b09e3c 2021-01-18 op * Dockerfile: add a dockerfile
61 17b09e3c 2021-01-18 op
62 e7ecf9a5 2021-01-18 op 2021-01-18 Omar Polo <op@omarpolo.com>
63 e7ecf9a5 2021-01-18 op
64 d89aa763 2021-01-18 op * parse.y (option): add mime and "default type" options for media types.
65 e7ecf9a5 2021-01-18 op
66 7a11e8a5 2021-01-17 op 2021-01-17 Omar Polo <op@omarpolo.com>
67 7a11e8a5 2021-01-17 op
68 7a11e8a5 2021-01-17 op * sandbox.c (sandbox): added initial seccomp(2) support
69 7a11e8a5 2021-01-17 op
70 15902770 2021-01-15 op 2021-01-15 Omar Polo <op@omarpolo.com>
71 15902770 2021-01-15 op
72 bd726b55 2021-01-15 op * cgi.c (start_cgi): set SERVER_NAME to the vhost when executing CGI scripts
73 bd726b55 2021-01-15 op
74 5bc3c98e 2021-01-15 op * parse.y (option): add ability to specify the tls versions with "protocols"
75 5bc3c98e 2021-01-15 op
76 8696c5ea 2021-01-15 op * gmid.c (handle_open_conn): ensure the port number of the request matches
77 8696c5ea 2021-01-15 op
78 dafb57b8 2021-01-15 op * sandbox.c (sandbox): sandbox on OpenBSD (pledge/unveil, as before) and on FreeBSD (capsicum) too
79 dafb57b8 2021-01-15 op
80 6214c127 2021-01-15 op * sample.conf: added sample configuration
81 6214c127 2021-01-15 op
82 15902770 2021-01-15 op * gmid.c (main): changed behaviour: daemon off by default
83 15902770 2021-01-15 op (main): changed -c in -C (cert option)
84 15902770 2021-01-15 op (main): changed -k in -K (key option, for consistency with -C)
85 15902770 2021-01-15 op (main): added -c to load a configuration
86 15902770 2021-01-15 op (main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
87 15902770 2021-01-15 op (handle_handshake): add vhosts support
88 15902770 2021-01-15 op
89 9939ddcf 2021-01-13 op 2021-01-13 Omar Polo <op@omarpolo.com>
90 9939ddcf 2021-01-13 op
91 9939ddcf 2021-01-13 op * iri.c (parse_scheme): normalize scheme while parsing, so we're
92 9939ddcf 2021-01-13 op RFC3986 compliant.
93 9939ddcf 2021-01-13 op
94 85dff1f9 2021-01-11 op 2021-01-11 Omar Polo <op@omarpolo.com>
95 85dff1f9 2021-01-11 op
96 9939ddcf 2021-01-13 op * 1.4 and 1.4.1 tagged
97 9939ddcf 2021-01-13 op
98 85dff1f9 2021-01-11 op * gmid.c (main): ipv6 disabled by default and -6 flag to enable it
99 7b1d9790 2021-01-11 op (handle): reject non-gemini protocols with 53
100 85dff1f9 2021-01-11 op
101 709d6e5e 2021-01-10 op 2021-01-10 Omar Polo <op@omarpolo.com>
102 709d6e5e 2021-01-10 op
103 709d6e5e 2021-01-10 op * gmid.c (logs): log also the port of the client
104 33756bd2 2021-01-10 op (loop): accept both ipv4 and ipv6
105 709d6e5e 2021-01-10 op
106 60ff0355 2020-12-26 op 2020-12-26 Omar Polo <op@omarpolo.com>
107 60ff0355 2020-12-26 op
108 60ff0355 2020-12-26 op * uri.c (parse_uri): IRI support
109 60ff0355 2020-12-26 op
110 4f12842d 2020-12-21 op 2020-12-21 Omar Polo <op@omarpolo.com>
111 4f12842d 2020-12-21 op
112 4f12842d 2020-12-21 op * gmid.c (main): -d supports relative paths
113 4f12842d 2020-12-21 op
114 d7802bb4 2020-12-02 op 2020-12-02 Omar Polo <op@omarpolo.com>
115 d7802bb4 2020-12-02 op
116 d7802bb4 2020-12-02 op * gmid.c: logging reworked and daemonize. The -l option was
117 d7802bb4 2020-12-02 op removed: now it logs on syslog if -f (foreground) is not passed.
118 d7802bb4 2020-12-02 op
119 ae2ad03e 2020-11-18 op 2020-11-18 Omar Polo <op@omarpolo.com>
120 ae2ad03e 2020-11-18 op
121 c603f126 2020-11-18 op * 1.3.2 tagged
122 c603f126 2020-11-18 op
123 c603f126 2020-11-18 op * gmid.c (url_after_proto): fix bug introduced in last version
124 c603f126 2020-11-18 op regarding full URLs with explicit gemini protocol.
125 c603f126 2020-11-18 op
126 dd389558 2020-11-18 op * 1.3.1 tagged
127 dd389558 2020-11-18 op
128 ae2ad03e 2020-11-18 op * gmid.c (url_after_proto): correct url parsing: accept URLs
129 ae2ad03e 2020-11-18 op without explicit protocol
130 dd389558 2020-11-18 op (url_start_of_request): correct handling of relative URLs
131 ae2ad03e 2020-11-18 op
132 721e2325 2020-11-18 op 2020-11-17 Omar Polo <op@omarpolo.com>
133 721e2325 2020-11-18 op
134 721e2325 2020-11-18 op * gmid.c (main): add flag -p to change the port
135 721e2325 2020-11-18 op
136 a5d310bc 2020-11-10 op 2020-11-10 Omar Polo <op@omarpolo.com>
137 a5d310bc 2020-11-10 op
138 d431188c 2020-11-10 op * ChangeLog: 1.3 tagged, fixed ChangeLog format
139 d431188c 2020-11-10 op
140 a5d310bc 2020-11-10 op * gmid.c (open_file): added support for path parameters for CGI
141 a5d310bc 2020-11-10 op scripts
142 a5d310bc 2020-11-10 op
143 3c19febb 2020-11-06 op 2020-11-06 Omar Polo <op@omarpolo.com>
144 3c19febb 2020-11-06 op
145 0ed56567 2020-11-06 op * gmid.1: great improvements to the documentation
146 0ed56567 2020-11-06 op
147 3c19febb 2020-11-06 op * gmid.c (url_after_proto): ensure that the requested protocol is
148 3c19febb 2020-11-06 op “gemini” and not something else that’s long 6 bytes.
149 3c19febb 2020-11-06 op
150 aff8d190 2020-11-06 op * gmid.c (loop): added support for cgi scripts (can handle multiple
151 aff8d190 2020-11-06 op concurrently)
152 aff8d190 2020-11-06 op
153 2c3a40fa 2020-11-06 op 2020-11-06 Omar Polo <op@venera>
154 2c3a40fa 2020-11-06 op
155 2c3a40fa 2020-11-06 op * gmid.1: added option to log to a file
156 2c3a40fa 2020-11-06 op
157 dd080e1f 2020-11-05 op 2020-11-05 Omar Polo <op@omarpolo.com>
158 dd080e1f 2020-11-05 op
159 dd080e1f 2020-11-05 op * gmid.c (filetypes): add MIME type for xml files
160 dd080e1f 2020-11-05 op
161 19f68393 2020-11-03 op 2020-11-03 Omar Polo <op@omarpolo.com>
162 19f68393 2020-11-03 op
163 19f68393 2020-11-03 op * 1.2 tagged
164 19f68393 2020-11-03 op
165 d431188c 2020-11-10 op * gmid.c (main): ignore SIGPIPE
166 d431188c 2020-11-10 op
167 2b897a2c 2020-10-14 op 2020-10-14 Omar Polo <op@omarpolo.com>
168 2b897a2c 2020-10-14 op
169 4f6eb772 2020-10-14 op * 1.1 tagged
170 2b897a2c 2020-10-14 op
171 d431188c 2020-11-10 op * switching to mmap() based file handling
172 d431188c 2020-11-10 op
173 2b897a2c 2020-10-14 op 2020-10-07 Omar Polo <op@omarpolo.com>
174 2b897a2c 2020-10-14 op
175 2b897a2c 2020-10-14 op * 1.0 tagged