Explorar el Código

Merge pull request #553 from oragono/changelog

manual and changelog updates
tags/v1.1.0-rc1
Shivaram Lingamneni hace 5 años
padre
commit
546d52d4eb
No account linked to committer's email address
Se han modificado 4 ficheros con 162 adiciones y 20 borrados
  1. 86
    1
      CHANGELOG.md
  2. 7
    5
      README.md
  3. 64
    7
      docs/MANUAL.md
  4. 5
    7
      oragono.yaml

+ 86
- 1
CHANGELOG.md Ver fichero

@@ -1,7 +1,92 @@
1 1
 # Changelog
2 2
 All notable changes to Oragono will be documented in this file.
3 3
 
4
-This project adheres to [Semantic Versioning](http://semver.org/). For the purposes of versioning, we consider the "public API" to refer to the configuration files, CLI interface and database format.
4
+## [1.1.0-rc1] - 2019-06-11
5
+We're pleased to be publishing the release candidate for 1.1.0 (the official release should follow in a week or two, with more complete credits). This version has a number of exciting improvements, including:
6
+
7
+* Simplified commands for registering new accounts with NickServ.
8
+* Support for IP cloaking.
9
+* Support for attaching multiple clients to the same nickname.
10
+* Support for the newly ratified [message tags](https://ircv3.net/specs/extensions/message-tags.html) and [message ID](https://ircv3.net/specs/extensions/message-ids.html) IRCv3 specifications; client developers are invited to use Oragono as a reference when implementing these specifications.
11
+* Support for running Oragono as a Tor hidden service.
12
+
13
+This release includes a database change. If you have `datastore.autoupgrade` set to `true` in your configuration, it will be automatically applied when you restart Oragono; otherwise, you can update the database manually by running `oragono upgradedb`.
14
+
15
+### Config changes
16
+* `tor-listeners` section added for configuring listeners for use with Tor.
17
+* `compatibility` section added for toggling compatibility behaviors for legacy clients.
18
+* `ip-cloaking` section added for configuring cloaking.
19
+* `bouncer` section added for configuring bouncer-like features (in particular, whether multiple clients can use the same nickname).
20
+* `check-ident` now defaults to `false`.
21
+* `nick-reservation.method` now defaults to `"strict"`.
22
+* `fakelag.enabled` now defaults to `true`
23
+* `limits.linelen.tags` removed due to ratification of the [message-tags spec](https://ircv3.net/specs/extensions/message-tags.html), which fixes the maximum tags length at 8191 bytes.
24
+* `limits.registration-messages` added to restrict how many messages a user can send to the server during connection registration (while connecting to the server).
25
+* `channels.operator-only-creation` added to optionally restrict creation of new channels to ircops (#537).
26
+
27
+### Security
28
+* Users can no longer impersonate network services like ChanServ by using confusing nicks like "ChɑnServ" (#519, thanks [@csmith](https://github.com/csmith)!).
29
+* Secret channels (mode `+s`) now act more secret (#380, thanks [@csmith](https://github.com/csmith)!).
30
+* The `+R` (registered-only) mode now prevents unregistered users from joining the channel, not just from speaking (#463, thanks [@bogdomania](https://github.com/bogdomania)!).
31
+* Limited how many messages clients can send during connection registration to mitigate potential DoS attacks (#505).
32
+* Attempting to reauthenticate with SASL now fails with `907 ERR_SASLALREADY` (#476).
33
+
34
+### Fixed
35
+* Fixed `/ISON` command reporting users as always being online (#479).
36
+* Fixed clients who negotiated CAP version 302 or higher not receiving cap-notify messages (#464).
37
+* We now treat channel privileges such as halfop more consistently (#400).
38
+* Fixed a bug where clients could receive message tags they hadn't enabled (#434).
39
+* When replaying history, messages now have more consistent IDs and timestamps
40
+* IDs and timestamps are now applied more consistently to messages (#388, #477, #483).
41
+* Client-to-client tags are now stored and replayed in message history (#437).
42
+* Fixed various error numerics that were being sent with incorrect parameters (#425, thanks [@Ascrod](https://github.com/Ascrod)!).
43
+* Fixed STATUSMSG not adding the correct prefix to the channel when relaying the message (#467).
44
+* Fixed `/RENAME` command not correctly renaming the channel for some users (#300, thanks [@jesopo](https://github.com/jesopo)!).
45
+* History playback is now batched when applicable (#456, thanks [@transitracer](https://github.com/oragono/oragono/issues/456)!).
46
+* Notices from NickServ/ChanServ/etc should display better in some clients (#496, thanks [@jwheare](https://github.com/jwheare)!).
47
+* Fixed nickname timer warnings not displaying correctly sometimes (#449, thanks [@bogdomania](https://github.com/bogdomania)!).
48
+* When history playback is disabled, the `/HISTORY` command now says so instead of silently failing (#429, thanks [@bogdomania](https://github.com/bogdomania)!).
49
+* The `/HOSTSERV ON/OFF` commands now tell you when you don't have a vhost (#404, thanks [@bogdomania](https://github.com/bogdomania)!).
50
+* When operators use the `/SANICK` command, the snomask now says which operator did it instead of saying the target changed their nickname themselves (#360, thanks [@bogdomania](https://github.com/bogdomania)!).
51
+* History playback now includes messages that the user sent themselves (especially useful with the new bouncer-like capabilities) (#487).
52
+
53
+### Added
54
+* IP cloaking is now supported (see the manual for details) (#108).
55
+* Users can now attach multiple clients to the same nickname (see the manual for details) (#403).
56
+* Oragono can now be used as a Tor hidden service (see the manual for details) (#369).
57
+* The `znc.in/playback` capability is now supported, which can automate history playback for clients that support it (#486).
58
+* User preference system controlling various behaviors (`/msg NickServ help set` for details) (#466).
59
+* Support for the [draft/event-playback](https://github.com/DanielOaks/ircv3-specifications/blob/master+event-playback/extensions/batch/history.md) spec (#457).
60
+* The `TAGMSG` and `NICK` messages are now replayable in history (#457).
61
+* Added the draft IRCv3 [`SETNAME` command](https://ircv3.net/specs/extensions/setname) for changing your realname (#372).
62
+
63
+### Changed
64
+* Registering an account with NickServ is now `/msg NickServ register <password>`, which registers the current nickname as an account, matching other services (#410).
65
+* Added a compatibility hack to make SASL work with ZNC 1.6.x (#261).
66
+* We now support the ratified [message-tags](https://ircv3.net/specs/extensions/message-tags.html) spec, replacing `draft/message-tags-0.2`.
67
+* We now support the ratified [message IDs](https://ircv3.net/specs/extensions/message-ids.html) spec, replacing `draft/msgid`.
68
+* The [`oragono.io/maxline-2`](https://oragono.io/maxline-2) capability has replaced `oragono.io/maxline`, the new version now working alongside the ratified message-tags spec (#433).
69
+* We now support [`draft/resume-0.5`](https://github.com/ircv3/ircv3-specifications/pull/306) and the associated `BRB` command, replacing `draft/resume-0.3`.
70
+* Upgraded support for the `/RENAME` command to the [latest draft of the specification](https://github.com/ircv3/ircv3-specifications/pull/308).
71
+* Upgraded support for the `/ACC` command to the [latest draft of the specification](https://github.com/DanielOaks/ircv3-specifications/blob/register-and-verify/extensions/acc-core.md) (#453, #455).
72
+* Removed the `+a` away mode as no other servers use it (#468, thanks [@jesopo](https://github.com/jesopo) and [@jwheare](https://github.com/jwheare)!).
73
+* Forcing trailing parameters for legacy compatibility can now be disabled in config (#479).
74
+* `autoreplay-on-join` no longer replays `JOIN` and `PART` lines by default (#474, thanks [@amyspark](https://github.com/amyspark)!).
75
+* snomasks are no longer sent for unregistered clients (#362, thanks [@bogdomania](https://github.com/bogdomania)!).
76
+* `WHOIS` responses no longer include the `690 RPL_WHOISLANGUAGE` numeric, as it doesn't show anything useful to other users (#516).
77
+* `ISON` now reports services (ChanServ/NickServ/etc) as online (#488).
78
+* All times are now reported in UTC (#480).
79
+* `NICKSERV ENFORCE` is deprecated in favor of the new `NICKSERV SET ENFORCE` (the old syntax is still available as an alias).
80
+* The `WHO` command is now treated like `PONG` in that it doesn't count as user activity, since client software often uses it automatically (#485).
81
+* The `NAMES` command now only returns results for the first given channel (#534).
82
+
83
+### Internal Notes
84
+* Building Oragono is now easier (#409).
85
+* Official builds now use Go 1.12 (#406).
86
+* Our message building and parsing code is slightly faster now (#387).
87
+* Added the [`oragono.io/nope`](https://oragono.io/nope) capability to encourage clients to request capabilities safely (#511).
88
+* Made some previously untranslatable strings translatable (#407).
89
+* Fixed portability issues with 32-bit architectures (#527).
5 90
 
6 91
 
7 92
 ## [1.0.0] - 2019-02-24

+ 7
- 5
README.md Ver fichero

@@ -22,15 +22,17 @@ Oragono is a fork of the [Ergonomadic](https://github.com/edmund-huber/ergonomad
22 22
 * UTF-8 nick and channel names with rfc7613 (PRECIS)
23 23
 * [yaml](http://yaml.org/) configuration
24 24
 * native TLS/SSL support
25
-* server password (`PASS` command)
25
+* updating server config and TLS certificates on-the-fly (rehashing)
26
+* user accounts and SASL
27
+* supports [multiple languages](https://crowdin.com/project/oragono) (you can also set a default language for your network)
28
+* integrated services: NickServ for user accounts, ChanServ for channel registration, and HostServ for vanity hosts
29
+* experimental support for bouncer-like features (storing and replaying history, allowing multiple clients to use the same nickname)
30
+* advanced security and privacy features (support for requiring SASL for all logins, cloaking IPs, and running as a Tor hidden service)
26 31
 * an extensible privilege system for IRC operators
27 32
 * ident lookups for usernames
28 33
 * automated client connection limits
29
-* on-the-fly updating server config and TLS certificates (rehashing)
30
-* client accounts and SASL
31
-* passwords stored with [bcrypt](https://godoc.org/golang.org/x/crypto) (client account passwords also salted)
34
+* passwords stored with [bcrypt](https://godoc.org/golang.org/x/crypto)
32 35
 * banning ips/nets and masks with `KLINE` and `DLINE`
33
-* supports [multiple languages](https://crowdin.com/project/oragono) (you can also set a default language for your network)
34 36
 * [IRCv3 support](http://ircv3.net/software/servers.html)
35 37
 * a heavy focus on developing with [specifications](https://oragono.io/specs.html)
36 38
 

+ 64
- 7
docs/MANUAL.md Ver fichero

@@ -5,10 +5,10 @@
5 5
     ▐█▌.▐▌▐█•█▌▐█ ▪▐▌▐█▄▪▐█▐█▌ ▐▌██▐█▌▐█▌.▐▌
6 6
      ▀█▄▀▪.▀  ▀ ▀  ▀ ·▀▀▀▀  ▀█▄▀ ▀▀ █▪ ▀█▄▀▪
7 7
 
8
-         Oragono IRCd Manual 2019-02-23
8
+         Oragono IRCd Manual 2019-06-12
9 9
               https://oragono.io/
10 10
 
11
-_Copyright © 2018 Daniel Oaks <daniel@danieloaks.net>_
11
+_Copyright © Daniel Oaks <daniel@danieloaks.net>, Shivaram Lingamneni <slingamn@cs.stanford.edu>_
12 12
 
13 13
 
14 14
 --------------------------------------------------------------------------------------------
@@ -18,6 +18,7 @@ _Copyright © 2018 Daniel Oaks <daniel@danieloaks.net>_
18 18
 
19 19
 - Introduction
20 20
     - Project Basics
21
+    - Scalability
21 22
 - Installing
22 23
     - Windows
23 24
     - macOS / Linux / Raspberry Pi
@@ -26,6 +27,8 @@ _Copyright © 2018 Daniel Oaks <daniel@danieloaks.net>_
26 27
         - Nickname reservation
27 28
     - Channel Registration
28 29
     - Language
30
+    - Bouncer
31
+    - History
29 32
     - IP cloaking
30 33
 - Frequently Asked Questions
31 34
 - Modes
@@ -46,14 +49,14 @@ _Copyright © 2018 Daniel Oaks <daniel@danieloaks.net>_
46 49
 
47 50
 This document goes over the Oragono IRC server, how to get it running and how to use it once it is up and running!
48 51
 
49
-If you have any suggestions, issues or questions, feel free to submit an issue on our [GitHub repo](https://github.com/oragono/oragono/) or ask in our channel [`#oragono` on Freenode](ircs://irc.freenode.net:6697/#oragono).
52
+If you have any suggestions, issues or questions, feel free to submit an issue on our [GitHub repo](https://github.com/oragono/oragono/) or ask in our channel [`#oragono` on freenode](ircs://irc.freenode.net:6697/#oragono).
50 53
 
51 54
 
52 55
 ## Project Basics
53 56
 
54 57
 Let's go over some basics, for those new to Oragono. My name's Daniel, and I started the project (it was forked off a server called [Ergonomadic](https://github.com/edmund-huber/ergonomadic) that'd been around for a number of years). In addition to Oragono, I also do a lot of IRC specification work with the [various](https://modern.ircdocs.horse) [ircdocs](https://defs.ircdocs.horse) [projects](https://ircdocs.horse/specs/) and with the [IRCv3 Working Group](https://ircv3.net/).
55 58
 
56
-Oragono's a new IRC server, written from scratch. My main goals when starting the project was to write a server that:
59
+My main goals when starting the project were to write a server that:
57 60
 
58 61
 - Is fully-functional.
59 62
 - I can use to very easily prototype new [IRCv3](https://ircv3.net/) proposals and features.
@@ -68,6 +71,17 @@ Some of the features that sets Oragono apart from other servers are:
68 71
 - Integrated user account and channel registration system (no services required!).
69 72
 - Native Unicode support (including appropriate casemapping).
70 73
 - Support for [multiple languages](https://crowdin.com/project/oragono).
74
+- Bouncer-like features, including allowing multiple clients to use the same nickname
75
+
76
+Oragono has multiple communities using it as a day-to-day chat server and is fairly mature --- we encourage you to consider it for your community!
77
+
78
+## Scalability
79
+
80
+We believe Oragono should scale comfortably to 10,000 clients and 2,000 clients per channel, making it suitable for small to medium-sized teams and communities. Oragono does not currently support server-to-server linking (federation), meaning that all clients must connect to the same instance. However, since Oragono is implemented in Go, it is reasonably effective at distributing work across multiple cores on a single server; in other words, it should "scale up" rather than "scaling out".
81
+
82
+In the relatively near term, we plan to make Oragono [highly available](https://github.com/oragono/oragono/issues/343), and in the long term, we hope to support [federation](https://github.com/oragono/oragono/issues/26) as well.
83
+
84
+If you're interested in deploying Oragono at scale, or want performance tuning advice, come find us on [`#oragono` on freenode](ircs://irc.freenode.net:6697/#oragono), we're very interested in what our software can do!
71 85
 
72 86
 
73 87
 --------------------------------------------------------------------------------------------
@@ -117,6 +131,20 @@ If you're using Arch, the abovementioned AUR package bundles a systemd file for
117 131
 On a non-systemd system, oragono can be configured to log to a file and used [logrotate(8)](https://linux.die.net/man/8/logrotate), since it will reopen its log files (as well as rehashing the config file) upon receiving a SIGHUP.
118 132
 
119 133
 
134
+## Upgrading to a new version of Oragono
135
+
136
+As long as you are using official releases or release candidates of Oragono, any backwards-incompatible changes should be described in the changelog.
137
+
138
+The database is versioned; upgrades that involve incompatible changes to the database require updating the database. If you have `datastore.autoupgrade` enabled in your config, the database will be backed up and upgraded when you restart your server when required. Otherwise, you can apply upgrades manually:
139
+
140
+1. Stop your server
141
+1. Make a backup of your database file
142
+1. Run `oragono upgradedb` (from the same working directory and with the same arguments that you would use when running `oragono run`)
143
+1. Start the server again
144
+
145
+If you want to run our master branch as opposed to our releases, come find us in our channel and we can guide you around any potential pitfalls.
146
+
147
+
120 148
 --------------------------------------------------------------------------------------------
121 149
 
122 150
 
@@ -174,8 +202,8 @@ To enable this mode, set the following configs:
174 202
 
175 203
 The following additional configs may be of interest:
176 204
 
177
-* `accounts.nick-reservation.method = timeout` ; setting `strict` here effectively forces people to use SASL, and some popular clients either do not support SASL, or have bugs in their SASL implementations.
178
-* `accounts.nick-reservation.allow-custom-enforcement = true` ; this allows people to opt into strict enforcement or opt out of enforcement as they wish. For details on how to do this, `/msg NickServ help enforce`.
205
+* `accounts.nick-reservation.method = strict` ; we currently recommend strict nickname enforcement as the default, since we've found that users find it less confusing.
206
+* `accounts.nick-reservation.allow-custom-enforcement = true` ; this allows people to opt into timeout-based enforcement or opt out of enforcement as they wish. For details on how to do this, `/msg NickServ help set`.
179 207
 
180 208
 ### SASL-only mode
181 209
 
@@ -243,6 +271,28 @@ The above will change the server language to Romanian, with a fallback to Chines
243 271
 Our language and translation functionality is very early, so feel free to let us know if there are any troubles with it! If you know another language and you'd like to contribute, we've got a CrowdIn project here: [https://crowdin.com/project/oragono](https://crowdin.com/project/oragono)
244 272
 
245 273
 
274
+## Bouncer
275
+
276
+Traditionally, every connection to an IRC server is separate must use a different nickname. [Bouncers](https://en.wikipedia.org/wiki/BNC_%28software%29#IRC) are used to work around this, by letting multiple clients connect to a single nickname. With Oragono, if the server is configured to allow it, multiple clients can share a single nickname without needing a bouncer. To use this feature, both connections must authenticate with SASL to the same user account and then use the same nickname during connection registration (while connecting to the server) – once you've logged-in, you can't share another nickname.
277
+
278
+To enable this functionality, set `accounts.bouncer.enabled` to `true`. Setting `accounts.bouncer.allowed-by-default` to `true` will allow this for everyone – by default, users need to opt-in to shared connections using `/msg NickServ SET BOUNCER`.
279
+
280
+You can see a list of your active sessions and their idle times with `/msg NickServ sessions` (network operators can use `/msg NickServ sessions nickname` to see another user's sessions).
281
+
282
+
283
+## History
284
+
285
+Oragono can store a limited amount of message history in memory and replay it, which is useful for covering brief disconnections from IRC. You can access this using the `/HISTORY` command (depending on your client, you may need to use `/QUOTE history` instead), for example `/HISTORY #mychannel 100` to get the 100 latest messages from `#mychannel`.
286
+
287
+Server administrators can configure `history.autoreplay-on-join` to automatically send clients a fixed number of history lines when they join a channel. Users can use `/msg NickServ set autoreplay-lines` to opt in or out of this behavior.
288
+
289
+We are working on a number of improvements to this functionality:
290
+
291
+* We currently emulate the ZNC playback module for clients that have special ZNC support (see the "ZNC" section below)
292
+* The [`/CHATHISTORY`](https://github.com/ircv3/ircv3-specifications/pull/349) command will be a standardized way for clients to request history lines
293
+* [Connection resuming](https://github.com/ircv3/ircv3-specifications/pull/306), which we support in draft form, automatically replays history lines to clients who return after a brief disconnection
294
+
295
+
246 296
 ## IP cloaking
247 297
 
248 298
 Unlike many other chat and web platforms, IRC traditionally exposes the user's IP and hostname information to other users. This is in part because channel owners and operators (who have privileges over a single channel, but not over the server as a whole) need to be able to ban spammers and abusers from their channels, including via hostnames in cases where the abuser tries to evade the ban.
@@ -648,6 +698,13 @@ Instructions on how client software should connect to an .onion address are outs
648 698
 1. Pidgin should work with [torsocks](https://trac.torproject.org/projects/tor/wiki/doc/torsocks).
649 699
 
650 700
 
701
+## ZNC
702
+
703
+ZNC 1.6.x (still pretty common in distros that package old versions of IRC software) has a [bug](https://github.com/znc/znc/issues/1212) where it fails to recognize certain SASL messages. Oragono supports a compatibility mode that works around this to let ZNC complete the SASL handshake: this can be enabled with `server.compatibility.send-unprefixed-sasl`.
704
+
705
+Oragono can emulate certain capabilities of the ZNC bouncer for the benefit of clients, in particular the third-party [playback](https://wiki.znc.in/Playback) module. This enables clients with specific support for ZNC to receive selective history playback automatically. To configure this in [Textual](https://www.codeux.com/textual/), go to "Server properties", select "Vendor specific", uncheck "Do not automatically join channels on connect", and check "Only play back messages you missed". Other clients with support are listed on ZNC's wiki page.
706
+
707
+
651 708
 --------------------------------------------------------------------------------------------
652 709
 
653 710
 
@@ -657,4 +714,4 @@ Always, thanks to Jeremy Latt for creating Ergonomadic. Thanks for Edmund Huber
657 714
 
658 715
 Thanks to Euan Kemp (euank) for the contributions and help with this, along with other projects, and to James Mills, Vegax and Sean Enck for various other help and contributions on the server.
659 716
 
660
-And a massive thanks to Shivaram Lingamneni (slingamn) for being an awesome co-maintainer of Oragono! You really convinced me to step up with this and take it forward in a big way, and I'm grateful for that.
717
+And a massive thanks to Shivaram Lingamneni (slingamn) for being an amazing co-maintainer of Oragono! You've contributed a lot to Oragono, and really convinced me to step up with this and take the server forward in a big way. I'm grateful for everything you've done, and working with ya' is a pleasure.

+ 5
- 7
oragono.yaml Ver fichero

@@ -96,8 +96,8 @@ server:
96 96
     # you should also add these addresses to the connection limits and throttling exemption lists
97 97
     proxy-allowed-from:
98 98
         # - localhost
99
-        # - "127.0.0.1"
100
-        # - "127.0.0.1/8"
99
+        # - "192.168.1.1"
100
+        # - "192.168.10.1/24"
101 101
 
102 102
     # controls the use of the WEBIRC command (by IRC<->web interfaces, bouncers and similar)
103 103
     webirc:
@@ -113,9 +113,8 @@ server:
113 113
             # you should also add these addresses to the connection limits and throttling exemption lists
114 114
             hosts:
115 115
                 # - localhost
116
-                # - "127.0.0.1"
117
-                # - "127.0.0.1/8"
118
-                # - "0::1"
116
+                # - "192.168.1.1"
117
+                # - "192.168.10.1/24"
119 118
 
120 119
     # allow use of the RESUME extension over plaintext connections:
121 120
     # do not enable this unless the ircd is only accessible over internal networks
@@ -284,7 +283,6 @@ accounts:
284 283
         # IPs/CIDRs which are exempted from the account requirement
285 284
         exempted:
286 285
             - "localhost"
287
-            # - '127.0.0.2'
288 286
             # - '10.10.0.0/16'
289 287
 
290 288
     # nick-reservation controls how, and whether, nicknames are linked to accounts
@@ -568,7 +566,7 @@ limits:
568 566
 # fakelag: prevents clients from spamming commands too rapidly
569 567
 fakelag:
570 568
     # whether to enforce fakelag
571
-    enabled: false
569
+    enabled: true
572 570
 
573 571
     # time unit for counting command rates
574 572
     window: 1s

Loading…
Cancelar
Guardar