Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Captive Portal» Abnormal IP address in captive portal
Username:
Password:
 
 

Pages: [1] 2  All   Go Down
  Print  
Author Topic: Abnormal IP address in captive portal  (Read 3848 times)
0 Members and 1 Guest are viewing this topic.
kloon
Newbie
*
Offline Offline

Posts: 22


View Profile
« on: July 26, 2010, 02:56:02 am »

Hi all,

I have a strange IP address appear in pfsense captive portal. It's not appear as a IP address but characters.

IP address        MAC address       Username        Session start        
cmhnanBhcmk=                                              01/01/1970 07:30:00

Thank you for any help and assistance.
Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12865



View Profile
« Reply #1 on: July 26, 2010, 09:28:06 am »

Is this on 1.2.3 or 2.0?
Logged

Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Donate to the project | My Wish List
kloon
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #2 on: July 26, 2010, 07:35:14 pm »

it's on 1.2.3

We are not moving to a 2.0 beta version as this server is in production.
Logged
kloon
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #3 on: July 27, 2010, 08:15:52 pm »

Hi all, the abnormal IP address appear again in our captive portal, do anyone have idea on it?


IP address        MAC address        Username        Session start        
Y2Fyb2x5bjk3OTE=                                      01/01/1970 07:30:00    
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6055


View Profile WWW
« Reply #4 on: August 07, 2010, 04:08:38 pm »

What are the contents of /var/db/captiveportal.db? 
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
kloon
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #5 on: August 08, 2010, 08:22:19 pm »

Would you mind to guide how to check the particular file?
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6055


View Profile WWW
« Reply #6 on: August 08, 2010, 08:42:44 pm »

Go to Diag>Command and run:

cat /var/db/captiveportal.db
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
kloon
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #7 on: August 15, 2010, 07:36:20 pm »

sorry for the late reply, the problem does not appear again until today.

this is the content of /var/db/captiveportal.db
 
,cd4e0e5cac5b2548,Y2Fyb2x5bjk3OTE=,,,
Logged
Gertjan
Full Member
***
Offline Offline

Posts: 273



View Profile
« Reply #8 on: August 16, 2010, 02:04:44 am »

'Normal' content is
$ cat /var/db/captiveportal.db
1281899223,10004,192.168.2.160,00:26:08:yy:xx:ii,105,405ce45ef655491c,,,,
1281899536,10005,192.168.2.173,d8:30:62:yy:xx:ii,105,e44437ff909ce274,,,,
1281902318,10006,192.168.2.150,90:4c:e5:ii:yy:xx,205,2742c8beaaa25b21,,,,
1281941548,10003,192.168.2.165,f8:1e:df:ii:yy:xx,114,a55ab8690b33af7a,,,,

(just an example of my captiveportal.db file right now)

Looks like the time stamp, IP, index and USER ID are missing.

Strange.
Logged
kloon
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #9 on: August 16, 2010, 06:54:11 pm »

I have normal content in captive portal too, but sometimes the abnormal address appear in the portal randomly.

$ cat /var/db/captiveportal.db
,23c94761e47d958f,c2lsdmVyd2F0ZXI4,,,
,5b856ac5e01c8a86,cmhnanBhcmk=,,,
1282000190,10000,192.168.0.1,1c:4b:d6:11:22:33,abc123,4a8c88399ded7095,cmFmZjg5MDQyOQ==,,,
1282000315,10001,192.168.0.12,90:84:0d:44:55:66,def456,26fa9255b49fcc6a,eXBwaHBpZWU=,,,
Logged
Gertjan
Full Member
***
Offline Offline

Posts: 273



View Profile
« Reply #10 on: August 17, 2010, 01:11:55 am »

Some how, the database $cpdb (list with all the connected clients) fails to write correctly to your disk.
Destroyed in memory ?

On what are you running pfSense ?

I would re-install from scratch.
Logged
ermal
Administrator
Hero Member
*****
Offline Offline

Posts: 3097


View Profile
« Reply #11 on: August 17, 2010, 05:34:13 pm »

How many concurrent users make this bug show??
Logged
kloon
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #12 on: August 18, 2010, 03:07:33 am »

It happen in a random number of users. Sometimes happen in 40+ users, sometimes it happen in 300+ users. But I do not sure when it happen since I refresh the Portal page once a while.
Logged
kloon
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #13 on: September 05, 2010, 11:47:50 pm »

appreciate that anyone can help into this matter.

Thank you very much.
Logged
cmb
Administrator
Hero Member
*****
Offline Offline

Posts: 6055


View Profile WWW
« Reply #14 on: September 08, 2010, 12:04:39 am »

Not a common issue, we support loads of CP environments and never seen that. The back end handling of CP is much improved in 2.0, and it's throughly tested and used in numerous serious production environments (ISPs and others). You may want to try it and see if that changes anything. Somehow it's missing some data on the back end in rare circumstances, and that may well be fixed.
Logged

pfSense Commercial Support

Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
Pages: [1] 2  All   Go Up
  Print  
 
Jump to:  

 

Page created in 0.029 seconds with 20 queries.