Commits
- Commit:
881a9dd9c2aebbf73f333dd3d8be4ce5400f717f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
split into two processes: listener and executor
this way, we can sandbox the listener with seccomp (todo) or capsicum
(already done) and still have CGI scripts. When we want to exec, we
tell the executor what to do, the executor executes the scripts and
send the fd backt to the listener.
- Commit:
bd726b55be4df8535a2b200a252193649566007a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
set SERVER_NAME to the vhost when executing CGI scripts
- Commit:
98c8f038acfbcb3f9366c9e22e5d75255187afeb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop inet_ntop leftovers
we switched to getnameinfo some time ago, but that call to inet_ntop
remained. Fortunately, it doesn't harm, since what i wrote is
overwritten by getnameinfo and the provided buffer should be large
enough.
- Commit:
7edc455ab4ba2c408558876339ac77a3104d0de2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move cgi stuff to its own file
- Commit:
5bc3c98ed4e25bc68a72dd6cd6676b25d2cdf9cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add protocols to the config
- Commit:
8696c5ea2484893ba0422d9bd4732d15d24eb1fc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changes
- Commit:
b777bf4b2be13429a31eaefdc89ceaf9fe252f24
- From:
- Omar Polo <op@omarpolo.com>
- Date:
check also that the port number matches
- Commit:
f7b816dc398efba2fb1cd4e2982ee3b23eed624f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style
- Commit:
dafb57b8af432d800219a8e17900e1ac56a65c14
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sandbox also on FreeBSD with capsicum
- Commit:
4ad11931ec10c823e98b7c51efc7146d8cbdd012
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update README
- Commit:
6214c12719b8451fc60127d2b932c59050c160d4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added sample configuration
- Commit:
e4d82becb71b1b8f9c843a5f0f8657bc6b93c67b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
normalize host name when parsing the IRI
RFC3986 3.2.2 "Host" says that
> Although host is case-insensitive, producers and normalizers should
> use lowercase for registered names and hexadecimal addresses for the
> sake of uniformity, while only using uppercase letters for
> percent-encodings.
so we cope with that.
- Commit:
15902770073dd67df3a9af0f6da7d63bfb031d72
- From:
- Omar Polo <op@omarpolo.com>
- Date:
conf & vhosts
* gmid.c (main): changed behaviour: daemon off by default
(main): changed -c in -C (cert option)
(main): changed -k in -K (key option, for consistency with -C)
(main): added -c to load a configuration
(main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
(handle_handshake): add vhosts support
- Commit:
4d2ec6d7054c76105c6237251002df1acb5a6c2d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
9939ddcf9d765c98ae527d75627441c50ac7e4bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changes