Shivaram Lingamneni
7726160ec7
add a config switch to accept hostnames from WEBIRC
See #1686 ; this allows i2pd to pass the i2p address to Ergo, which may be
useful for moderation under some circumstances.
3ヶ月前
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
3年前
Shivaram Lingamneni
84e3b5d77b
stop autocreating d-lines for throttle violations
This didn't work correctly for IPv6 or custom nets.
/UNDLINE IP can temporarily be used to reset the throttle.
3年前
Shivaram Lingamneni
3062f97c2b
fix #1389
Support PROXY protocol v2, including ahead of plaintext connections
3年前
Shivaram Lingamneni
1a9f501383
fix #414
3年前
Shivaram Lingamneni
f3cdf8442a
pass the require-sasl message through from the script
3年前
Shivaram Lingamneni
1a98a37a75
scripting API for IP bans
See discussion on #68 .
3年前
Shivaram Lingamneni
9000383f88
Move config errors to call sites
Since allocating them is rare.
4年前
Shivaram Lingamneni
01bd04a8ff
fix #1050
4年前
Shivaram Lingamneni
89984f9c36
fix untrusted PROXY lines being accepted
As of 3dc5c8de78 , the PROXY-before-TLS proxy line
and any proxy information carried in X-Forwarded-For
do not count as the "first line", so an additional
client-supplied PROXY line would have been accepted.
4年前
Shivaram Lingamneni
3dc5c8de78
more work on websocket support
4年前
Shivaram Lingamneni
f4f7a8afaa
shorten type names to 10 chars
4年前
Shivaram Lingamneni
ad32356e34
move authentication data from Client to Session
4年前
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
4年前
Shivaram Lingamneni
f920d3b79f
fix #530, #721
4年前
Shivaram Lingamneni
3480f124cd
fix #688
4年前
Shivaram Lingamneni
50783d5276
fix #561, take 2
4年前
Shivaram Lingamneni
f6eb8fa5a1
fix #197
4年前
Shivaram Lingamneni
316d45917d
pass the correct quit message when a proxied client is banned
If you were banned and the ban was only detected when you proxied
(because you were proxying from a DLINE'd IP), you'd get an incorrect
quit message: `QUIT: Bad or unauthorized PROXY command`. This propagates
the correct ban message as the quit line.
5年前
Shivaram Lingamneni
c28e6d13f9
implement ip cloaking
5年前
Shivaram Lingamneni
da656c07c8
add NICKSERV SESSIONS command to list sessions
5年前
Shivaram Lingamneni
c2faeed4b5
initial implementation of bouncer functionality
5年前
Shivaram Lingamneni
b0f89062fa
add support for tor (#369)
5年前
Shivaram Lingamneni
0d2cf21cec
clean something up in ApplyProxiedIP
5年前
Shivaram Lingamneni
1c23af8767
add sasl-only config option
5年前
Shivaram Lingamneni
10d4f77638
fix PROXY protocol support for IPv6
1. Handle PROXY lines with IPv6 addresses starting with ::
(similar to WEBIRC in issue #211 )
2. Strip v6 mapping from v4 addresses when handling proxied IPs.
5年前
Shivaram Lingamneni
eb5f2c1db9
fix webirc password handling
6年前
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
6年前
Shivaram Lingamneni
cc9941cb07
review fixes, bug fixes
6年前
Shivaram Lingamneni
fad2475c3f
modes refactor, #255
6年前
Daniel Oaks
2419f69879
Move all errors into errors.go
6年前
Daniel Oaks
3634d0601e
Split modes into a subpackage (this is painful, but will force us to simplify and improve the API for interacting with modes)
6年前
Daniel Oaks
afd6ca610c
Split language into a subpackage
6年前
Daniel Oaks
47d2ce351c
Centralise all command handlers in handlers.go
6年前
Shivaram Lingamneni
2a7f055ef3
support unix domain sockets
6年前
Shivaram Lingamneni
2d6ddf7eb9
kiwi's gateway uses the flag `secure` instead of `tls`
6年前
Shivaram Lingamneni
b7f66fb1de
allow WEBIRC to set the TLS flag over local plaintext connections
6年前
Shivaram Lingamneni
09a17b32be
disallow WEBIRC after PROXY
6年前
Daniel Oaks
275227a461
Make like every client-facing string translatable
6年前
Shivaram Lingamneni
7ccb485b50
add two getters
6年前
Daniel Oaks
b0649cb5d3
WEBIRC: Allow protecting with fingerprint and parse `tls` flag
6年前
Daniel Oaks
e1868f8a47
WEBIRC: Export fields so the config loads properly
6年前
Daniel Oaks
34987ba53a
Allow WEBIRC from specified hosts
6年前