با سلام و عرض ادب
دوستان نسخه جدید cxs با ورژن های قبل متفاوت هست .
1 - اگر بخوام به صورت زنده شل ها رو شناسایی و پاک کنه باید چه کار کنم ؟
2 - آموزش کانفیگ ابتدایی آنتی شل رو کجا میتونم پیدا کنم ؟
هاست 97
February 27th, 2017, 09:31
درون پلاگین CXS بخشی هست با نام Documents
تمام آموزش ها بصورت دقیق در آن وجود دارد
- - - Updated - - -
################################################## ############################## Copyright 2009-2016, Way to the Web Limited
# URL: http://www.configserver.com
# Email: sales@waytotheweb.com
################################################## #############################
Installation
============
1. Product installation:
wget http://download.configserver.com/cxsinstaller.tgz
tar -xzf cxsinstaller.tgz
perl cxsinstaller.pl
rm -fv cxsinstaller.*
2. You should now read the cxs documentation either through:
1. The UI
2. # perldoc cxs
3. # cxs --help
If you decide to use the cxs Watch daemon you can skip items 3 to 5. Instead,
read the documentation under the cxs Watch Daemon section on using this method.
To install the required perl module for the cxs Watch daemon on a cPanel server
you can use:
/scripts/perlinstaller Linux::Inotify2
3. You will want to modify the following files to suit your requirements after
you have read the cxs documentation and studied the CLI option. These files
can be changed at any time and contain the cxs commands and options you want
to use for scanning files as they are uploaded:
The pure-ftpd upload scanner script that runs cxs:
/etc/cxs/cxsftp.sh
The web script upload scanner script that runs cxs:
/etc/cxs/cxscgi.sh
4. Web script upload scanning is performed via mod_security.
This can be enabled two ways:
a. Add the following two lines (be careful of line breaks) to your mod_security
rules file (/usr/local/apache/conf/modsec2.user.conf on cPanel):
If you allow the uploading of very large files, you may need to
increase the default mod_security allowable size of 128MB by using the
SecRequestBodyLimit directive after SecRequestBodyAccess:
SecRequestBodyLimit 134217728
This value is in bytes (134217728 = 128MB). You might also want to
create the temporary files in a directory other than /tmp using:
SecTmpDir /path/to/dir
Where /path/to/dir is a directory where the large files can be
temporarily stored and must be writable to by the nobody user
Then restart httpd
b. Use the inbuilt cPanel ModSecurity Vendor Rules mechanism by either:
You can have the ConfigServer Vendor enabled along with any other Vendor
that you may already be using.
5. Pure-ftpd upload scanning requires you to edit the active pure-ftpd.conf
(e.g. /etc/pure-ftpd.conf) and adding/modifying the line:
CallUploadScript yes
Note: Pure-ftpd must be compiled with --with-uploadscript option (usually
done by default)
On Linux:
Then restart pure-ftpd and pure-uploadscript. The installation process adds
a new service in /etc/init.d/pure-uploadscript which runs as a daemon and
passes ftp uploads to /etc/cxs/cxsftp.sh
On FreeBSD:
Then add the following lines to /etc/rc.conf:
6. ClamAV scanning requires a running clamd daemon. By default cxs will look
for the clamd socket at /tmp/clamd and /var/clamd, if it is located
elsewhere then you must use the --clamdsock option and pass the socket
location in every cxs call (i.e. in cxsftp.sh, cxscgi.sh and the cxs CLI) or
use a cxs.defaults file.
7. If you want automatic updates then use the following as an example:
ln -s /etc/cxs/cxsdaily.sh /etc/cron.daily/
8. You can test ModSecurity upload checks by running the following command
which will trigger the cxs ModSecurity rule if correctly configured:
Install cxs as above
Install the cxs webmin module in:
Webmin > Webmin Configuration > Webmin Modules >
From local file > /etc/cxs/cxswebmin.tgz > Install Module
Uninstallation
==============
1. On non-cPanel servers: Reverse items 4, 5 and 7 above.
2. On all servers, including cPanel:
cd /etc/cxs
sh uninstall.sh cd /root
server4u
March 8th, 2017, 09:51
35371
سلام
ممنون از شما جناب host97
ولی من خیلی زبانم خوب نیست . امکانش هست دقیق تر راهنمایی بفرماید که برای ریل تایم کردن آنتی شلر باید چه کاری انجام بدم ؟
بعد الان چند وقتی هست گزارش ایمیل بالا برام میاد . متوجه نمیشم مشکل چی هست و باید چه کار بکنم .
وقعا ممنون که بدون هیچ چشم داشتی به سوالات بنده پاسخ میدید ...