Date: Mon, 20 Dec 2004 18:10:56 +0300 From: a person <a@newchem.ru> To: freebsd-stable@freebsd.org Subject: ppp filtering troubles Message-ID: <1668118093.20041220181056@newchem.ru>
next in thread | raw e-mail | index | archive | help
Hello freebsd-stable,
I wish the server, dialing out periodically, throws a connection
out only if it has no activities over the SMTP and SSH sessions more
then 3 minutes (and 3 minutes minimum for connection duration time).
I have in ppp.conf:
isp:
set timeout 180 180
Adding the next rulse to isp: section:
set filter alive 0 permit 0 MYADDR tcp dst eq 25
set filter alive 1 permit MYADDR 0 tcp src eq 25
set filter alive 2 permit MYADDR 0 tcp dst eq 25
set filter alive 3 permit 0 MYADDR tcp src eq 25
set filter alive 12 permit 0 MYADDR tcp dst eq 22
set filter alive 13 permit MYADDR 0 tcp src eq 22
despite of this rules connections cuts out over the 3 minutes.
What is the best way to reset timers only for 22 and 25 ports?
4.10-STABLE.
--
Thanks in advance, Illia Baidakov.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1668118093.20041220181056>
