Blame
Date:
Mon Jan 23 05:00:25 2023 UTC
Message:
Daily backup
01
2023-01-22
jrmu
version=pmwiki-2.2.130 ordered=1 urlencoded=1
02
2023-01-22
jrmu
agent=w3m/0.5.3+git20210102
03
2023-01-22
jrmu
author=jrmu
04
2023-01-22
jrmu
charset=UTF-8
05
2023-01-22
jrmu
csum=
06
2023-01-22
jrmu
ctime=1597718661
07
2023-01-22
jrmu
host=38.87.162.8
08
2023-01-22
jrmu
name=Openbsd.Psybnc
09
2023-01-22
jrmu
rev=16
10
2023-01-22
jrmu
targets=Openbsd.Rcd
11
2023-01-22
jrmu
text=(:redirect psybnc/install:)%0aCreate a new user for psybnc:%0a%0a[@%0a$ doas useradd -m -g =uid -c "psybnc" -d /home/psybnc -s /bin/ksh psybnc%0a$ doas adduser%0a$ doas su psybnc%0a@]%0a%0aInstall c-ares then build psybnc:%0a%0a[@%0a$ doas pkg_add libcares%0a$ cd ~%0a$ ftp http://www.psybnc.dk/download/psyBNC-2.4BETA2.tar.gz%0a$ tar zxf psyBNC-2.4BETA2.tar.gz%0a$ rm psyBNC-2.4BETA2.tar.gz%0a$ cd psybnc%0a$ make%0a@]%0a%0aInside @@psybnc.conf@@:%0a%0a[@%0aPSYBNC.SYSTEM.PORT1=1314%0aPSYBNC.SYSTEM.HOST1=*%0aPSYBNC.SYSTEM.PORT2=21314%0aPSYBNC.SYSTEM.HOST2=S=*%0aPSYBNC.HOSTALLOWS.ENTRY0=*;*%0a@]%0a%0aRun psybnc:%0a%0a[@%0a$ ./psybnc%0a@]%0a%0aIt is possible then you may wish to see [[openbsd/rcd]] to add psybnc to system startup.%0a%0a----%0a%0aWhen interacting with psybnc%0a%0aNICK nickname%0aUSER nickname nickname example.ircnow.org :nickname%0a%0aall fields must be filled in -- it checks ident for login%0a%0aTo change nicks on a different network:%0a/nick #ircnow~jrmu%0a%0aI could not figure out how to send a raw command to a specific network, so I just made ircnow the main network%0a%0ato send a privmsg to a specific network%0a/query #network~nickname hello, world!%0a/query #ircnow~Nickserv identify password%0a%0aTo add a network:%0a/quote addnetwork network%0a%0aFor no SSL:%0a%0a/quote addserver network~irc.example.com :6667%0a%0aFor SSL:%0a%0a/quote addserver network~S=irc.example.com :6697%0a%0aBe careful, if it defaults to IPv4 and you attempt to connect IPv6, psybnc crashes '''each and every time''' you load it%0a
12
2023-01-22
jrmu
time=1648677401
13
2023-01-22
jrmu
author:1648677401=jrmu
14
2023-01-22
jrmu
diff:1648677401:1597982065:=1d0%0a%3c (:redirect psybnc/install:)%0a69c68%0a%3c Be careful, if it defaults to IPv4 and you attempt to connect IPv6, psybnc crashes '''each and every time''' you load it%0a---%0a> Be careful, if it defaults to IPv4 and you attempt to connect IPv6, psybnc crashes '''each and every time''' you load it%0a\ No newline at end of file%0a
15
2023-01-22
jrmu
host:1648677401=38.87.162.8
16
2023-01-22
jrmu
author:1597982065=jrmu
17
2023-01-22
jrmu
diff:1597982065:1597981991:=
18
2023-01-22
jrmu
host:1597982065=38.81.163.143
19
2023-01-22
jrmu
author:1597981991=jrmu
20
2023-01-22
jrmu
diff:1597981991:1597981954:=9,10d8%0a%3c Install c-ares then build psybnc:%0a%3c %0a18a17%0a> $ ./psybnc%0a29,34d27%0a%3c @]%0a%3c %0a%3c Run psybnc:%0a%3c %0a%3c [@%0a%3c $ ./psybnc%0a
21
2023-01-22
jrmu
host:1597981991=38.81.163.143
22
2023-01-22
jrmu
author:1597981954=jrmu
23
2023-01-22
jrmu
diff:1597981954:1597981776:=4d3%0a%3c $ doas useradd -m -g =uid -c "psybnc" -d /home/psybnc -s /bin/ksh psybnc%0a
24
2023-01-22
jrmu
host:1597981954=38.81.163.143
25
2023-01-22
jrmu
author:1597981776=jrmu
26
2023-01-22
jrmu
diff:1597981776:1597981685:=1,2c1,2%0a%3c Create a new user for psybnc:%0a%3c %0a---%0a> ''Optional'': Create a new user for psybnc:%0a> %0a4a5%0a> $ doas pkg_add libcares%0a9d9%0a%3c $ doas pkg_add libcares%0a
27
2023-01-22
jrmu
host:1597981776=38.81.163.143
28
2023-01-22
jrmu
author:1597981685=gry
29
2023-01-22
jrmu
csum:1597981685=reorder
30
2023-01-22
jrmu
diff:1597981685:1597981559:=5d4%0a%3c $ doas pkg_add libcares%0a14a14%0a> $ doas pkg_add libcares%0a
31
2023-01-22
jrmu
host:1597981685=203.129.25.247
32
2023-01-22
jrmu
author:1597981559=jrmu
33
2023-01-22
jrmu
diff:1597981559:1597981540:=26a27%0a> %0a29c30%0a%3c It is possible then you may wish to see [[openbsd/rcd]] to add psybnc to system startup.%0a---%0a> It is possible then you may wish to see [[openbsd:rc.d]] to add psybnc to system startup.%0a
34
2023-01-22
jrmu
host:1597981559=38.81.163.143
35
2023-01-22
jrmu
author:1597981540=jrmu
36
2023-01-22
jrmu
diff:1597981540:1597981512:=19c19%0a%3c Inside @@psybnc.conf@@:%0a---%0a> Fill out relevant details here as needed, consult [[http://www.exodus.ro/psybnc.php]] if in doubt. Make sure to save this file as ''psybnc.conf'' and in the same directory as where you saved ''config.h''.%0a
37
2023-01-22
jrmu
host:1597981540=38.81.163.143
38
2023-01-22
jrmu
author:1597981512=jrmu
39
2023-01-22
jrmu
diff:1597981512:1597981480:=
40
2023-01-22
jrmu
host:1597981512=38.81.163.143
41
2023-01-22
jrmu
author:1597981480=jrmu
42
2023-01-22
jrmu
diff:1597981480:1597757471:=19,20c19%0a%3c Fill out relevant details here as needed, consult [[http://www.exodus.ro/psybnc.php]] if in doubt. Make sure to save this file as ''psybnc.conf'' and in the same directory as where you saved ''config.h''.%0a%3c %0a---%0a> Edit ''config.h'' file. Save the contents of the following code block as ''config.h'', using your favourite text editor where you have all the other psyBNC files. Edit accordingly and save changes.%0a22,27c21,252%0a%3c PSYBNC.SYSTEM.PORT1=1314%0a%3c PSYBNC.SYSTEM.HOST1=*%0a%3c PSYBNC.SYSTEM.PORT2=21314%0a%3c PSYBNC.SYSTEM.HOST2=S=*%0a%3c PSYBNC.HOSTALLOWS.ENTRY0=*;*%0a%3c %0a---%0a> /*%0a> * Configuration file for psyBNC, created by menuconf%0a> */%0a> %0a> /* Encryption%0a> * Support Encryption - This encrypts all your passwords, %0a> * and enables support for channel encryption, relay %0a> * encryption, etc. It is recommended to leave this enabled.%0a> */%0a> %0a> #define CRYPT%0a> %0a> /* Encryption Type%0a> * There are no other encryption types offered other than%0a> * blowfish. It is also used in OpenBSD password-hashing%0a> * method (crypt $2, i.e. bcrypt), but a derived%0a> * algorithm.%0a> */%0a> %0a> #define BLOWFISH%0a> %0a> /* Allow Translation %0a> * This lets you type in English (or whatever your %0a> * language is) and have the text in the channel appear %0a> * in a different language. You will have to consult the %0a> * README for more information.%0a> */%0a> %0a> #define TRANSLATE%0a> %0a> /* Allow internal network %0a> * This lets you use the internal IRCd that psyBNC has. %0a> * Think of it as a big partyline where you can set %0a> * modes/bans/topic/etc.%0a> */%0a> %0a> #define INTNET%0a> %0a> /* Allow traffic logging %0a> * This enables support for logging channels when you are%0a> * not around. It can be handy, but it can also eat up your %0a> * host machine's disk space VERY fast So be careful if %0a> * you enable this. %0a> *%0a> * Note: You can leave support for it enabled here, then %0a> * disable it after it is compiled by simply turning it off.%0a> */%0a> %0a> #define TRAFFICLOG%0a> %0a> /* Allow linkage of bouncers %0a> * If you want your BNC to link to others, or for others to %0a> * link to yours, enable this.%0a> */%0a> %0a> #define LINKAGE%0a> %0a> /* Allow the DCC File-Functions %0a> * DCC or Direct Client Connect, allows users to directly%0a> * connect to each other without going through an intermediary%0a> * such as an IRCd or a BNC. This option allows users to send%0a> * and receive files over DCC.%0a> */%0a> %0a> #define DCCFILES%0a> %0a> /* Pipe DCC Chats %0a> * DCC or Direct Client Connect, allows users to directly%0a> * connect to each other without going through an intermediary%0a> * such as an IRCd or a BNC. This option allows users to%0a> * communicate with each other via DCC.%0a> */%0a> %0a> #define DCCCHAT%0a> %0a> /* Allow to add more users %0a> * Enabling this option allows your bouncer to have other users%0a> * using your bouncer, other than yourself.%0a> * Disabling this feature will also remove psyBNC's bouncer%0a> * administration capabilities. To disable, replace MULTIUSER%0a> * with SINGLEUSER.%0a> */%0a> %0a> #define MULTIUSER%0a> %0a> /* Number of max. Users %0a> * Defines how many users are allowed to connect to the BNC.%0a> * Setting this value to 0 allows infinite amount of users to%0a> * connect to the BNC.%0a> */%0a> %0a> #define MAXUSER 0%0a> %0a> /* Number of max. Connections per User %0a> * Defines the maximum amount of connections each user are%0a> * allowed to have. For each additional user, they will need%0a> * at least 2 (incoming/outgoing) connections per network. %0a> * More connections will be required for each and every active%0a> * DCC chat/send. It is suggested to leave it at 25.%0a> */%0a> %0a> #define MAXCONN 0%0a> %0a> /* Allow the usage of scripts %0a> * Defines whether or not psyBNC allows scripts to be executed %0a> * by users. Whilst it can be handy for certain tasks, such as%0a> * automating user creation. It can also inadvertedly be used%0a> * to run malicious scripts. If you are going to enable this%0a> * setting, it would be wiser to run psyBNC in an unprivileged%0a> * and in resource constrained host machine's environment.%0a> */%0a> %0a> #define SCRIPTING%0a> %0a> /* Support oIdentd %0a> * Defines on whether or not to offer ident changing. On%0a> * certain networks like IRCNet, identd needs to be enabled,%0a> * or you will not be allowed to connect to their network. On%0a> * other networks, the lack of identd support simply means your%0a> * username will be prefixed with ~.%0a> */%0a> %0a> #define OIDENTD%0a> %0a> /* Allow multiple IRC connections per user %0a> * This allows users to connect to more than one network with %0a> * the same IRC client. It is recommended to leave this on if%0a> * or your users wants to participate in multiple IRC networks.%0a> */%0a> %0a> #define NETWORK%0a> %0a> /* Allow proxy usage%0a> * If you want to further anonymise your connection by bouncing%0a> * from your IRC client to BNC, and from BNC to a proxy which%0a> * is then finally connected to your IRC network of choice.%0a> * You can enable this. However, most IRC servers check for%0a> * open proxies such as HOPM and ACOPM, this will not work in%0a> * many cases.%0a> */%0a> %0a> // #define PROXYS%0a> %0a> /* Allow anonymous bouncer usage%0a> * Defines whether or not to allow non-logged in users, i.e.%0a> * anonymous users to connect to your bouncer and use freely.%0a> * Not recommended if you do not want the entire world to use%0a> * your psyBNC freely.%0a> */%0a> %0a> // #define ANONYMOUS%0a> %0a> /* No permanent IRC connections%0a> * If this option is enabled, psyBNC will disconnect you from%0a> * IRC when you disconnect from the BNC. If disabled, you%0a> * will always remain connected to IRC unless you for psyBNC%0a> * to quit.%0a> */%0a> %0a> // #define DYNAMIC %0a> %0a> /* The logging level %0a> * Defines the logging level for psyBNC to output into logs.%0a> * 0 = Errors%0a> * 1 = Errors and warnings%0a> * 2 = Errors only%0a> */%0a> %0a> #define LOGLEVEL 0%0a> %0a> /* Use the 2.1.1 compatible partyline%0a> * If you are going to be linking to old psyBNC's. Enabling%0a> * this option might be a good idea. However, if you are%0a> * the only psyBNC, or if all the other psyBNC are you%0a> * going to link are running 2.2.1. It is best to disable%0a> * this option.%0a> */%0a> %0a> // #define PARTYCHANNEL%0a> %0a> /* Version reply%0a> * Defines the response when others requests a CTCP VERSION%0a> * from you. Note, when you are connected to the BNC,%0a> * psyBNC will be transparent, and all CTCP requests will be%0a> * handled automatically by your IRC Client. When you are%0a> * not connected to your BNC, psyBNC will only answer the%0a> * string as defined below. Defaults are also shown if%0a> * it is not defined.%0a> */%0a> %0a> // #define CTCPVERSION "psyBNC 2.4-BETA1 by the most psychoid"%0a> %0a> /* SSL-Security */%0a> %0a> #define SSLSEC 0%0a> %0a> /* Insure */%0a> %0a> #define INSURE%0a> @]%0a> %0a> Fill out relevant details here as needed, consult [[http://www.exodus.ro/psybnc.php]] if in doubt. Make sure to save this file as ''psybnc.conf'' and in the same directory as where you saved ''config.h''.%0a> %0a> [@%0a> PSYBNC.SYSTEM.PORT1=31337%0a> PSYBNC.SYSTEM.DEFAULTIPV6=0%0a> PSYBNC.SYSTEM.HOST1=S=*%0a> PSYBNC.HOSTALLOWS.ENTRY0=*;*%0a> USER1.USER.NICK=%0a> USER1.USER.NETWORK=%0a> USER1.USER.USER=%0a> USER1.USER.PASS=%0a> USER1.USER.RIGHTS=0%0a> USER1.USER.SYSMSG=0%0a> USER1.USER.VLINK=0%0a> USER1.USER.PPORT=0%0a> USER1.USER.PARENT=0%0a> USER1.USER.QUITTED=0%0a> USER1.USER.DCCENABLED=1%0a> USER1.USER.AUTOGETDCC=0%0a> USER1.USER.AIDLE=1%0a> USER1.USER.LEAVEQUIT=0%0a> USER1.USER.AUTOREJOIN=0%0a> USER1.USER.LASTLOG=0%0a> USER1.USER.CERT=+%0a> USER1.USER.VHOST=%0a> USER1.USER.PREFERIPV6=1%0a> USER1.USER.LOGIN=%0a> USER1.SERVERS.PORT1=6667%0a> USER1.SERVERS.SERVER1=S=irc.ircnow.org%0a> USER1.CHANNELS.ENTRY0=#example-ch%0a> USER1.CHANNELS.ENTRY2=##example-ch%0a
43
2023-01-22
jrmu
host:1597981480=38.81.163.143
44
2023-01-22
jrmu
author:1597757471=jrmu
45
2023-01-22
jrmu
diff:1597757471:1597751829:=267,286c267%0a%3c /nick #ircnow~jrmu%0a%3c %0a%3c I could not figure out how to send a raw command to a specific network, so I just made ircnow the main network%0a%3c %0a%3c to send a privmsg to a specific network%0a%3c /query #network~nickname hello, world!%0a%3c /query #ircnow~Nickserv identify password%0a%3c %0a%3c To add a network:%0a%3c /quote addnetwork network%0a%3c %0a%3c For no SSL:%0a%3c %0a%3c /quote addserver network~irc.example.com :6667%0a%3c %0a%3c For SSL:%0a%3c %0a%3c /quote addserver network~S=irc.example.com :6697%0a%3c %0a%3c Be careful, if it defaults to IPv4 and you attempt to connect IPv6, psybnc crashes '''each and every time''' you load it%0a\ No newline at end of file%0a---%0a> /nick #ircnow~jrmu%0a\ No newline at end of file%0a
46
2023-01-22
jrmu
host:1597757471=38.81.163.143
47
2023-01-22
jrmu
author:1597751829=jrmu
48
2023-01-22
jrmu
diff:1597751829:1597722230:=264,267c264%0a%3c all fields must be filled in -- it checks ident for login%0a%3c %0a%3c To change nicks on a different network:%0a%3c /nick #ircnow~jrmu%0a\ No newline at end of file%0a---%0a> all fields must be filled in -- it checks ident for login%0a\ No newline at end of file%0a
49
2023-01-22
jrmu
host:1597751829=38.81.163.143
50
2023-01-22
jrmu
author:1597722230=jrmu
51
2023-01-22
jrmu
diff:1597722230:1597720637:=1,2c1,2%0a%3c ''Optional'': Create a new user for psybnc:%0a%3c %0a---%0a> Note: you may want to create a new user for psybnc using the 'adduser' command? Or use chroot? Clarification should be added here.%0a> %0a4,8d3%0a%3c $ doas adduser%0a%3c $ doas su psybnc%0a%3c @]%0a%3c %0a%3c [@%0a14,16d8%0a%3c $ doas pkg_add libcares%0a%3c $ make%0a%3c $ ./psybnc%0a19c11%0a%3c Edit ''config.h'' file. Save the contents of the following code block as ''config.h'', using your favourite text editor where you have all the other psyBNC files. Edit accordingly and save changes.%0a---%0a> Example ''config.h'' file. Save the contents of the following code block as ''config.h'', using your favourite text editor where you have all the other psyBNC files. Edit accordingly and save changes.%0a223,224c215%0a%3c %0a%3c [@%0a---%0a> %3ccode>%0a253,254c244,290%0a%3c @]%0a%3c %0a---%0a> %3c/code>%0a> %0a> %3ccode>%0a> $ make%0a> %3c/code>%0a> After running $make command , if you get this message....%0a> %0a> System: OpenBSD%0a> DNS Library (c-ares): Not Available%0a> %0a> Your system does not appear to have the c-ares liberary installed. This library is required for psyBNC to do DNS lookups (as of version 2.4)%0a> %0a> Then you need to add this package prior to run $ make command.%0a> %0a> %3ccode>%0a> doas pkg_add libcares%0a> %3c/code>%0a> %0a> After adding the package now you can run the below commands.%0a> %0a> %3ccode>%0a> $ make%0a> %3c/code>%0a> %0a> Running psyBNC%0a> %3ccode>%0a> $ ./psybnc%0a> %3c/code>%0a> %0a> Now open your preferred irc client and write:%0a> %0a> %3ccode>%0a> /server host:port password%0a> %3c/code>%0a> %0a> For example, assuming these are your parameters:%0a> %0a> Host/IP : 82.211.13.24%0a> Port : 31337%0a> Pass : abcdef%0a> %0a> you must type:%0a> %0a> %3ccode>%0a> /server 82.211.13.24:31337 abcdef%0a> %3c/code>%0a> %0a255a292%0a> %0a
52
2023-01-22
jrmu
host:1597722230=38.81.163.143
53
2023-01-22
jrmu
author:1597720637=jrmu
54
2023-01-22
jrmu
diff:1597720637:1597718919:=291,301c291%0a%3c It is possible then you may wish to see [[openbsd:rc.d]] to add psybnc to system startup.%0a%3c %0a%3c %0a%3c ----%0a%3c %0a%3c When interacting with psybnc%0a%3c %0a%3c NICK nickname%0a%3c USER nickname nickname example.ircnow.org :nickname%0a%3c %0a%3c all fields must be filled in -- it checks ident for login%0a\ No newline at end of file%0a---%0a> It is possible then you may wish to see [[openbsd:rc.d]] to add psybnc to system startup.%0a\ No newline at end of file%0a
55
2023-01-22
jrmu
host:1597720637=38.81.163.143
56
2023-01-22
jrmu
author:1597718919=jrmu
57
2023-01-22
jrmu
diff:1597718919:1597718661:=3c3%0a%3c [@%0a---%0a> %3ccode>%0a5a6,8%0a> %3c/code>%0a> %0a> %3ccode>%0a9,10c12,13%0a%3c @]%0a%3c %0a---%0a> %3c/code>%0a> %0a12c15%0a%3c [@%0a---%0a> %3ccode>%0a212c215%0a%3c @]%0a---%0a> %3c/code>%0a
58
2023-01-22
jrmu
host:1597718919=38.81.163.143
59
2023-01-22
jrmu
author:1597718661=jrmu
60
2023-01-22
jrmu
diff:1597718661:1597718661:=1,294d0%0a%3c Note: you may want to create a new user for psybnc using the 'adduser' command? Or use chroot? Clarification should be added here.%0a%3c %0a%3c %3ccode>%0a%3c $ cd ~%0a%3c $ ftp http://www.psybnc.dk/download/psyBNC-2.4BETA2.tar.gz%0a%3c %3c/code>%0a%3c %0a%3c %3ccode>%0a%3c $ tar zxf psyBNC-2.4BETA2.tar.gz%0a%3c $ rm psyBNC-2.4BETA2.tar.gz%0a%3c $ cd psybnc%0a%3c %3c/code>%0a%3c %0a%3c Example ''config.h'' file. Save the contents of the following code block as ''config.h'', using your favourite text editor where you have all the other psyBNC files. Edit accordingly and save changes.%0a%3c %3ccode>%0a%3c /*%0a%3c * Configuration file for psyBNC, created by menuconf%0a%3c */%0a%3c %0a%3c /* Encryption%0a%3c * Support Encryption - This encrypts all your passwords, %0a%3c * and enables support for channel encryption, relay %0a%3c * encryption, etc. It is recommended to leave this enabled.%0a%3c */%0a%3c %0a%3c #define CRYPT%0a%3c %0a%3c /* Encryption Type%0a%3c * There are no other encryption types offered other than%0a%3c * blowfish. It is also used in OpenBSD password-hashing%0a%3c * method (crypt $2, i.e. bcrypt), but a derived%0a%3c * algorithm.%0a%3c */%0a%3c %0a%3c #define BLOWFISH%0a%3c %0a%3c /* Allow Translation %0a%3c * This lets you type in English (or whatever your %0a%3c * language is) and have the text in the channel appear %0a%3c * in a different language. You will have to consult the %0a%3c * README for more information.%0a%3c */%0a%3c %0a%3c #define TRANSLATE%0a%3c %0a%3c /* Allow internal network %0a%3c * This lets you use the internal IRCd that psyBNC has. %0a%3c * Think of it as a big partyline where you can set %0a%3c * modes/bans/topic/etc.%0a%3c */%0a%3c %0a%3c #define INTNET%0a%3c %0a%3c /* Allow traffic logging %0a%3c * This enables support for logging channels when you are%0a%3c * not around. It can be handy, but it can also eat up your %0a%3c * host machine's disk space VERY fast So be careful if %0a%3c * you enable this. %0a%3c *%0a%3c * Note: You can leave support for it enabled here, then %0a%3c * disable it after it is compiled by simply turning it off.%0a%3c */%0a%3c %0a%3c #define TRAFFICLOG%0a%3c %0a%3c /* Allow linkage of bouncers %0a%3c * If you want your BNC to link to others, or for others to %0a%3c * link to yours, enable this.%0a%3c */%0a%3c %0a%3c #define LINKAGE%0a%3c %0a%3c /* Allow the DCC File-Functions %0a%3c * DCC or Direct Client Connect, allows users to directly%0a%3c * connect to each other without going through an intermediary%0a%3c * such as an IRCd or a BNC. This option allows users to send%0a%3c * and receive files over DCC.%0a%3c */%0a%3c %0a%3c #define DCCFILES%0a%3c %0a%3c /* Pipe DCC Chats %0a%3c * DCC or Direct Client Connect, allows users to directly%0a%3c * connect to each other without going through an intermediary%0a%3c * such as an IRCd or a BNC. This option allows users to%0a%3c * communicate with each other via DCC.%0a%3c */%0a%3c %0a%3c #define DCCCHAT%0a%3c %0a%3c /* Allow to add more users %0a%3c * Enabling this option allows your bouncer to have other users%0a%3c * using your bouncer, other than yourself.%0a%3c * Disabling this feature will also remove psyBNC's bouncer%0a%3c * administration capabilities. To disable, replace MULTIUSER%0a%3c * with SINGLEUSER.%0a%3c */%0a%3c %0a%3c #define MULTIUSER%0a%3c %0a%3c /* Number of max. Users %0a%3c * Defines how many users are allowed to connect to the BNC.%0a%3c * Setting this value to 0 allows infinite amount of users to%0a%3c * connect to the BNC.%0a%3c */%0a%3c %0a%3c #define MAXUSER 0%0a%3c %0a%3c /* Number of max. Connections per User %0a%3c * Defines the maximum amount of connections each user are%0a%3c * allowed to have. For each additional user, they will need%0a%3c * at least 2 (incoming/outgoing) connections per network. %0a%3c * More connections will be required for each and every active%0a%3c * DCC chat/send. It is suggested to leave it at 25.%0a%3c */%0a%3c %0a%3c #define MAXCONN 0%0a%3c %0a%3c /* Allow the usage of scripts %0a%3c * Defines whether or not psyBNC allows scripts to be executed %0a%3c * by users. Whilst it can be handy for certain tasks, such as%0a%3c * automating user creation. It can also inadvertedly be used%0a%3c * to run malicious scripts. If you are going to enable this%0a%3c * setting, it would be wiser to run psyBNC in an unprivileged%0a%3c * and in resource constrained host machine's environment.%0a%3c */%0a%3c %0a%3c #define SCRIPTING%0a%3c %0a%3c /* Support oIdentd %0a%3c * Defines on whether or not to offer ident changing. On%0a%3c * certain networks like IRCNet, identd needs to be enabled,%0a%3c * or you will not be allowed to connect to their network. On%0a%3c * other networks, the lack of identd support simply means your%0a%3c * username will be prefixed with ~.%0a%3c */%0a%3c %0a%3c #define OIDENTD%0a%3c %0a%3c /* Allow multiple IRC connections per user %0a%3c * This allows users to connect to more than one network with %0a%3c * the same IRC client. It is recommended to leave this on if%0a%3c * or your users wants to participate in multiple IRC networks.%0a%3c */%0a%3c %0a%3c #define NETWORK%0a%3c %0a%3c /* Allow proxy usage%0a%3c * If you want to further anonymise your connection by bouncing%0a%3c * from your IRC client to BNC, and from BNC to a proxy which%0a%3c * is then finally connected to your IRC network of choice.%0a%3c * You can enable this. However, most IRC servers check for%0a%3c * open proxies such as HOPM and ACOPM, this will not work in%0a%3c * many cases.%0a%3c */%0a%3c %0a%3c // #define PROXYS%0a%3c %0a%3c /* Allow anonymous bouncer usage%0a%3c * Defines whether or not to allow non-logged in users, i.e.%0a%3c * anonymous users to connect to your bouncer and use freely.%0a%3c * Not recommended if you do not want the entire world to use%0a%3c * your psyBNC freely.%0a%3c */%0a%3c %0a%3c // #define ANONYMOUS%0a%3c %0a%3c /* No permanent IRC connections%0a%3c * If this option is enabled, psyBNC will disconnect you from%0a%3c * IRC when you disconnect from the BNC. If disabled, you%0a%3c * will always remain connected to IRC unless you for psyBNC%0a%3c * to quit.%0a%3c */%0a%3c %0a%3c // #define DYNAMIC %0a%3c %0a%3c /* The logging level %0a%3c * Defines the logging level for psyBNC to output into logs.%0a%3c * 0 = Errors%0a%3c * 1 = Errors and warnings%0a%3c * 2 = Errors only%0a%3c */%0a%3c %0a%3c #define LOGLEVEL 0%0a%3c %0a%3c /* Use the 2.1.1 compatible partyline%0a%3c * If you are going to be linking to old psyBNC's. Enabling%0a%3c * this option might be a good idea. However, if you are%0a%3c * the only psyBNC, or if all the other psyBNC are you%0a%3c * going to link are running 2.2.1. It is best to disable%0a%3c * this option.%0a%3c */%0a%3c %0a%3c // #define PARTYCHANNEL%0a%3c %0a%3c /* Version reply%0a%3c * Defines the response when others requests a CTCP VERSION%0a%3c * from you. Note, when you are connected to the BNC,%0a%3c * psyBNC will be transparent, and all CTCP requests will be%0a%3c * handled automatically by your IRC Client. When you are%0a%3c * not connected to your BNC, psyBNC will only answer the%0a%3c * string as defined below. Defaults are also shown if%0a%3c * it is not defined.%0a%3c */%0a%3c %0a%3c // #define CTCPVERSION "psyBNC 2.4-BETA1 by the most psychoid"%0a%3c %0a%3c /* SSL-Security */%0a%3c %0a%3c #define SSLSEC 0%0a%3c %0a%3c /* Insure */%0a%3c %0a%3c #define INSURE%0a%3c %3c/code>%0a%3c %0a%3c Fill out relevant details here as needed, consult [[http://www.exodus.ro/psybnc.php]] if in doubt. Make sure to save this file as ''psybnc.conf'' and in the same directory as where you saved ''config.h''.%0a%3c %3ccode>%0a%3c PSYBNC.SYSTEM.PORT1=31337%0a%3c PSYBNC.SYSTEM.DEFAULTIPV6=0%0a%3c PSYBNC.SYSTEM.HOST1=S=*%0a%3c PSYBNC.HOSTALLOWS.ENTRY0=*;*%0a%3c USER1.USER.NICK=%0a%3c USER1.USER.NETWORK=%0a%3c USER1.USER.USER=%0a%3c USER1.USER.PASS=%0a%3c USER1.USER.RIGHTS=0%0a%3c USER1.USER.SYSMSG=0%0a%3c USER1.USER.VLINK=0%0a%3c USER1.USER.PPORT=0%0a%3c USER1.USER.PARENT=0%0a%3c USER1.USER.QUITTED=0%0a%3c USER1.USER.DCCENABLED=1%0a%3c USER1.USER.AUTOGETDCC=0%0a%3c USER1.USER.AIDLE=1%0a%3c USER1.USER.LEAVEQUIT=0%0a%3c USER1.USER.AUTOREJOIN=0%0a%3c USER1.USER.LASTLOG=0%0a%3c USER1.USER.CERT=+%0a%3c USER1.USER.VHOST=%0a%3c USER1.USER.PREFERIPV6=1%0a%3c USER1.USER.LOGIN=%0a%3c USER1.SERVERS.PORT1=6667%0a%3c USER1.SERVERS.SERVER1=S=irc.ircnow.org%0a%3c USER1.CHANNELS.ENTRY0=#example-ch%0a%3c USER1.CHANNELS.ENTRY2=##example-ch%0a%3c %3c/code>%0a%3c %0a%3c %3ccode>%0a%3c $ make%0a%3c %3c/code>%0a%3c After running $make command , if you get this message....%0a%3c %0a%3c System: OpenBSD%0a%3c DNS Library (c-ares): Not Available%0a%3c %0a%3c Your system does not appear to have the c-ares liberary installed. This library is required for psyBNC to do DNS lookups (as of version 2.4)%0a%3c %0a%3c Then you need to add this package prior to run $ make command.%0a%3c %0a%3c %3ccode>%0a%3c doas pkg_add libcares%0a%3c %3c/code>%0a%3c %0a%3c After adding the package now you can run the below commands.%0a%3c %0a%3c %3ccode>%0a%3c $ make%0a%3c %3c/code>%0a%3c %0a%3c Running psyBNC%0a%3c %3ccode>%0a%3c $ ./psybnc%0a%3c %3c/code>%0a%3c %0a%3c Now open your preferred irc client and write:%0a%3c %0a%3c %3ccode>%0a%3c /server host:port password%0a%3c %3c/code>%0a%3c %0a%3c For example, assuming these are your parameters:%0a%3c %0a%3c Host/IP : 82.211.13.24%0a%3c Port : 31337%0a%3c Pass : abcdef%0a%3c %0a%3c you must type:%0a%3c %0a%3c %3ccode>%0a%3c /server 82.211.13.24:31337 abcdef%0a%3c %3c/code>%0a%3c %0a%3c It is possible then you may wish to see [[openbsd:rc.d]] to add psybnc to system startup.%0a\ No newline at end of file%0a
61
2023-01-22
jrmu
host:1597718661=38.81.163.143
IRCNow