HTTP Status 401 after login failed

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
david.wan
Posts: 12
Joined: Wed Dec 11, 2013 3:01 am

HTTP Status 401 after login failed

Post by david.wan »

1. Brekeke Product Name and Version: Version 3.2.5.0 Standard

2. Java version: apache-tomcat-6.0.35

3. OS type and the version: RHEL 5.5

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:

When a user keep trying to login to the brekeke sip server web page with a wrong password, the page will return "HTTP Status 401" after 7 to 8 times failed. Then that user's IP address seems to be blocked forever until tomcat is restarted. Can this blocking be disabled? Thank you.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

try to create a file "config.properties" under webapps\sip\WEB-INF\work\sv\
put the following parameter to change failed login count number
com.brekeke.web.util.AccessBlock.COUNT_FAIL=7

default is 7 times

restart server machine
david.wan
Posts: 12
Joined: Wed Dec 11, 2013 3:01 am

Post by david.wan »

hope wrote:try to create a file "config.properties" under webapps\sip\WEB-INF\work\sv\
put the following parameter to change failed login count number
com.brekeke.web.util.AccessBlock.COUNT_FAIL=7

default is 7 times

restart server machine
Yes. It's work. Thank you very much.
david.wan
Posts: 12
Joined: Wed Dec 11, 2013 3:01 am

Post by david.wan »

Hi hope,

May I know whether we can adjust the blocking period rather than change the trial times? For example, block the IP for 10mins after default 7 times login failed
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

com.brekeke.web.util.AccessBlock.TIME_RECOVER

set ms for recover time.
Post Reply