Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2 3 ... 10
 1 
 on: May 10, 2022, 07:29:15 PM 
Started by CrazyCat - Last post by CrazyCat
So we are 9 years late, hurry up !

 2 
 on: May 10, 2022, 11:55:41 AM 
Started by CrazyCat - Last post by PeGaSuS
Small correction: IRC was created in August 1988, at the University of Oulu, in Finland. so, it's almost 34y old :)

 3 
 on: May 10, 2022, 11:19:06 AM 
Started by CrazyCat - Last post by CrazyCat
Hi there,

More and more we see World Day appearing, so why don't we create the IRC World Day ?
IRC was created in august 1998, it will be 24yo in a few months and 25yo next year. We can probably try to organize something for this year, as a test before the century' quarter :)

The purpose is to have all actors of IRC participating to a promotion action, and make know that IRC is not dead.

If anyone is interested in participating, suggesting ideas, giving their opinion, reply here or come in #ircdday on irc.zeolia.net

Kind regards,
CrazyCat

P.S.: share this idea if you like it

 4 
 on: April 05, 2022, 08:22:23 PM 
Started by Rene - Last post by Mohd Fhazal Aznan
PeGaSuS teach me how to solve this and it's work

first in your ssh enable the apache mod :

a2enmod dir userdir rewrite headers session session_cookie proxy proxy_html proxy_http proxy_wstunnel lbmethod_bytraffic

sudo systemctl reload apache2

NOTE : if you don't have any other mod that is required by apache when you restart your apache just type in your ssh a2enmod (module name)

example :

Code: [Select]
Apr 04 01:26:53 vps apachectl[294820]: AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/irc.mydomain.com.my.conf:
Apr 04 01:26:53 vps apachectl[294820]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration

a2enmod ProxyPreserveHost

now edit all the files accordingly as below :
 
Code: [Select]
###
# On your.domain.org.conf
###
<VirtualHost *:80>
    ServerAdmin webmaster@your.domain.com
    ServerName your.domain.com
    ServerAlias www.your.domain.com
    DocumentRoot /var/www/your.domain.com
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =your.domain.com [OR]
RewriteCond %{SERVER_NAME} =www.your.domain.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
 
 
###
# On your.domain.com-le-ssl.conf
###
<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerAdmin webmaster@localhost
    ServerName your.domain.com
    ServerAlias www.your.domain.com
    DocumentRoot /var/www/your.domain.com
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
 
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/your.domain.com-0001/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/your.domain.com-0001/privkey.pem
RewriteEngine On
ProxyVia On
ProxyAddHeaders On
RemoteIPHeader X-Forwarded-For
RequestHeader set X-Forwarded-For "expr=%{REMOTE_ADDR}e"
ProxyPass / http://127.0.0.1:8070/
ProxyPassReverse / http://127.0.0.1:8070/
</VirtualHost>
</IfModule>
 
 
###
# On Anope modules.conf
###
module
{
        name = "m_httpd"
 
        httpd
        {
                /* Name of this service. */
                name = "httpd/main"
 
                /* IP to listen on. */
                ip = "127.0.0.1"
 
                /* Port to listen on. */
                port = 8070
 
                /* Time before connections to this server are timed out. */
                timeout = 30
 
                /* Listen using SSL. Requires an SSL module. */
                ssl = no
 
                /* If you are using a reverse proxy that sends one of the
                 * extforward_headers set below, set this to its IP.
                 * This allows services to obtain the real IP of users by
                 * reading the forwarded-for HTTP header.
                 * Multiple IP addresses can be specified separated by a space character.
                 */
                #extforward_ip = "127.0.0.1"
 
                /* The header to look for. These probably work as is. */
                extforward_header = "X-Forwarded-For Forwarded-For"
        }
}

thanks @PeGaSuS  ;D he even teach me how to modify the webcpanel interface.

 5 
 on: April 03, 2022, 06:33:03 PM 
