Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2004 15:20:20 +0400
From:      Alexander Lunyov <lan@startatom.ru>
To:        freebsd-net@freebsd.org
Subject:   ppp receiving wrong device number (cuaa10 instead of cuaaa, cuaa15 instead of cuaaf)
Message-ID:  <1373993879.20040517152020@startatom.ru>

next in thread | raw e-mail | index | archive | help
------------859018731FD1161
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello.

  We have a gateway for our inner clients, it is FreeBSD-4.8R-p14,
  three Cronyx Omega PCI multiport cards (24 ports in sum), mgetty
  listening on all those ports, and when user connects, mgetty run
  exppp (enchanced ppp incarnation, http://shs.sumy.ua).
  Freeradius handles authentication and accounting. When i've enable
  freeradius module rlm_ippool (ip addresses pooling module), dialup
  users start receiving error "server have not assign ip address"
  after connecting on some telephone numbers (not all, just some
  numbers), and when i dig some further, i found, that freeradius in
  such cases did not receive NAS-Port-Id attribute from exppp.
  Freeradius receive standard request, but without one attribute, in
  example:

       Service-Type = Framed-User
       User-Name = "bpv89"
       Framed-Protocol = PPP
       CHAP-Password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
       CHAP-Challenge = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
       NAS-Identifier = "zeus.domain.ru"
       NAS-Port-Type = Async  

  Then i started to watch for ppp connections. And i found strange thing. Look
  at this (ppp log):

 Phase: Using interface: tun9
 Phase: deflink: Created in closed state
 Command: default: set radius /etc/radius.conf
 Command: default: set dns 192.168.33.127
 Command: default: set local_ip 62.33.65.0/24
 Warning: Add local net: 62.33.65.0/24
 Command: default: accept dns
 Command: default: enable lqr
 Command: default: enable pap
 Command: default: enable chap
 Command: default: enable mschap
 Command: default: enable mschapv2
 Command: default: set rad_alive 20
 Command: default: disable acfcomp protocomp
 Command: default: deny acfcomp
 Command: dialup: set timeout 900
 Command: dialup: set mru 576
 Command: dialup: set mtu 576
 Phase: PPP Started (direct mode).
 Phase: bundle: Establish
 Phase: deflink: closed -> opening
 Phase: deflink: Connected!
 Phase: deflink: opening -> carrier
> Phase: deflink: /dev/cuaa15: CD detected *** (1)
 Phase: deflink: carrier -> lcp
 Phase: bundle: Authenticate
 Phase: deflink: his = none, mine = CHAP 0x05
 Phase: Chap Output: CHALLENGE
 Phase: Chap Input: RESPONSE (16 bytes from rim74)
> Error: NAS-Port-Id borken: -1 *** (2)
 Phase: Radius: Request sent
 Phase: Radius(auth): ACCEPT received
 Phase:  Octets limit 292770808
 Phase: Chap Output: SUCCESS
 Phase: deflink: lcp -> open
 Phase: bundle: Network

 Then disconnection occures - freeradius didn't deliver ip address for
 this connection.
 
 (1) - But mgetty said that modem connects to /dev/cuaaf port! Where
 did come digit 15 from? This situation (decimal port number instead
 of hex) can also be seen on ports cuaa10 (cuaaa), cuaa11 (cuaab),
 cuaa12 (cuaac) etc till cuaa15 - port cuaag always comes in hex.

 (2) - This is my debug entry, that i insert in radius.c. Original
 code:

 if ((slot = physical_Slot(p)) >= 0)
   if (rad_put_int(rad, RAD_NAS_PORT, slot) != 0) {
     log_Printf(LogERROR, "rad_put: rad_put_int: %s\n", rad_strerror(rad));
     rad_close(rad);
     return 0;
   }

 I've added debug 'else' for first 'if' (2). Thus physical_Slot() from
 physical.c returning '-1'. In physical.c:

int
physical_Slot(struct physical *p)
{
 if (p->handler && p->handler->slot)
   return (*p->handler->slot)(p);

 return -1;
}

 And p->handler is coming from tty.c (if i'm not missed the trail)

in tty_iov2device():

   memcpy(&dev->dev, &basettydevice, sizeof dev->dev);

   physical_SetupStack(p, dev->dev.name, PHYSICAL_NOFORCE);
   if (dev->Timer.state != TIMER_STOPPED) {
     dev->Timer.state = TIMER_STOPPED;
     p->handler = &dev->dev;       /* For the benefit of StartTimer */
     tty_StartTimer(p);
   }
   return &dev->dev;

 And i don't know where should i dig further. Must be some place,
 where hex numbers returns as decimal, but i don't know, where is it.

  Ports on multiport cards are:

    cuaa[1-8] - first card
    cuaa[9-g] - second card
    cuaa[h-o] - third card

  And next strange thing is that this problem rising only on ports
  cuaa[10-15] (!), in hex is cuaa[a-f] - and i'm surprised that
  cuaag is working fine! The most surprising thing is that all ports
  on third card (cuaa[h-o]) is working as they should!

  But still, 6 of 24 modems are out of order :(

  Where those decimal port numbers come from?

  I found only one similar problem, but there is no answer to it:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=313299+0+archive/2000/freebsd-bugs/20000702.freebsd-bugs

  I've contacted Cronyx company (they produce those multiport cards),
  and their specialist said that this is not their driver issue and
  he can prove it. And i believe him :)

# uname -a
FreeBSD zeus.domain.ru 4.8-RELEASE-p14 FreeBSD 4.8-RELEASE-p14 #4: Tue Mar 30 10:17:02 MSD 2004
   root@zeus.domain.ru:/usr/src/sys/compile/zeus  i386
# pkg_info -I freeradius\* mgetty\*
freeradius-0.9.3    A free RADIUS server implementation
mgetty-1.1.28.01.10 Handle external logins, send and receive faxes
  
p.s.: fragments of code in this message have not changed in exppp,
they are same as in original ppp

p.p.s.: dmesg and all config files are in attachement, if more debug
will be needed - i'll give it.

--
Alexander Lunyov, lan_mailing@startatom.ru
 
------------859018731FD1161
Content-Type: APPLICATION/OCTET-STREAM; name="dmesg.boot"
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="dmesg.boot"

IyAvdmFyL3J1bi9kbWVzZy5ib290CkNvcHlyaWdodCAoYykgMTk5Mi0yMDAzIFRoZSBGcmVl
QlNEIFByb2plY3QuCkNvcHlyaWdodCAoYykgMTk3OSwgMTk4MCwgMTk4MywgMTk4NiwgMTk4
OCwgMTk4OSwgMTk5MSwgMTk5MiwgMTk5MywgMTk5NAoJVGhlIFJlZ2VudHMgb2YgdGhlIFVu
aXZlcnNpdHkgb2YgQ2FsaWZvcm5pYS4gQWxsIHJpZ2h0cyByZXNlcnZlZC4KRnJlZUJTRCA0
LjgtUkVMRUFTRS1wMTQgIzQ6IFR1ZSBNYXIgMzAgMTA6MTc6MDIgTVNEIDIwMDQKICAgIHJv
b3RAemV1cy5zdGFydGF0b20ucnU6L3Vzci9zc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MgMHgxIGlycSAxIG9uIGF0a2JkYzAKa2JkMCBhdCBhdGtiZDAKdmdhMDog
PEdlbmVyaWMgSVNBIFZHQT4gYXQgcG9ydCAweDNjMC0weDNkZiBpb21lbSAweGEwMDAwLTB4
YmZmZmYgb24gaXNhMApzYzA6IDxTeXN0ZW0gY29uc29sZT4gYXQgZmxhZ3MgMHgxMDAgb24g
aXNhMApzYzA6IFZHQSA8MTYgdmlydHVhbCBjb25zb2xlcywgZmxhZ3M9MHgzMDA+CnNpbzAg
YXQgcG9ydCAweDNmOC0weDNmZiBpcnEgNCBmbGFncyAweDEwIG9uIGlzYTAKc2lvMDogdHlw
ZSAxNjU1MEEKaXBmdzIgaW5pdGlhbGl6ZWQsIGRpdmVydCBlbmFibGVkLCBydWxlLWJhc2Vk
IGZvcndhcmRpbmcgZW5hYmxlZCwgZGVmYXVsdCB0byBkZW55LCBsb2dnaW5nIGxpbWl0ZWQg
dG8gMTAwMDAgcGFja2V0cy9lbnRyeSBieSBkZWZhdWx0CkRVTU1ZTkVUIGluaXRpYWxpemVk
ICgwMTEwMzEpCmFyMDogMzgxNDZNQiA8QVRBIFJBSUQxIGFycmF5PiBbNDg2My8yNTUvNjNd
IHN0YXR1czogUkVBRFkgc3ViZGlza3M6CiAwIFJFQURZIGFkNDogMzgxNjZNQiA8U1QzNDAw
MTRBPiBbNzc1NDUvMTYvNjNdIGF0IGF0YTItbWFzdGVyIFVETUExMDAKICAgICAgICAgIDEg
UkVBRFkgYWQ2OiAzODE2Nk1CIDxTVDM0MDAxNEE+IFs3NzU0NS8xNi82M10gYXQgYXRhMy1t
YXN0ZXIgVURNQTEwMAogICAgICAgICBNb3VudGluZyByb290IGZyb20gdWZzOi9kZXYvYXIw
czFhCg==
------------859018731FD1161
Content-Type: APPLICATION/OCTET-STREAM; name="mgetty_login.config"
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="mgetty_login.config"

IyAvdXNyL2xvY2FsL2V0Yy9tZ2V0dHkrc2VuZGZheC9sb2dpbi5jb25maWcKL0F1dG9QUFAv
ICAtICAgIC0gICAvdXNyL2xvY2FsL2Jpbi9leHBwcF8yIC1kaXJlY3QgZGlhbHVwCgo=
------------859018731FD1161
Content-Type: APPLICATION/OCTET-STREAM; name="mgetty_mgetty.config"
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="mgetty_mgetty.config"

IyAvdXNyL2xvY2FsL2V0Yy9tZ2V0dHkrc2VuZGZheC9tZ2V0dHkuY29uZmlnCmRlYnVnIDQK
c3BlZWQgNTc2MDAKdG9nZ2xlLWR0ciBZRVMKdG9nZ2xlLWR0ci13YWl0dGltZSA1MDAKZGF0
YS1vbmx5IFlFUwptb2RlbS10eXBlIGRhdGEKaW5pdC1jaGF0ICIiIEFUJkYxIE9LIEFUTTBM
MFMwPTBTMzM9MzJTMzI9OThzMjc9NjQgT0sKYW5zd2VyLWNoYXQgIiIgQVQmRjEgT0sgQVRN
MEwwUzA9MFMzMz0zMlMzMj05OHMyNz02NCBPSyBBVEEgQ09OTkVDVCBcYyBccgptb2RlbS1j
aGVjay10aW1lIDM2MDAwCnJpbmdzIDIKYW5zd2VyLWNoYXQtdGltZW91dCA4MAphdXRvYmF1
ZGluZyBOTwpyaW5nYmFjayBOTwpyaW5nYmFjay10aW1lIDMwCmlnbm9yZS1jYXJyaWVyIGZh
bHNlCmlzc3VlLWZpbGUgL2V0Yy9pc3N1ZQpwcm9tcHQtd2FpdHRpbWUgNTAwCmxvZ2luLXBy
b21wdCBGcmVlQlNEIG9uIEAgKFxMKSBcblxyXEQgXFRcblxuXHJsb2dpbjogCmxvZ2luLXRp
bWUgMjQwCmRpc2tzcGFjZSAxMDI0Cm5vdGlmeSByb290CmZheC1vd25lciB1dWNwCmZheC1n
cm91cCBtb2RlbQpmYXgtbW9kZSAwNjYwCgpwb3J0IGN1YWExCnBvcnQgY3VhYTIKcG9ydCBj
dWFhMwpwb3J0IGN1YWE0CnBvcnQgY3VhYTUKcG9ydCBjdWFhNgpwb3J0IGN1YWE3CnBvcnQg
Y3VhYTgKcG9ydCBjdWFhOQpwb3J0IGN1YWFhCnBvcnQgY3VhYWIKcG9ydCBjdWFhYwpwb3J0
IGN1YWFkCnBvcnQgY3VhYWUKcG9ydCBjdWFhZgpwb3J0IGN1YWFnCnJpbmdzIDIKaW5pdC1j
aGF0ICIiIEFUJkYgT0sgQVRNMEwwUzA9MCBPSwphbnN3ZXItY2hhdCAiIiBBVCZGIE9LIEFU
TTBMMFMwPTAgT0sgQVRBIENPTk5FQ1QgXGMgXHIKCnBvcnQgY3VhYWgKcG9ydCBjdWFhaQpw
b3J0IGN1YWFqCnBvcnQgY3VhYWsKcG9ydCBjdWFhbApwb3J0IGN1YWFtCnBvcnQgY3VhYW4K
cG9ydCBjdWFhbwoK
------------859018731FD1161
Content-Type: APPLICATION/OCTET-STREAM; name="ppp.conf"
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="ppp.conf"

IyAvZXRjL3BwcC9wcHAuY29uZgoKZGVmYXVsdDogCiBhbGxvdyBtb2RlIGRpcmVjdAkJCSN0
dXJuIG9uIHBwcCBicmlkZ2luZwogaWRlbnQgW1ZFUlNJT05dCiBzZXQgbG9nIFBoYXNlIElQ
Q1AgQ29tbWFuZCBFcnJvciBBbGVydCBXYXJuaW5nICN0dXJuIG9uIHNvbWUgbG9nZ2luZy4g
CiBzZXQgcmFkaXVzIC9ldGMvcmFkaXVzLmNvbmYJCSN0dXJuIG9uIHJhZGl1cyBhdXRoIGFu
ZCB1c2UgdGhpcyBmaWxlCiBzZXQgZG5zIDE5Mi4xNjguMzMuMTI3IAogc2V0IGxvY2FsX2lw
IDYyLjMzLjY1LjAvMjQKIGFjY2VwdCBkbnMKIGVuYWJsZSBscXIKIGVuYWJsZSBwYXAJCQkJ
I3R1cm4gb24gY2hhcCBhbmQgcGFwIGFjY291bnRpbmcKIGVuYWJsZSBjaGFwCQkJCSN0dXJu
IG9uIGNoYXAgYW5kIHBhcCBhY2NvdW50aW5nCiBlbmFibGUgbXNjaGFwCiBlbmFibGUgbXNj
aGFwdjIKIHNldCByYWRfYWxpdmUgMjAgICAgICAgICAgICMg6c7UxdLXwcwgQWxpdmUg2sHQ
ydPFyiDEzNEg0sHEydXTwSAtIDYwINPFywogZGlzYWJsZSBhY2Zjb21wIHByb3RvY29tcAog
ZGVueSBhY2Zjb21wCgpwcHBvZToKIHNldCB0aW1lb3V0IDAgCiBzZXQgbXJ1IDE0NzIJCQkJ
I3NldCBtcnUgYmVsb3cgMTUwMCAoUFBQb0UgTVRVIGlzc3VlKQogc2V0IG10dSAxNDcyCQkJ
CSNzZXQgbXR1IGJlbG93IDE1MDAgKFBQUG9FIE1UVSBpc3N1ZSkKIAoKZGlhbHVwOgogc2V0
IHRpbWVvdXQgOTAwCiBzZXQgbXJ1IDU3Ngogc2V0IG10dSA1NzYKCg==
------------859018731FD1161
Content-Type: APPLICATION/OCTET-STREAM; name="radiusd.conf"
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="radiusd.conf"

IyAvdXNyL2xvY2FsL2V0Yy9yYWRkYi9tZ2V0dHkuY29uZmlnCnByZWZpeCA9IC91c3IvbG9j
YWwKZXhlY19wcmVmaXggPSAke3ByZWZpeH0Kc3lzY29uZmRpciA9ICR7cHJlZml4fS9ldGMK
bG9jYWxzdGF0ZWRpciA9IC92YXIKc2JpbmRpciA9ICR7ZXhlY19wcmVmaXh9L3NiaW4KbG9n
ZGlyID0gJHtsb2NhbHN0YXRlZGlyfS9sb2cvcmFkaXVzCnJhZGRiZGlyID0gJHtzeXNjb25m
ZGlyfS9yYWRkYgpyYWRhY2N0ZGlyID0gJHtsb2dkaXJ9L3JhZGFjY3QKY29uZmRpciA9ICR7
cmFkZGJkaXJ9CnJ1bl9kaXIgPSAke2xvY2Fsc3RhdGVkaXJ9L3J1bi9yYWRpdXNkCmxvZ19m
aWxlID0gJHtsb2dkaXJ9L3JhZGl1cy5sb2cKbGliZGlyID0gJHtleGVjX3ByZWZpeH0vbGli
CnBpZGZpbGUgPSA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yaXpl
IHsKCWNoYXAKCW1zY2hhcAoJZmlsZXMKCWxkYXAKCWZpbGVzCglwZXJsX2xpbWl0cwp9CmF1
dGhlbnRpY2F0ZSB7CglBdXRoLVR5cGUgUEFQIHsKCQlwYXAKCX0KCUF1dGgtVHlwZSBDSEFQ
IHsKCQljaGFwCgl9CglBdXRoLVR5cGUgTVMtQ0hBUCB7CgkJbXNjaGFwCgl9Cgl1bml4Cgll
YXAKfQpwcmVhY2N0IHsKCXByZXByb2Nlc3MKCXN1ZmZpeAoJZmlsZXMKfQphY2NvdW50aW5n
IHsKCWFjY3RfdW5pcXVlCgl1bml4CQkKCXJhZHV0bXAKCXNyYWR1dG1wCglsZWdhbF9wb29s
CglpbGxlZ2FsX3Bvb2wKCXNxbAp9CnNlc3Npb24gewoJcmFkdXRtcAoJc3FsCn0KcG9zdC1h
dXRoIHsKCWxlZ2FsX3Bvb2wKCWlsbGVnYWxfcG9vbAp9CnByZS1wcm94eSB7Cn0KcG9zdC1w
cm94eSB7CgllYXAKfQo=
------------859018731FD1161--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1373993879.20040517152020>