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=1613134080
7 host=198.251.81.119
8 name=Oidentd.Install
9 rev=5
10 targets=Oidentd.ZNC
11 text=(:title Installing oidentd:)%0a%0aoidentd helps provide ident, which is necessary if you're providing a public bouncer or shell account. Ident helps you uniquely identify your users on IRC. Even if a user changes his nick, you can figure out which user it was on your system based on his ident. This makes it easier to prevent abuse.%0a%0aFirst, we install oidentd:%0a%0a[@%0a$ doas pkg_add oidentd%0a@]%0a%0aAfterwards, inside /etc/rc.local, we put the following:%0a%0a[@%0aif [ -x /usr/local/sbin/oidentd ]; then%0a echo -n ' oidentd'; /usr/local/sbin/oidentd -u _identd -g _identd%0afi%0a@]%0a%0a'''Warning''': Do not use -a :: as suggested in znc's wiki or ident will not work for IPv4.%0a%0aThis ensures that oident starts at bootup and runs as the user and group _identd.%0a%0aNow, to start oidentd, run:%0a%0a[@%0a$ doas /usr/local/sbin/oidentd -u _identd -g _identd%0a@]%0a%0a!! Spoofing Ident (Optional)%0a%0aIf you need to spoof ident replies, put this inside /etc/oidentd.conf:%0a%0a[@%0auser "username" {%0a default {%0a allow spoof%0a allow spoof_all%0a }%0a}%0a@]%0a%0aFor example, [[oidentd/ZNC|ZNC]] needs ident spoofing to work.%0a%0aIf you want to force an ident reply, use%0a%0a[@%0auser "username" {%0a default {%0a force reply "botnick"%0a }%0a}%0a@]%0a%0aReplace botnick with your desired ident.
12 time=1614414731
13 title=Installing oidentd
14 author:1614414731=jrmu
15 diff:1614414731:1613136757:=22,27d21%0a%3c %0a%3c Now, to start oidentd, run:%0a%3c %0a%3c [@%0a%3c $ doas /usr/local/sbin/oidentd -u _identd -g _identd%0a%3c @]%0a
16 host:1614414731=198.251.81.119
17 author:1613136757=jrmu
18 diff:1613136757:1613134212:=36,48c36%0a%3c For example, [[oidentd/ZNC|ZNC]] needs ident spoofing to work.%0a%3c %0a%3c If you want to force an ident reply, use%0a%3c %0a%3c [@%0a%3c user "username" {%0a%3c default {%0a%3c force reply "botnick"%0a%3c }%0a%3c }%0a%3c @]%0a%3c %0a%3c Replace botnick with your desired ident.%0a\ No newline at end of file%0a---%0a> For example, [[oidentd/ZNC|ZNC]] needs ident spoofing to work.%0a\ No newline at end of file%0a
19 host:1613136757=198.251.81.119
20 author:1613134212=jrmu
21 diff:1613134212:1613134179:=22,23d21%0a%3c %0a%3c !! Spoofing Ident (Optional)%0a
22 host:1613134212=198.251.81.119
23 author:1613134179=jrmu
24 diff:1613134179:1613134080:=
25 host:1613134179=198.251.81.119
26 author:1613134080=jrmu
27 diff:1613134080:1613134080:=1,34d0%0a%3c (:title Installing oidentd:)%0a%3c %0a%3c oidentd helps provide ident, which is necessary if you're providing a public bouncer or shell account. Ident helps you uniquely identify your users on IRC. Even if a user changes his nick, you can figure out which user it was on your system based on his ident. This makes it easier to prevent abuse.%0a%3c %0a%3c First, we install oidentd:%0a%3c %0a%3c [@%0a%3c $ doas pkg_add oidentd%0a%3c @]%0a%3c %0a%3c Afterwards, inside /etc/rc.local, we put the following:%0a%3c %0a%3c [@%0a%3c if [ -x /usr/local/sbin/oidentd ]; then%0a%3c echo -n ' oidentd'; /usr/local/sbin/oidentd -u _identd -g _identd%0a%3c fi%0a%3c @]%0a%3c %0a%3c '''Warning''': Do not use -a :: as suggested in znc's wiki or ident will not work for IPv4.%0a%3c %0a%3c This ensures that oident starts at bootup and runs as the user and group _identd.%0a%3c %0a%3c If you need to spoof ident replies, put this inside /etc/oidentd.conf:%0a%3c %0a%3c [@%0a%3c user "username" {%0a%3c default {%0a%3c allow spoof%0a%3c allow spoof_all%0a%3c }%0a%3c }%0a%3c @]%0a%3c %0a%3c For example, [[oidentd/ZNC|ZNC]] needs ident spoofing to work.%0a\ No newline at end of file%0a
28 host:1613134080=198.251.81.119