mirror of
https://github.com/open5gs/open5gs.git
synced 2025-10-23 07:41:57 +00:00
Compare commits
1504 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9087a480a8 | ||
|
9d43646816 | ||
|
240c10888d | ||
|
9c3b7dfe4b | ||
|
2aa40ca8c8 | ||
|
12353178fb | ||
|
b98c2c13f6 | ||
|
9d94b33c7b | ||
|
6c5a8a135a | ||
|
b116630fe8 | ||
|
28089e2b59 | ||
|
b1e7477904 | ||
|
5238771295 | ||
|
cfe21c61da | ||
|
0b97954208 | ||
|
5084f6a71d | ||
|
109949d335 | ||
|
9e25482d99 | ||
|
816575dc8d | ||
|
28e40a0f1b | ||
|
a9badd5520 | ||
|
18cca7f5e4 | ||
|
828fa23d16 | ||
|
a6abe1fffb | ||
|
7dd5d27a71 | ||
|
e32139009b | ||
|
502a886e43 | ||
|
d99382d5bc | ||
|
8b3fa5ff9f | ||
|
e1e8018919 | ||
|
c2bda0b576 | ||
|
b6f2146594 | ||
|
78b1dc77ff | ||
|
de0ba3f9dc | ||
|
c18e9f32cb | ||
|
2c2ce143a3 | ||
|
933f0b04c7 | ||
|
7d496e182b | ||
|
dd845a2bb2 | ||
|
1679f57ac7 | ||
|
b6fe640641 | ||
|
a6927e18e6 | ||
|
8efa364f89 | ||
|
43a7259781 | ||
|
aba1867902 | ||
|
12d189af07 | ||
|
d6c8d49ef4 | ||
|
1983d9d7a7 | ||
|
6710c13a44 | ||
|
67fd2efd76 | ||
|
c6c8dc1256 | ||
|
46621538af | ||
|
b2f2016a67 | ||
|
e0a487f479 | ||
|
a7e2a071e0 | ||
|
f97f5f794d | ||
|
afc562f7d5 | ||
|
478723203f | ||
|
c391ac1334 | ||
|
fe7f9d85bb | ||
|
c5715d6695 | ||
|
bb4a8f34d4 | ||
|
71572ae563 | ||
|
e2159b1240 | ||
|
99f59be5d7 | ||
|
4d2f7726b9 | ||
|
11d4be1779 | ||
|
5d478e2488 | ||
|
333e53d0dd | ||
|
53a96022d9 | ||
|
908d5884dc | ||
|
e8d6b0be20 | ||
|
7a9d06097e | ||
|
3a28ddce37 | ||
|
6ffdce598a | ||
|
6e81564972 | ||
|
76fecdb54e | ||
|
aa6f3ef8d6 | ||
|
3508e09a41 | ||
|
b558da30c6 | ||
|
de2ecd6400 | ||
|
41f743af62 | ||
|
d50a5a44f9 | ||
|
2de12e32f4 | ||
|
23ef30553e | ||
|
79de674fd8 | ||
|
5f979d0cc3 | ||
|
433d5f6bf3 | ||
|
80cd9d725f | ||
|
28746c1cd8 | ||
|
bb5d497298 | ||
|
079bb5c40e | ||
|
e61b469489 | ||
|
e3da7c9934 | ||
|
8c22d8a20c | ||
|
e5ff03b249 | ||
|
49c34605db | ||
|
ff242cd6ea | ||
|
2be12903cb | ||
|
7455424d29 | ||
|
832ab156e9 | ||
|
0b3df3e3db | ||
|
b5ad0feffc | ||
|
b732d7bcc5 | ||
|
05551f120f | ||
|
106f2729c3 | ||
|
aa6368132e | ||
|
fb8ebcdbea | ||
|
52672cff65 | ||
|
0df2e9f0ba | ||
|
77f7bb7af7 | ||
|
8286b1c417 | ||
|
5be48be634 | ||
|
110a63fdfa | ||
|
e213f65406 | ||
|
1c9a48bfb1 | ||
|
77f66e1f0e | ||
|
3121d183f0 | ||
|
8f603e2049 | ||
|
35201f6ed1 | ||
|
24d20bb20b | ||
|
f2aa15d99f | ||
|
c76c7d597d | ||
|
9c4287f467 | ||
|
2def8bb31b | ||
|
f557fc8eaa | ||
|
82241f5b84 | ||
|
fbfb72c1b7 | ||
|
038fb680f4 | ||
|
da8c934326 | ||
|
88016a769f | ||
|
acd6610508 | ||
|
4b8d3a845a | ||
|
825b06b6e0 | ||
|
12c656efd0 | ||
|
ced37a6201 | ||
|
38e2dee17f | ||
|
89636fa8d3 | ||
|
cc0d147f5c | ||
|
12bac7a917 | ||
|
41553de7a4 | ||
|
2cb06b3085 | ||
|
224d1caca1 | ||
|
37af21a88d | ||
|
fe5fd0f760 | ||
|
ab5f47ef59 | ||
|
72ecd1c005 | ||
|
7f6f35fe6f | ||
|
bf77318602 | ||
|
a6ec206998 | ||
|
f060da45d5 | ||
|
80ce991aa6 | ||
|
bcf53124d5 | ||
|
73836c063c | ||
|
dd5abb79b4 | ||
|
5b81802be9 | ||
|
4388f9bf3a | ||
|
c1fc25958c | ||
|
914bb0a40f | ||
|
253e2ad98a | ||
|
c2d10772c6 | ||
|
f848785360 | ||
|
a1be48ed50 | ||
|
896370c2e4 | ||
|
9bf8a84b81 | ||
|
79e34260da | ||
|
7bddc92322 | ||
|
ed3444eef5 | ||
|
3217e93124 | ||
|
19120acadc | ||
|
d06acc7f37 | ||
|
bc69ddfc6d | ||
|
d54e8a43ce | ||
|
ba3a046c62 | ||
|
efe37c1e84 | ||
|
03280d1f5a | ||
|
51a75cde26 | ||
|
52bc4be547 | ||
|
3b6da3ddb2 | ||
|
dbd9e8bd78 | ||
|
3833a73a14 | ||
|
953a7321c6 | ||
|
5ad1b188e4 | ||
|
af3db1770f | ||
|
d61127afcc | ||
|
882548de11 | ||
|
b0fc06ab6c | ||
|
b7698810ac | ||
|
e3fa731c4a | ||
|
420c1d5ad3 | ||
|
b4f382d360 | ||
|
137ed99dd5 | ||
|
f7999a2cad | ||
|
2056a5b500 | ||
|
8b1bdf42a2 | ||
|
8cc70694db | ||
|
3eab4be135 | ||
|
7df65e832e | ||
|
c0ffe1ffe4 | ||
|
757285bf25 | ||
|
906e7c5046 | ||
|
0e1ab26ee5 | ||
|
6e30f97097 | ||
|
4145b8b543 | ||
|
ffcd92c2f3 | ||
|
900e888dc1 | ||
|
acfcbda8fa | ||
|
5fff69306f | ||
|
9b7ebf9927 | ||
|
4018833b3a | ||
|
8bc584ce80 | ||
|
a7d164c28d | ||
|
83d56fe40d | ||
|
340b23af94 | ||
|
3b275edec7 | ||
|
866ae78f5e | ||
|
68407efa16 | ||
|
c071bf3c6d | ||
|
23647f643b | ||
|
99d03f9d03 | ||
|
9215b69ee1 | ||
|
0ff9c3e297 | ||
|
776892e09d | ||
|
ed3a3a527a | ||
|
8955fdcd5d | ||
|
b3ac5b35eb | ||
|
79239d8eff | ||
|
522e835101 | ||
|
13dbdb1b18 | ||
|
e4f864c1f5 | ||
|
f75e51ca46 | ||
|
ea6675879c | ||
|
fdddeaca98 | ||
|
bbd1412a9e | ||
|
cfd0193bbd | ||
|
2ed35f245d | ||
|
070cdbc657 | ||
|
715e4c0b50 | ||
|
5e5a61b982 | ||
|
592b69ef1e | ||
|
b6de06ee01 | ||
|
b988e7edce | ||
|
49d9ed03c7 | ||
|
a0f2535cb5 | ||
|
6f62839ad3 | ||
|
ead9f380a9 | ||
|
d87d7c12c2 | ||
|
54b919f65f | ||
|
1d496e92cd | ||
|
414c230f00 | ||
|
d02507e90a | ||
|
a3166ab537 | ||
|
232c387276 | ||
|
9b40fe25ff | ||
|
e302f727fd | ||
|
27b87c1110 | ||
|
fc53fb4beb | ||
|
4f7bb847a9 | ||
|
5a85be09d6 | ||
|
07a61018b2 | ||
|
74bbc6ecbf | ||
|
d7e23b7f6a | ||
|
1a691e1d4a | ||
|
561f1ac2f3 | ||
|
a5a5c424c1 | ||
|
aab8286401 | ||
|
6ae9ecc697 | ||
|
b18cf1bce8 | ||
|
758cf9dd72 | ||
|
448e07d5a9 | ||
|
00a296a1de | ||
|
4f8c34c7aa | ||
|
acd67c7aa6 | ||
|
d8655e07c6 | ||
|
83aac49fd0 | ||
|
ffc15a7d3d | ||
|
0ae2743d4b | ||
|
7bcb3eed98 | ||
|
fc8c807da2 | ||
|
d919b2744c | ||
|
6a6f214785 | ||
|
bfa34be222 | ||
|
0fb8279e36 | ||
|
0ea2142ba6 | ||
|
562b7ef7de | ||
|
1df6c072ed | ||
|
7567659a29 | ||
|
abd0589eb3 | ||
|
0d2c07361e | ||
|
0e5f438cdc | ||
|
5d234cb108 | ||
|
42c9dce2b7 | ||
|
13bba81227 | ||
|
608c08373d | ||
|
c0f6955250 | ||
|
7d9a651f6c | ||
|
489b633e08 | ||
|
9ba4b317d2 | ||
|
b35febd9c4 | ||
|
f05accc7f3 | ||
|
7db0c039a1 | ||
|
35f4cf8deb | ||
|
ec7735d447 | ||
|
b600ab5724 | ||
|
3cb2808ebf | ||
|
013b4dc8e9 | ||
|
5e016937c7 | ||
|
13f1b390ae | ||
|
7dcde91057 | ||
|
127685f908 | ||
|
9e4a791c2b | ||
|
9c589ac584 | ||
|
e730530f7b | ||
|
1354947164 | ||
|
233db575ea | ||
|
e2fe15d2ae | ||
|
7615869c94 | ||
|
77955d01f8 | ||
|
5234001b0a | ||
|
fa67341263 | ||
|
a797578b60 | ||
|
1c07e4c6b2 | ||
|
ab7f565dd6 | ||
|
5af66be7b5 | ||
|
ced4a6f945 | ||
|
72c5f80f26 | ||
|
3564fe5c8c | ||
|
e5594a57b9 | ||
|
af5b3aa931 | ||
|
831b29973f | ||
|
68edcd6438 | ||
|
e9dbe5a3d7 | ||
|
7e5a5d7511 | ||
|
acb4db5dd1 | ||
|
3e7d2398a2 | ||
|
c6b13be92a | ||
|
0db09f5c25 | ||
|
bd6eea4fa5 | ||
|
e1c79647e2 | ||
|
362393d0ff | ||
|
0c1a3d7f95 | ||
|
eb9b780449 | ||
|
039b9d0aaa | ||
|
1326fc85dc | ||
|
4667b99c92 | ||
|
7cfeb2e9f9 | ||
|
005cd30e02 | ||
|
dde0785375 | ||
|
16f8d5fa49 | ||
|
e71a158ed7 | ||
|
c918b4b5b6 | ||
|
2471b1b53d | ||
|
f278d58a69 | ||
|
2aaa8200c2 | ||
|
65e96dd75c | ||
|
ec377a8849 | ||
|
bedd05e654 | ||
|
8959c787bc | ||
|
f728e5da89 | ||
|
442e7d44e7 | ||
|
e1e3f254e2 | ||
|
997554bbb7 | ||
|
38ff2dc6f7 | ||
|
a396ea8fc1 | ||
|
7f774884ea | ||
|
50f403279a | ||
|
00c96a3f0f | ||
|
4537142929 | ||
|
e0869104c6 | ||
|
c48f107520 | ||
|
780f829962 | ||
|
449b5b484f | ||
|
d9b5c29a9b | ||
|
9e664a744b | ||
|
a252fae84f | ||
|
47c9f4e4a0 | ||
|
e31a8474b2 | ||
|
774e1b0ebd | ||
|
ac37e00b42 | ||
|
118d62d42d | ||
|
80a9497afd | ||
|
ef07ccfb88 | ||
|
5d460b0577 | ||
|
8dab1852cc | ||
|
899c121478 | ||
|
fe89f7cd11 | ||
|
611986794b | ||
|
caa73e1f5e | ||
|
4d6692d8fe | ||
|
64508c2e5c | ||
|
35d5b7e16e | ||
|
3d11b87127 | ||
|
873cf398c7 | ||
|
dfaf2f1567 | ||
|
b6a030d82b | ||
|
3df75e37df | ||
|
f861919507 | ||
|
257f398a11 | ||
|
4a1ddb6650 | ||
|
496b5a9e58 | ||
|
916bf752b4 | ||
|
26f14ee7ca | ||
|
ff4695bd5a | ||
|
3b19190f56 | ||
|
5ea9b22209 | ||
|
b0e8dbb31a | ||
|
018b352985 | ||
|
1dc692753a | ||
|
182a61dc0b | ||
|
dc870cc839 | ||
|
9a814ceac9 | ||
|
b4c1987ede | ||
|
ab93fb7613 | ||
|
6cc84b69ce | ||
|
8ca9402d11 | ||
|
5901582281 | ||
|
e5a0dfb444 | ||
|
0b063a57c8 | ||
|
cea1dff5a1 | ||
|
002e3c7ae9 | ||
|
27b25b8993 | ||
|
0b05308188 | ||
|
3b1ebfa9ed | ||
|
959bc6a248 | ||
|
96050ed6e2 | ||
|
49d7fe3b82 | ||
|
19a8e4cd70 | ||
|
8cf606fd6b | ||
|
a58214da76 | ||
|
03e74c93e8 | ||
|
72374e439a | ||
|
fc27f7499b | ||
|
dcfc9ef803 | ||
|
2766a1ce2c | ||
|
20a662a9aa | ||
|
1a13ab3a7d | ||
|
73c3aa54c0 | ||
|
793a82020f | ||
|
e459a85bc1 | ||
|
27285a60da | ||
|
9ff93f0e49 | ||
|
ea89d8dc8e | ||
|
bf5f64b5e5 | ||
|
cc03c91bdd | ||
|
3275584236 | ||
|
83720fff9a | ||
|
688f2bc249 | ||
|
e1c8d89bba | ||
|
520dcf1ff8 | ||
|
11be73cab7 | ||
|
f59cf3eacb | ||
|
8f1e591be5 | ||
|
905fc76faf | ||
|
745ea41096 | ||
|
8710cae0fd | ||
|
27cee12a7b | ||
|
44de4673bf | ||
|
2df8a1836f | ||
|
3c9541992f | ||
|
90f60cad0e | ||
|
26066bb0ca | ||
|
d3eaaff430 | ||
|
d40348c00c | ||
|
613e21c4ff | ||
|
41c6bb4681 | ||
|
23c1fee516 | ||
|
a74050a032 | ||
|
bb38c01229 | ||
|
ec0752cb95 | ||
|
b6ba02f6de | ||
|
5f9785af52 | ||
|
c0396171ff | ||
|
0b3ca447c9 | ||
|
68724c6ec1 | ||
|
cc30aa2a9a | ||
|
3a2a227b48 | ||
|
a76a2503c2 | ||
|
1e2a16fc5b | ||
|
829123dad0 | ||
|
457230a2f6 | ||
|
6ab5c41af5 | ||
|
b22023afb8 | ||
|
b21dc65741 | ||
|
5d2fea994b | ||
|
ebb48ede53 | ||
|
b07d12d3be | ||
|
54f1ccbb6b | ||
|
52cd51ca6a | ||
|
c848919af4 | ||
|
6df2906f42 | ||
|
ebf1c5b0d9 | ||
|
072fb68882 | ||
|
182a680d51 | ||
|
09780e3fed | ||
|
79df32638c | ||
|
d0eec31f5c | ||
|
dc474329e2 | ||
|
22b09443ce | ||
|
7ba77e6cc1 | ||
|
37e0a714f9 | ||
|
0270c0e340 | ||
|
a6e42a4932 | ||
|
0a94e1ece4 | ||
|
569f98f92c | ||
|
7848b6c966 | ||
|
60b75b5f5e | ||
|
82261bc8e4 | ||
|
9e8700f1a2 | ||
|
fc5c9b2af0 | ||
|
56c0987ad2 | ||
|
08751e1b4a | ||
|
de72ccaf91 | ||
|
9af4268bab | ||
|
c6bfbed922 | ||
|
0790674c14 | ||
|
2f2178595d | ||
|
515b5d2b17 | ||
|
31977bf30a | ||
|
d1400897e0 | ||
|
b6bcbac3e3 | ||
|
9b5cc4a568 | ||
|
094d40b073 | ||
|
852756f902 | ||
|
fea48f5a44 | ||
|
b19b3e9dd1 | ||
|
7901a1164f | ||
|
950c4c0a12 | ||
|
5e839e25fe | ||
|
d3fa7619bf | ||
|
6cd755ac97 | ||
|
f597c9e899 | ||
|
9e8303762c | ||
|
e7c261d0d3 | ||
|
e7cb25ac9b | ||
|
f47f65a51c | ||
|
0311d2255c | ||
|
d9417be9a6 | ||
|
373ba1452f | ||
|
848b7ffc29 | ||
|
ff5236f3e0 | ||
|
388e64213f | ||
|
49a9e58efe | ||
|
0fc5190a09 | ||
|
19014a3a25 | ||
|
ada01fca8f | ||
|
61778f9142 | ||
|
776d323a16 | ||
|
9eac90252e | ||
|
708784e222 | ||
|
50db1aaeb1 | ||
|
8e29eb2417 | ||
|
0552bc49c9 | ||
|
c9363b1320 | ||
|
408c378b94 | ||
|
bfa6eae71c | ||
|
55e9f08430 | ||
|
1c13d7f5ec | ||
|
8d0ce5b03c | ||
|
5fb0611cb2 | ||
|
d6ed13968d | ||
|
f15d2c96fe | ||
|
508a78d43b | ||
|
f250b6e411 | ||
|
d17ea0f135 | ||
|
b4358fe703 | ||
|
e531ccab5a | ||
|
a0ebf20c88 | ||
|
31cc259ee4 | ||
|
e803b01d9c | ||
|
0c61e7b70b | ||
|
80e337b465 | ||
|
6946dc4998 | ||
|
7b29cdf898 | ||
|
7dd4609c0f | ||
|
060d2a08f5 | ||
|
c9cfc4cf6e | ||
|
a96d3ca0fa | ||
|
1238b30526 | ||
|
70a7bac6b2 | ||
|
b329b09573 | ||
|
88346c0141 | ||
|
b35eb9fcf4 | ||
|
79b0552bb0 | ||
|
235a041b8d | ||
|
65aea5ebf2 | ||
|
4115799c2a | ||
|
efd1780745 | ||
|
dcec18a3d8 | ||
|
371e22c96b | ||
|
171f15f684 | ||
|
ef3e7b2528 | ||
|
7002c1e4b5 | ||
|
2392f23d7f | ||
|
2bf8d6c3c7 | ||
|
191f109f7f | ||
|
198abc6e8b | ||
|
fb95725ca4 | ||
|
41fd851b7f | ||
|
d16d295708 | ||
|
5999bd22f9 | ||
|
33edd12335 | ||
|
b2d012c253 | ||
|
e5a9156444 | ||
|
90123efae3 | ||
|
c424796955 | ||
|
1c997c4069 | ||
|
3be76db08a | ||
|
0742c6208c | ||
|
2c2b6dfcaf | ||
|
0c47098c4a | ||
|
1a7b4de7c6 | ||
|
19a3680c60 | ||
|
520d9cd2c3 | ||
|
3c99af7736 | ||
|
dcf0a714aa | ||
|
e1a2e3803f | ||
|
f0b9a35962 | ||
|
70f7e2d5d4 | ||
|
f4c6791227 | ||
|
ee964d825c | ||
|
b9fdc0ab44 | ||
|
0b2ba07f97 | ||
|
fe7525a784 | ||
|
d7c188dc00 | ||
|
961db54c2f | ||
|
1f1a741e53 | ||
|
e6e825c6a3 | ||
|
cbb3758c9c | ||
|
6f11a78079 | ||
|
9a1824f6aa | ||
|
23e8e6577c | ||
|
830587a250 | ||
|
f1a207fd9b | ||
|
2d3b8eed81 | ||
|
18c3a4d5d9 | ||
|
8975613ae9 | ||
|
621145d8b0 | ||
|
5af01d1a71 | ||
|
ad85c12513 | ||
|
b80554e955 | ||
|
13c7f30e39 | ||
|
21595426b2 | ||
|
d1e643ed6c | ||
|
22e98d612a | ||
|
48bf4a763a | ||
|
3fef5848b8 | ||
|
a679ea56a8 | ||
|
080c6a9002 | ||
|
5fd6dac961 | ||
|
f137d1947f | ||
|
0ec0b2dc69 | ||
|
93312e8f3d | ||
|
3cbec5f2e6 | ||
|
4f2803c058 | ||
|
a470131489 | ||
|
aa81bb2c89 | ||
|
15e42bc4a9 | ||
|
bdeea7ce8b | ||
|
39aa726543 | ||
|
1bed0d5872 | ||
|
c244dcc5e9 | ||
|
c052193a37 | ||
|
50149dd1a7 | ||
|
5bfaac17e0 | ||
|
c424099200 | ||
|
06ec924466 | ||
|
6ff129e9da | ||
|
fae76f9e9d | ||
|
f294a5f55c | ||
|
5c9b3d09d8 | ||
|
55d60ff1ab | ||
|
74af0051d5 | ||
|
4667835e24 | ||
|
ba41d66eb5 | ||
|
437cc92bf9 | ||
|
60a6551f8a | ||
|
8d55964bcc | ||
|
cabef6afa9 | ||
|
d343440abc | ||
|
6d4927e29f | ||
|
d64db21050 | ||
|
0eb68eefe2 | ||
|
b925189c4a | ||
|
30b7f7669e | ||
|
83702e8f1b | ||
|
dd063ba2cf | ||
|
6e45ec6f39 | ||
|
9c67459481 | ||
|
f642cc0389 | ||
|
71fa610a8e | ||
|
8ba3d89b8d | ||
|
d58024247c | ||
|
a513c3e6ec | ||
|
ced8e661be | ||
|
1129440061 | ||
|
a3fa0d8362 | ||
|
88399da5b6 | ||
|
b6395b870e | ||
|
72d1226c05 | ||
|
a735aa1521 | ||
|
51b16a865b | ||
|
51f00a97bb | ||
|
f4f6d78c87 | ||
|
85d2647308 | ||
|
25ab8d09ac | ||
|
6df9356c79 | ||
|
a9ad43a4ef | ||
|
e2d682d142 | ||
|
5a7e5150a5 | ||
|
89174153e3 | ||
|
dae7218a35 | ||
|
5b1c9c812a | ||
|
cb1bb8b2c5 | ||
|
07a38791b9 | ||
|
3554419d97 | ||
|
dee14f84af | ||
|
b63073cd56 | ||
|
101cc04459 | ||
|
3f4c624ef6 | ||
|
8c7d401636 | ||
|
529e765b96 | ||
|
788194c220 | ||
|
ff642e0f3a | ||
|
ede4282389 | ||
|
62d95be036 | ||
|
6dace84232 | ||
|
f45f948979 | ||
|
9a1ba4244d | ||
|
9c773014b0 | ||
|
badf629f60 | ||
|
3d0fdd1667 | ||
|
b12af9275f | ||
|
d148012d82 | ||
|
d73ff77031 | ||
|
87077c91cb | ||
|
65d1ac1718 | ||
|
f5601a95f7 | ||
|
cc873269a4 | ||
|
781472c16f | ||
|
8416ddd5ac | ||
|
4acb333e68 | ||
|
7071adf9f9 | ||
|
7ae1600e04 | ||
|
bbe29f7456 | ||
|
e828adfba4 | ||
|
b67cd1e3e1 | ||
|
b9b6f24d0d | ||
|
0f1085b8c9 | ||
|
96ab327dea | ||
|
08ac13ee22 | ||
|
d6f0b5f658 | ||
|
8c4a507858 | ||
|
1b5dd48142 | ||
|
8f91273970 | ||
|
c6718b96bb | ||
|
818f3139d4 | ||
|
d4a9c140a8 | ||
|
ce8d10e4fc | ||
|
ef3b84f3f6 | ||
|
9eea6fe583 | ||
|
344dad1e8a | ||
|
19a2c7ecb8 | ||
|
5048b4fb9d | ||
|
edf83b37fa | ||
|
519de9ef68 | ||
|
6124908133 | ||
|
feaec0eaa9 | ||
|
242a352a1c | ||
|
228dd34e5d | ||
|
56a866c46e | ||
|
8bb0a168f8 | ||
|
6ad1c3399e | ||
|
7f9f6fc3f2 | ||
|
c3d66085fc | ||
|
f26b1205f4 | ||
|
a2f3914a05 | ||
|
160490483a | ||
|
2579a1779b | ||
|
804eeb83a8 | ||
|
4d023d0de0 | ||
|
adf0545159 | ||
|
4d2b1f7e76 | ||
|
a46be09a6f | ||
|
b499b585d2 | ||
|
6bbc2047d0 | ||
|
d0f7ec286b | ||
|
bb1304a6ba | ||
|
2d832b6c82 | ||
|
5ab5ab4f01 | ||
|
77de83099d | ||
|
d544125943 | ||
|
0ef1769583 | ||
|
d02aa8b21b | ||
|
054c3c0a63 | ||
|
4bdbf33c3d | ||
|
e86b1043c2 | ||
|
3c3bac6812 | ||
|
d4f5b7417d | ||
|
b2814c0ded | ||
|
f56e92ee3b | ||
|
887a0a10d3 | ||
|
340ef8cc6f | ||
|
618bb9740c | ||
|
7fac23b15d | ||
|
885206f04f | ||
|
e073934b15 | ||
|
4d9d10ee1e | ||
|
67e7dbf44f | ||
|
b71e56c305 | ||
|
111536ea9a | ||
|
bc476c2e0e | ||
|
015a462ce9 | ||
|
0d676c4057 | ||
|
83388cf504 | ||
|
18c483950c | ||
|
ea0f024b93 | ||
|
b412e51b83 | ||
|
aca41f6668 | ||
|
db488bc4dd | ||
|
cfd59c7cee | ||
|
de46746a11 | ||
|
a2199b81fa | ||
|
23c57b84b8 | ||
|
8e048be082 | ||
|
00a66cb1da | ||
|
f70b8a2972 | ||
|
b7faf39633 | ||
|
aa842bc556 | ||
|
6e6b037d28 | ||
|
9b64944375 | ||
|
bd72480303 | ||
|
dc7abdf9bf | ||
|
19b9360687 | ||
|
9f24b7f295 | ||
|
bcffdd823e | ||
|
4d5b38c8f4 | ||
|
2b2c51722f | ||
|
c72414481e | ||
|
94b44a3dd0 | ||
|
7afb914b9a | ||
|
7071d32518 | ||
|
24a4df3691 | ||
|
0cabf9de11 | ||
|
1d61c94f54 | ||
|
06a5566128 | ||
|
ff56388b3e | ||
|
96396739af | ||
|
fa262ded90 | ||
|
50079a53b1 | ||
|
fae425b539 | ||
|
661da4e034 | ||
|
9b3176ca4a | ||
|
4db0f80374 | ||
|
760f052f01 | ||
|
c22ef51e01 | ||
|
347e0d7b2f | ||
|
4dd113ac7b | ||
|
a80f5cb77c | ||
|
dbb7ae2de9 | ||
|
b54ab2923c | ||
|
fdfce08b68 | ||
|
f78ca3c483 | ||
|
f42b45a061 | ||
|
7bb1c7055f | ||
|
997b716cda | ||
|
d711b26dfa | ||
|
dd67b1e533 | ||
|
a71d2ee3db | ||
|
8ddbb03f65 | ||
|
c7d87c9180 | ||
|
3b0db8c384 | ||
|
ad12949469 | ||
|
7343941a50 | ||
|
d9743286c5 | ||
|
8afc4b7887 | ||
|
fae342ecce | ||
|
5eabfc8275 | ||
|
3c6711c9c8 | ||
|
7e29e7486f | ||
|
2dfeade346 | ||
|
70d02a3b8b | ||
|
ca4ee27e84 | ||
|
da364e03b7 | ||
|
01b69e046f | ||
|
85555daa15 | ||
|
6e84ac670d | ||
|
d652075ab9 | ||
|
a7280c2fcb | ||
|
300123d990 | ||
|
ee41a751f0 | ||
|
8487a2b4b3 | ||
|
e6ecaaa4fc | ||
|
99f7b3ce35 | ||
|
4b906b3010 | ||
|
b35c2277be | ||
|
bcd02b1f33 | ||
|
c54e85c5c0 | ||
|
dbee687a75 | ||
|
20008b6a13 | ||
|
7f19916f05 | ||
|
a381c89f2e | ||
|
e514316493 | ||
|
41ff775a37 | ||
|
8702605b5f | ||
|
72370ff0b2 | ||
|
0c0241d5e5 | ||
|
1494cd9fec | ||
|
9bfb4591ea | ||
|
6ef5a746e5 | ||
|
c534d47a78 | ||
|
68dba64d0d | ||
|
7ba5e31c80 | ||
|
6f6800b52e | ||
|
3c3aec340e | ||
|
a9eaed18aa | ||
|
3b19cd85cc | ||
|
dbf3e17fda | ||
|
1fd3f48860 | ||
|
d0673e3066 | ||
|
46f20cc979 | ||
|
4e01d270eb | ||
|
00ec906b0c | ||
|
82eebc3b80 | ||
|
cde847c53d | ||
|
e6ee163140 | ||
|
ae75f43a88 | ||
|
37a69e6332 | ||
|
4ceae8857d | ||
|
f0a405f17c | ||
|
7c47a8901a | ||
|
c6ea286fe2 | ||
|
b50c77c9f8 | ||
|
7aae20e04a | ||
|
8323114945 | ||
|
c26d525488 | ||
|
74d631aaaa | ||
|
2e784a331d | ||
|
5009876c16 | ||
|
63809a3677 | ||
|
713693ee78 | ||
|
c00f67caab | ||
|
3feddd5424 | ||
|
2b69283a81 | ||
|
88981a570d | ||
|
23251fa6e3 | ||
|
a1569e5d86 | ||
|
5f7d1c5d90 | ||
|
0789216201 | ||
|
d84f79f4f2 | ||
|
235d61a2ea | ||
|
3bb763292a | ||
|
2e7d19a7f1 | ||
|
e13a7a1161 | ||
|
9b9cad288e | ||
|
7b5f9520d9 | ||
|
c7856bf3b2 | ||
|
27b3bec169 | ||
|
ef8d7d5d34 | ||
|
e7b40a3a09 | ||
|
cbc557f51a | ||
|
557d9532b0 | ||
|
9c150253d9 | ||
|
1225d1f1d5 | ||
|
db13836426 | ||
|
3d6a84ca85 | ||
|
0521d9fccf | ||
|
df60fbd0a5 | ||
|
5eb1c87e43 | ||
|
0796ce3d7e | ||
|
44455d55b3 | ||
|
85dbeb05cc | ||
|
1e56141d1e | ||
|
bf751dcee7 | ||
|
8472aa3743 | ||
|
3f2ad4ca08 | ||
|
6f97e32dca | ||
|
f2df9db68c | ||
|
787d8ebe01 | ||
|
24e9def813 | ||
|
baad38cab3 | ||
|
c3627e6852 | ||
|
4f29b912e8 | ||
|
34384de197 | ||
|
44ff12aa03 | ||
|
c639569c91 | ||
|
82e27f3ad9 | ||
|
cd6d51ad65 | ||
|
7df3d0509b | ||
|
9a3d5b50fc | ||
|
e9a8944189 | ||
|
307cf190c4 | ||
|
f27699abf5 | ||
|
045f013f39 | ||
|
5d99df4036 | ||
|
7c658091c5 | ||
|
81856afff9 | ||
|
5ff8376a64 | ||
|
f49e5e2360 | ||
|
4beba8e104 | ||
|
047ad240e7 | ||
|
2abdef74cb | ||
|
96af2d0337 | ||
|
8536fe3979 | ||
|
ce07bc16d4 | ||
|
d39582ff6e | ||
|
e418eda22f | ||
|
65b262a7f9 | ||
|
c4cc7f60ba | ||
|
6ee8ae0774 | ||
|
04233e505b | ||
|
0e1fcb43a7 | ||
|
1bf78f7655 | ||
|
75c431855b | ||
|
322d4d9157 | ||
|
c403e250fa | ||
|
a4670ca6e1 | ||
|
f3dd605c67 | ||
|
3975f6e775 | ||
|
0891ee5b19 | ||
|
d1f3439f93 | ||
|
e35bc4cc0d | ||
|
8cf9da560b | ||
|
f577f8dc9f | ||
|
4fcbb65eca | ||
|
d191a5135e | ||
|
e6432868de | ||
|
5664b90e38 | ||
|
768e4d9eb3 | ||
|
6a470c8881 | ||
|
8e26a9adf3 | ||
|
b8928ee849 | ||
|
3bc9b6e9aa | ||
|
ef6e16acf0 | ||
|
3b6b024866 | ||
|
428fbffa36 | ||
|
0f0d87d742 | ||
|
a62e07318e | ||
|
d7657a8f0b | ||
|
04f1730982 | ||
|
83cf871ff7 | ||
|
50f5a527a8 | ||
|
219899b8d0 | ||
|
2ac9d931cf | ||
|
10235922f4 | ||
|
a86e296afc | ||
|
66f839592f | ||
|
324f3d158f | ||
|
f06a8b92fe | ||
|
b86658e173 | ||
|
b7360d37d4 | ||
|
79bada897b | ||
|
f7a4d0ed78 | ||
|
cef1b46130 | ||
|
b5307cdb7a | ||
|
dfa5c4f0ee | ||
|
8749c2d666 | ||
|
896ca50253 | ||
|
cd6a295039 | ||
|
e051941a45 | ||
|
79c4afe277 | ||
|
d0822c2e6b | ||
|
5e59349d17 | ||
|
36dc786e01 | ||
|
4e2d7bf708 | ||
|
ce6d2c5889 | ||
|
ed701ce90e | ||
|
636170e0da | ||
|
2cd9f496e2 | ||
|
5b59f09d9f | ||
|
552045aa28 | ||
|
46e04210da | ||
|
31f1fc030f | ||
|
b31836d8fc | ||
|
7afc017cf9 | ||
|
eb905e4514 | ||
|
9341d756cc | ||
|
a808423631 | ||
|
fd05d25715 | ||
|
ee213e160a | ||
|
7b7acea59b | ||
|
552305afe2 | ||
|
f3ccd71db0 | ||
|
a622feac84 | ||
|
835b3c9851 | ||
|
c8bcfffe2e | ||
|
ad7fc34fa2 | ||
|
b994a8efbf | ||
|
cdbbbc500b | ||
|
71f54a4500 | ||
|
8639c0f43c | ||
|
b65d76d0b2 | ||
|
439ba9c82c | ||
|
f2e34dd7ff | ||
|
3743ef98a2 | ||
|
4b8e2a5c97 | ||
|
6f44ff5f4d | ||
|
c131295dfb | ||
|
ee80d1f996 | ||
|
da242e6734 | ||
|
4fcde77017 | ||
|
13ee6960aa | ||
|
14427de551 | ||
|
aa7d7f3b7d | ||
|
d4f982427c | ||
|
e55c7f9174 | ||
|
f2831ff1fd | ||
|
29e8a68dea | ||
|
46f9e1369b | ||
|
9f1a5d19a4 | ||
|
32c80cb031 | ||
|
b47e0e510e | ||
|
28f6d16ce2 | ||
|
06f8e42173 | ||
|
1e30669d6c | ||
|
04f5c31287 | ||
|
dcef973a09 | ||
|
290cdfac42 | ||
|
87b6b66cfd | ||
|
79759f4599 | ||
|
e4476863f6 | ||
|
1a22e00f6a | ||
|
142763c280 | ||
|
cb447af93a | ||
|
2eac6d860a | ||
|
312af947c8 | ||
|
a3dd018564 | ||
|
fa4d7697f9 | ||
|
0f7f0415ae | ||
|
2d025bb0f2 | ||
|
9d031a08fc | ||
|
766c9ee36f | ||
|
d15365a398 | ||
|
0acece1570 | ||
|
f683e29eca | ||
|
8c9c2db2a9 | ||
|
3c8af69805 | ||
|
bd0ac4bd80 | ||
|
b3f8bbb964 | ||
|
1f7647a04b | ||
|
9c5f1334cb | ||
|
848140bc90 | ||
|
6088be18c0 | ||
|
204dd651a0 | ||
|
c1a0f897b1 | ||
|
282231a77f | ||
|
91b48cde7a | ||
|
0aae608c5c | ||
|
33c5562835 | ||
|
3bd5ce8505 | ||
|
dff916551f | ||
|
83bec0ef40 | ||
|
d575c32358 | ||
|
25b5cec6ed | ||
|
c4956c88b8 | ||
|
4f326f4460 | ||
|
929826218e | ||
|
2c52eaeb1f | ||
|
db3f0db089 | ||
|
e686ecbc2b | ||
|
8c7371db7f | ||
|
a6f9ad52cb | ||
|
e2f94753b7 | ||
|
9d8203eb68 | ||
|
9079ab216d | ||
|
4eb26c4012 | ||
|
4b7721ba48 | ||
|
197a16bca8 | ||
|
fe5f2320b3 | ||
|
715d2b7922 | ||
|
56ff495e7b | ||
|
d8d2f9836d | ||
|
58af53a6cd | ||
|
2db2558624 | ||
|
967f40f216 | ||
|
58105c9b1e | ||
|
fdb7fbe368 | ||
|
d08a37f9bb | ||
|
8813e0a175 | ||
|
dac2bd2e4f | ||
|
4f9a2e94fc | ||
|
a7e2865ef0 | ||
|
7915773900 | ||
|
8dca1eacd8 | ||
|
a3c5dcd190 | ||
|
50e2872ff4 | ||
|
2109d7f9de | ||
|
470e66d37d | ||
|
f4647ca346 | ||
|
f5c5701b17 | ||
|
a8c14916a7 | ||
|
709cce5c48 | ||
|
dba1fcac5c | ||
|
d791f0034d | ||
|
f19009c736 | ||
|
82c4c0e1ec | ||
|
adb48fbad6 | ||
|
78eeb1ad45 | ||
|
a40d1dd2af | ||
|
46693cd351 | ||
|
235121c82d | ||
|
5e78b78166 | ||
|
9f4204ef8e | ||
|
60c0eff085 | ||
|
d9238e3036 | ||
|
649b6ec5e9 | ||
|
ae3e59053d | ||
|
5ce04bcc6f | ||
|
6a1f628e44 | ||
|
b34dafcb09 | ||
|
90290d236e | ||
|
805869da4f | ||
|
42f593d360 | ||
|
6dc66bce85 | ||
|
f1c913129d | ||
|
8cf28d6e16 | ||
|
c1c0b640f3 | ||
|
9565967517 | ||
|
a96398357f | ||
|
d6d824acb9 | ||
|
83e449ca63 | ||
|
a6e3affbec | ||
|
964e7ecebd | ||
|
cfd8df28c6 | ||
|
b642ca1491 | ||
|
b9f7e9c409 | ||
|
3a5930650e | ||
|
18ef1f65c3 | ||
|
99d91da6eb | ||
|
79a952d910 | ||
|
a6fe0cb44f | ||
|
3c4601a5e0 | ||
|
7d79602eb1 | ||
|
942b9466ef | ||
|
f043ccd884 | ||
|
7d42465f4e | ||
|
8e37f64c33 | ||
|
663861d17b | ||
|
bedd68573e | ||
|
9408bb6b4a | ||
|
f20a1a6e2b | ||
|
74c1e1d481 | ||
|
fa07895b1e | ||
|
610caf3af3 | ||
|
3e51450b3c | ||
|
80199a3c87 | ||
|
447fd902d2 | ||
|
bfcaf15d5d | ||
|
10d9159dc5 | ||
|
e03c1436fb | ||
|
aa4ea44c2c | ||
|
e023be67e7 | ||
|
0a96d446b8 | ||
|
97afc2db60 | ||
|
27d5208ea3 | ||
|
7e08f7fc45 | ||
|
19a01bdda4 | ||
|
cb369daaea | ||
|
cd814afcff | ||
|
de59488e2e | ||
|
d9b7e966e1 | ||
|
9dbca85c1f | ||
|
87cdd71582 | ||
|
0e1bd64646 | ||
|
346e67b7de | ||
|
ecfac8fe3b | ||
|
40ae23aca4 | ||
|
979fd96a84 | ||
|
16a8bea96b | ||
|
5e0c10bcb4 | ||
|
9863635342 | ||
|
bc9cf078a5 | ||
|
65cb21ce05 | ||
|
0bbc5124e7 | ||
|
89ed2dda88 | ||
|
a6eb646b76 | ||
|
5164b51607 | ||
|
cc83c6a586 | ||
|
a372bd2949 | ||
|
4f7aa2d5b7 | ||
|
334c678995 | ||
|
0717b57465 | ||
|
b440d59ce7 | ||
|
770d1cdba6 | ||
|
cd2b420470 | ||
|
f9f1ac7aac | ||
|
fd66c4023e | ||
|
6fc412dba7 | ||
|
95091210ff | ||
|
9abc8575f6 | ||
|
3ebe749bb2 | ||
|
baa35843fc | ||
|
d9e0b0eeaf | ||
|
6e5ab199af | ||
|
e2af4473dd | ||
|
e704295811 | ||
|
8e53e82913 | ||
|
db348156e2 | ||
|
de8ae9823a | ||
|
16fdc0d989 | ||
|
971f41d951 | ||
|
7747a4e32a | ||
|
44710d3f63 | ||
|
a4d18c2d96 | ||
|
6901278816 | ||
|
7492ec734b | ||
|
4af3fea81b | ||
|
148c109d05 | ||
|
acd77a8ad6 | ||
|
f380af44c3 | ||
|
5f8d609d0c | ||
|
db83b1e004 | ||
|
fe15600e02 | ||
|
9177ad4ee0 | ||
|
660ebc823f | ||
|
9d0b419085 | ||
|
79cbd8fb24 | ||
|
f9ea5a9136 | ||
|
6f65f9b5ec | ||
|
e688667b9f | ||
|
2ac74ef6ac | ||
|
aeedf01d6a | ||
|
8902411afe | ||
|
1a26354f29 | ||
|
712b9c8334 | ||
|
693afa922f | ||
|
058ebc747d | ||
|
5ca6d79590 | ||
|
652cfa70d5 | ||
|
bbc594330b | ||
|
c284ef7429 | ||
|
95586eaf09 | ||
|
eca47a2773 | ||
|
0e0a69ed7c | ||
|
5ce95f94ee | ||
|
6b0561681f | ||
|
d0417d353a | ||
|
4013d9203c | ||
|
fba54b09eb | ||
|
8a711191b3 | ||
|
f53e80eec7 | ||
|
fa454209a9 | ||
|
7ee0b3324b | ||
|
bfa526d221 | ||
|
6816400247 | ||
|
3b26983db9 | ||
|
eab4958a81 | ||
|
e2aa8ec198 | ||
|
ec7d9f2917 | ||
|
0be339e52d | ||
|
fa81c86e22 | ||
|
1f838c0f68 | ||
|
aa0001c78b | ||
|
c49bda5173 | ||
|
bb703243c6 | ||
|
f3a6620a65 | ||
|
cb00bf848e | ||
|
343c72b288 | ||
|
bcd784b1f0 | ||
|
c855546d77 | ||
|
f550919df1 | ||
|
f6a8985267 | ||
|
1542d70af6 | ||
|
3d154cc423 | ||
|
fbc73230b0 | ||
|
55164b4a1f | ||
|
c52cf33c3c | ||
|
eb0d8075ef | ||
|
d3476eca6d | ||
|
9e3ebf9a16 | ||
|
88217ff11e | ||
|
a550cf5b1d | ||
|
d7131dc2e1 | ||
|
22c3d66bc3 | ||
|
f28f3003c5 | ||
|
c530e1cbcf | ||
|
3c61858f21 | ||
|
477f16ad0b | ||
|
75a18a30cf | ||
|
a32465ed07 | ||
|
7bc245028a | ||
|
56567fec12 | ||
|
dc7f9d8e12 | ||
|
57af70fab9 | ||
|
71f1b1cfa4 | ||
|
60dc4402c6 | ||
|
d4f00da662 | ||
|
0ff388fb19 | ||
|
ca742661f6 | ||
|
c849cc802c | ||
|
4fc1e0e22c | ||
|
d41ce4d8b1 | ||
|
8dc5211448 | ||
|
24da20bdc8 | ||
|
70b2e51f79 | ||
|
9e4d3cb824 | ||
|
10675caf89 | ||
|
fb1908410e | ||
|
b9c0feb40e | ||
|
29a50892b5 | ||
|
f7ef0f3aab | ||
|
5f4b42cbfc | ||
|
681a7c87a4 | ||
|
a03df8d656 | ||
|
a7053eb926 | ||
|
fe91a72271 | ||
|
5693c0c730 | ||
|
eb8b7e96d7 | ||
|
85bedf1e35 | ||
|
8f8caf5177 | ||
|
756859d05c | ||
|
d4023da087 | ||
|
f384bdef3d | ||
|
4cdc891898 | ||
|
7abd6b5ab9 | ||
|
8a7634d00c | ||
|
1f752e51e8 | ||
|
282936f215 | ||
|
60bfaa2c41 | ||
|
937f0319e3 | ||
|
32c9c512d8 | ||
|
163bc4a040 | ||
|
58faa7bcac | ||
|
61d0573686 | ||
|
f0c84d3037 | ||
|
69cfb3280c | ||
|
d597912abb | ||
|
34e2b4d44a | ||
|
241efaf581 | ||
|
335e8513e9 | ||
|
cbb819f6b9 | ||
|
2267a59cc3 | ||
|
550be1cd95 | ||
|
338f359285 | ||
|
3da632dd1e | ||
|
8b782eb370 | ||
|
5bca0920b9 | ||
|
bd1c505024 | ||
|
1ed22fe7b2 | ||
|
71367627a8 | ||
|
88d0a53956 | ||
|
4d7b6c04c5 | ||
|
e032565991 | ||
|
f19f714136 | ||
|
94797e7d7a | ||
|
581f4feb97 | ||
|
7c1c320141 | ||
|
244770de65 | ||
|
68ac111bd5 | ||
|
56556195a9 | ||
|
9be8d1fd00 | ||
|
cdffdcaa78 | ||
|
ed803b27cb | ||
|
314642fe1a | ||
|
d58ddcb3ae | ||
|
60277dcf05 | ||
|
77b8656dc3 | ||
|
0f892f6e84 | ||
|
8ae096f77e | ||
|
6c99b7c187 | ||
|
fe68841456 | ||
|
314a1cd4be | ||
|
179df88c32 | ||
|
bc180c3ffc | ||
|
ab81e38487 | ||
|
2d7438313d | ||
|
bb67705a66 | ||
|
f097364d52 | ||
|
0992fbe7f3 | ||
|
9bef56806e | ||
|
2ef9718209 | ||
|
825978d2af | ||
|
d744893fba | ||
|
0291d97dd5 | ||
|
a5f764544f | ||
|
39766bc379 | ||
|
bf1c6c00fe | ||
|
c8ed909f46 | ||
|
49adabdc70 | ||
|
e5523342d4 | ||
|
08efe857a0 | ||
|
aec51b399a | ||
|
ce2590d6fc | ||
|
157d5fd739 | ||
|
1e2ca81ae3 | ||
|
de2cadd926 | ||
|
dacfb7d209 | ||
|
f87ecc9e2c | ||
|
1300a4f0e7 | ||
|
16ea21d4a0 | ||
|
92733e71be | ||
|
8a5ef1ac1a | ||
|
6294ae3349 | ||
|
59cd4aaa2e | ||
|
b9e3d76783 | ||
|
3defa0974c | ||
|
9b53988ab6 | ||
|
af1b87002a | ||
|
75b09fe410 | ||
|
c47f065e1a | ||
|
48bfe83c0f | ||
|
3ff9c6bbb5 | ||
|
1b62f07684 | ||
|
0ebd85f364 | ||
|
16aa960b1e |
13
.github/FUNDING.yml
vendored
Normal file
13
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
#github: [acetcom, open5gs]
|
||||
github: acetcom
|
||||
#patreon: # Replace with a single Patreon username
|
||||
open_collective: open5gs
|
||||
#ko_fi: # Replace with a single Ko-fi username
|
||||
#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||
#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
#liberapay: # Replace with a single Liberapay username
|
||||
#issuehunt: # Replace with a single IssueHunt username
|
||||
#otechie: # Replace with a single Otechie username
|
||||
#custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
61
.github/stale.yml
vendored
Normal file
61
.github/stale.yml
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
# Configuration for probot-stale - https://github.com/probot/stale
|
||||
|
||||
# Number of days of inactivity before an Issue or Pull Request becomes stale
|
||||
daysUntilStale: 180
|
||||
|
||||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
||||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
||||
daysUntilClose: 7
|
||||
|
||||
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
|
||||
onlyLabels: []
|
||||
|
||||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
||||
exemptLabels:
|
||||
- pinned
|
||||
- security
|
||||
- "[Status] Maybe Later"
|
||||
|
||||
# Set to true to ignore issues in a project (defaults to false)
|
||||
exemptProjects: false
|
||||
|
||||
# Set to true to ignore issues in a milestone (defaults to false)
|
||||
exemptMilestones: false
|
||||
|
||||
# Set to true to ignore issues with an assignee (defaults to false)
|
||||
exemptAssignees: false
|
||||
|
||||
# Label to use when marking as stale
|
||||
staleLabel: wontfix
|
||||
|
||||
# Comment to post when marking as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue/PR has been automatically marked as stale because it has not had
|
||||
recent activity for 180 days. It will be closed if no further activity
|
||||
occurs in 7 dayss. Thank you for your contributions!
|
||||
|
||||
# Comment to post when removing the stale label.
|
||||
# unmarkComment: >
|
||||
# Your comment here.
|
||||
|
||||
# Comment to post when closing a stale Issue or Pull Request.
|
||||
# closeComment: >
|
||||
# Your comment here.
|
||||
|
||||
# Limit the number of actions per hour, from 1-30. Default is 30
|
||||
limitPerRun: 30
|
||||
|
||||
# Limit to only `issues` or `pulls`
|
||||
# only: issues
|
||||
|
||||
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
|
||||
# pulls:
|
||||
# daysUntilStale: 30
|
||||
# markComment: >
|
||||
# This pull request has been automatically marked as stale because it has not had
|
||||
# recent activity. It will be closed if no further activity occurs. Thank you
|
||||
# for your contributions.
|
||||
|
||||
# issues:
|
||||
# exemptLabels:
|
||||
# - confirmed
|
77
.github/workflows/meson-ci.yml
vendored
Normal file
77
.github/workflows/meson-ci.yml
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
name: Meson Continuous Integration
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
macos-latest:
|
||||
name: Build and Test on MacOS Latest
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Install MongoDB with Package Manager
|
||||
run: |
|
||||
brew tap mongodb/brew
|
||||
brew install mongodb-community
|
||||
brew services start mongodb-community
|
||||
- name: Create the TUN device with the interface name `ogstun`.
|
||||
run: |
|
||||
sudo ifconfig lo0 alias 127.0.0.2 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.3 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.4 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.5 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.5 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.6 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.7 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.8 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.9 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.10 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.11 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.12 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.13 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.14 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.15 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.16 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.17 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.18 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.19 netmask 255.255.255.255
|
||||
sudo ifconfig lo0 alias 127.0.0.20 netmask 255.255.255.255
|
||||
- name: Install the dependencies for building the source code.
|
||||
run: brew install mongo-c-driver libidn libmicrohttpd nghttp2 bison libusrsctp libtins talloc meson
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@main
|
||||
- name: Setup Meson Build
|
||||
run: PATH="/usr/local/opt/bison/bin:$PATH" meson setup build
|
||||
env:
|
||||
CC: gcc
|
||||
- name : Build Open5GS
|
||||
run: ninja -C build
|
||||
- name: Test Open5GS
|
||||
run: sudo meson test -C build -v crypt unit
|
||||
|
||||
ubuntu-latest:
|
||||
name: Build and Test on Ubuntu Latest
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
mongodb:
|
||||
image: mongo
|
||||
ports:
|
||||
- 27017:27017
|
||||
steps:
|
||||
- name: Create the TUN device with the interface name `ogstun`.
|
||||
run: |
|
||||
sudo ip tuntap add name ogstun mode tun
|
||||
sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
sudo ip link set ogstun up
|
||||
- name: Install the dependencies for building the source code.
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install python3-pip python3-setuptools python3-wheel ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev meson
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@main
|
||||
- name: Setup Meson Build
|
||||
run: meson setup build
|
||||
env:
|
||||
CC: gcc
|
||||
- name : Build Open5GS
|
||||
run: ninja -C build
|
||||
- name: Test Open5GS
|
||||
run: meson test -C build -v
|
77
.gitignore
vendored
77
.gitignore
vendored
@@ -1,72 +1,7 @@
|
||||
# compiler output
|
||||
*.o
|
||||
*.lo
|
||||
*.a
|
||||
*.la
|
||||
*.conf
|
||||
.deps
|
||||
.dirstamp
|
||||
.libs
|
||||
# This directory is fetched during first build and is present in this directory
|
||||
subprojects/freeDiameter
|
||||
subprojects/libtins
|
||||
subprojects/prometheus-client-c
|
||||
subprojects/usrsctp
|
||||
|
||||
# generated files
|
||||
lib/freeDiameter-*/libfdcore/fdd.tab.[chy]
|
||||
lib/freeDiameter-*/libfdcore/lex.fdd.[cl]
|
||||
lib/freeDiameter-*/include/freeDiameter/version.h
|
||||
lib/freeDiameter-*/include/freeDiameter/config.h.in
|
||||
lib/freeDiameter-*/include/freeDiameter/freeDiameter-host.h
|
||||
lib/core/include/core.h
|
||||
support/systemd/nextepc-*.service
|
||||
support/logrotate/nextepc
|
||||
|
||||
# autotools
|
||||
stamp-h1
|
||||
config.h
|
||||
config.in
|
||||
config.nice
|
||||
config.log
|
||||
configure
|
||||
aclocal.m4
|
||||
config.status
|
||||
libtool
|
||||
autom4te.cache
|
||||
build-aux
|
||||
Makefile
|
||||
Makefile.in
|
||||
m4
|
||||
|
||||
# autotest
|
||||
test/package.m4
|
||||
test/atconfig
|
||||
test/testsuite
|
||||
test/testsuite.dir/
|
||||
test/testsuite.log
|
||||
|
||||
# executables
|
||||
lib/core/test/testcore
|
||||
test/testvolte
|
||||
test/testepc
|
||||
nextepc-mmed
|
||||
nextepc-pcrfd
|
||||
nextepc-pgwd
|
||||
nextepc-sgwd
|
||||
nextepc-epcd
|
||||
nextepc-hssd
|
||||
|
||||
# debian
|
||||
debian/*.debhelper.log
|
||||
debian/*.debhelper
|
||||
debian/*.substvars
|
||||
debian/tmp
|
||||
debian/files
|
||||
debian/autoreconf.before
|
||||
debian/autoreconf.after
|
||||
debian/nextepc-core
|
||||
debian/nextepc-mme
|
||||
debian/nextepc-sgw
|
||||
debian/nextepc-pgw
|
||||
debian/nextepc-pcrf
|
||||
debian/nextepc-hss
|
||||
|
||||
# webui
|
||||
webui/.next/
|
||||
webui/node_modules/
|
||||
webui/.next
|
||||
|
51
Makefile.am
51
Makefile.am
@@ -1,51 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = lib src support test
|
||||
|
||||
bin_PROGRAMS = nextepc-mmed nextepc-hssd nextepc-sgwd nextepc-pgwd nextepc-pcrfd nextepc-epcd
|
||||
|
||||
dist_nextepc_mmed_SOURCES = main.c
|
||||
nextepc_mmed_LDADD = $(top_srcdir)/src/libmme.la
|
||||
|
||||
dist_nextepc_hssd_SOURCES = main.c
|
||||
nextepc_hssd_LDADD = $(top_srcdir)/src/libhss.la
|
||||
|
||||
dist_nextepc_sgwd_SOURCES = main.c
|
||||
nextepc_sgwd_LDADD = $(top_srcdir)/src/libsgw.la
|
||||
|
||||
dist_nextepc_pgwd_SOURCES = main.c
|
||||
nextepc_pgwd_LDADD = $(top_srcdir)/src/libpgw.la
|
||||
|
||||
dist_nextepc_pcrfd_SOURCES = main.c
|
||||
nextepc_pcrfd_LDADD = $(top_srcdir)/src/libpcrf.la
|
||||
|
||||
dist_nextepc_epcd_SOURCES = main.c
|
||||
nextepc_epcd_LDADD = $(top_srcdir)/src/libepc.la
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/lib/core/include \
|
||||
-I$(top_srcdir)/src \
|
||||
$(NULL)
|
||||
|
||||
install-data-hook:
|
||||
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/log/nextepc
|
||||
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-mmed
|
||||
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-sgwd
|
||||
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-pgwd
|
||||
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-pcrfd
|
||||
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-hssd
|
||||
$(MKDIR_P) $(DESTDIR)/$(localstatedir)/run/nextepc-epcd
|
||||
|
||||
CLEANFILES = -R data debian/test
|
||||
DISTCLEANFILES = $(DIST_ARCHIVES)
|
||||
MAINTAINERCLEANFILES = \
|
||||
configure config.in \
|
||||
aclocal.m4 m4/ltsugar.m4 m4/libtool.m4 m4/ltversion.m4 \
|
||||
m4/lt~obsolete.m4 m4/ltoptions.m4 \
|
||||
build-aux/ar-lib build-aux/config.guess build-aux/depcomp \
|
||||
build-aux/ltmain.sh build-aux/test-driver build-aux/compile \
|
||||
build-aux/config.sub build-aux/missing build-aux/install-sh \
|
||||
Makefile.in
|
||||
MOSTLYCLEANFILES = core *.stackdump
|
169
README.md
169
README.md
@@ -1,97 +1,100 @@
|
||||
What's NextEPC
|
||||
================
|
||||
<h1 align="center">Open5GS</h1>
|
||||
|
||||
NextEPC is a C-language Open Source implementation of the 3GPP Evolved Packet Core, i.e. the core network of an LTE network.
|
||||
If you find Open5GS useful for work, please consider supporting this Open Source project by [Becoming a sponsor](https://github.com/sponsors/acetcom). To manage the funding transactions transparently, you can donate through [OpenCollective](https://opencollective.com/open5gs).
|
||||
|
||||
NextEPC provides the MME (Mobility Management Engine), which terminates the S1 interfaces from the eNodeBs cells in the cellular network, and interfaces via S11 to the SGW as well as via S6a to the HSS.
|
||||
<h3 align="center">Platinum Sponsors</h3>
|
||||
<table align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="middle">
|
||||
<a href="https://teletresearch.com/" target="_blank">
|
||||
<img width="400px" src="https://open5gs.org/assets/img/Telet-logo-v2.png">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
NextEPC provides the SGW (Serving Gateway) which is situated between the MME and PGW. It implements the S11 interface to the MME, and the S5 interface to the PGW.
|
||||
|
||||
NextEPC provides the PGW or PDN-GW (Packet Data Network Gateway) element of the EPC, i.e. the gateway between the EPC and the external packet data network, such as the public Internet. It implements the S5 interface towards the S-GW, the SGi interface towards the Internet, and the S7 interface towards the PCRF.
|
||||
|
||||
NextEPC provides the HSS (Home Subscriber Server) element of the EPC, i.e. the central database of mobile network subscribers, with their IMSI, MSISDN, cryptographic key materials, service subscription information, etc. It implements the S6a interface towards the MME using the DIAMETER protocol.
|
||||
|
||||
NextEPC contains the PCRF (Policy and Charging Rules Function), which controls the service quality (QoS) of individual connections and how to account/charge related traffic. It implements the Gx interface towards the PGW using the DIAMETER protocol.
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
* ### MME, SGW, PGW, HSS, and PCRF
|
||||
|
||||
The NextEPC package is available on the recent versions of Ubuntu.
|
||||
|
||||
```bash
|
||||
sudo add-apt-repository ppa:acetcom/nextepc
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install nextepc
|
||||
```
|
||||
This will create a virtual network interface named as *pgwtun*. It is automatically removed by uninstalling NextEPC.
|
||||
|
||||
```markdown
|
||||
ifconfig pgwtun
|
||||
pgwtun Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
|
||||
inet addr:45.45.0.1 P-t-P:45.45.0.1 Mask:255.255.0.0
|
||||
inet6 addr: fe80::50f6:182c:5aa3:16bb/64 Scope:Link
|
||||
inet6 addr: cafe::1/64 Scope:Global
|
||||
...
|
||||
```
|
||||
|
||||
The NextEPC service is registered in `systemd` environment, and is started automatically during the installation phase. The service names are *nextepc-mmed*, *nextepc-sgwd*, *nextepc-pgwd*, *nextepc-hssd*, and *nextepc-pcrfd*. You can use the `systemctl` command to control specific services.
|
||||
|
||||
```bash
|
||||
sudo systemctl status nextepc-mmed (Check the service status)
|
||||
sudo systemctl stop nextepc-mmed (Stop the service)
|
||||
sudo systemctl disable nextepc-mmed (Will not be started after rebooting)
|
||||
sudo systemctl enable nextepc-mmed (Will be started after rebooting)
|
||||
sudo systemctl start nextepc-mmed (Start the service)
|
||||
sudo systemctl restart nextepc-mmed (Stop and start)
|
||||
```
|
||||
|
||||
|
||||
* ### Web User Interface
|
||||
|
||||
```bash
|
||||
sudo apt-get -y install curl
|
||||
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
|
||||
curl -sL http://nextepc.org/static/webui/install | sudo -E bash -
|
||||
```
|
||||
|
||||
The service name is *nextepc-webui*, and it will be running on _http://localhost:3000_.
|
||||
|
||||
```bash
|
||||
sudo systemctl start nextepc-webui
|
||||
```
|
||||
|
||||
|
||||
* ### Uninstall NextEPC
|
||||
|
||||
```bash
|
||||
curl -sL http://nextepc.org/static/webui/uninstall | sudo -E bash -
|
||||
sudo apt-get purge nextepc*
|
||||
```
|
||||
|
||||
You may need to remove manually /var/log/nextepc unless it is empty.
|
||||
```bash
|
||||
sudo rm -Rf /var/log/nextepc
|
||||
```
|
||||
<h3 align="center">Gold Sponsors</h3>
|
||||
<table align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="middle">
|
||||
<a href="http://wavemobile.com/" target="_blank">
|
||||
<img width="222px" src="https://open5gs.org/assets/img/Wavemobile-Logo-Mark-RGB.png">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3 align="center">Silver Sponsors</h3>
|
||||
<table align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="middle" width="222px">
|
||||
<a href="https://nextepc.com/" target="_blank">
|
||||
<img src="https://open5gs.org/assets/img/nextepc_logo.jpg">
|
||||
</a>
|
||||
</td>
|
||||
<td align="center" valign="middle" width="222px">
|
||||
<a href="https://www.wearetriple.com/" target="_blank">
|
||||
<img src="https://open5gs.org/assets/img/triple_logo.png">
|
||||
</a>
|
||||
</td>
|
||||
<td align="center" valign="middle" width="222px">
|
||||
<a href="https://sdr.eee.strath.ac.uk/" target="_blank">
|
||||
<img src="https://open5gs.org/assets/img/strath.png">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="middle" width="222px">
|
||||
<a href="https://skylarkwireless.com/" target="_blank">
|
||||
<img src="https://open5gs.org/assets/img/SkylarkWireless-420x78-Web2-R.png">
|
||||
</a>
|
||||
</td>
|
||||
<td align="center" valign="middle" width="222px">
|
||||
<a href="https://sysmocom.de/" target="_blank">
|
||||
<img src="https://open5gs.org/assets/img/sysmocom-logo-only.png">
|
||||
</a>
|
||||
</td>
|
||||
<td align="center" valign="middle" width="222px">
|
||||
<a href="https://www.p1sec.com/" target="_blank">
|
||||
<img src="https://open5gs.org/assets/img/2021-logo-P1.svg">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="middle" width="222px">
|
||||
<a href="https://www.ng-voice.com/" target="_blank">
|
||||
<img src="https://open5gs.org/assets/img/ng-voice-logo_color.png">
|
||||
</a>
|
||||
</td>
|
||||
<td align="center" valign="middle" width="222px">
|
||||
<a href="http://www.bristol.ac.uk/engineering/research/smart/" target="_blank">
|
||||
<img src="https://open5gs.org/assets/img/smart-internet-lab.png">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## Documentation
|
||||
|
||||
If you don't understand something about NextEPC, the [http://nextepc.org](http://nextepc.org/) is a great place to look for answers.
|
||||
If you don't understand something about Open5GS, the [https://open5gs.org/open5gs/docs/](https://open5gs.org/open5gs/docs/) is a great place to look for answers.
|
||||
|
||||
## Community
|
||||
|
||||
## Support
|
||||
- Problem with Open5GS can be filed as [issues](https://github.com/open5gs/open5gs/issues) in this repository.
|
||||
- Other topics related to this project are happening on the [discussions](https://github.com/open5gs/open5gs/discussions).
|
||||
- Voice and text chat are available in Open5GS's [Discord](https://discordapp.com/) workspace. Use [this link](https://discord.gg/GreNkuc) to get started.
|
||||
|
||||
Problem with NextEPC can be filed as [issues](https://github.com/acetcom/nextepc/issues) in this repository. And also, we've created *Discord* workspace for _nextepc_. Use [this link](https://discord.gg/GreNkuc) to get started.
|
||||
|
||||
|
||||
## Mailing List
|
||||
|
||||
Discussions related to this project are happening on the nextepc@lists.osmocom.org mailing list, please see <https://lists.osmocom.org/mailman/listinfo/nextepc> for subscription options and the list archive.
|
||||
## Contributing
|
||||
|
||||
If you're contributing through a pull request to Open5GS project on GitHub, please read the [Contributor License Agreement](https://open5gs.org/open5gs/cla/) in advance.
|
||||
|
||||
## License
|
||||
|
||||
NextEPC source files are made available under the terms of the GNU Affero General Public License (GNU AGPLv3). See [this link](http://nextepc.org/docs/nextepc/4-license/) for details.
|
||||
|
||||
- Open5GS Open Source files are made available under the terms of the GNU Affero General Public License ([GNU AGPL v3.0](https://www.gnu.org/licenses/agpl-3.0.html)).
|
||||
- [Commercial licenses](https://open5gs.org/open5gs/support/) are also available from [NextEPC, Inc.](https://nextepc.com)
|
||||
|
108
acinclude.m4
108
acinclude.m4
@@ -1,108 +0,0 @@
|
||||
dnl
|
||||
dnl CORE_SUBST(varname)
|
||||
dnl
|
||||
dnl Adds variable with it's value into Makefile, e.g.:
|
||||
dnl CC = gcc
|
||||
dnl
|
||||
AC_DEFUN([CORE_SUBST],[
|
||||
CORE_VAR_SUBST="$CORE_VAR_SUBST $1"
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl CORE_SUBST_OLD(varname)
|
||||
dnl
|
||||
dnl Same as CORE_SUBST() but also substitutes all @VARNAME@
|
||||
dnl instances in every file passed to AC_OUTPUT()
|
||||
dnl
|
||||
AC_DEFUN([CORE_SUBST_OLD],[
|
||||
CORE_SUBST($1)
|
||||
AC_SUBST($1)
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl CORE_CONFIG_NICE(filename)
|
||||
dnl
|
||||
dnl Generates the config.nice file
|
||||
dnl
|
||||
AC_DEFUN([CORE_CONFIG_NICE],[
|
||||
AC_REQUIRE([AC_PROG_EGREP])
|
||||
AC_REQUIRE([LT_AC_PROG_SED])
|
||||
CORE_SUBST_OLD(EGREP)
|
||||
CORE_SUBST_OLD(SED)
|
||||
test -f $1 && mv $1 $1.old
|
||||
rm -f $1.old
|
||||
cat >$1<<EOF
|
||||
#! /bin/sh
|
||||
#
|
||||
# Created by configure
|
||||
|
||||
EOF
|
||||
|
||||
for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS EXTRA_LDFLAGS_PROGRAM LIBS CC CXX; do
|
||||
eval val=\$$var
|
||||
if test -n "$val"; then
|
||||
echo "$var='$val' \\" >> $1
|
||||
fi
|
||||
done
|
||||
|
||||
echo "'[$]0' \\" >> $1
|
||||
if test `expr -- [$]0 : "'.*"` = 0; then
|
||||
CONFIGURE_COMMAND="$CONFIGURE_COMMAND '[$]0'"
|
||||
else
|
||||
CONFIGURE_COMMAND="$CONFIGURE_COMMAND [$]0"
|
||||
fi
|
||||
for arg in $ac_configure_args; do
|
||||
if test `expr -- $arg : "'.*"` = 0; then
|
||||
if test `expr -- $arg : "--.*"` = 0; then
|
||||
break;
|
||||
fi
|
||||
echo "'[$]arg' \\" >> $1
|
||||
CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS '[$]arg'"
|
||||
else
|
||||
if test `expr -- $arg : "'--.*"` = 0; then
|
||||
break;
|
||||
fi
|
||||
echo "[$]arg \\" >> $1
|
||||
CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS [$]arg"
|
||||
fi
|
||||
done
|
||||
echo '"[$]@"' >> $1
|
||||
chmod +x $1
|
||||
CONFIGURE_COMMAND="$CONFIGURE_COMMAND $CONFIGURE_OPTIONS"
|
||||
CORE_SUBST_OLD(CONFIGURE_COMMAND)
|
||||
CORE_SUBST_OLD(CONFIGURE_OPTIONS)
|
||||
])
|
||||
|
||||
AC_DEFUN([AX_CHECK_COMPILE_FLAG],
|
||||
[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
|
||||
AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
|
||||
AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
|
||||
ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
|
||||
_AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
|
||||
AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])],
|
||||
[AS_VAR_SET(CACHEVAR,[yes])],
|
||||
[AS_VAR_SET(CACHEVAR,[no])])
|
||||
_AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
|
||||
AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes],
|
||||
[m4_default([$2], :)],
|
||||
[m4_default([$3], :)])
|
||||
AS_VAR_POPDEF([CACHEVAR])dnl
|
||||
])dnl AX_CHECK_COMPILE_FLAGS
|
||||
|
||||
# adl_RECURSIVE_EVAL(VALUE, RESULT)
|
||||
# =================================
|
||||
# Interpolate the VALUE in loop until it doesn't change,
|
||||
# and set the result to $RESULT.
|
||||
# WARNING: It's easy to get an infinite loop with some unsane input.
|
||||
# For example ${datadir} becomes ${datarootdir}, and then ${prefix}/share, and
|
||||
# finally ${prefix} is replaced by the prefix.
|
||||
AC_DEFUN([adl_RECURSIVE_EVAL],
|
||||
[_lcl_receval="$1"
|
||||
$2=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
|
||||
test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
|
||||
_lcl_receval_old=''
|
||||
while test "[$]_lcl_receval_old" != "[$]_lcl_receval"; do
|
||||
_lcl_receval_old="[$]_lcl_receval"
|
||||
eval _lcl_receval="\"[$]_lcl_receval\""
|
||||
done
|
||||
echo "[$]_lcl_receval")`])
|
230
configs/310014.yaml.in
Normal file
230
configs/310014.yaml.in
Normal file
@@ -0,0 +1,230 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
# no_nrf: true
|
||||
# no_amf: true
|
||||
# no_smf: true
|
||||
# no_upf: true
|
||||
# no_ausf: true
|
||||
# no_udm: true
|
||||
# no_pcf: true
|
||||
# no_nssf: true
|
||||
# no_bsf: true
|
||||
# no_udr: true
|
||||
# no_mme: true
|
||||
# no_sgwc: true
|
||||
# no_sgwu: true
|
||||
# no_pcrf: true
|
||||
# no_hss: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.8
|
||||
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 310
|
||||
mnc: 014
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 310
|
||||
mnc: 014
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
smf:
|
||||
sbi:
|
||||
- addr: 127.0.0.4
|
||||
port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
freeDiameter:
|
||||
identity: smf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.9
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 310
|
||||
mnc: 014
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 310
|
||||
mnc: 014
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 310
|
||||
mnc: 014
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1, NIA0 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.8
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.9
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: smf.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
264
configs/csfb.yaml.in
Normal file
264
configs/csfb.yaml.in
Normal file
@@ -0,0 +1,264 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
# no_nrf: true
|
||||
# no_amf: true
|
||||
# no_smf: true
|
||||
# no_upf: true
|
||||
# no_ausf: true
|
||||
# no_udm: true
|
||||
# no_pcf: true
|
||||
# no_nssf: true
|
||||
# no_bsf: true
|
||||
# no_udr: true
|
||||
# no_mme: true
|
||||
# no_sgwc: true
|
||||
# no_sgwu: true
|
||||
# no_pcrf: true
|
||||
# no_hss: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.8
|
||||
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
sgsap:
|
||||
- addr: 127.0.0.2
|
||||
map:
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 7
|
||||
lai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
lac: 2342
|
||||
map:
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 724
|
||||
mnc: 21
|
||||
tac: 12345
|
||||
lai:
|
||||
plmn_id:
|
||||
mcc: 724
|
||||
mnc: 21
|
||||
lac: 51544
|
||||
gummei:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
- plmn_id:
|
||||
mcc: 724
|
||||
mnc: 21
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 7
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 724
|
||||
mnc: 21
|
||||
tac: 12345
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
smf:
|
||||
# sbi:
|
||||
# - addr: 127.0.0.4
|
||||
# port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
freeDiameter:
|
||||
identity: smf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.9
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1, NIA0 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.8
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.9
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: smf.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
#nrf:
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 127.0.0.10
|
||||
# - ::1
|
||||
# port: 7777
|
||||
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
17
configs/freeDiameter/cacert.pem
Normal file
17
configs/freeDiameter/cacert.pem
Normal file
@@ -0,0 +1,17 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICrDCCAhWgAwIBAgIUX3u0zTLhQTa3lsR92/GelxTGQacwDQYJKoZIhvcNAQEL
|
||||
BQAwaDEXMBUGA1UEAwwOY2EubG9jYWxkb21haW4xCzAJBgNVBAYTAktPMQ4wDAYD
|
||||
VQQIDAVTZW91bDEOMAwGA1UEBwwFTm93b24xEDAOBgNVBAoMB09wZW41R1MxDjAM
|
||||
BgNVBAsMBVRlc3RzMB4XDTIwMDgyMjAwMzkxNloXDTMwMDgyMDAwMzkxNlowaDEX
|
||||
MBUGA1UEAwwOY2EubG9jYWxkb21haW4xCzAJBgNVBAYTAktPMQ4wDAYDVQQIDAVT
|
||||
ZW91bDEOMAwGA1UEBwwFTm93b24xEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsM
|
||||
BVRlc3RzMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCuPWKllQ1+hM/wQE08
|
||||
xjDBiSx9GQOCEF5dkLK126u4joIhNFig6wfn/Ui0nq88ApUlEREUXB3D33ZEsAkt
|
||||
cbwz1UHX2THOeTYX8XdDbkwkbxNOOH902duiQ2UUbf8ve1hsV7+Dr7ue2Fmz4gsR
|
||||
lHBv1EsIyPZJQlb4qxET+2++2QIDAQABo1MwUTAdBgNVHQ4EFgQUZPvI16MgF9yo
|
||||
OqpLK4XNvT5TSwkwHwYDVR0jBBgwFoAUZPvI16MgF9yoOqpLK4XNvT5TSwkwDwYD
|
||||
VR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQAwGvKdevLJNDuSXsFpIkTE
|
||||
ZRsNnKrprNgbZC4/HkrzpvR1aDQgcSqF12DzSUmoTqzESuMtKvkaLv2IqYko9g4p
|
||||
iKVu2jBDKrJq4q63Cy71fxwbtXLrqGaWgbXkepzqyJYjn4Nf/ya0shK7l2rIIDyL
|
||||
crvs5/rXN6enLFUQ3n955w==
|
||||
-----END CERTIFICATE-----
|
60
configs/freeDiameter/hss.cert.pem
Normal file
60
configs/freeDiameter/hss.cert.pem
Normal file
@@ -0,0 +1,60 @@
|
||||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 2 (0x2)
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
Issuer: CN=ca.localdomain, C=KO, ST=Seoul, L=Nowon, O=Open5GS, OU=Tests
|
||||
Validity
|
||||
Not Before: Aug 22 00:39:17 2020 GMT
|
||||
Not After : Aug 20 00:39:17 2030 GMT
|
||||
Subject: C=KO, ST=Seoul, O=Open5GS, OU=Tests, CN=hss.localdomain
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
RSA Public-Key: (1024 bit)
|
||||
Modulus:
|
||||
00:e8:b3:82:96:bd:4a:f6:30:2c:03:60:aa:82:65:
|
||||
b0:15:32:5f:d3:90:0d:c0:1d:06:62:52:51:c7:12:
|
||||
36:d7:5c:34:21:ac:4a:44:4d:9b:a5:22:9c:3e:86:
|
||||
a8:ba:df:02:64:b6:74:f5:95:c4:71:e8:e0:28:1d:
|
||||
2b:ea:06:94:fa:3c:f1:07:d3:23:55:b6:84:d4:00:
|
||||
f4:28:08:18:be:c7:38:e1:b7:d9:b4:bf:d3:e1:d3:
|
||||
d8:13:60:72:e1:e4:d3:31:37:b1:cf:b9:e1:c9:8d:
|
||||
5e:e2:1c:54:a3:90:b1:69:6f:07:90:ff:68:86:69:
|
||||
7d:ef:50:69:0d:9d:47:18:39
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
74:20:F9:E9:BD:E1:37:8A:9C:A9:AD:B4:B2:28:7D:44:22:0B:BD:0B
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:64:FB:C8:D7:A3:20:17:DC:A8:3A:AA:4B:2B:85:CD:BD:3E:53:4B:09
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
ac:aa:85:5a:57:61:6d:7d:f3:c4:2a:b7:73:3f:e9:bc:b9:6d:
|
||||
0a:8f:35:24:13:66:46:14:5e:60:90:3e:32:95:72:5a:21:55:
|
||||
15:fe:ef:30:44:fb:fe:3e:cb:bf:f3:30:ce:3b:bb:4f:c1:64:
|
||||
41:ea:db:99:f2:ca:db:78:03:95:81:91:3c:fa:1d:9c:8a:55:
|
||||
eb:9d:6a:c1:b6:de:44:38:0f:99:b4:66:d5:4e:dd:e7:d5:ba:
|
||||
ff:f2:4b:f6:9a:94:53:55:36:4e:73:2d:da:d1:bb:0f:8f:fb:
|
||||
1a:22:43:28:6a:b4:5d:a3:40:2c:cf:7e:0d:3e:fb:60:ef:92:
|
||||
f3:0e
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICsjCCAhugAwIBAgIBAjANBgkqhkiG9w0BAQsFADBoMRcwFQYDVQQDDA5jYS5s
|
||||
b2NhbGRvbWFpbjELMAkGA1UEBhMCS08xDjAMBgNVBAgMBVNlb3VsMQ4wDAYDVQQH
|
||||
DAVOb3dvbjEQMA4GA1UECgwHT3BlbjVHUzEOMAwGA1UECwwFVGVzdHMwHhcNMjAw
|
||||
ODIyMDAzOTE3WhcNMzAwODIwMDAzOTE3WjBZMQswCQYDVQQGEwJLTzEOMAwGA1UE
|
||||
CAwFU2VvdWwxEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsMBVRlc3RzMRgwFgYD
|
||||
VQQDDA9oc3MubG9jYWxkb21haW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
|
||||
AOizgpa9SvYwLANgqoJlsBUyX9OQDcAdBmJSUccSNtdcNCGsSkRNm6UinD6GqLrf
|
||||
AmS2dPWVxHHo4CgdK+oGlPo88QfTI1W2hNQA9CgIGL7HOOG32bS/0+HT2BNgcuHk
|
||||
0zE3sc+54cmNXuIcVKOQsWlvB5D/aIZpfe9QaQ2dRxg5AgMBAAGjezB5MAkGA1Ud
|
||||
EwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmlj
|
||||
YXRlMB0GA1UdDgQWBBR0IPnpveE3ipyprbSyKH1EIgu9CzAfBgNVHSMEGDAWgBRk
|
||||
+8jXoyAX3Kg6qksrhc29PlNLCTANBgkqhkiG9w0BAQsFAAOBgQCsqoVaV2FtffPE
|
||||
KrdzP+m8uW0KjzUkE2ZGFF5gkD4ylXJaIVUV/u8wRPv+Psu/8zDOO7tPwWRB6tuZ
|
||||
8srbeAOVgZE8+h2cilXrnWrBtt5EOA+ZtGbVTt3n1br/8kv2mpRTVTZOcy3a0bsP
|
||||
j/saIkMoarRdo0Asz34NPvtg75LzDg==
|
||||
-----END CERTIFICATE-----
|
266
configs/freeDiameter/hss.conf.in
Normal file
266
configs/freeDiameter/hss.conf.in
Normal file
@@ -0,0 +1,266 @@
|
||||
# This is a sample configuration file for freeDiameter daemon.
|
||||
|
||||
# Most of the options can be omitted, as they default to reasonable values.
|
||||
# Only TLS-related options must be configured properly in usual setups.
|
||||
|
||||
# It is possible to use "include" keyword to import additional files
|
||||
# e.g.: include "/etc/freeDiameter.d/*.conf"
|
||||
# This is exactly equivalent as copy & paste the content of the included file(s)
|
||||
# where the "include" keyword is found.
|
||||
|
||||
|
||||
##############################################################
|
||||
## Peer identity and realm
|
||||
|
||||
# The Diameter Identity of this daemon.
|
||||
# This must be a valid FQDN that resolves to the local host.
|
||||
# Default: hostname's FQDN
|
||||
#Identity = "aaa.koganei.freediameter.net";
|
||||
Identity = "hss.localdomain";
|
||||
|
||||
# The Diameter Realm of this daemon.
|
||||
# Default: the domain part of Identity (after the first dot).
|
||||
#Realm = "koganei.freediameter.net";
|
||||
Realm = "localdomain";
|
||||
|
||||
##############################################################
|
||||
## Transport protocol configuration
|
||||
|
||||
# The port this peer is listening on for incoming connections (TCP and SCTP).
|
||||
# Default: 3868. Use 0 to disable.
|
||||
#Port = 3868;
|
||||
|
||||
# The port this peer is listening on for incoming TLS-protected connections (TCP and SCTP).
|
||||
# See TLS_old_method for more information about TLS flavours.
|
||||
# Note: we use TLS/SCTP instead of DTLS/SCTP at the moment. This will change in future version of freeDiameter.
|
||||
# Default: 5868. Use 0 to disable.
|
||||
#SecPort = 5868;
|
||||
|
||||
# Use RFC3588 method for TLS protection, where TLS is negociated after CER/CEA exchange is completed
|
||||
# on the unsecure connection. The alternative is RFC6733 mechanism, where TLS protects also the
|
||||
# CER/CEA exchange on a dedicated secure port.
|
||||
# This parameter only affects outgoing connections.
|
||||
# The setting can be also defined per-peer (see Peers configuration section).
|
||||
# Default: use RFC6733 method with separate port for TLS.
|
||||
#TLS_old_method;
|
||||
|
||||
# Disable use of TCP protocol (only listen and connect over SCTP)
|
||||
# Default : TCP enabled
|
||||
#No_TCP;
|
||||
|
||||
# Disable use of SCTP protocol (only listen and connect over TCP)
|
||||
# Default : SCTP enabled
|
||||
#No_SCTP;
|
||||
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||
|
||||
# Prefer TCP instead of SCTP for establishing new connections.
|
||||
# This setting may be overwritten per peer in peer configuration blocs.
|
||||
# Default : SCTP is attempted first.
|
||||
#Prefer_TCP;
|
||||
|
||||
# Default number of streams per SCTP associations.
|
||||
# This setting may be overwritten per peer basis.
|
||||
# Default : 30 streams
|
||||
#SCTP_streams = 30;
|
||||
|
||||
##############################################################
|
||||
## Endpoint configuration
|
||||
|
||||
# Disable use of IP addresses (only IPv6)
|
||||
# Default : IP enabled
|
||||
#No_IP;
|
||||
|
||||
# Disable use of IPv6 addresses (only IP)
|
||||
# Default : IPv6 enabled
|
||||
#No_IPv6;
|
||||
|
||||
# Specify local addresses the server must bind to
|
||||
# Default : listen on all addresses available.
|
||||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "127.0.0.8";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Server configuration
|
||||
|
||||
# How many Diameter peers are allowed to be connecting at the same time ?
|
||||
# This parameter limits the number of incoming connections from the time
|
||||
# the connection is accepted until the first CER is received.
|
||||
# Default: 5 unidentified clients in paralel.
|
||||
#ThreadsPerServer = 5;
|
||||
|
||||
##############################################################
|
||||
## TLS Configuration
|
||||
|
||||
# TLS is managed by the GNUTLS library in the freeDiameter daemon.
|
||||
# You may find more information about parameters and special behaviors
|
||||
# in the relevant documentation.
|
||||
# http://www.gnu.org/software/gnutls/manual/
|
||||
|
||||
# Credentials of the local peer
|
||||
# The X509 certificate and private key file to use for the local peer.
|
||||
# The files must contain PKCS-1 encoded RSA key, in PEM format.
|
||||
# (These parameters are passed to gnutls_certificate_set_x509_key_file function)
|
||||
# Default : NO DEFAULT
|
||||
#TLS_Cred = "<x509 certif file.PEM>" , "<x509 private key file.PEM>";
|
||||
#TLS_Cred = "/etc/ssl/certs/freeDiameter.pem", "/etc/ssl/private/freeDiameter.key";
|
||||
TLS_Cred = "@sysconfdir@/freeDiameter/hss.cert.pem", "@sysconfdir@/freeDiameter/hss.key.pem";
|
||||
|
||||
# Certificate authority / trust anchors
|
||||
# The file containing the list of trusted Certificate Authorities (PEM list)
|
||||
# (This parameter is passed to gnutls_certificate_set_x509_trust_file function)
|
||||
# The directive can appear several times to specify several files.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CA = "<file.PEM>";
|
||||
TLS_CA = "@sysconfdir@/freeDiameter/cacert.pem";
|
||||
|
||||
# Certificate Revocation List file
|
||||
# The information about revoked certificates.
|
||||
# The file contains a list of trusted CRLs in PEM format. They should have been verified before.
|
||||
# (This parameter is passed to gnutls_certificate_set_x509_crl_file function)
|
||||
# Note: openssl CRL format might have interoperability issue with GNUTLS format.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CRL = "<file.PEM>";
|
||||
|
||||
# GNU TLS Priority string
|
||||
# This string allows to configure the behavior of GNUTLS key exchanges
|
||||
# algorithms. See gnutls_priority_init function documentation for information.
|
||||
# You should also refer to the Diameter required TLS support here:
|
||||
# http://tools.ietf.org/html/rfc6733#section-13.1
|
||||
# Default : "NORMAL"
|
||||
# Example: TLS_Prio = "NONE:+VERS-TLS1.1:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL";
|
||||
#TLS_Prio = "NORMAL";
|
||||
|
||||
# Diffie-Hellman parameters size
|
||||
# Set the number of bits for generated DH parameters
|
||||
# Valid value should be 768, 1024, 2048, 3072 or 4096.
|
||||
# (This parameter is passed to gnutls_dh_params_generate2 function,
|
||||
# it usually should match RSA key size)
|
||||
# Default : 1024
|
||||
#TLS_DH_Bits = 1024;
|
||||
|
||||
# Alternatively, you can specify a file to load the PKCS#3 encoded
|
||||
# DH parameters directly from. This accelerates the daemon start
|
||||
# but is slightly less secure. If this file is provided, the
|
||||
# TLS_DH_Bits parameters has no effect.
|
||||
# Default : no default.
|
||||
#TLS_DH_File = "<file.PEM>";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Timers configuration
|
||||
|
||||
# The Tc timer of this peer.
|
||||
# It is the delay before a new attempt is made to reconnect a disconnected peer.
|
||||
# The value is expressed in seconds. The recommended value is 30 seconds.
|
||||
# Default: 30
|
||||
#TcTimer = 30;
|
||||
|
||||
# The Tw timer of this peer.
|
||||
# It is the delay before a watchdog message is sent, as described in RFC 3539.
|
||||
# The value is expressed in seconds. The default value is 30 seconds. Value must
|
||||
# be greater or equal to 6 seconds. See details in the RFC.
|
||||
# Default: 30
|
||||
#TwTimer = 30;
|
||||
|
||||
##############################################################
|
||||
## Applications configuration
|
||||
|
||||
# Disable the relaying of Diameter messages?
|
||||
# For messages not handled locally, the default behavior is to forward the
|
||||
# message to another peer if any is available, according to the routing
|
||||
# algorithms. In addition the "0xffffff" application is advertised in CER/CEA
|
||||
# exchanges.
|
||||
# Default: Relaying is enabled.
|
||||
#NoRelay;
|
||||
NoRelay;
|
||||
|
||||
# Number of server threads that can handle incoming messages at the same time.
|
||||
# Default: 4
|
||||
#AppServThreads = 4;
|
||||
|
||||
# Other applications are configured by loaded extensions.
|
||||
|
||||
##############################################################
|
||||
## Extensions configuration
|
||||
|
||||
# The freeDiameter framework merely provides support for
|
||||
# Diameter Base Protocol. The specific application behaviors,
|
||||
# as well as advanced functions, are provided
|
||||
# by loadable extensions (plug-ins).
|
||||
# These extensions may in addition receive the name of a
|
||||
# configuration file, the format of which is extension-specific.
|
||||
#
|
||||
# Format:
|
||||
#LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
|
||||
#
|
||||
# Examples:
|
||||
#LoadExtension = "extensions/sample.fdx";
|
||||
#LoadExtension = "extensions/sample.fdx":"conf/sample.conf";
|
||||
|
||||
# Extensions are named as follow:
|
||||
# dict_* for extensions that add content to the dictionary definitions.
|
||||
# dbg_* for extensions useful only to retrieve more information on the framework execution.
|
||||
# acl_* : Access control list, to control which peers are allowed to connect.
|
||||
# rt_* : routing extensions that impact how messages are forwarded to other peers.
|
||||
# app_* : applications, these extensions usually register callbacks to handle specific messages.
|
||||
# test_* : dummy extensions that are useful only in testing environments.
|
||||
|
||||
|
||||
# The dbg_msg_dump.fdx extension allows you to tweak the way freeDiameter displays some
|
||||
# information about some events. This extension does not actually use a configuration file
|
||||
# but receives directly a parameter in the string passed to the extension. Here are some examples:
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x1111"; # Removes all default hooks, very quiet even in case of errors.
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x2222"; # Display all events with few details.
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x0080"; # Dump complete information about sent and received messages.
|
||||
# The four digits respectively control: connections, routing decisions, sent/received messages, errors.
|
||||
# The values for each digit are:
|
||||
# 0 - default - keep the default behavior
|
||||
# 1 - quiet - remove any specific log
|
||||
# 2 - compact - display only a summary of the information
|
||||
# 4 - full - display the complete information on a single long line
|
||||
# 8 - tree - display the complete information in an easier to read format spanning several lines.
|
||||
|
||||
LoadExtension = "@libdir@/freeDiameter/dbg_msg_dumps.fdx" : "0x8888";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_rfc5777.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_mip6i.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_nasreq.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_nas_mipv6.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_dcca.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_dcca_3gpp.fdx";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Peers configuration
|
||||
|
||||
# The local server listens for incoming connections. By default,
|
||||
# all unknown connecting peers are rejected. Extensions can override this behavior (e.g., acl_wl).
|
||||
#
|
||||
# In addition to incoming connections, the local peer can
|
||||
# be configured to establish and maintain connections to some
|
||||
# Diameter nodes and allow connections from these nodes.
|
||||
# This is achieved with the ConnectPeer directive described below.
|
||||
#
|
||||
# Note that the configured Diameter Identity MUST match
|
||||
# the information received inside CEA, or the connection will be aborted.
|
||||
#
|
||||
# Format:
|
||||
#ConnectPeer = "diameterid" [ { parameter1; parameter2; ...} ] ;
|
||||
# Parameters that can be specified in the peer's parameter list:
|
||||
# No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method;
|
||||
# No_TLS; # assume transparent security instead of TLS. DTLS is not supported yet (will change in future versions).
|
||||
# Port = 5868; # The port to connect to
|
||||
# TcTimer = 30;
|
||||
# TwTimer = 30;
|
||||
# ConnectTo = "202.249.37.5";
|
||||
# ConnectTo = "2001:200:903:2::202:1";
|
||||
# TLS_Prio = "NORMAL";
|
||||
# Realm = "realm.net"; # Reject the peer if it does not advertise this realm.
|
||||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "mme.localdomain" { ConnectTo = "127.0.0.2"; No_TLS; };
|
||||
|
||||
##############################################################
|
15
configs/freeDiameter/hss.key.pem
Normal file
15
configs/freeDiameter/hss.key.pem
Normal file
@@ -0,0 +1,15 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXQIBAAKBgQDos4KWvUr2MCwDYKqCZbAVMl/TkA3AHQZiUlHHEjbXXDQhrEpE
|
||||
TZulIpw+hqi63wJktnT1lcRx6OAoHSvqBpT6PPEH0yNVtoTUAPQoCBi+xzjht9m0
|
||||
v9Ph09gTYHLh5NMxN7HPueHJjV7iHFSjkLFpbweQ/2iGaX3vUGkNnUcYOQIDAQAB
|
||||
AoGAdxNkv74dnd0IqLHOjut6L16XqqsMXkJ8AdQeBMBNT+bexlxjpJASFW6ghV5i
|
||||
+T0k/GRhdUouPBvumJhU4Gx9zpVYUMzAxZDgWQfoknQ11fs6bi1aH8Fn9NhC3UeB
|
||||
ZaSmkAyeTMpJMzVAiVLND3iN/83OcijqSq2MZ4kkdsQngAECQQD/AOBiwlh6AVtZ
|
||||
bJMbVSVPLdtQRtGuP29gaC64vROE60qfxUcW7H2rHdMq4AWrlaZ3hXxSLU+TuCDt
|
||||
Z7khtHexAkEA6ZxSJfw1SO0qqu/uHBcQTOzoTKPi28fRt2ilEIOhIzuHbJPpjFEp
|
||||
snhGfX+XgD4EtXH1ebdmh+rGZ8yRPcjTCQJBAJ170xfq4m1mzR2q+ibVLNd7gIhR
|
||||
VEmCj6xAaypYSue50DpfwYmcv/ef0bwW4imXoFkMLT0rEowuGNfFSQZRx+ECQETG
|
||||
TrD8JTvJBsy4QiNm7teWz3TwsrL9itIyLpZECkZzGhVvHky/AEWYfzgnPhT1LTG1
|
||||
0Qz6X2cYSTz5zrCf1PECQQCPZIkkOUsgq6kGDK5MTzAoTjPxzIDgLX/YdMelwHUA
|
||||
pK+nv/gxO9Pjd+wcU4GmaD0KXdLtu+dsKT3bx/7RzGjj
|
||||
-----END RSA PRIVATE KEY-----
|
57
configs/freeDiameter/meson.build
Normal file
57
configs/freeDiameter/meson.build
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
# This file is part of Open5GS.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
freediameter_sysconfdir = join_paths(sysconfdir, 'freeDiameter')
|
||||
meson.add_install_script(python3_exe, '-c',
|
||||
mkdir_p.format(freediameter_sysconfdir))
|
||||
|
||||
freediameter_conf = '''
|
||||
mme.conf
|
||||
hss.conf
|
||||
smf.conf
|
||||
pcrf.conf
|
||||
'''.split()
|
||||
|
||||
foreach file : freediameter_conf
|
||||
gen = configure_file(
|
||||
input : file + '.in',
|
||||
output : file,
|
||||
configuration : conf_data)
|
||||
meson.add_install_script(python3_exe, '-c',
|
||||
install_conf.format(gen, freediameter_sysconfdir))
|
||||
endforeach
|
||||
|
||||
freediameter_pem = '''
|
||||
cacert.pem
|
||||
mme.cert.pem
|
||||
mme.key.pem
|
||||
hss.cert.pem
|
||||
hss.key.pem
|
||||
smf.cert.pem
|
||||
smf.key.pem
|
||||
pcrf.cert.pem
|
||||
pcrf.key.pem
|
||||
'''.split()
|
||||
|
||||
foreach file : freediameter_pem
|
||||
gen = configure_file(
|
||||
input : file,
|
||||
output : file,
|
||||
configuration : conf_data)
|
||||
meson.add_install_script(python3_exe, '-c',
|
||||
install_conf.format(gen, freediameter_sysconfdir))
|
||||
endforeach
|
60
configs/freeDiameter/mme.cert.pem
Normal file
60
configs/freeDiameter/mme.cert.pem
Normal file
@@ -0,0 +1,60 @@
|
||||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 1 (0x1)
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
Issuer: CN=ca.localdomain, C=KO, ST=Seoul, L=Nowon, O=Open5GS, OU=Tests
|
||||
Validity
|
||||
Not Before: Aug 22 00:39:17 2020 GMT
|
||||
Not After : Aug 20 00:39:17 2030 GMT
|
||||
Subject: C=KO, ST=Seoul, O=Open5GS, OU=Tests, CN=mme.localdomain
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
RSA Public-Key: (1024 bit)
|
||||
Modulus:
|
||||
00:9c:69:25:fc:ee:7f:11:e0:81:f7:b5:51:8f:01:
|
||||
b8:9e:01:74:03:3e:a5:25:de:6f:28:66:05:6f:7b:
|
||||
ab:86:0f:09:fc:94:7b:e8:aa:9f:0b:5f:32:27:46:
|
||||
f0:ca:e2:12:f3:5d:03:80:e9:9a:1d:f0:20:d6:5c:
|
||||
1b:4b:65:d4:66:e3:b7:63:19:6e:b1:e8:db:6c:24:
|
||||
df:24:2c:50:f2:1c:8a:33:c1:f7:27:b8:3c:6e:c6:
|
||||
90:98:ac:43:67:00:6b:3d:ab:39:49:3d:d5:74:77:
|
||||
6a:0e:38:4e:41:cd:e4:15:63:27:76:b5:9c:75:f8:
|
||||
cb:6f:cc:5e:f3:a7:68:ef:a5
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
92:69:1E:3F:9F:E2:40:2F:81:24:05:B4:13:AA:8A:65:5C:7C:71:1D
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:64:FB:C8:D7:A3:20:17:DC:A8:3A:AA:4B:2B:85:CD:BD:3E:53:4B:09
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
74:fc:32:ee:e6:2b:a5:f5:a4:71:64:49:ff:eb:6f:01:30:32:
|
||||
b7:61:62:97:e1:2c:0f:50:62:a8:71:9a:bd:8b:d8:0d:4b:28:
|
||||
ea:b4:5f:1c:30:3e:4c:23:2f:c5:5b:77:ed:48:c2:bb:b7:0c:
|
||||
d9:50:4d:7f:7f:a3:b9:1e:2c:19:33:1e:41:94:e1:14:1b:45:
|
||||
e8:ae:27:aa:5e:78:8e:67:67:19:69:48:e3:e4:c0:c3:a7:85:
|
||||
fd:fd:d6:62:6e:dd:1f:31:2f:bc:9a:d2:fa:82:eb:4b:3e:35:
|
||||
e0:90:db:ed:de:1a:68:33:6f:e6:90:9f:08:64:60:46:91:09:
|
||||
74:15
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICsjCCAhugAwIBAgIBATANBgkqhkiG9w0BAQsFADBoMRcwFQYDVQQDDA5jYS5s
|
||||
b2NhbGRvbWFpbjELMAkGA1UEBhMCS08xDjAMBgNVBAgMBVNlb3VsMQ4wDAYDVQQH
|
||||
DAVOb3dvbjEQMA4GA1UECgwHT3BlbjVHUzEOMAwGA1UECwwFVGVzdHMwHhcNMjAw
|
||||
ODIyMDAzOTE3WhcNMzAwODIwMDAzOTE3WjBZMQswCQYDVQQGEwJLTzEOMAwGA1UE
|
||||
CAwFU2VvdWwxEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsMBVRlc3RzMRgwFgYD
|
||||
VQQDDA9tbWUubG9jYWxkb21haW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
|
||||
AJxpJfzufxHggfe1UY8BuJ4BdAM+pSXebyhmBW97q4YPCfyUe+iqnwtfMidG8Mri
|
||||
EvNdA4Dpmh3wINZcG0tl1Gbjt2MZbrHo22wk3yQsUPIcijPB9ye4PG7GkJisQ2cA
|
||||
az2rOUk91XR3ag44TkHN5BVjJ3a1nHX4y2/MXvOnaO+lAgMBAAGjezB5MAkGA1Ud
|
||||
EwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmlj
|
||||
YXRlMB0GA1UdDgQWBBSSaR4/n+JAL4EkBbQTqoplXHxxHTAfBgNVHSMEGDAWgBRk
|
||||
+8jXoyAX3Kg6qksrhc29PlNLCTANBgkqhkiG9w0BAQsFAAOBgQB0/DLu5iul9aRx
|
||||
ZEn/628BMDK3YWKX4SwPUGKocZq9i9gNSyjqtF8cMD5MIy/FW3ftSMK7twzZUE1/
|
||||
f6O5HiwZMx5BlOEUG0XorieqXniOZ2cZaUjj5MDDp4X9/dZibt0fMS+8mtL6gutL
|
||||
PjXgkNvt3hpoM2/mkJ8IZGBGkQl0FQ==
|
||||
-----END CERTIFICATE-----
|
267
configs/freeDiameter/mme.conf.in
Normal file
267
configs/freeDiameter/mme.conf.in
Normal file
@@ -0,0 +1,267 @@
|
||||
# This is a sample configuration file for freeDiameter daemon.
|
||||
|
||||
# Most of the options can be omitted, as they default to reasonable values.
|
||||
# Only TLS-related options must be configured properly in usual setups.
|
||||
|
||||
# It is possible to use "include" keyword to import additional files
|
||||
# e.g.: include "/etc/freeDiameter.d/*.conf"
|
||||
# This is exactly equivalent as copy & paste the content of the included file(s)
|
||||
# where the "include" keyword is found.
|
||||
|
||||
|
||||
##############################################################
|
||||
## Peer identity and realm
|
||||
|
||||
# The Diameter Identity of this daemon.
|
||||
# This must be a valid FQDN that resolves to the local host.
|
||||
# Default: hostname's FQDN
|
||||
#Identity = "aaa.koganei.freediameter.net";
|
||||
Identity = "mme.localdomain";
|
||||
|
||||
# The Diameter Realm of this daemon.
|
||||
# Default: the domain part of Identity (after the first dot).
|
||||
#Realm = "koganei.freediameter.net";
|
||||
Realm = "localdomain";
|
||||
|
||||
##############################################################
|
||||
## Transport protocol configuration
|
||||
|
||||
# The port this peer is listening on for incoming connections (TCP and SCTP).
|
||||
# Default: 3868. Use 0 to disable.
|
||||
#Port = 3868;
|
||||
|
||||
# The port this peer is listening on for incoming TLS-protected connections (TCP and SCTP).
|
||||
# See TLS_old_method for more information about TLS flavours.
|
||||
# Note: we use TLS/SCTP instead of DTLS/SCTP at the moment. This will change in future version of freeDiameter.
|
||||
# Default: 5868. Use 0 to disable.
|
||||
#SecPort = 5868;
|
||||
|
||||
# Use RFC3588 method for TLS protection, where TLS is negociated after CER/CEA exchange is completed
|
||||
# on the unsecure connection. The alternative is RFC6733 mechanism, where TLS protects also the
|
||||
# CER/CEA exchange on a dedicated secure port.
|
||||
# This parameter only affects outgoing connections.
|
||||
# The setting can be also defined per-peer (see Peers configuration section).
|
||||
# Default: use RFC6733 method with separate port for TLS.
|
||||
#TLS_old_method;
|
||||
|
||||
# Disable use of TCP protocol (only listen and connect over SCTP)
|
||||
# Default : TCP enabled
|
||||
#No_TCP;
|
||||
|
||||
# Disable use of SCTP protocol (only listen and connect over TCP)
|
||||
# Default : SCTP enabled
|
||||
#No_SCTP;
|
||||
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||
|
||||
# Prefer TCP instead of SCTP for establishing new connections.
|
||||
# This setting may be overwritten per peer in peer configuration blocs.
|
||||
# Default : SCTP is attempted first.
|
||||
#Prefer_TCP;
|
||||
|
||||
# Default number of streams per SCTP associations.
|
||||
# This setting may be overwritten per peer basis.
|
||||
# Default : 30 streams
|
||||
#SCTP_streams = 30;
|
||||
|
||||
##############################################################
|
||||
## Endpoint configuration
|
||||
|
||||
# Disable use of IP addresses (only IPv6)
|
||||
# Default : IP enabled
|
||||
#No_IP;
|
||||
|
||||
# Disable use of IPv6 addresses (only IP)
|
||||
# Default : IPv6 enabled
|
||||
#No_IPv6;
|
||||
|
||||
# Specify local addresses the server must bind to
|
||||
# Default : listen on all addresses available.
|
||||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "127.0.0.2";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Server configuration
|
||||
|
||||
# How many Diameter peers are allowed to be connecting at the same time ?
|
||||
# This parameter limits the number of incoming connections from the time
|
||||
# the connection is accepted until the first CER is received.
|
||||
# Default: 5 unidentified clients in paralel.
|
||||
#ThreadsPerServer = 5;
|
||||
|
||||
##############################################################
|
||||
## TLS Configuration
|
||||
|
||||
# TLS is managed by the GNUTLS library in the freeDiameter daemon.
|
||||
# You may find more information about parameters and special behaviors
|
||||
# in the relevant documentation.
|
||||
# http://www.gnu.org/software/gnutls/manual/
|
||||
|
||||
# Credentials of the local peer
|
||||
# The X509 certificate and private key file to use for the local peer.
|
||||
# The files must contain PKCS-1 encoded RSA key, in PEM format.
|
||||
# (These parameters are passed to gnutls_certificate_set_x509_key_file function)
|
||||
# Default : NO DEFAULT
|
||||
#TLS_Cred = "<x509 certif file.PEM>" , "<x509 private key file.PEM>";
|
||||
#TLS_Cred = "/etc/ssl/certs/freeDiameter.pem", "/etc/ssl/private/freeDiameter.key";
|
||||
TLS_Cred = "@sysconfdir@/freeDiameter/mme.cert.pem", "@sysconfdir@/freeDiameter/mme.key.pem";
|
||||
|
||||
# Certificate authority / trust anchors
|
||||
# The file containing the list of trusted Certificate Authorities (PEM list)
|
||||
# (This parameter is passed to gnutls_certificate_set_x509_trust_file function)
|
||||
# The directive can appear several times to specify several files.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CA = "<file.PEM>";
|
||||
TLS_CA = "@sysconfdir@/freeDiameter/cacert.pem";
|
||||
|
||||
# Certificate Revocation List file
|
||||
# The information about revoked certificates.
|
||||
# The file contains a list of trusted CRLs in PEM format. They should have been verified before.
|
||||
# (This parameter is passed to gnutls_certificate_set_x509_crl_file function)
|
||||
# Note: openssl CRL format might have interoperability issue with GNUTLS format.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CRL = "<file.PEM>";
|
||||
|
||||
# GNU TLS Priority string
|
||||
# This string allows to configure the behavior of GNUTLS key exchanges
|
||||
# algorithms. See gnutls_priority_init function documentation for information.
|
||||
# You should also refer to the Diameter required TLS support here:
|
||||
# http://tools.ietf.org/html/rfc6733#section-13.1
|
||||
# Default : "NORMAL"
|
||||
# Example: TLS_Prio = "NONE:+VERS-TLS1.1:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL";
|
||||
#TLS_Prio = "NORMAL";
|
||||
|
||||
# Diffie-Hellman parameters size
|
||||
# Set the number of bits for generated DH parameters
|
||||
# Valid value should be 768, 1024, 2048, 3072 or 4096.
|
||||
# (This parameter is passed to gnutls_dh_params_generate2 function,
|
||||
# it usually should match RSA key size)
|
||||
# Default : 1024
|
||||
#TLS_DH_Bits = 1024;
|
||||
|
||||
# Alternatively, you can specify a file to load the PKCS#3 encoded
|
||||
# DH parameters directly from. This accelerates the daemon start
|
||||
# but is slightly less secure. If this file is provided, the
|
||||
# TLS_DH_Bits parameters has no effect.
|
||||
# Default : no default.
|
||||
#TLS_DH_File = "<file.PEM>";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Timers configuration
|
||||
|
||||
# The Tc timer of this peer.
|
||||
# It is the delay before a new attempt is made to reconnect a disconnected peer.
|
||||
# The value is expressed in seconds. The recommended value is 30 seconds.
|
||||
# Default: 30
|
||||
#TcTimer = 30;
|
||||
|
||||
# The Tw timer of this peer.
|
||||
# It is the delay before a watchdog message is sent, as described in RFC 3539.
|
||||
# The value is expressed in seconds. The default value is 30 seconds. Value must
|
||||
# be greater or equal to 6 seconds. See details in the RFC.
|
||||
# Default: 30
|
||||
#TwTimer = 30;
|
||||
|
||||
##############################################################
|
||||
## Applications configuration
|
||||
|
||||
# Disable the relaying of Diameter messages?
|
||||
# For messages not handled locally, the default behavior is to forward the
|
||||
# message to another peer if any is available, according to the routing
|
||||
# algorithms. In addition the "0xffffff" application is advertised in CER/CEA
|
||||
# exchanges.
|
||||
# Default: Relaying is enabled.
|
||||
#NoRelay;
|
||||
NoRelay;
|
||||
|
||||
# Number of server threads that can handle incoming messages at the same time.
|
||||
# Default: 4
|
||||
#AppServThreads = 4;
|
||||
|
||||
# Other applications are configured by loaded extensions.
|
||||
|
||||
##############################################################
|
||||
## Extensions configuration
|
||||
|
||||
# The freeDiameter framework merely provides support for
|
||||
# Diameter Base Protocol. The specific application behaviors,
|
||||
# as well as advanced functions, are provided
|
||||
# by loadable extensions (plug-ins).
|
||||
# These extensions may in addition receive the name of a
|
||||
# configuration file, the format of which is extension-specific.
|
||||
#
|
||||
# Format:
|
||||
#LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
|
||||
#
|
||||
# Examples:
|
||||
#LoadExtension = "extensions/sample.fdx";
|
||||
#LoadExtension = "extensions/sample.fdx":"conf/sample.conf";
|
||||
|
||||
# Extensions are named as follow:
|
||||
# dict_* for extensions that add content to the dictionary definitions.
|
||||
# dbg_* for extensions useful only to retrieve more information on the framework execution.
|
||||
# acl_* : Access control list, to control which peers are allowed to connect.
|
||||
# rt_* : routing extensions that impact how messages are forwarded to other peers.
|
||||
# app_* : applications, these extensions usually register callbacks to handle specific messages.
|
||||
# test_* : dummy extensions that are useful only in testing environments.
|
||||
|
||||
|
||||
# The dbg_msg_dump.fdx extension allows you to tweak the way freeDiameter displays some
|
||||
# information about some events. This extension does not actually use a configuration file
|
||||
# but receives directly a parameter in the string passed to the extension. Here are some examples:
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x1111"; # Removes all default hooks, very quiet even in case of errors.
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x2222"; # Display all events with few details.
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x0080"; # Dump complete information about sent and received messages.
|
||||
# The four digits respectively control: connections, routing decisions, sent/received messages, errors.
|
||||
# The values for each digit are:
|
||||
# 0 - default - keep the default behavior
|
||||
# 1 - quiet - remove any specific log
|
||||
# 2 - compact - display only a summary of the information
|
||||
# 4 - full - display the complete information on a single long line
|
||||
# 8 - tree - display the complete information in an easier to read format spanning several lines.
|
||||
|
||||
LoadExtension = "@libdir@/freeDiameter/dbg_msg_dumps.fdx" : "0x8888";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_rfc5777.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_mip6i.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_nasreq.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_nas_mipv6.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_dcca.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_dcca_3gpp.fdx";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Peers configuration
|
||||
|
||||
# The local server listens for incoming connections. By default,
|
||||
# all unknown connecting peers are rejected. Extensions can override this behavior (e.g., acl_wl).
|
||||
#
|
||||
# In addition to incoming connections, the local peer can
|
||||
# be configured to establish and maintain connections to some
|
||||
# Diameter nodes and allow connections from these nodes.
|
||||
# This is achieved with the ConnectPeer directive described below.
|
||||
#
|
||||
# Note that the configured Diameter Identity MUST match
|
||||
# the information received inside CEA, or the connection will be aborted.
|
||||
#
|
||||
# Format:
|
||||
#ConnectPeer = "diameterid" [ { parameter1; parameter2; ...} ] ;
|
||||
# Parameters that can be specified in the peer's parameter list:
|
||||
# No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method;
|
||||
# No_TLS; # assume transparent security instead of TLS. DTLS is not supported yet (will change in future versions).
|
||||
# Port = 5868; # The port to connect to
|
||||
# TcTimer = 30;
|
||||
# TwTimer = 30;
|
||||
# ConnectTo = "202.249.37.5";
|
||||
# ConnectTo = "2001:200:903:2::202:1";
|
||||
# TLS_Prio = "NORMAL";
|
||||
# Realm = "realm.net"; # Reject the peer if it does not advertise this realm.
|
||||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "hss.localdomain" { ConnectTo = "127.0.0.8"; No_TLS; };
|
||||
|
||||
|
||||
##############################################################
|
15
configs/freeDiameter/mme.key.pem
Normal file
15
configs/freeDiameter/mme.key.pem
Normal file
@@ -0,0 +1,15 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXQIBAAKBgQCcaSX87n8R4IH3tVGPAbieAXQDPqUl3m8oZgVve6uGDwn8lHvo
|
||||
qp8LXzInRvDK4hLzXQOA6Zod8CDWXBtLZdRm47djGW6x6NtsJN8kLFDyHIozwfcn
|
||||
uDxuxpCYrENnAGs9qzlJPdV0d2oOOE5BzeQVYyd2tZx1+MtvzF7zp2jvpQIDAQAB
|
||||
AoGARr3D4a7Yp/Q7tBY86gokPsp3dxQ5S3RcIBBseuybOknJAYUCucuZnWIT4/HQ
|
||||
7GHtokY6VG7TNqEpqOoFqkdHFgDZQlJPG+N2B63JEGxAL0RedHsTbnYQ8MFqrixb
|
||||
U59yDfwudrlEYAQNML51pEp7D06Add+CPubcFLO8Tnh/z20CQQDQCWRPP0ZdfYk1
|
||||
NZFS82fWxWE0jhxEu8nFXCh4uawlSOyyl8RFKyvwFhs+u8DAS+ntSA5nBIkglLW5
|
||||
aM+WbJerAkEAwHi5BIojXNmqjrfDDDaD3jM5/Ug2SOuReVz/7JDoPC/w9rob37RM
|
||||
pz0bWrtOVCud+mD0WeOjsxfsb6ixpjMF7wJBAI9zmnbG0/eNo/pL6NzBOP4w9rlt
|
||||
sPJ4Z0avKL0ukxTWt1jjLBTiExcntzvH7b7r2e+ju0KwLvqHcNPcASDh2qcCQBQ4
|
||||
Wo+ch4yInX9y1L3iuEXOsefm/zT38oeCeqx6qLsx+imhca41vdvP8qC8jsUO9ADK
|
||||
0MDkxlzZRZCRc2BXeecCQQCl+Ac9n+gtpIUFNmwvgtOnnjDAEDhGgi4lR45frT75
|
||||
t57D+YTERbn2pygttzhZ6imWMEUnSQJQSGpDAUnVsIUg
|
||||
-----END RSA PRIVATE KEY-----
|
60
configs/freeDiameter/pcrf.cert.pem
Normal file
60
configs/freeDiameter/pcrf.cert.pem
Normal file
@@ -0,0 +1,60 @@
|
||||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 4 (0x4)
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
Issuer: CN=ca.localdomain, C=KO, ST=Seoul, L=Nowon, O=Open5GS, OU=Tests
|
||||
Validity
|
||||
Not Before: Aug 22 00:39:17 2020 GMT
|
||||
Not After : Aug 20 00:39:17 2030 GMT
|
||||
Subject: C=KO, ST=Seoul, O=Open5GS, OU=Tests, CN=pcrf.localdomain
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
RSA Public-Key: (1024 bit)
|
||||
Modulus:
|
||||
00:b9:1f:b3:a5:74:de:31:97:ac:fa:86:1d:65:86:
|
||||
c7:be:b1:25:07:01:f3:69:21:7a:6d:ec:d7:c8:ec:
|
||||
e2:c9:e8:71:a1:07:ce:0e:68:e5:0f:a9:ec:f3:5e:
|
||||
5e:3e:a4:ea:27:f3:fa:65:36:2d:7c:ce:a8:70:cc:
|
||||
34:db:51:b2:28:7b:03:bf:78:06:61:7c:44:81:17:
|
||||
88:f9:c9:16:cb:2e:9f:21:4a:24:28:0a:0f:76:ef:
|
||||
63:0f:05:a4:ee:52:64:1f:4f:0b:ec:4e:6c:1b:12:
|
||||
40:43:75:ed:62:16:ec:6a:ba:15:dd:c4:b9:fa:a9:
|
||||
de:2c:80:f5:84:c5:97:ec:7b
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
CD:C4:C9:C1:7F:D9:34:1F:DB:08:61:27:FC:59:A2:C2:CC:19:9A:7B
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:64:FB:C8:D7:A3:20:17:DC:A8:3A:AA:4B:2B:85:CD:BD:3E:53:4B:09
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
24:3a:da:a7:50:b3:42:ab:e9:87:21:b2:d9:2b:a1:44:0b:5f:
|
||||
bd:ad:c9:8b:b1:ca:d5:2e:65:46:55:80:11:00:33:03:f9:04:
|
||||
b1:31:a2:c9:d2:41:e0:ec:73:bc:9a:3c:31:06:cc:d0:2d:73:
|
||||
1f:b4:93:1c:b0:99:dd:14:27:64:39:7e:c5:ab:53:48:c5:25:
|
||||
e8:88:fd:4e:b8:dd:64:88:b5:b4:89:8b:15:97:8b:e7:c9:fb:
|
||||
23:6c:ed:60:9b:2f:f0:99:7a:75:6c:8e:ea:09:c6:ba:ff:e9:
|
||||
81:3f:97:96:8b:00:58:5b:88:13:e8:8a:39:4c:f6:c9:06:d3:
|
||||
24:66
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICszCCAhygAwIBAgIBBDANBgkqhkiG9w0BAQsFADBoMRcwFQYDVQQDDA5jYS5s
|
||||
b2NhbGRvbWFpbjELMAkGA1UEBhMCS08xDjAMBgNVBAgMBVNlb3VsMQ4wDAYDVQQH
|
||||
DAVOb3dvbjEQMA4GA1UECgwHT3BlbjVHUzEOMAwGA1UECwwFVGVzdHMwHhcNMjAw
|
||||
ODIyMDAzOTE3WhcNMzAwODIwMDAzOTE3WjBaMQswCQYDVQQGEwJLTzEOMAwGA1UE
|
||||
CAwFU2VvdWwxEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsMBVRlc3RzMRkwFwYD
|
||||
VQQDDBBwY3JmLmxvY2FsZG9tYWluMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
|
||||
gQC5H7OldN4xl6z6hh1lhse+sSUHAfNpIXpt7NfI7OLJ6HGhB84OaOUPqezzXl4+
|
||||
pOon8/plNi18zqhwzDTbUbIoewO/eAZhfESBF4j5yRbLLp8hSiQoCg9272MPBaTu
|
||||
UmQfTwvsTmwbEkBDde1iFuxquhXdxLn6qd4sgPWExZfsewIDAQABo3sweTAJBgNV
|
||||
HRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZp
|
||||
Y2F0ZTAdBgNVHQ4EFgQUzcTJwX/ZNB/bCGEn/FmiwswZmnswHwYDVR0jBBgwFoAU
|
||||
ZPvI16MgF9yoOqpLK4XNvT5TSwkwDQYJKoZIhvcNAQELBQADgYEAJDrap1CzQqvp
|
||||
hyGy2SuhRAtfva3Ji7HK1S5lRlWAEQAzA/kEsTGiydJB4OxzvJo8MQbM0C1zH7ST
|
||||
HLCZ3RQnZDl+xatTSMUl6Ij9TrjdZIi1tImLFZeL58n7I2ztYJsv8Jl6dWyO6gnG
|
||||
uv/pgT+XlosAWFuIE+iKOUz2yQbTJGY=
|
||||
-----END CERTIFICATE-----
|
266
configs/freeDiameter/pcrf.conf.in
Normal file
266
configs/freeDiameter/pcrf.conf.in
Normal file
@@ -0,0 +1,266 @@
|
||||
# This is a sample configuration file for freeDiameter daemon.
|
||||
|
||||
# Most of the options can be omitted, as they default to reasonable values.
|
||||
# Only TLS-related options must be configured properly in usual setups.
|
||||
|
||||
# It is possible to use "include" keyword to import additional files
|
||||
# e.g.: include "/etc/freeDiameter.d/*.conf"
|
||||
# This is exactly equivalent as copy & paste the content of the included file(s)
|
||||
# where the "include" keyword is found.
|
||||
|
||||
|
||||
##############################################################
|
||||
## Peer identity and realm
|
||||
|
||||
# The Diameter Identity of this daemon.
|
||||
# This must be a valid FQDN that resolves to the local host.
|
||||
# Default: hostname's FQDN
|
||||
#Identity = "aaa.koganei.freediameter.net";
|
||||
Identity = "pcrf.localdomain";
|
||||
|
||||
# The Diameter Realm of this daemon.
|
||||
# Default: the domain part of Identity (after the first dot).
|
||||
#Realm = "koganei.freediameter.net";
|
||||
Realm = "localdomain";
|
||||
|
||||
##############################################################
|
||||
## Transport protocol configuration
|
||||
|
||||
# The port this peer is listening on for incoming connections (TCP and SCTP).
|
||||
# Default: 3868. Use 0 to disable.
|
||||
#Port = 3868;
|
||||
|
||||
# The port this peer is listening on for incoming TLS-protected connections (TCP and SCTP).
|
||||
# See TLS_old_method for more information about TLS flavours.
|
||||
# Note: we use TLS/SCTP instead of DTLS/SCTP at the moment. This will change in future version of freeDiameter.
|
||||
# Default: 5868. Use 0 to disable.
|
||||
#SecPort = 5868;
|
||||
|
||||
# Use RFC3588 method for TLS protection, where TLS is negociated after CER/CEA exchange is completed
|
||||
# on the unsecure connection. The alternative is RFC6733 mechanism, where TLS protects also the
|
||||
# CER/CEA exchange on a dedicated secure port.
|
||||
# This parameter only affects outgoing connections.
|
||||
# The setting can be also defined per-peer (see Peers configuration section).
|
||||
# Default: use RFC6733 method with separate port for TLS.
|
||||
#TLS_old_method;
|
||||
|
||||
# Disable use of TCP protocol (only listen and connect over SCTP)
|
||||
# Default : TCP enabled
|
||||
#No_TCP;
|
||||
|
||||
# Disable use of SCTP protocol (only listen and connect over TCP)
|
||||
# Default : SCTP enabled
|
||||
#No_SCTP;
|
||||
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||
|
||||
# Prefer TCP instead of SCTP for establishing new connections.
|
||||
# This setting may be overwritten per peer in peer configuration blocs.
|
||||
# Default : SCTP is attempted first.
|
||||
#Prefer_TCP;
|
||||
|
||||
# Default number of streams per SCTP associations.
|
||||
# This setting may be overwritten per peer basis.
|
||||
# Default : 30 streams
|
||||
#SCTP_streams = 30;
|
||||
|
||||
##############################################################
|
||||
## Endpoint configuration
|
||||
|
||||
# Disable use of IP addresses (only IPv6)
|
||||
# Default : IP enabled
|
||||
#No_IP;
|
||||
|
||||
# Disable use of IPv6 addresses (only IP)
|
||||
# Default : IPv6 enabled
|
||||
#No_IPv6;
|
||||
|
||||
# Specify local addresses the server must bind to
|
||||
# Default : listen on all addresses available.
|
||||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "127.0.0.9";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Server configuration
|
||||
|
||||
# How many Diameter peers are allowed to be connecting at the same time ?
|
||||
# This parameter limits the number of incoming connections from the time
|
||||
# the connection is accepted until the first CER is received.
|
||||
# Default: 5 unidentified clients in paralel.
|
||||
#ThreadsPerServer = 5;
|
||||
|
||||
##############################################################
|
||||
## TLS Configuration
|
||||
|
||||
# TLS is managed by the GNUTLS library in the freeDiameter daemon.
|
||||
# You may find more information about parameters and special behaviors
|
||||
# in the relevant documentation.
|
||||
# http://www.gnu.org/software/gnutls/manual/
|
||||
|
||||
# Credentials of the local peer
|
||||
# The X509 certificate and private key file to use for the local peer.
|
||||
# The files must contain PKCS-1 encoded RSA key, in PEM format.
|
||||
# (These parameters are passed to gnutls_certificate_set_x509_key_file function)
|
||||
# Default : NO DEFAULT
|
||||
#TLS_Cred = "<x509 certif file.PEM>" , "<x509 private key file.PEM>";
|
||||
#TLS_Cred = "/etc/ssl/certs/freeDiameter.pem", "/etc/ssl/private/freeDiameter.key";
|
||||
TLS_Cred = "@sysconfdir@/freeDiameter/pcrf.cert.pem", "@sysconfdir@/freeDiameter/pcrf.key.pem";
|
||||
|
||||
# Certificate authority / trust anchors
|
||||
# The file containing the list of trusted Certificate Authorities (PEM list)
|
||||
# (This parameter is passed to gnutls_certificate_set_x509_trust_file function)
|
||||
# The directive can appear several times to specify several files.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CA = "<file.PEM>";
|
||||
TLS_CA = "@sysconfdir@/freeDiameter/cacert.pem";
|
||||
|
||||
# Certificate Revocation List file
|
||||
# The information about revoked certificates.
|
||||
# The file contains a list of trusted CRLs in PEM format. They should have been verified before.
|
||||
# (This parameter is passed to gnutls_certificate_set_x509_crl_file function)
|
||||
# Note: openssl CRL format might have interoperability issue with GNUTLS format.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CRL = "<file.PEM>";
|
||||
|
||||
# GNU TLS Priority string
|
||||
# This string allows to configure the behavior of GNUTLS key exchanges
|
||||
# algorithms. See gnutls_priority_init function documentation for information.
|
||||
# You should also refer to the Diameter required TLS support here:
|
||||
# http://tools.ietf.org/html/rfc6733#section-13.1
|
||||
# Default : "NORMAL"
|
||||
# Example: TLS_Prio = "NONE:+VERS-TLS1.1:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL";
|
||||
#TLS_Prio = "NORMAL";
|
||||
|
||||
# Diffie-Hellman parameters size
|
||||
# Set the number of bits for generated DH parameters
|
||||
# Valid value should be 768, 1024, 2048, 3072 or 4096.
|
||||
# (This parameter is passed to gnutls_dh_params_generate2 function,
|
||||
# it usually should match RSA key size)
|
||||
# Default : 1024
|
||||
#TLS_DH_Bits = 1024;
|
||||
|
||||
# Alternatively, you can specify a file to load the PKCS#3 encoded
|
||||
# DH parameters directly from. This accelerates the daemon start
|
||||
# but is slightly less secure. If this file is provided, the
|
||||
# TLS_DH_Bits parameters has no effect.
|
||||
# Default : no default.
|
||||
#TLS_DH_File = "<file.PEM>";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Timers configuration
|
||||
|
||||
# The Tc timer of this peer.
|
||||
# It is the delay before a new attempt is made to reconnect a disconnected peer.
|
||||
# The value is expressed in seconds. The recommended value is 30 seconds.
|
||||
# Default: 30
|
||||
#TcTimer = 30;
|
||||
|
||||
# The Tw timer of this peer.
|
||||
# It is the delay before a watchdog message is sent, as described in RFC 3539.
|
||||
# The value is expressed in seconds. The default value is 30 seconds. Value must
|
||||
# be greater or equal to 6 seconds. See details in the RFC.
|
||||
# Default: 30
|
||||
#TwTimer = 30;
|
||||
|
||||
##############################################################
|
||||
## Applications configuration
|
||||
|
||||
# Disable the relaying of Diameter messages?
|
||||
# For messages not handled locally, the default behavior is to forward the
|
||||
# message to another peer if any is available, according to the routing
|
||||
# algorithms. In addition the "0xffffff" application is advertised in CER/CEA
|
||||
# exchanges.
|
||||
# Default: Relaying is enabled.
|
||||
#NoRelay;
|
||||
NoRelay;
|
||||
|
||||
# Number of server threads that can handle incoming messages at the same time.
|
||||
# Default: 4
|
||||
#AppServThreads = 4;
|
||||
|
||||
# Other applications are configured by loaded extensions.
|
||||
|
||||
##############################################################
|
||||
## Extensions configuration
|
||||
|
||||
# The freeDiameter framework merely provides support for
|
||||
# Diameter Base Protocol. The specific application behaviors,
|
||||
# as well as advanced functions, are provided
|
||||
# by loadable extensions (plug-ins).
|
||||
# These extensions may in addition receive the name of a
|
||||
# configuration file, the format of which is extension-specific.
|
||||
#
|
||||
# Format:
|
||||
#LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
|
||||
#
|
||||
# Examples:
|
||||
#LoadExtension = "extensions/sample.fdx";
|
||||
#LoadExtension = "extensions/sample.fdx":"conf/sample.conf";
|
||||
|
||||
# Extensions are named as follow:
|
||||
# dict_* for extensions that add content to the dictionary definitions.
|
||||
# dbg_* for extensions useful only to retrieve more information on the framework execution.
|
||||
# acl_* : Access control list, to control which peers are allowed to connect.
|
||||
# rt_* : routing extensions that impact how messages are forwarded to other peers.
|
||||
# app_* : applications, these extensions usually register callbacks to handle specific messages.
|
||||
# test_* : dummy extensions that are useful only in testing environments.
|
||||
|
||||
|
||||
# The dbg_msg_dump.fdx extension allows you to tweak the way freeDiameter displays some
|
||||
# information about some events. This extension does not actually use a configuration file
|
||||
# but receives directly a parameter in the string passed to the extension. Here are some examples:
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x1111"; # Removes all default hooks, very quiet even in case of errors.
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x2222"; # Display all events with few details.
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x0080"; # Dump complete information about sent and received messages.
|
||||
# The four digits respectively control: connections, routing decisions, sent/received messages, errors.
|
||||
# The values for each digit are:
|
||||
# 0 - default - keep the default behavior
|
||||
# 1 - quiet - remove any specific log
|
||||
# 2 - compact - display only a summary of the information
|
||||
# 4 - full - display the complete information on a single long line
|
||||
# 8 - tree - display the complete information in an easier to read format spanning several lines.
|
||||
|
||||
LoadExtension = "@libdir@/freeDiameter/dbg_msg_dumps.fdx" : "0x8888";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_rfc5777.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_mip6i.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_nasreq.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_nas_mipv6.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_dcca.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_dcca_3gpp.fdx";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Peers configuration
|
||||
|
||||
# The local server listens for incoming connections. By default,
|
||||
# all unknown connecting peers are rejected. Extensions can override this behavior (e.g., acl_wl).
|
||||
#
|
||||
# In addition to incoming connections, the local peer can
|
||||
# be configured to establish and maintain connections to some
|
||||
# Diameter nodes and allow connections from these nodes.
|
||||
# This is achieved with the ConnectPeer directive described below.
|
||||
#
|
||||
# Note that the configured Diameter Identity MUST match
|
||||
# the information received inside CEA, or the connection will be aborted.
|
||||
#
|
||||
# Format:
|
||||
#ConnectPeer = "diameterid" [ { parameter1; parameter2; ...} ] ;
|
||||
# Parameters that can be specified in the peer's parameter list:
|
||||
# No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method;
|
||||
# No_TLS; # assume transparent security instead of TLS. DTLS is not supported yet (will change in future versions).
|
||||
# Port = 5868; # The port to connect to
|
||||
# TcTimer = 30;
|
||||
# TwTimer = 30;
|
||||
# ConnectTo = "202.249.37.5";
|
||||
# ConnectTo = "2001:200:903:2::202:1";
|
||||
# TLS_Prio = "NORMAL";
|
||||
# Realm = "realm.net"; # Reject the peer if it does not advertise this realm.
|
||||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "smf.localdomain" { ConnectTo = "127.0.0.4"; No_TLS; };
|
||||
|
||||
##############################################################
|
15
configs/freeDiameter/pcrf.key.pem
Normal file
15
configs/freeDiameter/pcrf.key.pem
Normal file
@@ -0,0 +1,15 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICWgIBAAKBgQC5H7OldN4xl6z6hh1lhse+sSUHAfNpIXpt7NfI7OLJ6HGhB84O
|
||||
aOUPqezzXl4+pOon8/plNi18zqhwzDTbUbIoewO/eAZhfESBF4j5yRbLLp8hSiQo
|
||||
Cg9272MPBaTuUmQfTwvsTmwbEkBDde1iFuxquhXdxLn6qd4sgPWExZfsewIDAQAB
|
||||
An8UP2NmtWGYCv7gZ8rPT+6I7Ncf7RayaPb7DuyLDV3At6u18SSYbuCe1fcUpz2n
|
||||
nGH//K9mYoaXIANMUwl083qIwxT0VbarpTCgiHT8afdISe6Bm8B8Xs0ITEikRHiG
|
||||
vmI/oCbCA1DkXZlf4jpQbGdet2DyxnJTXv+W9vDkqHOhAkEA74Y+MQgf3eaz/on9
|
||||
2I5S0kvFJxBYjkAcbkzHmytA5cT45KoCIF+6oPAnBoDkLq3fUotOgWzX2pnWHzMu
|
||||
+VLtrwJBAMXbhpxQflZ/4eqDYbD49ggVO8VJzl3Ch1B7ZvKW/b+6plRwsdHx0RFk
|
||||
xbwz02GuJbwf6UjVW1VyaQF6fgkdzPUCQQCYhK+nQxgfkV69zxpvwbilJhBFHph1
|
||||
BAfWiFd1y+YIKROfb03pVWuePS1sa7hgrOCOTBxSN39/OAPrXAkmQ5MLAkBbNSZp
|
||||
eoWy1ELNe4EWNr4b3cXu3WYfPKRqCmjbnZUdxCoWtNiUAlgxH3YzmuRvm/rTLRa6
|
||||
N3hh/FrBjrj49N7dAkA5SaCw2WFulgLRPA6QwfObrQEYkHgtF2++r9jhane5nfq3
|
||||
/kcrlFnfDfT7ITc32Hmvgj7wJud7w8ANukPXG7DU
|
||||
-----END RSA PRIVATE KEY-----
|
60
configs/freeDiameter/smf.cert.pem
Normal file
60
configs/freeDiameter/smf.cert.pem
Normal file
@@ -0,0 +1,60 @@
|
||||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 3 (0x3)
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
Issuer: CN=ca.localdomain, C=KO, ST=Seoul, L=Nowon, O=Open5GS, OU=Tests
|
||||
Validity
|
||||
Not Before: Aug 22 00:39:17 2020 GMT
|
||||
Not After : Aug 20 00:39:17 2030 GMT
|
||||
Subject: C=KO, ST=Seoul, O=Open5GS, OU=Tests, CN=smf.localdomain
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
RSA Public-Key: (1024 bit)
|
||||
Modulus:
|
||||
00:ad:d6:cb:88:33:51:23:72:f1:16:29:2a:df:b7:
|
||||
75:d7:38:9e:da:18:b6:27:73:a8:60:ec:04:8f:d0:
|
||||
cd:c6:2e:10:ff:bd:c3:c2:a3:d7:53:e7:9e:73:07:
|
||||
07:a9:59:16:b1:7f:92:79:4d:d8:ee:5a:c7:ed:ef:
|
||||
37:83:8a:7d:94:08:41:0b:34:68:27:a5:4b:7d:cb:
|
||||
29:fb:85:c0:21:6e:17:72:32:29:7a:28:be:94:31:
|
||||
56:d2:85:9f:4b:b1:33:6f:f9:eb:01:9c:e7:2f:68:
|
||||
94:6b:91:58:a7:80:04:94:3c:b3:19:96:91:31:f7:
|
||||
c4:81:98:2b:85:8f:5c:f0:fd
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
91:4B:EF:65:02:0D:C8:85:FA:4A:3F:29:C0:10:3C:1B:AE:E4:AD:A4
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:64:FB:C8:D7:A3:20:17:DC:A8:3A:AA:4B:2B:85:CD:BD:3E:53:4B:09
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
a3:6e:4f:00:bd:1a:62:b9:86:0f:35:f6:18:8d:15:61:a2:bc:
|
||||
05:07:f1:73:8d:70:6f:e1:34:f1:ae:87:26:87:13:0b:c8:d8:
|
||||
29:16:70:02:12:73:36:f9:de:43:26:12:7d:9f:d2:20:7c:e2:
|
||||
76:47:0b:14:ba:67:e5:5a:0d:22:3b:00:c8:35:ab:dd:b1:9a:
|
||||
e5:75:b0:86:89:02:15:32:b3:e9:48:c3:e0:38:e1:56:4c:fd:
|
||||
aa:12:96:00:6d:a6:c3:ab:b0:8c:4b:ab:b2:4c:c2:08:26:ab:
|
||||
d6:3f:26:95:4a:da:b8:dd:9a:f8:fe:b9:c2:e3:7a:a3:2f:2c:
|
||||
7f:df
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICsjCCAhugAwIBAgIBAzANBgkqhkiG9w0BAQsFADBoMRcwFQYDVQQDDA5jYS5s
|
||||
b2NhbGRvbWFpbjELMAkGA1UEBhMCS08xDjAMBgNVBAgMBVNlb3VsMQ4wDAYDVQQH
|
||||
DAVOb3dvbjEQMA4GA1UECgwHT3BlbjVHUzEOMAwGA1UECwwFVGVzdHMwHhcNMjAw
|
||||
ODIyMDAzOTE3WhcNMzAwODIwMDAzOTE3WjBZMQswCQYDVQQGEwJLTzEOMAwGA1UE
|
||||
CAwFU2VvdWwxEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsMBVRlc3RzMRgwFgYD
|
||||
VQQDDA9zbWYubG9jYWxkb21haW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
|
||||
AK3Wy4gzUSNy8RYpKt+3ddc4ntoYtidzqGDsBI/QzcYuEP+9w8Kj11PnnnMHB6lZ
|
||||
FrF/knlN2O5ax+3vN4OKfZQIQQs0aCelS33LKfuFwCFuF3IyKXoovpQxVtKFn0ux
|
||||
M2/56wGc5y9olGuRWKeABJQ8sxmWkTH3xIGYK4WPXPD9AgMBAAGjezB5MAkGA1Ud
|
||||
EwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmlj
|
||||
YXRlMB0GA1UdDgQWBBSRS+9lAg3IhfpKPynAEDwbruStpDAfBgNVHSMEGDAWgBRk
|
||||
+8jXoyAX3Kg6qksrhc29PlNLCTANBgkqhkiG9w0BAQsFAAOBgQCjbk8AvRpiuYYP
|
||||
NfYYjRVhorwFB/FzjXBv4TTxrocmhxMLyNgpFnACEnM2+d5DJhJ9n9IgfOJ2RwsU
|
||||
umflWg0iOwDINavdsZrldbCGiQIVMrPpSMPgOOFWTP2qEpYAbabDq7CMS6uyTMII
|
||||
JqvWPyaVStq43Zr4/rnC43qjLyx/3w==
|
||||
-----END CERTIFICATE-----
|
267
configs/freeDiameter/smf.conf.in
Normal file
267
configs/freeDiameter/smf.conf.in
Normal file
@@ -0,0 +1,267 @@
|
||||
# This is a sample configuration file for freeDiameter daemon.
|
||||
|
||||
# Most of the options can be omitted, as they default to reasonable values.
|
||||
# Only TLS-related options must be configured properly in usual setups.
|
||||
|
||||
# It is possible to use "include" keyword to import additional files
|
||||
# e.g.: include "/etc/freeDiameter.d/*.conf"
|
||||
# This is exactly equivalent as copy & paste the content of the included file(s)
|
||||
# where the "include" keyword is found.
|
||||
|
||||
|
||||
##############################################################
|
||||
## Peer identity and realm
|
||||
|
||||
# The Diameter Identity of this daemon.
|
||||
# This must be a valid FQDN that resolves to the local host.
|
||||
# Default: hostname's FQDN
|
||||
#Identity = "aaa.koganei.freediameter.net";
|
||||
Identity = "smf.localdomain";
|
||||
|
||||
# The Diameter Realm of this daemon.
|
||||
# Default: the domain part of Identity (after the first dot).
|
||||
#Realm = "koganei.freediameter.net";
|
||||
Realm = "localdomain";
|
||||
|
||||
##############################################################
|
||||
## Transport protocol configuration
|
||||
|
||||
# The port this peer is listening on for incoming connections (TCP and SCTP).
|
||||
# Default: 3868. Use 0 to disable.
|
||||
#Port = 3868;
|
||||
|
||||
# The port this peer is listening on for incoming TLS-protected connections (TCP and SCTP).
|
||||
# See TLS_old_method for more information about TLS flavours.
|
||||
# Note: we use TLS/SCTP instead of DTLS/SCTP at the moment. This will change in future version of freeDiameter.
|
||||
# Default: 5868. Use 0 to disable.
|
||||
#SecPort = 5868;
|
||||
|
||||
# Use RFC3588 method for TLS protection, where TLS is negociated after CER/CEA exchange is completed
|
||||
# on the unsecure connection. The alternative is RFC6733 mechanism, where TLS protects also the
|
||||
# CER/CEA exchange on a dedicated secure port.
|
||||
# This parameter only affects outgoing connections.
|
||||
# The setting can be also defined per-peer (see Peers configuration section).
|
||||
# Default: use RFC6733 method with separate port for TLS.
|
||||
#TLS_old_method;
|
||||
|
||||
# Disable use of TCP protocol (only listen and connect over SCTP)
|
||||
# Default : TCP enabled
|
||||
#No_TCP;
|
||||
|
||||
# Disable use of SCTP protocol (only listen and connect over TCP)
|
||||
# Default : SCTP enabled
|
||||
#No_SCTP;
|
||||
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||
|
||||
# Prefer TCP instead of SCTP for establishing new connections.
|
||||
# This setting may be overwritten per peer in peer configuration blocs.
|
||||
# Default : SCTP is attempted first.
|
||||
#Prefer_TCP;
|
||||
|
||||
# Default number of streams per SCTP associations.
|
||||
# This setting may be overwritten per peer basis.
|
||||
# Default : 30 streams
|
||||
#SCTP_streams = 30;
|
||||
|
||||
##############################################################
|
||||
## Endpoint configuration
|
||||
|
||||
# Disable use of IP addresses (only IPv6)
|
||||
# Default : IP enabled
|
||||
#No_IP;
|
||||
|
||||
# Disable use of IPv6 addresses (only IP)
|
||||
# Default : IPv6 enabled
|
||||
#No_IPv6;
|
||||
|
||||
# Specify local addresses the server must bind to
|
||||
# Default : listen on all addresses available.
|
||||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "127.0.0.4";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Server configuration
|
||||
|
||||
# How many Diameter peers are allowed to be connecting at the same time ?
|
||||
# This parameter limits the number of incoming connections from the time
|
||||
# the connection is accepted until the first CER is received.
|
||||
# Default: 5 unidentified clients in paralel.
|
||||
#ThreadsPerServer = 5;
|
||||
|
||||
##############################################################
|
||||
## TLS Configuration
|
||||
|
||||
# TLS is managed by the GNUTLS library in the freeDiameter daemon.
|
||||
# You may find more information about parameters and special behaviors
|
||||
# in the relevant documentation.
|
||||
# http://www.gnu.org/software/gnutls/manual/
|
||||
|
||||
# Credentials of the local peer
|
||||
# The X509 certificate and private key file to use for the local peer.
|
||||
# The files must contain PKCS-1 encoded RSA key, in PEM format.
|
||||
# (These parameters are passed to gnutls_certificate_set_x509_key_file function)
|
||||
# Default : NO DEFAULT
|
||||
#TLS_Cred = "<x509 certif file.PEM>" , "<x509 private key file.PEM>";
|
||||
#TLS_Cred = "/etc/ssl/certs/freeDiameter.pem", "/etc/ssl/private/freeDiameter.key";
|
||||
TLS_Cred = "@sysconfdir@/freeDiameter/smf.cert.pem", "@sysconfdir@/freeDiameter/smf.key.pem";
|
||||
|
||||
# Certificate authority / trust anchors
|
||||
# The file containing the list of trusted Certificate Authorities (PEM list)
|
||||
# (This parameter is passed to gnutls_certificate_set_x509_trust_file function)
|
||||
# The directive can appear several times to specify several files.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CA = "<file.PEM>";
|
||||
TLS_CA = "@sysconfdir@/freeDiameter/cacert.pem";
|
||||
|
||||
# Certificate Revocation List file
|
||||
# The information about revoked certificates.
|
||||
# The file contains a list of trusted CRLs in PEM format. They should have been verified before.
|
||||
# (This parameter is passed to gnutls_certificate_set_x509_crl_file function)
|
||||
# Note: openssl CRL format might have interoperability issue with GNUTLS format.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CRL = "<file.PEM>";
|
||||
|
||||
# GNU TLS Priority string
|
||||
# This string allows to configure the behavior of GNUTLS key exchanges
|
||||
# algorithms. See gnutls_priority_init function documentation for information.
|
||||
# You should also refer to the Diameter required TLS support here:
|
||||
# http://tools.ietf.org/html/rfc6733#section-13.1
|
||||
# Default : "NORMAL"
|
||||
# Example: TLS_Prio = "NONE:+VERS-TLS1.1:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL";
|
||||
#TLS_Prio = "NORMAL";
|
||||
|
||||
# Diffie-Hellman parameters size
|
||||
# Set the number of bits for generated DH parameters
|
||||
# Valid value should be 768, 1024, 2048, 3072 or 4096.
|
||||
# (This parameter is passed to gnutls_dh_params_generate2 function,
|
||||
# it usually should match RSA key size)
|
||||
# Default : 1024
|
||||
#TLS_DH_Bits = 1024;
|
||||
|
||||
# Alternatively, you can specify a file to load the PKCS#3 encoded
|
||||
# DH parameters directly from. This accelerates the daemon start
|
||||
# but is slightly less secure. If this file is provided, the
|
||||
# TLS_DH_Bits parameters has no effect.
|
||||
# Default : no default.
|
||||
#TLS_DH_File = "<file.PEM>";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Timers configuration
|
||||
|
||||
# The Tc timer of this peer.
|
||||
# It is the delay before a new attempt is made to reconnect a disconnected peer.
|
||||
# The value is expressed in seconds. The recommended value is 30 seconds.
|
||||
# Default: 30
|
||||
#TcTimer = 30;
|
||||
|
||||
# The Tw timer of this peer.
|
||||
# It is the delay before a watchdog message is sent, as described in RFC 3539.
|
||||
# The value is expressed in seconds. The default value is 30 seconds. Value must
|
||||
# be greater or equal to 6 seconds. See details in the RFC.
|
||||
# Default: 30
|
||||
#TwTimer = 30;
|
||||
|
||||
##############################################################
|
||||
## Applications configuration
|
||||
|
||||
# Disable the relaying of Diameter messages?
|
||||
# For messages not handled locally, the default behavior is to forward the
|
||||
# message to another peer if any is available, according to the routing
|
||||
# algorithms. In addition the "0xffffff" application is advertised in CER/CEA
|
||||
# exchanges.
|
||||
# Default: Relaying is enabled.
|
||||
#NoRelay;
|
||||
NoRelay;
|
||||
|
||||
# Number of server threads that can handle incoming messages at the same time.
|
||||
# Default: 4
|
||||
#AppServThreads = 4;
|
||||
|
||||
# Other applications are configured by loaded extensions.
|
||||
|
||||
##############################################################
|
||||
## Extensions configuration
|
||||
|
||||
# The freeDiameter framework merely provides support for
|
||||
# Diameter Base Protocol. The specific application behaviors,
|
||||
# as well as advanced functions, are provided
|
||||
# by loadable extensions (plug-ins).
|
||||
# These extensions may in addition receive the name of a
|
||||
# configuration file, the format of which is extension-specific.
|
||||
#
|
||||
# Format:
|
||||
#LoadExtension = "/path/to/extension" [ : "/optional/configuration/file" ] ;
|
||||
#
|
||||
# Examples:
|
||||
#LoadExtension = "extensions/sample.fdx";
|
||||
#LoadExtension = "extensions/sample.fdx":"conf/sample.conf";
|
||||
|
||||
# Extensions are named as follow:
|
||||
# dict_* for extensions that add content to the dictionary definitions.
|
||||
# dbg_* for extensions useful only to retrieve more information on the framework execution.
|
||||
# acl_* : Access control list, to control which peers are allowed to connect.
|
||||
# rt_* : routing extensions that impact how messages are forwarded to other peers.
|
||||
# app_* : applications, these extensions usually register callbacks to handle specific messages.
|
||||
# test_* : dummy extensions that are useful only in testing environments.
|
||||
|
||||
|
||||
# The dbg_msg_dump.fdx extension allows you to tweak the way freeDiameter displays some
|
||||
# information about some events. This extension does not actually use a configuration file
|
||||
# but receives directly a parameter in the string passed to the extension. Here are some examples:
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x1111"; # Removes all default hooks, very quiet even in case of errors.
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x2222"; # Display all events with few details.
|
||||
## LoadExtension = "dbg_msg_dumps.fdx" : "0x0080"; # Dump complete information about sent and received messages.
|
||||
# The four digits respectively control: connections, routing decisions, sent/received messages, errors.
|
||||
# The values for each digit are:
|
||||
# 0 - default - keep the default behavior
|
||||
# 1 - quiet - remove any specific log
|
||||
# 2 - compact - display only a summary of the information
|
||||
# 4 - full - display the complete information on a single long line
|
||||
# 8 - tree - display the complete information in an easier to read format spanning several lines.
|
||||
|
||||
LoadExtension = "@libdir@/freeDiameter/dbg_msg_dumps.fdx" : "0x8888";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_rfc5777.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_mip6i.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_nasreq.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_nas_mipv6.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_dcca.fdx";
|
||||
LoadExtension = "@libdir@/freeDiameter/dict_dcca_3gpp.fdx";
|
||||
|
||||
|
||||
##############################################################
|
||||
## Peers configuration
|
||||
|
||||
# The local server listens for incoming connections. By default,
|
||||
# all unknown connecting peers are rejected. Extensions can override this behavior (e.g., acl_wl).
|
||||
#
|
||||
# In addition to incoming connections, the local peer can
|
||||
# be configured to establish and maintain connections to some
|
||||
# Diameter nodes and allow connections from these nodes.
|
||||
# This is achieved with the ConnectPeer directive described below.
|
||||
#
|
||||
# Note that the configured Diameter Identity MUST match
|
||||
# the information received inside CEA, or the connection will be aborted.
|
||||
#
|
||||
# Format:
|
||||
#ConnectPeer = "diameterid" [ { parameter1; parameter2; ...} ] ;
|
||||
# Parameters that can be specified in the peer's parameter list:
|
||||
# No_TCP; No_SCTP; No_IP; No_IPv6; Prefer_TCP; TLS_old_method;
|
||||
# No_TLS; # assume transparent security instead of TLS. DTLS is not supported yet (will change in future versions).
|
||||
# Port = 5868; # The port to connect to
|
||||
# TcTimer = 30;
|
||||
# TwTimer = 30;
|
||||
# ConnectTo = "202.249.37.5";
|
||||
# ConnectTo = "2001:200:903:2::202:1";
|
||||
# TLS_Prio = "NORMAL";
|
||||
# Realm = "realm.net"; # Reject the peer if it does not advertise this realm.
|
||||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "pcrf.localdomain" { ConnectTo = "127.0.0.9"; No_TLS; };
|
||||
|
||||
|
||||
##############################################################
|
15
configs/freeDiameter/smf.key.pem
Normal file
15
configs/freeDiameter/smf.key.pem
Normal file
@@ -0,0 +1,15 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXAIBAAKBgQCt1suIM1EjcvEWKSrft3XXOJ7aGLYnc6hg7ASP0M3GLhD/vcPC
|
||||
o9dT555zBwepWRaxf5J5TdjuWsft7zeDin2UCEELNGgnpUt9yyn7hcAhbhdyMil6
|
||||
KL6UMVbShZ9LsTNv+esBnOcvaJRrkVingASUPLMZlpEx98SBmCuFj1zw/QIDAQAB
|
||||
AoGAV1x1hmn7oav22mMv56PD9be/pOz8RZFLEgIqPLf7YVfvNQaBpYQ/ByyEJVxo
|
||||
DkP2Mpdg3dMwbIB0ru8j39guSO0evsCG95u5L3lUMLFh/+WTt4W0g4+9y0qD1dUy
|
||||
y7kk+gKLlbPvyRNr+CiEnpz/rxdWC3J+tVBsWJGNjBGtZWECQQDdn5q7FUrF6HHQ
|
||||
O5iJYCbeL+Xn4Ajwrr4M9OeGhMz4pTTtE45jjGi2ykFa9TJFMqjLuClBXw5FkIOe
|
||||
S4unTO7JAkEAyM268Z558xHHnRl6uEN1NrqqpdXtZYnK9lm4/kZRs2mKm/98fjf0
|
||||
GiHwiKqONP7si4ARE2Ws1wKmXmCe0nNGlQJBAMw8KFCd95FYe4IlWZXHySnaxCki
|
||||
WbrLnhK8opxhx66gOJz996sfmuRQkVfsPE5uuAU9Cq/WlIVg/xoijmk3yZkCQEFu
|
||||
YCsZM62TrpKvWcCvIoOZ4b817Sw38S3C4LfiW/71NhhM8NkEDINzabhusvXr11JB
|
||||
gc7rQ52wHFwGadoze90CQF9qOBatpIFlEDkhzKofRILCWIzSrfhFdcCZqe6K8G10
|
||||
ngbk3Xg3I0I+qWViDivOm689SC9xniF7wJ1XH0BRBKE=
|
||||
-----END RSA PRIVATE KEY-----
|
19
configs/logrotate/meson.build
Normal file
19
configs/logrotate/meson.build
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
# This file is part of Open5GS.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
file = 'open5gs'
|
||||
configure_file(input : file + '.in', output : file, configuration : conf_data)
|
14
configs/logrotate/open5gs.in
Normal file
14
configs/logrotate/open5gs.in
Normal file
@@ -0,0 +1,14 @@
|
||||
@localstatedir@/log/open5gs/*.log {
|
||||
daily
|
||||
sharedscripts
|
||||
missingok
|
||||
compress
|
||||
rotate 14
|
||||
create 640 open5gs open5gs
|
||||
|
||||
postrotate
|
||||
for i in nrfd pcrfd hssd ausfd udmd udrd upfd sgwcd sgwud smfd mmed amfd; do
|
||||
systemctl reload open5gs-$i
|
||||
done
|
||||
endscript
|
||||
}
|
52
configs/meson.build
Normal file
52
configs/meson.build
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
# This file is part of Open5GS.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
conf_data = configuration_data()
|
||||
|
||||
conf_data.set('bindir', bindir)
|
||||
conf_data.set('sysconfdir', sysconfdir)
|
||||
conf_data.set('libdir', libdir)
|
||||
conf_data.set('localstatedir', localstatedir)
|
||||
|
||||
freediameter_extensions_builddir = join_paths(
|
||||
meson.build_root(), 'subprojects', 'freeDiameter', 'extensions')
|
||||
conf_data.set('freediameter_extensions_builddir',
|
||||
freediameter_extensions_builddir)
|
||||
|
||||
example_conf = '''
|
||||
sample.yaml
|
||||
310014.yaml
|
||||
csfb.yaml
|
||||
volte.yaml
|
||||
vonr.yaml
|
||||
slice.yaml
|
||||
srslte.yaml
|
||||
non3gpp.yaml
|
||||
'''.split()
|
||||
|
||||
foreach file : example_conf
|
||||
gen = configure_file(
|
||||
input : file + '.in',
|
||||
output : file,
|
||||
configuration : conf_data)
|
||||
endforeach
|
||||
|
||||
subdir('open5gs')
|
||||
subdir('freeDiameter')
|
||||
subdir('systemd')
|
||||
subdir('logrotate')
|
||||
subdir('newsyslog')
|
19
configs/newsyslog/meson.build
Normal file
19
configs/newsyslog/meson.build
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
# This file is part of Open5GS.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
file = 'open5gs.conf'
|
||||
configure_file(input : file + '.in', output : file, configuration : conf_data)
|
15
configs/newsyslog/open5gs.conf.in
Normal file
15
configs/newsyslog/open5gs.conf.in
Normal file
@@ -0,0 +1,15 @@
|
||||
# truncate rails logs every day at midnight, keep 14 previous logs, compress previous logs
|
||||
#
|
||||
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
|
||||
@localstatedir@/log/open5gs/nrf.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-nrfd/pid`
|
||||
@localstatedir@/log/open5gs/pcrf.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-pcrfd/pid`
|
||||
@localstatedir@/log/open5gs/hss.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-hssd/pid`
|
||||
@localstatedir@/log/open5gs/ausf.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-ausfd/pid`
|
||||
@localstatedir@/log/open5gs/udm.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-udmd/pid`
|
||||
@localstatedir@/log/open5gs/udr.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-udrd/pid`
|
||||
@localstatedir@/log/open5gs/upf.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-upfd/pid`
|
||||
@localstatedir@/log/open5gs/sgwc.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-sgwcd/pid`
|
||||
@localstatedir@/log/open5gs/sgwu.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-sgwud/pid`
|
||||
@localstatedir@/log/open5gs/smf.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-smfd/pid`
|
||||
@localstatedir@/log/open5gs/mme.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-mmed/pid`
|
||||
@localstatedir@/log/open5gs/amf.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-amfd/pid`
|
233
configs/non3gpp.yaml.in
Normal file
233
configs/non3gpp.yaml.in
Normal file
@@ -0,0 +1,233 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
# no_nrf: true
|
||||
# no_amf: true
|
||||
# no_smf: true
|
||||
# no_upf: true
|
||||
# no_ausf: true
|
||||
# no_udm: true
|
||||
# no_pcf: true
|
||||
# no_nssf: true
|
||||
# no_bsf: true
|
||||
# no_udr: true
|
||||
# no_mme: true
|
||||
# no_sgwc: true
|
||||
# no_sgwu: true
|
||||
# no_pcrf: true
|
||||
# no_hss: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.8
|
||||
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
smf:
|
||||
sbi:
|
||||
- addr: 127.0.0.4
|
||||
port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
freeDiameter:
|
||||
identity: smf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.9
|
||||
- identity: aaa.localdomain
|
||||
addr: 127.0.0.1
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1, NIA0 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.8
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
- identity: aaa.localdomain
|
||||
addr: 127.0.0.1
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.9
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: smf.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
374
configs/open5gs/amf.yaml.in
Normal file
374
configs/open5gs/amf.yaml.in
Normal file
@@ -0,0 +1,374 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,ngap,nas,gmm,sbi,amf,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/amf.log
|
||||
#
|
||||
# amf:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:80)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# - tls:
|
||||
# key: amf.key
|
||||
# pem: amf.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.5:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.5
|
||||
# tls:
|
||||
# key: amf.key
|
||||
# pem: amf.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://amf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - name: amf.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.5:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.5
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
#
|
||||
# o Provide custom SBI address to be advertised to NRF
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
# advertise: open5gs-amf.svc.local
|
||||
#
|
||||
# sbi:
|
||||
# - addr: localhost
|
||||
# advertise:
|
||||
# - 127.0.0.99
|
||||
# - ::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.5
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
# <NGAP Server>>
|
||||
#
|
||||
# o NGAP Server(all address avaiable)
|
||||
# ngap:
|
||||
#
|
||||
# o NGAP Server(0.0.0.0:38412)
|
||||
# ngap:
|
||||
# addr: 0.0.0.0
|
||||
#
|
||||
# o NGAP Server(127.0.0.5:38412, [::1]:38412)
|
||||
# ngap:
|
||||
# - addr: 127.0.0.5
|
||||
# - addr: ::1
|
||||
#
|
||||
# o NGAP Server(different port)
|
||||
# ngap:
|
||||
# - addr: 127.0.0.5
|
||||
# port: 38413
|
||||
#
|
||||
# o NGAP Server(address avaiable in `eth0` interface)
|
||||
# ngap:
|
||||
# dev: eth0
|
||||
#
|
||||
# o NGAP Option (Default)
|
||||
# - sctp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# ngap:
|
||||
# addr: 127.0.0.5
|
||||
# option:
|
||||
# stcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
# o NGAP SCTP Option (Default)
|
||||
# - spp_hbinterval : 5000 (5secs)
|
||||
# - spp_sackdelay : 200 (200ms)
|
||||
# - srto_initial : 3000 (3secs)
|
||||
# - srto_min : 1000 (1sec)
|
||||
# - srto_max : 5000 (5secs)
|
||||
# - sinit_num_ostreams : 30
|
||||
# - sinit_max_instreams : 65535
|
||||
# - sinit_max_attempts : 4
|
||||
# - sinit_max_init_timeo : 8000(8secs)
|
||||
#
|
||||
# ngap:
|
||||
# addr: 127.0.0.5
|
||||
# option:
|
||||
# sctp:
|
||||
# spp_hbinterval : 5000
|
||||
# spp_sackdelay : 200
|
||||
# srto_initial : 3000
|
||||
# srto_min : 1000
|
||||
# srto_max : 5000
|
||||
# sinit_num_ostreams : 30
|
||||
# sinit_max_instreams : 65535
|
||||
# sinit_max_attempts : 4
|
||||
# sinit_max_init_timeo : 8000
|
||||
#
|
||||
# <GUAMI>
|
||||
#
|
||||
# o Multiple GUAMI
|
||||
# guami:
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# amf_id:
|
||||
# region: 2
|
||||
# set: 1
|
||||
# pointer: 4
|
||||
# - plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# amf_id:
|
||||
# region: 5
|
||||
# set: 2
|
||||
#
|
||||
# <TAI>
|
||||
#
|
||||
# o Multiple TAI
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# tac: [1, 2, 3]
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 002
|
||||
# mnc: 02
|
||||
# tac: 4
|
||||
# - plmn_id:
|
||||
# mcc: 003
|
||||
# mnc: 03
|
||||
# tac: 5
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 004
|
||||
# mnc: 04
|
||||
# tac: [6, 7]
|
||||
# - plmn_id:
|
||||
# mcc: 005
|
||||
# mnc: 05
|
||||
# tac: 8
|
||||
# - plmn_id:
|
||||
# mcc: 006
|
||||
# mnc: 06
|
||||
# tac: [9, 10]
|
||||
#
|
||||
# <PLMN Support>
|
||||
#
|
||||
# o Multiple PLMN Support
|
||||
# plmn_support:
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# s_nssai:
|
||||
# - sst: 1
|
||||
# sd: 010000
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# s_nssai:
|
||||
# - sst: 1
|
||||
#
|
||||
# <Network Name>
|
||||
#
|
||||
# network_name:
|
||||
# full: Open5GS
|
||||
# short: Next
|
||||
#
|
||||
# <AMF Name>
|
||||
#
|
||||
# amf_name: amf1.open5gs.amf.5gc.mnc70.mcc901.3gppnetwork.org
|
||||
#
|
||||
# <Relative Capacity> - Default(255)
|
||||
#
|
||||
# relative_capacity: 100
|
||||
#
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1, NIA0 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Client>>
|
||||
#
|
||||
# o SBI Client(http://127.0.0.10:7777)
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Client(https://127.0.0.10:443, http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Client(http://[fd69:f21d:873c:fa::1]:80)
|
||||
# If prefer_ipv4 is true, http://127.0.0.10:80 is selected.
|
||||
#
|
||||
# sbi:
|
||||
# addr:
|
||||
# - 127.0.0.10
|
||||
# - fd69:f21d:873c:fa::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# usrsctp:
|
||||
# udp_port : 9899
|
||||
#
|
||||
usrsctp:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 0)
|
||||
# NFs will not send heart-beat timer in NFProfile
|
||||
# NRF will send heart-beat timer in NFProfile
|
||||
#
|
||||
# o NF Instance Heartbeat (20 seconds)
|
||||
# NFs will send heart-beat timer (20 seconds) in NFProfile
|
||||
# NRF can change heart-beat timer in NFProfile
|
||||
#
|
||||
# nf_instance:
|
||||
# heartbeat: 20
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
#
|
||||
# o Handover Wait Duration (Default : 300 ms)
|
||||
# Time to wait for AMF to send UEContextReleaseCommand
|
||||
# to the source gNB after receiving HandoverNotify
|
||||
#
|
||||
# o Handover Wait Duration (500ms)
|
||||
# handover:
|
||||
# duration: 500
|
||||
time:
|
||||
|
||||
#
|
||||
# metrics:
|
||||
#
|
||||
# <Metrics Server>
|
||||
#
|
||||
# o Metrics Server(http://<any address>:9090)
|
||||
# metrics:
|
||||
# addr: 0.0.0.0
|
||||
# port: 9090
|
||||
#
|
||||
metrics:
|
||||
addr: 0.0.0.0
|
||||
port: 9090
|
181
configs/open5gs/ausf.yaml.in
Normal file
181
configs/open5gs/ausf.yaml.in
Normal file
@@ -0,0 +1,181 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,sbi,ausf,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/ausf.log
|
||||
#
|
||||
# ausf:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:80)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# - tls:
|
||||
# key: ausf.key
|
||||
# pem: ausf.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.11:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.11
|
||||
# tls:
|
||||
# key: ausf.key
|
||||
# pem: ausf.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://ausf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - name: ausf.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.11:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.11
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
#
|
||||
# o Provide custom SBI address to be advertised to NRF
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
# advertise: open5gs-ausf.svc.local
|
||||
#
|
||||
# sbi:
|
||||
# - addr: localhost
|
||||
# advertise:
|
||||
# - 127.0.0.99
|
||||
# - ::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.11
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Client>>
|
||||
#
|
||||
# o SBI Client(http://127.0.0.10:7777)
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Client(https://127.0.0.10:443, http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Client(http://[fd69:f21d:873c:fa::1]:80)
|
||||
# If prefer_ipv4 is true, http://127.0.0.10:80 is selected.
|
||||
#
|
||||
# sbi:
|
||||
# addr:
|
||||
# - 127.0.0.10
|
||||
# - fd69:f21d:873c:fa::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 0)
|
||||
# NFs will not send heart-beat timer in NFProfile
|
||||
# NRF will send heart-beat timer in NFProfile
|
||||
#
|
||||
# o NF Instance Heartbeat (20 seconds)
|
||||
# NFs will send heart-beat timer (20 seconds) in NFProfile
|
||||
# NRF can change heart-beat timer in NFProfile
|
||||
#
|
||||
# nf_instance:
|
||||
# heartbeat: 20
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
183
configs/open5gs/bsf.yaml.in
Normal file
183
configs/open5gs/bsf.yaml.in
Normal file
@@ -0,0 +1,183 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,sbi,bsf,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/bsf.log
|
||||
#
|
||||
# bsf:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:80)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# - tls:
|
||||
# key: bsf.key
|
||||
# pem: bsf.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.15:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.15
|
||||
# tls:
|
||||
# key: bsf.key
|
||||
# pem: bsf.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://bsf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - name: bsf.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.15:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.15
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
#
|
||||
# o Provide custom SBI address to be advertised to NRF
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
# advertise: open5gs-bsf.svc.local
|
||||
#
|
||||
# sbi:
|
||||
# - addr: localhost
|
||||
# advertise:
|
||||
# - 127.0.0.99
|
||||
# - ::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.15
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Client>>
|
||||
#
|
||||
# o SBI Client(http://127.0.0.10:7777)
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Client(https://127.0.0.10:443, http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Client(http://[fd69:f21d:873c:fa::1]:80)
|
||||
# If prefer_ipv4 is true, http://127.0.0.10:80 is selected.
|
||||
#
|
||||
# sbi:
|
||||
# addr:
|
||||
# - 127.0.0.10
|
||||
# - fd69:f21d:873c:fa::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 0)
|
||||
# NFs will not send heart-beat timer in NFProfile
|
||||
# NRF will send heart-beat timer in NFProfile
|
||||
#
|
||||
# o NF Instance Heartbeat (20 seconds)
|
||||
# NFs will send heart-beat timer (20 seconds) in NFProfile
|
||||
# NRF can change heart-beat timer in NFProfile
|
||||
#
|
||||
# nf_instance:
|
||||
# heartbeat: 20
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
53
configs/open5gs/hss.yaml.in
Normal file
53
configs/open5gs/hss.yaml.in
Normal file
@@ -0,0 +1,53 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,fd,hss,event,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/hss.log
|
||||
|
||||
hss:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/hss.conf
|
||||
|
||||
# sms_over_ims: "sip:smsc.mnc001.mcc001.3gppnetwork.org:7060;transport=tcp"
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
47
configs/open5gs/meson.build
Normal file
47
configs/open5gs/meson.build
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
# This file is part of Open5GS.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
open5gs_sysconfdir = join_paths(sysconfdir, 'open5gs')
|
||||
meson.add_install_script(python3_exe, '-c',
|
||||
mkdir_p.format(open5gs_sysconfdir))
|
||||
|
||||
open5gs_conf = '''
|
||||
mme.yaml
|
||||
sgwc.yaml
|
||||
sgwu.yaml
|
||||
smf.yaml
|
||||
amf.yaml
|
||||
upf.yaml
|
||||
hss.yaml
|
||||
pcrf.yaml
|
||||
nrf.yaml
|
||||
ausf.yaml
|
||||
udm.yaml
|
||||
udr.yaml
|
||||
pcf.yaml
|
||||
nssf.yaml
|
||||
bsf.yaml
|
||||
'''.split()
|
||||
|
||||
foreach file : open5gs_conf
|
||||
gen = configure_file(
|
||||
input : file + '.in',
|
||||
output : file,
|
||||
configuration : conf_data)
|
||||
meson.add_install_script(python3_exe, '-c',
|
||||
install_conf.format(gen, open5gs_sysconfdir))
|
||||
endforeach
|
437
configs/open5gs/mme.yaml.in
Normal file
437
configs/open5gs/mme.yaml.in
Normal file
@@ -0,0 +1,437 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,s1ap,nas,fd,gtp,mme,emm,esm,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/mme.log
|
||||
|
||||
#
|
||||
# mme:
|
||||
#
|
||||
# <S1AP Server>>
|
||||
#
|
||||
# o S1AP Server(all address avaiable)
|
||||
# s1ap:
|
||||
#
|
||||
# o S1AP Server(0.0.0.0:36412)
|
||||
# s1ap:
|
||||
# addr: 0.0.0.0
|
||||
#
|
||||
# o S1AP Server(127.0.0.2:36412, [::1]:36412)
|
||||
# s1ap:
|
||||
# - addr: 127.0.0.2
|
||||
# - addr: ::1
|
||||
#
|
||||
# o S1AP Server(different port)
|
||||
# s1ap:
|
||||
# - addr: 127.0.0.2
|
||||
# port: 36413
|
||||
#
|
||||
# o S1AP Server(address avaiable in `eth0` interface)
|
||||
# s1ap:
|
||||
# dev: eth0
|
||||
#
|
||||
# o S1AP Option (Default)
|
||||
# - sctp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# s1ap:
|
||||
# addr: 127.0.0.2
|
||||
# option:
|
||||
# stcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
# o S1AP SCTP Option (Default)
|
||||
# - spp_hbinterval : 5000 (5secs)
|
||||
# - spp_sackdelay : 200 (200ms)
|
||||
# - srto_initial : 3000 (3secs)
|
||||
# - srto_min : 1000 (1sec)
|
||||
# - srto_max : 5000 (5secs)
|
||||
# - sinit_num_ostreams : 30
|
||||
# - sinit_max_instreams : 65535
|
||||
# - sinit_max_attempts : 4
|
||||
# - sinit_max_init_timeo : 8000(8secs)
|
||||
#
|
||||
# s1ap:
|
||||
# addr: 127.0.0.2
|
||||
# option:
|
||||
# sctp:
|
||||
# spp_hbinterval : 5000
|
||||
# spp_sackdelay : 200
|
||||
# srto_initial : 3000
|
||||
# srto_min : 1000
|
||||
# srto_max : 5000
|
||||
# sinit_num_ostreams : 30
|
||||
# sinit_max_instreams : 65535
|
||||
# sinit_max_attempts : 4
|
||||
# sinit_max_init_timeo : 8000
|
||||
#
|
||||
# <GTP-C Server>>
|
||||
#
|
||||
# o GTP-C Server(all address avaiable)
|
||||
# gtpc:
|
||||
#
|
||||
# o GTP-C Server(127.0.0.2:2123, [::1]:2123)
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.2
|
||||
# - addr: ::1
|
||||
#
|
||||
# <SGsAP>
|
||||
#
|
||||
# o Single MSC/VLR(127.0.0.2)
|
||||
# sgsap:
|
||||
# addr: 127.0.0.2
|
||||
# map:
|
||||
# tai:
|
||||
# plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# tac: 4130
|
||||
# lai:
|
||||
# plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# lac: 43690
|
||||
# map:
|
||||
# tai:
|
||||
# plmn_id:
|
||||
# mcc: 002
|
||||
# mnc: 02
|
||||
# tac: 4132
|
||||
# lai:
|
||||
# plmn_id:
|
||||
# mcc: 002
|
||||
# mnc: 02
|
||||
# lac: 43692
|
||||
#
|
||||
# o Multiple MSC/VLR
|
||||
# sgsap:
|
||||
# - addr: 127.0.0.2
|
||||
# port: 29119
|
||||
# map:
|
||||
# tai:
|
||||
# plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# tac: 4131
|
||||
# lai:
|
||||
# plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# lac: 43691
|
||||
# map:
|
||||
# tai:
|
||||
# plmn_id:
|
||||
# mcc: 002
|
||||
# mnc: 02
|
||||
# tac: 4132
|
||||
# lai:
|
||||
# plmn_id:
|
||||
# mcc: 002
|
||||
# mnc: 02
|
||||
# lac: 43692
|
||||
# - addr
|
||||
# - 127.0.0.4
|
||||
# - fd69:f21d:873c:fa::2
|
||||
# map:
|
||||
# tai:
|
||||
# plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# tac: 4132
|
||||
# lai:
|
||||
# plmn_id:
|
||||
# mcc: 002
|
||||
# mnc: 02
|
||||
# lac: 43692
|
||||
# - name: msc.open5gs.org
|
||||
# map:
|
||||
# tai:
|
||||
# plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# tac: 4133
|
||||
# lai:
|
||||
# plmn_id:
|
||||
# mcc: 002
|
||||
# mnc: 02
|
||||
# lac: 43693
|
||||
#
|
||||
#
|
||||
# <GUMMEI>
|
||||
#
|
||||
# o Multiple GUMMEI
|
||||
# gummei:
|
||||
# - plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# mme_gid: 2
|
||||
# mme_code: 1
|
||||
# - plmn_id:
|
||||
# - mcc: 002
|
||||
# mnc: 02
|
||||
# - mcc: 003
|
||||
# mnc: 03
|
||||
# mme_gid: [3, 4]
|
||||
# mme_code:
|
||||
# - 2
|
||||
# - 3
|
||||
#
|
||||
#
|
||||
# <TAI>
|
||||
#
|
||||
# o Multiple TAI
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 001
|
||||
# mnc: 01
|
||||
# tac: [1, 2, 3]
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 002
|
||||
# mnc: 02
|
||||
# tac: 4
|
||||
# - plmn_id:
|
||||
# mcc: 003
|
||||
# mnc: 03
|
||||
# tac: 5
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 004
|
||||
# mnc: 04
|
||||
# tac: [6, 7]
|
||||
# - plmn_id:
|
||||
# mcc: 005
|
||||
# mnc: 05
|
||||
# tac: 8
|
||||
# - plmn_id:
|
||||
# mcc: 006
|
||||
# mnc: 06
|
||||
# tac: [9, 10]
|
||||
#
|
||||
#
|
||||
# <Network Name>
|
||||
#
|
||||
# network_name:
|
||||
# full: Open5GS
|
||||
# short: Next
|
||||
#
|
||||
# <MME Name>
|
||||
#
|
||||
# mme_name: open5gs-mme0
|
||||
#
|
||||
# <Relative Capacity> - Default(255)
|
||||
#
|
||||
# relative_capacity: 100
|
||||
#
|
||||
mme:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/mme.conf
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
mme_name: open5gs-mme0
|
||||
|
||||
#
|
||||
# sgwc:
|
||||
#
|
||||
# <GTP-C Client>
|
||||
#
|
||||
# o Specify SGW addresses the GTP-C must connect to
|
||||
#
|
||||
# o One SGW is defined.
|
||||
# If prefer_ipv4 is not true, [fd69:f21d:873c:fa::2] is selected.
|
||||
# gtpc:
|
||||
# addr:
|
||||
# - 127.0.0.3
|
||||
# - fd69:f21d:873c:fa::2
|
||||
#
|
||||
# o Two SGW are defined. MME selects SGW with round-robin manner per UE
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: fd69:f21d:873c:fa::2
|
||||
#
|
||||
# o Three SGW are defined. MME selects SGW with round-robin manner per UE
|
||||
# gtpc:
|
||||
# - addr
|
||||
# - 127.0.0.3
|
||||
# - fd69:f21d:873c:fa::2
|
||||
# - addr
|
||||
# - 127.0.0.22
|
||||
# - fd69:f21d:873c:fa::12
|
||||
# - name: sgw3.open5gs.org
|
||||
#
|
||||
# <SGW Selection Mode>
|
||||
#
|
||||
# o Round-Robin
|
||||
#
|
||||
# gtpc:
|
||||
# addr: 127.0.0.3
|
||||
# addr: 127.0.2.2
|
||||
# addr: 127.0.4.2
|
||||
#
|
||||
# o SGW selection by eNodeB TAC
|
||||
# (either single TAC or multiple TACs, DECIMAL representation)
|
||||
#
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.3
|
||||
# tac: 26000
|
||||
# - addr: 127.0.2.2
|
||||
# tac: [25000, 27000, 28000]
|
||||
#
|
||||
# o SGW selection by e_cell_id(28bit)
|
||||
# (either single or multiple e_cell_id, HEX representation)
|
||||
#
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.3
|
||||
# e_cell_id: abcde01
|
||||
# - addr: 127.0.2.2
|
||||
# e_cell_id: [12345, a9413, 98765]
|
||||
#
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
#
|
||||
# smf:
|
||||
#
|
||||
# <GTP-C Client>
|
||||
#
|
||||
# o By default, the SMF uses the first SMF node.
|
||||
# - To use a different APN for each SMF, specify gtpc.apn as the APN name.
|
||||
# - If the HSS uses WebUI to set the SMF IP for each UE,
|
||||
# you can use a specific SMF node for each UE.
|
||||
#
|
||||
# o Two SMF are defined. 127.0.0.4:2123 is used.
|
||||
# [fd69:f21d:873c:fa::3]:2123 is ignored.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.4
|
||||
# - addr: fd69:f21d:873c:fa::3
|
||||
#
|
||||
# o One SMF is defined. if prefer_ipv4 is not true,
|
||||
# [fd69:f21d:873c:fa::3] is selected.
|
||||
# gtpc:
|
||||
# - addr:
|
||||
# - 127.0.0.4
|
||||
# - fd69:f21d:873c:fa::3
|
||||
#
|
||||
# o Two SMF are defined with a different APN.
|
||||
# - Note that if SMF IP for UE is configured in HSS,
|
||||
# the following configurion for this UE is ignored.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.4
|
||||
# apn: internet
|
||||
# - addr: 127.0.0.5
|
||||
# apn: volte
|
||||
#
|
||||
# o If APN is omitted, the default APN uses the first SMF node.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.4
|
||||
# - addr: 127.0.0.5
|
||||
# apn: volte
|
||||
smf:
|
||||
gtpc:
|
||||
- addr:
|
||||
- 127.0.0.4
|
||||
- ::1
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
# o Use OAI UE
|
||||
# - Remove HashMME in Security-mode command message
|
||||
# - Use the length 1 of EPS network feature support in Attach accept message
|
||||
# use_openair: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# usrsctp:
|
||||
# udp_port : 9899
|
||||
#
|
||||
usrsctp:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
#
|
||||
# o Handover Wait Duration (Default : 300 ms)
|
||||
# Time to wait for MME to send UEContextReleaseCommand
|
||||
# to the source eNB after receiving HandoverNotify
|
||||
#
|
||||
# o Handover Wait Duration (500ms)
|
||||
# handover:
|
||||
# duration: 500
|
||||
time:
|
||||
|
||||
#
|
||||
# metrics:
|
||||
#
|
||||
# <Metrics Server>
|
||||
#
|
||||
# o Metrics Server(http://<any address>:9090)
|
||||
# metrics:
|
||||
# addr: 0.0.0.0
|
||||
# port: 9090
|
||||
#
|
||||
metrics:
|
||||
addr: 0.0.0.0
|
||||
port: 9090
|
145
configs/open5gs/nrf.yaml.in
Normal file
145
configs/open5gs/nrf.yaml.in
Normal file
@@ -0,0 +1,145 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,sbi,nrf,event,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/nrf.log
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:7777)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.10:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.10:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# dev: eth0
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 10 seconds)
|
||||
#
|
||||
# o NF Instance Heartbeat (Disabled)
|
||||
# nf_instance:
|
||||
# heartbeat: 0
|
||||
#
|
||||
# o NF Instance Heartbeat (5 seconds)
|
||||
# nf_instance:
|
||||
# heartbeat: 5
|
||||
#
|
||||
# o NF Instance Validity (Default : 3600 seconds = 1 hour)
|
||||
#
|
||||
# o NF Instance Validity (10 seconds)
|
||||
# nf_instance:
|
||||
# validity: 10
|
||||
#
|
||||
# o Subscription Validity (Default : 86400 seconds = 1 day)
|
||||
#
|
||||
# o Subscription Validity (Disabled)
|
||||
# subscription:
|
||||
# validity: 0
|
||||
#
|
||||
# o Subscription Validity (3600 seconds = 1 hour)
|
||||
# subscription:
|
||||
# validity: 3600
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
231
configs/open5gs/nssf.yaml.in
Normal file
231
configs/open5gs/nssf.yaml.in
Normal file
@@ -0,0 +1,231 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,sbi,nssf,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/nssf.log
|
||||
#
|
||||
# nssf:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:80)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# - tls:
|
||||
# key: nssf.key
|
||||
# pem: nssf.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.14:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.14
|
||||
# tls:
|
||||
# key: nssf.key
|
||||
# pem: nssf.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://nssf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - name: nssf.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.14:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.14
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
#
|
||||
# o Provide custom SBI address to be advertised to NRF
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
# advertise: open5gs-nssf.svc.local
|
||||
#
|
||||
# sbi:
|
||||
# - addr: localhost
|
||||
# advertise:
|
||||
# - 127.0.0.99
|
||||
# - ::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.14
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
# <List of avaiable Network Slice Instance(NSI)>
|
||||
#
|
||||
# o One NSI
|
||||
# - NRF[http://::1:7777/nnrf-nfm/v1/nf-instances]
|
||||
# NSSAI[SST:1]
|
||||
#
|
||||
# nsi:
|
||||
# - addr: ::1
|
||||
# port: 7777
|
||||
# s_nssai:
|
||||
# sst: 1
|
||||
#
|
||||
# o Three NSI
|
||||
# 1. NRF[http://::1:7777/nnrf-nfm/v1/nf-instances]
|
||||
# S-NSSAI[SST:1]
|
||||
#
|
||||
# 2. NRF[http://127.0.0.19:7777/nnrf-nfm/v1/nf-instances]
|
||||
# NSSAI[SST:1, SD:000080]
|
||||
#
|
||||
# 2. NRF[http://127.0.0.10:7777/nnrf-nfm/v1/nf-instances]
|
||||
# NSSAI[SST:1, SD:009000]
|
||||
#
|
||||
# nsi:
|
||||
# - addr: ::1
|
||||
# port: 7777
|
||||
# s_nssai:
|
||||
# sst: 1
|
||||
# - addr: 127.0.0.19
|
||||
# port: 7777
|
||||
# s_nssai:
|
||||
# sst: 1
|
||||
# sd: 000080
|
||||
# - addr: 127.0.0.10
|
||||
# port: 7777
|
||||
# s_nssai:
|
||||
# sst: 1
|
||||
# sd: 009000
|
||||
#
|
||||
# o NSI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# nsi:
|
||||
# addr: ::1
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Client>>
|
||||
#
|
||||
# o SBI Client(http://127.0.0.10:7777)
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Client(https://127.0.0.10:443, http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Client(http://[fd69:f21d:873c:fa::1]:80)
|
||||
# If prefer_ipv4 is true, http://127.0.0.10:80 is selected.
|
||||
#
|
||||
# sbi:
|
||||
# addr:
|
||||
# - 127.0.0.10
|
||||
# - fd69:f21d:873c:fa::1
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 0)
|
||||
# NFs will not send heart-beat timer in NFProfile
|
||||
# NRF will send heart-beat timer in NFProfile
|
||||
#
|
||||
# o NF Instance Heartbeat (20 seconds)
|
||||
# NFs will send heart-beat timer (20 seconds) in NFProfile
|
||||
# NRF can change heart-beat timer in NFProfile
|
||||
#
|
||||
# nf_instance:
|
||||
# heartbeat: 20
|
||||
#
|
||||
# o NF Instance Heartbeat (Disabled)
|
||||
# nf_instance:
|
||||
# heartbeat: 0
|
||||
#
|
||||
# o NF Instance Heartbeat (10 seconds)
|
||||
# nf_instance:
|
||||
# heartbeat: 10
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
183
configs/open5gs/pcf.yaml.in
Normal file
183
configs/open5gs/pcf.yaml.in
Normal file
@@ -0,0 +1,183 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,sbi,pcf,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/pcf.log
|
||||
#
|
||||
# pcf:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:80)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# - tls:
|
||||
# key: pcf.key
|
||||
# pem: pcf.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.13:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.13
|
||||
# tls:
|
||||
# key: pcf.key
|
||||
# pem: pcf.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://pcf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - name: pcf.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.13:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.13
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
#
|
||||
# o Provide custom SBI address to be advertised to NRF
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
# advertise: open5gs-pcf.svc.local
|
||||
#
|
||||
# sbi:
|
||||
# - addr: localhost
|
||||
# advertise:
|
||||
# - 127.0.0.99
|
||||
# - ::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.13
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Client>>
|
||||
#
|
||||
# o SBI Client(http://127.0.0.10:7777)
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Client(https://127.0.0.10:443, http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Client(http://[fd69:f21d:873c:fa::1]:80)
|
||||
# If prefer_ipv4 is true, http://127.0.0.10:80 is selected.
|
||||
#
|
||||
# sbi:
|
||||
# addr:
|
||||
# - 127.0.0.10
|
||||
# - fd69:f21d:873c:fa::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 0)
|
||||
# NFs will not send heart-beat timer in NFProfile
|
||||
# NRF will send heart-beat timer in NFProfile
|
||||
#
|
||||
# o NF Instance Heartbeat (20 seconds)
|
||||
# NFs will send heart-beat timer (20 seconds) in NFProfile
|
||||
# NRF can change heart-beat timer in NFProfile
|
||||
#
|
||||
# nf_instance:
|
||||
# heartbeat: 20
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
50
configs/open5gs/pcrf.yaml.in
Normal file
50
configs/open5gs/pcrf.yaml.in
Normal file
@@ -0,0 +1,50 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,fd,pcrf,event,mem,sock
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/pcrf.log
|
||||
|
||||
pcrf:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/pcrf.conf
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
160
configs/open5gs/sgwc.yaml.in
Normal file
160
configs/open5gs/sgwc.yaml.in
Normal file
@@ -0,0 +1,160 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,pfcp,gtp,sgwc,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/sgwc.log
|
||||
|
||||
#
|
||||
# sgwc:
|
||||
#
|
||||
# <GTP-C Server>
|
||||
#
|
||||
# o GTP-C Server(127.0.0.3:2123, [fd69:f21d:873c:fa::2]:2123)
|
||||
# gtpc:
|
||||
# addr:
|
||||
# - 127.0.0.3
|
||||
# - fd69:f21d:873c:fa::2
|
||||
#
|
||||
# o On SGW, Same Configuration(127.0.0.3:2123,
|
||||
# [fd69:f21d:873c:fa::2]:2123) as below.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: fd69:f21d:873c:fa::2
|
||||
#
|
||||
# o GTP-C Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# gtpc:
|
||||
# addr: 127.0.0.3
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
# <PFCP Server>
|
||||
#
|
||||
# o PFCP Server(127.0.0.3:8805, ::1:8805)
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: ::1
|
||||
#
|
||||
# o PFCP-U Server(127.0.0.1:2152, [::1]:2152)
|
||||
# pfcp:
|
||||
# name: localhost
|
||||
#
|
||||
# o PFCP Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# pfcp:
|
||||
# addr: 127.0.0.3
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
#
|
||||
# sgwu:
|
||||
#
|
||||
# <PFCP Client>>
|
||||
#
|
||||
# o PFCP Client(127.0.0.6:8805)
|
||||
#
|
||||
# pfcp:
|
||||
# addr: 127.0.0.6
|
||||
#
|
||||
# <SGWU_SELECTION_MODE - EPC only>
|
||||
#
|
||||
# sgwu:
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.6
|
||||
# - addr: 127.0.0.12
|
||||
# - addr: 127.0.0.18
|
||||
#
|
||||
# o SGWU selection by eNodeB TAC
|
||||
# (either single TAC or multiple TACs, DECIMAL representation)
|
||||
#
|
||||
# sgwu:
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.6
|
||||
# tac: 1
|
||||
# - addr: 127.0.0.12
|
||||
# tac: [3,5,8]
|
||||
#
|
||||
# o SGWU selection by UE's APN (either single APN or multiple APNs)
|
||||
#
|
||||
# sgwu:
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.6
|
||||
# apn: ims
|
||||
# - addr: 127.0.0.12
|
||||
# apn: [internet, web]
|
||||
#
|
||||
# o SGWU selection by CellID(e_cell_id: 28bit)
|
||||
# (either single e_cell_id or multiple e_cell_id, HEX representation)
|
||||
#
|
||||
# sgwu:
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.6
|
||||
# e_cell_id: 463
|
||||
# - addr: 127.0.0.12
|
||||
# e_cell_id: [123456789, 9413]
|
||||
#
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
# o Disable selection of SGW-U PFCP in Round-Robin manner
|
||||
# no_pfcp_rr_select: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
149
configs/open5gs/sgwu.yaml.in
Normal file
149
configs/open5gs/sgwu.yaml.in
Normal file
@@ -0,0 +1,149 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,pfcp,gtp,sgwu,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/sgwu.log
|
||||
|
||||
#
|
||||
# sgwu:
|
||||
#
|
||||
# <PFCP Server>
|
||||
#
|
||||
# o PFCP Server(127.0.0.6:8805, ::1:8805)
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.6
|
||||
# - addr: ::1
|
||||
#
|
||||
# o PFCP-U Server(127.0.0.1:2152, [::1]:2152)
|
||||
# pfcp:
|
||||
# - name: localhost
|
||||
#
|
||||
# o PFCP Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# pfcp:
|
||||
# addr: 127.0.0.6
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
# <GTP-U Server>
|
||||
#
|
||||
# o GTP-U Server(127.0.0.6:2152, [::1]:2152)
|
||||
# gtpu:
|
||||
# - addr: 127.0.0.6
|
||||
# - addr: ::1
|
||||
#
|
||||
# o GTP-U Server(127.0.0.1:2152, [::1]:2152)
|
||||
# gtpu:
|
||||
# - name: localhost
|
||||
#
|
||||
# o User Plane IP Resource information
|
||||
# gtpu:
|
||||
# - addr:
|
||||
# - 127.0.0.6
|
||||
# - ::1
|
||||
# teid_range_indication: 4
|
||||
# teid_range: 10
|
||||
# network_instance: internet
|
||||
# source_interface: 0
|
||||
# - addr: 127.0.10.4
|
||||
# teid_range_indication: 4
|
||||
# teid_range: 5
|
||||
# network_instance: ims
|
||||
# source_interface: 1
|
||||
#
|
||||
# o Provide custom SGW-U GTP-U address to be advertised inside S1AP messages
|
||||
# gtpu:
|
||||
# - addr: 10.4.128.21
|
||||
# advertise: 172.24.15.30
|
||||
#
|
||||
# gtpu:
|
||||
# - addr: 10.4.128.21
|
||||
# advertise:
|
||||
# - 127.0.0.1
|
||||
# - ::1
|
||||
#
|
||||
# gtpu:
|
||||
# - addr: 10.4.128.21
|
||||
# advertise: sgw1.epc.mnc001.mcc001.3gppnetwork.org
|
||||
#
|
||||
# gtpu:
|
||||
# - dev: ens3
|
||||
# advertise: sgw1.epc.mnc001.mcc001.3gppnetwork.org
|
||||
#
|
||||
# o GTP-U Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# gtpu:
|
||||
# addr: 127.0.0.6
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
#
|
||||
# sgwc:
|
||||
#
|
||||
# <PFCP Client>>
|
||||
#
|
||||
# o PFCP Client(127.0.0.3:8805)
|
||||
#
|
||||
# pfcp:
|
||||
# addr: 127.0.0.3
|
||||
#
|
||||
sgwc:
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
579
configs/open5gs/smf.yaml.in
Normal file
579
configs/open5gs/smf.yaml.in
Normal file
@@ -0,0 +1,579 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,pfcp,fd,pfcp,gtp,smf,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/smf.log
|
||||
#
|
||||
# smf:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:80)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# - tls:
|
||||
# key: smf.key
|
||||
# pem: smf.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.4:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.4
|
||||
# tls:
|
||||
# key: smf.key
|
||||
# pem: smf.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://smf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - name: smf.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.4:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.4
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
#
|
||||
# o Provide custom SBI address to be advertised to NRF
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
# advertise: open5gs-smf.svc.local
|
||||
#
|
||||
# sbi:
|
||||
# - addr: localhost
|
||||
# advertise:
|
||||
# - 127.0.0.99
|
||||
# - ::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.4
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
# <PFCP Server>
|
||||
#
|
||||
# o PFCP Server(127.0.0.4:8805, ::1:8805)
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.4
|
||||
# - addr: ::1
|
||||
#
|
||||
# o PFCP-U Server(127.0.0.1:2152, [::1]:2152)
|
||||
# pfcp:
|
||||
# name: localhost
|
||||
#
|
||||
# o PFCP Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# pfcp:
|
||||
# addr: 127.0.0.4
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
# <GTP-C Server>
|
||||
#
|
||||
# o GTP-C Server(127.0.0.4:2123, [fd69:f21d:873c:fa::3]:2123)
|
||||
# gtpc:
|
||||
# addr:
|
||||
# - 127.0.0.4
|
||||
# - fd69:f21d:873c:fa::3
|
||||
#
|
||||
# o On SMF, Same configuration
|
||||
# (127.0.0.4:2123, [fd69:f21d:873c:fa::3]:2123).
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.4
|
||||
# - addr: fd69:f21d:873c:fa::3
|
||||
#
|
||||
# o GTP-C Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# gtpc:
|
||||
# addr: 127.0.0.4
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
# <GTP-U Server>>
|
||||
#
|
||||
# o GTP-U Server(127.0.0.4:2152, [::1]:2152)
|
||||
# gtpu:
|
||||
# - addr: 127.0.0.4
|
||||
# - addr: ::1
|
||||
#
|
||||
# o GTP-U Server(127.0.0.1:2152, [::1]:2152)
|
||||
# gtpu:
|
||||
# name: localhost
|
||||
#
|
||||
# o GTP-U Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# gtpu:
|
||||
# addr: 127.0.0.4
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
# <Subnet for UE Pool>
|
||||
#
|
||||
# o IPv4 Pool
|
||||
# subnet:
|
||||
# addr: 10.45.0.1/16
|
||||
#
|
||||
# o IPv4/IPv6 Pool
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
#
|
||||
#
|
||||
# o Specific DNN/APN(e.g 'ims') uses 10.46.0.1/16, 2001:db8:babe::1/48
|
||||
# ; If the UE has unknown DNN/APN(not internet/ims), SMF/UPF will crash.
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# dnn: internet
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# dnn: internet
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: ims
|
||||
# - addr: 2001:db8:babe::1/48
|
||||
# dnn: ims
|
||||
#
|
||||
# o Specific DNN/APN with the FALLBACK SUBNET(10.47.0.1/16)
|
||||
# ; Note that put the FALLBACK SUBNET last to avoid SMF/UPF crash.
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# dnn: internet
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: ims
|
||||
# - addr: 10.50.0.1/16 ## FALLBACK SUBNET
|
||||
#
|
||||
# o Pool Range Sample
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/24
|
||||
# range: 10.45.0.100-10.45.0.200
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/24
|
||||
# range:
|
||||
# - 10.45.0.5-10.45.0.50
|
||||
# - 10.45.0.100-
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/24
|
||||
# range:
|
||||
# - -10.45.0.200
|
||||
# - 10.45.0.210-10.45.0.220
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# range:
|
||||
# - 10.45.0.100-10.45.0.200
|
||||
# - 10.45.1.100-10.45.1.200
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# range:
|
||||
# - 2001:db8:cafe:a0::0-2001:db8:cafe:b0::0
|
||||
# - 2001:db8:cafe:c0::0-2001:db8:cafe:d0::0
|
||||
#
|
||||
# <Domain Name Server>
|
||||
#
|
||||
# o Primary/Secondary can be configured. Others are ignored.
|
||||
#
|
||||
# dns:
|
||||
# - 8.8.8.8
|
||||
# - 8.8.4.4
|
||||
# - 2001:4860:4860::8888
|
||||
# - 2001:4860:4860::8844
|
||||
#
|
||||
# <MTU Size>
|
||||
#
|
||||
# o Provisioning a limit on the size of the packets sent by the MS
|
||||
# to avoid packet fragmentation in the backbone network
|
||||
# between the MS and the GGSN/PGW and/or across the (S)Gi reference point)
|
||||
# when some of the backbone links does not support
|
||||
# packets larger then 1500 octets
|
||||
#
|
||||
# <P-CSCF>
|
||||
#
|
||||
# o Proxy Call Session Control Function
|
||||
#
|
||||
# p-cscf:
|
||||
# - 127.0.0.1
|
||||
# - ::1
|
||||
#
|
||||
# <CTF>
|
||||
#
|
||||
# o Gy interface parameters towards OCS.
|
||||
# o enabled:
|
||||
# o auto: Default. Use Gy only if OCS available among Diameter peers
|
||||
# o yes: Use Gy always;
|
||||
# reject subscribers if no OCS available among Diameter peers
|
||||
# o no: Don't use Gy interface if there is an OCS available
|
||||
#
|
||||
# ctf:
|
||||
# enabled: auto|yes|no
|
||||
#
|
||||
#
|
||||
# <SMF Selection - 5G Core only>
|
||||
# 1. SMF sends SmfInfo(S-NSSAI, DNN, TAI) to the NRF
|
||||
# 2. NRF responds to AMF with SmfInfo during NF-Discovery.
|
||||
# 3. AMF selects SMF based on S-NSSAI, DNN and TAI in SmfInfo.
|
||||
#
|
||||
# Note that if there is no SmfInfo, any AMF can select this SMF.
|
||||
#
|
||||
# o S-NSSAI[SST:1] and DNN[internet] - At least 1 DNN is required in S-NSSAI
|
||||
# info:
|
||||
# - s_nssai:
|
||||
# - sst: 1
|
||||
# dnn:
|
||||
# - internet
|
||||
#
|
||||
# o S-NSSAI[SST:1 SD:009000] and DNN[internet or ims]
|
||||
# info:
|
||||
# - s_nssai:
|
||||
# - sst: 1
|
||||
# sd: 009000
|
||||
# dnn:
|
||||
# - internet
|
||||
# - ims
|
||||
#
|
||||
# o S-NSSAI[SST:1] and DNN[internet] and TAI[PLMN-ID:90170 TAC:1]
|
||||
# info:
|
||||
# - s_nssai:
|
||||
# - sst: 1
|
||||
# dnn:
|
||||
# - internet
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# tac: 1
|
||||
#
|
||||
# o If any of conditions below are met:
|
||||
# - S-NSSAI[SST:1] and DNN[internet] and TAI[PLMN-ID:90170 TAC:1-9]
|
||||
# - S-NSSAI[SST:2 SD:000080] and DNN[internet or ims]
|
||||
# - S-NSSAI[SST:4] and DNN[internet] and TAI[PLMN-ID:90170 TAC:10-20,30-40]
|
||||
#
|
||||
# info:
|
||||
# - s_nssai:
|
||||
# - sst: 1
|
||||
# dnn:
|
||||
# - internet
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# range:
|
||||
# - 1-9
|
||||
# - s_nssai:
|
||||
# - sst: 2
|
||||
# sd: 000080
|
||||
# dnn:
|
||||
# - internet
|
||||
# - ims
|
||||
# - s_nssai:
|
||||
# - sst: 4
|
||||
# dnn:
|
||||
# - internet
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# range:
|
||||
# - 10-20
|
||||
# - 30-40
|
||||
#
|
||||
# o Complex Example
|
||||
# info:
|
||||
# - s_nssai:
|
||||
# - sst: 1
|
||||
# dnn:
|
||||
# - internet
|
||||
# - sst: 1
|
||||
# sd: 000080
|
||||
# dnn:
|
||||
# - internet
|
||||
# - ims
|
||||
# - sst: 1
|
||||
# sd: 009000
|
||||
# dnn:
|
||||
# [internet, ims]
|
||||
# - sst: 2
|
||||
# dnn:
|
||||
# - internet
|
||||
# - sst: 3
|
||||
# sd: 123456
|
||||
# dnn:
|
||||
# - internet
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# tac: [1, 2, 3]
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# tac: 4
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# tac:
|
||||
# - 5
|
||||
# - 6
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# range:
|
||||
# - 100-200
|
||||
# - 300-400
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# range:
|
||||
# - 500-600
|
||||
# - 700-800
|
||||
# - 900-1000
|
||||
# - s_nssai:
|
||||
# - sst: 4
|
||||
# dnn:
|
||||
# - internet
|
||||
# tai:
|
||||
# - plmn_id:
|
||||
# mcc: 901
|
||||
# mnc: 70
|
||||
# tac: 99
|
||||
#
|
||||
|
||||
smf:
|
||||
sbi:
|
||||
- addr: 127.0.0.4
|
||||
port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
ctf:
|
||||
enabled: auto
|
||||
freeDiameter: @sysconfdir@/freeDiameter/smf.conf
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Client>>
|
||||
#
|
||||
# o SBI Client(http://127.0.0.1:7777)
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Client(https://127.0.0.10:443, http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Client(http://[fd69:f21d:873c:fa::1]:80)
|
||||
# If prefer_ipv4 is true, http://127.0.0.10:80 is selected.
|
||||
#
|
||||
# sbi:
|
||||
# addr:
|
||||
# - 127.0.0.10
|
||||
# - fd69:f21d:873c:fa::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# upf:
|
||||
#
|
||||
# <PFCP Client>>
|
||||
#
|
||||
# o PFCP Client(127.0.0.7:8805)
|
||||
#
|
||||
# pfcp:
|
||||
# addr: 127.0.0.7
|
||||
#
|
||||
# <UPF Selection>
|
||||
#
|
||||
# o Round-Robin
|
||||
# (note that round robin can be disabled for a particular node
|
||||
# by setting flag 'rr' to 0)
|
||||
#
|
||||
# upf:
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.7
|
||||
# - addr: 127.0.0.12
|
||||
# rr: 0
|
||||
# - addr: 127.0.0.19
|
||||
#
|
||||
# o UPF selection by eNodeB TAC
|
||||
# (either single TAC or multiple TACs, DECIMAL representation)
|
||||
#
|
||||
# upf:
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.7
|
||||
# tac: 1
|
||||
# - addr: 127.0.0.12
|
||||
# tac: [3,5,8]
|
||||
#
|
||||
# o UPF selection by UE's DNN/APN (either single DNN/APN or multiple DNNs/APNs)
|
||||
#
|
||||
# upf:
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.7
|
||||
# dnn: ims
|
||||
# - addr: 127.0.0.12
|
||||
# dnn: [internet, web]
|
||||
#
|
||||
# o UPF selection by CellID(e_cell_id: 28bit, nr_cell_id: 36bit)
|
||||
# (either single enb_id or multiple enb_ids, HEX representation)
|
||||
#
|
||||
# upf:
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.7
|
||||
# e_cell_id: 463
|
||||
# - addr: 127.0.0.12
|
||||
# nr_cell_id: [123456789, 9413]
|
||||
#
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
# o Disable selection of UPF PFCP in Round-Robin manner
|
||||
# no_pfcp_rr_select: true
|
||||
#
|
||||
# o Legacy support for pre-release LTE 11 devices
|
||||
# - Omits adding local address in packet filters for compatibility
|
||||
# no_ipv4v6_local_addr_in_packet_filter: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 0)
|
||||
# NFs will not send heart-beat timer in NFProfile
|
||||
# NRF will send heart-beat timer in NFProfile
|
||||
#
|
||||
# o NF Instance Heartbeat (20 seconds)
|
||||
# NFs will send heart-beat timer (20 seconds) in NFProfile
|
||||
# NRF can change heart-beat timer in NFProfile
|
||||
#
|
||||
# nf_instance:
|
||||
# heartbeat: 20
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
#
|
||||
# o Handover Wait Duration (Default : 300 ms)
|
||||
# Time to wait for SMF to send
|
||||
# PFCP Session Modification Request(Remove Indirect Tunnel) to the UPF
|
||||
# after sending Nsmf_PDUSession_UpdateSMContext Response(hoState:COMPLETED)
|
||||
#
|
||||
# o Handover Wait Duration (500ms)
|
||||
# handover:
|
||||
# duration: 500
|
||||
time:
|
||||
|
||||
#
|
||||
# metrics:
|
||||
#
|
||||
# <Metrics Server>
|
||||
#
|
||||
# o Metrics Server(http://<any address>:9090)
|
||||
# metrics:
|
||||
# addr: 0.0.0.0
|
||||
# port: 9090
|
||||
#
|
||||
metrics:
|
||||
addr: 0.0.0.0
|
||||
port: 9090
|
181
configs/open5gs/udm.yaml.in
Normal file
181
configs/open5gs/udm.yaml.in
Normal file
@@ -0,0 +1,181 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,sbi,udm,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/udm.log
|
||||
#
|
||||
# udm:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:80)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# - tls:
|
||||
# key: udm.key
|
||||
# pem: udm.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.12:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.12
|
||||
# tls:
|
||||
# key: udm.key
|
||||
# pem: udm.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://udm.open5gs.org:80)
|
||||
# sbi:
|
||||
# - name: udm.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.12:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.12
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
#
|
||||
# o Provide custom SBI address to be advertised to NRF
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
# advertise: open5gs-udm.svc.local
|
||||
#
|
||||
# sbi:
|
||||
# - addr: localhost
|
||||
# advertise:
|
||||
# - 127.0.0.99
|
||||
# - ::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.12
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Client>>
|
||||
#
|
||||
# o SBI Client(http://127.0.0.10:7777)
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Client(https://127.0.0.10:443, http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Client(http://[fd69:f21d:873c:fa::1]:80)
|
||||
# If prefer_ipv4 is true, http://127.0.0.10:80 is selected.
|
||||
#
|
||||
# sbi:
|
||||
# addr:
|
||||
# - 127.0.0.10
|
||||
# - fd69:f21d:873c:fa::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 0)
|
||||
# NFs will not send heart-beat timer in NFProfile
|
||||
# NRF will send heart-beat timer in NFProfile
|
||||
#
|
||||
# o NF Instance Heartbeat (20 seconds)
|
||||
# NFs will send heart-beat timer (20 seconds) in NFProfile
|
||||
# NRF can change heart-beat timer in NFProfile
|
||||
#
|
||||
# nf_instance:
|
||||
# heartbeat: 20
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
191
configs/open5gs/udr.yaml.in
Normal file
191
configs/open5gs/udr.yaml.in
Normal file
@@ -0,0 +1,191 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,sbi,udr,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/udr.log
|
||||
#
|
||||
# udr:
|
||||
#
|
||||
# <SBI Server>
|
||||
#
|
||||
# o SBI Server(http://<all address available>:80)
|
||||
# sbi:
|
||||
#
|
||||
# o SBI Server(http://<any address>:80)
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 0.0.0.0
|
||||
# - ::0
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(https://<all address avaiable>:443)
|
||||
# sbi:
|
||||
# - tls:
|
||||
# key: udr.key
|
||||
# pem: udr.pem
|
||||
#
|
||||
# o SBI Server(https://127.0.0.20:443, http://[::1]:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.20
|
||||
# tls:
|
||||
# key: udr.key
|
||||
# pem: udr.pem
|
||||
# - addr: ::1
|
||||
#
|
||||
# o SBI Server(http://udr.open5gs.org:80)
|
||||
# sbi:
|
||||
# - name: udr.open5gs.org
|
||||
#
|
||||
# o SBI Server(http://127.0.0.20:7777)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.20
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Server(http://<eth0 IP address>:80)
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
#
|
||||
# o Provide custom SBI address to be advertised to NRF
|
||||
# sbi:
|
||||
# - dev: eth0
|
||||
# advertise: open5gs-udr.svc.local
|
||||
#
|
||||
# sbi:
|
||||
# - addr: localhost
|
||||
# advertise:
|
||||
# - 127.0.0.99
|
||||
# - ::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.20
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# nrf:
|
||||
#
|
||||
# <SBI Client>>
|
||||
#
|
||||
# o SBI Client(http://127.0.0.10:7777)
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# port: 7777
|
||||
#
|
||||
# o SBI Client(https://127.0.0.10:443, http://nrf.open5gs.org:80)
|
||||
# sbi:
|
||||
# - addr: 127.0.0.10
|
||||
# tls:
|
||||
# key: nrf.key
|
||||
# pem: nrf.pem
|
||||
# - name: nrf.open5gs.org
|
||||
#
|
||||
# o SBI Client(http://[fd69:f21d:873c:fa::1]:80)
|
||||
# If prefer_ipv4 is true, http://127.0.0.10:80 is selected.
|
||||
#
|
||||
# sbi:
|
||||
# addr:
|
||||
# - 127.0.0.10
|
||||
# - fd69:f21d:873c:fa::1
|
||||
#
|
||||
# o SBI Option (Default)
|
||||
# - tcp_nodelay : true
|
||||
# - so_linger.l_onoff : false
|
||||
#
|
||||
# sbi:
|
||||
# addr: 127.0.0.10
|
||||
# option:
|
||||
# tcp_nodelay: false
|
||||
# so_linger:
|
||||
# l_onoff: true
|
||||
# l_linger: 10
|
||||
#
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o NF Instance Heartbeat (Default : 0)
|
||||
# NFs will not send heart-beat timer in NFProfile
|
||||
# NRF will send heart-beat timer in NFProfile
|
||||
#
|
||||
# o NF Instance Heartbeat (20 seconds)
|
||||
# NFs will send heart-beat timer (20 seconds) in NFProfile
|
||||
# NRF can change heart-beat timer in NFProfile
|
||||
#
|
||||
# nf_instance:
|
||||
# heartbeat: 20
|
||||
#
|
||||
# o NF Instance Heartbeat (Disabled)
|
||||
# nf_instance:
|
||||
# heartbeat: 0
|
||||
#
|
||||
# o NF Instance Heartbeat (10 seconds)
|
||||
# nf_instance:
|
||||
# heartbeat: 10
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
223
configs/open5gs/upf.yaml.in
Normal file
223
configs/open5gs/upf.yaml.in
Normal file
@@ -0,0 +1,223 @@
|
||||
#
|
||||
# logger:
|
||||
#
|
||||
# o Set OGS_LOG_INFO to all domain level
|
||||
# - If `level` is omitted, the default level is OGS_LOG_INFO)
|
||||
# - If `domain` is omitted, the all domain level is set from 'level'
|
||||
# (Nothing is needed)
|
||||
#
|
||||
# o Set OGS_LOG_ERROR to all domain level
|
||||
# - `level` can be set with none, fatal, error, warn, info, debug, trace
|
||||
# level: error
|
||||
#
|
||||
# o Set OGS_LOG_DEBUG to mme/emm domain level
|
||||
# level: debug
|
||||
# domain: mme,emm
|
||||
#
|
||||
# o Set OGS_LOG_TRACE to all domain level
|
||||
# level: trace
|
||||
# domain: core,pfcp,gtp,upf,event,tlv,mem,sock
|
||||
#
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/upf.log
|
||||
|
||||
#
|
||||
# upf:
|
||||
#
|
||||
# <PFCP Server>
|
||||
#
|
||||
# o PFCP Server(127.0.0.7:8805, ::1:8805)
|
||||
# pfcp:
|
||||
# - addr: 127.0.0.7
|
||||
# - addr: ::1
|
||||
#
|
||||
# o PFCP-U Server(127.0.0.1:2152, [::1]:2152)
|
||||
# pfcp:
|
||||
# name: localhost
|
||||
#
|
||||
# o PFCP Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# pfcp:
|
||||
# addr: 127.0.0.7
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
# <GTP-U Server>>
|
||||
#
|
||||
# o GTP-U Server(127.0.0.7:2152, [::1]:2152)
|
||||
# gtpu:
|
||||
# - addr: 127.0.0.7
|
||||
# - addr: ::1
|
||||
#
|
||||
# o GTP-U Server(127.0.0.1:2152, [::1]:2152)
|
||||
# gtpu:
|
||||
# name: localhost
|
||||
#
|
||||
# o User Plane IP Resource information
|
||||
# gtpu:
|
||||
# - addr:
|
||||
# - 127.0.0.7
|
||||
# - ::1
|
||||
# teid_range_indication: 4
|
||||
# teid_range: 10
|
||||
# network_instance: internet
|
||||
# source_interface: 0
|
||||
# - addr: 127.0.10.4
|
||||
# teid_range_indication: 4
|
||||
# teid_range: 5
|
||||
# network_instance: ims
|
||||
# source_interface: 1
|
||||
#
|
||||
# o Provide custom UPF GTP-U address to be advertised inside NGAP messages
|
||||
# gtpu:
|
||||
# - addr: 10.4.128.21
|
||||
# advertise: 172.24.15.30
|
||||
#
|
||||
# gtpu:
|
||||
# - addr: 10.4.128.21
|
||||
# advertise:
|
||||
# - 127.0.0.1
|
||||
# - ::1
|
||||
#
|
||||
# gtpu:
|
||||
# - addr: 10.4.128.21
|
||||
# advertise: upf1.5gc.mnc001.mcc001.3gppnetwork.org
|
||||
#
|
||||
# gtpu:
|
||||
# - dev: ens3
|
||||
# advertise: upf1.5gc.mnc001.mcc001.3gppnetwork.org
|
||||
#
|
||||
# o GTP-U Option (Default)
|
||||
# - so_bindtodevice : NULL
|
||||
#
|
||||
# gtpu:
|
||||
# addr: 127.0.0.7
|
||||
# option:
|
||||
# so_bindtodevice: vrf-blue
|
||||
#
|
||||
# <Subnet for UE network>
|
||||
#
|
||||
# Note that you need to setup your UE network using TUN device.
|
||||
# (ogstun, ogstun2, ogstunX, ..)
|
||||
#
|
||||
# o IPv4 Pool
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
#
|
||||
# subnet:
|
||||
# addr: 10.45.0.1/16
|
||||
#
|
||||
# o IPv4/IPv6 Pool
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
#
|
||||
#
|
||||
# o Specific DNN/APN(e.g 'ims') uses 10.46.0.1/16, 2001:db8:babe::1/48
|
||||
# All other APNs use 10.45.0.1/16, 2001:db8:cafe::1/48
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 10.46.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:babe::1/48 dev ogstun
|
||||
#
|
||||
# ; If the UE has unknown DNN/APN(not internet/ims), SMF/UPF will crash.
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# dnn: internet
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# dnn: internet
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: ims
|
||||
# - addr: 2001:db8:babe::1/48
|
||||
# dnn: ims
|
||||
#
|
||||
# o Specific DNN/APN with the FALLBACK SUBNET(10.47.0.1/16)
|
||||
# ; Note that put the FALLBACK SUBNET last to avoid SMF/UPF crash.
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# dnn: internet
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: ims
|
||||
# - addr: 10.50.0.1/16 ## FALLBACK SUBNET
|
||||
#
|
||||
# o Multiple Devices (default: ogstun)
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add 2001:db8:cafe::1/48 dev ogstun2
|
||||
# $ sudo ip addr add 10.46.0.1/16 dev ogstun3
|
||||
# $ sudo ip addr add 2001:db8:babe::1/48 dev ogstun3
|
||||
#
|
||||
# subnet:
|
||||
# - addr: 10.45.0.1/16
|
||||
# dnn: internet
|
||||
# - addr: 2001:db8:cafe::1/48
|
||||
# dnn: internet
|
||||
# dev: ogstun2
|
||||
# - addr: 10.46.0.1/16
|
||||
# dnn: ims
|
||||
# dev: ogstun3
|
||||
# - addr: 2001:db8:babe::1/48
|
||||
# dnn: ims
|
||||
# dev: ogstun3
|
||||
#
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
#
|
||||
# smf:
|
||||
#
|
||||
# <PFCP Client>>
|
||||
#
|
||||
# o PFCP Client(127.0.0.4:8805)
|
||||
#
|
||||
# pfcp:
|
||||
# addr: 127.0.0.4
|
||||
#
|
||||
smf:
|
||||
|
||||
#
|
||||
# parameter:
|
||||
#
|
||||
# o Number of output streams per SCTP associations.
|
||||
# sctp_streams: 30
|
||||
#
|
||||
# o Disable use of IPv4 addresses (only IPv6)
|
||||
# no_ipv4: true
|
||||
#
|
||||
# o Disable use of IPv6 addresses (only IPv4)
|
||||
# no_ipv6: true
|
||||
#
|
||||
# o Prefer IPv4 instead of IPv6 for estabishing new GTP connections.
|
||||
# prefer_ipv4: true
|
||||
#
|
||||
parameter:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of UE per AMF/MME
|
||||
# ue: 1024
|
||||
# o Maximum Number of gNB/eNB per AMF/MME
|
||||
# gnb: 64
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# time:
|
||||
#
|
||||
# o Message Wait Duration (Default : 10,000 ms = 10 seconds)
|
||||
#
|
||||
# o Message Wait Duration (3000 ms)
|
||||
# message:
|
||||
# duration: 3000
|
||||
time:
|
229
configs/sample.yaml.in
Normal file
229
configs/sample.yaml.in
Normal file
@@ -0,0 +1,229 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
# no_nrf: true
|
||||
# no_amf: true
|
||||
# no_smf: true
|
||||
# no_upf: true
|
||||
# no_ausf: true
|
||||
# no_udm: true
|
||||
# no_pcf: true
|
||||
# no_nssf: true
|
||||
# no_bsf: true
|
||||
# no_udr: true
|
||||
# no_mme: true
|
||||
# no_sgwc: true
|
||||
# no_sgwu: true
|
||||
# no_pcrf: true
|
||||
# no_hss: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.8
|
||||
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
smf:
|
||||
sbi:
|
||||
- addr: 127.0.0.4
|
||||
port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
freeDiameter:
|
||||
identity: smf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.9
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1, NIA0 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.8
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.9
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: smf.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
244
configs/slice.yaml.in
Normal file
244
configs/slice.yaml.in
Normal file
@@ -0,0 +1,244 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
# no_nrf: true
|
||||
# no_amf: true
|
||||
# no_smf: true
|
||||
# no_upf: true
|
||||
# no_ausf: true
|
||||
# no_udm: true
|
||||
# no_pcf: true
|
||||
# no_nssf: true
|
||||
# no_bsf: true
|
||||
# no_udr: true
|
||||
# no_mme: true
|
||||
# no_sgwc: true
|
||||
# no_sgwu: true
|
||||
# no_pcrf: true
|
||||
# no_hss: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.8
|
||||
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
smf:
|
||||
sbi:
|
||||
- addr: 127.0.0.4
|
||||
port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
freeDiameter:
|
||||
identity: smf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.9
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 202
|
||||
set: 1016
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
- sst: 1
|
||||
sd: 000080
|
||||
- sst: 1
|
||||
sd: 009000
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.8
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.9
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: smf.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
- addr: 127.0.0.19
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
sd: 000080
|
||||
- addr: 127.0.0.10
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
sd: 009000
|
||||
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
230
configs/srslte.yaml.in
Normal file
230
configs/srslte.yaml.in
Normal file
@@ -0,0 +1,230 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
# no_nrf: true
|
||||
# no_amf: true
|
||||
# no_smf: true
|
||||
# no_upf: true
|
||||
# no_ausf: true
|
||||
# no_udm: true
|
||||
# no_pcf: true
|
||||
# no_nssf: true
|
||||
# no_bsf: true
|
||||
# no_udr: true
|
||||
# no_mme: true
|
||||
# no_sgwc: true
|
||||
# no_sgwu: true
|
||||
# no_pcrf: true
|
||||
# no_hss: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.8
|
||||
|
||||
s1ap:
|
||||
- addr: 127.0.1.100
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 7
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
smf:
|
||||
# sbi:
|
||||
# - addr: 127.0.0.4
|
||||
# port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
freeDiameter:
|
||||
identity: smf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.9
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1, NIA0 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.8
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.9
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: smf.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
#nrf:
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 127.0.0.10
|
||||
# - ::1
|
||||
# port: 7777
|
||||
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
3
configs/systemd/99-open5gs.netdev
Normal file
3
configs/systemd/99-open5gs.netdev
Normal file
@@ -0,0 +1,3 @@
|
||||
[NetDev]
|
||||
Name=ogstun
|
||||
Kind=tun
|
9
configs/systemd/99-open5gs.network
Normal file
9
configs/systemd/99-open5gs.network
Normal file
@@ -0,0 +1,9 @@
|
||||
[Match]
|
||||
Name=ogstun
|
||||
|
||||
[Network]
|
||||
Address=10.45.0.1/16
|
||||
Address=2001:db8:cafe::1/48
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=false
|
53
configs/systemd/meson.build
Normal file
53
configs/systemd/meson.build
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
# This file is part of Open5GS.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
systemd_conf_in = '''
|
||||
open5gs-mmed.service
|
||||
open5gs-sgwcd.service
|
||||
open5gs-smfd.service
|
||||
open5gs-amfd.service
|
||||
open5gs-sgwud.service
|
||||
open5gs-upfd.service
|
||||
open5gs-hssd.service
|
||||
open5gs-pcrfd.service
|
||||
open5gs-nrfd.service
|
||||
open5gs-ausfd.service
|
||||
open5gs-udmd.service
|
||||
open5gs-pcfd.service
|
||||
open5gs-nssfd.service
|
||||
open5gs-bsfd.service
|
||||
open5gs-udrd.service
|
||||
'''.split()
|
||||
|
||||
foreach file : systemd_conf_in
|
||||
configure_file(
|
||||
input : file + '.in',
|
||||
output : file,
|
||||
configuration : conf_data)
|
||||
endforeach
|
||||
|
||||
systemd_conf = '''
|
||||
99-open5gs.netdev
|
||||
99-open5gs.network
|
||||
'''.split()
|
||||
|
||||
foreach file : systemd_conf
|
||||
configure_file(
|
||||
input : file,
|
||||
output : file,
|
||||
configuration : conf_data)
|
||||
endforeach
|
18
configs/systemd/open5gs-amfd.service.in
Normal file
18
configs/systemd/open5gs-amfd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS AMF Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-amfd -c @sysconfdir@/open5gs/amf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-ausfd.service.in
Normal file
18
configs/systemd/open5gs-ausfd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS AUSF Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-ausfd -c @sysconfdir@/open5gs/ausf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-bsfd.service.in
Normal file
18
configs/systemd/open5gs-bsfd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS BSF Daemon
|
||||
Wants=mongodb.service mongod.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-bsfd -c @sysconfdir@/open5gs/bsf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-hssd.service.in
Normal file
18
configs/systemd/open5gs-hssd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS HSS Daemon
|
||||
Wants=mongodb.service mongod.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-hssd -c @sysconfdir@/open5gs/hss.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-mmed.service.in
Normal file
18
configs/systemd/open5gs-mmed.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS MME Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-mmed -c @sysconfdir@/open5gs/mme.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-nrfd.service.in
Normal file
18
configs/systemd/open5gs-nrfd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS NRF Daemon
|
||||
Wants=mongodb.service mongod.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-nrfd -c @sysconfdir@/open5gs/nrf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-nssfd.service.in
Normal file
18
configs/systemd/open5gs-nssfd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS NSSF Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-nssfd -c @sysconfdir@/open5gs/nssf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-pcfd.service.in
Normal file
18
configs/systemd/open5gs-pcfd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS PCF Daemon
|
||||
Wants=mongodb.service mongod.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-pcfd -c @sysconfdir@/open5gs/pcf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-pcrfd.service.in
Normal file
18
configs/systemd/open5gs-pcrfd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS PCRF Daemon
|
||||
Wants=mongodb.service mongod.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-pcrfd -c @sysconfdir@/open5gs/pcrf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-sgwcd.service.in
Normal file
18
configs/systemd/open5gs-sgwcd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS SGW-C Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-sgwcd -c @sysconfdir@/open5gs/sgwc.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-sgwud.service.in
Normal file
18
configs/systemd/open5gs-sgwud.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS SGW-U Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-sgwud -c @sysconfdir@/open5gs/sgwu.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-smfd.service.in
Normal file
18
configs/systemd/open5gs-smfd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS SMF Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-smfd -c @sysconfdir@/open5gs/smf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-udmd.service.in
Normal file
18
configs/systemd/open5gs-udmd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS UDM Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-udmd -c @sysconfdir@/open5gs/udm.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-udrd.service.in
Normal file
18
configs/systemd/open5gs-udrd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS UDR Daemon
|
||||
Wants=mongodb.service mongod.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-udrd -c @sysconfdir@/open5gs/udr.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
19
configs/systemd/open5gs-upfd.service.in
Normal file
19
configs/systemd/open5gs-upfd.service.in
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Open5GS UPF Daemon
|
||||
After=network-online.target systemd-networkd.service
|
||||
Wants=systemd-networkd.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-upfd -c @sysconfdir@/open5gs/upf.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
237
configs/volte.yaml.in
Normal file
237
configs/volte.yaml.in
Normal file
@@ -0,0 +1,237 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
# no_nrf: true
|
||||
# no_amf: true
|
||||
# no_smf: true
|
||||
# no_upf: true
|
||||
# no_ausf: true
|
||||
# no_udm: true
|
||||
# no_pcf: true
|
||||
# no_nssf: true
|
||||
# no_bsf: true
|
||||
# no_udr: true
|
||||
# no_mme: true
|
||||
# no_sgwc: true
|
||||
# no_sgwu: true
|
||||
# no_pcrf: true
|
||||
# no_hss: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.8
|
||||
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
smf:
|
||||
# sbi:
|
||||
# - addr: 127.0.0.4
|
||||
# port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
p-cscf:
|
||||
- 127.0.0.1
|
||||
- ::1
|
||||
mtu: 1400
|
||||
freeDiameter:
|
||||
identity: smf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.9
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1, NIA0 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.8
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
- identity: ims.localdomain
|
||||
addr: 127.0.0.1
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.9
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: smf.localdomain
|
||||
addr: 127.0.0.4
|
||||
- identity: ims.localdomain
|
||||
addr: 127.0.0.1
|
||||
|
||||
#nrf:
|
||||
# sbi:
|
||||
# - addr:
|
||||
# - 127.0.0.10
|
||||
# - ::1
|
||||
# port: 7777
|
||||
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
240
configs/vonr.yaml.in
Normal file
240
configs/vonr.yaml.in
Normal file
@@ -0,0 +1,240 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
# no_nrf: true
|
||||
# no_amf: true
|
||||
# no_smf: true
|
||||
# no_upf: true
|
||||
# no_ausf: true
|
||||
# no_udm: true
|
||||
# no_pcf: true
|
||||
# no_nssf: true
|
||||
# no_bsf: true
|
||||
# no_udr: true
|
||||
# no_mme: true
|
||||
# no_sgwc: true
|
||||
# no_sgwu: true
|
||||
# no_pcrf: true
|
||||
# no_hss: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.8
|
||||
|
||||
s1ap:
|
||||
- addr: 127.0.0.2
|
||||
gtpc:
|
||||
- addr: 127.0.0.2
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
security:
|
||||
integrity_order : [ EIA2, EIA1, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgwc:
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
pfcp:
|
||||
- addr: 127.0.0.3
|
||||
|
||||
smf:
|
||||
sbi:
|
||||
- addr: 127.0.0.4
|
||||
port: 7777
|
||||
pfcp:
|
||||
- addr: 127.0.0.4
|
||||
gtpc:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.4
|
||||
- addr: ::1
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
p-cscf:
|
||||
- 127.0.0.1
|
||||
- ::1
|
||||
mtu: 1400
|
||||
freeDiameter:
|
||||
identity: smf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.9
|
||||
amf:
|
||||
sbi:
|
||||
- addr: 127.0.0.5
|
||||
port: 7777
|
||||
ngap:
|
||||
- addr: 127.0.0.5
|
||||
guami:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
amf_id:
|
||||
region: 2
|
||||
set: 1
|
||||
tai:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
tac: 1
|
||||
plmn_support:
|
||||
- plmn_id:
|
||||
mcc: 901
|
||||
mnc: 70
|
||||
s_nssai:
|
||||
- sst: 1
|
||||
security:
|
||||
integrity_order : [ NIA2, NIA1, NIA0 ]
|
||||
ciphering_order : [ NEA0, NEA1, NEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
amf_name: open5gs-amf0
|
||||
|
||||
sgwu:
|
||||
pfcp:
|
||||
- addr: 127.0.0.6
|
||||
gtpu:
|
||||
- addr: 127.0.0.6
|
||||
|
||||
upf:
|
||||
pfcp:
|
||||
- addr: 127.0.0.7
|
||||
gtpu:
|
||||
- addr: 127.0.0.7
|
||||
subnet:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: 2001:db8:cafe::1/48
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.8
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.9
|
||||
no_fwd: true
|
||||
load_extension:
|
||||
- module: @freediameter_extensions_builddir@/dbg_msg_dumps.fdx
|
||||
conf: 0x8888
|
||||
- module: @freediameter_extensions_builddir@/dict_rfc5777.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_mip6i.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nasreq.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_nas_mipv6.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca.fdx
|
||||
- module: @freediameter_extensions_builddir@/dict_dcca_3gpp/dict_dcca_3gpp.fdx
|
||||
connect:
|
||||
- identity: smf.localdomain
|
||||
addr: 127.0.0.4
|
||||
- identity: pcscf.localdomain
|
||||
addr: 127.0.0.1
|
||||
|
||||
nrf:
|
||||
sbi:
|
||||
- addr:
|
||||
- 127.0.0.10
|
||||
- ::1
|
||||
port: 7777
|
||||
|
||||
ausf:
|
||||
sbi:
|
||||
- addr: 127.0.0.11
|
||||
port: 7777
|
||||
|
||||
udm:
|
||||
sbi:
|
||||
- addr: 127.0.0.12
|
||||
port: 7777
|
||||
|
||||
pcf:
|
||||
sbi:
|
||||
- addr: 127.0.0.13
|
||||
port: 7777
|
||||
|
||||
nssf:
|
||||
sbi:
|
||||
- addr: 127.0.0.14
|
||||
port: 7777
|
||||
nsi:
|
||||
- addr: ::1
|
||||
port: 7777
|
||||
s_nssai:
|
||||
sst: 1
|
||||
|
||||
bsf:
|
||||
sbi:
|
||||
- addr: 127.0.0.15
|
||||
port: 7777
|
||||
|
||||
af:
|
||||
sbi:
|
||||
- addr: 127.0.0.16
|
||||
port: 7777
|
||||
|
||||
udr:
|
||||
sbi:
|
||||
- addr: 127.0.0.20
|
||||
port: 7777
|
481
configure.ac
481
configure.ac
@@ -1,481 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl
|
||||
dnl This file is free software; as a special exception the author gives
|
||||
dnl unlimited permission to copy and/or distribute it, with or without
|
||||
dnl modifications, as long as this notice is preserved.
|
||||
dnl
|
||||
dnl This program is distributed in the hope that it will be useful, but
|
||||
dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
AC_INIT([NextEPC], [0.3.11], [acetcom@gmail.com])
|
||||
|
||||
AC_SUBST(LIBVERSION)
|
||||
LIBVERSION=1:0:0
|
||||
|
||||
CORE_CONFIG_NICE(config.nice)
|
||||
|
||||
dnl Must come before AM_INIT_AUTOMAKE.
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AC_CONFIG_TESTDIR(test)
|
||||
AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign subdir-objects])
|
||||
|
||||
# Where to generate output; srcdir location.
|
||||
AC_CONFIG_HEADERS([config.h:config.in])dnl Keep filename to 8.3 for MS-DOS.
|
||||
AC_CONFIG_SRCDIR([main.c])
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
LO_DEV="lo0"
|
||||
case $host in
|
||||
*linux*)
|
||||
OSDIR="unix"
|
||||
OSCPPFLAGS="-DLINUX=1"
|
||||
IPFW_CPPFLAGS="-DNEED_SYSCTLBYNAME -DNEED_SIN_LEN"
|
||||
LO_DEV="lo"
|
||||
;;
|
||||
*-apple-darwin*)
|
||||
OSDIR="unix"
|
||||
OSCPPFLAGS="-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK"
|
||||
;;
|
||||
*)
|
||||
OSDIR="unix"
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(OSCPPFLAGS)
|
||||
AC_SUBST(OSDIR)
|
||||
AC_SUBST(IPFW_CPPFLAGS)
|
||||
AC_SUBST(LO_DEV)
|
||||
|
||||
AH_TOP([
|
||||
#ifndef __NEXTEPC_CONFIG_H__
|
||||
#define __NEXTEPC_CONFIG_H__
|
||||
/* need this, because some autoconf tests rely on this (e.g. stpcpy)
|
||||
* and it should be used for new programs */
|
||||
#define _DEFAULT_SOURCE 1
|
||||
#define _BSD_SOURCE 1
|
||||
])
|
||||
|
||||
AH_BOTTOM([
|
||||
#endif /* __NEXTEPC_CONFIG_H__ */
|
||||
])
|
||||
|
||||
AH_VERBATIM([_REENTRANT],
|
||||
[/* To allow the use of core in multithreaded programs we have to use
|
||||
special features from the library. */
|
||||
#ifndef _REENTRANT
|
||||
# define _REENTRANT 1
|
||||
#endif
|
||||
])
|
||||
|
||||
dnl kernel style compile messages
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
||||
dnl Checks CC and freinds
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_MKDIR_P
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_INSTALL
|
||||
AM_PROG_AR
|
||||
LT_INIT([pic-only disable-static])
|
||||
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
if test "x$PKG_CONFIG" = "xno"; then
|
||||
AC_MSG_ERROR([You need to install pkg-config])
|
||||
fi
|
||||
PKG_PROG_PKG_CONFIG([0.20])
|
||||
|
||||
dnl Checks for compile flag
|
||||
AX_CHECK_COMPILE_FLAG([-Wno-unused-result], [CFLAGS="$CFLAGS -Wno-unused-result"])
|
||||
|
||||
dnl Checks for pointer size
|
||||
AC_CHECK_SIZEOF(void*, 4)
|
||||
|
||||
dnl Checks for integer size
|
||||
AC_CHECK_SIZEOF(char, 1)
|
||||
AC_CHECK_SIZEOF(int, 4)
|
||||
AC_CHECK_SIZEOF(long, 4)
|
||||
AC_CHECK_SIZEOF(short, 2)
|
||||
AC_CHECK_SIZEOF(long long, 8)
|
||||
|
||||
if test "$ac_cv_sizeof_short" = "2"; then
|
||||
short_value=short
|
||||
fi
|
||||
if test "$ac_cv_sizeof_int" = "4"; then
|
||||
int_value=int
|
||||
fi
|
||||
# Now we need to find what c_int64_t (sizeof == 8) will be.
|
||||
# The first match is our preference.
|
||||
if test "$ac_cv_sizeof_int" = "8"; then
|
||||
int64_literal='#define C_INT64_C(val) (val)'
|
||||
uint64_literal='#define C_UINT64_C(val) (val##U)'
|
||||
int64_t_fmt='#define C_INT64_T_FMT "d"'
|
||||
uint64_t_fmt='#define C_UINT64_T_FMT "u"'
|
||||
uint64_t_hex_fmt='#define C_UINT64_T_HEX_FMT "x"'
|
||||
int64_value="int"
|
||||
long_value=int
|
||||
int64_strfn="strtoi"
|
||||
elif test "$ac_cv_sizeof_long" = "8"; then
|
||||
int64_literal='#define C_INT64_C(val) (val##L)'
|
||||
uint64_literal='#define C_UINT64_C(val) (val##UL)'
|
||||
int64_t_fmt='#define C_INT64_T_FMT "ld"'
|
||||
uint64_t_fmt='#define C_UINT64_T_FMT "lu"'
|
||||
uint64_t_hex_fmt='#define C_UINT64_T_HEX_FMT "lx"'
|
||||
int64_value="long"
|
||||
long_value=long
|
||||
int64_strfn="strtol"
|
||||
elif test "$ac_cv_sizeof_long_long" = "8"; then
|
||||
int64_literal='#define C_INT64_C(val) (val##LL)'
|
||||
uint64_literal='#define C_UINT64_C(val) (val##ULL)'
|
||||
# Linux, Solaris, FreeBSD all support ll with printf.
|
||||
# BSD 4.4 originated 'q'. Solaris is more popular and
|
||||
# doesn't support 'q'. Solaris wins. Exceptions can
|
||||
# go to the OS-dependent section.
|
||||
int64_t_fmt='#define C_INT64_T_FMT "lld"'
|
||||
uint64_t_fmt='#define C_UINT64_T_FMT "llu"'
|
||||
uint64_t_hex_fmt='#define C_UINT64_T_HEX_FMT "llx"'
|
||||
int64_value="long long"
|
||||
long_value="long long"
|
||||
int64_strfn="strtoll"
|
||||
elif test "$ac_cv_sizeof_longlong" = "8"; then
|
||||
int64_literal='#define C_INT64_C(val) (val##LL)'
|
||||
uint64_literal='#define C_UINT64_C(val) (val##ULL)'
|
||||
int64_t_fmt='#define C_INT64_T_FMT "qd"'
|
||||
uint64_t_fmt='#define C_UINT64_T_FMT "qu"'
|
||||
uint64_t_hex_fmt='#define C_UINT64_T_HEX_FMT "qx"'
|
||||
int64_value="__int64"
|
||||
long_value="__int64"
|
||||
int64_strfn="strtoll"
|
||||
else
|
||||
# int64_literal may be overriden if your compiler thinks you have
|
||||
# a 64-bit value but CORE does not agree.
|
||||
AC_ERROR([could not detect a 64-bit integer type])
|
||||
fi
|
||||
|
||||
AC_SUBST(short_value)
|
||||
AC_SUBST(int_value)
|
||||
AC_SUBST(long_value)
|
||||
AC_SUBST(int64_value)
|
||||
AC_SUBST(int64_t_fmt)
|
||||
AC_SUBST(uint64_t_fmt)
|
||||
AC_SUBST(uint64_t_hex_fmt)
|
||||
AC_SUBST(int64_literal)
|
||||
AC_SUBST(uint64_literal)
|
||||
|
||||
AC_CHECK_SIZEOF(pid_t, 8)
|
||||
|
||||
if test "$ac_cv_sizeof_pid_t" = "$ac_cv_sizeof_short"; then
|
||||
pid_t_fmt='#define C_PID_T_FMT "hd"'
|
||||
elif test "$ac_cv_sizeof_pid_t" = "$ac_cv_sizeof_int"; then
|
||||
pid_t_fmt='#define C_PID_T_FMT "d"'
|
||||
elif test "$ac_cv_sizeof_pid_t" = "$ac_cv_sizeof_long"; then
|
||||
pid_t_fmt='#define C_PID_T_FMT "ld"'
|
||||
elif test "$ac_cv_sizeof_pid_t" = "$ac_cv_sizeof_long_long"; then
|
||||
pid_t_fmt='#define C_PID_T_FMT APR_INT64_T_FMT'
|
||||
else
|
||||
pid_t_fmt='#error Can not determine the proper size for pid_t'
|
||||
fi
|
||||
|
||||
case $host in
|
||||
*-solaris*)
|
||||
if test "$ac_cv_sizeof_long" = "8"; then
|
||||
pid_t_fmt='#define C_PID_T_FMT "d"'
|
||||
else
|
||||
pid_t_fmt='#define C_PID_T_FMT "ld"'
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(pid_t_fmt)
|
||||
|
||||
AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR],
|
||||
[`echo $PACKAGE_VERSION | $SED 's/^\([[^\.]]\+\)\.\([[^\.]]\+\)\.\([[^\.]]\+\).*/\1/'`],
|
||||
[Major version of this package])
|
||||
AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MINOR],
|
||||
[`echo $PACKAGE_VERSION | $SED 's/^\([[^\.]]\+\)\.\([[^\.]]\+\)\.\([[^\.]]\+\).*/\2/'`],
|
||||
[Minor version of this package])
|
||||
AC_DEFINE_UNQUOTED([PACKAGE_VERSION_PATCHLEVEL],
|
||||
[`echo $PACKAGE_VERSION | $SED 's/^\([[^\.]]\+\)\.\([[^\.]]\+\)\.\([[^\.]]\+\).*/\3/'`],
|
||||
[Patch version of this package])
|
||||
|
||||
##################################
|
||||
#### Checks for Directories. #####
|
||||
##################################
|
||||
|
||||
adl_RECURSIVE_EVAL(["${bindir}"], [BIN_DIR])
|
||||
adl_RECURSIVE_EVAL(["${libdir}"], [LIB_DIR])
|
||||
adl_RECURSIVE_EVAL(["${sysconfdir}"], [SYSCONF_DIR])
|
||||
adl_RECURSIVE_EVAL(["${localstatedir}"], [LOCALSTATE_DIR])
|
||||
AC_SUBST(BIN_DIR)
|
||||
AC_SUBST(LIB_DIR)
|
||||
AC_SUBST(SYSCONF_DIR)
|
||||
AC_SUBST(LOCALSTATE_DIR)
|
||||
|
||||
##################################
|
||||
#### Checks for header files. ####
|
||||
##################################
|
||||
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS( \
|
||||
arpa/inet.h \
|
||||
ctype.h \
|
||||
errno.h \
|
||||
fcntl.h \
|
||||
ifaddrs.h \
|
||||
limits.h \
|
||||
netdb.h \
|
||||
pthread.h \
|
||||
regex.h \
|
||||
semaphore.h \
|
||||
signal.h \
|
||||
stdarg.h \
|
||||
stdio.h \
|
||||
stdint.h \
|
||||
stdlib.h \
|
||||
string.h \
|
||||
strings.h \
|
||||
time.h \
|
||||
unistd.h \
|
||||
net/if_dl.h \
|
||||
net/if.h \
|
||||
netinet/ether.h \
|
||||
netinet/in.h \
|
||||
netinet/in_systm.h \
|
||||
netinet/udp.h \
|
||||
netinet/tcp.h \
|
||||
netinet/sctp.h \
|
||||
usrsctp.h \
|
||||
sys/ioctl.h \
|
||||
sys/param.h \
|
||||
sys/socket.h \
|
||||
sys/stat.h \
|
||||
sys/syslimits.h \
|
||||
sys/types.h \
|
||||
sys/time.h \
|
||||
sys/wait.h \
|
||||
sys/uio.h \
|
||||
)
|
||||
|
||||
AC_CHECK_HEADERS(netinet/ip.h netinet/ip6.h net/route.h,,,[[
|
||||
#include <sys/types.h>
|
||||
#if HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
#if HAVE_NETINET_IN_SYSTM_H
|
||||
#include <netinet/in_systm.h>
|
||||
#endif
|
||||
]])
|
||||
|
||||
AC_CHECK_HEADERS(netinet/ip_icmp.h netinet/icmp6.h,,,[[
|
||||
#include <sys/types.h>
|
||||
#if HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
#if HAVE_NETINET_IN_SYSTM_H
|
||||
#include <netinet/in_systm.h>
|
||||
#endif
|
||||
#include <netinet/ip.h>
|
||||
]])
|
||||
|
||||
##########################################
|
||||
#### Checks for typedefs, structures, ####
|
||||
#### and compiler characteristics. ####
|
||||
##########################################
|
||||
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
AC_CHECK_MEMBERS([struct tm.tm_gmtoff, struct tm.__tm_gmtoff],,,[
|
||||
#include <sys/types.h>
|
||||
#include <time.h>])
|
||||
|
||||
AC_CHECK_MEMBER(struct sockaddr.sa_len,
|
||||
AC_DEFINE(HAVE_SA_LEN, 1, [Define this if your stack has sa_len in sockaddr struct.]),,
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#include <sys/socket.h>])
|
||||
|
||||
AC_CHECK_MEMBER(struct sockaddr_in.sin_len,
|
||||
AC_DEFINE(HAVE_SIN_LEN, 1, [Define this if your IPv4 has sin_len in sockaddr_in struct.]),,
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#include <netinet/in.h>])
|
||||
|
||||
AC_CHECK_MEMBER(struct sockaddr_in6.sin6_len,
|
||||
AC_DEFINE(HAVE_SIN6_LEN, 1, [Define this if your IPv6 has sin6_len in sockaddr_in6 struct.]),,
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#include <netinet/in.h>])
|
||||
|
||||
AC_CHECK_MEMBER(struct sockaddr_conn.sconn_len,
|
||||
AC_DEFINE(HAVE_SCONN_LEN, 1, [Define this if your userland stack has sconn_len in sockaddr_conn struct.]),,
|
||||
[#include "usrsctplib/usrsctp.h"])
|
||||
|
||||
AC_MSG_CHECKING(for socklen_t)
|
||||
AC_TRY_COMPILE([#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#include <sys/socket.h>],
|
||||
[socklen_t x; x = 1; return ((int)x);],
|
||||
[AC_MSG_RESULT(yes)],
|
||||
[AC_MSG_RESULT(int)
|
||||
AC_DEFINE(socklen_t, int, [Define a type for socklen_t.])])
|
||||
|
||||
AC_CHECK_FILE(/dev/random,
|
||||
AC_DEFINE([HAVE_DEV_RANDOM], [1],
|
||||
[Define to 1 if you have the /dev/random file.]))
|
||||
|
||||
AC_CACHE_CHECK([whether the compiler provides atomic builtins], [ap_cv_atomic_builtins],
|
||||
[AC_TRY_RUN([
|
||||
int main()
|
||||
{
|
||||
unsigned long val = 1010, tmp, *mem = &val;
|
||||
|
||||
if (__sync_fetch_and_add(&val, 1010) != 1010 || val != 2020)
|
||||
return 1;
|
||||
|
||||
tmp = val;
|
||||
|
||||
if (__sync_fetch_and_sub(mem, 1010) != tmp || val != 1010)
|
||||
return 1;
|
||||
|
||||
if (__sync_sub_and_fetch(&val, 1010) != 0 || val != 0)
|
||||
return 1;
|
||||
|
||||
tmp = 3030;
|
||||
|
||||
if (__sync_val_compare_and_swap(mem, 0, tmp) != 0 || val != tmp)
|
||||
return 1;
|
||||
|
||||
if (__sync_lock_test_and_set(&val, 4040) != 3030)
|
||||
return 1;
|
||||
|
||||
mem = &tmp;
|
||||
|
||||
if (__sync_val_compare_and_swap(&mem, &tmp, &val) != &tmp)
|
||||
return 1;
|
||||
|
||||
__sync_synchronize();
|
||||
|
||||
if (mem != &val)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}], [ap_cv_atomic_builtins=yes], [ap_cv_atomic_builtins=no], [ap_cv_atomic_builtins=no])])
|
||||
|
||||
if test "$ap_cv_atomic_builtins" = "yes"; then
|
||||
AC_DEFINE(HAVE_ATOMIC_BUILTINS, 1, [Define if compiler provides atomic builtins])
|
||||
fi
|
||||
|
||||
#######################################
|
||||
#### Checks for library functions. ####
|
||||
#######################################
|
||||
|
||||
AC_FUNC_VPRINTF
|
||||
AC_CHECK_FUNCS(\
|
||||
atexit \
|
||||
gettimeofday \
|
||||
memmove \
|
||||
strerror \
|
||||
inet_ntop inet_pton inet_aton \
|
||||
sigaction sigwait sigsuspend \
|
||||
stpcpy strcasecmp strtoul stricmp \
|
||||
writev \
|
||||
utime utimes sem_timedwait \
|
||||
pthread_yield sched_yield \
|
||||
getenv putenv setenv unsetenv \
|
||||
)
|
||||
|
||||
AC_SEARCH_LIBS(gethostbyname, nsl)
|
||||
AC_SEARCH_LIBS(gethostname, nsl)
|
||||
AC_SEARCH_LIBS(socket, socket)
|
||||
AC_SEARCH_LIBS(pthread_barrier_wait, pthread)
|
||||
AC_SEARCH_LIBS(gnutls_global_set_log_level, gnutls)
|
||||
|
||||
AC_SEARCH_LIBS([sctp_sendmsg], [sctp], [have_sctp_lib=yes], [have_sctp_lib=no])
|
||||
if test x$have_sctp_lib == xno; then
|
||||
AC_SEARCH_LIBS([usrsctp_init], [usrsctp], [have_usrsctp_lib=yes], [have_usrsctp_lib=no])
|
||||
if test x$have_usrsctp_lib == xno; then
|
||||
AC_MSG_ERROR([You must install the SCTP libraries and development headers to enable SCTP support.])
|
||||
else
|
||||
AC_DEFINE([USE_USRSCTP], [1], [Define to 1 if you have the usrsctp library.])
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL([USRSCTP], [test x$have_usrsctp_lib = xyes])
|
||||
|
||||
PKG_CHECK_MODULES([YAML], yaml-0.1 >= 0.1.4)
|
||||
PKG_CHECK_MODULES([MONGOC], libmongoc-1.0 >= 1.3.1)
|
||||
FREEDIAMETER_DIR=freeDiameter-1.2.1
|
||||
AC_SUBST(FREEDIAMETER_DIR)
|
||||
|
||||
#####################
|
||||
#### Conclusion. ####
|
||||
#####################
|
||||
|
||||
AC_CONFIG_SUBDIRS([lib/freeDiameter-1.2.1])
|
||||
|
||||
AC_CONFIG_FILES([lib/core/include/core.h])
|
||||
AC_CONFIG_FILES([lib/core/src/Makefile])
|
||||
AC_CONFIG_FILES([lib/core/test/Makefile])
|
||||
AC_CONFIG_FILES([lib/core/Makefile])
|
||||
AC_CONFIG_FILES([lib/s1ap/asn1c/Makefile])
|
||||
AC_CONFIG_FILES([lib/s1ap/Makefile])
|
||||
AC_CONFIG_FILES([lib/nas/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/Makefile])
|
||||
AC_CONFIG_FILES([lib/gtp/Makefile])
|
||||
AC_CONFIG_FILES([lib/ipfw/Makefile])
|
||||
AC_CONFIG_FILES([lib/Makefile])
|
||||
AC_CONFIG_FILES([src/common/Makefile])
|
||||
AC_CONFIG_FILES([src/mme/Makefile])
|
||||
AC_CONFIG_FILES([src/hss/Makefile])
|
||||
AC_CONFIG_FILES([src/sgw/Makefile])
|
||||
AC_CONFIG_FILES([src/pgw/Makefile])
|
||||
AC_CONFIG_FILES([src/pcrf/Makefile])
|
||||
AC_CONFIG_FILES([src/Makefile])
|
||||
AC_CONFIG_FILES([support/config/nextepc.conf])
|
||||
AC_CONFIG_FILES([support/config/mme.conf])
|
||||
AC_CONFIG_FILES([support/config/sgw.conf])
|
||||
AC_CONFIG_FILES([support/config/pgw.conf])
|
||||
AC_CONFIG_FILES([support/config/hss.conf])
|
||||
AC_CONFIG_FILES([support/config/pcrf.conf])
|
||||
AC_CONFIG_FILES([support/config/Makefile])
|
||||
AC_CONFIG_FILES([support/freeDiameter/mme.conf])
|
||||
AC_CONFIG_FILES([support/freeDiameter/pgw.conf])
|
||||
AC_CONFIG_FILES([support/freeDiameter/hss.conf])
|
||||
AC_CONFIG_FILES([support/freeDiameter/pcrf.conf])
|
||||
AC_CONFIG_FILES([support/freeDiameter/Makefile])
|
||||
AC_CONFIG_FILES([support/systemd/nextepc-mmed.service])
|
||||
AC_CONFIG_FILES([support/systemd/nextepc-sgwd.service])
|
||||
AC_CONFIG_FILES([support/systemd/nextepc-pgwd.service])
|
||||
AC_CONFIG_FILES([support/systemd/nextepc-hssd.service])
|
||||
AC_CONFIG_FILES([support/systemd/nextepc-pcrfd.service])
|
||||
AC_CONFIG_FILES([support/systemd/Makefile])
|
||||
AC_CONFIG_FILES([support/logrotate/nextepc])
|
||||
AC_CONFIG_FILES([support/logrotate/Makefile])
|
||||
AC_CONFIG_FILES([support/newsyslog/nextepc.conf])
|
||||
AC_CONFIG_FILES([support/newsyslog/Makefile])
|
||||
AC_CONFIG_FILES([support/Makefile])
|
||||
AC_CONFIG_FILES([test/sample.conf])
|
||||
AC_CONFIG_FILES([test/sample-volte.conf])
|
||||
AC_CONFIG_FILES([test/Makefile])
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
echo "
|
||||
NextEPC configuration
|
||||
--------------------
|
||||
version : ${PACKAGE_VERSION}
|
||||
host : ${host}
|
||||
source code location : ${srcdir}
|
||||
compiler : ${CC}
|
||||
compiler flags : ${CFLAGS} ${YAML_CFLAGS} ${MONGOC_CFLAGS}
|
||||
linker flags : ${LDFLAGS} ${LIBS} ${YAML_LIBS} ${MONGOC_LIBS}
|
||||
bin directory : ${BIN_DIR}
|
||||
lib directory : ${LIB_DIR}/nextepc
|
||||
config directory : ${SYSCONF_DIR}/nextepc
|
||||
log directory : ${LOCALSTATE_DIR}/log/nextepc
|
||||
"
|
1593
debian/changelog
vendored
1593
debian/changelog
vendored
File diff suppressed because it is too large
Load Diff
2
debian/compat
vendored
2
debian/compat
vendored
@@ -1 +1 @@
|
||||
9
|
||||
11
|
||||
|
295
debian/control
vendored
295
debian/control
vendored
@@ -1,112 +1,135 @@
|
||||
Source: nextepc
|
||||
Maintainer: Harald Welte <laforge@gnumonks.org>
|
||||
Source: open5gs
|
||||
Section: net
|
||||
Priority: optional
|
||||
Build-Depends: debhelper (>= 9),
|
||||
autotools-dev,
|
||||
pkg-config,
|
||||
Maintainer: Harald Welte <laforge@gnumonks.org>
|
||||
Uploaders: Sukchan Lee <acetcom@gmail.com>
|
||||
Build-Depends: debhelper (>= 11),
|
||||
git,
|
||||
dh-autoreconf,
|
||||
dh-systemd,
|
||||
pkg-config,
|
||||
meson (>= 0.43.0),
|
||||
flex,
|
||||
bison,
|
||||
libsctp-dev,
|
||||
libgnutls28-dev,
|
||||
libgcrypt-dev,
|
||||
libssl-dev,
|
||||
libidn11-dev,
|
||||
libmongoc-dev,
|
||||
libbson-dev,
|
||||
libyaml-dev
|
||||
Standards-Version: 3.9.6
|
||||
Vcs-Browser: https://github.com/acetcom/nextepc
|
||||
Vcs-Git: git://github.com/acetcom/nextepc
|
||||
Homepage: http://nextepc.org/
|
||||
libsctp-dev,
|
||||
libyaml-dev,
|
||||
libmicrohttpd-dev,
|
||||
libcurl4-gnutls-dev,
|
||||
libnghttp2-dev,
|
||||
libtins-dev,
|
||||
libtalloc-dev,
|
||||
Standards-Version: 4.3.0
|
||||
Rules-Requires-Root: no
|
||||
Homepage: https://open5gs.org
|
||||
Vcs-Browser: https://github.com/open5gs/open5gs
|
||||
Vcs-Git: git://github.com/open5gs/open5gs
|
||||
|
||||
Package: nextepc-core
|
||||
Package: open5gs-common
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Description: Open Source based 3GPP EPC (Shared Files)
|
||||
NextEPC is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
Description: 5G Core and EPC (Shared Files)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package contains some core libraries/plugins required by the other
|
||||
binary packages such as nextepc-{mme,sgw,pgw,pcrf,hss}.
|
||||
binary packages such as open5gs-{mme,sgwc,sgwu,amf,smf,upf,...}.
|
||||
|
||||
Package: nextepc-mme
|
||||
Package: open5gs-mme
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
nextepc-core (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC MME (Mobility Management Entity)
|
||||
NextEPC is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: MME (Mobility Management Entity)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the MME (Mobility Management Engine), which
|
||||
terminates the S1 interfaces from the eNodeBs cells in the cellular
|
||||
network, and interfaces via S11 to the SGW as well as via S6a to the
|
||||
network, and interfaces via S11 to the SGW-C as well as via S6a to the
|
||||
HSS.
|
||||
|
||||
Package: nextepc-sgw
|
||||
Package: open5gs-sgwc
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
nextepc-core (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC SGW (Serving Gateway)
|
||||
NextEPC is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: SGW-C (Serving Gateway - Control Plane)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the SGW (Serving Gateway) which is situated
|
||||
between the MME and PGW. It implements the S11 interface to the MME,
|
||||
and the S5 interface to the PGW.
|
||||
This package provides the SGW-C (Serving Gateway - Control Plane)
|
||||
which is situated between the MME and PGW. It implements the S11 interface
|
||||
to the MME, and the S5 interface to the SMF-C.
|
||||
|
||||
Package: nextepc-pgw
|
||||
Package: open5gs-smf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: SMF (Session Management Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the SMF (Session Management Function)
|
||||
|
||||
Package: open5gs-amf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: AMF (Access and Mobility Management Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the AMF (Access and Mobility Management Function)
|
||||
|
||||
Package: open5gs-sgwu
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: SGW-U (Serving Gateway - User Plane)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the SGW-U (Serving Gateway - User Plane)
|
||||
which is situated between the eNB and UPF. It implements the S1U interface
|
||||
to the eNB, and the S5U interface to the SMF-U.
|
||||
|
||||
Package: open5gs-upf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
udev,
|
||||
nextepc-core (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC PGW (Packet Data Network Gateway)
|
||||
NextEPC is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: UPF (User Plane Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the PGW or PDN-GW (Packet Data Network Gateway)
|
||||
element of the EPC, i.e. the gateway between the EPC and the external
|
||||
packet data network, such as the public Internet. It implements the S5
|
||||
interface towards the S-GW, the SGi interface towards the Internet,
|
||||
and the S7 interface towards the PCRF.
|
||||
This package provides the UPF (User Plane Function)
|
||||
|
||||
Package: nextepc-pcrf
|
||||
Package: open5gs-hss
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
mongodb,
|
||||
nextepc-core (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC PCRF (Policy and Charging Rules Function)
|
||||
NextEPC is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
.
|
||||
This package contains the PCRF (Policy and Charging Rules Function),
|
||||
which controls the service quality (QoS) of individual connections and
|
||||
how to account/charge related traffic. It implements the Gx interface
|
||||
towards the PGW using the DIAMETER protocol.
|
||||
|
||||
Package: nextepc-hss
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
mongodb,
|
||||
nextepc-core (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC HSS (Home Subscriber Server)
|
||||
NextEPC is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
mongodb-org | mongodb,
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: HSS (Home Subscriber Server)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the HSS (Home Subscriber Server) element of the
|
||||
EPC, i.e. the central database of mobile network subscribers, with
|
||||
@@ -114,21 +137,139 @@ Description: Open Source based 3GPP EPC HSS (Home Subscriber Server)
|
||||
information, etc. It implements the S6a interface towards the MME
|
||||
using the DIAMETER protocol.
|
||||
|
||||
Package: nextepc
|
||||
Package: open5gs-pcrf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
mongodb,
|
||||
nextepc-core (= ${binary:Version}),
|
||||
nextepc-mme (= ${binary:Version}),
|
||||
nextepc-sgw (= ${binary:Version}),
|
||||
nextepc-pgw (= ${binary:Version}),
|
||||
nextepc-hss (= ${binary:Version}),
|
||||
nextepc-pcrf (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC (metapackage)
|
||||
NextEPC is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
mongodb-org | mongodb,
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: PCRF (Policy and Charging Rules Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This is a metapackage that depends on all the nextepc parts.
|
||||
(MME, SGW, PGW, HSS, PCRF)
|
||||
This package contains the PCRF (Policy and Charging Rules Function),
|
||||
which controls the service quality (QoS) of individual connections and
|
||||
how to account/charge related traffic. It implements the Gx interface
|
||||
towards the SMF-C using the DIAMETER protocol.
|
||||
|
||||
Package: open5gs-nrf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: NRF (Network Repository Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the NRF (Network Repository Function)
|
||||
|
||||
Package: open5gs-ausf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: AUSF (Authentication Server Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the AUSF (Authentication Server Function)
|
||||
|
||||
Package: open5gs-udm
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: UDM (Unified Data Management)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the UDM (Unified Data Managemement)
|
||||
|
||||
Package: open5gs-pcf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: PCF (Policy Control Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the PCF (Policy Control Function)
|
||||
|
||||
Package: open5gs-nssf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: NSSF (Network Slice Selection Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the NSSF (Network Slice Selection Function)
|
||||
|
||||
Package: open5gs-bsf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: BSF (Binding Support Function)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the BSF (Binding Support Function)
|
||||
|
||||
Package: open5gs-udr
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: UDR (Unified Data Repository)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package provides the UDR (Unified Data Repository)
|
||||
|
||||
Package: open5gs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${misc:Depends},
|
||||
open5gs-common (= ${binary:Version}),
|
||||
open5gs-mme (= ${binary:Version}),
|
||||
open5gs-sgwc (= ${binary:Version}),
|
||||
open5gs-smf (= ${binary:Version}),
|
||||
open5gs-amf (= ${binary:Version}),
|
||||
open5gs-sgwu (= ${binary:Version}),
|
||||
open5gs-upf (= ${binary:Version}),
|
||||
open5gs-hss (= ${binary:Version}),
|
||||
open5gs-pcrf (= ${binary:Version}),
|
||||
open5gs-nrf (= ${binary:Version}),
|
||||
open5gs-ausf (= ${binary:Version}),
|
||||
open5gs-udm (= ${binary:Version}),
|
||||
open5gs-pcf (= ${binary:Version}),
|
||||
open5gs-nssf (= ${binary:Version}),
|
||||
open5gs-bsf (= ${binary:Version}),
|
||||
open5gs-udr (= ${binary:Version})
|
||||
Description: 5G Core and EPC (metapackage)
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This is a metapackage that depends on all the open5gs parts.
|
||||
|
||||
Package: open5gs-dbg
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${misc:Depends},
|
||||
open5gs (= ${binary:Version})
|
||||
Description: Debug symbols for Open5GS
|
||||
Open5GS is a C-language implementation of 5G Core and EPC
|
||||
Packet Core, i.e. the core network of an NR/LTE network (Release-16)
|
||||
.
|
||||
This package contains debug symbols for Open5GS.
|
||||
|
6
debian/copyright
vendored
6
debian/copyright
vendored
@@ -1,9 +1,9 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: nextepc
|
||||
Source: https://github.com/acetcom/nextepc
|
||||
Upstream-Name: open5gs
|
||||
Source: https://github.com/open5gs/open5gs
|
||||
|
||||
Files: *
|
||||
Copyright: 2017 NextEPC Group
|
||||
Copyright: 2017 Open5GS Group
|
||||
License: AGPL-3
|
||||
|
||||
Files: lib/freeDiameter-1.2.1/*
|
||||
|
5
debian/nextepc-core.install
vendored
5
debian/nextepc-core.install
vendored
@@ -1,5 +0,0 @@
|
||||
usr/lib/*/nextepc/*
|
||||
var/log/nextepc
|
||||
etc/nextepc/nextepc.conf
|
||||
etc/nextepc/freeDiameter/cacert.pem
|
||||
support/logrotate/nextepc /etc/logrotate.d
|
52
debian/nextepc-core.postinst
vendored
52
debian/nextepc-core.postinst
vendored
@@ -1,52 +0,0 @@
|
||||
#!/bin/sh
|
||||
# postinst script for nextepc
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <postinst> `abort-remove'
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# create a nextepc group and user
|
||||
if ! getent passwd nextepc >/dev/null; then
|
||||
adduser --system --disabled-password --disabled-login \
|
||||
--home /var/run/nextepc --no-create-home \
|
||||
--quiet --group nextepc
|
||||
fi
|
||||
for dir in /var/log/nextepc; do
|
||||
if ! dpkg-statoverride --list "$dir" >/dev/null 2>&1; then
|
||||
dpkg-statoverride --update --add nextepc nextepc 0755 "$dir"
|
||||
fi
|
||||
done
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
44
debian/nextepc-core.postrm
vendored
44
debian/nextepc-core.postrm
vendored
@@ -1,44 +0,0 @@
|
||||
#!/bin/sh
|
||||
# postrm script for nextepc-core
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <overwriter>
|
||||
# <overwriter-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
rm -f /var/log/nextepc/*.log || true
|
||||
rmdir /var/log/nextepc || true
|
||||
;;
|
||||
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
6
debian/nextepc-hss.install
vendored
6
debian/nextepc-hss.install
vendored
@@ -1,6 +0,0 @@
|
||||
usr/bin/nextepc-hssd
|
||||
etc/nextepc/freeDiameter/hss.conf
|
||||
etc/nextepc/freeDiameter/hss.cert.pem
|
||||
etc/nextepc/freeDiameter/hss.key.pem
|
||||
etc/nextepc/hss.conf
|
||||
support/systemd/nextepc-hssd.service lib/systemd/system
|
6
debian/nextepc-mme.install
vendored
6
debian/nextepc-mme.install
vendored
@@ -1,6 +0,0 @@
|
||||
usr/bin/nextepc-mmed
|
||||
etc/nextepc/freeDiameter/mme.conf
|
||||
etc/nextepc/freeDiameter/mme.cert.pem
|
||||
etc/nextepc/freeDiameter/mme.key.pem
|
||||
etc/nextepc/mme.conf
|
||||
support/systemd/nextepc-mmed.service lib/systemd/system
|
6
debian/nextepc-pcrf.install
vendored
6
debian/nextepc-pcrf.install
vendored
@@ -1,6 +0,0 @@
|
||||
usr/bin/nextepc-pcrfd
|
||||
etc/nextepc/freeDiameter/pcrf.conf
|
||||
etc/nextepc/freeDiameter/pcrf.cert.pem
|
||||
etc/nextepc/freeDiameter/pcrf.key.pem
|
||||
etc/nextepc/pcrf.conf
|
||||
support/systemd/nextepc-pcrfd.service lib/systemd/system
|
7
debian/nextepc-pgw.install
vendored
7
debian/nextepc-pgw.install
vendored
@@ -1,7 +0,0 @@
|
||||
usr/bin/nextepc-pgwd
|
||||
etc/nextepc/freeDiameter/pgw.conf
|
||||
etc/nextepc/freeDiameter/pgw.cert.pem
|
||||
etc/nextepc/freeDiameter/pgw.key.pem
|
||||
etc/nextepc/pgw.conf
|
||||
support/network/99-nextepc.* etc/systemd/network
|
||||
support/systemd/nextepc-pgwd.service lib/systemd/system
|
53
debian/nextepc-pgw.postinst
vendored
53
debian/nextepc-pgw.postinst
vendored
@@ -1,53 +0,0 @@
|
||||
#!/bin/sh
|
||||
# postinst script for nextepc
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <postinst> `abort-remove'
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
if test "x`sysctl -n net.ipv6.conf.all.disable_ipv6`" = x1; then
|
||||
echo "net.ipv6.conf.all.disable_ipv6=0" > /etc/sysctl.d/30-nextepc.conf
|
||||
sysctl -p /etc/sysctl.d/30-nextepc.conf
|
||||
fi
|
||||
if test "x`systemctl is-enabled systemd-networkd`" = xdisabled; then
|
||||
systemctl enable systemd-networkd
|
||||
fi
|
||||
deb-systemd-invoke restart systemd-networkd
|
||||
if test -f /etc/sysctl.d/30-nextepc.conf && grep "pgwtun" /proc/net/dev > /dev/null; then
|
||||
echo "net.ipv6.conf.pgwtun.disable_ipv6=0" > /etc/sysctl.d/30-nextepc.conf
|
||||
sysctl -p /etc/sysctl.d/30-nextepc.conf
|
||||
fi
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
46
debian/nextepc-pgw.postrm
vendored
46
debian/nextepc-pgw.postrm
vendored
@@ -1,46 +0,0 @@
|
||||
#!/bin/sh
|
||||
# postrm script for nextepc-core
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <overwriter>
|
||||
# <overwriter-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
if grep "pgwtun" /proc/net/dev > /dev/null; then
|
||||
ip tuntap del name pgwtun mode tun
|
||||
fi
|
||||
rm -f /etc/sysctl.d/30-nextepc.conf
|
||||
;;
|
||||
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
3
debian/nextepc-sgw.install
vendored
3
debian/nextepc-sgw.install
vendored
@@ -1,3 +0,0 @@
|
||||
usr/bin/nextepc-sgwd
|
||||
etc/nextepc/sgw.conf
|
||||
support/systemd/nextepc-sgwd.service lib/systemd/system
|
3
debian/open5gs-amf.install
vendored
Normal file
3
debian/open5gs-amf.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-amfd
|
||||
configs/open5gs/amf.yaml etc/open5gs
|
||||
configs/systemd/open5gs-amfd.service lib/systemd/system
|
3
debian/open5gs-ausf.install
vendored
Normal file
3
debian/open5gs-ausf.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-ausfd
|
||||
configs/open5gs/ausf.yaml etc/open5gs
|
||||
configs/systemd/open5gs-ausfd.service lib/systemd/system
|
3
debian/open5gs-bsf.install
vendored
Normal file
3
debian/open5gs-bsf.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-bsfd
|
||||
configs/open5gs/bsf.yaml etc/open5gs
|
||||
configs/systemd/open5gs-bsfd.service lib/systemd/system
|
1
debian/open5gs-common.dirs
vendored
Normal file
1
debian/open5gs-common.dirs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var/log/open5gs
|
6
debian/open5gs-common.install
vendored
Normal file
6
debian/open5gs-common.install
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
usr/lib/*/libogs*.so*
|
||||
usr/lib/*/libfd*.so*
|
||||
usr/lib/*/freeDiameter/*.fdx
|
||||
configs/freeDiameter/cacert.pem /etc/freeDiameter
|
||||
configs/logrotate/open5gs /etc/logrotate.d
|
||||
misc/db/open5gs-dbctl /usr/bin
|
52
debian/open5gs-common.postinst
vendored
Normal file
52
debian/open5gs-common.postinst
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
#!/bin/sh
|
||||
# postinst script for open5gs-common
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <postinst> `abort-remove'
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# create a open5gs group and user
|
||||
if ! getent passwd open5gs >/dev/null; then
|
||||
adduser --system --disabled-password --disabled-login \
|
||||
--home /var/run/open5gs --no-create-home \
|
||||
--quiet --group open5gs
|
||||
fi
|
||||
for dir in /var/log/open5gs; do
|
||||
if ! dpkg-statoverride --list "$dir" >/dev/null 2>&1; then
|
||||
dpkg-statoverride --update --add open5gs open5gs 0755 "$dir"
|
||||
fi
|
||||
done
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
44
debian/open5gs-common.postrm
vendored
Normal file
44
debian/open5gs-common.postrm
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
# postrm script for open5gs-common
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <overwriter>
|
||||
# <overwriter-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
rm -f /var/log/open5gs/*.log || true
|
||||
rmdir /var/log/open5gs || true
|
||||
;;
|
||||
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
4
debian/open5gs-hss.install
vendored
Normal file
4
debian/open5gs-hss.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/bin/open5gs-hssd
|
||||
configs/freeDiameter/hss.* etc/freeDiameter
|
||||
configs/open5gs/hss.yaml etc/open5gs
|
||||
configs/systemd/open5gs-hssd.service lib/systemd/system
|
4
debian/open5gs-mme.install
vendored
Normal file
4
debian/open5gs-mme.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/bin/open5gs-mmed
|
||||
configs/freeDiameter/mme.* etc/freeDiameter
|
||||
configs/open5gs/mme.yaml etc/open5gs
|
||||
configs/systemd/open5gs-mmed.service lib/systemd/system
|
3
debian/open5gs-nrf.install
vendored
Normal file
3
debian/open5gs-nrf.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-nrfd
|
||||
configs/open5gs/nrf.yaml etc/open5gs
|
||||
configs/systemd/open5gs-nrfd.service lib/systemd/system
|
3
debian/open5gs-nssf.install
vendored
Normal file
3
debian/open5gs-nssf.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-nssfd
|
||||
configs/open5gs/nssf.yaml etc/open5gs
|
||||
configs/systemd/open5gs-nssfd.service lib/systemd/system
|
3
debian/open5gs-pcf.install
vendored
Normal file
3
debian/open5gs-pcf.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-pcfd
|
||||
configs/open5gs/pcf.yaml etc/open5gs
|
||||
configs/systemd/open5gs-pcfd.service lib/systemd/system
|
4
debian/open5gs-pcrf.install
vendored
Normal file
4
debian/open5gs-pcrf.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/bin/open5gs-pcrfd
|
||||
configs/freeDiameter/pcrf.* etc/freeDiameter
|
||||
configs/open5gs/pcrf.yaml etc/open5gs
|
||||
configs/systemd/open5gs-pcrfd.service lib/systemd/system
|
3
debian/open5gs-sgwc.install
vendored
Normal file
3
debian/open5gs-sgwc.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-sgwcd
|
||||
configs/open5gs/sgwc.yaml etc/open5gs
|
||||
configs/systemd/open5gs-sgwcd.service lib/systemd/system
|
3
debian/open5gs-sgwu.install
vendored
Normal file
3
debian/open5gs-sgwu.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-sgwud
|
||||
configs/open5gs/sgwu.yaml etc/open5gs
|
||||
configs/systemd/open5gs-sgwud.service lib/systemd/system
|
4
debian/open5gs-smf.install
vendored
Normal file
4
debian/open5gs-smf.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/bin/open5gs-smfd
|
||||
configs/freeDiameter/smf.* etc/freeDiameter
|
||||
configs/open5gs/smf.yaml etc/open5gs
|
||||
configs/systemd/open5gs-smfd.service lib/systemd/system
|
3
debian/open5gs-udm.install
vendored
Normal file
3
debian/open5gs-udm.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-udmd
|
||||
configs/open5gs/udm.yaml etc/open5gs
|
||||
configs/systemd/open5gs-udmd.service lib/systemd/system
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user