From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,cd175cfc5d67c0f3,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-12-01 10:04:29 PST Path: bga.com!news.sprintlink.net!EU.net!uunet!news.tele.fi!news.csc.fi!news.helsinki.fi!not-for-mail From: schenk@cs.toronto.edu (Eric Schenk) Newsgroups: comp.os.linux.announce Subject: New release of diald available. Followup-To: comp.os.linux.misc Date: 1 Dec 1994 19:34:38 +0200 Organization: CS Lab, University of Toronto Sender: wirzeniu@cc.Helsinki.FI Message-ID: <3bl1fe$a4s@kruuna.Helsinki.FI> NNTP-Posting-Host: kruuna.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Keywords: diald, demand dialing, netowrking, phones, PPP, SLIP I have just uploaded the latest release of diald, diald-0.4, to sunsite. Here is the README from the distribution. I'm always annoyed at README files announcing a new release of a package without informing the reader of the purpose of the package. Therefore, first things first. What is diald? Diald is a daemon that does demand dialing for PPP and SLIP. The purpose of diald is to make it transparently appear that you have a permanent connection to a remote site. Diald sets up a "proxy" device which stands in for the physical connection to a remote site. It then monitors the proxy, waiting for packets to arrive. When interesting packets arrive it will attempt to establish the physical link to the remote site using either SLIP or PPP, and if it succeeds it will forward traffic from the proxy to the physical link. As well, diald will monitor traffic once the physical link is up, and when it has determined that the link is idle, the remote connection is terminated. The criteria for bringing the link up and taking it down are configurable at run time, and are based upon the type of traffic passing over the link. This is the fourth ALPHA release of this code. The CHANGES file attempts to describe what has changed since the last release. Quick summary: o Dynamic SLIP and PPP are now supported. o Diald will now generate an accounting log of connections made and the duration of each connection. This is intended as an aid to those who wish to claim telephone expenses from their accounting departments. o The syntax for specifying packet filters has changed. The change is to accommodate a future extension to allow diald to act as a per link firewall. Please don't ask me about this ability right now! I'm still tinkering with kernel code and I'm not anywhere near prepare to let this stuff see the light of day! o Lots of bug fixes. Thanks for all the reports! As I said before, this is still ALPHA code, your mileage may vary! I'm using diald daily, and it works for me, but I can't anticipate every software/hardware configuration out there. For reference, I wrote and tested diald on a system running bleeding edge Linux 1.1.*. Currently I'm up to Linux 1.1.62. I've tested diald using both pppd-2.1.2b and pppd-940914 and it should work with either. I've had reports that people cannot get it to work with 1.0.x series kernels. If anyone does get it working with 1.0.x series kernels I'd be interested to hear about it. WHERE TO GET IT --------------- The file is called diald-0.4.tar.gz. I've uploaded it to sunsite.unc.edu:/pub/Linux/Incoming. It should move to sunsite.unc.edu:/pub/Linux/system/Network/serial after a suitable interval. BEFORE INSTALLATION ------------------- You must have SLIP devices in your kernel in order to use diald, EVEN IF YOU PLAN TO USE ONLY PPP CONNECTIONS! Let me repeat that, diald needs SLIP to work under all circumstances. It uses a SLIP link on a pseudo terminal to create the proxy device that stands in for the real connection. Naturally, if you plan on using diald to establish PPP connections, you must also have PPP devices in your kernel. You must also have a program like "chat" to do dialing. Also, if you plan to have a lot of diald's running around (connecting to different sites) you will probably need to increase the number of SLIP and possibly PPP devices in your kernel. Note that diald takes up one SLIP device for every connection whether it is active or not, and one PPP device for every connection that is currently active. CONFIGURING DIALD ----------------- Various pathnames that diald needs to know can be configured in "config.h". Edit this file appropriately. The eventual installation location for the diald binary, the man page and the diald definitions file can be configured in the Makefile. BASIC INSTALLATION (FIRST TIME USERS) ------------------------------------- WARNING: Don't do this if you are already running a previous version of diald, it will destroy your existing configuration files! First run "make depend" then "make" and then "make install" as root. This makes the diald daemon and installs it. Next run "make install-config". This will install the the configuration files /etc/diald.defs and /etc/diald.conf. After installation you probably want to edit /etc/diald.conf to customize diald to your local site. Read the manual page to find out what this file can contain. INSTALLATION IF YOU ARE ALREADY USING AN EARLIER VERSION -------------------------------------------------------- Run "make depend" then "make" and then "make install" as root to install the new executable and man page. If you don't want to save an existing /etc/diald.conf file just proceed as for the basic first time installation. Otherwise, you must copy the doc/diald.defs file to /etc/diald.defs by hand. This file contains the definitions of protocol rules and variable names used by the filter definitions. YOU MUST HAVE IT INSTALLED. You will also need to edit your existing /etc/diald.conf file because the names of some of the diald options have changed. See the CHANGES file for more information. USING DIALD ----------- Read the man page for more information. BUGS & LIMITATIONS ------------------ There are some known problems and limitations. Lines in options files can contain at most 1024 charac- ters. Longer lines are silently truncated. If there are no filter rules specified then no packets will be matched and the daemon won't do anything. It should probably match all packets by default in this case. When closing the modem diald often generates the error message "failed to restore initial modem terminal set- tings: I/O error". I do not yet known why this error hap- pens, but it does not seem to inhibit the operation of diald. Diald's support for multiple modem devices is somewhat limited. It will try a list of devices, but it uses the same chat script and control settings on all the devices. This means that you must have the same kind of modem on every device. At some point diald needs a better way to configure individual devices for call out in an independent way. Please send bug reports, patches or suggestions for improvements to me. Eric Schenk schenk@cs.toronto.edu Toronto, Canada, November 27th, 1994. -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu PLEASE remember Keywords: and a short description of the software.