Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!in2.uu.net!svc.portal.com!news1.best.com!shellx.best.com!shellx.best.com!not-for-mail From: paigen@shellx.best.com (David Paigen) Newsgroups: comp.unix.bsd.freebsd.misc Subject: ppp problems (filters and chat) Date: 17 Oct 1995 14:29:05 -0700 Organization: Forte Computer Systems, Brisbane CA Lines: 45 Message-ID: <461771$469@shellx.best.com> NNTP-Posting-Host: shellx.best.com X-Newsreader: NN version 6.5.0 #6 (NOV) I switched over to using ppp rather than pppd last weekend. I have a couple of questions. First, what is this about filters? The man page mentions three, ifilter, ofilter, and dfilter. Are these input, output, and dial filters? I.e. what can come in, what can go out, and what will cause a dial? Also, I saw in an article here mention of an 'afilter', would that be a keep alive filter, i.e. these packets should not keep the link alive? What are good things to filter? Second, on occasion the login chat with my provider fails. I think this is because the modems don't link properly (e.g. bad parity or speed, etc). When that happens ppp keeps trying to dial and login every few seconds, but never drops the line so it is always conversing with my ISP, not my modem. Here are the relevant entries from my ppp.conf: default: set device /dev/cuaa2 set speed 38400 set debug phase disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIR TIMEOUT 5 \"\" AT OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" isp: set phone 1234567 set login "TIMEOUT 5 login:-\\r-login:-\\r-login: username word: password" set ifaddr x.x.x.x y.y.y.y add 0 0 HISADDR dfilter 0 deny icmp dfilter 1 permit 0/0 0/0 set timeout 300 Any suggestions here? Thanks, -david -- David Paigen, aka Sir Henry Lee, Queen's Champion Will answer stupid user paigen@best.com C, unix, X, news, and questions for beer. paigen@forte.org distributed systems (good beer)