From owner-freebsd-isdn Sun Aug 23 11:41:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11933 for freebsd-isdn-outgoing; Sun, 23 Aug 1998 11:41:04 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from pop1.gmx.net (pop1.gmx.net [194.97.64.131]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA11925 for ; Sun, 23 Aug 1998 11:41:02 -0700 (PDT) (envelope-from olli@gmx.net) Message-Id: <199808231841.LAA11925@hub.freebsd.org> Received: (qmail 19456 invoked from network); 23 Aug 1998 18:40:17 -0000 Received: from board-19.darmstadt.netsurf.de (HELO gmx.net) (194.163.86.147) by pop1.gmx.net with SMTP; 23 Aug 1998 18:40:17 -0000 Date: Sun, 23 Aug 1998 20:36:06 +0200 From: Oliver Fischer To: freebsd-isdn@FreeBSD.ORG Subject: no connection using I4B and Teles 16.3 X-Mailer: Oliver Fischer's registered AK-Mail 3.0b [ger] 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, When trying to connect to my ISP with I4B, FreeBSD 2.2.7 and a Teles 16.3 card, the connection fails. Has anybody an idea how to fix it? isic0 at 0xd80 irq 5 flags 0x4 on isa isic0: Teles S0/16.3 isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) (Addr=0x960) isic0: HSCX 82525 or 21525 Version 2.1 (AddrA=0x160, AddrB=0x560) i4b: ISDN call control device attached i4bisppp: 4 ISDN SyncPPP device(s) attached isppp0: phase establish i4b-L2-i4b_tei_assign: tx TEI ID_Request i4b-L2-i4b_T202_timeout: unit 0, N202 = 3 i4b-L2-i4b_tei_assign: tx TEI ID_Request i4b-L1-timer3_expired: state = F4 Awaiting Signal i4b-L1-isic_recover: HSCX B: ISTA = 0x0 i4b-L1-isic_recover: ISAC: ISTA = 0x94 i4b-L1-isic_recover: ISAC: CISQ = 0x1e i4b-L1-isic_recover: HSCX B: IMASK = 0xff i4b-L1-isic_recover: HSCX A: IMASK = 0xf8 i4b-L1-isic_recover: ISAC: IMASK = 0x2a i4b-L2-i4b_T202_timeout: unit 0, N202 = 3 i4b-L2-i4b_tei_assign: tx TEI ID_Request i4b-L1-ph_data_req: still in state F3! i4b-L1-ph_data_req: No Space in TX FIFO, state = F4 Awaiting Signal i4b-L3-T303_timeout: SETUP not answered, cr = 55 i4b-L3-next_l3state: FSM illegal state, state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout! Thanx a lot! Oliver To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Aug 23 13:32:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19091 for freebsd-isdn-outgoing; Sun, 23 Aug 1998 13:32:54 -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 NAA19083 for ; Sun, 23 Aug 1998 13:32:48 -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 WAA21674; Sun, 23 Aug 1998 22:32:02 +0200 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0zAgnx-002ZjZC; Sun, 23 Aug 98 22:32 MET DST Received: from bert.kts.org(really [194.55.156.2]) by ernie.kts.org via sendmail with smtp id for ; Sun, 23 Aug 1998 22:02:56 +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; Sun, 23 Aug 1998 22:02:56 +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: no connection using I4B and Teles 16.3 In-Reply-To: <199808231841.LAA11925@hub.freebsd.org> from Oliver Fischer at "Aug 23, 98 08:36:06 pm" To: olli@gmx.net (Oliver Fischer) Date: Sun, 23 Aug 1998 22:02:56 +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 Oliver Fischer wrote: > When trying to connect to my ISP with I4B, FreeBSD 2.2.7 and a Teles 16.3 > card, the connection fails. Has anybody an idea how to fix it? > > isic0 at 0xd80 irq 5 flags 0x4 on isa [...] > i4b-L2-i4b_tei_assign: tx TEI ID_Request > i4b-L2-i4b_T202_timeout: unit 0, N202 = 3 > i4b-L2-i4b_tei_assign: tx TEI ID_Request The IRQ handler is not being called. This might be a hardware/BIOS problem; reconfigure the kernel to use another 16.3 supported IRQ and/or make shure the IRQ you have choosen is properly routed by the BIOS. Read the FAQ for more hints how to solve this problem. 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 Sun Aug 23 16:01:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA04412 for freebsd-isdn-outgoing; Sun, 23 Aug 1998 16:01:06 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from colin.muc.de (colin.muc.de [193.174.4.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA04406 for ; Sun, 23 Aug 1998 16:00:54 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: from jhs.muc.de ([193.174.4.84]) by colin.muc.de with SMTP id <140594-2>; Sun, 23 Aug 1998 23:45:26 +0200 Received: (from jhs@localhost) by jhs.muc.de (8.8.8/8.8.8) id QAA05602; Sun, 23 Aug 1998 16:54:55 +0200 (MET DST) (envelope-from jhs) Date: Sun, 23 Aug 1998 16:54:55 +0200 Message-Id: <199808231454.QAA05602@jhs.muc.de> To: hm@kts.org cc: freebsd-isdn@FreeBSD.ORG Subject: Re. Patches to add names instead of numbers to i4b monitor and log From: Julian Stacey Reply-To: Julian Stacey X-Net: jhs@muc.de jhs@freebsd.org www.muc.de/~jhs/ www.freebsd.org/~jhs/ X-Tel: Phone: +49.89.268616 Fax: +49.89.2608126 X-Post: J. Stacey, Vector Systems Ltd, Holz Str 27d, D 80469 Muenchen, Germany In-reply-to: Your message of "Mon, 17 Aug 1998 20:56:39 +0200." <001501bdca10$c4e6f600$0300a8c0@tvainc.cybrtyme.com> Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a Repost as I didn't see this come back to me on the list. PS (I gather a version of my diffs (but not sure if last or this set of diffs) is integrated with some changes in developers kit i4b-dev-210898.tgz, I'll take a look & report back to hm@ &garyj ) ----------- Hellmuth & list, Here is a new set of diffs on i4b 00.63, to add number to name conversion on display & log. Please discard my old subsidiary set of a few days ago, as I have since added alias file rescanning on {signal & 'isdnd -f .... \n 3' } & extended manuals. Diffs are just 20K so appended, & will soon also be in http://www.muc.de/~jhs/src/bsd/fixes/FreeBSD/src/i4b_gen/i4b/ isdnd/ & isdntel/ I don't expect to do much more to it, so I suggest go grab & play :-) As before you also need in isdnd/ alias.c -> ../isdntel/alias.c defs.h -> ../isdntel/defs.h PS I also have a C program & manual http://www.muc.de/~jhs/src/bsd/jhs/bin/public/phone/ which generates an alias file from an address book of format: ][ fn:Forenames sn:Surname bn:Business name co:Context ah:Address home indented continution of previous field aw:Address work th:Telephone home tw:Telephone work tm:Telephone mobile fh:Fax Home fw:Fax Work fm:Fax Mobile ][ .... next person .... ][ ---------------- *** 00.63/src/i4b/isdnd/Makefile Thu Aug 20 18:46:58 1998 --- numbers_to_names/src/i4b/isdnd/Makefile Mon Aug 17 17:58:12 1998 *************** *** 8,14 **** PROG = isdnd SRCS = rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \ ! process.c rates.c msghdl.c fsm.c support.c timer.c \ exec.c dial.c monitor.c pcause.c .if (${BSDTYPE} == "FreeBSD" && ${RELEASE} == "3.0-CURRENT") --- 8,14 ---- PROG = isdnd SRCS = rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \ ! process.c rates.c alias.c msghdl.c fsm.c support.c timer.c \ exec.c dial.c monitor.c pcause.c .if (${BSDTYPE} == "FreeBSD" && ${RELEASE} == "3.0-CURRENT") *** 00.63/src/i4b/isdnd/curses.c Thu Aug 20 18:46:25 1998 --- numbers_to_names/src/i4b/isdnd/curses.c Thu Aug 20 17:50:43 1998 *************** *** 165,171 **** { "1 - Display refresh", "2 - Hangup (choose a channel)", ! "3 - Reread config file", "4 - Quit the program", }; --- 165,171 ---- { "1 - Display refresh", "2 - Hangup (choose a channel)", ! "3 - Reread config & alias files", "4 - Quit the program", }; *** 00.63/src/i4b/isdnd/isdnd.8 Thu Aug 20 18:46:25 1998 --- numbers_to_names/src/i4b/isdnd/isdnd.8 Thu Aug 20 17:41:47 1998 *************** *** 41,46 **** --- 41,47 ---- .Nd isdn4bsd ISDN connection management daemon .Sh SYNOPSIS .Nm isdnd + .Op Fl a Ar aliasfile .Op Fl b .Op Fl c Ar configfile .Op Fl d Ar debuglevel *************** *** 60,65 **** --- 61,89 ---- .Pp The options are as follows: .Bl -tag -width Ds + .\" --- + .It Fl a + Use + .Ar aliasfile + (instead of the default file + .Li /etc/isdn/isdntel.alias + ) to convert displayed numbers to names, + for non data incoming calls, + shown by + .Nm isdnd -f + and + .Li /var/log/isdnd.log. + Aliasfile is merely cosmetic, with no effect on data connectivity, + never the less, it is currently a fatal error not to have one ! + See also + .Nm isdntel. + This file is re-read by + .Nm isdnd -f + option 3 "Reread config file" & by signal(SIGHUP). + .sp + Temporary Limitations: + Untested behaviour with bad format. + .\" --- .It Fl b The famous jhs-bell: in full-screen mode, ring the bell when connecting or disconnecting a call. *************** *** 328,334 **** .El .Sh FILES ! .Bl -tag -width /etc/isdn/isdnd.rates -compact .It Pa /dev/i4b The device-file used to communicate with the kernel ISDN driver subsystem. --- 352,358 ---- .El .Sh FILES ! .Bl -tag -width /etc/isdn/isdntel.alias -compact .It Pa /dev/i4b The device-file used to communicate with the kernel ISDN driver subsystem. *************** *** 354,359 **** --- 378,386 ---- .It Pa /etc/isdn/isdnd.rates The default unit charging rates specification file. + + .It Pa /etc/isdn/isdntel.alias + The default table to convert phone number to caller's name. .El .Sh EXAMPLES *************** *** 387,392 **** --- 414,420 ---- .Sh SEE ALSO .Xr syslogd 8 , .Xr isdntrace 8 , + .Xr isdntel 8 , .Xr isdnd.rc 5 , .Xr isdnd.rates 5 , .Xr i4bisppp 4 , *** 00.63/src/i4b/isdnd/isdnd.h Thu Aug 20 18:46:25 1998 --- numbers_to_names/src/i4b/isdnd/isdnd.h Thu Aug 20 11:25:05 1998 *************** *** 446,451 **** --- 446,454 ---- char *configfile = CONFIG_FILE_DEF; /* configuration filename */ int config_error_flag = 0; /* error counter */ + char *aliasfile = ALIAS_FILE_DEF; /* number to name alias file */ + int alias_error_flag = 0; /* error counter, alias file */ + #ifdef DEBUG int do_debug = 0; /* debug mode flag */ int debug_flags = 0; /* debug options */ *************** *** 514,520 **** --- 517,525 ---- int isdnfd; char *configfile; + char *aliasfile; int config_error_flag; + int alias_error_flag; #ifdef DEBUG int do_debug; *************** *** 581,586 **** --- 586,592 ---- void check_pid ( void ); void close_allactive ( void ); void configure ( char *filename, int reread ); + void configure_a ( char *filename, int reread ); void daemonize ( void ); void display_acct ( cfg_entry_t *cep ); void display_bell ( void ); *** 00.63/src/i4b/isdnd/main.c Thu Aug 20 18:46:26 1998 --- numbers_to_names/src/i4b/isdnd/main.c Thu Aug 20 11:34:18 1998 *************** *** 91,101 **** int remotesockfd = -1; /* tcp/ip monitor socket */ #endif #endif ! while ((i = getopt(argc, argv, "bmc:d:fFlL:r:s:t:u:?")) != EOF) { switch (i) { case 'b': do_bell = 1; break; --- 91,106 ---- int remotesockfd = -1; /* tcp/ip monitor socket */ #endif #endif + void init_alias(char *filename) ; ! while ((i = getopt(argc, argv, "a:bmc:d:fFlL:r:s:t:u:?")) != EOF) { switch (i) { + case 'a': + aliasfile = optarg; + break; + case 'b': do_bell = 1; break; *************** *** 333,338 **** --- 338,347 ---- } #endif + /* Initialise aliases table (not necessary for functionality, + but names look nicer than numbers in log & monitor display mode */ + configure_a(aliasfile,0) ; + srandom(580403); /* init random number gen */ mloop( /* enter loop of no return .. */ *************** *** 379,388 **** { fprintf(stderr, "\n"); fprintf(stderr, "isdnd - i4b ISDN manager daemon, version %02d.%02d, compiled %s %s\n", VERSION, REL, __DATE__, __TIME__); #ifdef DEBUG ! fprintf(stderr, " usage: isdnd [-b] [-c file] [-d level] [-F]\n"); #else ! fprintf(stderr, " usage: isdnd [-b] [-c file] [-F]\n"); #endif fprintf(stderr, " [-f [-r dev] [-t termtype]] [-u time]\n"); fprintf(stderr, " [-l] [-L file] [-s facility] [-m]\n"); --- 388,398 ---- { fprintf(stderr, "\n"); fprintf(stderr, "isdnd - i4b ISDN manager daemon, version %02d.%02d, compiled %s %s\n", VERSION, REL, __DATE__, __TIME__); + fprintf(stderr, " usage: isdnd -a alias file name (def: %s)\n", ALIAS_FILE_DEF); #ifdef DEBUG ! fprintf(stderr, " [-b] [-c file] [-d level] [-F]\n"); #else ! fprintf(stderr, " [-b] [-c file] [-F]\n"); #endif fprintf(stderr, " [-f [-r dev] [-t termtype]] [-u time]\n"); fprintf(stderr, " [-l] [-L file] [-s facility] [-m]\n"); *************** *** 600,626 **** } /*---------------------------------------------------------------------------* ! * re-read the config file on SIGHUP or menu command *---------------------------------------------------------------------------*/ void rereadconfig(int dummy) { extern int entrycount; ! log(LL_DMN, "re-reading configuration file"); close_allactive(); entrycount = -1; nentries = 0; ! /* read runtime configuration file and configure ourselves */ configure(configfile, 1); if(config_error_flag) { log(LL_ERR, "there were %d error(s) in the configuration file, terminating!", config_error_flag); unlink(PIDFILE); exit(1); } --- 610,644 ---- } /*---------------------------------------------------------------------------* ! * re-read the config & alias files on SIGHUP or menu command *---------------------------------------------------------------------------*/ void rereadconfig(int dummy) { extern int entrycount; ! log(LL_DMN, "re-reading configuration & alias files"); close_allactive(); entrycount = -1; nentries = 0; ! /* read runtime configuration & alias files and configure ourselves */ configure(configfile, 1); if(config_error_flag) { log(LL_ERR, "there were %d error(s) in the configuration file, terminating!", config_error_flag); + unlink(PIDFILE); + exit(1); + } + + configure_a(aliasfile, 1); + if(alias_error_flag) + { + log(LL_ERR, "there were %d error(s) in the alias file, terminating!", alias_error_flag); unlink(PIDFILE); exit(1); } *** 00.63/src/i4b/isdnd/msghdl.c Thu Aug 20 18:46:26 1998 --- numbers_to_names/src/i4b/isdnd/msghdl.c Thu Aug 20 17:25:04 1998 *************** *** 46,63 **** #include "isdnd.h" /*---------------------------------------------------------------------------* * handle incoming CONNECT_IND (=SETUP) message *---------------------------------------------------------------------------*/ void msg_connect_ind(msg_connect_ind_t *mp) { cfg_entry_t *cep; if((cep = find_entry(mp->header.cdid, mp->controller, mp->channel, mp->bprot, mp->dst_telno, mp->src_telno, mp->scr_ind)) == NULL) { ! log(LL_CHD, "%05d incoming call from %s to %s", ! CDID_UNUSED, mp->src_telno, mp->dst_telno); sendm_connect_resp(NULL, mp->header.cdid, SETUP_RESP_DNTCRE, 0); return; } --- 46,111 ---- #include "isdnd.h" /*---------------------------------------------------------------------------* + * fatal alias error, exit + *---------------------------------------------------------------------------*/ + #include + void + fatal(char *fmt, ...) /* ideas from ../isdntel/main.c */ + { + char tmp[500] ; + va_list ap; + va_start(ap, fmt); + strcpy(tmp,"Fatal alias error: "); + vsprintf(tmp + strlen(tmp) , fmt, ap); + strcat(tmp,"\n"); + va_end(ap); + fprintf(stderr, "%s",tmp); + log(LL_CHD, "%05d %s", CDID_UNUSED, tmp ); + do_exit(1); + } + + /*---------------------------------------------------------------------------* + * convert phone numbers to names where possible + *---------------------------------------------------------------------------*/ + char * + number_name(char *number) + { + char *get_alias(char *number) ; + char *tmp ; + + if (*number == '\0') return("Unknown"); + else if ((tmp = get_alias(number)) != NULL ) return tmp ; + else return number ; + } + + /*---------------------------------------------------------------------------* * handle incoming CONNECT_IND (=SETUP) message *---------------------------------------------------------------------------*/ void msg_connect_ind(msg_connect_ind_t *mp) { cfg_entry_t *cep; + char *src_telna, *dst_telna ; + + src_telna = number_name(mp->src_telno); + dst_telna = number_name(mp->dst_telno); if((cep = find_entry(mp->header.cdid, mp->controller, mp->channel, mp->bprot, mp->dst_telno, mp->src_telno, mp->scr_ind)) == NULL) { ! /* A call has occured on the S0 bus which does not match the ! list of acceptable data connections. It could be any of: ! - A call via a PBX (TK-Anlage) to a phone or fax. ! - A call to an ISDN phone or fax. ! - A call to another ISDN card [on another computer] ! that answers other numbers. ! - Distant computer trying a new number before local ! computer has been configured. ! - An ISDN data security probe/attack. ! - An ISDN data call to a wrong number. ! */ ! log(LL_CHD, "%05d call from %s to %s", ! CDID_UNUSED, src_telna, dst_telna ); sendm_connect_resp(NULL, mp->header.cdid, SETUP_RESP_DNTCRE, 0); return; } *************** *** 65,71 **** if(cep->inout == DIR_OUTONLY) { log(LL_CHD, "%05d %s incoming call from %s to %s not allowed by configuration!", ! CDID_UNUSED, cep->name, mp->src_telno, mp->dst_telno); sendm_connect_resp(NULL, mp->header.cdid, SETUP_RESP_DNTCRE, 0); return; } --- 113,119 ---- if(cep->inout == DIR_OUTONLY) { log(LL_CHD, "%05d %s incoming call from %s to %s not allowed by configuration!", ! CDID_UNUSED, cep->name, src_telna, dst_telna); sendm_connect_resp(NULL, mp->header.cdid, SETUP_RESP_DNTCRE, 0); return; } *************** *** 77,90 **** { case REACT_ACCEPT: log(LL_CHD, "%05d %s accepting: incoming call from %s to %s", ! mp->header.cdid, cep->name, mp->src_telno, mp->dst_telno); next_state(cep, EV_MCI); break; case REACT_REJECT: log(LL_CHD, "%05d %s rejecting: incoming call from %s to %s", CDID_UNUSED, cep->name, ! mp->src_telno, mp->dst_telno); sendm_connect_resp(cep, mp->header.cdid, SETUP_RESP_REJECT, (CAUSET_I4B << 8) | CAUSE_I4B_REJECT); cep->cdid = CDID_UNUSED; --- 125,139 ---- { case REACT_ACCEPT: log(LL_CHD, "%05d %s accepting: incoming call from %s to %s", ! mp->header.cdid, cep->name, ! src_telna, dst_telna); next_state(cep, EV_MCI); break; case REACT_REJECT: log(LL_CHD, "%05d %s rejecting: incoming call from %s to %s", CDID_UNUSED, cep->name, ! src_telna, dst_telna); sendm_connect_resp(cep, mp->header.cdid, SETUP_RESP_REJECT, (CAUSET_I4B << 8) | CAUSE_I4B_REJECT); cep->cdid = CDID_UNUSED; *************** *** 93,99 **** case REACT_IGNORE: log(LL_CHD, "%05d %s ignoring: incoming call from %s to %s", CDID_UNUSED, cep->name, ! mp->src_telno, mp->dst_telno); sendm_connect_resp(NULL, mp->header.cdid, SETUP_RESP_DNTCRE, 0); break; --- 142,148 ---- case REACT_IGNORE: log(LL_CHD, "%05d %s ignoring: incoming call from %s to %s", CDID_UNUSED, cep->name, ! src_telna, dst_telna); sendm_connect_resp(NULL, mp->header.cdid, SETUP_RESP_DNTCRE, 0); break; *************** *** 102,115 **** { log(LL_CHD, "%05d %s alerting: incoming call from %s to %s", mp->header.cdid, cep->name, ! mp->src_telno, mp->dst_telno); next_state(cep, EV_ALRT); } else { log(LL_CHD, "%05d %s answering: incoming call from %s to %s", mp->header.cdid, cep->name, ! mp->src_telno, mp->dst_telno); next_state(cep, EV_MCI); } break; --- 151,164 ---- { log(LL_CHD, "%05d %s alerting: incoming call from %s to %s", mp->header.cdid, cep->name, ! src_telna, dst_telna); next_state(cep, EV_ALRT); } else { log(LL_CHD, "%05d %s answering: incoming call from %s to %s", mp->header.cdid, cep->name, ! src_telna, dst_telna); next_state(cep, EV_MCI); } break; *************** *** 119,125 **** { log(LL_CHD, "%05d %s reserved: incoming call from %s to %s", CDID_UNUSED, cep->name, ! mp->src_telno, mp->dst_telno); sendm_connect_resp(cep, mp->header.cdid, SETUP_RESP_REJECT, (CAUSET_I4B << 8) | CAUSE_I4B_NORMAL); /* no state change */ --- 168,174 ---- { log(LL_CHD, "%05d %s reserved: incoming call from %s to %s", CDID_UNUSED, cep->name, ! src_telna, dst_telna); sendm_connect_resp(cep, mp->header.cdid, SETUP_RESP_REJECT, (CAUSET_I4B << 8) | CAUSE_I4B_NORMAL); /* no state change */ *************** *** 128,134 **** { log(LL_CHD, "%05d %s callback: incoming call from %s to %s", CDID_UNUSED, cep->name, ! mp->src_telno, mp->dst_telno); sendm_connect_resp(cep, mp->header.cdid, SETUP_RESP_REJECT, (CAUSET_I4B << 8) | CAUSE_I4B_NORMAL); cep->last_release_time = time(NULL); --- 177,183 ---- { log(LL_CHD, "%05d %s callback: incoming call from %s to %s", CDID_UNUSED, cep->name, ! src_telna, dst_telna); sendm_connect_resp(cep, mp->header.cdid, SETUP_RESP_REJECT, (CAUSET_I4B << 8) | CAUSE_I4B_NORMAL); cep->last_release_time = time(NULL); *** 00.63/src/i4b/isdnd/pathnames.h Thu Aug 20 18:46:26 1998 --- numbers_to_names/src/i4b/isdnd/pathnames.h Thu Aug 20 17:44:19 1998 *************** *** 48,53 **** --- 48,56 ---- #define ETCPATH "/etc/isdn" #define CONFIG_FILE_DEF "/etc/isdn/isdnd.rc" + #define ALIAS_FILE_DEF "/etc/isdn/isdntel.alias" + /* isdndtel.alias is also defined in ../isdntel/defs.h, + hm@kts.org please move this to a common .h file */ #define RATES_FILE_DEF "/etc/isdn/isdnd.rates" #define LIBDIR "/usr/local/lib/isdn" *** 00.63/src/i4b/isdnd/rc_config.c Thu Aug 20 18:46:27 1998 --- numbers_to_names/src/i4b/isdnd/rc_config.c Thu Aug 20 11:34:34 1998 *************** *** 61,66 **** --- 61,101 ---- static int nregprog = 0; /*---------------------------------------------------------------------------* + * discard old malloc'd aliases on re-read + *---------------------------------------------------------------------------*/ + /* this struct copied from ../isdntel/alias.c + hm@kts.org please move this to some common .h file */ + struct alias { + char *number; /* telephone number string */ + char *name; /* name string */ + struct alias *next; /* ptr to next alias */ + }; + + extern struct alias *firsta ; + void + free_alias(ptr) + struct alias *ptr; + { + if (ptr == NULL) return ; + if (ptr->next != NULL) free_alias(ptr->next) ; + if (ptr->number != NULL) free(ptr->number) ; + if (ptr->name != NULL) free(ptr->name) ; + free(ptr) ; + } + + /*---------------------------------------------------------------------------* + * called from main to read and process alias file + *---------------------------------------------------------------------------*/ + void + configure_a(char *filename, int reread) + { + extern void init_alias(char *); + + if(reread) free_alias(firsta); + init_alias(aliasfile); + } + + /*---------------------------------------------------------------------------* * called from main to read and process config file *---------------------------------------------------------------------------*/ void *** 00.63/src/i4b/isdntel/alias.c Thu Aug 20 18:46:29 1998 --- numbers_to_names/src/i4b/isdntel/alias.c Thu Aug 20 10:43:03 1998 *************** *** 49,55 **** struct alias *next; /* ptr to next alias */ }; ! static struct alias *firsta = NULL; #define MAXBUFSZ 256 --- 49,55 ---- struct alias *next; /* ptr to next alias */ }; ! struct alias *firsta ; #define MAXBUFSZ 256 *************** *** 67,72 **** --- 67,73 ---- struct alias *newa = NULL; struct alias *lasta = NULL; + firsta = NULL; if((fp = fopen(filename, "r")) == NULL) fatal("cannot open aliasfile %s!", filename); ---------------- Julian -- Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Aug 27 14:39:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA05601 for freebsd-isdn-outgoing; Thu, 27 Aug 1998 14:39:20 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA05528 for ; Thu, 27 Aug 1998 14:38:50 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.8.8/8.6.9) with ESMTP id XAA00534 for ; Thu, 27 Aug 1998 23:25:55 +0200 (CEST) Message-Id: <199808272125.XAA00534@peedub.muc.de> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-isdn@FreeBSD.ORG Subject: sppp and NAT From: Gary Jennejohn Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Aug 1998 23:25:55 +0200 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org would those of you who are using sppp and NAT please try out this patch ? I hope that this will solve the problem of NAT not being informed when the interface gets a new address. Please report back to the list with your results. I tested this out with sppp but without NAT. It seemed to work OK. -------------------------- *** if_spppsubr.c.orig Tue Aug 25 23:02:24 1998 --- if_spppsubr.c Thu Aug 27 23:03:03 1998 *************** *** 56,61 **** --- 56,62 ---- #include #include #include + #include #include *************** *** 3914,3920 **** static void sppp_set_ip_addr(struct sppp *sp, u_long src) { ! struct ifnet *ifp = &sp->pp_if; struct ifaddr *ifa; struct sockaddr_in *si; --- 3915,3921 ---- static void sppp_set_ip_addr(struct sppp *sp, u_long src) { ! STDDCL; struct ifaddr *ifa; struct sockaddr_in *si; *************** *** 3940,3947 **** if (si) break; } ! if (ifa && si) si->sin_addr.s_addr = htonl(src); } static int --- 3941,3974 ---- if (si) break; } ! if (ifa && si) { ! /* delete the old address first XXX */ ! if (debug) ! log(LOG_DEBUG, SPP_FMT "\ndeleting route1\n", ! SPP_ARGS(ifp)); ! rtinit(ifa, (int)RTM_DELETE, 0); si->sin_addr.s_addr = htonl(src); + + /* seems like this is the place to modify any routing info */ + /* + * XXXX + * BEWARE !! if the semantics for a dynamic + * address (IP == 0 || IP == 1) are changed, then this + * will *not* work anymore !!!! + */ + if (src == 0) { /* deleting the address */ + if (debug) + log(LOG_DEBUG, SPP_FMT "\ndeleting route2\n", + SPP_ARGS(ifp)); + /* XXX RTF_HOST or 0 ?? */ + rtinit(ifa, (int)RTM_DELETE, 0); + } else if (src && src != 1) { /* adding a new address */ + if (debug) + log(LOG_DEBUG, SPP_FMT "adding route\n", + SPP_ARGS(ifp)); + rtinit(ifa, (int)RTM_ADD, 0|RTF_UP); + } + } } static int -------- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Aug 28 10:45:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA22096 for freebsd-isdn-outgoing; Fri, 28 Aug 1998 10:45:04 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from foobar.franken.de (foobar.franken.de [194.94.249.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA22085 for ; Fri, 28 Aug 1998 10:44:53 -0700 (PDT) (envelope-from logix@foobar.franken.de) Received: (from logix@localhost) by foobar.franken.de (8.8.8/8.8.5) id TAA06328; Fri, 28 Aug 1998 19:42:14 +0200 (CEST) Message-ID: <19980828194214.51063@foobar.franken.de> Date: Fri, 28 Aug 1998 19:42:14 +0200 From: Harold Gutch To: freebsd-isdn@FreeBSD.ORG Subject: ISDN features Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i X-Organisation: BatmanSystemDistribution X-Mission: To free the world from the Penguin Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, ISDN (or is it only DSS-1 ?) has a couple of features like automatically calling the other side as soon as their line is free. isdn4bsd doesn't seem to be able to parse these call-requests coming in on the S0-bus: Aug 28 19:24:53 foobar /kernel: i4b-L3-i4b_decode_q931: cannot find calldescriptor for cr = 0x0, crflag = 0x0, msg = 0x62, frame = 0x62 0x1c 0x12 0x91 0xa1 0xf 0x2 0x2 0x40 0x91 0x6 0x6 0x4 0x0 0x82 0x67 0x1 0xa 0x2 0x1 0x3 0x70 0xa 0xa1 0x39 0x34 0x31 0x34 0x34 0x37 0x36 0x37 0x30 Aug 28 19:24:56 foobar /kernel: i4b-L3-i4b_decode_q931: cannot find calldescriptor for cr = 0x0, crflag = 0x0, msg = 0x62, frame = 0x62 0x1c 0x12 0x91 0xa1 0xf 0x2 0x2 0x40 0x91 0x6 0x6 0x4 0x0 0x82 0x67 0x1 0xa 0x2 0x1 0x1 0x70 0xa 0xa1 0x39 0x34 0x31 0x34 0x34 0x37 0x36 0x37 0x30 etc. being repeated until the other's side line is free and my phone (?) calls him: Aug 28 19:26:38 foobar /kernel: i4b-L3-i4b_decode_q931: cannot find calldescriptor for cr = 0x0, crflag = 0x0, msg = 0x62, frame = 0x62 0x1c 0x22 0x91 0xa1 0x1f 0x2 0x2 0x40 0x95 0x6 0x6 0x4 0x0 0x82 0x67 0x1 0x8 0x30 0x11 0xa 0x1 0x1 0x2 0x1 0x1 0x40 0x9 0x4 0x3 0x80 0x90 0xa3 0x7d 0x2 0x91 0x81 0x70 0xa 0xa1 0x39 0x34 0x31 0x34 0x34 0x37 0x36 0x37 0x30 Aug 28 19:26:39 foobar /kernel: i4b-L3-i4b_decode_q931: cannot find calldescriptor for cr = 0x0, crflag = 0x0, msg = 0x62, frame = 0x62 0x1c 0x33 0x91 0xa1 0x30 0x2 0x2 0x40 0x96 0x6 0x6 0x4 0x0 0x82 0x67 0x1 0x6 0x30 0x22 0xa 0x1 0x1 0x2 0x1 0x1 0x30 0xf 0xa1 0xd 0xa 0x1 0x2 0x12 0x8 0x39 0x34 0x34 0x38 0x31 0x34 0x33 0x35 0x40 0x9 0x4 0x3 0x80 0x90 0xa3 0x7d 0x2 0x91 0x81 0x70 0xa 0xa1 0x39 0x34 0x31 0x34 0x34 0x37 0x36 0x37 0x30 At least i *guess* that these messages were caused by this "call-back" feature, as they appeared precisely at the same time as i made such a call. I dont really mind seeing these messages, but shouldnt i4b rather correctly interprete these messages and print out some appropriate info ? Or is this just my setup ? :) The above just was an example, i guess there are a couple of other ISDN-features that isdn4bsd doesnt know of. -- bye, logix Sleep is an abstinence syndrome wich occurs due to lack of caffein. Wed Mar 4 04:53:33 CET 1998 #unix, ircnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Aug 28 12:33:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06308 for freebsd-isdn-outgoing; Fri, 28 Aug 1998 12:33:10 -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 MAA06291 for ; Fri, 28 Aug 1998 12:33:02 -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 VAA18605; Fri, 28 Aug 1998 21:32:01 +0200 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0zCUFd-002ZjZC; Fri, 28 Aug 98 21:32 MET DST Received: from bert.kts.org(really [194.55.156.2]) by ernie.kts.org via sendmail with smtp id for ; Fri, 28 Aug 1998 21:10:51 +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; Fri, 28 Aug 1998 21:10:51 +0200 (CEST) (Smail-3.2.0.94 1997-Apr-22 #2 built 1998-Aug-25) Message-Id: From: hm@kts.org (Hellmuth Michaelis) Subject: Re: ISDN features In-Reply-To: <19980828194214.51063@foobar.franken.de> from Harold Gutch at "Aug 28, 98 07:42:14 pm" To: logix@foobar.franken.de (Harold Gutch) Date: Fri, 28 Aug 1998 21:10:51 +0200 (CEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL40 (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 Harold Gutch wrote: > ISDN (or is it only DSS-1 ?) has a couple of features like > automatically calling the other side as soon as their line is > free. > isdn4bsd doesn't seem to be able to parse these call-requests > coming in on the S0-bus: This is true. It is very difficult, time consuming and expensive in terms of being charged by the local PTT to write and debug code to decode this type of messages (which i did partially to get AOCD and AOCE decoded) and this is the cause isdn4bsd is not able to decode them. More, i don't see any advantage i get if i would be able to decode those messages (there are a few conditions, why CCBS - Completition of Call to Busy Subscriber - is only possible between some selected - but growing - number of users). But - as usual - i'll happily accept diffs if someone likes to decode those messages! (btw: in case someone likes to know what they are, there is a web-based ISDN message decoder at http://www.ch.engelschall.com/u/martin/webdecoder/webdecoder.cgi nice !) > Aug 28 19:26:39 foobar /kernel: i4b-L3-i4b_decode_q931: cannot find calldescriptor for > cr = 0x0, crflag = 0x0, msg = 0x62, frame = 0x62 0x1c 0x33 0x91 0xa1 0x30 0x2 0x2 0x40 ^^^^^^^^^^^^^^^^^^^^^^ These messages have either a global or dummy call reference, these type of messages should not being displayed anymore by recent i4b versions (i don't recall when i changed this). > I dont really mind seeing these messages, but shouldnt i4b rather > correctly interprete these messages and print out some > appropriate info ? No, see above. > Or is this just my setup ? :) No. > The above just was an example, i guess there are a couple of > other ISDN-features that isdn4bsd doesnt know of. There are many, many features isdn4bsd has not the slightest idea of. 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 Aug 29 09:30:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA10854 for freebsd-isdn-outgoing; Sat, 29 Aug 1998 09:30:58 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from asterix.webaffairs.net (port241.bonn.ndh.net [195.94.93.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA10838 for ; Sat, 29 Aug 1998 09:30:56 -0700 (PDT) (envelope-from stefhe@gmx.net) Received: from obelix (obelix.webaffairs.net [192.168.10.3]) by asterix.webaffairs.net (8.8.7/8.8.7) with SMTP id SAA01471 for ; Sat, 29 Aug 1998 18:11:12 +0200 (CEST) (envelope-from stefhe@gmx.net) From: "Stefan Herrmann" To: "isdn4bsd Mailingliste" Subject: teles.s0 16.3: changing irq Date: Sat, 29 Aug 1998 18:07:34 +0200 Message-ID: <000001bdd367$220a6240$030aa8c0@obelix.webaffairs.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Importance: Normal Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, today I tried on my FreeBSD 2.2.5/i4b 0.63 system to change the irq of my teles card. Reason ist, that the sb0 device uses the same irq (5) and could therefor not be recognized. Because I don't know how to do that with i4b (is it possible ?), I used the DOS setup tool (v3.05). But which irq I ever tried, FreeBSD/i4b only recognized it with the old setting. So I came to the conclusion, that setup.exe does not change any setting on the card, only in the files on the DOS floppy (from which I booted). So how do you change irq's on your teles 16.3 card (under FBSD or DOS, I don't have and don't want to have Windows running on that computer) ? Ciao Stefan -- --- Communications powered by FreeBSD --- Stefan Herrmann Löwenburgstr. 81 D-53229 Bonn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Aug 29 13:02:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01479 for freebsd-isdn-outgoing; Sat, 29 Aug 1998 13:02:59 -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 NAA01474 for ; Sat, 29 Aug 1998 13:02:57 -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 WAA01641; Sat, 29 Aug 1998 22:02:01 +0200 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0zCrCD-002ZjZC; Sat, 29 Aug 98 22:02 MET DST Received: from bert.kts.org(really [194.55.156.2]) by ernie.kts.org via sendmail with smtp id for ; Sat, 29 Aug 1998 21:35:47 +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, 29 Aug 1998 21:35:47 +0200 (CEST) (Smail-3.2.0.94 1997-Apr-22 #2 built 1998-Aug-25) Message-Id: From: hm@kts.org (Hellmuth Michaelis) Subject: Re: teles.s0 16.3: changing irq In-Reply-To: <000001bdd367$220a6240$030aa8c0@obelix.webaffairs.net> from Stefan Herrmann at "Aug 29, 98 06:07:34 pm" To: stefhe@gmx.net (Stefan Herrmann) Date: Sat, 29 Aug 1998 21:35:47 +0200 (CEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL40 (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 Stefan Herrmann wrote: > So how do you change irq's on your teles 16.3 card (under FBSD or DOS, > I don't have and don't want to have Windows running on that computer) ? The irq is configured into the card each time the driver under whatever OS you currently boot initializes the card. Thus, change the irq for the isic driver in your kernel config file to one of the supported (!) irqs for this card (hint: read "man isic") which is currently unused in your machine and generate a new kernel. 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 Aug 29 16:28:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA17341 for freebsd-isdn-outgoing; Sat, 29 Aug 1998 16:28:02 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from maild.telia.com (maild.telia.com [194.22.190.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA17280 for ; Sat, 29 Aug 1998 16:27:59 -0700 (PDT) (envelope-from Arve.Ronning@ah.telia.no) Received: from d1o203.telia.com (root@d1o203.telia.com [195.204.220.241]) by maild.telia.com (8.8.8/8.8.8) with ESMTP id BAA22744 for ; Sun, 30 Aug 1998 01:27:02 +0200 (CEST) Received: from DxCC.home.no (t8o202p19.telia.com [195.204.219.199]) by d1o203.telia.com (8.8.8/8.8.5) with SMTP id BAA15625 for ; Sun, 30 Aug 1998 01:27:25 +0200 (CEST) Message-ID: <35E88E18.41C67EA6@ah.telia.no> Date: Sun, 30 Aug 1998 01:26:16 +0200 From: Arve Ronning X-Mailer: Mozilla 3.03Gold (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: freebsd-isdn@FreeBSD.ORG Subject: Re: sppp and NAT References: <199808272125.XAA00534@peedub.muc.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gary Jennejohn wrote: > > would those of you who are using sppp and NAT please try out this patch ? > I hope that this will solve the problem of NAT not being informed when the > interface gets a new address. Please report back to the list with your > results. > > I tested this out with sppp but without NAT. It seemed to work OK. > -------------------------- > > *** if_spppsubr.c.orig Tue Aug 25 23:02:24 1998 > --- if_spppsubr.c Thu Aug 27 23:03:03 1998 > *************** [snip] YES, this does indeed work very well. I'm now using a patched i4b-00.60-alpha-070598 and natd gets updated as expected. No problems as far as I can tell. IMHO this should be included in the official sources. Thanx -Arve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message