Hi all,
I have a problem with unwanted packages that cause diald to dial out
unnecessarily.
I have Red Hat 5.2 and Diald installed on my Linux server. It runs an IMAP
server and uses fetchmail to fetch emails periodically from my ISP. From my
client machines (running NT and Linux) we use Netscape messenger to read
mail from the Linux IMAP server.
The problem is often when a client machine tries to read mail from the IMAP
server, the diald on the server is invoked and attempts a dial-up
(unnecessarily). On the server I have banned all imap packages in my
/usr/lib/diald/standard.filter using lines (see below) but somehow it still
slip through. This happens everytime the client first start up the
netscape messenger, and once in a while during subsequent polling of mails.
# ignore all imap packages
ignore tcp tcp.source=tcp.imap
ignore tcp tcp.dest=tcp.imap
ignore tcp tcp.seq=tcp.imap
ignore tcp tcp.ack_seq=tcp.imap
ignore tcp tcp.doff=tcp.imap
ignore tcp tcp.fin=tcp.imap
ignore tcp tcp.syn=tcp.imap
ignore tcp tcp.rst=tcp.imap
ignore tcp tcp.psh=tcp.imap
ignore tcp tcp.ack=tcp.imap
ignore tcp tcp.urg=tcp.imap
ignore tcp tcp.live=tcp.imap
This is what my /etc/diald.conf looks like:
mode ppp
accounting-log /var/log/diald.log
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"
device /dev/modem
speed 115200
modem
lock
crtscts
local 192.168.0.1
remote 0.0.0.0
dynamic
disconnect-timeout 45
redial-timeout 20
dial-fail-limit 2
defaultroute
include /usr/lib/diald/standard.filter
Any idea what could be causing the dial-up?
I trace the packages using tcpdump and it indicated imap package as well as
some nfs packages whenever diald dials-up. Is there a way to trap the
package that caused diald to dialup?
Thank guys in advance.
Ben
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]