Started by Rene - Last post by Mohd Fhazal Aznan
Code: [Select]
Apr 04 01:26:46 vps apachectl[294810]: The Apache error log may have more information.
Apr 04 01:26:46 vps systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Apr 04 01:26:46 vps systemd[1]: Reload failed for The Apache HTTP Server.
Apr 04 01:26:53 vps systemd[1]: Reloading The Apache HTTP Server.
Apr 04 01:26:53 vps apachectl[294820]: AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/irc.mydomain.com.my.conf:
Apr 04 01:26:53 vps apachectl[294820]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration
Apr 04 01:26:53 vps apachectl[294817]: Action 'graceful' failed.
Apr 04 01:26:53 vps apachectl[294817]: The Apache error log may have more information.
Apr 04 01:26:53 vps systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Apr 04 01:26:53 vps systemd[1]: Reload failed for The Apache HTTP Server.

this happpen what i try to do like what u said, i have apache2 install in my box.

i already have configured virtual host on that domain, how do i modify it from the default code ?

i modify the default code and add yoiur reverse proxy code also enable the proxy module for apache2, seems like the https is still red, do u do anything on anope module config side??


 6 
 on: April 03, 2022, 09:31:42 AM 
Started by Rene - Last post by c-cris
Hello,
This is what I did at home:

nano /etc/apache2/sites-available/webpanel.yourdomain.com.conf

Code: [Select]
<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ServerName webpanel.yourdomain.com
ServerAlias webpanel.yourdomain.com
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
RewriteEngine on
RewriteCond %{SERVER_NAME} =webpanel.yourdomain.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

sudo a2ensite webpanel.yourdomain.com
sudo systemctl reload apache2

sudo a2enmod ssl ( if not done )
sudo systemctl reload apache2

sudo certbot --apache ( Choose 2 for automatic redirection in https )

sudo systemctl reload apache2


Sorry for my English, I use the translator :p



 7 
 on: April 03, 2022, 12:01:34 AM 
Started by Rene - Last post by Mohd Fhazal Aznan
i also need help about this, i have certbot install for the domain, the cert is in letsencrypt folder, how i make it work with anope webcpanel

 8 
 on: March 13, 2022, 03:45:12 PM 
Started by c-cris - Last post by Lord255
Yes, but I have another problem.:/

Code: [Select]
Downloading...
   Country Database:      Done
Unpacking...
unzip:  cannot find or open GeoIPCountryCSV.zip, GeoIPCountryCSV.zip.zip or GeoIPCountryCSV.zip.ZIP.
rm: cannot remove 'GeoIPCountryCSV.zip': No such file or directory
Converting to UTF-8...
iconv: cannot open input file `GeoIPCountryWhois.csv': No such file or directory
rm: cannot remove 'GeoIPCountryWhois.csv': No such file or directory
Importing...
mysqlimport: [Warning] Using a password on the command line interface can be insecure.
mysqlimport: Error: 3948, Loading local data is disabled; this must be enabled on both the client and server sides, when using table: anope_geoip_country
rm: cannot remove 'anope_geoip_country.csv': No such file or directory
rm: cannot remove 'anope_geoip_country6.csv': No such file or directory
Done...

yea. it needs some modification. :)
i think you should try crazycat's scripts. :)
https://forum.anope.org/index.php?topic=4577.msg23441#msg23441

 9 
 on: March 13, 2022, 03:16:43 PM 
Started by c-cris - Last post by c-cris
Yes, but I have another problem.:/

Code: [Select]
Downloading...
   Country Database:      Done
Unpacking...
unzip:  cannot find or open GeoIPCountryCSV.zip, GeoIPCountryCSV.zip.zip or GeoIPCountryCSV.zip.ZIP.
rm: cannot remove 'GeoIPCountryCSV.zip': No such file or directory
Converting to UTF-8...
iconv: cannot open input file `GeoIPCountryWhois.csv': No such file or directory
rm: cannot remove 'GeoIPCountryWhois.csv': No such file or directory
Importing...
mysqlimport: [Warning] Using a password on the command line interface can be insecure.
mysqlimport: Error: 3948, Loading local data is disabled; this must be enabled on both the client and server sides, when using table: anope_geoip_country
rm: cannot remove 'anope_geoip_country.csv': No such file or directory
rm: cannot remove 'anope_geoip_country6.csv': No such file or directory
Done...

 10 
 on: March 13, 2022, 02:35:51 PM 
Started by c-cris - Last post by Lord255
hello.
did you load the geoip database as the conf asks you to do?

Code: [Select]
         
         * .. you have to run the
* geoipupdate script after you started Anope to download
* and import the GeoIP database.

?

Pages: [1] 2 3 ... 10