1
0
Fork 0
forked from emersion/soju
A user-friendly IRC bouncer
  • Go 99.5%
  • Makefile 0.3%
  • Shell 0.2%
Find a file
delthas 7c24ded875 Enable user impersonation with SASL
To impersonate a user, an admin user must login with SASL
PLAIN, and pass a user(/network@device) in the SASL identity
field.

Impersonating a user works exactly like logging as that user,
except for the following:
- the "idle" timestamps wrt user idle deactivation are not
  bumped
2024-09-17 22:08:35 +02:00
auth Migrate to Codeberg 2024-07-04 21:28:11 +02:00
cmd Migrate to Codeberg 2024-07-04 21:28:11 +02:00
config config: validate http-origin patterns 2024-02-13 18:54:35 +01:00
contrib contrib/znc-import: recommend using sojudb for changing user passwords 2024-07-31 20:08:41 +02:00
database Add per-user max-networks limit 2024-09-10 16:43:41 +02:00
doc Add per-user max-networks limit 2024-09-10 16:43:41 +02:00
fileupload fileupload: Fail early on file too large 2024-09-17 17:12:44 +02:00
identd identd: use UNKNOWN for OS name 2023-02-23 13:27:25 +01:00
msgstore Migrate to Codeberg 2024-07-04 21:28:11 +02:00
xirc xirc: fix chunking in GenerateSASL 2024-06-30 23:42:31 +02:00
.build.yml Migrate to Codeberg 2024-07-04 21:28:11 +02:00
.editorconfig Add .editorconfig 2020-11-30 11:39:41 +01:00
.gitignore gitignore: add doc/sojuctl.1 2023-04-05 10:56:36 +02:00
certfp.go Split CertFP logic into separate file 2021-10-08 09:47:25 +02:00
config.in Listen on the default unix admin endpoint in the default configuration 2023-02-06 15:15:09 +01:00
conn.go conn: rework concurrency logic 2024-08-18 07:58:28 +00:00
downstream.go Enable user impersonation with SASL 2024-09-17 22:08:35 +02:00
go.mod deps: replace nhooyr.io/websocket with github.com/coder/websocket 2024-08-17 09:12:37 -05:00
go.sum deps: replace nhooyr.io/websocket with github.com/coder/websocket 2024-08-17 09:12:37 -05:00
irc.go Migrate to Codeberg 2024-07-04 21:28:11 +02:00
irc_test.go Ignore highlights in URLs 2024-03-01 11:33:01 +01:00
LICENSE Switch license to AGPLv3 2020-02-07 17:41:51 +01:00
Makefile Migrate to Codeberg 2024-07-04 21:28:11 +02:00
rate.go Add exponential backoff when re-connecting to upstream 2021-12-02 12:14:35 +01:00
README.md Migrate to Codeberg 2024-07-04 21:28:11 +02:00
server.go server: close admin socket on CAP/NICK/USER/PASS 2024-08-18 18:35:42 +02:00
server_test.go Migrate to Codeberg 2024-07-04 21:28:11 +02:00
service.go Remove remaining comments about multi-upstream mode 2024-09-17 08:49:14 +02:00
service_test.go Hand-made word splitter for BouncerServ 2021-06-24 19:33:46 +02:00
upstream.go upstream: prevent notifications that don't cause messages 2024-08-14 13:07:58 +01:00
user.go Enable user impersonation with SASL 2024-09-17 22:08:35 +02:00

soju

soju is a user-friendly IRC bouncer. soju connects to upstream IRC servers on behalf of the user to provide extra functionality. soju supports many features such as multiple users, numerous IRCv3 extensions, chat history playback and detached channels. It is well-suited for both small and large deployments.

Usage

Building and installing

Dependencies:

  • Go
  • BSD or GNU make
  • a C89 compiler (optional, for SQLite)
  • scdoc (optional, for man pages)

For end users, a Makefile is provided:

make
sudo make install

For development, you can use go run ./cmd/soju as usual.

To link with the system libsqlite3, set GOFLAGS="-tags=libsqlite3". To disable SQLite support, set GOFLAGS="-tags=nosqlite". To use an alternative SQLite library that does not require CGO, set GOFLAGS="-tags=moderncsqlite". To build with PAM authentication support, set GOFLAGS="-tags=pam".

Contributing

Send patches on Codeberg or on GitHub, report bugs on the issue tracker. Discuss in #soju on Libera Chat.

License

AGPLv3, see LICENSE.

Copyright (C) 2020 The soju Contributors