From owner-freebsd-isdn Mon Jul 6 01:09:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26802 for freebsd-isdn-outgoing; Mon, 6 Jul 1998 01:09:59 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA26766 for ; Mon, 6 Jul 1998 01:09:48 -0700 (PDT) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (1353 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Mon, 6 Jul 1998 10:09:29 +0200 (METDST) (Smail-3.2.0.101 1997-Dec-17 #2 built 1998-Jun-26) Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m0yt6NC-0000dtC; Mon, 6 Jul 98 10:11 METDST Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: Re: I4B & NAT In-Reply-To: from Heiko Schaefer at "Jul 1, 98 11:25:42 pm" To: hschaefer@fto.de (Heiko Schaefer) Date: Mon, 6 Jul 1998 10:11:42 +0200 (METDST) Cc: freebsd-isdn@FreeBSD.ORG Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >From the keyboard of Heiko Schaefer: > wouldn't it be possible to change sppp in a way so that natd will be > informed about changes of ip-adresses ? Its possible. Someone who needs it has to code it. hellmuth -- Hellmuth Michaelis Tel +49 40 559747-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 Oldesloer Strasse 97-99 Mail hm@hcs.de 22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 6 14:45:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24857 for freebsd-isdn-outgoing; Mon, 6 Jul 1998 14:45:10 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA24830 for ; Mon, 6 Jul 1998 14:44:58 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.173]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 06 Jul 1998 23:46:05 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id XAA01038; Mon, 6 Jul 1998 23:43:56 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 06 Jul 1998 23:43:56 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: freebsd-isdn@FreeBSD.ORG, hm@hcs.de Subject: fallback-IP-addr for dyn. dials. Is there any use for it ? Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Generally i want to know if there is any use for my changes to sppp. Over the weekend i've hacked sppp. The goal was: - extend spppcontrol to take an IP-addr as an argument for fallback-assignment to the interface (isppp) when the connection closes (in 'dynamic local IP-addr assignment'-mode for dialup). - hack if_spppsubr.c to handle fallback-assignment correct. Now the code does the following: - If spppcontrol is called with the additional argument "dynlip=a.b.c.d" 'dynamic local IP-addr assignment' for sppp will be enabled and every time a dynamic dialup-connection closes, the IP-addr a.b.c.d will be assigned to the interface as a fallback-IP-addr. - If spppcontrol is called with the additional argument "dynlip" 'dynamic local IP-addr assignment' for sppp will be enabled and the currently assigned IP-addr on the interface is taken as a fallback-IP-addr and every time a dynamic dialup-connection on that interface closes, the fallback-IP-addr will be assigned to this interface. - Handling of an 0.0.0.0-addr as indicator for 'dynamic local IP-addr assignment' for sppp still works as usual. Why did i do that: - For dialups with dynamic addr assignment in sppp the local IP-addr on the interface when not connected is usually 0.0.0.0 For this to work with a deny-by-default firewall-setup, i always was forced to add an additional pass-rule for the address 0.0.0.0 to any. Without such a rule, the firewall would block all packets with the source addr 0.0.0.0 and as a result, no dialup would be triggered. - So with my changes it is possible to assign a fallback-IP-addr to an isppp-interface. Every time a dialup-connection is opened and sppp is in 'dynamic local IP-addr assignment'-mode, the IP-addr given by the peer is assigned to the interface. But when the connection closes, the fallback-IP will be assigned again to that interface. That makes an additional 0.0.0.0-dial-trigger-rule in the firewall useless (when setup correct). Now i am wondering if my changes to the sppp-code are of any use to anyone ? - Is there any use for it ? - Is there use for it to be added to the public sppp-code ? (<=> is there use for it to be sent to Hellmuth ?) Malte. ---------------------------------- E-Mail: Malte Lance Date: 06-Jul-98 Time: 23:00:58 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 6 14:45:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24913 for freebsd-isdn-outgoing; Mon, 6 Jul 1998 14:45:34 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA24842 for ; Mon, 6 Jul 1998 14:45:03 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.173]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Mon, 06 Jul 1998 23:46:05 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id XAA01039; Mon, 6 Jul 1998 23:44:10 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 06 Jul 1998 23:44:10 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: (Hellmuth Michaelis) Subject: Re: I4B & NAT Cc: freebsd-isdn@FreeBSD.ORG, (Heiko Schaefer) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 06-Jul-98 Hellmuth Michaelis wrote: >>From the keyboard of Heiko Schaefer: > >> wouldn't it be possible to change sppp in a way so that natd will be >> informed about changes of ip-adresses ? Sure. 1. How do you want to inform natd ? (i don't know anything about the internals of natd). [code-snippet would be good] 2. Which event in the ppp-fsm should trigger this natd-thing ? - lcp-up ? - ipcp-up ? - local-address-assignment in ipcp ? - other ? Malte. > Its possible. Someone who needs it has to code it. > > hellmuth > -- > Hellmuth Michaelis Tel +49 40 559747-70 > HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 > Oldesloer Strasse 97-99 Mail hm@hcs.de > 22457 Hamburg WWW http://www.hcs.de > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isdn" in the body of the message ---------------------------------- E-Mail: Malte Lance Date: 06-Jul-98 Time: 22:52:47 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Jul 7 00:42:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA15632 for freebsd-isdn-outgoing; Tue, 7 Jul 1998 00:42:41 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA15625 for ; Tue, 7 Jul 1998 00:42:37 -0700 (PDT) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (1570 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Tue, 7 Jul 1998 09:42:21 +0200 (METDST) (Smail-3.2.0.101 1997-Dec-17 #2 built 1998-Jun-26) Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m0ytSQV-0000dtC; Tue, 7 Jul 98 09:44 METDST Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: Re: I4B & NAT In-Reply-To: from Malte Lance at "Jul 6, 98 11:44:10 pm" To: malte@webmore.com Date: Tue, 7 Jul 1998 09:44:35 +0200 (METDST) Cc: freebsd-isdn@FreeBSD.ORG Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >From the keyboard of Malte Lance: > >> wouldn't it be possible to change sppp in a way so that natd will be > >> informed about changes of ip-adresses ? > > Sure. > 1. How do you want to inform natd ? (i don't know anything about the > internals of natd). I don't have my Stevens at hand, but the ppp driver has to inform the kernel about its routing changes. Natd will (should) then be informed about it the same way as it is done with routed or gated. hellmuth -- Hellmuth Michaelis Tel +49 40 559747-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 Oldesloer Strasse 97-99 Mail hm@hcs.de 22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Jul 10 02:24:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13222 for freebsd-isdn-outgoing; Fri, 10 Jul 1998 02:24:54 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA13211 for ; Fri, 10 Jul 1998 02:24:48 -0700 (PDT) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (1900 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Fri, 10 Jul 1998 11:24:31 +0200 (METDST) (Smail-3.2.0.101 1997-Dec-17 #2 built 1998-Jun-26) Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m0yuZS1-00006JC; Fri, 10 Jul 98 11:26 METDST Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: new isdn4bsd alpha available for download To: freebsd-isdn@FreeBSD.ORG (ISDN Mailinglist) Date: Fri, 10 Jul 1998 11:26:45 +0200 (METDST) Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, a new isdn4bsd alpha (i4b-00.63-alpha-100798.tgz) has been made available on the isdn4bsd ftp site. - a driver for the Dynalink (Asuscom ?) card was contributed by Martijn Plak - fixes for recent FreeBSD-current changes from Gary - AOCD shorthold mode should now work as expected - try to recover from IRQ lockups - cause handling rework mostly done - several bugs have been fixed and many small enhancements were made, for details please have a look at the ChangeLog file. How to access the ftp site: The ISDN4BSD package is available from: isdn4bsd@ftp.consol.de/pub -------------------------- you have to log in as user isdn4bsd -------- and give your mail address as the password. Then change to the "pub" directory. Anonymous ftp as user "ftp" or "anonymous" will NOT (!) give the desired result ! Have fun, hellmuth -- Hellmuth Michaelis Tel +49 40 559747-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 Oldesloer Strasse 97-99 Mail hm@hcs.de 22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Jul 10 04:49:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA28646 for freebsd-isdn-outgoing; Fri, 10 Jul 1998 04:49:48 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA28639 for ; Fri, 10 Jul 1998 04:49:45 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id NAA06968; Fri, 10 Jul 1998 13:45:05 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id NAA15754; Fri, 10 Jul 1998 13:32:40 +0200 (CEST) (envelope-from andreas) Message-ID: <19980710133240.A15746@klemm.gtn.com> Date: Fri, 10 Jul 1998 13:32:40 +0200 From: Andreas Klemm To: hm@hcs.de, ISDN Mailinglist Subject: Re: new isdn4bsd alpha available for download References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Hellmuth Michaelis on Fri, Jul 10, 1998 at 11:26:45AM +0200 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jul 10, 1998 at 11:26:45AM +0200, Hellmuth Michaelis wrote: > Hi, > > a new isdn4bsd alpha (i4b-00.63-alpha-100798.tgz) has been made available > on the isdn4bsd ftp site. > > - a driver for the Dynalink (Asuscom ?) card was contributed by Martijn Plak > > - fixes for recent FreeBSD-current changes from Gary > > - AOCD shorthold mode should now work as expected > > - try to recover from IRQ lockups > > - cause handling rework mostly done > > - several bugs have been fixed and many small enhancements were made, > for details please have a look at the ChangeLog file. Great ! Andreas /// -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Jul 10 07:23:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA16511 for freebsd-isdn-outgoing; Fri, 10 Jul 1998 07:23:35 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA16180 for ; Fri, 10 Jul 1998 07:21:36 -0700 (PDT) (envelope-from hohmuth@olymp.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id QAA27395; Fri, 10 Jul 1998 16:20:43 +0200 (CEST) (envelope-from hohmuth@olymp.sax.de) Received: (from hohmuth@localhost) by olymp.sax.de (8.8.8/8.8.8) id QAA00671; Fri, 10 Jul 1998 16:03:14 +0200 (CEST) (envelope-from hohmuth) From: Michael Hohmuth To: malte@webmore.com Cc: freebsd-isdn@FreeBSD.ORG, hm@hcs.de Subject: Re: fallback-IP-addr for dyn. dials. Is there any use for it ? References: Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII Date: 10 Jul 1998 16:03:13 +0200 In-Reply-To: Malte Lance's message of Mon, 06 Jul 1998 23:43:56 +0200 (CEST) Message-ID: <87n2ahls66.fsf@olymp.sax.de> Lines: 58 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Malte Lance writes: > Generally i want to know if there is any use for my changes to sppp. > Over the weekend i've hacked sppp. The goal was: > - extend spppcontrol to take an IP-addr as an argument for > fallback-assignment to the interface (isppp) when the connection > closes (in 'dynamic local IP-addr assignment'-mode for dialup). > - hack if_spppsubr.c to handle fallback-assignment correct. > Why did i do that: > - For dialups with dynamic addr assignment in sppp the local IP-addr on > the interface when not connected is usually 0.0.0.0 Unless you assign the interface an IP address before connecting. This is what I do: IF=isppp0 ifconfig $IF inet 141.76.92.31 141.76.1.5 netmask 0xffffff00 link1 spppcontrol $IF myauthproto=pap myauthname=pmh1 \ myauthsecret=`cat /etc/isdn/pap-passwd` callin isdnd route add -interface default $IF ifconfig $IF up Here, the interface is assigned 141.76.92.31 before connection, and this IP address has been allowed to send out data in the firewall configuration. Therefore, autodial works. > For this to work with a deny-by-default firewall-setup, i always was > forced to add an additional pass-rule for the address 0.0.0.0 to any. > Without such a rule, the firewall would block all packets with the > source addr 0.0.0.0 and as a result, no dialup would be triggered. I also use a firewall setup, but I don't need a firewall configuration entry for 0.0.0.0 to have `isdnd' dial automatically. Also, the IP address is not reset when disconnecting. I have to admit, however, that I'm always assigned the same IP address. I haven't thought about how to configure the firewall if I was assigned a different IP address each time. > Now i am wondering if my changes to the sppp-code are of any use to anyone ? > - Is there any use for it ? > - Is there use for it to be added to the public sppp-code ? > (<=> is there use for it to be sent to Hellmuth ?) Perhaps you should check first whether my approach is general enough to support your setup? Michael -- hohmuth@innocent.com, hohmuth@inf.tu-dresden.de http://home.pages.de/~hohmuth/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Jul 10 11:17:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA17398 for freebsd-isdn-outgoing; Fri, 10 Jul 1998 11:17:37 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from gilberto.physik.RWTH-Aachen.DE (gilberto.physik.rwth-aachen.de [137.226.30.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA17393 for ; Fri, 10 Jul 1998 11:17:35 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: (from kuku@localhost) by gilberto.physik.RWTH-Aachen.DE (8.8.8/8.8.7) id UAA29022 for freebsd-isdn@freebsd.org; Fri, 10 Jul 1998 20:17:41 +0200 (MEST) (envelope-from kuku) Date: Fri, 10 Jul 1998 20:17:41 +0200 (MEST) From: Christoph Kukulies Message-Id: <199807101817.UAA29022@gilberto.physik.RWTH-Aachen.DE> To: freebsd-isdn@FreeBSD.ORG Subject: i4b-100798 - FreeBSD 2.2.6 success story Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi folks, while writing this I'm logged in the first time using i4b. I grabbed i4b-alpha-100798.tar.gz this afternoon and after an hour of installation/compilation (including a 2.2.5->2.2.6 upgrade) I had i4b running within short. A great applause and many thanks to Hellmuth and all who are involved in this great piece of work. I'm sure at the beginning of exploring its capabilities but yet impressed. Thank you. -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Jul 10 13:23:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03955 for freebsd-isdn-outgoing; Fri, 10 Jul 1998 13:23:30 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from gate.ljis.ml.org (cyberworld.demon.co.uk [158.152.125.109]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03910 for ; Fri, 10 Jul 1998 13:23:17 -0700 (PDT) (envelope-from ljohnston@cyberworld.demon.co.uk) Received: (from ljohnston@localhost) by gate.ljis.ml.org (8.8.8/8.8.8) id UAA00661; Fri, 10 Jul 1998 20:25:23 GMT (envelope-from ljohnston) Message-ID: <19980710202523.A653@ljis.ml.org> Date: Fri, 10 Jul 1998 20:25:23 +0000 From: Lee Johnston To: freebsd-isdn@FreeBSD.ORG Subject: External Teles Card Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was just woundering if anyone knew if the external Teles ISDN T/A that uses a parallel port is support by FreeBSD? Lee. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Jul 10 13:57:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14237 for freebsd-isdn-outgoing; Fri, 10 Jul 1998 13:57:21 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from gilberto.physik.RWTH-Aachen.DE (gilberto.physik.rwth-aachen.de [137.226.30.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14185 for ; Fri, 10 Jul 1998 13:57:06 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: (from kuku@localhost) by gilberto.physik.RWTH-Aachen.DE (8.8.8/8.8.7) id WAA29712 for freebsd-isdn@freebsd.org; Fri, 10 Jul 1998 22:57:15 +0200 (MEST) (envelope-from kuku) Date: Fri, 10 Jul 1998 22:57:15 +0200 (MEST) From: Christoph Kukulies Message-Id: <199807102057.WAA29712@gilberto.physik.RWTH-Aachen.DE> To: freebsd-isdn@FreeBSD.ORG Subject: interference of different 'entries' Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have ipr0 and ipr1 and associated entries in /etc/isdn/isdnd.rc. Strangely, when dialing out via a call number which is associated with ipr1 I'm getting interfering dialouts and log messages from another entry associated with unit 1, namely I4BIP1. I see that from a dialout number '38' apperaing in the logs together with messages like 'Bearer capability not supported' or something. That is with i4b-alpha-100798 - the one and only i4b I was ever using - so I don't know if this was the same with older versions. I'm sure Hellmuth will know the answer :-) -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Jul 10 17:19:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA23004 for freebsd-isdn-outgoing; Fri, 10 Jul 1998 17:19:59 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mail.dinoex.sub.org (root@mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA22867 for ; Fri, 10 Jul 1998 17:19:21 -0700 (PDT) (envelope-from dirk.meyer@dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.0/8.9.0) with UUCP id CAA07238 for freebsd-isdn@FreeBSD.ORG; Sat, 11 Jul 1998 02:19:32 +0200 (CEST) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.9.0/8.9.0) with BSMTP id XAA16214 for ; Fri, 10 Jul 1998 23:05:16 +0200 (CEST) To: freebsd-isdn@FreeBSD.ORG Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: improvement for rc.isdn Date: Fri, 10 Jul 1998 22:59:45 +0200 X-Mailer: Dinoex 1.68 X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect v0.76-m5] X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-ZC-VIA: 19980710000000S+2@dinoex.sub.org Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I use an auto-dection of the terminal type for isdnd. this saves a lot of work if you boot diffrent kernels. kind regards Dirk -- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany -- Tel. +49-5606-6512 # terminal type for fullscreen mode (this is for the pcvt VT220 emulator) out_typ=cons25 # pcvt-Config if test -x /usr/sbin/ispcvt then if /usr/sbin/ispcvt then out_typ=pcvt25 fi fi . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Jul 11 01:57:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA13690 for freebsd-isdn-outgoing; Sat, 11 Jul 1998 01:57:10 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from linteuto.teuto.de (linteuto.teuto.de [194.77.23.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA13673 for ; Sat, 11 Jul 1998 01:57:07 -0700 (PDT) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (root@rumolt.teuto.de [194.77.23.161]) by linteuto.teuto.de (8.8.7/8.8.7) with ESMTP id KAA02845; Sat, 11 Jul 1998 10:56:54 +0200 Received: (from martin@localhost) by rumolt.teuto.de (8.8.8/8.8.7) id JAA02484; Sat, 11 Jul 1998 09:02:14 +0200 (MEST) From: Martin Husemann Message-Id: <199807110702.JAA02484@rumolt.teuto.de> Subject: Re: fallback-IP-addr for dyn. dials. Is there any use for it ? To: hohmuth@innocent.com (Michael Hohmuth) Date: Sat, 11 Jul 1998 09:02:13 +0200 (MEST) Cc: malte@webmore.com, freebsd-isdn@FreeBSD.ORG, hm@hcs.de In-Reply-To: <87n2ahls66.fsf@olymp.sax.de> from "Michael Hohmuth" at Jul 10, 98 04:03:13 pm Organization: Crusaders Catering Services Inc. X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Here, the interface is assigned 141.76.92.31 before connection, and > this IP address has been allowed to send out data in the firewall > configuration. Therefore, autodial works. [..] > I have to admit, however, that I'm always assigned the same IP > address. I haven't thought about how to configure the firewall if I > was assigned a different IP address each time. Me too, but in one installation we are assigned a dynamic ip address. Works just the same: you'll have to know what range of ip adresses your provider picks your dynamic adress from and allow that whole range to send outgoing data. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Jul 11 05:02:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA28601 for freebsd-isdn-outgoing; Sat, 11 Jul 1998 05:02:07 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mail.ppp.net (mail.ppp.net [194.64.12.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA28582 for ; Sat, 11 Jul 1998 05:02:04 -0700 (PDT) (envelope-from ernie!bert.kts.org!hm@ppp.net) Received: from casparc.ppp.net (casparc2.ppp.net [194.64.12.42]) by mail.ppp.net (8.8.8/8.8.8) with SMTP id OAA00058; Sat, 11 Jul 1998 14:02:00 +0200 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0yuyLp-002ZjZC; Sat, 11 Jul 98 14:02 MET DST Received: from bert.kts.org(really [194.55.156.2]) by ernie.kts.org via sendmail with smtp id for ; Sat, 11 Jul 1998 13:42:49 +0200 (CEST) (Smail-3.2.0.91 1997-Jan-14 #3 built 1998-Feb-14) Received: by bert.kts.org via sendmail with stdio id for freebsd-isdn@FreeBSD.ORG; Sat, 11 Jul 1998 13:37:17 +0200 (CEST) (Smail-3.2.0.94 1997-Apr-22 #1 built 1998-Jun-6) Message-Id: From: hm@kts.org (Hellmuth Michaelis) Subject: Re: External Teles Card In-Reply-To: <19980710202523.A653@ljis.ml.org> from Lee Johnston at "Jul 10, 98 08:25:23 pm" To: ljohnston@cyberworld.demon.co.uk (Lee Johnston) Date: Sat, 11 Jul 1998 13:37:17 +0200 (CEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Lee Johnston wrote: > I was just woundering if anyone knew if the external Teles ISDN T/A > that uses a parallel port is support by FreeBSD? I don't think so. At least its unsupported in isdn4bsd. hellmuth -- Hellmuth Michaelis hm@kts.org Hamburg, Europe A duck is like a bicycle because they both have two wheels except the duck (terry@cs.weber.edu) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Jul 11 06:02:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA01478 for freebsd-isdn-outgoing; Sat, 11 Jul 1998 06:02:07 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mail.ppp.net (mail.ppp.net [194.64.12.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA01471 for ; Sat, 11 Jul 1998 06:02:04 -0700 (PDT) (envelope-from ernie!bert.kts.org!hm@ppp.net) Received: from casparc.ppp.net (casparc2.ppp.net [194.64.12.42]) by mail.ppp.net (8.8.8/8.8.8) with SMTP id PAA00448; Sat, 11 Jul 1998 15:01:59 +0200 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0yuzHs-002ZjZC; Sat, 11 Jul 98 15:02 MET DST Received: from bert.kts.org(really [194.55.156.2]) by ernie.kts.org via sendmail with smtp id for ; Sat, 11 Jul 1998 13:45:36 +0200 (CEST) (Smail-3.2.0.91 1997-Jan-14 #3 built 1998-Feb-14) Received: by bert.kts.org via sendmail with stdio id for freebsd-isdn@FreeBSD.ORG; Sat, 11 Jul 1998 13:40:04 +0200 (CEST) (Smail-3.2.0.94 1997-Apr-22 #1 built 1998-Jun-6) Message-Id: From: hm@kts.org (Hellmuth Michaelis) Subject: Re: interference of different 'entries' In-Reply-To: <199807102057.WAA29712@gilberto.physik.RWTH-Aachen.DE> from Christoph Kukulies at "Jul 10, 98 10:57:15 pm" To: kuku@gilberto.physik.RWTH-Aachen.DE (Christoph Kukulies) Date: Sat, 11 Jul 1998 13:40:04 +0200 (CEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christoph Kukulies wrote: > I have ipr0 and ipr1 and associated entries in /etc/isdn/isdnd.rc. > Strangely, when dialing out via a call number which is associated with > ipr1 I'm getting interfering dialouts and log messages from another > entry associated with unit 1, namely I4BIP1. I see that from a > dialout number '38' apperaing in the logs together with messages like > 'Bearer capability not supported' or something. I'm quite shure there is a bug in your isdnd.rc (or in my example for isdnd.rc) somewhere ... hellmuth -- Hellmuth Michaelis hm@kts.org Hamburg, Europe A duck is like a bicycle because they both have two wheels except the duck (terry@cs.weber.edu) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Jul 11 07:21:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05966 for freebsd-isdn-outgoing; Sat, 11 Jul 1998 07:21:04 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA05958 for ; Sat, 11 Jul 1998 07:21:01 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id QAA13742; Sat, 11 Jul 1998 16:15:07 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id PAA16546; Sat, 11 Jul 1998 15:58:35 +0200 (CEST) (envelope-from andreas) Message-ID: <19980711155835.A16114@klemm.gtn.com> Date: Sat, 11 Jul 1998 15:58:35 +0200 From: Andreas Klemm To: hm@hcs.de, ISDN Mailinglist Subject: Re: new isdn4bsd alpha available for download References: <19980710133240.A15746@klemm.gtn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19980710133240.A15746@klemm.gtn.com>; from Andreas Klemm on Fri, Jul 10, 1998 at 01:32:40PM +0200 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org To be more specific, runs under -current / SMP without trouble :-) -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Jul 11 08:09:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA09102 for freebsd-isdn-outgoing; Sat, 11 Jul 1998 08:09:06 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA09096 for ; Sat, 11 Jul 1998 08:09:04 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.167]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Sat, 11 Jul 1998 17:10:22 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id RAA00419; Sat, 11 Jul 1998 17:08:07 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <87n2ahls66.fsf@olymp.sax.de> Date: Sat, 11 Jul 1998 17:08:07 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: Michael Hohmuth Subject: Re: fallback-IP-addr for dyn. dials. Is there any use for it ? Cc: hm@hcs.de, freebsd-isdn@FreeBSD.ORG Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 10-Jul-98 Michael Hohmuth wrote: > Malte Lance writes: > >> Generally i want to know if there is any use for my changes to sppp. >> Over the weekend i've hacked sppp. The goal was: >> - extend spppcontrol to take an IP-addr as an argument for >> fallback-assignment to the interface (isppp) when the connection >> closes (in 'dynamic local IP-addr assignment'-mode for dialup). >> - hack if_spppsubr.c to handle fallback-assignment correct. > >> Why did i do that: >> - For dialups with dynamic addr assignment in sppp the local IP-addr on >> the interface when not connected is usually 0.0.0.0 > > Unless you assign the interface an IP address before connecting. This > is what I do: As i said: "dialups with dynamic addr" So you have to assign 0.0.0.0 for the sppp-device. In the current-version, this is the only way to configure sppp for dynamic local IP-addr assignment. Otherwise sppp does not agree to an IP-addr given by the peer in ipcp unless it is the IP-addr the sppp-device was configured with. The local address 0.0.0.0 is the trigger for dynamic IP-addr handling in the current version of sppp (as you know). > > Here, the interface is assigned 141.76.92.31 before connection, and > this IP address has been allowed to send out data in the firewall > configuration. Therefore, autodial works. > >> For this to work with a deny-by-default firewall-setup, i always was >> forced to add an additional pass-rule for the address 0.0.0.0 to any. >> Without such a rule, the firewall would block all packets with the >> source addr 0.0.0.0 and as a result, no dialup would be triggered. > > I also use a firewall setup, but I don't need a firewall configuration > entry for 0.0.0.0 to have `isdnd' dial automatically. Also, the IP > address is not reset when disconnecting. When sppp0 was configured with 0.0.0.0 it will be set back to 0.0.0.0 after the connection closes as you will find in the original code for closing ipcp: if_spppsubr.c: -------------- static void sppp_ipcp_close(struct sppp *sp) { sppp_close_event(&ipcp, sp); if (sp->ipcp.flags & IPCP_MYADDR_DYN) /* * My address was dynamic, clear it again. */ sppp_set_ip_addr(sp, 0L); } > > I have to admit, however, that I'm always assigned the same IP > address. I haven't thought about how to configure the firewall if I > was assigned a different IP address each time. Yes and that's the situation i have written the changes for. Malte. > >> Now i am wondering if my changes to the sppp-code are of any use to anyone ? >> - Is there any use for it ? >> - Is there use for it to be added to the public sppp-code ? >> (<=> is there use for it to be sent to Hellmuth ?) > > Perhaps you should check first whether my approach is general enough > to support your setup? > > Michael > -- > hohmuth@innocent.com, hohmuth@inf.tu-dresden.de > http://home.pages.de/~hohmuth/ > ---------------------------------- E-Mail: Malte Lance Date: 10-Jul-98 Time: 19:38:10 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Jul 11 08:21:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA09952 for freebsd-isdn-outgoing; Sat, 11 Jul 1998 08:21:25 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA09941 for ; Sat, 11 Jul 1998 08:21:21 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id RAA16164 for freebsd-isdn@freebsd.org; Sat, 11 Jul 1998 17:15:08 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id QAA18657; Sat, 11 Jul 1998 16:13:07 +0200 (CEST) (envelope-from andreas) Message-ID: <19980711161307.A18223@klemm.gtn.com> Date: Sat, 11 Jul 1998 16:13:07 +0200 From: Andreas Klemm To: freebsd-isdn@FreeBSD.ORG Subject: aocd seems to work pretty well ... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi ! Without rates file and this configuration in isdnd.rc: # ratesfile = /etc/isdn/isdnd.rates # name & location of rates file unitlength = 90 unitlengthsrc = aocd I get this result: Jul 11 16:06:35 titan /kernel: isppp0: phase establish Jul 11 16:06:35 titan isdnd[17141]: CHD 00015 GTN rate 60 sec/unit (aocd, default) ^^^^^^^^^^^^^^^^^^^^^^^^^ Jul 11 16:06:35 titan isdnd[17141]: CHD 00015 GTN dialing out from 021372017 to 02131768000 Jul 11 16:06:36 titan isdnd[17141]: CHD 00015 GTN outgoing call proceeding (ctl 0, ch 0) Jul 11 16:06:37 titan isdnd[17141]: CHD 00015 GTN outgoing call active (ctl 0, ch 0) Jul 11 16:06:37 titan /kernel: isppp0: phase authenticate Jul 11 16:06:37 titan /kernel: isppp0: phase network Jul 11 16:08:32 titan /kernel: isppp0: phase terminate Jul 11 16:08:32 titan /kernel: isppp0: phase dead Jul 11 16:08:32 titan isdnd[17141]: CHD 00015 GTN outgoing call disconnected (local) Jul 11 16:08:32 titan isdnd[17141]: CHD 00015 GTN cause 0: normal call clearing (I4B) Jul 11 16:08:32 titan isdnd[17141]: CHD 00015 GTN charging: 1 units, 115 seconds ^^^^^^^^^^^^^^^^^^^^ Jul 11 16:08:32 titan isdnd[17141]: CHD 00015 GTN accounting: in 5302, out 1388 -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Jul 11 09:11:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA14735 for freebsd-isdn-outgoing; Sat, 11 Jul 1998 09:11:11 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA14722 for ; Sat, 11 Jul 1998 09:11:06 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.175]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Sat, 11 Jul 1998 18:12:23 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id SAA00400; Sat, 11 Jul 1998 18:08:13 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199807110702.JAA02484@rumolt.teuto.de> Date: Sat, 11 Jul 1998 18:08:11 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: Martin Husemann Subject: Re: fallback-IP-addr for dyn. dials. Is there any use for it ? Cc: hm@hcs.de, freebsd-isdn@FreeBSD.ORG, (Michael Hohmuth) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 11-Jul-98 Martin Husemann wrote: >> Here, the interface is assigned 141.76.92.31 before connection, and >> this IP address has been allowed to send out data in the firewall >> configuration. Therefore, autodial works. > [..] >> I have to admit, however, that I'm always assigned the same IP >> address. I haven't thought about how to configure the firewall if I >> was assigned a different IP address each time. > > Me too, but in one installation we are assigned a dynamic ip address. > Works just the same: you'll have to know what range of ip adresses your > provider picks your dynamic adress from and allow that whole range to > send outgoing data. Passing packets is not the problem. Starting the dial is the problem. When your local-IP on the sppp-device is set to 0.0.0.0 you always will need an ipfw-rule that allows "0.0.0.0 to any" just for triggering the dial. After the connection is setup and the local IP-addr for the sppp-device dynamically assigned, there are no problems. Then, when the connection is closed, the IP-addr on the sppp-device is set again to 0.0.0.0. Now how do you think a dial will be triggered when a packet arrives on the sppp-device and you don't have a "pass all from 0.0.0.0 to any ..."-rule in your firewall-file. It won't be. Putting the 0.0.0.0-trigger-rule into the firewall-config is just moving isdnd-functionality into the firewall. I found it just annoying to add this 0.0.0.0-"trigger-rule" into my firewall-file and i did not for sure knew what implications such a rule would have. And i found it much neater to just add "dynlip" to the 'spppcontrol'-call instead of configuring the sppp-device with a magic 0.0.0.0 number. Yes, 0.0.0.0 is magical for routing and that's ok, but why config a device with 0.0.0.0 ??? Thats all. Malte. > > > Martin > ---------------------------------- E-Mail: Malte Lance Date: 11-Jul-98 Time: 17:55:00 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Jul 11 09:31:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA16429 for freebsd-isdn-outgoing; Sat, 11 Jul 1998 09:31:10 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16424 for ; Sat, 11 Jul 1998 09:31:07 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id SAA19318 for freebsd-isdn@FreeBSD.ORG; Sat, 11 Jul 1998 18:30:10 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id SAA05313; Sat, 11 Jul 1998 18:27:25 +0200 (CEST) (envelope-from andreas) Message-ID: <19980711182725.A4601@klemm.gtn.com> Date: Sat, 11 Jul 1998 18:27:25 +0200 From: Andreas Klemm To: freebsd-isdn@FreeBSD.ORG Subject: Re: aocd seems to work pretty well ... References: <19980711161307.A18223@klemm.gtn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19980711161307.A18223@klemm.gtn.com>; from Andreas Klemm on Sat, Jul 11, 1998 at 04:13:07PM +0200 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Jul 11, 1998 at 04:13:07PM +0200, Andreas Klemm wrote: > Hi ! > > Without rates file and this configuration in isdnd.rc: > # ratesfile = /etc/isdn/isdnd.rates # name & location of rates file > unitlength = 90 > unitlengthsrc = aocd > > I get this result: > > Jul 11 16:06:35 titan /kernel: isppp0: phase establish > Jul 11 16:06:35 titan isdnd[17141]: CHD 00015 GTN rate 60 sec/unit (aocd, default) > ^^^^^^^^^^^^^^^^^^^^^^^^^ > Jul 11 16:06:35 titan isdnd[17141]: CHD 00015 GTN dialing out from 021372017 to 02131768000 > Jul 11 16:06:36 titan isdnd[17141]: CHD 00015 GTN outgoing call proceeding (ctl 0, ch 0) > Jul 11 16:06:37 titan isdnd[17141]: CHD 00015 GTN outgoing call active (ctl 0, ch 0) > Jul 11 16:06:37 titan /kernel: isppp0: phase authenticate > Jul 11 16:06:37 titan /kernel: isppp0: phase network > Jul 11 16:08:32 titan /kernel: isppp0: phase terminate > Jul 11 16:08:32 titan /kernel: isppp0: phase dead > Jul 11 16:08:32 titan isdnd[17141]: CHD 00015 GTN outgoing call disconnected (local) > Jul 11 16:08:32 titan isdnd[17141]: CHD 00015 GTN cause 0: normal call clearing (I4B) > Jul 11 16:08:32 titan isdnd[17141]: CHD 00015 GTN charging: 1 units, 115 seconds > ^^^^^^^^^^^^^^^^^^^^ > Jul 11 16:08:32 titan isdnd[17141]: CHD 00015 GTN accounting: in 5302, out 1388 Hmm, or not ??? Jul 11 18:24:53 titan isdnd[17141]: CHD 00023 GTN rate 60 sec/unit (aocd, default) Jul 11 18:24:53 titan isdnd[17141]: CHD 00023 GTN dialing out from 021372017 to 02131768000 Jul 11 18:24:53 titan isdnd[17141]: CHD 00023 GTN outgoing call proceeding (ctl 0, ch 0) Jul 11 18:24:54 titan isdnd[17141]: CHD 00023 GTN outgoing call active (ctl 0, ch 0) Jul 11 18:24:54 titan /kernel: isppp0: phase authenticate Jul 11 18:24:54 titan /kernel: isppp0: phase network Jul 11 18:25:49 titan /kernel: isppp0: phase terminate Jul 11 18:25:49 titan /kernel: isppp0: phase dead Jul 11 18:25:49 titan isdnd[17141]: CHD 00023 GTN outgoing call disconnected (local) Jul 11 18:25:49 titan isdnd[17141]: CHD 00023 GTN cause 0: normal call clearing (I4B) Jul 11 18:25:49 titan isdnd[17141]: CHD 00023 GTN charging: 1 units, 55 seconds ^^^^^^^^^ Jul 11 18:25:49 titan isdnd[17141]: CHD 00023 GTN accounting: in 30488, out 6034 disconnected too early ... -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message