Signal 10

Doug Hardie bc979 at lafn.org
Fri Dec 9 09:00:16 CET 2005


On Dec 5, 2005, at 14:31, Alan DeKok wrote:

> Doug Hardie <bc979 at lafn.org> wrote:
>> I have a primary and backup freeradius server running on different
>> machines.  For the last couple days they have both been receiving a
>> signal 10 at almost the same time.
>
>   Signal 10 is SIGBUS: Bus error.  It's usually indicative of bad  
> memory.
>
>> I suspect its a request from somewhere.  I am going to enable
>> tcpdump on the secondary server but am at a loss to figure out how
>> to get a core dump.  I don't see any place in the code where signal
>> 10 is redirected.  Any other ideas on how to diagnose this problem?
>> Thanks.
>
>   Use tcpdump to see what packet is causing the problem.
>
>   If you're running a version prior to 1.0.5, then upgrade.  See
> http://www.freeradius.org/security.html for more information.


Well, it finally happened again.  This is the packet with the same  
timestamp as the signal 10 message.  There is no response to it.  I  
haven't decoded it completely yet, but it appears that the user id is  
corrupt.  I wonder if something in that field is causing the  
problem.  I was able to identify the user from the phone number and  
that user did successfully connect about 6 times earlier today so I  
don't think its a configuration issue but most likely a line issue  
(dial-in) causing corruption of the user-id.  The NAS is Ascend and I  
would have thought it would catch that and not forward junk at us.


23:24:24.340733 IP o1-laxradius1.o1.com.3787 > zook.radius: RADIUS,  
Access Request (1), id: 0xad length: 443
         0x0000:  00a0 cc3e 87dc 0000 0c38 6fe1 0800 4500  ...>..... 
8o...E.
         0x0010:  01d7 475c 0000 7011 7767 4251 6787 ce75  ..G 
\..p.wgBQg..u
         0x0020:  1205 0ecb 066d 01c3 ee22 01ad 01bb  
96b0  .....m..."......
         0x0030:  f002 4858 4ab7 33e4 2f64 8901 ce7f 0194  ..HXJ.3./ 
d......
         0x0040:  2821 522e 616a 2c71 4942 3872 6c76 4148  (! 
R.aj,qIB8rlvAH
         0x0050:  496b 6576 663a 4b42 5b2e 576b 4476 5434  Ikevf:KB 
[.WkDvT4
         0x0060:  4a34 6a5e 417c 6147 6b75 4c35 7153 7a6f  J4j^A| 
aGkuL5qSzo
         0x0070:  6c40 5878 3061 6075 2040 3637 6177 3f5f   
l at Xx0a`u. at 67aw?_
         0x0080:  4622 462a 497e 4f36 5661 7570 3f36 7d73   
F"F*I~O6Vaup?6}s
         0x0090:  4979 4d5b 4078 5428 4569 585a 457b 3345  IyM[@xT 
(EiXZE{3E
         0x00a0:  5136 2477 3d56 2068 6671 505a 4738 2354  Q6 
$w=V.hfqPZG8#T
         0x00b0:  2a3f 4f7e 3029 246c 5331 4c70 3d62 5529  *?O~0) 
$lS1Lp=bU)
         0x00c0:  704e 7e42 512c 6d26 6646 3e24 436e 2965  pN~BQ,m&fF> 
$Cn)e
         0x00d0:  2e52 0406 4513 db2e 200a 6c61 7861  
7078  .R..E.....laxapx
         0x00e0:  3038 0506 0000 5a54 1a0c 0000 0211 0d06   
08....ZT........
         0x00f0:  0000 0003 3d06 0000 0000 0606 0000  
0001  ....=...........
         0x0100:  1f0c 3831 3839 3939 3936 3432 1a0c 0000  .. 
8189999642....
         0x0110:  0211 4206 0000 0000 1a0c 0000 0211  
4306  ..B...........C.
         0x0120:  0000 0000 1e0c 3831 3834 3531 3230 3231  ...... 
8184512021
         0x0130:  2c0b 3436 3430 3430 3339 391a 0c00 0002  ,. 
464040399.....
         0x0140:  11c5 0600 005d c01a 0c00 0002 11ff  
0600  .....]..........
         0x0150:  00cb 2002 9228 43cf bc9a 6370 3060 7a0b  ..... 
(C...cp0`z.
         0x0160:  ad93 4cf2 4390 7d64 46c7 5bca 29c0 1d4c  ..L.C.}dF. 
[.)..L
         0x0170:  815a c49d ac21 c6e8 35c1 2703 ff14 4b6a  .Z...!.. 
5.'...Kj
         0x0180:  3b50 3177 8497 9089 b92a 38d1 61ce  
42e6  ;P1w.....*8.a.B.
         0x0190:  e556 d74d 47d6 c1a8 5b90 4c25 63d0 d9ca  .V.MG...[.L 
%c...
         0x01a0:  5ebf 4d49 5de2 adfd baa6 9607 542f bb86   
^.MI].......T/..
         0x01b0:  f138 9922 3179 aa7a 2225 1756 11b5 a87a  . 
8."1y.z"%.V...z
         0x01c0:  c40c 2b6e f6f3 c8b7 f084 1fe5 dd60 3231  .. 
+n.........`21
         0x01d0:  aafa 6a7d f4cb b21d 1ebf 1c58 8e33  
1d61  ..j}.......X.3.a
         0x01e0:  5355 f9be ef                             SU...




More information about the Freeradius-Users mailing list