Shivaram Lingamneni
9000383f88
Move config errors to call sites
Since allocating them is rare.
3 年之前
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 年之前