Strona 1 z 1

Iptables Automatyczny restart

: 26 marca 2015, 12:27
autor: adriana110
Witam mam taki problem restartuje debiana wczytuja mi sie regułi iptables a po paru godzinach resetuja sie do standardowych ustawien Pomocy ??

: 26 marca 2015, 12:43
autor: dedito
Pewnie jakieś zadanie crona to powoduje. Przeglądnij tablicę systemową (/etc/crontab) i użytkowników (/var/spool/cron) czy nie ma jakiś zadań, które to wywołują.

: 26 marca 2015, 13:27
autor: Yampress
skrypt odpalany podczas startu systemu z pętlą czasową -> resetujący iptables...

: 26 marca 2015, 13:33
autor: adriana110
w pierwszym mam tylko to a w drugim nic nie mam ustawione

Kod: Zaznacz cały

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user    command
51 * * * * root cd / && run-parts --report /etc/cron.hourly
30 4 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
30 4 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
36 1 17 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
Proszę używać tagów Code do prezentacji wyników z terminala / konsoli.

: 26 marca 2015, 13:50
autor: dedito
Przejżyj jeszcze /etc/cron.hourly i /etc/cron.daily.
Jak ładujesz te prawidłowe regułki ?


: 28 marca 2015, 16:52
autor: adriana110
Dziekuje za pomoc Działa !!

: 28 marca 2015, 16:56
autor: marcin1982
Możesz napisać co było nie tak? Może jest gdzieś błąd, który trzeba zgłosić ...