/conf/etc/alcasar-iptables-local.sh |
---|
43,7 → 43,7 |
#$IPTABLES -A OUTPUT -p tcp -d $SMTP_IP --dport $SMTP_PORT -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT |
#$IPTABLES -A INPUT -p tcp -s $SMTP_IP --sport $SMTP_PORT -m conntrack --ctstate ESTABLISHED -j ACCEPT |
# On autorise du PAT (Port Adresse Translation) afin de pouvoir joindre des équipements du LAN à partir d'Internet |
# On autorise du PAT (Port Adresse Translation) afin de pouvoir joindre des équipements du LAN depuis Internet |
# Allow PAT (Port Adresse Translation) |
# example for the external UDP-TCP port 11222 which is redirected to the internal IP 192.168.182.10 on port 22 |
#$IPTABLES -A PREROUTING -i $EXTIF -t nat -p tcp -d $PUBLIC_IP --dport 11222 -j DNAT --to 192.168.182.10:22 |
/conf/logrotate.d/admin_log |
---|
1,6 → 1,7 |
/var/Save/security/acc_access.log { |
/var/Save/security/acc_access.log{ |
rotate 12 |
monthly |
missingok |
notifempty |
endscript |
} |
/conf/logrotate.d/ulogd |
---|
1,6 → 1,6 |
/var/log/ulogd/ulogd.log { |
missingok |
notifempty |
notifyempty |
create 0640 ulogd ulogd |
sharedscripts |
} |
/conf/logrotate.d/mysqld |
---|
0,0 → 1,37 |
# This logname can be set in /etc/my.cnf |
# by setting the variable "err-log" |
# in the [safe_mysqld] section as follows: |
# |
# [safe_mysqld] |
# err-log=/var/lib/mysql/mysqld.log |
# |
# If the root user has a password you have to create a |
# /root/.my.cnf configuration file with the following |
# content: |
# |
# [mysqladmin] |
# password = <secret> |
# user= root |
# |
# where "<secret>" is the password. |
# |
# ATTENTION: This /root/.my.cnf should be readable ONLY |
# for root ! |
/var/log/mysqld/mysqld.log { |
# create 600 mysql mysql |
notifempty |
daily |
rotate 31 |
dateext |
missingok |
compress |
postrotate |
# just if mysqld is really running |
if test -x /usr/bin/mysqladmin && \ |
/usr/bin/mysqladmin ping &>/dev/null |
then |
/usr/bin/mysqladmin flush-logs |
fi |
endscript |
} |
Property changes: |
Added: svn:keywords |
+Id Author Date |
\ No newline at end of property |