Commit Graph

17 Commits

Author SHA1 Message Date
Florian Mounier
ea072ea24d Enable systemd socket activation. Fixes #48. (Bump to 1.5.3) 2014-07-11 16:04:44 +02:00
Florian Mounier
eb869a58d2 Merge remote-tracking branch 'creckx/master'
Conflicts:
	butterfly/routes.py
2014-05-05 12:16:16 +02:00
Florian Mounier
253dd61e38 Start gruntification 2014-04-30 11:03:57 +02:00
Adam Strauch
6a0bdf2147 Argument to turn login screen off (--host=0.0.0.0 --unsecure --login=False) 2014-04-13 14:19:08 +02:00
Florian Mounier
e106231613 Add link to the blog 2014-03-21 17:58:50 +01:00
Florian Mounier
311e7b9524 Add subject fields 2014-03-21 15:03:41 +01:00
Florian Mounier
4afcc99fe5 Remove issuer check and use unique serial and CA for multiple butterfly CA in broweser 2014-03-20 14:21:49 +01:00
Florian Mounier
a4d59a90f7 Use correct dir for root and bump version 2014-03-20 12:47:37 +01:00
Florian Mounier
74700f5046 Handle secure connection with certificate 2014-03-20 12:14:36 +01:00
Florian Mounier
884eeb169a Implement client/server certificate generation + enable ssl required by default on non localhost hosts 2014-03-19 14:40:36 +01:00
Florian Mounier
ee545f2002 Add a --more option to log handled exception 2014-03-04 11:14:23 +01:00
Florian Mounier
7d34dc6ba1 Clean up, avoid some server info leak, prevent crash when procfs is unavailable 2014-03-03 18:28:14 +01:00
OldGregg
78cf01c1fd Added SSL support to butterfly.
Added SSL certificate capability to butterfly. Butterfly now
has the --secure option, which requires the following files
to be present in the local folder:
  - butterfly.crt
  - butterfly.key
  - butterflyca.crt
This option forces butterfly to use HTTPS and secure
WebSockets. The connection still requires a username
and password.

There is also the --reallysecure option, which forces
the user's browser to provide a client side certificate.
The certificate is validated against butterflyca.crt, before
allowing the connection. Afterward, the commonName in the
certificate is used as the username for the connection.
The connection still requires the user to provide a password.

Also forced a default user "daemon" to be returned by the
User class, as it prevents someone from finding valid users
on the remote host.
2014-03-01 13:07:04 -05:00
Florian Mounier
14caa88d19 Bind to localhost by default 2014-02-28 11:21:47 +01:00
Florian Mounier
d4bbdec781 Refactoring + better inline html integration 2014-02-06 18:00:51 +01:00
Florian Mounier
466c48b53f Fix zombies again, add some log and a program name in execvpe 2014-01-31 10:14:32 +01:00
Florian Mounier
0a14b94b1a Fix INET6 sockets 2014-01-30 14:32:15 +01:00