Blob


1 version=pmwiki-2.2.130 ordered=1 urlencoded=1
2 agent=Mozilla/5.0 (X11; OpenBSD amd64; rv:82.0) Gecko/20100101 Firefox/82.0
3 author=jrmu
4 charset=UTF-8
5 csum=
6 ctime=1611543145
7 host=125.231.20.163
8 name=Openbsd.ZNCDaily
9 rev=27
10 targets=Debate.Dogfooding,Bouncer.Bouncer,Openbsd.Less,Openbsd.Ilines,Openbsd.Irssi,Ircnow.Networks
11 text=(:title Daily Maintenance for ZNC:)%0a%0aEvery admin should use his team's bouncer to make sure it works. [[debate/dogfooding|Eat your own dog food]]. See [[bouncer/bouncer|connection instructions]] for your IRC client.%0a%0aEach day, you should check for errors with your znc.%0a%0a[@%0a$ doas less /home/znc/home/znc/.znc/moddata/adminlog/znc.log%0a@]%0a%0aScroll to the bottom by typing G.%0a%0a[@%0a[2021-01-25 03:12:52] [user/network] disconnected from IRC%0a[2021-01-25 03:15:29] [user/network] disconnected from IRC%0a[2021-01-25 03:19:21] [user/network] disconnected from IRC%0a[2021-01-25 03:23:12] [user/network] disconnected from IRC%0a@]%0a%0aIf you see these repeating messages "disconnected from IRC", it means that znc is attempting to connect to a network but failing. This is a network error that you must fix.%0a%0a'''WARNING''': If you do not fix this problem, your ZNC will throttle all of its users, slowing down reconnections for everyone!%0a%0a!! G-lined%0a%0aUse [[openbsd/less|less]] to search through znc.log to find error messages like the following:%0a%0a[@%0a[2021-01-25 03:55:25] [user1/network] disconnected from IRC: irc.example.com [:Closing link: (user@fruit.ircnow.org) [G-Lined: This connection is not authorized on IRC Network - (ID: VL0GY6RV79)]]%0a@]%0a%0aThis shows that the network has G-lined fruit.ircnow.org from connecting. Because the vhost is fruit.ircnow.org and not unique (it's not user.fruit.ircnow.org), this address is most likely an IPv4 address that has been glined. You can either write to the admins to [[openbsd/ilines|request an iline]] or you can attempt to switch over to an IPv6 address and hope that is not banned.%0a%0aIf that does not work, you can disconnect the user. Connect to the bouncer (you must be an admin on ZNC), then issue the command:%0a%0a[@%0a/msg *controlpanel disconnect user network%0a@]%0a%0a!! Fixing a Network Configuration Error%0a%0aSometimes a disconnection error in znc.log is caused by bad network configuration:%0a%0a[@%0a[2021-01-25 03:06:24] [user/network] disconnected from IRC%0a[2021-01-25 03:14:09] [user/network] disconnected from IRC%0a@]%0a%0aLet's investigate the cause through the web panel:%0a%0a# Log in to the web panel to troubleshoot: https://bnc.fruit.ircnow.org/\\%0aAttach:znc1.png%0a# Click on the Manage Users link\\%0aAttach:znc2.png%0a# Click on the Edit link next to user1\\%0aAttach:znc3.png%0a# Scroll down and click on the Edit link next to the network globalirc-it:\\%0aAttach:znc4.png%0a# Check @@Servers of this IRC network@@:%0a # The server may be improperly configured. Check the hostname and port is correct. A port without a + sign is in plaintext, which is usually port 6667. A port with a + in front uses SSL, which is usually on port 6697. If the user tries to use SSL on plaintext port 6667, or plaintext on SSL-encrypted port 6697, ZNC will fail to connect. Please fix this for the user.%0a # The user may be connecting to a server that lacks [[openbsd/ilines|an iline]]. You will want to use the server addresses on the [[ircnow/networks]] page to get the servers with ilines. You can test if your IP has been glined by using [[openbsd/irssi|irssi]].%0a # The user may be attempting to use an IPv4 address when we should prefer an IPv6 address. Some networks will disallow IPv4 connections. Run @@$ host irc.example.com@@ to see if it returns an IPv4 address or only an IPv6 address. You will want to consult the [[ircnow/networks|networks list]] for IPv6-only hostnames.%0a # The user may be glined from the network for abuse. In this case, see the section on stopping abuse.%0a # The SSL cert may be expired. There are two solutions: manually add the SSL fingerprint to the @@SHA-256 fingerprint of trusted SSL certificates@@ or @@Trust All Certs@@ by clicking on @@Disable certificate validation@@. Trusting all certs is less secure but less work than manually adding, so I recommend trusting all certs.\\%0aAttach:znc5.png\\%0a# Click on @@Save and Continue@@\\%0aAttach:znc6.png%0a%0aYou should soon see a line similar to below in znc.log:%0a%0a[@%0a[2021-01-25 03:15:08] [user/network] connected to IRC: irc.example.com%0a@]%0a%0aThis indicates that @@user@@ successfully connected to @@network@@.%0a%0a!! Dealing with Abuse
12 time=1611574514
13 title=Daily Maintenance for ZNC
14 author:1611574514=jrmu
15 diff:1611574514:1611558483:=21,22d20%0a%3c %0a%3c '''WARNING''': If you do not fix this problem, your ZNC will throttle all of its users, slowing down reconnections for everyone!%0a
16 host:1611574514=125.231.20.163
17 author:1611558483=jrmu
18 diff:1611558483:1611558420:=73a74,84%0a> %0a> [2021-01-25 03:15:26] [user3/technet] disconnected from IRC%0a> [2021-01-25 03:19:18] [user3/technet] disconnected from IRC%0a> [2021-01-25 03:23:09] [user3/technet] disconnected from IRC%0a> %0a> %0a> %0a> %0a> 23:24 -!- ERROR Closing link: (unknown@198.251.81.119) [G-Lined: [TuSaiChi] This %0a> connection is not autorizzed on GlobalIRC Network - Questa connessione non e' %0a> autorizzata su GlobalIRC Network (ID: VL0GY6RV79)]%0a
19 host:1611558483=125.231.20.163
20 author:1611558420=jrmu
21 diff:1611558420:1611558260:=61c61%0a%3c # The user may be glined from the network for abuse. In this case, see the section on stopping abuse.%0a---%0a> # The user may be glined from the network for abuse. In this case, see the section on abuse.%0a66,73d65%0a%3c %0a%3c You should soon see a line similar to below in znc.log:%0a%3c %0a%3c [@%0a%3c [2021-01-25 03:15:08] [user/network] connected to IRC: irc.example.com%0a%3c @]%0a%3c %0a%3c This indicates that @@user@@ successfully connected to @@network@@.%0a
22 host:1611558420=125.231.20.163
23 author:1611558260=jrmu
24 diff:1611558260:1611558179:=
25 host:1611558260=125.231.20.163
26 author:1611558179=jrmu
27 diff:1611558179:1611557691:=47,48c47,48%0a%3c Let's investigate the cause through the web panel:%0a%3c %0a---%0a> Let's investigate user first:%0a> %0a59,60c59,60%0a%3c # The user may be connecting to a server that lacks [[openbsd/ilines|an iline]]. You will want to use the server addresses on the [[ircnow/networks]] page to get the servers with ilines. You can test if your IP has been glined by using [[openbsd/irssi|irssi]].%0a%3c # The user may be attempting to use an IPv4 address when we should prefer an IPv6 address. Some networks will disallow IPv4 connections. Run @@$ host irc.example.com@@ to see if it returns an IPv4 address or only an IPv6 address. You will want to consult the [[ircnow/networks|networks list]] for IPv6-only hostnames.%0a---%0a> # The user may be connecting to a server that lacks [[openbsd/ilines|an iline]]. You will want to use the server addresses on the [[ircnow/networks]] page to get the servers with ilines.%0a> # The user may be attempting to use an IPv4 address when we should prefer an IPv6 address. Some networks will disallow IPv4 connections%0a
28 host:1611558179=125.231.20.163
29 author:1611557691=jrmu
30 diff:1611557691:1611557657:=47c47%0a%3c Let's investigate user first:%0a---%0a> Let's investigate user1 first:%0a
31 host:1611557691=125.231.20.163
32 author:1611557657=jrmu
33 diff:1611557657:1611557427:=14,17c14,22%0a%3c [2021-01-25 03:12:52] [user/network] disconnected from IRC%0a%3c [2021-01-25 03:15:29] [user/network] disconnected from IRC%0a%3c [2021-01-25 03:19:21] [user/network] disconnected from IRC%0a%3c [2021-01-25 03:23:12] [user/network] disconnected from IRC%0a---%0a> [2021-01-25 03:12:52] [user1/globalirc-it] disconnected from IRC%0a> [2021-01-25 03:06:24] [user2/irchighway] disconnected from IRC%0a> [2021-01-25 03:14:09] [user2/irchighway] disconnected from IRC%0a> [2021-01-25 03:15:26] [user3/technet] disconnected from IRC%0a> [2021-01-25 03:15:29] [user1/globalirc-it] disconnected from IRC%0a> [2021-01-25 03:19:18] [user3/technet] disconnected from IRC%0a> [2021-01-25 03:19:21] [user1/globalirc-it] disconnected from IRC%0a> [2021-01-25 03:23:09] [user3/technet] disconnected from IRC%0a> [2021-01-25 03:23:12] [user1/globalirc-it] disconnected from IRC%0a27c32%0a%3c [2021-01-25 03:55:25] [user1/network] disconnected from IRC: irc.example.com [:Closing link: (user@fruit.ircnow.org) [G-Lined: This connection is not authorized on IRC Network - (ID: VL0GY6RV79)]]%0a---%0a> [2021-01-25 03:55:25] [user1/globalirc-it] disconnected from IRC: irc.globalirc.it [:Closing link: (user1@fruit.ircnow.org) [G-Lined: [TuSaiChi] This connection is not autorizzed on GlobalIRC Network - Questa connessione non e' autorizzata su GlobalIRC Network (ID: VL0GY6RV79)]]%0a30,37c35,38%0a%3c This shows that the network has G-lined fruit.ircnow.org from connecting. Because the vhost is fruit.ircnow.org and not unique (it's not user.fruit.ircnow.org), this address is most likely an IPv4 address that has been glined. You can either write to the admins to [[openbsd/ilines|request an iline]] or you can attempt to switch over to an IPv6 address and hope that is not banned.%0a%3c %0a%3c If that does not work, you can disconnect the user. Connect to the bouncer (you must be an admin on ZNC), then issue the command:%0a%3c %0a%3c [@%0a%3c /msg *controlpanel disconnect user network%0a%3c @]%0a%3c %0a---%0a> This shows that globalirc-it has G-lined fruit.ircnow.org from connecting. Because the vhost is not unique, this is most likely the IPv4 address that has been glined. You can either write to the admins to [[openbsd/ilines|request an iline]] or you can attempt to switch over to IPv6 and hope that is not banned.%0a> %0a> If that does not work, you can disconnect the user. Connect to the bouncer (you must be an admin on ZNC), %0a> %0a40,46d40%0a%3c Sometimes a disconnection error in znc.log is caused by bad network configuration:%0a%3c %0a%3c [@%0a%3c [2021-01-25 03:06:24] [user/network] disconnected from IRC%0a%3c [2021-01-25 03:14:09] [user/network] disconnected from IRC%0a%3c @]%0a%3c %0a66,69d59%0a%3c %0a%3c [2021-01-25 03:15:26] [user3/technet] disconnected from IRC%0a%3c [2021-01-25 03:19:18] [user3/technet] disconnected from IRC%0a%3c [2021-01-25 03:23:09] [user3/technet] disconnected from IRC%0a
34 host:1611557657=125.231.20.163
35 author:1611557427=jrmu
36 diff:1611557427:1611557374:=
37 host:1611557427=125.231.20.163
38 author:1611557374=jrmu
39 diff:1611557374:1611557240:=35,39c35,37%0a%3c This shows that globalirc-it has G-lined fruit.ircnow.org from connecting. Because the vhost is not unique, this is most likely the IPv4 address that has been glined. You can either write to the admins to [[openbsd/ilines|request an iline]] or you can attempt to switch over to IPv6 and hope that is not banned.%0a%3c %0a%3c If that does not work, you can disconnect the user. Connect to the bouncer (you must be an admin on ZNC), %0a%3c %0a%3c !! Fixing a Network Configuration Error%0a---%0a> This shows that globalirc-it has G-lined fruit.ircnow.org from connecting. Because the vhost is not unique, this is most likely the IPv4 address that has been glined. You can either write to the admins to [[openbsd/ilines|request an iline]] or you can attempt to switch over to IPv6.%0a> %0a> !! %0a
40 host:1611557374=125.231.20.163
41 author:1611557240=jrmu
42 diff:1611557240:1611557220:=
43 host:1611557240=125.231.20.163
44 author:1611557220=jrmu
45 diff:1611557220:1611556841:=25,38c25,26%0a%3c If you see these repeating messages "disconnected from IRC", it means that znc is attempting to connect to a network but failing. This is a network error that you must fix.%0a%3c %0a%3c !! G-lined%0a%3c %0a%3c Use [[openbsd/less|less]] to search through znc.log to find error messages like the following:%0a%3c %0a%3c [@%0a%3c [2021-01-25 03:55:25] [user1/globalirc-it] disconnected from IRC: irc.globalirc.it [:Closing link: (user1@fruit.ircnow.org) [G-Lined: [TuSaiChi] This connection is not autorizzed on GlobalIRC Network - Questa connessione non e' autorizzata su GlobalIRC Network (ID: VL0GY6RV79)]]%0a%3c @]%0a%3c %0a%3c This shows that globalirc-it has G-lined fruit.ircnow.org from connecting. Because the vhost is not unique, this is most likely the IPv4 address that has been glined. You can either write to the admins to [[openbsd/ilines|request an iline]] or you can attempt to switch over to IPv6.%0a%3c %0a%3c !! %0a%3c %0a---%0a> If you see these repeating messages "disconnected from IRC", it means that znc is attempting to connect to a network but failing. This is caused by a network configuration error.%0a> %0a55c43%0a%3c Attach:znc5.png\\%0a---%0a> Attach:znc5.png%0a58,60d45%0a%3c %0a%3c %0a%3c %0a
46 host:1611557220=125.231.20.163
47 author:1611556841=jrmu
48 diff:1611556841:1611548792:=38c38%0a%3c # The server may be improperly configured. Check the hostname and port is correct. A port without a + sign is in plaintext, which is usually port 6667. A port with a + in front uses SSL, which is usually on port 6697. If the user tries to use SSL on plaintext port 6667, or plaintext on SSL-encrypted port 6697, ZNC will fail to connect. Please fix this for the user.%0a---%0a> # The server may be improperly configured. + means SSL, which is usually on port 6697. If there is no +, it's plaintext, which is usually on port 6667. If the user tries to use SSL on plaintext port 6667, or plaintext on SSL-encrypted port 6697, ZNC will fail to connect. Please fix this for the user.%0a
49 host:1611556841=125.231.20.163
50 author:1611548792=jrmu
51 diff:1611548792:1611548563:=41,42c41%0a%3c # The user may be glined from the network for abuse. In this case, see the section on abuse.%0a%3c # The SSL cert may be expired. There are two solutions: manually add the SSL fingerprint to the @@SHA-256 fingerprint of trusted SSL certificates@@ or @@Trust All Certs@@ by clicking on @@Disable certificate validation@@. Trusting all certs is less secure but less work than manually adding, so I recommend trusting all certs.\\%0a---%0a> # The user may be glined from the network for abuse. In this case, see the section on abuse.\\%0a44c43%0a%3c # Click on @@Save and Continue@@\\%0a---%0a> %0a46,49d44%0a%3c %0a%3c 23:24 -!- ERROR Closing link: (unknown@198.251.81.119) [G-Lined: [TuSaiChi] This %0a%3c connection is not autorizzed on GlobalIRC Network - Questa connessione non e' %0a%3c autorizzata su GlobalIRC Network (ID: VL0GY6RV79)]%0a
52 host:1611548792=125.231.20.163
53 author:1611548563=jrmu
54 diff:1611548563:1611548478:=
55 host:1611548563=125.231.20.163
56 author:1611548478=jrmu
57 diff:1611548478:1611548294:=41d40%0a%3c # The user may be glined from the network for abuse. In this case, see the section on abuse.\\%0a44,46c43%0a%3c Attach:znc6.png%0a%3c %0a%3c !! Dealing with Abuse%0a\ No newline at end of file%0a---%0a> Attach:znc6.png%0a\ No newline at end of file%0a
58 host:1611548478=125.231.20.163
59 author:1611548294=jrmu
60 diff:1611548294:1611548154:=37c37%0a%3c # Check @@Servers of this IRC network@@:%0a---%0a> # Check @@Servers of this IRC network@@:\\%0a40c40%0a%3c # The user may be attempting to use an IPv4 address when we should prefer an IPv6 address. Some networks will disallow IPv4 connections%0a---%0a> # The user may be attempting to use an IPv4 address when we should prefer an IPv6 address.%0a
61 host:1611548294=125.231.20.163
62 author:1611548154=jrmu
63 diff:1611548154:1611548091:=39,40c39%0a%3c # The user may be connecting to a server that lacks [[openbsd/ilines|an iline]]. You will want to use the server addresses on the [[ircnow/networks]] page to get the servers with ilines.%0a%3c # The user may be attempting to use an IPv4 address when we should prefer an IPv6 address.%0a---%0a> # %0a
64 host:1611548154=125.231.20.163
65 author:1611548091=jrmu
66 diff:1611548091:1611547558:=37,39c37%0a%3c # Check @@Servers of this IRC network@@:\\%0a%3c # The server may be improperly configured. + means SSL, which is usually on port 6697. If there is no +, it's plaintext, which is usually on port 6667. If the user tries to use SSL on plaintext port 6667, or plaintext on SSL-encrypted port 6697, ZNC will fail to connect. Please fix this for the user.%0a%3c # %0a---%0a> # Check the servers.%0a41d38%0a%3c %0a
67 host:1611548091=125.231.20.163
68 author:1611547558=jrmu
69 diff:1611547558:1611547403:=27,29c27,28%0a%3c Let's investigate user1 first:%0a%3c %0a%3c # Log in to the web panel to troubleshoot: https://bnc.fruit.ircnow.org/\\%0a---%0a> Log in to the web panel to troubleshoot: https://bnc.fruit.ircnow.org/%0a> %0a31d29%0a%3c # Click on the Manage Users link\\%0a33d30%0a%3c # Click on the Edit link next to user1\\%0a35d31%0a%3c # Scroll down and click on the Edit link next to the network globalirc-it:\\%0a37d32%0a%3c # Check the servers.%0a
70 host:1611547558=125.231.20.163
71 author:1611547403=jrmu
72 diff:1611547403:1611546788:=
73 host:1611547403=125.231.20.163
74 author:1611546788=jrmu
75 diff:1611546788:1611546479:=29,34d28%0a%3c Attach:znc1.png%0a%3c Attach:znc2.png%0a%3c Attach:znc3.png%0a%3c Attach:znc4.png%0a%3c Attach:znc5.png%0a%3c Attach:znc6.png%0a\ No newline at end of file%0a
76 host:1611546788=125.231.20.163
77 author:1611546479=jrmu
78 diff:1611546479:1611545227:=27,28c27%0a%3c Log in to the web panel to troubleshoot: https://bnc.fruit.ircnow.org/%0a%3c %0a---%0a> To troubleshoot,%0a\ No newline at end of file%0a
79 host:1611546479=125.231.20.163
80 author:1611545227=jrmu
81 diff:1611545227:1611544785:=7,27c7%0a%3c [@%0a%3c $ doas less /home/znc/home/znc/.znc/moddata/adminlog/znc.log%0a%3c @]%0a%3c %0a%3c Scroll to the bottom by typing G.%0a%3c %0a%3c [@%0a%3c [2021-01-25 03:12:52] [user1/globalirc-it] disconnected from IRC%0a%3c [2021-01-25 03:06:24] [user2/irchighway] disconnected from IRC%0a%3c [2021-01-25 03:14:09] [user2/irchighway] disconnected from IRC%0a%3c [2021-01-25 03:15:26] [user3/technet] disconnected from IRC%0a%3c [2021-01-25 03:15:29] [user1/globalirc-it] disconnected from IRC%0a%3c [2021-01-25 03:19:18] [user3/technet] disconnected from IRC%0a%3c [2021-01-25 03:19:21] [user1/globalirc-it] disconnected from IRC%0a%3c [2021-01-25 03:23:09] [user3/technet] disconnected from IRC%0a%3c [2021-01-25 03:23:12] [user1/globalirc-it] disconnected from IRC%0a%3c @]%0a%3c %0a%3c If you see these repeating messages "disconnected from IRC", it means that znc is attempting to connect to a network but failing. This is caused by a network configuration error.%0a%3c %0a%3c To troubleshoot,%0a\ No newline at end of file%0a---%0a> #%0a\ No newline at end of file%0a
82 host:1611545227=125.231.20.163
83 author:1611544785=jrmu
84 diff:1611544785:1611544748:=3c3%0a%3c Every admin should use his team's bouncer to make sure it works. [[debate/dogfooding|Eat your own dog food]]. See [[bouncer/bouncer|connection instructions]] for your IRC client.%0a---%0a> Every admin should use his team's bouncer to make sure it works. [[debate/dogfooding|Eat your own dog food]].%0a
85 host:1611544785=125.231.20.163
86 author:1611544748=jrmu
87 diff:1611544748:1611543194:=3c3%0a%3c Every admin should use his team's bouncer to make sure it works. [[debate/dogfooding|Eat your own dog food]].%0a---%0a> Every minutemin should use the bouncer on their server to make sure.%0a
88 host:1611544748=125.231.20.163
89 author:1611543194=jrmu
90 diff:1611543194:1611543145:=3,7d2%0a%3c Every minutemin should use the bouncer on their server to make sure.%0a%3c %0a%3c Each day, you should check for errors with your znc.%0a%3c %0a%3c #%0a\ No newline at end of file%0a
91 host:1611543194=125.231.20.163
92 author:1611543145=jrmu
93 diff:1611543145:1611543145:=1,2d0%0a%3c (:title Daily Maintenance for ZNC:)%0a%3c %0a
94 host:1611543145=125.231.20.163