Browse code

core - test: reorganized the old files in test folder

- moved to subfolders in test/misc
- keep content of the test folder cleaner for travis and unit tests

Daniel-Constantin Mierla authored on 26/11/2015 22:30:51
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,43 +0,0 @@
1
-#
2
-# configuration for stress testing
3
-#
4
-#
5
-
6
-
7
-#debug=9          # debug level (cmd line: -dddddddddd)
8
-#fork=yes          # (cmd. line: -D)
9
-#log_stderror=yes # (cmd line: -E)
10
-#log_stderror=no	# (cmd line: -E)
11
-
12
-
13
-#children=2
14
-check_via=no     # (cmd. line: -v)
15
-dns=off           # (cmd. line: -r)
16
-rev_dns=off      # (cmd. line: -R)
17
-#port=5070
18
-#listen=10.0.0.179 lo	dorian
19
-#listen=eth0
20
-#listen=127.0.0.1
21
-#listen=192.168.57.33
22
-#listen=192.168.57.72
23
-#loop_checks=0
24
-# for more info: sip_router -h
25
-alias=iptel.org
26
-alias="foo.bar"
27
-fifo="/tmp/ser_fifo"
28
-#listen= tcp:10.0.0.179:5065
29
-alias=  tcp:all:5065
30
-tcp_accept_aliases=yes
31
-
32
-
33
-#modules
34
-
35
-
36
-route{
37
-	if (myself==uri){
38
-		log("\n\nfrom myself\n\n");
39
-	};
40
-	log(" continue \n\n");
41
-	#force_tcp_alias();
42
-	forward(uri:host, uri:port);
43
-}
Browse code

test: Remove SVN ID's

Olle E. Johansson authored on 07/03/2015 19:43:49
Showing 1 changed files
... ...
@@ -1,7 +1,6 @@
1 1
 #
2 2
 # configuration for stress testing
3 3
 #
4
-# $ID: $
5 4
 #
6 5
 
7 6
 
Browse code

- merge from testing-0.8.12-r0: - tcp updates (lots) - makefile mips support - tm timer workarround (present also in stable), t_relay_tls changed to t_relay_to_tls - udp_flood sleep & throttle support

Andrei Pelinescu-Onciul authored on 11/11/2003 15:32:36
Showing 1 changed files
... ...
@@ -26,7 +26,7 @@ rev_dns=off      # (cmd. line: -R)
26 26
 alias=iptel.org
27 27
 alias="foo.bar"
28 28
 fifo="/tmp/ser_fifo"
29
-listen= tcp:10.0.0.179:5065
29
+#listen= tcp:10.0.0.179:5065
30 30
 alias=  tcp:all:5065
31 31
 tcp_accept_aliases=yes
32 32
 
Browse code

- changed tcp to support port aliases (major changes) - added via alias parameter parsing - added script var. tcp_accept_aliases= yes|no (honour or not via alias param) - added script. cmd. force_tcp_alias( <void>|port_no) [for more info read the NEWS file]

Andrei Pelinescu-Onciul authored on 29/10/2003 17:41:27
Showing 1 changed files
... ...
@@ -28,6 +28,8 @@ alias="foo.bar"
28 28
 fifo="/tmp/ser_fifo"
29 29
 listen= tcp:10.0.0.179:5065
30 30
 alias=  tcp:all:5065
31
+tcp_accept_aliases=yes
32
+
31 33
 
32 34
 #modules
33 35
 
... ...
@@ -37,5 +39,6 @@ route{
37 39
 		log("\n\nfrom myself\n\n");
38 40
 	};
39 41
 	log(" continue \n\n");
42
+	#force_tcp_alias();
40 43
 	forward(uri:host, uri:port);
41 44
 }
Browse code

- sock_lists completely re-organized

Andrei Pelinescu-Onciul authored on 24/10/2003 20:23:58
Showing 1 changed files
... ...
@@ -1,29 +1,41 @@
1
-debug=9          # debug level (cmd line: -dddddddddd)
2
-check_via=1      # (cmd. line: -v)
3
-dns=on           # (cmd. line: -r)
4
-rev_dns=yes      # (cmd. line: -R)
5
-fork=no          # (cmd. line: -D)
6
-log_stderror=yes # (cmd line: -E)
7
-# for more info: sip_router -h
1
+#
2
+# configuration for stress testing
3
+#
4
+# $ID: $
5
+#
8 6
 
