GPLization banner introduced to *.[hc] files
[sip-router] / test / mobile61.cfg
1
2
3 route{
4
5         (src_ip=~'(dorian)|(ekina)|(terix)' & method=~'^inv') \
6                                 forward(centauri.fokus.gmd.de);
7         src_ip=~"^192\.168\.[0-9]{1,3}\.[0-9]{1,3}$"  \
8                                 log(1,"msg. from a private network\n"); route(1);
9         src_ip==0.0.0.0/0   log(1, " droping msg\n"); drop;
10 }
11
12 route[1]{
13         src_ip==192.168.46.61  log("possible loop, dropping\n"); drop;
14         (src_ip==192.168.46.0/24) log("routing with rt2\n");route(2); log("we're back\n");
15         src_ip==0.0.0.0/0 log(1, "we'll drop this one too\n"); drop;
16 }
17
18 route[2]{
19         (method=~'^ACK' and uri=~'.*fokus') forward("fox.iptel.org");
20         ! method=~'^INV' forward(193.175.135.179); /* dorian */
21         method=~'.' log("spying...\n"); send(dorian,8000); \
22                                                 forward("fox.iptel.org");
23 }