mirror of
https://github.com/open5gs/open5gs.git
synced 2025-10-23 16:13:46 +00:00
Compare commits
1406 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
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 | ||
|
bb2e976958 | ||
|
9b53988ab6 | ||
|
af1b87002a | ||
|
75b09fe410 | ||
|
c47f065e1a | ||
|
48bfe83c0f | ||
|
3ff9c6bbb5 | ||
|
1b62f07684 | ||
|
0ebd85f364 | ||
|
4165ec1264 | ||
|
540a3956bb | ||
|
9919e7dc86 | ||
|
6bd8411fc1 | ||
|
8fea12643a | ||
|
c964d1df3c | ||
|
ddaea685b3 | ||
|
e1ad9c43d7 | ||
|
0b91d42cb1 | ||
|
653701abdb | ||
|
58bcda332b | ||
|
8cb620e477 | ||
|
5cac796e46 | ||
|
8c68560ccd | ||
|
b2c6c8f856 | ||
|
f753d38338 | ||
|
c711e788d2 | ||
|
26f4081979 | ||
|
3427835ecc | ||
|
7312dd1974 | ||
|
f5599896ff | ||
|
aea1d83026 | ||
|
3dc2d396db | ||
|
d004770e17 | ||
|
f049ffb945 | ||
|
3b66bf09aa | ||
|
0e7cf76f8a | ||
|
0ce11e3a7c | ||
|
d96efc6ea9 | ||
|
a5dd751817 | ||
|
334de68d85 | ||
|
295213dd62 | ||
|
0a93c886ad | ||
|
f91b872d0b | ||
|
283e37ca26 | ||
|
e2afb6b2fc | ||
|
51b07a496e | ||
|
c3e5bdba53 | ||
|
271949ad86 | ||
|
7ed6d53604 | ||
|
85a100c69d | ||
|
3327420b6f | ||
|
64a9fef969 | ||
|
95079a8e90 | ||
|
1c658c1e45 | ||
|
06e56a4509 | ||
|
2295636f36 | ||
|
8f9219bef0 | ||
|
b2f957dc8e | ||
|
71c7508047 | ||
|
bc87fc9c18 | ||
|
50fdf5474f | ||
|
51fde0acd8 | ||
|
5ee7cdd3f8 | ||
|
048eb3f2b2 | ||
|
352b02fc3e | ||
|
9d8695fa31 | ||
|
9415f5215c | ||
|
8c674aa134 | ||
|
3b9b1108b1 | ||
|
9aed43075c | ||
|
3d78f285be | ||
|
749d632b86 | ||
|
37ecb9a63b | ||
|
0d3af830bb | ||
|
7c7cfd1cbf | ||
|
4f1efbb521 | ||
|
2fb37ad797 | ||
|
ffa6c2c15b | ||
|
c906b243a2 | ||
|
056fc43d34 | ||
|
76c84bdaa4 | ||
|
6ae20c9d1c | ||
|
fe84604fa0 | ||
|
85a2a64b65 | ||
|
f5c203d3ac | ||
|
9a0afe035a | ||
|
76d8df3879 | ||
|
550a606306 | ||
|
1b21c21395 | ||
|
157dab73c7 | ||
|
7dba30b1e6 | ||
|
55fa0115e8 | ||
|
2142d406f0 | ||
|
9d84d4d43a | ||
|
16aa960b1e | ||
|
57ef9697c3 | ||
|
280aaf9fe1 | ||
|
529b55c16b | ||
|
10f59c850b | ||
|
e18467889c | ||
|
3148d4cd67 | ||
|
de92fdd5c7 | ||
|
f3ddfaec44 | ||
|
2d5f9d0d26 | ||
|
765eb2ada0 | ||
|
ee3c2d29bf | ||
|
60aca81a1f | ||
|
e60a3d567d | ||
|
c968067829 | ||
|
553804dd94 | ||
|
38a252bbf0 | ||
|
ae1660c436 | ||
|
d2aed88ac6 | ||
|
e5a0b1ff69 | ||
|
539d0c7bc5 | ||
|
a1e06c919f | ||
|
935e4b56ef | ||
|
2a1feae83f | ||
|
b1055f703a | ||
|
dab5bae4ed | ||
|
8ff9a7cf4c | ||
|
82dee88309 | ||
|
6ff80f4457 | ||
|
62eed38e63 | ||
|
e66c8270d8 | ||
|
ab6f48193b | ||
|
f3b4a9b70f | ||
|
80b14b85f0 | ||
|
db1d139364 | ||
|
03644bdb0c | ||
|
c944e87d5a | ||
|
778d23e717 | ||
|
ef9d5948a8 | ||
|
13ece7f4d4 | ||
|
a9e5283db3 | ||
|
87b6896128 | ||
|
6c692e05f5 | ||
|
bf6e3cdc8c | ||
|
8a2699b81f | ||
|
d503fadd55 | ||
|
463e40d41b | ||
|
4b32d7f448 | ||
|
25c90c0e96 | ||
|
1cd740704e | ||
|
9434c751cb | ||
|
0414f19684 | ||
|
5d21ae4071 | ||
|
f89358dc03 | ||
|
4c8123f771 | ||
|
637d8613ba | ||
|
d881f8c2ed | ||
|
dbdd6bfdcf | ||
|
99a8e06ccf | ||
|
a11f6e431c | ||
|
8e52447a53 | ||
|
5172d2034a | ||
|
49fba95ebb | ||
|
74834c0eb4 | ||
|
422d1c2f8f | ||
|
98a317b4b9 | ||
|
ff3dc862b3 | ||
|
9e55f1c78a | ||
|
c7d24c804b | ||
|
308c6f1e66 | ||
|
6480689da4 | ||
|
2c1d70de3c | ||
|
d40bf0463d | ||
|
e10d358a2b | ||
|
bb844434f2 | ||
|
6c3390bf30 | ||
|
c31dfb507d | ||
|
5fad2f0e5c | ||
|
e69cea9b5b | ||
|
1c8d10a696 | ||
|
0d073fbb73 | ||
|
c5689b3f66 | ||
|
0c9b034f12 | ||
|
16b69865ac | ||
|
fa981b8028 | ||
|
0628b76296 | ||
|
0d8928ff05 | ||
|
da04290a62 | ||
|
6f9e45a332 | ||
|
9357381839 | ||
|
8ab602e6d2 | ||
|
84e7f50b3f | ||
|
2bc92c5ac8 | ||
|
2429a4e363 | ||
|
dab0f3ef3a | ||
|
144548f4c0 | ||
|
1f44efbc3d | ||
|
6df88862f9 | ||
|
f49a66dfc5 | ||
|
7e8718e346 | ||
|
02712a38e6 | ||
|
888cbfbdb8 | ||
|
cdf7fb94bf | ||
|
e4989c7aa3 | ||
|
5365893c34 | ||
|
3c65414135 | ||
|
80bcfcf646 | ||
|
7e460fbcb4 | ||
|
62fe796d41 | ||
|
0104543f7d | ||
|
39c30cb908 | ||
|
c09b272e53 | ||
|
92d8bde84a | ||
|
e2bb5706fa | ||
|
d74afc5bc7 | ||
|
c8a65b6b18 | ||
|
f5582c97b5 | ||
|
b8cc130bf5 | ||
|
12d65e92d1 | ||
|
2904284405 | ||
|
f1b0cd5748 | ||
|
91c9586561 | ||
|
05cfcf4cc3 | ||
|
c827701824 | ||
|
5fcc7e2ee6 | ||
|
bd1dff2dc5 | ||
|
f1ad0b11ae | ||
|
9a86d4cb7c | ||
|
38cccb8a85 | ||
|
2d72eaa24d | ||
|
f915820f3a | ||
|
1009ac5e47 | ||
|
536138457e | ||
|
730053cef4 | ||
|
4a01623d6e | ||
|
0cf0e73bf9 | ||
|
87e7992450 | ||
|
75aaf632b8 | ||
|
5c3c99acda | ||
|
081170a86e | ||
|
c9b4a20223 | ||
|
926e73e87d | ||
|
61f796d341 | ||
|
03715c84be | ||
|
72d28286ea | ||
|
c2d68cf4b6 | ||
|
e99f6c7789 | ||
|
340b3cb69c | ||
|
5d8231e6c2 | ||
|
1e5313c230 | ||
|
d488bc3ed7 | ||
|
0de9185545 | ||
|
9563e49f48 | ||
|
881196cde2 | ||
|
c096cce571 | ||
|
3c33206dee | ||
|
382c52a481 | ||
|
f904b63053 | ||
|
7769ded65a | ||
|
0170166b6b | ||
|
935e81f9c9 | ||
|
9fbcb45171 | ||
|
c9596d82f7 | ||
|
598b711c01 | ||
|
f9096d55f5 | ||
|
0e87056e2e | ||
|
ad10c84ffe | ||
|
7b99cc7d7c | ||
|
75cc9bbb47 | ||
|
3a57990cbc | ||
|
14ef938fb9 | ||
|
5c1a3d54e3 | ||
|
2defa5c868 | ||
|
4371084af4 | ||
|
c0d4f25717 | ||
|
aacaa83eea | ||
|
de04e1de45 | ||
|
95551de5f9 | ||
|
bb4339de2a | ||
|
831b3e8985 | ||
|
f37b3cbfd3 | ||
|
23998862f2 | ||
|
e72d79a328 | ||
|
66d16ae1bb | ||
|
00178ff65e | ||
|
582c771605 | ||
|
52a1e05f41 | ||
|
c293bef05a | ||
|
ebddb2ad9f | ||
|
7c2dd5e462 | ||
|
f61233e627 | ||
|
b97597ae7c | ||
|
57f3baa273 | ||
|
d944bca038 | ||
|
857a250e4f | ||
|
34986be707 | ||
|
cb7132a2fa | ||
|
5397cfd2d8 | ||
|
0cd0221b29 | ||
|
8bd186adad | ||
|
4e5d156a6a | ||
|
c9e44579d8 | ||
|
4648dc05d5 | ||
|
ca79c05fe6 | ||
|
b040214364 | ||
|
c3afd65ff3 | ||
|
f4baa62209 | ||
|
03cf945f95 | ||
|
01d7f157ff | ||
|
e49e1d2331 | ||
|
67393d0160 | ||
|
7ca9ead4b9 | ||
|
3f7c3d3041 | ||
|
cf6df20ad7 | ||
|
b77c9b8ff6 | ||
|
795ecc8cf8 | ||
|
b704e94efa | ||
|
ae6e747e52 | ||
|
60cfbed747 | ||
|
597fcfbad9 | ||
|
762431cb6f | ||
|
21a130bc16 | ||
|
5774aeb62d | ||
|
7b2355a40f | ||
|
28237ea6af | ||
|
09969e859d | ||
|
9451928786 | ||
|
c6bfed6628 | ||
|
20efdd5639 | ||
|
dfb9755295 | ||
|
6272d170e0 | ||
|
e31976e505 | ||
|
4c98dae79e | ||
|
94145fec62 | ||
|
bba98cf066 | ||
|
9503c8efdc | ||
|
f5f4e42be9 | ||
|
afafce6760 | ||
|
49cfb51a65 | ||
|
02a11b6c50 | ||
|
859322cb22 | ||
|
b1c61cfcbf | ||
|
ed92c30b26 | ||
|
610292fb5c | ||
|
66d71924ce | ||
|
b37a74416a | ||
|
35a95fd4ac | ||
|
d66e25dda3 | ||
|
6850e3b2a3 | ||
|
225e1ba07f | ||
|
67870af84f | ||
|
17cbd61552 | ||
|
ebd8d2f571 | ||
|
7d43bd870e | ||
|
f94553bc8a | ||
|
6e6eb7a355 | ||
|
b678d9e9a2 | ||
|
4c8e2add2f | ||
|
8557d50341 | ||
|
e785d4ca4e | ||
|
32d62805df | ||
|
4eb314d781 | ||
|
1d947c5698 | ||
|
05f631f0ac | ||
|
9b9bfdc0b0 | ||
|
f93d367eee | ||
|
6bcd72cf45 | ||
|
2a6102d207 | ||
|
734ac953a7 | ||
|
56dd6b6a28 | ||
|
3be652701e | ||
|
862571c8ed | ||
|
907c3f2f3c | ||
|
baf273c06e | ||
|
cb50821aa8 | ||
|
1830b0bc75 | ||
|
d02763dde5 | ||
|
ee0d7fe7d8 | ||
|
e4c189fec2 | ||
|
2701add779 | ||
|
9b8eef2545 | ||
|
52c6504c65 | ||
|
f35aa2178f | ||
|
46f85d9fc8 | ||
|
131babeddc | ||
|
6acdff21bb | ||
|
e0504dcf12 | ||
|
95708a6ce4 | ||
|
c9b4a1023b | ||
|
8025f10586 | ||
|
e2f1872ea7 | ||
|
8ae6f82aee | ||
|
2620a4bd44 | ||
|
3334afe891 | ||
|
ab4c8f3e9e | ||
|
c56f75299c | ||
|
8537aaee1b | ||
|
d13b735d26 | ||
|
3662ad423e | ||
|
d8f23bed1a | ||
|
131fb3ac79 | ||
|
fffd654391 | ||
|
c12e76e32d | ||
|
f1e41050c3 | ||
|
4acc21093b | ||
|
543753d0d1 | ||
|
2bb9446fa2 | ||
|
73a352657d | ||
|
47407e4855 | ||
|
60b59babe0 | ||
|
733f598f24 | ||
|
521b18ea2a | ||
|
5457e4042e | ||
|
4b0565c2e9 | ||
|
d1303a60e4 | ||
|
257d58d999 | ||
|
059a71822c | ||
|
d77be669a9 | ||
|
c1848e03a1 | ||
|
ee770398c2 | ||
|
11b4463ce4 | ||
|
4b1c4b598b | ||
|
2884430c57 | ||
|
853913b31d | ||
|
8c3d4ca0de | ||
|
63562dd63a | ||
|
4417578210 | ||
|
694c39c69e | ||
|
9675c3bf8c | ||
|
8753879a93 | ||
|
f41559c55f | ||
|
7e2488035e | ||
|
b424213768 | ||
|
3503fda431 | ||
|
47dc5eec38 | ||
|
1498f6c015 | ||
|
7a771173bc | ||
|
9ec0867941 | ||
|
f360d20f01 | ||
|
2059341d4f | ||
|
58f501d397 | ||
|
95aaf2f8f1 | ||
|
e24856eb0e | ||
|
e7c14242c7 | ||
|
0a490cf819 | ||
|
b25082cb06 | ||
|
81a957172b | ||
|
a5057c1488 | ||
|
60b82c75e6 | ||
|
1f0452d37d | ||
|
e9da026495 | ||
|
b99c266533 | ||
|
b80b295af4 | ||
|
a15b60024b | ||
|
1a9ba2680b | ||
|
06a4a09d08 | ||
|
20f45a455e | ||
|
2406bf8d19 | ||
|
13a06479a9 | ||
|
38e245d467 | ||
|
e4397176cf | ||
|
779d5e88d0 | ||
|
e95dcf192d | ||
|
69a880b5fe | ||
|
64268232b1 | ||
|
5ca708deab | ||
|
7e63ab488d | ||
|
229a56f85d | ||
|
d2e54482c1 | ||
|
5a96013bf8 | ||
|
8e8d0c2978 | ||
|
a13f21b115 | ||
|
09eceddd97 | ||
|
a630830f0c | ||
|
cd45d6d2c5 | ||
|
f717eeb3ae | ||
|
9e8ced5835 | ||
|
f945b483e8 | ||
|
b166adf3bd | ||
|
9cca50b7c7 | ||
|
add2145851 | ||
|
65e1a8dbac | ||
|
b0b7e9f167 | ||
|
9d14f5e89d | ||
|
9675c47a10 | ||
|
627077247c | ||
|
b8ef9e9e2a | ||
|
fe1c368577 | ||
|
1a3f5cf86e | ||
|
560204ab46 | ||
|
e4bec187fd | ||
|
9544a79c2c | ||
|
81be4cca66 | ||
|
4501a76d96 | ||
|
408ce293de | ||
|
18859c1203 | ||
|
f40159ea2a | ||
|
8081ea3044 | ||
|
c81e2beee6 | ||
|
a864b36f44 | ||
|
0557be8ffd | ||
|
7d3ec80f5d | ||
|
7a293e8d3a | ||
|
72c9ae5d56 | ||
|
f71b2502ad | ||
|
e7207e74d2 | ||
|
385d73e17a | ||
|
d85f546de2 | ||
|
fdebe90f7c | ||
|
65088e690d | ||
|
48c5574819 | ||
|
b52d1faa64 | ||
|
92cebbce2d | ||
|
996a0df756 | ||
|
a3fbbf70cb | ||
|
466b15f5ad | ||
|
a39764cf50 | ||
|
0fab5ee3da | ||
|
573d509919 | ||
|
03f681ca05 | ||
|
649fd75b14 | ||
|
8f1df48a95 | ||
|
de09353e5d | ||
|
487a4eb155 | ||
|
1131166988 | ||
|
88f34c42be | ||
|
cdaf1c0468 | ||
|
a102864428 | ||
|
a5cc4f7a43 | ||
|
73fb7e1c30 | ||
|
fa6bb86e3d | ||
|
8d3330cb79 | ||
|
60804c79d6 | ||
|
0cf2319b9c | ||
|
f0f5a5ce31 | ||
|
0c3054652d | ||
|
7ea5f3d910 | ||
|
16080d9aa7 | ||
|
d7696f4fa6 | ||
|
f38587595f | ||
|
9d4afbba97 | ||
|
04d3753f1c | ||
|
ba5687de1b | ||
|
52b2125538 | ||
|
70286b3fd0 | ||
|
7de0753b2c | ||
|
d5381019c9 | ||
|
7898fb4ae3 | ||
|
b63f92fc20 | ||
|
d0530877c2 | ||
|
08b88eba73 | ||
|
cc762f3c00 | ||
|
634de8c788 | ||
|
94c2c6ca7d | ||
|
ae57423eab | ||
|
46c699143a | ||
|
a74c9be2e6 | ||
|
c4b4a6850d | ||
|
bd9f1a74a4 | ||
|
c5abd526d6 | ||
|
e4f100055c | ||
|
1864509cbb | ||
|
05c95dbfef | ||
|
79ec7d8bc0 | ||
|
7e84bd1aaf | ||
|
cb59525ca4 | ||
|
9f05e5e10f | ||
|
fc9b182e55 | ||
|
bd94d695be | ||
|
b7fb6c6117 | ||
|
b7479df01b | ||
|
6cd9e965a1 | ||
|
3fc397c9f2 | ||
|
2f407de0d4 | ||
|
54636e1843 | ||
|
989de209d0 | ||
|
85f6bd6826 | ||
|
0347f05f9b | ||
|
8902169320 | ||
|
31dd8b0f8c | ||
|
4336e50d54 | ||
|
95b2f5a951 | ||
|
cb4893c36b | ||
|
5551ecf6cd | ||
|
521d7877b4 | ||
|
178678c216 | ||
|
ce801ee218 | ||
|
8e1506a454 | ||
|
b04c7393f2 | ||
|
15c3827ca9 | ||
|
b04d930f77 | ||
|
fc4a89b678 | ||
|
587598c8a9 | ||
|
d70701361f | ||
|
1f71dd9e6e | ||
|
969dc789df | ||
|
7108d8cd7f | ||
|
e8e6836ab8 | ||
|
9b5234bd5f | ||
|
23c5e1040a | ||
|
26fc43f6cb | ||
|
f4c4dbe55d | ||
|
f069f19185 | ||
|
e424e554d7 | ||
|
bd424f3a08 | ||
|
681a488ade | ||
|
a0599f7c2d | ||
|
793b06ce33 | ||
|
06f8870796 | ||
|
126c8b4e11 | ||
|
e4fd5ad70f | ||
|
44fed77ac4 | ||
|
ceda682290 | ||
|
3e05717180 | ||
|
590630b839 | ||
|
6d412139ef | ||
|
48cdb1e390 | ||
|
717439cafa | ||
|
03a6bb7902 | ||
|
f8f18eb6f5 | ||
|
d2dcf4a877 | ||
|
397f37cbb7 | ||
|
35f35458c7 | ||
|
82b84d760c | ||
|
10becbb998 | ||
|
1c587edff5 | ||
|
9d3049de00 | ||
|
5ebc0c0b0d | ||
|
4591209759 | ||
|
a747f91b39 | ||
|
1ab90bcef4 | ||
|
a7690e395b | ||
|
1a592f4d51 | ||
|
c4c03da77f | ||
|
5663cd87c1 | ||
|
fe921e0c2f | ||
|
63fb6625b3 | ||
|
410133bf68 | ||
|
609aa4558f | ||
|
97c7ad63b6 | ||
|
a6d23971cd | ||
|
17b6a013b8 | ||
|
f86839eb7b | ||
|
2c00f28b50 | ||
|
ce5b65b4df | ||
|
3ae058dc63 | ||
|
4a2604b52c | ||
|
8add407715 | ||
|
c300d2b99a | ||
|
8287db900c | ||
|
7e0ce073fb | ||
|
b6b39c9dad | ||
|
71b58e7724 | ||
|
d874ec5b48 | ||
|
5cebb48bc6 | ||
|
c6623a277a | ||
|
fee05d3764 | ||
|
5a818eb8cd | ||
|
f25626ee84 | ||
|
4baf7ece46 | ||
|
6a90caaf8f | ||
|
c58d3d64f3 | ||
|
bb343cb8e4 | ||
|
d07b8f1e01 | ||
|
dd15dacb18 | ||
|
e7d3d2f4da | ||
|
60ac1dbfe6 | ||
|
17b360bc18 | ||
|
f1ac8b853b | ||
|
e1e907bad7 | ||
|
c4b86f5ee9 | ||
|
1528568bb8 | ||
|
0b78387d7f | ||
|
aaa57d3008 | ||
|
f9fe704ccb | ||
|
8b5ae91547 | ||
|
8e40a0eb64 | ||
|
4f722f2807 | ||
|
73fd1a8d99 | ||
|
82112f5678 | ||
|
7eceefb0f2 | ||
|
40c99a8c13 | ||
|
1e68d47927 | ||
|
92fc35861f | ||
|
7d7e9f154b | ||
|
b34d8b931e | ||
|
61432a3070 | ||
|
23fa36bc23 | ||
|
cb63c2b1ea | ||
|
b2620caf26 | ||
|
5a8d169ba1 | ||
|
d49404ad2d | ||
|
2dcb56a41d | ||
|
7025491846 | ||
|
62afe724ed | ||
|
8fb2e0ba3b | ||
|
6412231f29 | ||
|
685272fce8 | ||
|
859d6427fd | ||
|
65fb2d280f | ||
|
5d0bc98f8d | ||
|
227cae5762 | ||
|
65b7008378 | ||
|
2f49e6024d | ||
|
b1023fac1d | ||
|
cfc352ea0d | ||
|
a27f294f74 | ||
|
e44e613ff2 | ||
|
38a5ad3c68 | ||
|
ce827fe733 | ||
|
1928da0557 | ||
|
9c593a2757 | ||
|
0fb47c499f | ||
|
5bf84f3b62 | ||
|
7151a98f41 | ||
|
21d2ca34f6 | ||
|
5778fb6cbc | ||
|
1ad25fbc9c | ||
|
8a6b602836 | ||
|
ef3bb2e368 | ||
|
376f7c1304 | ||
|
1238f31178 | ||
|
f186ec93dd | ||
|
2ba078277f | ||
|
89439ce79e | ||
|
19e18b9efb | ||
|
113cbd0e9e | ||
|
6db21f54c1 | ||
|
a4d1bae083 | ||
|
7c505f917a | ||
|
e521d75e7a | ||
|
221fd81bb2 | ||
|
068d049a9f | ||
|
90a50d999d | ||
|
12ae140185 | ||
|
f839fd93b7 | ||
|
cd59df5011 | ||
|
11df912058 | ||
|
4e0abf8775 | ||
|
a0e6cc3996 | ||
|
5361934469 | ||
|
6e00fd349c | ||
|
3778e47bdc | ||
|
53a86f30cc | ||
|
e63fa44fff | ||
|
f4a47e30c7 | ||
|
1941c8b729 | ||
|
8b916d15f4 | ||
|
4ef15728a0 | ||
|
bfbb98fc1f | ||
|
5cc56ab353 | ||
|
1b0536dca0 | ||
|
0d13c26307 | ||
|
cd2df5d894 | ||
|
d87383be69 | ||
|
d851d03925 | ||
|
d092c329da | ||
|
4345398ca2 | ||
|
d2cf6821b8 | ||
|
3db70a3ad0 | ||
|
362db04ff6 | ||
|
ea7cca3d40 | ||
|
f35eea1634 | ||
|
2c5f9e6c0c | ||
|
066339d8cb | ||
|
d9ab53bbf0 | ||
|
561c041010 | ||
|
fbe3e3685f | ||
|
2f43079fc6 | ||
|
0bdbee24cf | ||
|
081f8c8808 | ||
|
a9dd6be8e8 | ||
|
a25de7b287 | ||
|
46b403c43d | ||
|
b060ea1714 | ||
|
f627565696 | ||
|
badc1f2da3 | ||
|
10cda2cfd7 | ||
|
abdcbe7b7a | ||
|
377f725f26 | ||
|
ff31858a81 | ||
|
9e27685cd0 | ||
|
c09483b540 | ||
|
44f0155f5a | ||
|
a0eb08a2fa | ||
|
8c289c6d6e | ||
|
baf6af79d6 | ||
|
2d1983cfb0 | ||
|
5c4c4498d2 | ||
|
f72aa7a468 | ||
|
c8ec3702d0 | ||
|
4e33365bf4 | ||
|
fdae399c74 | ||
|
e367b00d2c | ||
|
b08c91190a | ||
|
52080092b6 | ||
|
88b5560a2a | ||
|
6d99061b17 | ||
|
f624adf540 | ||
|
67827d5ea4 | ||
|
20800c611b | ||
|
6c8d4328fb | ||
|
588a6ba012 | ||
|
d4dd8bb72d | ||
|
6d25211f3b | ||
|
4ae9673935 | ||
|
cd36e9a334 | ||
|
0897c36947 | ||
|
6989a8ae91 | ||
|
df1f35e92b | ||
|
6f5ec19388 | ||
|
6eb05495aa | ||
|
81a8b00d78 | ||
|
382c909ffc | ||
|
92ba86f1fd | ||
|
adcc473d6e | ||
|
5314bcb687 | ||
|
30e7beb84c | ||
|
e8071fa544 | ||
|
32b7183483 | ||
|
f6f1720fee | ||
|
6b8cdafbbd | ||
|
074b7b41e8 | ||
|
2223dfef0e | ||
|
7b046c75b2 | ||
|
3bf6326763 | ||
|
c2d962d4d1 | ||
|
34270825a7 | ||
|
d971a9c9ae | ||
|
d40ba2a67c | ||
|
7b1949da6c | ||
|
2a3fe018e8 | ||
|
36985520f9 | ||
|
cca9f6d521 | ||
|
da1a50e9d3 | ||
|
c460386d39 | ||
|
1c64000431 | ||
|
1df4fc9a41 | ||
|
ae6f1001f8 | ||
|
4bce6df238 | ||
|
bb806e492e | ||
|
c3ffd52771 | ||
|
ec91b9e8da | ||
|
cd8f29aa59 | ||
|
bb74b173ca | ||
|
10b23bb64e | ||
|
ea253016fc | ||
|
a020b587c1 | ||
|
0eb9ae4792 | ||
|
f275617225 | ||
|
92ecad5118 | ||
|
d486e84816 | ||
|
b287a3b022 | ||
|
83a21c5840 | ||
|
b9f4dcf4ea | ||
|
a20c96bc21 | ||
|
291a5ce514 | ||
|
cdbc8d1ab0 | ||
|
689c3b95e7 | ||
|
b8a37b0ea1 | ||
|
86908cdbe9 | ||
|
0f08c2a624 | ||
|
47bad3794e | ||
|
fb566fd94c | ||
|
3bbbd1b5b1 | ||
|
172266b0c5 | ||
|
1f14b132c2 | ||
|
3613b27ca7 | ||
|
4672ee559f | ||
|
02773eff40 | ||
|
5d6e63c20e | ||
|
ee4dd7732e | ||
|
8d343221d2 | ||
|
7c20ac5c64 | ||
|
dac66d0b80 | ||
|
4245502ae2 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# This directory is fetched during first build and is present in this directory
|
||||
subprojects/freeDiameter
|
||||
subprojects/usrsctp
|
145
LICENSE
145
LICENSE
@@ -1,5 +1,5 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
@@ -7,17 +7,15 @@
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
The GNU Affero General Public License is a free, copyleft license for
|
||||
software and other kinds of works, specifically designed to ensure
|
||||
cooperation with the community in the case of network server software.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
our General Public Licenses are intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
software for all its users.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
Developers that use our General Public Licenses protect your rights
|
||||
with two steps: (1) assert copyright on the software, and (2) offer
|
||||
you this License which gives you legal permission to copy, distribute
|
||||
and/or modify the software.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
A secondary benefit of defending all users' freedom is that
|
||||
improvements made in alternate versions of the program, if they
|
||||
receive widespread use, become available for other developers to
|
||||
incorporate. Many developers of free software are heartened and
|
||||
encouraged by the resulting cooperation. However, in the case of
|
||||
software used on network servers, this result may fail to come about.
|
||||
The GNU General Public License permits making a modified version and
|
||||
letting the public access it on a server without ever releasing its
|
||||
source code to the public.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
The GNU Affero General Public License is designed specifically to
|
||||
ensure that, in such cases, the modified source code becomes available
|
||||
to the community. It requires the operator of a network server to
|
||||
provide the source code of the modified version running there to the
|
||||
users of that server. Therefore, public use of a modified version, on
|
||||
a publicly accessible server, gives the public access to the source
|
||||
code of the modified version.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
An older license, called the Affero General Public License and
|
||||
published by Affero, was designed to accomplish similar goals. This is
|
||||
a different license, not a version of the Affero GPL, but Affero has
|
||||
released a new version of the Affero GPL which permits relicensing under
|
||||
this license.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
@@ -72,7 +60,7 @@ modification follow.
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
13. Remote Network Interaction; Use with the GNU General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, if you modify the
|
||||
Program, your modified version must prominently offer all users
|
||||
interacting with it remotely through a computer network (if your version
|
||||
supports such interaction) an opportunity to receive the Corresponding
|
||||
Source of your version by providing access to the Corresponding Source
|
||||
from a network server at no charge, through some standard or customary
|
||||
means of facilitating copying of software. This Corresponding Source
|
||||
shall include the Corresponding Source for any work covered by version 3
|
||||
of the GNU General Public License that is incorporated pursuant to the
|
||||
following paragraph.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
under version 3 of the GNU General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
but the work with which it is combined will remain governed by version
|
||||
3 of the GNU General Public License.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
the GNU Affero General Public License from time to time. Such new versions
|
||||
will be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Program specifies that a certain numbered version of the GNU Affero General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
GNU Affero General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
versions of the GNU Affero General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
@@ -631,44 +629,33 @@ to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
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.
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
If your software can interact with users remotely through a computer
|
||||
network, you should also make sure that it provides a way for users to
|
||||
get its source. For example, if your program is a web application, its
|
||||
interface could display a "Source" link that leads users to an archive
|
||||
of the code. There are many ways you could offer source, and different
|
||||
solutions will be better for different programs; see section 13 for the
|
||||
specific requirements.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
For more information on this, and how to apply and follow the GNU AGPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
|
71
Makefile.am
71
Makefile.am
@@ -1,71 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = lib src test
|
||||
|
||||
bin_PROGRAMS = mmed hssd sgwd pgwd pcrfd epcd
|
||||
|
||||
dist_mmed_SOURCES = main.c
|
||||
mmed_LDADD = $(top_srcdir)/src/libmme.la
|
||||
mmed_LDFLAGS = -export-dynamic
|
||||
|
||||
dist_hssd_SOURCES = main.c
|
||||
hssd_LDADD = $(top_srcdir)/src/libhss.la
|
||||
hssd_LDFLAGS = -export-dynamic
|
||||
|
||||
dist_sgwd_SOURCES = main.c
|
||||
sgwd_LDADD = $(top_srcdir)/src/libsgw.la
|
||||
sgwd_LDFLAGS = -export-dynamic
|
||||
|
||||
dist_pgwd_SOURCES = main.c
|
||||
pgwd_LDADD = $(top_srcdir)/src/libpgw.la
|
||||
pgwd_LDFLAGS = -export-dynamic
|
||||
|
||||
dist_pcrfd_SOURCES = main.c
|
||||
pcrfd_LDADD = $(top_srcdir)/src/libpcrf.la
|
||||
pcrfd_LDFLAGS = -export-dynamic
|
||||
|
||||
dist_epcd_SOURCES = main.c
|
||||
epcd_LDADD = $(top_srcdir)/src/libepc.la
|
||||
epcd_LDFLAGS = -export-dynamic
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/lib/core/include \
|
||||
-I$(top_srcdir)/src
|
||||
|
||||
sysconf_DATA = \
|
||||
support/nextepc.conf
|
||||
|
||||
freeDiameterdir = ${prefix}/etc/freeDiameter
|
||||
freeDiameter_DATA = \
|
||||
support/freeDiameter/mme.conf \
|
||||
support/freeDiameter/hss.conf \
|
||||
support/freeDiameter/pgw.conf \
|
||||
support/freeDiameter/pcrf.conf
|
||||
dist_freeDiameter_DATA = \
|
||||
support/freeDiameter/cacert.pem \
|
||||
support/freeDiameter/mme.key.pem \
|
||||
support/freeDiameter/mme.cert.pem \
|
||||
support/freeDiameter/hss.key.pem \
|
||||
support/freeDiameter/hss.cert.pem \
|
||||
support/freeDiameter/pgw.key.pem \
|
||||
support/freeDiameter/pgw.cert.pem \
|
||||
support/freeDiameter/pcrf.key.pem \
|
||||
support/freeDiameter/pcrf.cert.pem
|
||||
|
||||
install-data-hook:
|
||||
$(MKDIR_P) $(prefix)/var/log
|
||||
|
||||
CLEANFILES = symtbl.c
|
||||
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 \
|
||||
.cscope.out .cscope.out.in .cscope.files .cscope.out.po \
|
||||
Makefile.in
|
||||
MOSTLYCLEANFILES = core *.stackdump
|
267
README.md
267
README.md
@@ -1,267 +1,26 @@
|
||||
Building NextEPC
|
||||
================
|
||||
## Documentation
|
||||
|
||||
This post will guide you on how to get installed with **NextEPC**. To date, **NextEPC** has been compiled and tested on GNU/Linux distributions(Debian, Ubuntu, Fedora, OpenSUSE) and FreeBSD.
|
||||
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.
|
||||
|
||||
We will describe this guide using **Ubuntu 16.04 LTS (Xenial)**. You'll need to install **Ubuntu** if you don't have it installed already. To get the latest Ubuntu version, please visit the official Ubuntu website: [https://www.ubuntu.com/download/](https://www.ubuntu.com/download/).
|
||||
## Support
|
||||
|
||||
## Install the dependencies for building the source
|
||||
Problem with Open5GS can be filed as [issues](https://github.com/open5gs/open5gs/issues) in this repository.
|
||||
|
||||
The first step is to use **apt-get** to install all depedencies.
|
||||
Discussions related to this project are happening on the [nextepc@lists.osmocom.org](mailto:nextepc@lists.osmocom.org) mailing list, please see <https://lists.osmocom.org/mailman/listinfo/nextepc> for subscription options and the list archive.
|
||||
|
||||
```bash
|
||||
sudo apt-get -y install git gcc flex bison make autoconf libtool pkg-config libsctp-dev libssl-dev libgnutls-dev libgcrypt-dev libmongoc-dev libbson-dev mongodb
|
||||
```
|
||||
Voice and text chat available in Open5GS's [Discord](https://discordapp.com/) workspace. Use [this link](https://discord.gg/GreNkuc) to get started.
|
||||
|
||||
## Retrieve the latest version of the source package
|
||||
## Contributing
|
||||
|
||||
```bash
|
||||
git clone https://github.com/acetcom/nextepc
|
||||
```
|
||||
Open5GS is a pure/classic FOSS project, open to contributions from anyone.
|
||||
|
||||
## Configure the build
|
||||
[Pull requests](https://github.com/open5gs/open5gs/pulls) are always welcome, and I appreciates any help the community can give to help make Open5GS better.
|
||||
|
||||
```bash
|
||||
cd nextepc
|
||||
test -f configure || autoreconf -iv
|
||||
CFLAGS='-O2' ./configure --prefix=`pwd`/install
|
||||
```
|
||||
Do you want to be a committer? Please [send me an email](mailto:acetcom@gmail.com). You will be added as a committer to this project. However, if someone consistently causes difficulties with these source repositories due to poor behavior or other serious problems then commit access may be revoked.
|
||||
|
||||
## Compiling
|
||||
## License
|
||||
|
||||
Hopefully, once you have completed the autotools configuration, you only need to run:
|
||||
Open5GS source files are made available under the terms of the GNU Affero General Public License (GNU AGPLv3).
|
||||
|
||||
```bash
|
||||
make -j `nproc`
|
||||
```
|
||||
When you contribute code for Open5GS, the same license applies.
|
||||
|
||||
## Installing
|
||||
|
||||
Once the compilation is complete, you can install in the configured paths with:
|
||||
|
||||
```bash
|
||||
make install
|
||||
```
|
||||
(this might require sudo depending on the configured target directories)
|
||||
|
||||
Web Setup
|
||||
=========
|
||||
|
||||
NextEPC is configured with **Mongo DB**, which manages _Subscriber Information_ mainly, and **Configuration File** made in _JSON_ format.
|
||||
|
||||
The configuration file can be modified using a general editor such as vi or emacs, but _Subscriber Information_ can be managed properly using _Mongo DB Client_.
|
||||
|
||||
NextEPC provides **Web User Interface** solely designed to manage _Subscriber Information_ in an easy way without using _Mongo DB Client_. Let's how to install it from now on.
|
||||
|
||||
## Install Node.js and NPM
|
||||
|
||||
To get the latest **Node.js** and **NPM** version, you can visit the official **Node.js** website:
|
||||
[https://nodesjs.org/en/download/](https://nodesjs.org/en/download/).
|
||||
|
||||
Or, you can install _Node.js_ and _NPM_ on **Ubuntu** as follows:
|
||||
|
||||
```bash
|
||||
sudo apt-get -y install curl
|
||||
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
|
||||
sudo apt-get -y install nodejs
|
||||
```
|
||||
|
||||
## Install the dependencies for building the source
|
||||
|
||||
The first step is to use **npm** to install all depedencies.
|
||||
|
||||
```bash
|
||||
cd nextepc/webui
|
||||
npm install
|
||||
```
|
||||
|
||||
## Build Web User Interface
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
## Running Web Server
|
||||
|
||||
```bash
|
||||
npm run start
|
||||
```
|
||||
|
||||
## Login with default account
|
||||
|
||||
Use **Web Browser** to connect it. _http://localhost:3000_
|
||||
|
||||
* Username : admin
|
||||
* Password : 1423
|
||||
|
||||
Then, you can change your password in _Account_ Menu.
|
||||
|
||||
Network Configuration
|
||||
=====================
|
||||
|
||||
NextEPC consists of five nodes such as _MME, SGW, PGW, HSS and PCRF_. Basically, each node can be installed in a physically separate host or in the same host.
|
||||
|
||||
We will run these five nodes that make up NextEPC in a **Single Host**. The reason is why it is the easiest way to understand how to configure NextEPC network.
|
||||
|
||||
## IP Configuration
|
||||
|
||||
In order to run _MME, HSS, SGW, PGW, and PCRF_ on a **Single Host**, IP address is set by using **IP aliasing**.
|
||||
|
||||
```bash
|
||||
sudo ifconfig eth1:hss 10.1.35.214/24 up
|
||||
sudo ifconfig eth1:mme 10.1.35.215/24 up
|
||||
sudo ifconfig eth1:sgw_s5 10.1.35.216/24 up
|
||||
sudo ifconfig eth1:sgw_s11 10.1.35.217/24 up
|
||||
sudo ifconfig eth1:pcrf 10.1.35.218/24 up
|
||||
sudo ifconfig eth1:pgw 10.1.35.219/24 up
|
||||
```
|
||||
|
||||
## Setup for Data Path
|
||||
|
||||
Use the **TUN Driver** to make _Data Path_ to be used by the **PGW**.
|
||||
|
||||
```bash
|
||||
sudo ip tuntap add name pgwtun mode tun
|
||||
sudo ifconfig pgwtun 45.45.0.1/16 up
|
||||
```
|
||||
|
||||
## Check Configuration File
|
||||
|
||||
A configuration file is located `etc/nextepc.conf` from the installed paths. If you need to change the IP address for a particular problem, you should modify `XXXX_IPV4` field in the configuration file.
|
||||
|
||||
For example, if you want the IP aliasing address of *PGW* to be _10.1.35.254_, `PGW.NETWORK.S5C_IPV4` and `PGW_NETWORK.S5U_IPV4` field should be updated like the followings.
|
||||
|
||||
<pre>
|
||||
PGW :
|
||||
{
|
||||
FD_CONF_PATH : "/etc/freeDiameter
|
||||
|
||||
NETWORK :
|
||||
{
|
||||
S5C_IPV4: "10.1.35.254",
|
||||
S5U_IPV4: "10.1.35.254"
|
||||
}
|
||||
|
||||
TUNNEL:
|
||||
{
|
||||
DEV_NAME: "pgwtun"
|
||||
}
|
||||
|
||||
IP_POOL :
|
||||
{
|
||||
CIDR: 45.45.45.0/24
|
||||
}
|
||||
|
||||
DNS :
|
||||
{
|
||||
PRIMARY_IPV4: "8.8.8.8",
|
||||
SECONDARY_IPV4: "4.4.4.4"
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
|
||||
## Testing Network Configuration
|
||||
|
||||
Once you are done, run the testing script.
|
||||
```bash
|
||||
./test/testepc
|
||||
```
|
||||
You can see the simulated packet through **Wireshark**. _(FILTER : s1ap || gtpv2 || diameter)_
|
||||
|
||||
Running NextEPC
|
||||
===============
|
||||
|
||||
## Update GUMMEI and TAI
|
||||
|
||||
The followings are the **GUMMEI** and **TAI** of the *MME* currently set to Default. Your *eNodeB* will also have a **PLMN ID** and **TAC** set. Refer to these parameters to change the setting of MME or eNodeB.
|
||||
|
||||
<pre>
|
||||
GUMMEI:
|
||||
{
|
||||
PLMN_ID :
|
||||
{
|
||||
MCC : "001",
|
||||
MNC : "01"
|
||||
}
|
||||
MME_GID : 2,
|
||||
MME_CODE : 1
|
||||
},
|
||||
TAI:
|
||||
{
|
||||
PLMN_ID :
|
||||
{
|
||||
MCC: "001",
|
||||
MNC: "01",
|
||||
}
|
||||
TAC: 12345
|
||||
}
|
||||
</pre>
|
||||
|
||||
For reference, MME can set several GUMMEI and TAI as **JSON array notation** as follows.
|
||||
|
||||
<pre>
|
||||
GUMMEI:
|
||||
[
|
||||
{
|
||||
PLMN_ID :
|
||||
{
|
||||
MCC : "001",
|
||||
MNC : "01"
|
||||
}
|
||||
MME_GID : 2,
|
||||
MME_CODE : 1
|
||||
},
|
||||
{
|
||||
PLMN_ID :
|
||||
{
|
||||
MCC : "005",
|
||||
MNC : "05"
|
||||
}
|
||||
MME_GID : 5,
|
||||
MME_CODE : 6
|
||||
},
|
||||
]
|
||||
TAI:
|
||||
[
|
||||
{
|
||||
PLMN_ID :
|
||||
{
|
||||
MCC: "001",
|
||||
MNC: "01",
|
||||
}
|
||||
TAC: 12345
|
||||
},
|
||||
{
|
||||
PLMN_ID :
|
||||
{
|
||||
MCC: "005",
|
||||
MNC: "05",
|
||||
}
|
||||
TAC: 6789
|
||||
}
|
||||
]
|
||||
</pre>
|
||||
|
||||
## Register Subscriber Information
|
||||
|
||||
There is only one setting for this guide. The _Subscriber Information_ required for **HSS** should be registered in _Mongo DB_. Let's run the **Web User Interface** with `npm run start` as mentioned eariler.
|
||||
|
||||
Connect http://localhost:3000 using Web Browser.
|
||||
|
||||
* Go to Subscriber Menu
|
||||
* Click + Button to add Subscriber Information
|
||||
* Fill IMSI, Security(K, OP, AMF), APN in the Form
|
||||
* Click the `SAVE` Button
|
||||
|
||||
## Running NextEPC
|
||||
|
||||
Generally, to use NextEPC in several hosts, you must use an independent daemon called _mmed, sgwd, pgwd, hssd, and pcrfd_.
|
||||
|
||||
However, we are preparing a more convenient daemon named **epcd**. It enables to service all five nodes of NextEPC.
|
||||
|
||||
```bash
|
||||
./epcd
|
||||
```
|
||||
|
||||
Turn on your **eNodeB** and **Mobile**. Check Wireshark!
|
||||
|
||||
Hopefully, you can see the real packet for TAU/Service Request, Dedicated Bearer, Multiple APN, and S1/X2-Handover.
|
||||
|
90
acinclude.m4
90
acinclude.m4
@@ -1,90 +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
|
157
configs/csfb.yaml.in
Normal file
157
configs/csfb.yaml.in
Normal file
@@ -0,0 +1,157 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
no_ipv6: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
s1ap:
|
||||
addr: 127.0.0.1
|
||||
gtpc:
|
||||
addr: 127.0.0.1
|
||||
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 : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
|
||||
sgw:
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
gtpu:
|
||||
addr: 127.0.0.2
|
||||
|
||||
pgw:
|
||||
freeDiameter:
|
||||
identity: pgw.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.3
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.5
|
||||
|
||||
gtpc:
|
||||
- addr:
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: cafe::1/64
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.5
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pgw.localdomain
|
||||
addr: 127.0.0.3
|
17
configs/freeDiameter/cacert.pem
Normal file
17
configs/freeDiameter/cacert.pem
Normal file
@@ -0,0 +1,17 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICrDCCAhWgAwIBAgIUPoUbKXRTWQbrJYUIvyHdacCzw9cwDQYJKoZIhvcNAQEL
|
||||
BQAwaDEXMBUGA1UEAwwOY2EubG9jYWxkb21haW4xCzAJBgNVBAYTAktPMQ4wDAYD
|
||||
VQQIDAVTZW91bDEOMAwGA1UEBwwFTm93b24xEDAOBgNVBAoMB09wZW41R1MxDjAM
|
||||
BgNVBAsMBVRlc3RzMB4XDTE5MTAyMDA2NDM1OFoXDTI5MTAxNzA2NDM1OFowaDEX
|
||||
MBUGA1UEAwwOY2EubG9jYWxkb21haW4xCzAJBgNVBAYTAktPMQ4wDAYDVQQIDAVT
|
||||
ZW91bDEOMAwGA1UEBwwFTm93b24xEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsM
|
||||
BVRlc3RzMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2sDnWMj9oXpIw+vcm
|
||||
9k/WidMyhSbImINLe9YgibFfozoxZt51Hvi/aAxlqyq7akGtvpL8yVZD6j7o74z7
|
||||
6dlnUFDGC4M0WGEkcxqf5NIWe0QplCsXkEOMYHrXLQisAuUk81DNcsXlZr74bmDI
|
||||
B0dUM0xJ2JrA5mx1LzTFHSesIwIDAQABo1MwUTAdBgNVHQ4EFgQUxTjcug/DKW49
|
||||
mQeW0IcS/bhIzDcwHwYDVR0jBBgwFoAUxTjcug/DKW49mQeW0IcS/bhIzDcwDwYD
|
||||
VR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOBgQB533IwIPOEE1w2RLBF9EKX
|
||||
UxaDnUYW05t9eZFLsUtOLFiR84xhCawGEWNtaLvoJE42E17qEjnX4+KGOc6/sa6q
|
||||
bLskf7BK7496dQrVY5DO9vdSpN1ep3j+1QKae23wYpjqt2UEU3QtIZpsDjUreYri
|
||||
YLVacMQydGgizNQrY3iCvQ==
|
||||
-----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: Oct 20 06:43:58 2019 GMT
|
||||
Not After : Oct 17 06:43:58 2029 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:d3:e7:ba:6d:14:65:af:df:90:e5:4a:53:56:a1:
|
||||
f6:89:2e:cb:ee:ce:d6:73:9f:48:b6:96:78:67:a7:
|
||||
87:18:b8:ab:c3:0b:31:b3:02:92:48:ed:49:ac:40:
|
||||
c1:13:3b:13:58:50:cc:2e:59:44:e9:7e:31:02:14:
|
||||
f0:18:82:95:10:e4:37:b2:5d:14:19:1d:4b:8f:e9:
|
||||
1f:45:75:cf:0a:e0:8f:7b:e1:70:7b:ab:e4:af:2b:
|
||||
7c:4d:7f:00:d8:eb:cf:f3:96:ab:fc:04:4f:21:ad:
|
||||
d8:c4:94:05:02:ff:f3:12:48:88:9e:ce:cf:37:29:
|
||||
e0:28:39:37:62:05:ed:6d:5d
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
AB:0F:C4:B8:B7:6B:56:12:F5:D4:A3:29:B7:D9:5E:3C:DD:8B:79:DD
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:C5:38:DC:BA:0F:C3:29:6E:3D:99:07:96:D0:87:12:FD:B8:48:CC:37
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
43:95:ee:57:3f:4d:ad:bf:42:6c:48:ae:f8:2f:db:f6:cf:2e:
|
||||
53:a2:3d:48:0a:48:a4:2c:2a:7c:fa:ec:b1:bd:06:a1:21:a5:
|
||||
38:d8:00:05:81:25:91:51:e2:e6:a8:67:a8:c2:f6:5d:2a:f0:
|
||||
40:fe:20:d3:82:2d:d9:8c:4c:61:b7:43:87:7f:fe:e4:a1:b6:
|
||||
fd:54:35:13:4f:63:a5:6b:4a:01:aa:25:e9:80:27:eb:2e:a2:
|
||||
18:e0:36:37:a5:57:09:67:ed:8f:1e:13:fd:b8:b2:d7:4e:cf:
|
||||
93:d4:bf:75:02:38:4e:d4:4a:9c:35:fb:a8:0b:3a:ba:03:1a:
|
||||
e6:9e
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICsjCCAhugAwIBAgIBAjANBgkqhkiG9w0BAQsFADBoMRcwFQYDVQQDDA5jYS5s
|
||||
b2NhbGRvbWFpbjELMAkGA1UEBhMCS08xDjAMBgNVBAgMBVNlb3VsMQ4wDAYDVQQH
|
||||
DAVOb3dvbjEQMA4GA1UECgwHT3BlbjVHUzEOMAwGA1UECwwFVGVzdHMwHhcNMTkx
|
||||
MDIwMDY0MzU4WhcNMjkxMDE3MDY0MzU4WjBZMQswCQYDVQQGEwJLTzEOMAwGA1UE
|
||||
CAwFU2VvdWwxEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsMBVRlc3RzMRgwFgYD
|
||||
VQQDDA9oc3MubG9jYWxkb21haW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
|
||||
ANPnum0UZa/fkOVKU1ah9okuy+7O1nOfSLaWeGenhxi4q8MLMbMCkkjtSaxAwRM7
|
||||
E1hQzC5ZROl+MQIU8BiClRDkN7JdFBkdS4/pH0V1zwrgj3vhcHur5K8rfE1/ANjr
|
||||
z/OWq/wETyGt2MSUBQL/8xJIiJ7Ozzcp4Cg5N2IF7W1dAgMBAAGjezB5MAkGA1Ud
|
||||
EwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmlj
|
||||
YXRlMB0GA1UdDgQWBBSrD8S4t2tWEvXUoym32V483Yt53TAfBgNVHSMEGDAWgBTF
|
||||
ONy6D8Mpbj2ZB5bQhxL9uEjMNzANBgkqhkiG9w0BAQsFAAOBgQBDle5XP02tv0Js
|
||||
SK74L9v2zy5Toj1ICkikLCp8+uyxvQahIaU42AAFgSWRUeLmqGeowvZdKvBA/iDT
|
||||
gi3ZjExht0OHf/7kobb9VDUTT2Ola0oBqiXpgCfrLqIY4DY3pVcJZ+2PHhP9uLLX
|
||||
Ts+T1L91AjhO1EqcNfuoCzq6Axrmng==
|
||||
-----END CERTIFICATE-----
|
@@ -51,7 +51,6 @@ Realm = "localdomain";
|
||||
# Disable use of SCTP protocol (only listen and connect over TCP)
|
||||
# Default : SCTP enabled
|
||||
#No_SCTP;
|
||||
No_SCTP;
|
||||
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||
|
||||
# Prefer TCP instead of SCTP for establishing new connections.
|
||||
@@ -80,7 +79,7 @@ No_SCTP;
|
||||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "10.1.35.214";
|
||||
ListenOn = "127.0.0.4";
|
||||
|
||||
|
||||
##############################################################
|
||||
@@ -107,8 +106,7 @@ ListenOn = "10.1.35.214";
|
||||
# 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 = "@prefix@/etc/freeDiameter/hss.cert.pem",
|
||||
"@prefix@/etc/freeDiameter/hss.key.pem";
|
||||
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)
|
||||
@@ -116,7 +114,7 @@ TLS_Cred = "@prefix@/etc/freeDiameter/hss.cert.pem",
|
||||
# The directive can appear several times to specify several files.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CA = "<file.PEM>";
|
||||
TLS_CA = "@prefix@/etc/freeDiameter/cacert.pem";
|
||||
TLS_CA = "@sysconfdir@/freeDiameter/cacert.pem";
|
||||
|
||||
# Certificate Revocation List file
|
||||
# The information about revoked certificates.
|
||||
@@ -224,14 +222,13 @@ TLS_CA = "@prefix@/etc/freeDiameter/cacert.pem";
|
||||
# 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 = "@prefix@/lib/nextepc/dbg_msg_dumps.so" : "0x8888";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_rfc5777.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_mip6i.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_nasreq.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_nas_mipv6.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_dcca.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_dcca_3gpp.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_s6a.so";
|
||||
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";
|
||||
|
||||
|
||||
##############################################################
|
||||
@@ -263,6 +260,6 @@ LoadExtension = "@prefix@/lib/nextepc/dict_s6a.so";
|
||||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "mme.localdomain" { ConnectTo = "10.1.35.215"; No_TLS; };
|
||||
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-----
|
||||
MIICXQIBAAKBgQDT57ptFGWv35DlSlNWofaJLsvuztZzn0i2lnhnp4cYuKvDCzGz
|
||||
ApJI7UmsQMETOxNYUMwuWUTpfjECFPAYgpUQ5DeyXRQZHUuP6R9Fdc8K4I974XB7
|
||||
q+SvK3xNfwDY68/zlqv8BE8hrdjElAUC//MSSIiezs83KeAoOTdiBe1tXQIDAQAB
|
||||
AoGBAM7ShI2Ec/9lSInSsmaC7BpW12p87KirFZBIarpYs634SIS0v0xFvTt6hgae
|
||||
qRO4/BedvLucG3t91B2BDBoQEaZELCjJ9kCUtzphW+u8/SUvPUCfb5xiLLeDQCVR
|
||||
oU45JuqlF+ro9XM0x7f1REuTza1Xr20O5n5TzaCzQkdTlMdtAkEA+Yk9aS589D2c
|
||||
TAj7H5nQMFai/z0JKM7kuBmXaqbsPtnYjdNvVYsCRPcjbhyfIjN88o/QGuUuInpb
|
||||
PyzUZh3x2wJBANlk8d5ZVco+UE1NX0KzpEXHMY+z8kE4f8IMy0KN1V+An0ZbdxJE
|
||||
X0aUMz9/K0+V6n0rlpY4QdOnTnbIEg2hTycCQDXBUM9lylk7JH5kuORX2Ddxkm91
|
||||
kJGP8EmQicPZ7a6kczgqQiOlbHm625EO7WEKwnHmdSg2Ergur5VubNsKvF0CQQCc
|
||||
sbv8rpu9qOisr2ZIZ7+yY/9/Ow8Un6rGrf4cPKtdqRIk3myXCB08fDnsPLd1J/Pa
|
||||
wP5LzMT10BQoXdFVbb3lAkBpNXUkts8O1YxSG5zTruvygjU2n4Lova31icJ8HFaG
|
||||
pfKHJpqDGPooupFxeCsPVPBZIRtxW70CZcr77eW/XKXv
|
||||
-----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
|
||||
pgw.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
|
||||
pgw.cert.pem
|
||||
pgw.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: Oct 20 06:43:58 2019 GMT
|
||||
Not After : Oct 17 06:43:58 2029 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:b5:3a:31:ed:bf:fe:cd:e7:50:cc:94:ba:3d:fd:
|
||||
2f:e6:cb:83:25:3d:82:93:26:57:b4:2f:6b:29:d9:
|
||||
fd:80:c8:c5:82:9c:09:17:14:38:91:57:ac:72:b0:
|
||||
86:d4:6f:bd:6b:fa:b9:60:51:9b:ab:6b:68:37:15:
|
||||
c7:de:8b:bd:e8:da:5a:49:75:03:33:09:8e:49:e4:
|
||||
d9:5b:3c:2f:ca:47:9b:95:d5:6f:16:e4:8d:39:b4:
|
||||
39:dd:51:1a:55:27:68:b9:a0:24:ad:1c:18:48:bb:
|
||||
49:54:ae:03:a3:0b:b8:e5:da:b4:c2:7f:09:a4:12:
|
||||
8e:97:08:58:24:6a:4b:f4:87
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
20:74:06:F0:AF:F6:2D:90:D1:CB:8C:5C:AB:73:D7:45:99:31:DD:AA
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:C5:38:DC:BA:0F:C3:29:6E:3D:99:07:96:D0:87:12:FD:B8:48:CC:37
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
0a:f5:fd:1f:19:52:9a:99:ec:34:67:e8:57:dc:61:73:c0:05:
|
||||
b0:53:e3:8f:66:86:c9:99:af:28:5a:2a:06:a8:53:b1:80:ea:
|
||||
5c:c9:ad:93:ec:b8:b4:b0:e4:04:8b:85:1b:08:93:f2:71:b1:
|
||||
21:ab:80:40:e4:27:c6:c5:7a:56:f2:d2:33:6c:f0:1d:f4:99:
|
||||
85:55:60:9c:eb:d3:b8:e3:4b:e5:be:1e:d2:39:d5:55:6f:4c:
|
||||
20:07:c8:24:1c:21:70:e4:54:17:0b:a5:66:17:be:8b:5c:73:
|
||||
ca:5e:42:6e:27:15:18:69:dc:c6:49:97:d7:66:e0:a8:ad:9c:
|
||||
f1:b7
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICsjCCAhugAwIBAgIBATANBgkqhkiG9w0BAQsFADBoMRcwFQYDVQQDDA5jYS5s
|
||||
b2NhbGRvbWFpbjELMAkGA1UEBhMCS08xDjAMBgNVBAgMBVNlb3VsMQ4wDAYDVQQH
|
||||
DAVOb3dvbjEQMA4GA1UECgwHT3BlbjVHUzEOMAwGA1UECwwFVGVzdHMwHhcNMTkx
|
||||
MDIwMDY0MzU4WhcNMjkxMDE3MDY0MzU4WjBZMQswCQYDVQQGEwJLTzEOMAwGA1UE
|
||||
CAwFU2VvdWwxEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsMBVRlc3RzMRgwFgYD
|
||||
VQQDDA9tbWUubG9jYWxkb21haW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
|
||||
ALU6Me2//s3nUMyUuj39L+bLgyU9gpMmV7QvaynZ/YDIxYKcCRcUOJFXrHKwhtRv
|
||||
vWv6uWBRm6traDcVx96LvejaWkl1AzMJjknk2Vs8L8pHm5XVbxbkjTm0Od1RGlUn
|
||||
aLmgJK0cGEi7SVSuA6MLuOXatMJ/CaQSjpcIWCRqS/SHAgMBAAGjezB5MAkGA1Ud
|
||||
EwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmlj
|
||||
YXRlMB0GA1UdDgQWBBQgdAbwr/YtkNHLjFyrc9dFmTHdqjAfBgNVHSMEGDAWgBTF
|
||||
ONy6D8Mpbj2ZB5bQhxL9uEjMNzANBgkqhkiG9w0BAQsFAAOBgQAK9f0fGVKamew0
|
||||
Z+hX3GFzwAWwU+OPZobJma8oWioGqFOxgOpcya2T7Li0sOQEi4UbCJPycbEhq4BA
|
||||
5CfGxXpW8tIzbPAd9JmFVWCc69O440vlvh7SOdVVb0wgB8gkHCFw5FQXC6VmF76L
|
||||
XHPKXkJuJxUYadzGSZfXZuCorZzxtw==
|
||||
-----END CERTIFICATE-----
|
@@ -51,7 +51,6 @@ Realm = "localdomain";
|
||||
# Disable use of SCTP protocol (only listen and connect over TCP)
|
||||
# Default : SCTP enabled
|
||||
#No_SCTP;
|
||||
No_SCTP;
|
||||
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||
|
||||
# Prefer TCP instead of SCTP for establishing new connections.
|
||||
@@ -80,7 +79,7 @@ No_SCTP;
|
||||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "10.1.35.215";
|
||||
ListenOn = "127.0.0.2";
|
||||
|
||||
|
||||
##############################################################
|
||||
@@ -107,8 +106,7 @@ ListenOn = "10.1.35.215";
|
||||
# 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 = "@prefix@/etc/freeDiameter/mme.cert.pem",
|
||||
"@prefix@/etc/freeDiameter/mme.key.pem";
|
||||
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)
|
||||
@@ -116,7 +114,7 @@ TLS_Cred = "@prefix@/etc/freeDiameter/mme.cert.pem",
|
||||
# The directive can appear several times to specify several files.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CA = "<file.PEM>";
|
||||
TLS_CA = "@prefix@/etc/freeDiameter/cacert.pem";
|
||||
TLS_CA = "@sysconfdir@/freeDiameter/cacert.pem";
|
||||
|
||||
# Certificate Revocation List file
|
||||
# The information about revoked certificates.
|
||||
@@ -224,14 +222,13 @@ TLS_CA = "@prefix@/etc/freeDiameter/cacert.pem";
|
||||
# 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 = "@prefix@/lib/nextepc/dbg_msg_dumps.so" : "0x8888";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_rfc5777.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_mip6i.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_nasreq.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_nas_mipv6.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_dcca.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_dcca_3gpp.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_s6a.so";
|
||||
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";
|
||||
|
||||
|
||||
##############################################################
|
||||
@@ -263,7 +260,7 @@ LoadExtension = "@prefix@/lib/nextepc/dict_s6a.so";
|
||||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "hss.localdomain" { ConnectTo = "10.1.35.214"; No_TLS; };
|
||||
ConnectPeer = "hss.localdomain" { ConnectTo = "127.0.0.4"; 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-----
|
||||
MIICXQIBAAKBgQC1OjHtv/7N51DMlLo9/S/my4MlPYKTJle0L2sp2f2AyMWCnAkX
|
||||
FDiRV6xysIbUb71r+rlgUZura2g3Fcfei73o2lpJdQMzCY5J5NlbPC/KR5uV1W8W
|
||||
5I05tDndURpVJ2i5oCStHBhIu0lUrgOjC7jl2rTCfwmkEo6XCFgkakv0hwIDAQAB
|
||||
AoGBALL3ID1H/8m4Z9tP+EelEzvYt8772kmUcMHYnfw7cJNQMXQUwQlQh7hIG107
|
||||
JDr/idDrTUtn69GxhL35PWJxH3z7b9nPQCcPZQ3PZWW8lDXNqNCjV5j+2zDAXqkc
|
||||
IyxLQuPnTyn9kcB/OIjNGrr86/6JKS1ipbT9AIllV+br5OMhAkEA7KMLbiAI03JH
|
||||
wBhtnHdtj7NETXDnZd0Plj3ATpa7SOtxmBtqVVOH/1ghAqJ0YScrqa9+eEqcn6mv
|
||||
sHoJ10wVVwJBAMQOdR6b6H3Swy5dZNYzSKDsWRf4cNK5Kz8HJ8UOLbHTjzcDHNsD
|
||||
n09McdcnWgNAxV6J0YJzu4LWQjT4b1e77FECQAd+8rG+Wgk4qYUwQOif79yJdTRu
|
||||
yyWy5vd/ZUQYCj65FpQW6jthtgEkrYcD1mPtdbieUodE9cko+uPAOeeUBWkCQQCt
|
||||
lL9NImxtOjVkz3t/ylf7YkZfWq9JYnhPjV5AsZTzZIPgCPl7T3G1G9GO1GB1kNsu
|
||||
IIdGIIFcDacAjxTFcLSBAkA1Bl7gARE2XZR9iVVJ/On2hWFZhtG9RId+k0pVUxKs
|
||||
KXYnYSiD/WIeVZ6IBswqL2AnEV+kBBuZ7D9aEiDYbXQ/
|
||||
-----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: Oct 20 06:43:58 2019 GMT
|
||||
Not After : Oct 17 06:43:58 2029 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:c4:63:95:b8:b2:99:ca:4d:dd:ac:b8:e2:78:29:
|
||||
43:03:8a:de:6b:05:99:97:b7:90:39:f8:f6:b8:20:
|
||||
77:44:4b:1b:95:6c:ad:e1:5f:2c:48:a2:8a:d2:95:
|
||||
72:0e:f9:e1:cf:70:4e:45:6e:71:7e:2a:41:29:93:
|
||||
7a:12:01:73:0b:10:20:7a:38:66:9f:75:76:21:d6:
|
||||
7d:0c:ea:35:47:16:d6:c3:9f:41:ec:e9:98:36:16:
|
||||
84:9f:43:38:2b:b2:c8:d9:f3:6c:07:82:e4:ce:c8:
|
||||
a3:f3:c3:60:13:f3:46:44:fa:f0:ee:a9:48:40:8f:
|
||||
80:3e:60:73:ff:6d:59:03:2f
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
53:A8:0E:78:45:FB:38:A6:CF:30:E5:FF:BB:CA:E6:CF:A3:4A:DC:53
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:C5:38:DC:BA:0F:C3:29:6E:3D:99:07:96:D0:87:12:FD:B8:48:CC:37
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
47:6b:2b:f9:03:8d:c1:fd:84:21:fe:3c:5b:8c:9d:c1:48:bc:
|
||||
ae:90:67:c5:ad:1a:80:e9:97:9c:c2:d4:31:1b:7d:4e:1a:72:
|
||||
09:fb:92:32:b3:82:79:59:cd:92:21:27:c7:34:c3:76:27:a8:
|
||||
11:33:cd:4a:ec:10:cb:44:89:da:47:1a:a4:6a:06:10:fb:f1:
|
||||
6a:de:d5:1a:15:de:4a:54:6f:29:b8:de:ec:20:f2:d1:c3:0c:
|
||||
9a:8e:97:46:8c:21:c3:63:7f:41:52:41:7e:73:47:43:0a:d1:
|
||||
86:0b:f0:fb:9a:1f:6d:b5:93:88:95:88:84:6d:28:8e:29:2e:
|
||||
66:9d
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICszCCAhygAwIBAgIBBDANBgkqhkiG9w0BAQsFADBoMRcwFQYDVQQDDA5jYS5s
|
||||
b2NhbGRvbWFpbjELMAkGA1UEBhMCS08xDjAMBgNVBAgMBVNlb3VsMQ4wDAYDVQQH
|
||||
DAVOb3dvbjEQMA4GA1UECgwHT3BlbjVHUzEOMAwGA1UECwwFVGVzdHMwHhcNMTkx
|
||||
MDIwMDY0MzU4WhcNMjkxMDE3MDY0MzU4WjBaMQswCQYDVQQGEwJLTzEOMAwGA1UE
|
||||
CAwFU2VvdWwxEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsMBVRlc3RzMRkwFwYD
|
||||
VQQDDBBwY3JmLmxvY2FsZG9tYWluMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
|
||||
gQDEY5W4spnKTd2suOJ4KUMDit5rBZmXt5A5+Pa4IHdESxuVbK3hXyxIoorSlXIO
|
||||
+eHPcE5FbnF+KkEpk3oSAXMLECB6OGafdXYh1n0M6jVHFtbDn0Hs6Zg2FoSfQzgr
|
||||
ssjZ82wHguTOyKPzw2AT80ZE+vDuqUhAj4A+YHP/bVkDLwIDAQABo3sweTAJBgNV
|
||||
HRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZp
|
||||
Y2F0ZTAdBgNVHQ4EFgQUU6gOeEX7OKbPMOX/u8rmz6NK3FMwHwYDVR0jBBgwFoAU
|
||||
xTjcug/DKW49mQeW0IcS/bhIzDcwDQYJKoZIhvcNAQELBQADgYEAR2sr+QONwf2E
|
||||
If48W4ydwUi8rpBnxa0agOmXnMLUMRt9ThpyCfuSMrOCeVnNkiEnxzTDdieoETPN
|
||||
SuwQy0SJ2kcapGoGEPvxat7VGhXeSlRvKbje7CDy0cMMmo6XRowhw2N/QVJBfnNH
|
||||
QwrRhgvw+5ofbbWTiJWIhG0ojikuZp0=
|
||||
-----END CERTIFICATE-----
|
@@ -51,7 +51,6 @@ Realm = "localdomain";
|
||||
# Disable use of SCTP protocol (only listen and connect over TCP)
|
||||
# Default : SCTP enabled
|
||||
#No_SCTP;
|
||||
No_SCTP;
|
||||
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||
|
||||
# Prefer TCP instead of SCTP for establishing new connections.
|
||||
@@ -80,7 +79,7 @@ No_SCTP;
|
||||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "10.1.35.218";
|
||||
ListenOn = "127.0.0.5";
|
||||
|
||||
|
||||
##############################################################
|
||||
@@ -107,7 +106,7 @@ ListenOn = "10.1.35.218";
|
||||
# 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 = "@prefix@/etc/freeDiameter/pcrf.cert.pem", "@prefix@/etc/freeDiameter/pcrf.key.pem";
|
||||
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)
|
||||
@@ -115,7 +114,7 @@ TLS_Cred = "@prefix@/etc/freeDiameter/pcrf.cert.pem", "@prefix@/etc/freeDiameter
|
||||
# The directive can appear several times to specify several files.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CA = "<file.PEM>";
|
||||
TLS_CA = "@prefix@/etc/freeDiameter/cacert.pem";
|
||||
TLS_CA = "@sysconfdir@/freeDiameter/cacert.pem";
|
||||
|
||||
# Certificate Revocation List file
|
||||
# The information about revoked certificates.
|
||||
@@ -223,14 +222,13 @@ TLS_CA = "@prefix@/etc/freeDiameter/cacert.pem";
|
||||
# 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 = "@prefix@/lib/nextepc/dbg_msg_dumps.so" : "0x8888";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_rfc5777.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_mip6i.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_nasreq.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_nas_mipv6.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_dcca.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_dcca_3gpp.so";
|
||||
#LoadExtension = "@prefix@/lib/nextepc/dict_legacy_xml.so" : "@prefix@/etc/freeDiameter/dict_legacy_xml.conf";
|
||||
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";
|
||||
|
||||
|
||||
##############################################################
|
||||
@@ -262,6 +260,6 @@ LoadExtension = "@prefix@/lib/nextepc/dict_dcca_3gpp.so";
|
||||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "pgw.localdomain" { ConnectTo = "10.1.35.219"; No_TLS; };
|
||||
ConnectPeer = "pgw.localdomain" { ConnectTo = "127.0.0.3"; 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-----
|
||||
MIICXQIBAAKBgQDEY5W4spnKTd2suOJ4KUMDit5rBZmXt5A5+Pa4IHdESxuVbK3h
|
||||
XyxIoorSlXIO+eHPcE5FbnF+KkEpk3oSAXMLECB6OGafdXYh1n0M6jVHFtbDn0Hs
|
||||
6Zg2FoSfQzgrssjZ82wHguTOyKPzw2AT80ZE+vDuqUhAj4A+YHP/bVkDLwIDAQAB
|
||||
AoGBAJG6b+RhK3uSMjcz7mFKBP9A8fCqdCG/xdcu5i0VcksMDMjhn1mIXPz9GFRR
|
||||
LxTr2eMrK/mbjb4YLshiNgfcaXdzpZGauK15PNEHemygI4et9b0iE3ZfGM3dGEGi
|
||||
UmWzXgO347S8CNmm6JX/gtAaCafeapmyms6E4teYFp1UMRIBAkEA7zrq9HZT1CZu
|
||||
fWN9DraOUVrgMdV8Q/qdKzAqMsTf95r43aRxxe8ZkXpQuf1X0kBDH8cIeOAVu96/
|
||||
hmfxCcVZAQJBANIn3YU7xCnUbdK29tYuxAzEw7j4pdfjHEPgkvjV1xsGVwM+DQkF
|
||||
/yrSgAujxR70uGfBcUF/M9XRniBWg+FRrC8CQBXJ5vZnBJGRAoU3F3/Mjr/IKB1B
|
||||
1XSXkdMKKv2+wqtZmQsO3DHr6gc+/bVC5snGgpaVWScxOamHyyfhtalvKQECQG+w
|
||||
PCyo3NIWUd+g2YJvDEZ09EgD7a/UxZrVaYbRryZvsiLJAYiAJWKOyPpmqUaQbMjH
|
||||
p/dVMSk75Dvvfttq2oUCQQDuEO0xY0gHxzFYH1K82Yw5aDdRsryEQYpb5e+jduH1
|
||||
EHACfc2H4Oc3/a39q7On+HnZgxK7gFMpGW+D0MdDDoL6
|
||||
-----END RSA PRIVATE KEY-----
|
60
configs/freeDiameter/pgw.cert.pem
Normal file
60
configs/freeDiameter/pgw.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: Oct 20 06:43:58 2019 GMT
|
||||
Not After : Oct 17 06:43:58 2029 GMT
|
||||
Subject: C=KO, ST=Seoul, O=Open5GS, OU=Tests, CN=pgw.localdomain
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
RSA Public-Key: (1024 bit)
|
||||
Modulus:
|
||||
00:bf:bc:94:38:f4:03:a5:23:8c:21:ba:4e:5e:51:
|
||||
f7:76:f5:e1:1e:43:fc:04:a0:f9:b9:9f:47:dd:d3:
|
||||
b5:aa:83:e8:cb:d0:3c:56:0e:4d:fd:de:b6:93:fa:
|
||||
eb:a3:94:4a:79:68:1d:84:61:cf:b7:d0:ac:d0:41:
|
||||
ef:66:e0:8a:40:ec:b4:d2:5b:ce:cc:2c:cd:7d:7e:
|
||||
87:73:b0:4b:4d:79:54:3b:a4:48:bb:19:4f:9f:7e:
|
||||
30:e7:af:17:32:a3:95:af:c4:a5:19:8f:53:3c:16:
|
||||
cd:54:9d:38:98:2b:0f:b7:cd:33:91:f0:ef:b8:d2:
|
||||
9f:0e:fe:8e:77:9d:e8:ba:f3
|
||||
Exponent: 65537 (0x10001)
|
||||
X509v3 extensions:
|
||||
X509v3 Basic Constraints:
|
||||
CA:FALSE
|
||||
Netscape Comment:
|
||||
OpenSSL Generated Certificate
|
||||
X509v3 Subject Key Identifier:
|
||||
EB:F6:EA:D3:F2:F2:C6:C6:83:EF:13:CD:AF:49:A8:ED:03:DF:7F:ED
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:C5:38:DC:BA:0F:C3:29:6E:3D:99:07:96:D0:87:12:FD:B8:48:CC:37
|
||||
|
||||
Signature Algorithm: sha256WithRSAEncryption
|
||||
3b:00:ef:c4:9f:69:c3:22:06:76:6f:70:88:50:1c:f3:a2:9a:
|
||||
68:00:34:fa:3a:68:b2:94:fe:7c:31:7d:4e:95:bd:47:4d:69:
|
||||
1f:76:32:64:83:1b:5b:11:71:bb:0a:7a:af:72:54:7a:dc:30:
|
||||
51:e5:93:27:8c:8a:51:e6:e5:15:53:70:14:85:3b:77:1a:87:
|
||||
ce:d0:6f:31:07:5d:14:30:d7:de:a0:b5:a7:a1:96:18:1a:fd:
|
||||
ea:9f:c2:ea:bb:72:52:84:b6:57:6d:70:93:35:64:d3:8b:82:
|
||||
1b:7b:ea:85:8a:fb:c6:b3:e0:66:ad:db:11:dd:5e:6e:22:dd:
|
||||
b4:23
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICsjCCAhugAwIBAgIBAzANBgkqhkiG9w0BAQsFADBoMRcwFQYDVQQDDA5jYS5s
|
||||
b2NhbGRvbWFpbjELMAkGA1UEBhMCS08xDjAMBgNVBAgMBVNlb3VsMQ4wDAYDVQQH
|
||||
DAVOb3dvbjEQMA4GA1UECgwHT3BlbjVHUzEOMAwGA1UECwwFVGVzdHMwHhcNMTkx
|
||||
MDIwMDY0MzU4WhcNMjkxMDE3MDY0MzU4WjBZMQswCQYDVQQGEwJLTzEOMAwGA1UE
|
||||
CAwFU2VvdWwxEDAOBgNVBAoMB09wZW41R1MxDjAMBgNVBAsMBVRlc3RzMRgwFgYD
|
||||
VQQDDA9wZ3cubG9jYWxkb21haW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
|
||||
AL+8lDj0A6UjjCG6Tl5R93b14R5D/ASg+bmfR93TtaqD6MvQPFYOTf3etpP666OU
|
||||
SnloHYRhz7fQrNBB72bgikDstNJbzswszX1+h3OwS015VDukSLsZT59+MOevFzKj
|
||||
la/EpRmPUzwWzVSdOJgrD7fNM5Hw77jSnw7+jned6LrzAgMBAAGjezB5MAkGA1Ud
|
||||
EwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmlj
|
||||
YXRlMB0GA1UdDgQWBBTr9urT8vLGxoPvE82vSajtA99/7TAfBgNVHSMEGDAWgBTF
|
||||
ONy6D8Mpbj2ZB5bQhxL9uEjMNzANBgkqhkiG9w0BAQsFAAOBgQA7AO/En2nDIgZ2
|
||||
b3CIUBzzoppoADT6OmiylP58MX1Olb1HTWkfdjJkgxtbEXG7CnqvclR63DBR5ZMn
|
||||
jIpR5uUVU3AUhTt3GofO0G8xB10UMNfeoLWnoZYYGv3qn8Lqu3JShLZXbXCTNWTT
|
||||
i4Ibe+qFivvGs+BmrdsR3V5uIt20Iw==
|
||||
-----END CERTIFICATE-----
|
@@ -51,7 +51,6 @@ Realm = "localdomain";
|
||||
# Disable use of SCTP protocol (only listen and connect over TCP)
|
||||
# Default : SCTP enabled
|
||||
#No_SCTP;
|
||||
No_SCTP;
|
||||
# This option is ignored if freeDiameter is compiled with DISABLE_SCTP option.
|
||||
|
||||
# Prefer TCP instead of SCTP for establishing new connections.
|
||||
@@ -80,7 +79,7 @@ No_SCTP;
|
||||
#ListenOn = "202.249.37.5";
|
||||
#ListenOn = "2001:200:903:2::202:1";
|
||||
#ListenOn = "fe80::21c:5ff:fe98:7d62%eth0";
|
||||
ListenOn = "10.1.35.219";
|
||||
ListenOn = "127.0.0.3";
|
||||
|
||||
|
||||
##############################################################
|
||||
@@ -107,7 +106,7 @@ ListenOn = "10.1.35.219";
|
||||
# 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 = "@prefix@/etc/freeDiameter/pgw.cert.pem", "@prefix@/etc/freeDiameter/pgw.key.pem";
|
||||
TLS_Cred = "@sysconfdir@/freeDiameter/pgw.cert.pem", "@sysconfdir@/freeDiameter/pgw.key.pem";
|
||||
|
||||
# Certificate authority / trust anchors
|
||||
# The file containing the list of trusted Certificate Authorities (PEM list)
|
||||
@@ -115,7 +114,7 @@ TLS_Cred = "@prefix@/etc/freeDiameter/pgw.cert.pem", "@prefix@/etc/freeDiameter/
|
||||
# The directive can appear several times to specify several files.
|
||||
# Default : GNUTLS default behavior
|
||||
#TLS_CA = "<file.PEM>";
|
||||
TLS_CA = "@prefix@/etc/freeDiameter/cacert.pem";
|
||||
TLS_CA = "@sysconfdir@/freeDiameter/cacert.pem";
|
||||
|
||||
# Certificate Revocation List file
|
||||
# The information about revoked certificates.
|
||||
@@ -223,14 +222,13 @@ TLS_CA = "@prefix@/etc/freeDiameter/cacert.pem";
|
||||
# 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 = "@prefix@/lib/nextepc/dbg_msg_dumps.so" : "0x8888";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_rfc5777.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_mip6i.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_nasreq.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_nas_mipv6.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_dcca.so";
|
||||
LoadExtension = "@prefix@/lib/nextepc/dict_dcca_3gpp.so";
|
||||
#LoadExtension = "@prefix@/lib/nextepc/dict_legacy_xml.so" : "@prefix@/etc/freeDiameter/dict_legacy_xml.conf";
|
||||
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";
|
||||
|
||||
|
||||
##############################################################
|
||||
@@ -262,7 +260,7 @@ LoadExtension = "@prefix@/lib/nextepc/dict_dcca_3gpp.so";
|
||||
# Examples:
|
||||
#ConnectPeer = "aaa.wide.ad.jp";
|
||||
#ConnectPeer = "old.diameter.serv" { TcTimer = 60; TLS_old_method; No_SCTP; Port=3868; } ;
|
||||
ConnectPeer = "pcrf.localdomain" { ConnectTo = "10.1.35.218"; No_TLS; };
|
||||
ConnectPeer = "pcrf.localdomain" { ConnectTo = "127.0.0.5"; No_TLS; };
|
||||
|
||||
|
||||
##############################################################
|
15
configs/freeDiameter/pgw.key.pem
Normal file
15
configs/freeDiameter/pgw.key.pem
Normal file
@@ -0,0 +1,15 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXAIBAAKBgQC/vJQ49AOlI4whuk5eUfd29eEeQ/wEoPm5n0fd07Wqg+jL0DxW
|
||||
Dk393raT+uujlEp5aB2EYc+30KzQQe9m4IpA7LTSW87MLM19fodzsEtNeVQ7pEi7
|
||||
GU+ffjDnrxcyo5WvxKUZj1M8Fs1UnTiYKw+3zTOR8O+40p8O/o53nei68wIDAQAB
|
||||
AoGAarZPHH+aw79MD718PnyKKVhhqZGW4xCgzFG9EtXwpu1xlHXaDt85QxFANo4R
|
||||
teIjrPxoaTRzAlAOzn3T+0L/TnhU67WUOvSQEhGzS1liNNw024NekOy3rrqAvB3D
|
||||
esmOtR5+LtadCb2CuJdL0XALUp+F/g25CoryXsKMIg4Eg9ECQQD9fbT7n3GurBlF
|
||||
s1E+Ah1+fpD2qOvyFrK4Yzs/CYn5s1yEO0AMwLavO71Y+SIGzFnuIASbyEX4Adl/
|
||||
hxSvDp5ZAkEAwaJmOzgLsLvSf5RkYzaX+/IO/DBYowDknalMobDplaOlK5LLFNiM
|
||||
naEH6A6UV981OnIr6ScU8knC0HyDmmTyKwJAfu3jIdvE4OHsBaq0k4gbnKtjix8q
|
||||
hh43f3ywve/Y1t+pA81nVPtqfnQ7a8HT9/N7VHFT3W17G6RRdDn/cWiwgQJAOuD+
|
||||
5RLtuxfhshmVTPXU0S+Rju3EhgxHeAl628/Ht1DDcLR6PCR83ZGRreaBBRdCQDtn
|
||||
TsYrgGEdc/forJH1cQJBAMzBcACt51/OuHtPF+kxeRqgLINji82EQOGmZBvtWySI
|
||||
cRFndLh6N8OOkDnP2MwGY7j0jWveKE8mVA12ymMWZuU=
|
||||
-----END RSA PRIVATE KEY-----
|
589
configs/installed.yaml.in
Normal file
589
configs/installed.yaml.in
Normal file
@@ -0,0 +1,589 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/open5gs.log
|
||||
#
|
||||
# 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,sgw,pgw,hss,pcrf,event,tlv,mem,sock
|
||||
#
|
||||
|
||||
#
|
||||
# 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
|
||||
#
|
||||
# o Enable Multicast traffic to the UE
|
||||
# multicast: true
|
||||
#
|
||||
# o Disable Stateless Address Autoconfiguration for IPv6
|
||||
# no_slaac: true
|
||||
#
|
||||
#
|
||||
parameter:
|
||||
no_ipv6: true
|
||||
|
||||
#
|
||||
# sctp:
|
||||
#
|
||||
# o heartbit_interval : 5000 (5secs)
|
||||
# o rto_initial : 3000 (3secs)
|
||||
# o rto_min : 1000 (1sec)
|
||||
# o rto_max : 5000 (5secs)
|
||||
# o max_num_of_ostreams : 30
|
||||
# o max_num_of_istreams : 65535
|
||||
# o max_attempts : 4
|
||||
# o max_initial_timeout : 8000(8secs)
|
||||
# o usrsctp_udp_port : 9899
|
||||
sctp:
|
||||
|
||||
#
|
||||
# max:
|
||||
#
|
||||
# o Maximum Number of SGW per MME
|
||||
# sgw: 32
|
||||
# o Maximum Number of PGW per MME
|
||||
# pgw: 32
|
||||
# o Maximum Number of VLR per MME
|
||||
# vlr: 32
|
||||
# o Maximum Number of eNodeB per MME
|
||||
# enb: 32
|
||||
# o Maximum Number of UE per eNodeB
|
||||
# ue: 128
|
||||
#
|
||||
max:
|
||||
|
||||
#
|
||||
# pool:
|
||||
#
|
||||
# o The Number of Default Memory Pool Size
|
||||
#
|
||||
# - Pool-size 128 => 8192 Number
|
||||
# - Pool-size 256 => 4096 Number
|
||||
# - Pool-size 512 => 2048 Number
|
||||
# - Pool-size 1024 => 1024 Number
|
||||
# - Pool-size 2048 => 512 Number
|
||||
# - Pool-size 8192 => 128 Number
|
||||
# - Pool-size 1024*1024 => 8 Number
|
||||
#
|
||||
# 128: 8192
|
||||
# 256: 4096
|
||||
# 512: 2048
|
||||
# 1024: 1024
|
||||
# 2048: 512
|
||||
# 8192: 128
|
||||
# big: 8
|
||||
#
|
||||
# o Memory of Packet Buffering in SGW
|
||||
# - Maximum Number of packet(SDU size = 8Kbytes) pool in SGW
|
||||
# - SGW Memory Usage : 65536 * 8Kbytes = 512Mbytes
|
||||
#
|
||||
# packet: 65536
|
||||
pool:
|
||||
|
||||
mme:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/mme.conf
|
||||
|
||||
#
|
||||
# <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.1:36412, [::1]:36412)
|
||||
# s1ap:
|
||||
# - addr: 127.0.0.1
|
||||
# - addr: ::1
|
||||
|
||||
# o S1AP Server(different port)
|
||||
# s1ap:
|
||||
# - addr: 127.0.0.1
|
||||
# port: 36413
|
||||
#
|
||||
# o S1AP Server(address avaiable in `eth0` interface)
|
||||
# s1ap:
|
||||
# dev: eth0
|
||||
#
|
||||
s1ap:
|
||||
|
||||
#
|
||||
# <GTP-C Server>>
|
||||
#
|
||||
# o GTP-C Server(all address avaiable)
|
||||
# gtpc:
|
||||
#
|
||||
# o GTP-C Server(127.0.0.1:2123, [::1]:2123)
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.1
|
||||
# - addr: ::1
|
||||
#
|
||||
gtpc:
|
||||
|
||||
#
|
||||
# <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.3
|
||||
# - fe80::2%@loopback_devname@
|
||||
# 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
|
||||
#
|
||||
sgsap:
|
||||
|
||||
|
||||
#
|
||||
# <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
|
||||
#
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
|
||||
#
|
||||
# <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]
|
||||
#
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
tac: 12345
|
||||
|
||||
security:
|
||||
integrity_order : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
#
|
||||
# <Network Name>
|
||||
# network_name:
|
||||
# full: Open5GS
|
||||
# short: Next
|
||||
#
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
hss:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/hss.conf
|
||||
|
||||
sgw:
|
||||
#
|
||||
# ------------------------ MME --------------------------
|
||||
#
|
||||
# o Specify SGW addresses the GTP-C must connect to
|
||||
#
|
||||
# o One SGW is defined. If prefer_ipv4 is not true, [fe80::2%@loopback_devname@] is selected.
|
||||
# gtpc:
|
||||
# addr:
|
||||
# - 127.0.0.2
|
||||
# - fe80::2%@loopback_devname@
|
||||
#
|
||||
# o Two SGW are defined. MME selects SGW with round-robin manner per UE
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.2
|
||||
# - addr: fe80::2%@loopback_devname@
|
||||
#
|
||||
# o Three SGW are defined. MME selects SGW with round-robin manner per UE
|
||||
# gtpc:
|
||||
# - addr
|
||||
# - 127.0.0.2
|
||||
# - fe80::2%@loopback_devname@
|
||||
# - addr
|
||||
# - 127.0.0.12
|
||||
# - fe80::12%@loopback_devname@
|
||||
# - name: sgw3.open5gs.org
|
||||
#
|
||||
# ------------------------ SGW --------------------------
|
||||
#
|
||||
# o GTP-C Server(127.0.0.2:2123, [fe80::2%@loopback_devname@]:2123)
|
||||
# gtpc:
|
||||
# addr:
|
||||
# - 127.0.0.2
|
||||
# - fe80::2%@loopback_devname@
|
||||
#
|
||||
# o On SGW, Same Configuration(127.0.0.2:2123, [fe80::2%@loopback_devname@]:2123) as below.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.2
|
||||
# - addr: fe80::2%@loopback_devname@
|
||||
#
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
|
||||
#
|
||||
# <SGW Selection Mode>
|
||||
#
|
||||
# o Round-Robin
|
||||
# (If `selection_mode` is omitted, the default mode is Round-Robin)
|
||||
#
|
||||
# selection_mode: rr
|
||||
# gtpc:
|
||||
# addr: 127.0.0.2
|
||||
# addr: 127.0.2.2
|
||||
# addr: 127.0.4.2
|
||||
#
|
||||
# o SGW selection by eNodeB TAC
|
||||
#
|
||||
# selection_mode: tac
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.2
|
||||
# tac: 26000
|
||||
# - addr: 127.0.2.2
|
||||
# tac: [25000, 27000, 28000]
|
||||
#
|
||||
|
||||
#
|
||||
# <GTP-U Server>
|
||||
#
|
||||
# o GTP-U Server(all address avaiable)
|
||||
# gtpu:
|
||||
#
|
||||
# o Provide custom SGW GTP-U address to be advertised inside S1AP messages
|
||||
# gtpu:
|
||||
# addr: 10.4.128.21
|
||||
# advertise_addr: 172.24.15.30
|
||||
#
|
||||
# gtpu:
|
||||
# addr: 10.4.128.21
|
||||
# advertise_name: sgw1.epc.mnc001.mcc001.3gppnetwork.org
|
||||
#
|
||||
# gtpu:
|
||||
# dev: ens3
|
||||
# advertise_name: sgw1.epc.mnc001.mcc001.3gppnetwork.org
|
||||
#
|
||||
gtpu:
|
||||
|
||||
pgw:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/pgw.conf
|
||||
|
||||
#
|
||||
# ------------------------ MME --------------------------
|
||||
#
|
||||
# o By default, the PGW uses the first PGW node.
|
||||
# - To use a different APN for each PGW, specify gtpc.apn as the APN name.
|
||||
# - If the HSS uses WebUI to set the PGW IP for eacho UE,
|
||||
# you can use a specific PGW node for each UE.
|
||||
#
|
||||
# o Two PGW are defined. 127.0.0.3:2123 is used.
|
||||
# [fe80::3%@loopback_devname@]:2123 is ignored.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: fe80::3%@loopback_devname@
|
||||
#
|
||||
# o One PGW is defined. if prefer_ipv4 is not true,
|
||||
# [fe80::3%@loopback_devname@] is selected.
|
||||
# gtpc:
|
||||
# - addr:
|
||||
# - 127.0.0.3
|
||||
# - fe80::3%@loopback_devname@
|
||||
#
|
||||
# o Two PGW are defined with a different APN.
|
||||
# - Note that if PGW IP for UE is configured in HSS,
|
||||
# the following configurion for this UE is ignored.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.3
|
||||
# apn: internet
|
||||
# - addr: 127.0.0.5
|
||||
# apn: volte
|
||||
#
|
||||
# o If APN is omitted, the default APN uses the first PGW node.
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: 127.0.0.5
|
||||
# apn: volte
|
||||
# ------------------------ PGW --------------------------
|
||||
#
|
||||
# o GTP-C Server(127.0.0.3:2123, [fe80::3%@loopback_devname@]:2123)
|
||||
# gtpc:
|
||||
# addr:
|
||||
# - 127.0.0.3
|
||||
# - fe80::3%@loopback_devname@
|
||||
#
|
||||
# o On PGW, Same configuration(127.0.0.3:2123, [fe80::3%@loopback_devname@]:2123).
|
||||
# gtpc:
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: fe80::3%@loopback_devname@
|
||||
#
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
|
||||
#
|
||||
# <GTP-U Server>>
|
||||
#
|
||||
# o GTP-U Server(127.0.0.3:2152, [::1]:2152)
|
||||
# gtpu:
|
||||
# - addr: 127.0.0.3
|
||||
# - addr: ::1
|
||||
#
|
||||
# o Same configuration(127.0.0.3:2152, [::1]:2152) as below.
|
||||
# gtpu:
|
||||
# name: localhost
|
||||
#
|
||||
gtpu:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
|
||||
#
|
||||
# <UE Pool>
|
||||
#
|
||||
# o IPv4 Pool
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
#
|
||||
# ue_pool:
|
||||
# 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 cafe:1::1/64 dev ogstun
|
||||
#
|
||||
# ue_pool:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: cafe:1::1/64
|
||||
#
|
||||
#
|
||||
# o Specific APN(e.g 'volte') uses 10.46.0.1/16, cafe:2::1/64
|
||||
# All other APNs use 10.45.0.1/16, cafe:1::1/64
|
||||
# $ 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 cafe:1::1/64 dev ogstun
|
||||
# $ sudo ip addr add cafe:2::1/64 dev ogstun
|
||||
#
|
||||
# ue_pool:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: cafe:1::1/64
|
||||
# - addr: 10.46.0.1/16
|
||||
# apn: volte
|
||||
# - addr: cafe:2::1/64
|
||||
# apn: volte
|
||||
#
|
||||
# o Multiple Devices (default: ogstun)
|
||||
# $ sudo ip addr add 10.45.0.1/16 dev ogstun
|
||||
# $ sudo ip addr add cafe:1::1/64 dev ogstun2
|
||||
# $ sudo ip addr add 10.46.0.1/16 dev ogstun3
|
||||
# $ sudo ip addr add cafe:2::1/64 dev ogstun3
|
||||
#
|
||||
# ue_pool:
|
||||
# - addr: 10.45.0.1/16
|
||||
# - addr: cafe:1::1/64
|
||||
# dev: ogstun2
|
||||
# - addr: 10.46.0.1/16
|
||||
# apn: volte
|
||||
# dev: ogstun3
|
||||
# - addr: cafe:2::1/64
|
||||
# apn: volte
|
||||
# dev: ogstun3
|
||||
#
|
||||
# o Pool Range Sample
|
||||
# ue_pool:
|
||||
# - addr: 10.45.0.1/24
|
||||
# range: 10.45.0.100-10.45.0.200
|
||||
#
|
||||
# ue_pool:
|
||||
# - addr: 10.45.0.1/24
|
||||
# range:
|
||||
# - 10.45.0.5-10.45.0.50
|
||||
# - 10.45.0.100-
|
||||
#
|
||||
# ue_pool:
|
||||
# - addr: 10.45.0.1/24
|
||||
# range:
|
||||
# - -10.45.0.200
|
||||
# - 10.45.0.210-10.45.0.220
|
||||
#
|
||||
# ue_pool:
|
||||
# - addr: 10.45.0.1/16
|
||||
# range:
|
||||
# - 10.45.0.100-10.45.0.200
|
||||
# - 10.45.1.100-10.45.1.200
|
||||
# - addr: cafe::1/64
|
||||
# range:
|
||||
# - cafe::a0-cafe:b0
|
||||
# - cafe::c0-cafe:d0
|
||||
#
|
||||
#
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: cafe::1/64
|
||||
|
||||
#
|
||||
# <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
|
||||
#
|
||||
mtu: 1400
|
||||
|
||||
#
|
||||
# <P-CSCF>
|
||||
#
|
||||
# o Proxy Call Session Control Function
|
||||
#
|
||||
# p-cscf:
|
||||
# - 127.0.0.1
|
||||
# - ::1
|
||||
#
|
||||
|
||||
pcrf:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/pcrf.conf
|
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 pcrfd pgwd sgwd hssd mmed; do
|
||||
systemctl reload open5gs-$i
|
||||
done
|
||||
endscript
|
||||
}
|
57
configs/meson.build
Normal file
57
configs/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/>.
|
||||
|
||||
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)
|
||||
|
||||
if host_system == 'linux'
|
||||
conf_data.set('loopback_devname', 'lo')
|
||||
else
|
||||
conf_data.set('loopback_devname', 'lo0')
|
||||
endif
|
||||
|
||||
example_conf = '''
|
||||
simple.yaml
|
||||
installed.yaml
|
||||
split.yaml
|
||||
mnc3.yaml
|
||||
csfb.yaml
|
||||
volte.yaml
|
||||
srslte.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')
|
127
configs/mnc3.yaml.in
Normal file
127
configs/mnc3.yaml.in
Normal file
@@ -0,0 +1,127 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
no_ipv6: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
s1ap:
|
||||
addr: 127.0.0.1
|
||||
gtpc:
|
||||
addr: 127.0.0.1
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 310
|
||||
mnc: 014
|
||||
mme_gid: 32798
|
||||
mme_code: 100
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 310
|
||||
mnc: 014
|
||||
tac: [50, 51, 52, 53]
|
||||
security:
|
||||
integrity_order : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
|
||||
sgw:
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
gtpu:
|
||||
addr: 127.0.0.2
|
||||
|
||||
pgw:
|
||||
freeDiameter:
|
||||
identity: pgw.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.3
|
||||
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.fdx
|
||||
connect:
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.5
|
||||
|
||||
gtpc:
|
||||
- addr:
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
- addr:
|
||||
- 127.0.0.4
|
||||
apn: starent.com
|
||||
gtpu:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: cafe::1/64
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.5
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pgw.localdomain
|
||||
addr: 127.0.0.3
|
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)
|
8
configs/newsyslog/open5gs.conf.in
Normal file
8
configs/newsyslog/open5gs.conf.in
Normal file
@@ -0,0 +1,8 @@
|
||||
# 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/pcrf.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-pcrfd/pid`
|
||||
@localstatedir@/log/open5gs/pgw.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-pgwd/pid`
|
||||
@localstatedir@/log/open5gs/sgw.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-sgwd/pid`
|
||||
@localstatedir@/log/open5gs/hss.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-hssd/pid`
|
||||
@localstatedir@/log/open5gs/mme.log 644 14 * $D0 GZ @localstatedir@/run/open5gs-mmed/pid`
|
9
configs/open5gs/hss.yaml.in
Normal file
9
configs/open5gs/hss.yaml.in
Normal file
@@ -0,0 +1,9 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/hss.log
|
||||
|
||||
parameter:
|
||||
|
||||
hss:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/hss.conf
|
37
configs/open5gs/meson.build
Normal file
37
configs/open5gs/meson.build
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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
|
||||
hss.yaml
|
||||
sgw.yaml
|
||||
pgw.yaml
|
||||
pcrf.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
|
35
configs/open5gs/mme.yaml.in
Normal file
35
configs/open5gs/mme.yaml.in
Normal file
@@ -0,0 +1,35 @@
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/mme.log
|
||||
|
||||
parameter:
|
||||
|
||||
mme:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/mme.conf
|
||||
s1ap:
|
||||
gtpc:
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
tac: 12345
|
||||
security:
|
||||
integrity_order : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
sgw:
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
|
||||
pgw:
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.3
|
||||
- ::1
|
9
configs/open5gs/pcrf.yaml.in
Normal file
9
configs/open5gs/pcrf.yaml.in
Normal file
@@ -0,0 +1,9 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/pcrf.log
|
||||
|
||||
parameter:
|
||||
|
||||
pcrf:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/pcrf.conf
|
22
configs/open5gs/pgw.yaml.in
Normal file
22
configs/open5gs/pgw.yaml.in
Normal file
@@ -0,0 +1,22 @@
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/pgw.log
|
||||
|
||||
parameter:
|
||||
|
||||
pgw:
|
||||
freeDiameter: @sysconfdir@/freeDiameter/pgw.conf
|
||||
gtpc:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: cafe::1/64
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
10
configs/open5gs/sgw.yaml.in
Normal file
10
configs/open5gs/sgw.yaml.in
Normal file
@@ -0,0 +1,10 @@
|
||||
logger:
|
||||
file: @localstatedir@/log/open5gs/sgw.log
|
||||
|
||||
parameter:
|
||||
no_ipv6: true
|
||||
|
||||
sgw:
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
gtpu:
|
123
configs/simple.yaml.in
Normal file
123
configs/simple.yaml.in
Normal file
@@ -0,0 +1,123 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
no_ipv6: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
s1ap:
|
||||
addr: 127.0.0.1
|
||||
gtpc:
|
||||
addr: 127.0.0.1
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
tac: 12345
|
||||
security:
|
||||
integrity_order : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
|
||||
sgw:
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
gtpu:
|
||||
addr: 127.0.0.2
|
||||
|
||||
pgw:
|
||||
freeDiameter:
|
||||
identity: pgw.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.3
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.5
|
||||
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: cafe::1/64
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.5
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pgw.localdomain
|
||||
addr: 127.0.0.3
|
121
configs/split.yaml.in
Normal file
121
configs/split.yaml.in
Normal file
@@ -0,0 +1,121 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
no_ipv6: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
s1ap:
|
||||
gtpc:
|
||||
addr: 127.0.0.1
|
||||
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 : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
|
||||
sgw:
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
gtpu:
|
||||
|
||||
pgw:
|
||||
freeDiameter:
|
||||
identity: pgw.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.3
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.5
|
||||
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: cafe::1/64
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.5
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pgw.localdomain
|
||||
addr: 127.0.0.3
|
123
configs/srslte.yaml.in
Normal file
123
configs/srslte.yaml.in
Normal file
@@ -0,0 +1,123 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
no_ipv6: true
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.2
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: hss.localdomain
|
||||
addr: 127.0.0.4
|
||||
|
||||
s1ap:
|
||||
addr: 127.0.1.100
|
||||
gtpc:
|
||||
addr: 127.0.1.100
|
||||
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 : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
network_name:
|
||||
full: Open5GS
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.4
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: mme.localdomain
|
||||
addr: 127.0.0.2
|
||||
|
||||
sgw:
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
gtpu:
|
||||
addr: 127.0.0.2
|
||||
|
||||
pgw:
|
||||
freeDiameter:
|
||||
identity: pgw.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.3
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pcrf.localdomain
|
||||
addr: 127.0.0.5
|
||||
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: cafe::1/64
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.localdomain
|
||||
realm: localdomain
|
||||
listen_on: 127.0.0.5
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pgw.localdomain
|
||||
addr: 127.0.0.3
|
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
|
6
configs/systemd/99-open5gs.network
Normal file
6
configs/systemd/99-open5gs.network
Normal file
@@ -0,0 +1,6 @@
|
||||
[Match]
|
||||
Name=ogstun
|
||||
|
||||
[Network]
|
||||
Address=10.45.0.1/16
|
||||
Address=cafe::1/64
|
43
configs/systemd/meson.build
Normal file
43
configs/systemd/meson.build
Normal file
@@ -0,0 +1,43 @@
|
||||
# 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-hssd.service
|
||||
open5gs-pgwd.service
|
||||
open5gs-mmed.service
|
||||
open5gs-sgwd.service
|
||||
open5gs-pcrfd.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-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=networking.service
|
||||
|
||||
[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-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
|
19
configs/systemd/open5gs-pgwd.service.in
Normal file
19
configs/systemd/open5gs-pgwd.service.in
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Open5GS P-GW Daemon
|
||||
After=networking.service
|
||||
Requires=systemd-networkd.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-pgwd -c @sysconfdir@/open5gs/pgw.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
18
configs/systemd/open5gs-sgwd.service.in
Normal file
18
configs/systemd/open5gs-sgwd.service.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Open5GS S-GW Daemon
|
||||
After=networking.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=open5gs
|
||||
Group=open5gs
|
||||
|
||||
Restart=always
|
||||
ExecStart=@bindir@/open5gs-sgwd -c @sysconfdir@/open5gs/sgw.yaml
|
||||
RestartSec=2
|
||||
RestartPreventExitStatus=1
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
142
configs/volte.yaml.in
Normal file
142
configs/volte.yaml.in
Normal file
@@ -0,0 +1,142 @@
|
||||
db_uri: mongodb://localhost/open5gs
|
||||
|
||||
logger:
|
||||
|
||||
parameter:
|
||||
|
||||
mme:
|
||||
freeDiameter:
|
||||
identity: mme.open-ims.test
|
||||
realm: open-ims.test
|
||||
# port: 3868
|
||||
# sec_port: 5868
|
||||
listen_on: 127.0.0.2
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: hss.open-ims.test
|
||||
addr: 127.0.0.4
|
||||
# port: 3868
|
||||
|
||||
s1ap:
|
||||
addr: 127.0.0.1
|
||||
gtpc:
|
||||
addr: 127.0.0.1
|
||||
gummei:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
mme_gid: 2
|
||||
mme_code: 1
|
||||
tai:
|
||||
plmn_id:
|
||||
mcc: 001
|
||||
mnc: 01
|
||||
tac: 12345
|
||||
security:
|
||||
integrity_order : [ EIA1, EIA2, EIA0 ]
|
||||
ciphering_order : [ EEA0, EEA1, EEA2 ]
|
||||
|
||||
hss:
|
||||
freeDiameter:
|
||||
identity: hss.open-ims.test
|
||||
realm: open-ims.test
|
||||
# port: 3868
|
||||
# sec_port: 5868
|
||||
listen_on: 127.0.0.4
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: mme.open-ims.test
|
||||
addr: 127.0.0.2
|
||||
# port: 3868
|
||||
|
||||
sgw:
|
||||
gtpc:
|
||||
addr: 127.0.0.2
|
||||
gtpu:
|
||||
addr: 127.0.0.2
|
||||
|
||||
pgw:
|
||||
freeDiameter:
|
||||
identity: pgw.open-ims.test
|
||||
realm: open-ims.test
|
||||
# port: 3868
|
||||
# sec_port: 5868
|
||||
listen_on: 127.0.0.3
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pcrf.open-ims.test
|
||||
addr: 127.0.0.5
|
||||
# port: 3868
|
||||
|
||||
gtpc:
|
||||
addr:
|
||||
- 127.0.0.3
|
||||
- ::1
|
||||
gtpu:
|
||||
- addr: 127.0.0.3
|
||||
- addr: ::1
|
||||
ue_pool:
|
||||
- addr: 10.45.0.1/16
|
||||
- addr: cafe::1/64
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
mtu: 1400
|
||||
|
||||
#
|
||||
# <P-CSCF>
|
||||
#
|
||||
# o Proxy Call Session Control Function
|
||||
#
|
||||
# p-cscf:
|
||||
# - 127.0.0.1
|
||||
# - ::1
|
||||
#
|
||||
|
||||
pcrf:
|
||||
freeDiameter:
|
||||
identity: pcrf.open-ims.test
|
||||
realm: open-ims.test
|
||||
# port: 3868
|
||||
# sec_port: 5868
|
||||
listen_on: 127.0.0.5
|
||||
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.fdx
|
||||
connect:
|
||||
- identity: pgw.open-ims.test
|
||||
addr: 127.0.0.3
|
||||
- identity: pcscf.open-ims.test
|
||||
addr: 127.0.0.1
|
374
configure.ac
374
configure.ac
@@ -1,374 +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.1.0], [acetcom@gmail.com])
|
||||
|
||||
CORE_CONFIG_NICE(config.nice)
|
||||
|
||||
dnl Must come before AM_INIT_AUTOMAKE.
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign])
|
||||
|
||||
# Minimum Autoconf version required.
|
||||
AC_PREREQ(2.63)
|
||||
|
||||
# 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
|
||||
|
||||
case $host in
|
||||
*linux*)
|
||||
OSDIR="unix"
|
||||
OSCPPFLAGS="-DLINUX=1"
|
||||
IPFW_CPPFLAGS="-DNEED_SYSCTLBYNAME -DNEED_SIN_LEN"
|
||||
;;
|
||||
*-apple-darwin*)
|
||||
OSDIR="unix"
|
||||
OSPPCFLAGS="-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK"
|
||||
;;
|
||||
*)
|
||||
OSDIR="unix"
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(OSCPPFLAGS)
|
||||
AC_SUBST(OSDIR)
|
||||
AC_SUBST(IPFW_CPPFLAGS)
|
||||
|
||||
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 Checks CC and freinds
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_AWK
|
||||
AC_PROG_SED
|
||||
#AC_PROG_YACC
|
||||
#AC_PROG_LEX
|
||||
AM_PROG_AR
|
||||
|
||||
dnl libtool
|
||||
LT_INIT
|
||||
|
||||
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_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 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/ip.h \
|
||||
netinet/udp.h \
|
||||
netinet/tcp.h \
|
||||
netinet/sctp.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 \
|
||||
)
|
||||
|
||||
##########################################
|
||||
#### 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_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 \
|
||||
inet_ntop \
|
||||
inet_pton \
|
||||
inet_aton \
|
||||
memmove \
|
||||
sigaction \
|
||||
sigwait \
|
||||
sigsuspend \
|
||||
stpcpy \
|
||||
strcasecmp \
|
||||
strtoul \
|
||||
stricmp \
|
||||
strerror \
|
||||
writev \
|
||||
utime \
|
||||
utimes \
|
||||
sem_timedwait \
|
||||
pthread_yield \
|
||||
sched_yield \
|
||||
)
|
||||
|
||||
AC_CHECK_LIB([pthread], [pthread_mutex_init], [LIBS="${LIBS} -lpthread"])
|
||||
AC_CHECK_LIB([dl], [dlopen], [LIBS="${LIBS} -ldl"])
|
||||
AC_CHECK_LIB([sctp], [sctp_sendmsg], [LIBS="${LIBS} -lsctp"])
|
||||
AC_CHECK_LIB([gnutls], [gnutls_global_init], [LIBS="${LIBS} -lgnutls"])
|
||||
AC_CHECK_LIB([gcrypt], [gcry_control], [LIBS="${LIBS} -lgcrypt"])
|
||||
AC_CHECK_LIB([idn], [idna_strerror], [LIBS="${LIBS} -lidn"])
|
||||
#AC_CHECK_LIB([fdcore], [fd_core_initialize], [LIBS="${LIBS} -lfdcore"])
|
||||
#AC_CHECK_LIB([fdproto], [fd_libproto_init], [LIBS="${LIBS} -lfdproto"])
|
||||
|
||||
PKG_CHECK_MODULES([MONGOC], libmongoc-1.0 >= 1.3.1)
|
||||
LIBS="$LIBS $MONGOC_LIBS"
|
||||
#PKG_CHECK_MODULES([LIBXML2], libxml-2.0 >= 2.9.1)
|
||||
#LIBS="$LIBS $LIBXML2_LIBS"
|
||||
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])
|
||||
case $host in
|
||||
*)
|
||||
AC_CONFIG_FILES([lib/core/src/unix/Makefile])
|
||||
;;
|
||||
esac
|
||||
AC_CONFIG_FILES([lib/core/test/Makefile])
|
||||
AC_CONFIG_FILES([lib/core/Makefile])
|
||||
AC_CONFIG_FILES([lib/logger/Makefile])
|
||||
AC_CONFIG_FILES([lib/base/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/extensions/dbg_msg_dumps/Makefile])
|
||||
#AC_CONFIG_FILES([lib/fd/extensions/dict_legacy_xml/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/extensions/dict_rfc5777/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/extensions/dict_mip6i/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/extensions/dict_nasreq/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/extensions/dict_nas_mipv6/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/extensions/dict_dcca/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/extensions/dict_dcca_3gpp/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/extensions/dict_s6a/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/extensions/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/gx/Makefile])
|
||||
AC_CONFIG_FILES([lib/fd/s6a/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/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([test/Makefile])
|
||||
AC_CONFIG_FILES([support/nextepc.conf])
|
||||
AC_CONFIG_FILES([support/freeDiameter/mme.conf])
|
||||
AC_CONFIG_FILES([support/freeDiameter/hss.conf])
|
||||
AC_CONFIG_FILES([support/freeDiameter/pgw.conf])
|
||||
AC_CONFIG_FILES([support/freeDiameter/pcrf.conf])
|
||||
#AC_CONFIG_FILES([support/freeDiameter/dict_legacy_xml.conf])
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
echo "
|
||||
NextEPC configuration
|
||||
--------------------
|
||||
version : ${PACKAGE_VERSION}
|
||||
host : ${host}
|
||||
source code location : ${srcdir}
|
||||
compiler : ${CC}
|
||||
compiler flags : ${CFLAGS}
|
||||
linker flags : ${LDFLAGS} ${LIBS}
|
||||
config file directory : `eval echo \`echo ${sysconfdir}\``
|
||||
log file directory : `eval echo \`echo ${prefix}/var/log\``
|
||||
"
|
643
debian/changelog
vendored
Normal file
643
debian/changelog
vendored
Normal file
@@ -0,0 +1,643 @@
|
||||
open5gs (1.2.2~eoan) eoan; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 25 Mar 2020 23:52:52 +0000
|
||||
|
||||
open5gs (1.2.2~disco) disco; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 25 Mar 2020 23:51:53 +0000
|
||||
|
||||
open5gs (1.2.2~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 25 Mar 2020 23:49:09 +0000
|
||||
|
||||
open5gs (1.2.2) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 25 Mar 2020 23:46:47 +0000
|
||||
|
||||
open5gs (1.2.1~eoan) eoan; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 05 Feb 2020 19:59:15 +0900
|
||||
|
||||
open5gs (1.2.1~disco) disco; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 05 Feb 2020 19:58:05 +0900
|
||||
|
||||
open5gs (1.2.1~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 05 Feb 2020 19:56:44 +0900
|
||||
|
||||
open5gs (1.2.1) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 05 Feb 2020 19:52:54 +0900
|
||||
|
||||
open5gs (1.2.0~eoan) eoan; urgency=medium
|
||||
|
||||
* VoLTE tested
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 12 Jan 2020 23:08:38 +0900
|
||||
|
||||
open5gs (1.2.0~disco) disco; urgency=medium
|
||||
|
||||
* VoLTE tested
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 12 Jan 2020 23:07:41 +0900
|
||||
|
||||
open5gs (1.2.0~bionic2) bionic; urgency=medium
|
||||
|
||||
* VoLTE tested
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 12 Jan 2020 23:05:19 +0900
|
||||
|
||||
open5gs (1.2.0) unstable; urgency=medium
|
||||
|
||||
* VoLTE tested
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 12 Jan 2020 22:45:29 +0900
|
||||
|
||||
open5gs (1.1.0) unstable; urgency=medium
|
||||
|
||||
* Static IP addresses
|
||||
* Many BUGS Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 18 Nov 2019 22:27:05 +0900
|
||||
|
||||
open5gs (1.0.0) unstable; urgency=medium
|
||||
|
||||
* Change build-tool to MESON
|
||||
* Many BUGS Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 27 Oct 2019 06:34:23 +0000
|
||||
|
||||
open5gs (1.0.0~eoan6) eoan; urgency=medium
|
||||
|
||||
* Change build-tool to MESON
|
||||
* Many BUGS Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 27 Oct 2019 06:33:10 +0000
|
||||
|
||||
open5gs (1.0.0~disco6) disco; urgency=medium
|
||||
|
||||
* Change build-tool to MESON
|
||||
* Many BUGS Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 27 Oct 2019 06:32:11 +0000
|
||||
|
||||
open5gs (1.0.0~bionic6) bionic; urgency=medium
|
||||
|
||||
* Change build-tool to MESON
|
||||
* Many BUGS Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 27 Oct 2019 14:39:52 +0900
|
||||
|
||||
open5gs (0.5.2~disco) disco; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Aug 2019 13:21:24 +0000
|
||||
|
||||
open5gs (0.5.2~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Aug 2019 12:55:48 +0000
|
||||
|
||||
open5gs (0.5.2~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Aug 2019 11:51:07 +0000
|
||||
|
||||
open5gs (0.5.2) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Aug 2019 11:17:35 +0000
|
||||
|
||||
open5gs (0.5.1~xenial) xenial; urgency=medium
|
||||
|
||||
* SMSoSG Supported
|
||||
* Many BUGS Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 30 Jul 2019 22:42:27 +0900
|
||||
|
||||
open5gs (0.5.1~bionic) bionic; urgency=medium
|
||||
|
||||
* SMSoSG Supported
|
||||
* Many BUGS Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 30 Jul 2019 22:41:14 +0900
|
||||
|
||||
open5gs (0.5.1) unstable; urgency=medium
|
||||
|
||||
* SMSoSG Supported
|
||||
* Many BUGS Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 30 Jul 2019 21:34:15 +0900
|
||||
|
||||
open5gs (0.5.0-1~bionic) bionic; urgency=medium
|
||||
|
||||
* CSFB Supported
|
||||
* OGSLib package name changed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 11 Jul 2019 15:34:08 +0000
|
||||
|
||||
open5gs (0.5.0-1~xenial) xenial; urgency=medium
|
||||
|
||||
* CSFB Supported
|
||||
* OGSLib package name changed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 11 Jul 2019 15:09:05 +0000
|
||||
|
||||
open5gs (0.5.0) unstable; urgency=medium
|
||||
|
||||
* CSFB Supported
|
||||
* OGSLib package name changed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 11 Jul 2019 22:26:35 +0900
|
||||
|
||||
open5gs (0.4.4~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 30 Jun 2019 13:23:15 +0000
|
||||
|
||||
open5gs (0.4.4~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 30 Jun 2019 13:21:59 +0000
|
||||
|
||||
open5gs (0.4.4) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 30 Jun 2019 12:05:12 +0000
|
||||
|
||||
open5gs (0.4.3~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 22 Jun 2019 06:57:10 +0000
|
||||
|
||||
open5gs (0.4.3~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 22 Jun 2019 06:55:56 +0000
|
||||
|
||||
open5gs (0.4.3) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 22 Jun 2019 03:30:10 +0000
|
||||
|
||||
open5gs (0.4.2~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 28 May 2019 20:11:51 +0900
|
||||
|
||||
open5gs (0.4.2~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 28 May 2019 20:09:02 +0900
|
||||
|
||||
open5gs (0.4.2) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 28 May 2019 20:04:53 +0900
|
||||
|
||||
open5gs (0.4.1~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 18 May 2019 09:59:17 +0000
|
||||
|
||||
open5gs (0.4.1~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 18 May 2019 09:57:44 +0000
|
||||
|
||||
open5gs (0.4.1) unstable; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 18 May 2019 08:18:59 +0000
|
||||
|
||||
open5gs (0.4.0) unstable; urgency=medium
|
||||
|
||||
* Integration with OGSLIB
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 29 Apr 2019 14:09:03 +0000
|
||||
|
||||
open5gs (0.3.11~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 27 Apr 2019 13:59:08 +0000
|
||||
|
||||
open5gs (0.3.11~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 27 Apr 2019 13:57:42 +0000
|
||||
|
||||
open5gs (0.3.10~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 17 Aug 2018 04:28:38 +0000
|
||||
|
||||
open5gs (0.3.10~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 17 Aug 2018 04:21:39 +0000
|
||||
|
||||
open5gs (0.3.9~artful) artful; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 03 Jun 2018 01:40:44 +0000
|
||||
|
||||
open5gs (0.3.9~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 03 Jun 2018 01:39:33 +0000
|
||||
|
||||
open5gs (0.3.9~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 03 Jun 2018 01:38:15 +0000
|
||||
|
||||
open5gs (0.3.8-1~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 05 May 2018 22:37:45 +0900
|
||||
|
||||
open5gs (0.3.8~bionic) bionic; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 05 May 2018 21:48:55 +0900
|
||||
|
||||
open5gs (0.3.8~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 29 Apr 2018 21:47:25 +0900
|
||||
|
||||
open5gs (0.3.8~artful) artful; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 29 Apr 2018 21:45:36 +0900
|
||||
|
||||
open5gs (0.3.7~artful) artful; urgency=medium
|
||||
|
||||
* Buf Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 14 Apr 2018 15:02:05 +0900
|
||||
|
||||
open5gs (0.3.7~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sat, 14 Apr 2018 14:59:37 +0900
|
||||
|
||||
open5gs (0.3.6~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 21 Mar 2018 08:02:52 +0000
|
||||
|
||||
open5gs (0.3.6~artful) artful; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 21 Mar 2018 08:00:12 +0000
|
||||
|
||||
open5gs (0.3.5~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 06 Mar 2018 12:41:53 +0000
|
||||
|
||||
open5gs (0.3.5~artful) artful; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 06 Mar 2018 12:40:07 +0000
|
||||
|
||||
open5gs (0.3.4-1~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 22 Feb 2018 02:16:08 +0000
|
||||
|
||||
open5gs (0.3.4-1~artful) artful; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 22 Feb 2018 02:14:43 +0000
|
||||
|
||||
open5gs (0.3.4~xenial) xenial; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 22 Feb 2018 02:09:23 +0000
|
||||
|
||||
open5gs (0.3.4~artful) artful; urgency=medium
|
||||
|
||||
* Bug Fixed
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 22 Feb 2018 01:33:04 +0000
|
||||
|
||||
open5gs (0.3.3-3~artful) artful; urgency=medium
|
||||
|
||||
* Support Docker
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 13 Feb 2018 04:47:43 +0000
|
||||
|
||||
open5gs (0.3.3-3~xenial) xenial; urgency=medium
|
||||
|
||||
* Support Docker
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 13 Feb 2018 04:44:47 +0000
|
||||
|
||||
open5gs (0.3.3-2~xenial) xenial; urgency=medium
|
||||
|
||||
* Minor bug fixes
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Feb 2018 16:08:14 +0000
|
||||
|
||||
open5gs (0.3.3-2~artful) artful; urgency=medium
|
||||
|
||||
* Minor bug fixes
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Feb 2018 16:05:44 +0000
|
||||
|
||||
open5gs (0.3.3-1~xenial) xenial; urgency=medium
|
||||
|
||||
* Minor bug fixes
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Feb 2018 15:39:37 +0000
|
||||
|
||||
open5gs (0.3.3-1~artful) artful; urgency=medium
|
||||
|
||||
* Minor bug fixes
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Feb 2018 15:33:57 +0000
|
||||
|
||||
open5gs (0.3.3~artful) artful; urgency=medium
|
||||
|
||||
* Minor bug fixes
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Feb 2018 15:05:08 +0000
|
||||
|
||||
open5gs (0.3.3~xenial) xenial; urgency=medium
|
||||
|
||||
* Minor bug fixes
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 11 Feb 2018 15:00:24 +0000
|
||||
|
||||
open5gs (0.3.2~zesty) zesty; urgency=medium
|
||||
|
||||
* VoLTE Support
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 24 Jan 2018 08:06:32 +0000
|
||||
|
||||
open5gs (0.3.2~xenial) xenial; urgency=medium
|
||||
|
||||
* VoLTE Support
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 24 Jan 2018 08:03:41 +0000
|
||||
|
||||
open5gs (0.3.2~artful) artful; urgency=medium
|
||||
|
||||
* VoLTE Support
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Wed, 24 Jan 2018 08:00:24 +0000
|
||||
|
||||
open5gs (0.3.1-1~zesty) zesty; urgency=medium
|
||||
|
||||
* IPv6 Support (Linux Only)
|
||||
* Change Configuration File (JSON -> YAML)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 31 Dec 2017 22:10:52 +0000
|
||||
|
||||
open5gs (0.3.1-1~xenial) xenial; urgency=medium
|
||||
|
||||
* IPv6 Support (Linux Only)
|
||||
* Change Configuration File (JSON -> YAML)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 31 Dec 2017 22:09:26 +0000
|
||||
|
||||
open5gs (0.3.1-1~artful) artful; urgency=medium
|
||||
|
||||
* IPv6 Support (Linux Only)
|
||||
* Change Configuration File (JSON -> YAML)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Sun, 31 Dec 2017 22:04:50 +0000
|
||||
|
||||
open5gs (0.3-3~zesty) zesty; urgency=medium
|
||||
|
||||
* IPv6 Support (Linux Only)
|
||||
* Change Configuration File (JSON -> YAML)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 18 Dec 2017 10:18:26 +0000
|
||||
|
||||
open5gs (0.3-3~xenial) xenial; urgency=medium
|
||||
|
||||
* IPv6 Support (Linux Only)
|
||||
* Change Configuration File (JSON -> YAML)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 18 Dec 2017 10:16:51 +0000
|
||||
|
||||
open5gs (0.3-3~artful) artful; urgency=medium
|
||||
|
||||
* IPv6 Support (Linux Only)
|
||||
* Change Configuration File (JSON -> YAML)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 18 Dec 2017 10:15:18 +0000
|
||||
|
||||
open5gs (0.3-2~artful) artful; urgency=medium
|
||||
|
||||
* Fix the bug reboot scenario
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 18 Dec 2017 07:06:52 +0000
|
||||
|
||||
open5gs (0.3-1~artful) artful; urgency=medium
|
||||
|
||||
* IPv6 Support (Linux Only)
|
||||
* Change Configuration File (JSON -> YAML)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 18 Dec 2017 05:07:31 +0000
|
||||
|
||||
open5gs (0.2-6~artful2) artful; urgency=medium
|
||||
|
||||
* postrm script is improved to purge package completely.
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 03 Nov 2017 02:30:53 +0000
|
||||
|
||||
open5gs (0.2-6~zesty2) zesty; urgency=medium
|
||||
|
||||
* postrm script is improved to purge package completely.
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 03 Nov 2017 02:30:08 +0000
|
||||
|
||||
open5gs (0.2-6~xenial2) xenial; urgency=medium
|
||||
|
||||
* postrm script is improved to purge package completely.
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 03 Nov 2017 02:28:41 +0000
|
||||
|
||||
open5gs (0.2-6~zesty) zesty; urgency=medium
|
||||
|
||||
* postrm script is improved to purge package completely.
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 03 Nov 2017 02:25:37 +0000
|
||||
|
||||
open5gs (0.2-6~xenial) xenial; urgency=medium
|
||||
|
||||
* postrm script is improved to purge package completely.
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 03 Nov 2017 02:23:54 +0000
|
||||
|
||||
open5gs (0.2-6~artful) artful; urgency=medium
|
||||
|
||||
* postrm script is improved to purge package completely.
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Fri, 03 Nov 2017 02:00:14 +0000
|
||||
|
||||
open5gs (0.2-5~artful) artful; urgency=medium
|
||||
|
||||
* Relase 0.2
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 02 Nov 2017 07:13:23 +0000
|
||||
|
||||
open5gs (0.2-5~zesty) zesty; urgency=medium
|
||||
|
||||
* Relase 0.2
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 02 Nov 2017 07:12:17 +0000
|
||||
|
||||
open5gs (0.2-5~xenial) xenial; urgency=medium
|
||||
|
||||
* Release 0.2
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Thu, 02 Nov 2017 07:11:16 +0000
|
||||
|
||||
open5gs (0.2-4~xenial2) xenial; urgency=medium
|
||||
|
||||
* Fix the bug open5gs-pgwd post install script
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 14:07:54 +0000
|
||||
|
||||
open5gs (0.2-4~artful) artful; urgency=medium
|
||||
|
||||
* Fix the bug open5gs-pgwd post install script
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 14:06:31 +0000
|
||||
|
||||
open5gs (0.2-4~zesty) zesty; urgency=medium
|
||||
|
||||
* Fix the bug open5gs-pgwd post install script
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 14:04:23 +0000
|
||||
|
||||
open5gs (0.2-4~xenial) xenial; urgency=medium
|
||||
|
||||
* Fix the bug open5gs-pgwd post install script
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 14:01:58 +0000
|
||||
|
||||
open5gs (0.2-3~artful) artful; urgency=medium
|
||||
|
||||
* MongoDB re-connect using systemd
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 12:10:18 +0000
|
||||
|
||||
open5gs (0.2-3~zesty) zesty; urgency=medium
|
||||
|
||||
* MongoDB re-connect using systemd
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 12:07:36 +0000
|
||||
|
||||
open5gs (0.2-3~xenial) xenial; urgency=medium
|
||||
|
||||
* MongoDB re-connect using systemd
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 12:00:16 +0000
|
||||
|
||||
open5gs (0.2-2~artful) artful; urgency=medium
|
||||
|
||||
* Fix PGW installation
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 05:02:03 +0000
|
||||
|
||||
open5gs (0.2-2~xenial) xenial; urgency=medium
|
||||
|
||||
* Fix PGW installation
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Tue, 31 Oct 2017 03:16:02 +0000
|
||||
|
||||
open5gs (0.2-1~artful2) artful; urgency=medium
|
||||
|
||||
* Fix the compile error [-Werror=pointer]
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 30 Oct 2017 13:14:42 +0000
|
||||
|
||||
open5gs (0.2-1~artful1) artful; urgency=medium
|
||||
|
||||
* Remove mongodb build-dependancy for Ubuntu 17.10(i386)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 30 Oct 2017 12:46:58 +0000
|
||||
|
||||
open5gs (0.2-1~artful) artful; urgency=medium
|
||||
|
||||
* Ubuntu 17.10(amd64)
|
||||
* Currently, `mongodb` is not available in Ubuntu 17.10(i386)
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 30 Oct 2017 06:50:47 +0000
|
||||
|
||||
open5gs (0.2-1~zesty) zesty; urgency=medium
|
||||
|
||||
* Ubuntu 17.04
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 30 Oct 2017 06:47:55 +0000
|
||||
|
||||
open5gs (0.2-1~xenial) xenial; urgency=medium
|
||||
|
||||
* Add matapackage
|
||||
* dh_overide_auto_test is re-enabled
|
||||
|
||||
-- Sukchan Lee <acetcom@gmail.com> Mon, 30 Oct 2017 03:48:39 +0000
|
||||
|
||||
open5gs (0.1.1) UNRELEASED; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Harald Welte <laforge@gnumonks.org> Tue, 17 Oct 2017 08:19:54 +0200
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
11
|
143
debian/control
vendored
Normal file
143
debian/control
vendored
Normal file
@@ -0,0 +1,143 @@
|
||||
Source: open5gs
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Harald Welte <laforge@gnumonks.org>
|
||||
Uploaders: Sukchan Lee <acetcom@gmail.com>
|
||||
Build-Depends: debhelper (>= 11),
|
||||
git,
|
||||
pkg-config,
|
||||
meson (>= 0.43.0),
|
||||
flex,
|
||||
bison,
|
||||
libgnutls28-dev,
|
||||
libgcrypt-dev,
|
||||
libssl-dev,
|
||||
libidn11-dev,
|
||||
libmongoc-dev,
|
||||
libbson-dev,
|
||||
libsctp-dev,
|
||||
libyaml-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: open5gs-common
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends}
|
||||
Description: Open Source based 3GPP EPC (Shared Files)
|
||||
Open5GS 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 some core libraries/plugins required by the other
|
||||
binary packages such as open5gs-{mme,sgw,pgw,pcrf,hss}.
|
||||
|
||||
Package: open5gs-mme
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC MME (Mobility Management Entity)
|
||||
Open5GS is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
.
|
||||
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
|
||||
HSS.
|
||||
|
||||
Package: open5gs-sgw
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC SGW (Serving Gateway)
|
||||
Open5GS is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
.
|
||||
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.
|
||||
|
||||
Package: open5gs-pgw
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
udev,
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC PGW (Packet Data Network Gateway)
|
||||
Open5GS is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
.
|
||||
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.
|
||||
|
||||
Package: open5gs-pcrf
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
mongodb-org | mongodb,
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC PCRF (Policy and Charging Rules Function)
|
||||
Open5GS 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: open5gs-hss
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
mongodb-org | mongodb,
|
||||
open5gs-common (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC HSS (Home Subscriber Server)
|
||||
Open5GS is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
.
|
||||
This package 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.
|
||||
|
||||
Package: open5gs
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${misc:Depends},
|
||||
open5gs-common (= ${binary:Version}),
|
||||
open5gs-mme (= ${binary:Version}),
|
||||
open5gs-sgw (= ${binary:Version}),
|
||||
open5gs-pgw (= ${binary:Version}),
|
||||
open5gs-hss (= ${binary:Version}),
|
||||
open5gs-pcrf (= ${binary:Version})
|
||||
Description: Open Source based 3GPP EPC (metapackage)
|
||||
Open5GS is a C-language Open Source implementation of the 3GPP Evolved
|
||||
Packet Core, i.e. the core network of an LTE network.
|
||||
.
|
||||
This is a metapackage that depends on all the open5gs parts.
|
||||
(MME, SGW, PGW, HSS, PCRF)
|
||||
|
||||
Package: open5gs-dbg
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${misc:Depends},
|
||||
open5gs (= ${binary:Version})
|
||||
Description: Debug symbols for Open5GS
|
||||
Open5GS 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 debug symbols for Open5GS.
|
55
debian/copyright
vendored
Normal file
55
debian/copyright
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: open5gs
|
||||
Source: https://github.com/open5gs/open5gs
|
||||
|
||||
Files: *
|
||||
Copyright: 2017 Open5GS Group
|
||||
License: AGPL-3
|
||||
|
||||
Files: lib/freeDiameter-1.2.1/*
|
||||
Copyright: 2008-2011, WIDE Project and NICT
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2017 Harald Welte <laforge@gnumonks.org>
|
||||
License: GPL-3
|
||||
|
||||
License: GPL-3
|
||||
This package is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; version 3 of the License
|
||||
.
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
|
||||
License: BSD-3-clause
|
||||
Software License Agreement (BSD License)
|
||||
.
|
||||
Copyright (c) 2008-2011, WIDE Project and NICT
|
||||
All rights reserved.
|
||||
.
|
||||
Redistribution and use of this software in source and binary forms, with or without modification, are·
|
||||
permitted provided that the following conditions are met:
|
||||
.
|
||||
* Redistributions of source code must retain the above·
|
||||
copyright notice, this list of conditions and the·
|
||||
following disclaimer.
|
||||
···
|
||||
* Redistributions in binary form must reproduce the above·
|
||||
copyright notice, this list of conditions and the·
|
||||
following disclaimer in the documentation and/or other
|
||||
materials provided with the distribution.
|
||||
.
|
||||
* Neither the name of the WIDE Project or NICT nor the·
|
||||
names of its contributors may be used to endorse or·
|
||||
promote products derived from this software without·
|
||||
specific prior written permission of WIDE Project and·
|
||||
NICT.
|
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
|
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
|
5
debian/open5gs-pgw.install
vendored
Normal file
5
debian/open5gs-pgw.install
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
usr/bin/open5gs-pgwd
|
||||
configs/freeDiameter/pgw.* etc/freeDiameter
|
||||
configs/open5gs/pgw.yaml etc/open5gs
|
||||
configs/systemd/99-open5gs.net* etc/systemd/network
|
||||
configs/systemd/open5gs-pgwd.service lib/systemd/system
|
53
debian/open5gs-pgw.postinst
vendored
Normal file
53
debian/open5gs-pgw.postinst
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
#!/bin/sh
|
||||
# postinst script for open5gs-pgw
|
||||
#
|
||||
# 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-open5gs.conf
|
||||
sysctl -p /etc/sysctl.d/30-open5gs.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-open5gs.conf && grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
echo "net.ipv6.conf.ogstun.disable_ipv6=0" > /etc/sysctl.d/30-open5gs.conf
|
||||
sysctl -p /etc/sysctl.d/30-open5gs.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/open5gs-pgw.postrm
vendored
Normal file
46
debian/open5gs-pgw.postrm
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
#!/bin/sh
|
||||
# postrm script for open5gs-pgw
|
||||
#
|
||||
# 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 "ogstun" /proc/net/dev > /dev/null; then
|
||||
ip tuntap del name ogstun mode tun
|
||||
fi
|
||||
rm -f /etc/sysctl.d/30-open5gs.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/open5gs-sgw.install
vendored
Normal file
3
debian/open5gs-sgw.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
usr/bin/open5gs-sgwd
|
||||
configs/open5gs/sgw.yaml etc/open5gs
|
||||
configs/systemd/open5gs-sgwd.service lib/systemd/system
|
17
debian/rules
vendored
Executable file
17
debian/rules
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export DH_VERBOSE=1
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
export LC_ALL = C.UTF-8
|
||||
|
||||
include /usr/share/dpkg/default.mk
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=meson
|
||||
|
||||
override_dh_install:
|
||||
dh_install --sourcedir=obj-$(DEB_HOST_GNU_TYPE)
|
||||
|
||||
override_dh_auto_test:
|
||||
cd obj-$(DEB_HOST_GNU_TYPE) && meson test --suite unit
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (native)
|
86
docker/README.md
Normal file
86
docker/README.md
Normal file
@@ -0,0 +1,86 @@
|
||||
Docker running example
|
||||
===========================================
|
||||
* Build Image
|
||||
$ docker-compose build
|
||||
|
||||
* Development
|
||||
$ docker-compose run dev
|
||||
|
||||
* Runtime
|
||||
$ docker-compose \
|
||||
-f docker-compose.yml -f docker-compose.run.yml run run
|
||||
|
||||
* Test
|
||||
$ docker-compose \
|
||||
-f docker-compose.yml -f docker-compose.test.yml run test
|
||||
|
||||
* Test(ubuntu:artful)
|
||||
$ TAG=eoan docker-compose build
|
||||
$ TAG=eoan docker-compose \
|
||||
-f docker-compose.yml -f docker-compose.test.yml run test
|
||||
|
||||
* Development(fedora:latest)
|
||||
$ DIST=fedora docker-compose build
|
||||
$ DIST=fedora docker-compose run dev
|
||||
|
||||
* Runtime(debian:jessie)
|
||||
$ DIST=debian TAG=stretch docker-compose build
|
||||
$ DIST=debian TAG=stretch docker-compose
|
||||
-f docker-compose.yml -f docker-compose.run.yml run run
|
||||
|
||||
* All Test with All Environment
|
||||
$ ./check.sh
|
||||
|
||||
* Run WebUI
|
||||
$ docker-compose up -d
|
||||
|
||||
For OpenSUSE Build Service Release
|
||||
===========================================
|
||||
|
||||
* Build Package
|
||||
$ ./build-aux/git-version-gen . > .tarball-version
|
||||
$ dpkg-source -b .
|
||||
$ rm -f .tarball-version
|
||||
|
||||
* Get Release Key
|
||||
$ wget http://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/xUbuntu_18.04/Release.key
|
||||
$ sudo apt-key add Release.key
|
||||
|
||||
* Setup Repository
|
||||
$ sudo sh -c "echo 'deb https://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/xUbuntu_18.04/ ./' > /etc/apt/sources.list.d/open5gs-latest.list"
|
||||
$ sudo apt-get update
|
||||
|
||||
For Launchpad Release
|
||||
===========================================
|
||||
|
||||
* Run Docker
|
||||
$ docker-compose run dev
|
||||
|
||||
* Setup Debian Environment
|
||||
export DEBFULLNAME='Sukchan Lee'
|
||||
export DEBEMAIL='acetcom@gmail.com'
|
||||
|
||||
* Transfer GPG key
|
||||
$ gpg --export-secret-keys --armor --output private.asc
|
||||
$ gpg --import private.asc
|
||||
$ gpg --export > public.asc
|
||||
$ gpg --import public.asc
|
||||
|
||||
* Upload OpenBuildService
|
||||
$ dch -i
|
||||
$ meson subprojects download freeDiameter
|
||||
$ debuild -S -uc -us -d
|
||||
$ osc co home:acetcom:open5gs latest
|
||||
$ cd home\:acetcom\:open5gs/latest/
|
||||
$ cp ~/git/open5gs_1.0.0.* .
|
||||
$ osc ci -m "Update it"
|
||||
|
||||
* Upload LaunchPad
|
||||
$ dch -i
|
||||
$ meson subprojects download freeDiameter
|
||||
$ debuild -S -d
|
||||
$ dput ppa:open5gs/latest *.source.changes
|
||||
|
||||
* Build package
|
||||
$ dpkg-buildpackage -d
|
||||
|
19
docker/build/Dockerfile
Normal file
19
docker/build/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
ARG dist=ubuntu
|
||||
ARG tag=latest
|
||||
ARG username=acetcom
|
||||
FROM ${username}/${dist}-${tag}-open5gs-base
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
WORKDIR /root
|
||||
COPY setup.sh /root
|
||||
|
||||
ARG USER=open5gs
|
||||
ARG REPO=open5gs
|
||||
ARG BRANCH=master
|
||||
RUN git clone https://github.com/$USER/$REPO
|
||||
ADD https://api.github.com/repos/$USER/$REPO/git/refs/heads/$BRANCH /root/open5gs-ver.json
|
||||
|
||||
RUN cd $REPO && \
|
||||
git fetch && git checkout -f -B $BRANCH origin/$BRANCH && \
|
||||
meson build && ninja -C build install
|
10
docker/build/setup.sh
Executable file
10
docker/build/setup.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
ip tuntap add name ogstun mode tun
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del cafe::1/64 dev ogstun 2> /dev/null
|
||||
ip addr add cafe::1/64 dev ogstun
|
||||
ip link set ogstun up
|
28
docker/centos/7/base/Dockerfile
Normal file
28
docker/centos/7/base/Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
||||
ARG dist=centos
|
||||
ARG tag=latest
|
||||
FROM ${dist}:${tag}
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN yum -y install epel-release
|
||||
RUN yum -y install https://centos7.iuscommunity.org/ius-release.rpm
|
||||
RUN yum -y update
|
||||
|
||||
RUN yum -y install \
|
||||
python3 \
|
||||
ninja-build \
|
||||
gcc \
|
||||
flex \
|
||||
bison \
|
||||
git \
|
||||
lksctp-tools-devel \
|
||||
libidn-devel \
|
||||
gnutls-devel \
|
||||
libgcrypt-devel \
|
||||
openssl-devel \
|
||||
cyrus-sasl-devel \
|
||||
libyaml-devel \
|
||||
iproute \
|
||||
mongo-c-driver-devel
|
||||
|
||||
RUN pip3 install --upgrade pip && pip install meson
|
1
docker/centos/7/dev
Symbolic link
1
docker/centos/7/dev
Symbolic link
@@ -0,0 +1 @@
|
||||
../8/dev
|
29
docker/centos/8/base/Dockerfile
Normal file
29
docker/centos/8/base/Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
ARG dist=centos
|
||||
ARG tag=latest
|
||||
FROM ${dist}:${tag}
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN dnf -y install epel-release && \
|
||||
dnf -y install 'dnf-command(config-manager)' && \
|
||||
dnf config-manager --set-enabled PowerTools && \
|
||||
dnf -y update
|
||||
|
||||
RUN dnf -y install \
|
||||
python3 \
|
||||
ninja-build \
|
||||
gcc \
|
||||
flex \
|
||||
bison \
|
||||
git \
|
||||
lksctp-tools-devel \
|
||||
libidn-devel \
|
||||
gnutls-devel \
|
||||
libgcrypt-devel \
|
||||
openssl-devel \
|
||||
cyrus-sasl-devel \
|
||||
libyaml-devel \
|
||||
iproute \
|
||||
mongo-c-driver-devel
|
||||
|
||||
RUN pip3 install --upgrade pip && pip install meson
|
22
docker/centos/8/dev/Dockerfile
Normal file
22
docker/centos/8/dev/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
ARG dist=centos
|
||||
ARG tag=latest
|
||||
ARG username=acetcom
|
||||
FROM ${username}/${dist}-${tag}-open5gs-base
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN yum -y install \
|
||||
cscope \
|
||||
vim \
|
||||
sudo \
|
||||
iputils \
|
||||
net-tools
|
||||
|
||||
COPY setup.sh /root
|
||||
|
||||
ARG username=acetcom
|
||||
RUN useradd -m --uid=1000 ${username} && \
|
||||
echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
|
||||
chmod 0440 /etc/sudoers.d/${username}
|
||||
|
||||
WORKDIR /home/${username}
|
10
docker/centos/8/dev/setup.sh
Executable file
10
docker/centos/8/dev/setup.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
ip tuntap add name ogstun mode tun
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del cafe::1/64 dev ogstun 2> /dev/null
|
||||
ip addr add cafe::1/64 dev ogstun
|
||||
ip link set ogstun up
|
1
docker/centos/latest
Symbolic link
1
docker/centos/latest
Symbolic link
@@ -0,0 +1 @@
|
||||
8
|
27
docker/check.sh
Executable file
27
docker/check.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker-compose build
|
||||
docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm test
|
||||
|
||||
TAG=eoan docker-compose build
|
||||
TAG=eoan docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm test
|
||||
|
||||
DIST=fedora docker-compose build
|
||||
DIST=fedora docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm test
|
||||
|
||||
DIST=fedora TAG=29 docker-compose build
|
||||
DIST=fedora TAG=29 docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm test
|
||||
|
||||
DIST=centos docker-compose build
|
||||
DIST=centos docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm test
|
||||
|
||||
DIST=centos TAG=7 docker-compose build
|
||||
DIST=centos TAG=7 docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm test
|
||||
|
||||
DIST=debian docker-compose build
|
||||
DIST=debian docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm test
|
||||
|
||||
DIST=debian TAG=stretch docker-compose build
|
||||
DIST=debian TAG=stretch docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm test
|
||||
|
||||
docker rm $(docker ps -qa --no-trunc --filter "status=exited")
|
32
docker/debian/buster/base/Dockerfile
Normal file
32
docker/debian/buster/base/Dockerfile
Normal file
@@ -0,0 +1,32 @@
|
||||
ARG dist=ubuntu
|
||||
ARG tag=latest
|
||||
FROM ${dist}:${tag}
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
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 \
|
||||
iproute2 \
|
||||
ca-certificates \
|
||||
netbase \
|
||||
pkg-config && \
|
||||
apt-get clean
|
||||
RUN python3 -m pip install --upgrade pip
|
||||
RUN python3 -m pip install meson
|
1
docker/debian/buster/dev
Symbolic link
1
docker/debian/buster/dev
Symbolic link
@@ -0,0 +1 @@
|
||||
../../ubuntu/bionic/dev
|
1
docker/debian/buster/latest
Symbolic link
1
docker/debian/buster/latest
Symbolic link
@@ -0,0 +1 @@
|
||||
latest
|
1
docker/debian/buster/stable
Symbolic link
1
docker/debian/buster/stable
Symbolic link
@@ -0,0 +1 @@
|
||||
stable
|
1
docker/debian/latest
Symbolic link
1
docker/debian/latest
Symbolic link
@@ -0,0 +1 @@
|
||||
buster
|
1
docker/debian/stable
Symbolic link
1
docker/debian/stable
Symbolic link
@@ -0,0 +1 @@
|
||||
buster
|
1
docker/debian/stretch
Symbolic link
1
docker/debian/stretch
Symbolic link
@@ -0,0 +1 @@
|
||||
buster
|
22
docker/docker-compose.run.yml
Normal file
22
docker/docker-compose.run.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
run:
|
||||
network_mode: "host"
|
||||
image: ${USER}/${DIST-ubuntu}-${TAG-latest}-open5gs-build
|
||||
depends_on:
|
||||
- mongodb
|
||||
- build
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- "/dev/net/tun:/dev/net/tun"
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=0
|
||||
volumes:
|
||||
- config:/etc/open5gs
|
||||
hostname: open5gs-run
|
||||
command: /bin/bash -c "/root/setup.sh; /usr/bin/open5gs-pcrfd -D; /usr/bin/open5gs-pgwd -D; /usr/bin/open5gs-sgwd -D; /usr/bin/open5gs-hssd -D; /usr/bin/open5gs-mmed"
|
||||
|
||||
volumes:
|
||||
config: {}
|
18
docker/docker-compose.test.yml
Normal file
18
docker/docker-compose.test.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
test:
|
||||
image: ${USER}/${DIST-ubuntu}-${TAG-latest}-open5gs-build
|
||||
depends_on:
|
||||
- mongodb
|
||||
- build
|
||||
environment:
|
||||
DB_URI: mongodb://mongodb/open5gs
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- "/dev/net/tun:/dev/net/tun"
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=0
|
||||
hostname: open5gs-test
|
||||
command: /bin/bash -c "/root/setup.sh; cd open5gs && ninja -C build test"
|
84
docker/docker-compose.yml
Normal file
84
docker/docker-compose.yml
Normal file
@@ -0,0 +1,84 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
mongodb:
|
||||
image: mongo
|
||||
container_name: open5gs-mongodb
|
||||
ports:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- mongodb:/data/db
|
||||
|
||||
webui:
|
||||
build: webui
|
||||
image: ${USER}/open5gs-webui
|
||||
container_name: open5gs-webui
|
||||
depends_on:
|
||||
- mongodb
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
- mongodb
|
||||
environment:
|
||||
DB_URI: mongodb://mongodb/open5gs
|
||||
|
||||
base:
|
||||
build:
|
||||
context: ./${DIST-ubuntu}/${TAG-latest}/base
|
||||
args:
|
||||
dist: ${DIST-ubuntu}
|
||||
tag: ${TAG-latest}
|
||||
image: ${USER}/${DIST-ubuntu}-${TAG-latest}-open5gs-base
|
||||
command: /bin/bash -c "echo 'base' services"
|
||||
|
||||
build:
|
||||
build:
|
||||
context: ./build
|
||||
args:
|
||||
dist: ${DIST-ubuntu}
|
||||
tag: ${TAG-latest}
|
||||
username: ${USER}
|
||||
image: ${USER}/${DIST-ubuntu}-${TAG-latest}-open5gs-build
|
||||
depends_on:
|
||||
- base
|
||||
command: /bin/bash -c "echo 'build' services"
|
||||
|
||||
dev:
|
||||
build:
|
||||
context: ./${DIST-ubuntu}/${TAG-latest}/dev
|
||||
args:
|
||||
dist: ${DIST-ubuntu}
|
||||
tag: ${TAG-latest}
|
||||
username: ${USER}
|
||||
image: ${USER}/${DIST-ubuntu}-${TAG-latest}-open5gs-dev
|
||||
depends_on:
|
||||
- mongodb
|
||||
- base
|
||||
environment:
|
||||
- DB_URI=mongodb://mongodb/open5gs
|
||||
- DISPLAY=$DISPLAY
|
||||
# - DISPLAY=docker.for.mac.localhost:0
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- "/dev/net/tun:/dev/net/tun"
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=0
|
||||
volumes:
|
||||
- home:/home/${USER}
|
||||
- ${HOME}:/mnt
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix
|
||||
# - /etc/localtime:/etc/localtime:ro
|
||||
# - /usr/share/zoneinfo/Europe/Helsinki:/etc/localtime:ro
|
||||
hostname: open5gs-dev
|
||||
user: ${USER}
|
||||
entrypoint: /bin/bash -c "/bin/bash -c \"$${@}\""
|
||||
command: |
|
||||
/bin/bash -c "
|
||||
sudo chmod 666 /dev/net/tun
|
||||
sudo /root/setup.sh
|
||||
/bin/bash || exit 0
|
||||
"
|
||||
volumes:
|
||||
mongodb: {}
|
||||
home: {}
|
1
docker/fedora/29
Symbolic link
1
docker/fedora/29
Symbolic link
@@ -0,0 +1 @@
|
||||
30
|
24
docker/fedora/30/base/Dockerfile
Normal file
24
docker/fedora/30/base/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
ARG dist=fedora
|
||||
ARG tag=latest
|
||||
FROM ${dist}:${tag}
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN dnf -y install \
|
||||
python3 \
|
||||
ninja-build \
|
||||
gcc \
|
||||
flex \
|
||||
bison \
|
||||
git \
|
||||
lksctp-tools-devel \
|
||||
libidn-devel \
|
||||
gnutls-devel \
|
||||
libgcrypt-devel \
|
||||
openssl-devel \
|
||||
cyrus-sasl-devel \
|
||||
libyaml-devel \
|
||||
iproute \
|
||||
mongo-c-driver-devel
|
||||
|
||||
RUN pip3 install --upgrade pip && pip install meson
|
22
docker/fedora/30/dev/Dockerfile
Normal file
22
docker/fedora/30/dev/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
ARG dist=fedora
|
||||
ARG tag=latest
|
||||
ARG username=acetcom
|
||||
FROM ${username}/${dist}-${tag}-open5gs-base
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN dnf -y install \
|
||||
cscope \
|
||||
vim \
|
||||
sudo \
|
||||
iputils \
|
||||
net-tools
|
||||
|
||||
COPY setup.sh /root
|
||||
|
||||
ARG username=acetcom
|
||||
RUN useradd -m --uid=1000 ${username} && \
|
||||
echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
|
||||
chmod 0440 /etc/sudoers.d/${username}
|
||||
|
||||
WORKDIR /home/${username}
|
10
docker/fedora/30/dev/setup.sh
Executable file
10
docker/fedora/30/dev/setup.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
ip tuntap add name ogstun mode tun
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del cafe::1/64 dev ogstun 2> /dev/null
|
||||
ip addr add cafe::1/64 dev ogstun
|
||||
ip link set ogstun up
|
1
docker/fedora/latest
Symbolic link
1
docker/fedora/latest
Symbolic link
@@ -0,0 +1 @@
|
||||
30
|
10
docker/package/Dockerfile
Normal file
10
docker/package/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
ARG tag=latest
|
||||
FROM ubuntu:${tag}
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install software-properties-common && \
|
||||
add-apt-repository ppa:acetcom/open5gs && \
|
||||
apt-get update && \
|
||||
apt-get install -y open5gs
|
||||
|
||||
WORKDIR /root
|
31
docker/ubuntu/bionic/base/Dockerfile
Normal file
31
docker/ubuntu/bionic/base/Dockerfile
Normal file
@@ -0,0 +1,31 @@
|
||||
ARG dist=ubuntu
|
||||
ARG tag=latest
|
||||
FROM ${dist}:${tag}
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
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 \
|
||||
iproute2 \
|
||||
ca-certificates \
|
||||
netbase \
|
||||
pkg-config && \
|
||||
apt-get clean
|
||||
RUN python3 -m pip install meson
|
34
docker/ubuntu/bionic/dev/Dockerfile
Normal file
34
docker/ubuntu/bionic/dev/Dockerfile
Normal file
@@ -0,0 +1,34 @@
|
||||
ARG dist=ubuntu
|
||||
ARG tag=latest
|
||||
ARG username=acetcom
|
||||
FROM ${username}/${dist}-${tag}-open5gs-base
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install -y --no-install-recommends \
|
||||
git-buildpackage \
|
||||
debhelper \
|
||||
devscripts \
|
||||
osc \
|
||||
dput \
|
||||
manpages-dev \
|
||||
fakeroot \
|
||||
cscope \
|
||||
vim \
|
||||
sudo \
|
||||
iputils-ping \
|
||||
wireshark \
|
||||
net-tools && \
|
||||
apt-get clean
|
||||
|
||||
COPY setup.sh /root
|
||||
|
||||
ARG username=acetcom
|
||||
RUN useradd -m --uid=1000 ${username} && \
|
||||
echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
|
||||
chmod 0440 /etc/sudoers.d/${username}
|
||||
|
||||
WORKDIR /home/${username}
|
10
docker/ubuntu/bionic/dev/setup.sh
Executable file
10
docker/ubuntu/bionic/dev/setup.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! grep "ogstun" /proc/net/dev > /dev/null; then
|
||||
ip tuntap add name ogstun mode tun
|
||||
fi
|
||||
ip addr del 10.45.0.1/16 dev ogstun 2> /dev/null
|
||||
ip addr add 10.45.0.1/16 dev ogstun
|
||||
ip addr del cafe::1/64 dev ogstun 2> /dev/null
|
||||
ip addr add cafe::1/64 dev ogstun
|
||||
ip link set ogstun up
|
1
docker/ubuntu/eoan
Symbolic link
1
docker/ubuntu/eoan
Symbolic link
@@ -0,0 +1 @@
|
||||
bionic
|
1
docker/ubuntu/latest
Symbolic link
1
docker/ubuntu/latest
Symbolic link
@@ -0,0 +1 @@
|
||||
bionic
|
1
docker/ubuntu/xenial
Symbolic link
1
docker/ubuntu/xenial
Symbolic link
@@ -0,0 +1 @@
|
||||
bionic
|
21
docker/webui/Dockerfile
Normal file
21
docker/webui/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM node:carbon
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
ARG PACKAGE=open5gs
|
||||
ARG VERSION=1.0.0
|
||||
|
||||
RUN set -e; \
|
||||
cd /usr/src; \
|
||||
rm -rf ./$PACKAGE; \
|
||||
curl -SLO "https://github.com/open5gs/$PACKAGE/archive/v$VERSION.tar.gz"; \
|
||||
tar -xvf v$VERSION.tar.gz; \
|
||||
mv ./$PACKAGE-$VERSION/ ./$PACKAGE;
|
||||
|
||||
WORKDIR /usr/src/open5gs/webui
|
||||
RUN npm install && \
|
||||
npm run build
|
||||
|
||||
CMD npm run start
|
||||
|
||||
EXPOSE 3000
|
3
docs/.gitignore
vendored
Normal file
3
docs/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
_site
|
||||
.sass-cache
|
||||
.jekyll-metadata
|
24
docs/Gemfile
Normal file
24
docs/Gemfile
Normal file
@@ -0,0 +1,24 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
# Hello! This is where you manage which Jekyll version is used to run.
|
||||
# When you want to use a different version, change it below, save the
|
||||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
||||
#
|
||||
# bundle exec jekyll serve
|
||||
#
|
||||
# This will help ensure the proper Jekyll version is running.
|
||||
# Happy Jekylling!
|
||||
|
||||
gem "jekyll", "~> 3.8.5"
|
||||
gem "minima", "~> 2.0"
|
||||
gem 'jekyll-seo-tag'
|
||||
|
||||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
||||
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
||||
# gem "github-pages", group: :jekyll_plugins
|
||||
|
||||
# If you have any plugins, put them here!
|
||||
group :jekyll_plugins do
|
||||
gem "jekyll-feed", "~> 0.6"
|
||||
gem "jekyll-redirect-from"
|
||||
end
|
77
docs/Gemfile.lock
Normal file
77
docs/Gemfile.lock
Normal file
@@ -0,0 +1,77 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.6.0)
|
||||
public_suffix (>= 2.0.2, < 4.0)
|
||||
colorator (1.1.0)
|
||||
concurrent-ruby (1.1.5)
|
||||
em-websocket (0.5.1)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0.6.0)
|
||||
eventmachine (1.2.7)
|
||||
ffi (1.10.0)
|
||||
forwardable-extended (2.6.0)
|
||||
http_parser.rb (0.6.0)
|
||||
i18n (0.9.5)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jekyll (3.8.5)
|
||||
addressable (~> 2.4)
|
||||
colorator (~> 1.0)
|
||||
em-websocket (~> 0.5)
|
||||
i18n (~> 0.7)
|
||||
jekyll-sass-converter (~> 1.0)
|
||||
jekyll-watch (~> 2.0)
|
||||
kramdown (~> 1.14)
|
||||
liquid (~> 4.0)
|
||||
mercenary (~> 0.3.3)
|
||||
pathutil (~> 0.9)
|
||||
rouge (>= 1.7, < 4)
|
||||
safe_yaml (~> 1.0)
|
||||
jekyll-feed (0.12.1)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-redirect-from (0.15.0)
|
||||
jekyll (>= 3.3, < 5.0)
|
||||
jekyll-sass-converter (1.5.2)
|
||||
sass (~> 3.4)
|
||||
jekyll-seo-tag (2.6.0)
|
||||
jekyll (~> 3.3)
|
||||
jekyll-watch (2.2.1)
|
||||
listen (~> 3.0)
|
||||
kramdown (1.17.0)
|
||||
liquid (4.0.3)
|
||||
listen (3.1.5)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
ruby_dep (~> 1.2)
|
||||
mercenary (0.3.6)
|
||||
minima (2.5.0)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-feed (~> 0.9)
|
||||
jekyll-seo-tag (~> 2.1)
|
||||
pathutil (0.16.2)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (3.0.3)
|
||||
rb-fsevent (0.10.3)
|
||||
rb-inotify (0.10.0)
|
||||
ffi (~> 1.0)
|
||||
rouge (3.3.0)
|
||||
ruby_dep (1.5.0)
|
||||
safe_yaml (1.0.5)
|
||||
sass (3.7.4)
|
||||
sass-listen (~> 4.0.0)
|
||||
sass-listen (4.0.0)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
jekyll (~> 3.8.5)
|
||||
jekyll-feed (~> 0.6)
|
||||
jekyll-redirect-from
|
||||
jekyll-seo-tag
|
||||
minima (~> 2.0)
|
||||
|
||||
BUNDLED WITH
|
||||
2.0.1
|
108
docs/_config.yml
Normal file
108
docs/_config.yml
Normal file
@@ -0,0 +1,108 @@
|
||||
# Welcome to Jekyll!
|
||||
#
|
||||
# This config file is meant for settings that affect your whole blog, values
|
||||
# which you are expected to set up once and rarely edit after that. If you find
|
||||
# yourself editing this file very often, consider using Jekyll's data files
|
||||
# feature for the data you need to update frequently.
|
||||
#
|
||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
||||
|
||||
# Site settings
|
||||
# These are used to personalize your new site. If you look in the HTML files,
|
||||
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
||||
# You can create any custom variable you would like, and they will be accessible
|
||||
# in the templates via {{ site.myvariable }}.
|
||||
title: Open5GS
|
||||
email: acetcom@gmail.com
|
||||
description: >- # this means to ignore newlines until "baseurl:"
|
||||
An open source implementation of the Evolved Packet Core of LTE networks
|
||||
supporting 3GPP Release 14.
|
||||
baseurl: "/open5gs" # the subpath of your site, e.g. /blog
|
||||
url: "https://open5gs.org" # the base hostname & protocol for your site, e.g. http://example.com
|
||||
author: "Sukchan Lee"
|
||||
github_username: open5gs
|
||||
google_analytics: UA-139225646-2
|
||||
|
||||
# Build settings
|
||||
markdown: kramdown
|
||||
plugins:
|
||||
- jekyll-feed
|
||||
- jekyll-seo-tag
|
||||
- jekyll-redirect-from
|
||||
|
||||
include:
|
||||
- _pages
|
||||
|
||||
# Exclude from processing.
|
||||
# The following items will not be processed, by default. Create a custom list
|
||||
# to override the default setting.
|
||||
exclude:
|
||||
- Gemfile
|
||||
- Gemfile.lock
|
||||
- node_modules
|
||||
- vendor/bundle/
|
||||
- vendor/cache/
|
||||
- vendor/gems/
|
||||
- vendor/ruby/
|
||||
|
||||
# Minima date format
|
||||
# refer to http://shopify.github.io/liquid/filters/date/ if you want to customize this
|
||||
minima_reboot:
|
||||
date_format: "%Y-%m-%d %H:%M"
|
||||
|
||||
footer_icons:
|
||||
- username: open5gs
|
||||
url: https://open5gs.org
|
||||
icon: icon-github.svg
|
||||
|
||||
header_pages:
|
||||
- _pages/docs.md
|
||||
- _pages/faq.md
|
||||
- _pages/about.md
|
||||
- _pages/github.md
|
||||
|
||||
show_excerpts: true
|
||||
|
||||
# Collections
|
||||
collections:
|
||||
docs:
|
||||
output: true
|
||||
permalink: /:collection/:path/
|
||||
|
||||
defaults:
|
||||
# _pages
|
||||
- scope:
|
||||
path: ""
|
||||
type: pages
|
||||
values:
|
||||
layout: page
|
||||
# _posts
|
||||
- scope:
|
||||
path: ""
|
||||
type: posts
|
||||
values:
|
||||
layout: post
|
||||
# _docs
|
||||
- scope:
|
||||
path: ""
|
||||
type: docs
|
||||
values:
|
||||
layout: post
|
||||
|
||||
# Archives
|
||||
# Type
|
||||
# - GitHub Pages compatible archive pages built with Liquid ~> type: liquid (default)
|
||||
# - Jekyll Archives plugin archive pages ~> type: jekyll-archives
|
||||
# Path (examples)
|
||||
# - Archive page should exist at path when using Liquid method or you can
|
||||
# expect broken links (especially with breadcrumbs enabled)
|
||||
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
|
||||
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
|
||||
# - <base_path/my-awesome-category/index.html ~> path: /
|
||||
category_archive:
|
||||
type: liquid
|
||||
path: /categories/
|
||||
tag_archive:
|
||||
type: liquid
|
||||
path: /tags/
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user