Domain registry, domain hosting and static HTTP hosting
Find a file
Miraty 567034b8fe Fix regDeleteDomain security flaw + D regex modifier
regDeleteDomain() in fn/reg.php used too loose pattern matching for data deletion, that also deleted other domains that included the deleted domain
2022-11-20 18:17:03 +01:00
css Direct zone file edition through <textarea> 2022-11-20 01:05:03 +01:00
db Add account types (testing or trusted) 2022-11-07 19:40:40 +01:00
fn Fix regDeleteDomain security flaw + D regex modifier 2022-11-20 18:17:03 +01:00
pages Fix regDeleteDomain security flaw + D regex modifier 2022-11-20 18:17:03 +01:00
.gitignore Remove niver.log 2022-06-10 03:14:58 +02:00
config.ini Fix regDeleteDomain security flaw + D regex modifier 2022-11-20 18:17:03 +01:00
form.ns.php Direct zone file edition through <textarea> 2022-11-20 01:05:03 +01:00
LICENSE.md Set CNPLv7+ as license 2022-08-29 19:19:13 +02:00
pages.php Direct zone file edition through <textarea> 2022-11-20 01:05:03 +01:00
README.md Use single quotes instead of double quotes 2022-11-20 15:11:54 +01:00
router.php Use single quotes instead of double quotes 2022-11-20 15:11:54 +01:00
sftpgo-auth.php Use single quotes instead of double quotes 2022-11-20 15:11:54 +01:00

Niver

Niver is a set of 3 network services:

  • Public suffix registry
  • Nameserver
  • Static HTTP site hosting

Demo

https://niver.4.niv.re/

Status

I plan to create and maintain a public stable instance of Niver, but I haven't done so yet. Thus Niver is not yet tested with real world and long-term usages, and is alpha software.

Detailed features

Public suffix registry (reg)

  • Register a subdomain of the registry
  • Set domain's nameservers
  • Set a DS record to enable DNSSEC
  • Set Glue records
  • Display your records

Nameserver (ns)

  • Host a zone on the server
  • Zone file edition through <textarea>
  • Dedicated forms to set/unset A, AAAA, NS, TXT, CAA, SRV, MX, SRV, SSHFP, TLSA, CNAME, DNAME and LOC records
  • Display your records or the full zone file

HTTP hosting (ht)

  • Upload your site's files using SFTP
  • Host a static site with a domain name and a Let's Encrypt certificate
  • Host a static site with an Onion service (through Tor)

Todo

See the issue tracker.

Software used

PHP
main language
SQLite
accounts data storage
Knot DNS
DNS server for both registry and DNS hosting
sudo 1.9.10+
execute actions that match a regex as privileged or specific users
SFTPGo
upload sites files using SFTP
nginx
static HTTP server
Tor
Onion services
Certbot
get Let's Encrypt certificates for TLS
GNU Core Utilities
manipulate the filesystem through sudo
systemd
reload Tor and nginx services when configuration is changed when a site is added/deleted

Installation

There is currently no proper documentation to install Niver, but you can create a system image or look at configuration files and scripts from niver-mkosi.

Contribute

Direct contact details

See https://miraty.antopie.org/.

License

Niver is ethical libre software: you can use, redistribute or modify it under the terms of the CNPL-NAv7+ as found in LICENSE.md or at https://git.pixie.town/thufie/npl-builder.