9
-route{
10 7
 
11
-	(src_ip=~'(dorian)|(ekina)|(terix)' & method=~'^inv') \
12
-				forward(centauri.fokus.gmd.de);
13
-	src_ip=~"^192\.168\.[0-9]{1,3}\.[0-9]{1,3}$"  \
14
-				log(1,"msg. from a private network\n"); route(1);
15
-	src_ip==0.0.0.0/0   setuserpass("andrei:test"); log(1, " test msg\n"); forward(192.168.46.55);setuser("foo");sethostport("bar.com:6000");forward(192.168.46.69);drop;
16
-}
8
+#debug=9          # debug level (cmd line: -dddddddddd)
9
+#fork=yes          # (cmd. line: -D)
10
+#log_stderror=yes # (cmd line: -E)
11
+#log_stderror=no	# (cmd line: -E)
17 12
 
18
-route[1]{
19
-	src_ip==192.168.46.61  log("possible loop, dropping\n"); drop;
20
-	(src_ip==192.168.46.0/24) log("routing with rt2\n");route(2); log("we're back\n");
21
-	src_ip==0.0.0.0/0 log(1, "we'll drop this one too\n"); drop;
22
-}
23 13
 
24
-route[2]{
25
-	(method=~'^ACK' and uri=~'.*fokus') forward("fox.iptel.org");
26
-	! method=~'^INV' forward(193.175.135.179); /* dorian */
27
-	method=~'.' log("spying...\n"); send(dorian,8000); \
28
-						forward("fox.iptel.org");
14
+#children=2
15
+check_via=no     # (cmd. line: -v)
16
+dns=off           # (cmd. line: -r)
17
+rev_dns=off      # (cmd. line: -R)
18
+#port=5070
19
+#listen=10.0.0.179 lo	dorian
20
+#listen=eth0
21
+#listen=127.0.0.1
22
+#listen=192.168.57.33
23
+#listen=192.168.57.72
24
+#loop_checks=0
25
+# for more info: sip_router -h
26
+alias=iptel.org
27
+alias="foo.bar"
28
+fifo="/tmp/ser_fifo"
29
+listen= tcp:10.0.0.179:5065
30
+alias=  tcp:all:5065
31
+
32
+#modules
33
+
34
+
35
+route{
36
+	if (myself==uri){
37
+		log("\n\nfrom myself\n\n");
38
+	};
39
+	log(" continue \n\n");
40
+	forward(uri:host, uri:port);
29 41
 }
Browse code

- fixed the cfg. files, added a new sip msg

Andrei Pelinescu-Onciul authored on 25/09/2001 23:09:08
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,29 @@
1
+debug=9          # debug level (cmd line: -dddddddddd)
2
+check_via=1      # (cmd. line: -v)
3
+dns=on           # (cmd. line: -r)
4
+rev_dns=yes      # (cmd. line: -R)
5
+fork=no          # (cmd. line: -D)
6
+log_stderror=yes # (cmd line: -E)
7
+# for more info: sip_router -h
8
+
9
+route{
10
+
11
+	(src_ip=~'(dorian)|(ekina)|(terix)' & method=~'^inv') \
12
+				forward(centauri.fokus.gmd.de);
13
+	src_ip=~"^192\.168\.[0-9]{1,3}\.[0-9]{1,3}$"  \
14
+				log(1,"msg. from a private network\n"); route(1);
15
+	src_ip==0.0.0.0/0   setuserpass("andrei:test"); log(1, " test msg\n"); forward(192.168.46.55);setuser("foo");sethostport("bar.com:6000");forward(192.168.46.69);drop;
16
+}
17
+
18
+route[1]{
19
+	src_ip==192.168.46.61  log("possible loop, dropping\n"); drop;
20
+	(src_ip==192.168.46.0/24) log("routing with rt2\n");route(2); log("we're back\n");
21
+	src_ip==0.0.0.0/0 log(1, "we'll drop this one too\n"); drop;
22
+}
23
+
24
+route[2]{
25
+	(method=~'^ACK' and uri=~'.*fokus') forward("fox.iptel.org");
26
+	! method=~'^INV' forward(193.175.135.179); /* dorian */
27
+	method=~'.' log("spying...\n"); send(dorian,8000); \
28
+						forward("fox.iptel.org");
29
+}