Problem - 2 authentication requests with single login

"Bassam A. Al-Khaffaf" <[email protected]>
Newsgroups gmane.network.nocat
Organization Palette Multimedia Bhd.
Message-ID <[email protected]>
Hi All,

   I have downloaded and installed both parts (gateway and authserv) of
“NoCatAuth-nightly” on one machine box (redhat 9.0) after I installed the
pogozone radius patch “NoCatAuth-0.82+RADIUS-20031015.patch” against it
successfully.

 

Everything is working fine with me when I try to login. The nocat sends an
authentication request and an accounting request to my RADIUS.

 

The problem that I am facing is that whenever I try to login through the
nocat captive portal the nocat always sends two Authentication requests for
the same ID to my RADIUS server and hence the RADIUS server authenticates
both requests as simultaneous user ID.

 

Now when I try to log out, just only one authenticated session will be
closed from the RADIUS while the other one is still valid. If I try to
access again the Internet I get prompted again and the same scenario happens
every time that leads to growing the list of authenticated ID in my RADIUS.

 

 

Later, I disabled the simultaneous ID authentication option from my RADIUS
and tried again to access the Internet, in this case I authenticated and
accessed the Internet successfully, but I got error message in the POPUP
window saying “Simultaneous-Logins reached maximum limit for this user”, and
for this reason, there is no way to logout.

 

So I don’t know if it is a bug in the nocat or it is a normal behavior?

 

Here is the content of the nocat.log file

 

##############################################################

[2005-03-17 13:21:34] Gateway running on port 5280.

[2005-03-17 13:21:42] Spawning child process 1345.

[2005-03-17 13:21:42] Connection to 10.0.0.1 from 10.0.0.150

[2005-03-17 13:21:42] Capturing  10.0.0.150  for
http://v5stats.windowsupdate.microsoft.com/ReportingWebService/ReportingWebS
ervice.asmx

[2005-03-17 13:21:42] Notifying parent of Capture on peer 00:30:84:87:11:67

[2005-03-17 13:21:42] Use of uninitialized value in join or string at
/usr/local/nocat/gateway/bin/../lib/NoCat.pm line 150.

[2005-03-17 13:21:42] Got notification Capture of peer 00:30:84:87:11:67

[2005-03-17 13:21:42] Child process returned 1

[2005-03-17 13:21:42] Spawning child process 1346.

[2005-03-17 13:21:42] Connection to 10.0.0.1 from 10.0.0.150

[2005-03-17 13:21:42] Capturing  10.0.0.150  for
http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/e
n/authrootseq.txt

[2005-03-17 13:21:42] Notifying parent of Capture on peer 00:30:84:87:11:67

[2005-03-17 13:21:42] Use of uninitialized value in join or string at
/usr/local/nocat/gateway/bin/../lib/NoCat.pm line 150.

[2005-03-17 13:21:42] Got notification Capture of peer 00:30:84:87:11:67

[2005-03-17 13:21:42] Child process returned 1

[2005-03-17 13:24:52] Spawning child process 1389.

[2005-03-17 13:24:52] Connection to 10.0.0.1 from 10.0.0.150

[2005-03-17 13:24:52] Capturing  10.0.0.150  for http://www.yahoo.com/

[2005-03-17 13:24:52] Notifying parent of Capture on peer 00:30:84:87:11:67

[2005-03-17 13:24:52] Use of uninitialized value in join or string at
/usr/local/nocat/gateway/bin/../lib/NoCat.pm line 150.

[2005-03-17 13:24:52] Got notification Capture of peer 00:30:84:87:11:67

[2005-03-17 13:24:52] Child process returned 1

[2005-03-17 13:25:20] Spawning child process 1393.

[2005-03-17 13:25:20] Connection to 10.0.0.1 from 10.0.0.1

[2005-03-17 13:25:20] Received notify 00:30:84:87:11:67 from 10.0.0.1

gpgv: Signature made Thu 17 Mar 2005 01:25:20 PM MYT using DSA key ID
D5DB187E

gpgv: Good signature from "Bassam A. Al-Khaffaf (R&D Engineer)
<[email protected]>"

[2005-03-17 13:25:21] Got auth msg Mac  00:30:84:87:11:67

User    [email protected]

Token   $1$11687299$aE0jWzn6ulmo/Mf4iL3yT.

Sessiontimeout  38100

Redirect        http://www.yahoo.com/

Idletimeout     300

Action  Permit

Mode    login

Timeout 600

[2005-03-17 13:25:21] User () v. trusted (Any)

[2005-03-17 13:25:21] User  [email protected]  permitted in class
Public

[2005-03-17 13:25:21] Gathering stats from firewall with cmd='stats.fw
00:30:84:87:11:67 10.0.0.150'.

[2005-03-17 13:25:21] Use of uninitialized value in concatenation (.) or
string at /usr/local/nocat/gateway/bin/../lib/NoCat/Accounting/RADIUS.pm
line 46.

[2005-03-17 13:25:21] Connecting to RADIUS server 192.168.1.9:1631 with
Timeout

[2005-03-17 13:25:21] Use of uninitialized value in subroutine entry at
/usr/local/nocat/gateway/bin/../lib/Authen/Radius.pm line 339.

[2005-03-17 13:25:21] no value sent for attribute 4 at
/usr/local/nocat/gateway/bin/../lib/Authen/Radius.pm line 347.

[2005-03-17 13:25:21] Notifying parent of Permit on peer 00:30:84:87:11:67

[2005-03-17 13:25:21] Use of uninitialized value in join or string at
/usr/local/nocat/gateway/bin/../lib/NoCat.pm line 150.

[2005-03-17 13:25:21] Available MACs: 00:30:84:87:11:67

[2005-03-17 13:25:21] Responding with:

User    [email protected]

Token   $1$1$DU9KUW./Mxx3KrBTPwicW.

Timeout 600

[2005-03-17 13:25:21] Got notification Permit of peer 00:30:84:87:11:67

[2005-03-17 13:25:21] Child process returned 1

################################################################

 

 

Kindly – I need your help to solve this problem and thanks in advance.

 

Regards

Bassam

 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.