ppp filtering troubles

a person a at newchem.ru
Mon Dec 20 07:10:59 PST 2004


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.



More information about the freebsd-stable mailing list