Hardening Apache by Tony Mobily phần 7 pot
... permissions for /jail/tmp are set correctly: [root@localhost jail]# chmod 77 7 tmp [root@localhost jail]# chmod +t tmp The 77 7 after chmod means that everybody (owner, owning group, and anyone else) ... -f $DD /apache_ alive_locked else #echo DEBUG: not enough seconds have passed, exiting exit fi /jail/usr/local /apache2 /bin/apachectl start [ ] execve("/jail/usr/local /apache2 /...
Ngày tải lên: 08/08/2014, 18:22
... ones used by Apache in its error log. The syslog facility ID used by Apache by default is local7. Therefore, you need to add a line in the syslog.conf file like this: local7.* /var/log /apache_ error_log You ... contains: Restart your Apache daemon: [root@localhost root]# /usr/local /apache2 /bin/apachectl restart If everything went well, you should see Apache& apos;s log message...
Ngày tải lên: 08/08/2014, 18:22
... syslog, 73 74 account sharing, preventing with mod_hackdetect, 172 – 175 AddModule directive adding for mod_bandwidth, 1 27 enabling for mod_parmguard, 151 alert error level, significance of, 57 Allow ... 4–5 gpg verify command, running, 7 grep, advisory about looking for attacks with, 63 group files, creating for Apache in jail, 185–186 grubbybaby module, accessing, 76 Guninski, G...
Ngày tải lên: 08/08/2014, 18:22
Hardening Apache by Tony Mobily phần 1 pdf
... /usr/local /apache2 /bin/httpd -k start 170 73 ? S 0:00 [httpd] 170 74 ? S 0:00 [httpd] 170 75 ? S 0:00 [httpd] 170 76 ? S 0:00 [httpd] 170 77 ? S 0:00 [httpd] 170 79 pts/2 S 0:00 grep httpd In GnuPG, ... deprecated). This Apache& apos;s directory will be /usr/local /apache1 . [root@merc apache_ source]# tar xvzf apache_ 1.3.29.tar.gz apache_ 1.3.29/ apache_ 1.3.29/cgi-bin/ apac...
Ngày tải lên: 08/08/2014, 18:22
Hardening Apache by Tony Mobily phần 2 ppsx
... parameter longer than 79 characters. So, if the user types the following: [merc@localhost ch_3]$ ./example 12345 678 9012345 678 9012345 678 9012345 678 9012345 678 9012345 678 9012345 678 9012345 678 90123 The parameter ... ./example 12345 678 9012345 678 9012345 678 9012345 678 9012345 678 9012345 678 9012345 678 9012345 678 90123 The parameter was: 12345 678 9012345 678 9012345 678 901234...
Ngày tải lên: 08/08/2014, 18:22
Hardening Apache by Tony Mobily phần 4 pptx
... restart your Apache server: [root@merc root]# /usr/local /apache1 /bin/apachectl stop /usr/local /apache1 /bin/apachectl stop: httpd stopped [root@merc root]# /usr/local /apache1 /bin/apachectl start /usr/local /apache1 /bin/apachectl ... directory according to your Apache server's version (in this case, Apache 2.x): [root@merc root]# cd mod_security_1 .7. 3 [root@merc mod_security...
Ngày tải lên: 08/08/2014, 18:22
Hardening Apache by Tony Mobily phần 5 pps
... apache_ 1.3. 27. tar.gz apache_ 1.3. 27/ apache_ 1.3. 27/ cgi-bin/ apache_ 1.3. 27/ cgi-bin/printenv apache_ 1.3. 27/ cgi-bin/test-cgi apache_ 1.3. 27/ ABOUT _APACHE [ ] apache_ 1.3. 27/ src/support/split-logfile apache_ 1.3. 27/ src/support/suexec.8 apache_ 1.3. 27/ src/support/suexec.c apache_ 1.3. 27/ src/support/suexec.h apache_ 1.3. 27/ src/Configuration ... ] apache_ 1.3....
Ngày tải lên: 08/08/2014, 18:22
Hardening Apache by Tony Mobily phần 6 ppsx
... restart Apache: [root@merc root]# /usr/local /apache1 /bin/apachectl stop /usr/local /apache1 /bin/apachectl stop: httpd stopped [root@merc root]# /usr/local /apache1 /bin/apachectl start /usr/local /apache1 /bin/apachectl ... is [root@merc members]# /usr/local /apache1 /bin/apachectl stop /usr/local /apache1 /bin/apachectl stop: httpd stopped [root@merc members]# /usr/local /apache1 /bin/a...
Ngày tải lên: 08/08/2014, 18:22
Hardening Apache by Tony Mobily phần 8 ppt
... shown in Listing 7- 6, is to block a specific address by changing Apache& apos;s configuration file and restarting Apache. Listing 7- 6: The Source Code of block #!/bin/bash # Your Apache configuration ... Listing 7- 7 shows the code of this script, called RUNNER. Listing 7- 7: The source code of RUNNER #!/bin/bash # Where the scripts are SCRIPTS=/usr/local/bin /apache_ scripts LOG...
Ngày tải lên: 08/08/2014, 18:22
Hardening Apache by Tony Mobily phần 10 doc
... file displaying, 68–69 modifying, 71 syslogd daemon Apache logging with, 71 76 process of, 67 on remote hosts, 69 70 with syslogd, 71 76 unreliability of, 61 logging programs, customizing, 76 –83 mod_security ... 1 67 168 pros and cons of, 175 purpose of, 172 , 174 mod_hackprotect configuration example of, 168– 170 HackProtectFile directive of, 172 HackProtectMaxAttempts dire...
Ngày tải lên: 08/08/2014, 18:22