README - irc - IRC client based on c9x.me/irc client
(HTM) git clone git://git.codemadness.org/irc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
README (1049B)
---
1 IRC client https://c9x.me/irc/
2 ===========================================================
3
4 This is a simple irc client, it requires the ncurses library to compile.
5
6 For usage information, read ./irc -h
7
8
9 TLS support is built-in using LibreSSL libtls, other options to use TLS are
10 using a proxy daemon like relayd or socat.
11
12
13 TLS support using relayd
14 ------------------------
15
16 This sets up a relay TCP connection on localhost. This
17 way you can connect using a more secure TLS connection
18 with a IRC program that doesn't have TLS support builtin.
19
20
21 /etc/relayd.conf:
22
23 table <freenode> { irc.freenode.net }
24 table <oftc> { irc.oftc.net }
25
26 protocol "irctls" {
27 tcp { nodelay, sack }
28 }
29
30 relay "freenode" {
31 listen on 127.0.0.1 port 6668
32 protocol "irctls"
33 forward with tls to <freenode> port 6697
34 }
35
36 relay "oftc" {
37 listen on 127.0.0.1 port 6669
38 protocol "irctls"
39 forward with tls to <oftc> port 6697
40 }
41
42
43 Then connect:
44
45 ./irc -n nick -u name -s 127.0.0.1 -p 6668
46 ./irc -n nick -u name -s 127.0.0.1 -p 6669