Hello, I'm running diald 0.16.4 on a RedHat 6 box, ipmasq, and named for caching. When I try to download apps, email attachments, big images, etc., the download inevitably freezes before the download is done. I've included my diald.conf and standard.filter files below; but I've tried a lot of different things (partly to try to get diald to stop dialing every 15 minutes) so I'm afraid the files are pretty messed up. In any even, any help is appreciated. Very much. Rich Goldman [EMAIL PROTECTED] -----diald.conf------ fifo /etc/diald/diald.ctl mode ppp connect "sh /usr/doc/diald-0.16.4-1/connect" keepalive 9000 device /dev/ttyS2 #speed 19200 speed 115200 modem lock debug 31 crtscts local 192.168.0.20 remote 192.168.0.100 dynamic defaultroute pppd-options asyncmap 0 include /usr/lib/diald/standard.filter accounting-log /var/log/dialdaccounting -----standard.filter----------- accept tcp 15 tcp.syn #mine #Windows NetBIOS #tcp ignore tcp tcp.dest=tcp.netbios-ns ignore tcp tcp.source=tcp.netbios-ns ignore tcp tcp.dest=tcp.netbios-dgm ignore tcp tcp.source=tcp.netbios-dgm ignore tcp tcp.dest=tcp.netbios-ssn ignore tcp tcp.source=tcp.netbios-ssn #udp ignore udp udp.dest=udp.netbios-ns ignore udp udp.source=udp.netbios-ns #Block Windows housekeeping trafic from triggering autodial etc. /sbin/ipfwadm -F -a deny -P tcp -S 0.0.0.0/0 137:139 /sbin/ipfwadm -F -a deny -P udp -S 0.0.0.0/0 137:139 # Keep named xfers from holding the link up ignore tcp tcp.dest=tcp.domain ignore tcp tcp.source=tcp.domain # Keep netbios from holding us up as well. ignore tcp tcp.source=tcp.netbios-ns,tcp.dest=tcp.netbios-ns # (Ack! SCO telnet starts by sending empty SYNs and only opens the # connection if it gets a response. Sheesh..) accept tcp 5 ip.tot_len=40,tcp.syn # keep empty packets from holding the link up (other than empty SYN packets) ignore tcp ip.tot_len=40,tcp.live # make sure http transfers hold the link for 2 minutes, even after they end. # If the link is already down, don't let a FIN packet bring it back up. # NOTE: Your /etc/services may not define the tcp service www, in which # case you should comment out the following two lines or get a more # up to date /etc/services file. See the FAQ for information on obtaining # a new /etc/services file. ignore tcp !tcp.live,tcp.dest=tcp.www ignore tcp !tcp.live,tcp.source=tcp.www accept tcp 120 tcp.dest=tcp.www accept tcp 120 tcp.source=tcp.www # Once the link is no longer live, we try to shut down the connection # quickly. keepup tcp 5 !tcp.live ignore tcp !tcp.live # an ftp-data or ftp connection can be expected to show reasonably frequent # traffic. accept tcp 120 tcp.dest=tcp.ftp accept tcp 120 tcp.source=tcp.ftp #NOTE: ftp-data is not defined in the /etc/services file provided with # the latest versions of NETKIT, so I've got this commented out here. # If you want to define it add the following line to your /etc/services: # ftp-data 20/tcp # and uncomment the following two rules. #accept tcp 120 tcp.dest=tcp.ftp-data #accept tcp 120 tcp.source=tcp.ftp-data # If we don't catch it above, give the link 10 minutes up time. accept tcp 600 any # Rules for UDP packets # # We time out domain requests right away, we just want them to bring # the link up, not keep it around for very long. # This is because the network will usually come up on a call # from the resolver library (unless you have all your commonly # used addresses in /etc/hosts, in which case you will discover # other problems.) # Note that you should not make the timeout shorter than the time you # might expect your DNS server to take to respond. Otherwise # when the initial link gets established there might be a delay # greater than this between the initial series of packets before # any packets that keep the link up longer pass over the link. # Don't bring the link up for rwho. ignore udp udp.dest=udp.who ignore udp udp.source=udp.who # Don't bring the link up for RIP. ignore udp udp.dest=udp.route ignore udp udp.source=udp.route # Don't bring the link up for NTP or timed. ignore udp udp.dest=udp.ntp ignore udp udp.source=udp.ntp ignore udp udp.dest=udp.timed ignore udp udp.source=udp.timed # Don't bring up on domain name requests between two running nameds. ignore udp udp.dest=udp.domain,udp.source=udp.domain # Bring up the network whenever we make a domain request from someplace # other than named. #THESE TWO COMMENTED FOR TEST #accept udp 30 udp.dest=udp.domain #accept udp 30 udp.source=udp.domain # Do the same for netbios-ns broadcasts # NOTE: your /etc/services file may not define the netbios-ns service # in which case you should comment out the next three lines. ignore udp udp.source=udp.netbios-ns,udp.dest=udp.netbios-ns #accept udp 30 udp.dest=udp.netbios-ns #accept udp 30 udp.source=udp.netbios-ns # keep routed and gated transfers from holding the link up ignore udp tcp.dest=udp.route ignore udp tcp.source=udp.route # Anything else gest 2 minutes. accept udp 120 any # Give icmp packets 30 seconds. accept icmp 30 any # Any packets we did not catch above belong to some bizzare protocol # that we don't know about. We ignore them. #mine #Windows NetBIOS #tcp ignore tcp tcp.dest=tcp.netbios-ns ignore tcp tcp.source=tcp.netbios-ns ignore tcp tcp.dest=tcp.netbios-dgm ignore tcp tcp.source=tcp.netbios-dgm ignore tcp tcp.dest=tcp.netbios-ssn ignore tcp tcp.source=tcp.netbios-ssn #udp ignore udp udp.dest=udp.netbios-ns ignore udp udp.source=udp.netbios-ns #Block Windows housekeeping trafic from triggering autodial etc. #/sbin/ipfwadm -F -a deny -P tcp -S 0.0.0.0/0 137:139 #/sbin/ipfwadm -F -a deny -P udp -S 0.0.0.0/0 137:139 - To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]
