Hi all,

I am trying to stop diald starting up my link when sendmail has mail
queued for remote hosts.  Using a debug value of 89 in /etc/diald.conf I
can see in /var/log/messages that rule 1 is being accepted and this
starts my link:

Oct  7 19:28:01 thorin diald[17211]: filter accepted rule 1 proto 6 len
44 seq 97795a7c ack 0 flags  SYN packet 210.8.64.41,8321 => 15.68.2.1,25

Oct  7 19:28:01 thorin diald[17211]: Adding connection 0x8060000 @
907752481 - timeout 60
Oct  7 19:28:02 thorin diald[17211]: Running connect (pid = 18194).
Oct  7 19:28:02 thorin diald[17211]: filter accepted rule 1 proto 6 len
44 seq e567cf72 ack 0 flags  SYN packet 210.8.64.41,8322 =>
156.153.255.226,25
Oct  7 19:28:02 thorin diald[17211]: Adding connection 0x8060228 @
907752482 - timeout 60
Oct  7 19:28:02 thorin chat[18194]: timeout set to 10 seconds
Oct  7 19:28:02 thorin chat[18194]: abort on (BUSY)
Oct  7 19:28:02 thorin chat[18194]: abort on (NO CARRIER)
Oct  7 19:28:02 thorin chat[18194]: abort on (NO DIALTONE)
Oct  7 19:28:02 thorin chat[18194]: send (ATZ^M)
Oct  7 19:28:03 thorin chat[18194]: expect (OK)
Oct  7 19:28:04 thorin chat[18194]: ATZ^M^M
Oct  7 19:28:04 thorin chat[18194]: OK
Oct  7 19:28:04 thorin chat[18194]:  -- got it
Oct  7 19:28:04 thorin chat[18194]: send (ATDT92590000^M)
Oct  7 19:28:04 thorin diald[17211]: filter accepted rule 1 proto 6 len
44 seq e567cf72 ack 0 flags  SYN packet 210.8.64.41,8322 =>
156.153.255.226,25
Oct  7 19:28:04 thorin diald[17211]: Adding connection 0x8060228 @
907752484 - timeout 60
:
:
:
etc

Rule 1 in my standard.filter file is:

accept tcp 60 tcp.syn

It seems that sendmail is trying to make a connection to port 25 (smtp)
of various hosts as it has mail queued up for them. It will do this
every 30 minutes as it tries to clear its queue, thus causing diald to
continue to trigger every 30 minutes.

My questions are:

1. What is the SYN packet?
2. Why does sendmail cause rule 1 to be accepted?
3. Can I just remove rule 1 to fix this problem?

Thanks for any help.
Graham
--
   /\ /\ /\/  /  / Graham Alston, VK3KOA
  /  \  \ /\ /  /
 /  / \/ \  \  /   87 Peters Ave, Mulgrave, 3170, Melbourne, AUSTRALIA
/  /  /\/ \/ \/    Ph: +61 3 95609999  Fax: +61 3 95609055
    MARTIN         Email: [EMAIL PROTECTED]
COMMUNICATIONS     WWW: http://www.martin.com.au



-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to