Skip to content

Commit ee2d1a0

Browse files
upgrading the properties to prevent dos attacks
git-svn-id: https://mobicents.googlecode.com/svn/trunk/servers/sip-servlets@19682 bf0df8d0-2c1f-0410-b170-bd30377b63dc
1 parent 7a7c230 commit ee2d1a0

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

sip-servlets-test-suite/sipp-scenarios/clustering/setup/jboss-5/mss-sip-stack-jboss.properties

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ javax.sip.AUTOMATIC_DIALOG_SUPPORT=off
77
gov.nist.javax.sip.DELIVER_UNSOLICITED_NOTIFY=true
88
gov.nist.javax.sip.THREAD_POOL_SIZE=4
99
gov.nist.javax.sip.REENTRANT_LISTENER=true
10+
# prevent DOS attacks
11+
gov.nist.javax.sip.MAX_LISTENER_RESPONSE_TIME=120
12+
gov.nist.javax.sip.MAX_MESSAGE_SIZE=10000
1013
# setting up the buffer size to reduce retransmissions and avoid loosing messages
1114
gov.nist.javax.sip.RECEIVE_UDP_BUFFER_SIZE=65536
1215
gov.nist.javax.sip.SEND_UDP_BUFFER_SIZE=65536

sip-servlets-test-suite/sipp-scenarios/clustering/setup/jboss/mss-sip-stack.properties

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ javax.sip.AUTOMATIC_DIALOG_SUPPORT=off
77
gov.nist.javax.sip.DELIVER_UNSOLICITED_NOTIFY=true
88
gov.nist.javax.sip.THREAD_POOL_SIZE=64
99
gov.nist.javax.sip.REENTRANT_LISTENER=true
10+
# prevent DOS attacks
11+
gov.nist.javax.sip.MAX_LISTENER_RESPONSE_TIME=120
12+
gov.nist.javax.sip.MAX_MESSAGE_SIZE=10000
1013
# setting up the buffer size to reduce retransmissions and avoid loosing messages
1114
gov.nist.javax.sip.RECEIVE_UDP_BUFFER_SIZE=65536
1215
gov.nist.javax.sip.SEND_UDP_BUFFER_SIZE=65536

sip-servlets-test-suite/sipp-scenarios/performance/jboss-5-setup/mss-sip-stack-jboss.properties

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ gov.nist.javax.sip.SEND_UDP_BUFFER_SIZE=65536
1313
gov.nist.javax.sip.CONGESTION_CONTROL_ENABLED=false
1414
gov.nist.javax.sip.AGGRESSIVE_CLEANUP=true
1515
gov.nist.javax.sip.MAX_FORK_TIME_SECONDS=0
16+
# prevent DOS attacks
17+
gov.nist.javax.sip.MAX_LISTENER_RESPONSE_TIME=120
18+
gov.nist.javax.sip.MAX_MESSAGE_SIZE=10000
1619
#no cache specified since in non ha mode we don't replicate
1720
org.mobicents.ha.javax.sip.cache.MobicentsSipCache.standalone=true
1821
org.mobicents.ha.javax.sip.CACHE_CLASS_NAME=org.mobicents.ha.javax.sip.cache.NoCache

sip-servlets-test-suite/sipp-scenarios/performance/mss-sip-stack.properties

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ javax.sip.AUTOMATIC_DIALOG_SUPPORT=off
77
gov.nist.javax.sip.DELIVER_UNSOLICITED_NOTIFY=true
88
gov.nist.javax.sip.THREAD_POOL_SIZE=64
99
gov.nist.javax.sip.REENTRANT_LISTENER=true
10+
# prevent DOS attacks
11+
gov.nist.javax.sip.MAX_LISTENER_RESPONSE_TIME=120
12+
gov.nist.javax.sip.MAX_MESSAGE_SIZE=10000
1013
# setting up the buffer size to reduce retransmissions and avoid loosing messages
1114
gov.nist.javax.sip.RECEIVE_UDP_BUFFER_SIZE=65536
1215
gov.nist.javax.sip.SEND_UDP_BUFFER_SIZE=65536

sip-servlets-test-suite/sipp-scenarios/performance/tomcat-setup/mss-sip-stack.properties

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ gov.nist.javax.sip.THREAD_POOL_SIZE=64
99
gov.nist.javax.sip.REENTRANT_LISTENER=true
1010
gov.nist.javax.sip.RECEIVE_UDP_BUFFER_SIZE=65536
1111
gov.nist.javax.sip.SEND_UDP_BUFFER_SIZE=65536
12+
# prevent DOS attacks
13+
gov.nist.javax.sip.MAX_LISTENER_RESPONSE_TIME=120
14+
gov.nist.javax.sip.MAX_MESSAGE_SIZE=10000
1215
gov.nist.javax.sip.AGGRESSIVE_CLEANUP=true
1316
gov.nist.javax.sip.MAX_FORK_TIME_SECONDS=0
1417
gov.nist.javax.sip.AUTOMATIC_DIALOG_ERROR_HANDLING=false

0 commit comments

Comments
 (0)