Commit d61ee799 authored by Niuhaiwen's avatar Niuhaiwen

add amfiplist

parent 337d3a18
No preview for this file type
......@@ -17,12 +17,12 @@ PLUGIN =
{
INTERFACE_NAME = "ens18"; # YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "read";
PORT = 8383; # YOUR NETWORK CONFIG HERE
PORT = 8282; # YOUR NETWORK CONFIG HERE
};
NRF:
{
INTERFACE_NAME = "NRF"; # YOUR NETWORK CONFIG HERE
IPV4_ADDRESS = "10.244.2.2";#amf地址
IPV4_ADDRESS = "10.244.1.12";#amf地址
PORT = 8282; # YOUR NETWORK CONFIG HERE
};
};
......
[2021-11-10T14:47:41.543687] [plugin] [plugin_app] [start] Options parsed!
[2021-11-10T14:47:41.543752] [plugin] [plugin_app] [debug]
Load plugin system configuration file(etc/plugin.conf)
[2021-11-10T14:47:41.543917] [plugin] [configurations] [info ] ====================== plugin =====================
[2021-11-10T14:47:41.543935] [plugin] [configurations] [info ] Configuration plugin:
[2021-11-10T14:47:41.543941] [plugin] [configurations] [info ]
[2021-11-10T14:47:41.543947] [plugin] [configurations] [info ] - N2 Networking:
[2021-11-10T14:47:41.543952] [plugin] [configurations] [info ] iface ................: ens18
[2021-11-10T14:47:41.543960] [plugin] [configurations] [info ] ip ...................: 10.103.238.210
[2021-11-10T14:47:41.543966] [plugin] [configurations] [info ] port .................: 38412
[2021-11-10T14:47:41.543971] [plugin] [configurations] [info ]
[2021-11-10T14:47:41.543976] [plugin] [configurations] [info ] - SBI Networking:
[2021-11-10T14:47:41.543983] [plugin] [configurations] [info ] iface ................: ens18
[2021-11-10T14:47:41.543989] [plugin] [configurations] [info ] ip ...................: 10.103.238.210
[2021-11-10T14:47:41.543994] [plugin] [configurations] [info ] port .................: 8282
[2021-11-10T14:47:41.544001] [plugin] [configurations] [info ]
[2021-11-10T14:47:41.544006] [plugin] [configurations] [info ] - NRF Networking:
[2021-11-10T14:47:41.544014] [plugin] [configurations] [info ] iface ................: NRF
[2021-11-10T14:47:41.544019] [plugin] [configurations] [info ] ip ...................: 10.244.2.2
[2021-11-10T14:47:41.544024] [plugin] [configurations] [info ] port .................: 8282
[2021-11-10T14:47:41.544031] [plugin] [configurations] [info ]
[2021-11-10T14:47:41.544038] [plugin] [sctp ] [debug] creating socket!!
[2021-11-10T14:47:41.544056] [plugin] [sctp ] [info ] Created socket (5)
[2021-11-10T14:47:41.544094] [plugin] [sctp ] [info ] Set N2 AMF IPv4 Addr, port: 10.103.238.210, 38412
[2021-11-10T14:47:41.544180] [plugin] [sctp ] [info ] Create pthread to receive sctp message
ptr->getSocket() = 5 [2021-11-10T14:47:41.544239] [plugin] [plugin_app] [debug] Initiate PLUGIN server endpoints done!
[2021-11-10T14:48:47.119173] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:48:47.119232] [plugin] [sctp ] [debug] Add new association with id (136)
[2021-11-10T14:48:47.119257] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:48:47.119264] [plugin] [sctp ] [info ] Local addresses:
[2021-11-10T14:48:47.119275] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:48:47.119290] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:48:47.119296] [plugin] [sctp ] [info ] Peer addresses:
[2021-11-10T14:48:47.119303] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:48:47.119308] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:48:47.119535] [plugin] [sctp ] [info ] ****[Assoc_id 136, Socket 21] Received a msg (length 69) from port 52912, on stream 0, PPID 60 ****
[2021-11-10T14:48:47.119553] [plugin] [plugin_sbi] [debug] Begining at time 1636526927119551
[2021-11-10T14:48:47.119568] [plugin] [plugin_sbi] [debug] index 0
使用http发送到amf
[2021-11-10T14:48:47.119578] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140
[2021-11-10T14:48:47.119596] [plugin] [sctp ] [debug] [Assoc ID 136] Sending buffer 0x7f8c50001bb0 of 69 bytes on stream 0,ngapmsg length 138
[2021-11-10T14:48:47.119625] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/136/0
[2021-11-10T14:48:47.119681] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140"}
[2021-11-10T14:48:47.130357] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:48:47.130395] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/136/0
[2021-11-10T14:48:47.136963] [plugin] [plugin_server] [info ] --Put!--assoc_id = (136), stream = (0)
{"n2_data":"2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}
[2021-11-10T14:48:47.137112] [plugin] [plugin_server] [info ] amf data = (2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000-- 784byte)
Data: 2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 (784 bytes)
Data (formatted):
20 15 0 2d 0 0 4 0 1 0 9 3 0 4f 41 49 2d 41 4d 46 0 60 0 8 0 0 64 f0 11 80 0 40 0 56 40 1 1e 0 50 0 8 0 64 f0 11 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2021-11-10T14:48:47.137242] [plugin] [sctp ] [debug] [Socket 21, Assoc ID 136] Sending buffer 0x7f8c54003250 of 393 bytes on stream 0 with ppid 60
[2021-11-10T14:48:47.137317] [plugin] [sctp ] [debug] Successfully sent 393 bytes on stream 0
[2021-11-10T14:48:49.765366] [plugin] [sctp ] [info ] ****[Assoc_id 136, Socket 21] Received a msg (length 76) from port 52912, on stream 1, PPID 60 ****
[2021-11-10T14:48:49.765407] [plugin] [plugin_sbi] [debug] Begining at time 1636526929765404
[2021-11-10T14:48:49.765418] [plugin] [plugin_sbi] [debug] index 1
使用http发送到amf
[2021-11-10T14:48:49.765436] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535e9d1005a4001180070400100
[2021-11-10T14:48:49.765455] [plugin] [sctp ] [debug] [Assoc ID 136] Sending buffer 0x7f8c500153e0 of 76 bytes on stream 1,ngapmsg length 152
[2021-11-10T14:48:49.765481] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/136/1
[2021-11-10T14:48:49.765501] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535e9d1005a4001180070400100"}
[2021-11-10T14:48:49.801038] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:48:49.801122] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/136/1
[2021-11-10T14:48:50.295605] [plugin] [plugin_server] [info ] --Put!--assoc_id = (136), stream = (0)
{"n2_data":"0004403f000003000a0003202af80055000200010026002b2a7e005600020000213d41a15e64d8036fdbc595725c0158452010e320e8e5603a9001970aef497fbc5ce4a24e7f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000000000010000000000000000000000000000000000000000568830ce06c232000000000000000000000000000000000036300000640000000000000000000000000000000000000200000000000000313100a14e7f00008c0ac7a14e7f00006063020060600000a063020060600000a063020060600000003287974e7f000000adf9a14e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000c1000030600000000000000000000000000000000000000300000000000000343630004e7f0000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff781317003060000000c000003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff78131700306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba2056000040a40f954e7f0000"}
[2021-11-10T14:48:50.295782] [plugin] [plugin_server] [info ] amf data = (0004403f000003000a0003202af80055000200010026002b2a7e005600020000213d41a15e64d8036fdbc595725c0158452010e320e8e5603a9001970aef497fbc5ce4a24e7f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000000000010000000000000000000000000000000000000000568830ce06c232000000000000000000000000000000000036300000640000000000000000000000000000000000000200000000000000313100a14e7f00008c0ac7a14e7f00006063020060600000a063020060600000a063020060600000003287974e7f000000adf9a14e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000c1000030600000000000000000000000000000000000000300000000000000343630004e7f0000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff781317003060000000c000003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff78131700306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba2056000040a40f954e7f0000-- 1072byte)
Data: 0004403f000003000a0003202af80055000200010026002b2a7e005600020000213d41a15e64d8036fdbc595725c0158452010e320e8e5603a9001970aef497fbc5ce4a24e7f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000000000010000000000000000000000000000000000000000568830ce06c232000000000000000000000000000000000036300000640000000000000000000000000000000000000200000000000000313100a14e7f00008c0ac7a14e7f00006063020060600000a063020060600000a063020060600000003287974e7f000000adf9a14e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000c1000030600000000000000000000000000000000000000300000000000000343630004e7f0000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff781317003060000000c000003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff78131700306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba2056000040a40f954e7f0000 (1072 bytes)
Data (formatted):
0 4 40 3f 0 0 3 0 a 0 3 20 2a f8 0 55 0 2 0 1 0 26 0 2b 2a 7e 0 56 0 2 0 0 21 3d 41 a1 5e 64 d8 3 6f db c5 95 72 5c 1 58 45 20 10 e3 20 e8 e5 60 3a 90 1 97 a ef 49 7f bc 5c e4 a2 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65 6 c7 a1 4e 7f 0 0 0 0 5 0 40 62 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 88 30 ce 6 c2 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 30 0 0 64 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 31 31 0 a1 4e 7f 0 0 8c a c7 a1 4e 7f 0 0 60 63 2 0 60 60 0 0 a0 63 2 0 60 60 0 0 a0 63 2 0 60 60 0 0 0 32 87 97 4e 7f 0 0 0 ad f9 a1 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a0 86 97 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 c1 0 0 30 60 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 34 36 30 0 4e 7f 0 0 fb c c7 a1 4e 7f 0 0 d0 a3 f 95 4e 7f 0 0 2 0 0 0 0 0 0 0 31 31 0 97 ff ff ff ff 78 13 17 0 30 60 0 0 0 c0 0 0 30 60 0 0 0 56 88 30 ce 6 c2 32 20 a4 f 95 4e 7f 0 0 48 b7 5b ba 20 56 0 0 0 0 0 0 ff ff ff ff 78 13 17 0 30 60 0 0 0 37 d2 a1 4e 7f 0 0 0 56 88 30 ce 6 c2 32 50 a4 f 95 4e 7f 0 0 8c d0 5d ba 20 56 0 0 40 a4 f 95 4e 7f 0 0
[2021-11-10T14:48:50.295924] [plugin] [sctp ] [debug] [Socket 21, Assoc ID 136] Sending buffer 0x7f8c54001290 of 537 bytes on stream 0 with ppid 60
[2021-11-10T14:48:50.295989] [plugin] [sctp ] [debug] Successfully sent 537 bytes on stream 0
[2021-11-10T14:48:50.296836] [plugin] [sctp ] [info ] ****[Assoc_id 136, Socket 21] Received a msg (length 69) from port 52912, on stream 1, PPID 60 ****
[2021-11-10T14:48:50.296864] [plugin] [plugin_sbi] [debug] Begining at time 1636526930296861
[2021-11-10T14:48:50.296875] [plugin] [plugin_sbi] [debug] index 2
使用http发送到amf
[2021-11-10T14:48:50.296881] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 002e4041000004000a0003202af800550002000100260016157e00572d104ea216930b677010a7beec94a60d99ff007940135064f011000000010064f011000064e535e9d2
[2021-11-10T14:48:50.296896] [plugin] [sctp ] [debug] [Assoc ID 136] Sending buffer 0x7f8c50016b30 of 69 bytes on stream 1,ngapmsg length 138
[2021-11-10T14:48:50.296918] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/136/1
[2021-11-10T14:48:50.296943] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"002e4041000004000a0003202af800550002000100260016157e00572d104ea216930b677010a7beec94a60d99ff007940135064f011000000010064f011000064e535e9d2"}
[2021-11-10T14:48:50.320124] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:48:50.320150] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/136/1
[2021-11-10T14:49:16.647745] [plugin] [sctp ] [debug] SCTP Shutdown Event received
[2021-11-10T14:49:16.647799] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:49:19.527121] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:49:19.527163] [plugin] [sctp ] [debug] Add new association with id (138)
[2021-11-10T14:49:19.527184] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:49:19.527190] [plugin] [sctp ] [info ] Local addresses:
[2021-11-10T14:49:19.527200] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:49:19.527207] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:49:19.527212] [plugin] [sctp ] [info ] Peer addresses:
[2021-11-10T14:49:19.527218] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:49:19.527224] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:49:19.527498] [plugin] [sctp ] [info ] ****[Assoc_id 138, Socket 22] Received a msg (length 69) from port 50867, on stream 0, PPID 60 ****
[2021-11-10T14:49:19.527525] [plugin] [plugin_sbi] [debug] Begining at time 1636526959527523
[2021-11-10T14:49:19.527537] [plugin] [plugin_sbi] [debug] index 3
使用http发送到amf
[2021-11-10T14:49:19.527548] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140
[2021-11-10T14:49:19.527565] [plugin] [sctp ] [debug] [Assoc ID 138] Sending buffer 0x7f8c50015eb0 of 69 bytes on stream 0,ngapmsg length 138
[2021-11-10T14:49:19.527594] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/138/0
[2021-11-10T14:49:19.527620] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140"}
[2021-11-10T14:49:19.537244] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:49:19.537270] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/138/0
[2021-11-10T14:49:19.539571] [plugin] [plugin_server] [info ] --Put!--assoc_id = (138), stream = (0)
{"n2_data":"2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}
[2021-11-10T14:49:19.539780] [plugin] [plugin_server] [info ] amf data = (2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000-- 784byte)
Data: 2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 (784 bytes)
Data (formatted):
20 15 0 2d 0 0 4 0 1 0 9 3 0 4f 41 49 2d 41 4d 46 0 60 0 8 0 0 64 f0 11 80 0 40 0 56 40 1 1e 0 50 0 8 0 64 f0 11 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2021-11-10T14:49:19.539984] [plugin] [sctp ] [debug] [Socket 22, Assoc ID 138] Sending buffer 0x7f8c48003250 of 393 bytes on stream 0 with ppid 60
[2021-11-10T14:49:19.540057] [plugin] [sctp ] [debug] Successfully sent 393 bytes on stream 0
[2021-11-10T14:49:20.853972] [plugin] [sctp ] [info ] ****[Assoc_id 138, Socket 22] Received a msg (length 76) from port 50867, on stream 1, PPID 60 ****
[2021-11-10T14:49:20.854013] [plugin] [plugin_sbi] [debug] Begining at time 1636526960854011
[2021-11-10T14:49:20.854025] [plugin] [plugin_sbi] [debug] index 4
使用http发送到amf
[2021-11-10T14:49:20.854031] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535e9f0005a4001180070400100
[2021-11-10T14:49:20.854048] [plugin] [sctp ] [debug] [Assoc ID 138] Sending buffer 0x7f8c50009300 of 76 bytes on stream 1,ngapmsg length 152
[2021-11-10T14:49:20.854073] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/138/1
[2021-11-10T14:49:20.854100] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535e9f0005a4001180070400100"}
[2021-11-10T14:49:20.878590] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:49:20.878618] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/138/1
[2021-11-10T14:49:21.386735] [plugin] [plugin_server] [info ] --Put!--assoc_id = (138), stream = (0)
{"n2_data":"0004403f000003000a0003202af90055000200010026002b2a7e00560002000021f68dd077f4dfc475a73284369ca44d0d20108ffa65afb8979001a3e3cf26ae052766954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c23200000000000000000000000000000000003630000064000000000000000000000000000000000000020000000000000031310033007f00008c0ac7a14e7f0000a039040060600000e039040060600000e039040060600000003287974e7f000000a30f954e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000041c00306000000000000000000000000000000000000003000000000000003436300000000000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff284c43003060000000031c003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff284c4300306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba205600000000000000000000"}
[2021-11-10T14:49:21.386903] [plugin] [plugin_server] [info ] amf data = (0004403f000003000a0003202af90055000200010026002b2a7e00560002000021f68dd077f4dfc475a73284369ca44d0d20108ffa65afb8979001a3e3cf26ae052766954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c23200000000000000000000000000000000003630000064000000000000000000000000000000000000020000000000000031310033007f00008c0ac7a14e7f0000a039040060600000e039040060600000e039040060600000003287974e7f000000a30f954e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000041c00306000000000000000000000000000000000000003000000000000003436300000000000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff284c43003060000000031c003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff284c4300306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba205600000000000000000000-- 1072byte)
Data: 0004403f000003000a0003202af90055000200010026002b2a7e00560002000021f68dd077f4dfc475a73284369ca44d0d20108ffa65afb8979001a3e3cf26ae052766954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c23200000000000000000000000000000000003630000064000000000000000000000000000000000000020000000000000031310033007f00008c0ac7a14e7f0000a039040060600000e039040060600000e039040060600000003287974e7f000000a30f954e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000041c00306000000000000000000000000000000000000003000000000000003436300000000000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff284c43003060000000031c003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff284c4300306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba205600000000000000000000 (1072 bytes)
Data (formatted):
0 4 40 3f 0 0 3 0 a 0 3 20 2a f9 0 55 0 2 0 1 0 26 0 2b 2a 7e 0 56 0 2 0 0 21 f6 8d d0 77 f4 df c4 75 a7 32 84 36 9c a4 4d d 20 10 8f fa 65 af b8 97 90 1 a3 e3 cf 26 ae 5 27 66 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65 6 c7 a1 4e 7f 0 0 0 0 5 0 40 62 0 0 1 0 0 0 0 0 0 0 0 a2 f 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 88 30 ce 6 c2 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 30 0 0 64 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 31 31 0 33 0 7f 0 0 8c a c7 a1 4e 7f 0 0 a0 39 4 0 60 60 0 0 e0 39 4 0 60 60 0 0 e0 39 4 0 60 60 0 0 0 32 87 97 4e 7f 0 0 0 a3 f 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a0 86 97 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 1c 0 30 60 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 34 36 30 0 0 0 0 0 fb c c7 a1 4e 7f 0 0 d0 a3 f 95 4e 7f 0 0 2 0 0 0 0 0 0 0 31 31 0 97 ff ff ff ff 28 4c 43 0 30 60 0 0 0 3 1c 0 30 60 0 0 0 56 88 30 ce 6 c2 32 20 a4 f 95 4e 7f 0 0 48 b7 5b ba 20 56 0 0 0 0 0 0 ff ff ff ff 28 4c 43 0 30 60 0 0 0 37 d2 a1 4e 7f 0 0 0 56 88 30 ce 6 c2 32 50 a4 f 95 4e 7f 0 0 8c d0 5d ba 20 56 0 0 0 0 0 0 0 0 0 0
[2021-11-10T14:49:21.387044] [plugin] [sctp ] [debug] [Socket 22, Assoc ID 138] Sending buffer 0x7f8c48001290 of 537 bytes on stream 0 with ppid 60
[2021-11-10T14:49:21.387112] [plugin] [sctp ] [debug] Successfully sent 537 bytes on stream 0
[2021-11-10T14:49:21.388027] [plugin] [sctp ] [info ] ****[Assoc_id 138, Socket 22] Received a msg (length 69) from port 50867, on stream 1, PPID 60 ****
[2021-11-10T14:49:21.388055] [plugin] [plugin_sbi] [debug] Begining at time 1636526961388053
[2021-11-10T14:49:21.388066] [plugin] [plugin_sbi] [debug] index 5
使用http发送到amf
[2021-11-10T14:49:21.388072] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 002e4041000004000a0003202af900550002000100260016157e00572d10990095c16272ccf55b3b2cd8d9fe410e007940135064f011000000010064f011000064e535e9f1
[2021-11-10T14:49:21.388088] [plugin] [sctp ] [debug] [Assoc ID 138] Sending buffer 0x7f8c50009440 of 69 bytes on stream 1,ngapmsg length 138
[2021-11-10T14:49:21.388110] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/138/1
[2021-11-10T14:49:21.388131] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"002e4041000004000a0003202af900550002000100260016157e00572d10990095c16272ccf55b3b2cd8d9fe410e007940135064f011000000010064f011000064e535e9f1"}
[2021-11-10T14:49:21.412575] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:49:21.412620] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/138/1
[2021-11-10T14:49:48.909342] [plugin] [sctp ] [debug] SCTP Shutdown Event received
[2021-11-10T14:49:48.909389] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:49:52.285309] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:49:52.285348] [plugin] [sctp ] [debug] Add new association with id (140)
[2021-11-10T14:49:52.285368] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:49:52.285374] [plugin] [sctp ] [info ] Local addresses:
[2021-11-10T14:49:52.285383] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:49:52.285390] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:49:52.285396] [plugin] [sctp ] [info ] Peer addresses:
[2021-11-10T14:49:52.285402] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:49:52.285407] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:49:52.285591] [plugin] [sctp ] [info ] ****[Assoc_id 140, Socket 23] Received a msg (length 69) from port 41499, on stream 0, PPID 60 ****
[2021-11-10T14:49:52.285605] [plugin] [plugin_sbi] [debug] Begining at time 1636526992285603
[2021-11-10T14:49:52.285616] [plugin] [plugin_sbi] [debug] index 6
使用http发送到amf
[2021-11-10T14:49:52.285622] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140
[2021-11-10T14:49:52.285638] [plugin] [sctp ] [debug] [Assoc ID 140] Sending buffer 0x7f8c50008ee0 of 69 bytes on stream 0,ngapmsg length 138
[2021-11-10T14:49:52.285664] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/140/0
[2021-11-10T14:49:52.285695] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140"}
[2021-11-10T14:49:52.294007] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:49:52.294047] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/140/0
[2021-11-10T14:49:52.298124] [plugin] [plugin_server] [info ] --Put!--assoc_id = (140), stream = (0)
{"n2_data":"2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}
[2021-11-10T14:49:52.298251] [plugin] [plugin_server] [info ] amf data = (2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000-- 784byte)
Data: 2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 (784 bytes)
Data (formatted):
20 15 0 2d 0 0 4 0 1 0 9 3 0 4f 41 49 2d 41 4d 46 0 60 0 8 0 0 64 f0 11 80 0 40 0 56 40 1 1e 0 50 0 8 0 64 f0 11 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2021-11-10T14:49:52.298358] [plugin] [sctp ] [debug] [Socket 23, Assoc ID 140] Sending buffer 0x7f8c540065f0 of 393 bytes on stream 0 with ppid 60
[2021-11-10T14:49:52.298434] [plugin] [sctp ] [debug] Successfully sent 393 bytes on stream 0
[2021-11-10T14:49:53.690597] [plugin] [sctp ] [info ] ****[Assoc_id 140, Socket 23] Received a msg (length 76) from port 41499, on stream 1, PPID 60 ****
[2021-11-10T14:49:53.690639] [plugin] [plugin_sbi] [debug] Begining at time 1636526993690637
[2021-11-10T14:49:53.690651] [plugin] [plugin_sbi] [debug] index 7
使用http发送到amf
[2021-11-10T14:49:53.690658] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535ea11005a4001180070400100
[2021-11-10T14:49:53.690676] [plugin] [sctp ] [debug] [Assoc ID 140] Sending buffer 0x7f8c5000ae30 of 76 bytes on stream 1,ngapmsg length 152
[2021-11-10T14:49:53.690701] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/140/1
[2021-11-10T14:49:53.690727] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535ea11005a4001180070400100"}
[2021-11-10T14:49:53.712808] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:49:53.712834] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/140/1
[2021-11-10T14:49:53.998297] [plugin] [plugin_server] [info ] --Put!--assoc_id = (140), stream = (0)
{"n2_data":"0004403f000003000a0003202afa0055000200010026002b2a7e0056000200002130031e492c3bbf2f57cc1308c3974b302010f7b46810e949900117c58a97a71f49ca954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c23200000000000000000000000000000000003630000064000000000000000000000000000000000000020000000000000031310033007f00008c0ac7a14e7f0000a0cf070060600000e0cf070060600000e0cf070060600000003287974e7f000000a30f954e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000364800306000000000000000000000000000000000000003000000000000003436300000000000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff08856f0030600000003548003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff08856f00306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba205600000000000000000000"}
[2021-11-10T14:49:53.998459] [plugin] [plugin_server] [info ] amf data = (0004403f000003000a0003202afa0055000200010026002b2a7e0056000200002130031e492c3bbf2f57cc1308c3974b302010f7b46810e949900117c58a97a71f49ca954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c23200000000000000000000000000000000003630000064000000000000000000000000000000000000020000000000000031310033007f00008c0ac7a14e7f0000a0cf070060600000e0cf070060600000e0cf070060600000003287974e7f000000a30f954e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000364800306000000000000000000000000000000000000003000000000000003436300000000000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff08856f0030600000003548003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff08856f00306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba205600000000000000000000-- 1072byte)
Data: 0004403f000003000a0003202afa0055000200010026002b2a7e0056000200002130031e492c3bbf2f57cc1308c3974b302010f7b46810e949900117c58a97a71f49ca954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c23200000000000000000000000000000000003630000064000000000000000000000000000000000000020000000000000031310033007f00008c0ac7a14e7f0000a0cf070060600000e0cf070060600000e0cf070060600000003287974e7f000000a30f954e7f00000000000000000000000000000000000000a086974e7f00000000000000000000000000000000000000364800306000000000000000000000000000000000000003000000000000003436300000000000fb0cc7a14e7f0000d0a30f954e7f0000020000000000000031310097ffffffff08856f0030600000003548003060000000568830ce06c23220a40f954e7f000048b75bba2056000000000000ffffffff08856f00306000000037d2a14e7f000000568830ce06c23250a40f954e7f00008cd05dba205600000000000000000000 (1072 bytes)
Data (formatted):
0 4 40 3f 0 0 3 0 a 0 3 20 2a fa 0 55 0 2 0 1 0 26 0 2b 2a 7e 0 56 0 2 0 0 21 30 3 1e 49 2c 3b bf 2f 57 cc 13 8 c3 97 4b 30 20 10 f7 b4 68 10 e9 49 90 1 17 c5 8a 97 a7 1f 49 ca 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65 6 c7 a1 4e 7f 0 0 0 0 5 0 40 62 0 0 1 0 0 0 0 0 0 0 0 a2 f 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 88 30 ce 6 c2 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 30 0 0 64 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 31 31 0 33 0 7f 0 0 8c a c7 a1 4e 7f 0 0 a0 cf 7 0 60 60 0 0 e0 cf 7 0 60 60 0 0 e0 cf 7 0 60 60 0 0 0 32 87 97 4e 7f 0 0 0 a3 f 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a0 86 97 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 48 0 30 60 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 34 36 30 0 0 0 0 0 fb c c7 a1 4e 7f 0 0 d0 a3 f 95 4e 7f 0 0 2 0 0 0 0 0 0 0 31 31 0 97 ff ff ff ff 8 85 6f 0 30 60 0 0 0 35 48 0 30 60 0 0 0 56 88 30 ce 6 c2 32 20 a4 f 95 4e 7f 0 0 48 b7 5b ba 20 56 0 0 0 0 0 0 ff ff ff ff 8 85 6f 0 30 60 0 0 0 37 d2 a1 4e 7f 0 0 0 56 88 30 ce 6 c2 32 50 a4 f 95 4e 7f 0 0 8c d0 5d ba 20 56 0 0 0 0 0 0 0 0 0 0
[2021-11-10T14:49:53.998598] [plugin] [sctp ] [debug] [Socket 23, Assoc ID 140] Sending buffer 0x7f8c54003830 of 537 bytes on stream 0 with ppid 60
[2021-11-10T14:49:53.998662] [plugin] [sctp ] [debug] Successfully sent 537 bytes on stream 0
[2021-11-10T14:49:53.999499] [plugin] [sctp ] [info ] ****[Assoc_id 140, Socket 23] Received a msg (length 69) from port 41499, on stream 1, PPID 60 ****
[2021-11-10T14:49:53.999529] [plugin] [plugin_sbi] [debug] Begining at time 1636526993999527
[2021-11-10T14:49:53.999540] [plugin] [plugin_sbi] [debug] index 8
使用http发送到amf
[2021-11-10T14:49:53.999545] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 002e4041000004000a0003202afa00550002000100260016157e00572d10a8c678ca78da859b51502549343977a1007940135064f011000000010064f011000064e535ea11
[2021-11-10T14:49:53.999565] [plugin] [sctp ] [debug] [Assoc ID 140] Sending buffer 0x7f8c50008fb0 of 69 bytes on stream 1,ngapmsg length 138
[2021-11-10T14:49:53.999587] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/140/1
[2021-11-10T14:49:53.999612] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"002e4041000004000a0003202afa00550002000100260016157e00572d10a8c678ca78da859b51502549343977a1007940135064f011000000010064f011000064e535ea11"}
[2021-11-10T14:49:54.022369] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:49:54.022413] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/140/1
[2021-11-10T14:50:57.842906] [plugin] [sctp ] [debug] SCTP Shutdown Event received
[2021-11-10T14:50:57.842957] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:50:59.000318] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:50:59.000356] [plugin] [sctp ] [debug] Add new association with id (142)
[2021-11-10T14:50:59.000373] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:50:59.000380] [plugin] [sctp ] [info ] Local addresses:
[2021-11-10T14:50:59.000388] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:50:59.000395] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:50:59.000401] [plugin] [sctp ] [info ] Peer addresses:
[2021-11-10T14:50:59.000407] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:50:59.000412] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:50:59.000733] [plugin] [sctp ] [info ] ****[Assoc_id 142, Socket 24] Received a msg (length 69) from port 37746, on stream 0, PPID 60 ****
[2021-11-10T14:50:59.000748] [plugin] [plugin_sbi] [debug] Begining at time 1636527059000746
[2021-11-10T14:50:59.000759] [plugin] [plugin_sbi] [debug] index 9
使用http发送到amf
[2021-11-10T14:50:59.000765] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140
[2021-11-10T14:50:59.000781] [plugin] [sctp ] [debug] [Assoc ID 142] Sending buffer 0x7f8c500150a0 of 69 bytes on stream 0,ngapmsg length 138
[2021-11-10T14:50:59.000810] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/142/0
[2021-11-10T14:50:59.000836] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140"}
[2021-11-10T14:50:59.008052] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:50:59.008099] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/142/0
[2021-11-10T14:50:59.011286] [plugin] [plugin_server] [info ] --Put!--assoc_id = (142), stream = (0)
{"n2_data":"2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}
[2021-11-10T14:50:59.011407] [plugin] [plugin_server] [info ] amf data = (2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000-- 784byte)
Data: 2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 (784 bytes)
Data (formatted):
20 15 0 2d 0 0 4 0 1 0 9 3 0 4f 41 49 2d 41 4d 46 0 60 0 8 0 0 64 f0 11 80 0 40 0 56 40 1 1e 0 50 0 8 0 64 f0 11 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2021-11-10T14:50:59.011512] [plugin] [sctp ] [debug] [Socket 24, Assoc ID 142] Sending buffer 0x7f8c480065f0 of 393 bytes on stream 0 with ppid 60
[2021-11-10T14:50:59.011573] [plugin] [sctp ] [debug] Successfully sent 393 bytes on stream 0
[2021-11-10T14:51:00.580362] [plugin] [sctp ] [info ] ****[Assoc_id 142, Socket 24] Received a msg (length 76) from port 37746, on stream 1, PPID 60 ****
[2021-11-10T14:51:00.580403] [plugin] [plugin_sbi] [debug] Begining at time 1636527060580401
[2021-11-10T14:51:00.580415] [plugin] [plugin_sbi] [debug] index 10
使用http发送到amf
[2021-11-10T14:51:00.580421] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535ea54005a4001180070400100
[2021-11-10T14:51:00.580439] [plugin] [sctp ] [debug] [Assoc ID 142] Sending buffer 0x7f8c5000b2f0 of 76 bytes on stream 1,ngapmsg length 152
[2021-11-10T14:51:00.580465] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/142/1
[2021-11-10T14:51:00.580491] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535ea54005a4001180070400100"}
[2021-11-10T14:51:00.603085] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:51:00.603122] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/142/1
[2021-11-10T14:51:01.059677] [plugin] [plugin_server] [info ] --Put!--assoc_id = (142), stream = (0)
{"n2_data":"00044019000003000a0003202afb00550002000100260005047e00440300000000000000000000002f57cc1308c3974b302010f7b46810e949900117c58a97a700a20f954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c2320000000000000000"}
[2021-11-10T14:51:01.059859] [plugin] [plugin_server] [info ] amf data = (00044019000003000a0003202afb00550002000100260005047e00440300000000000000000000002f57cc1308c3974b302010f7b46810e949900117c58a97a700a20f954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c2320000000000000000-- 464byte)
Data: 00044019000003000a0003202afb00550002000100260005047e00440300000000000000000000002f57cc1308c3974b302010f7b46810e949900117c58a97a700a20f954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c2320000000000000000 (464 bytes)
Data (formatted):
0 4 40 19 0 0 3 0 a 0 3 20 2a fb 0 55 0 2 0 1 0 26 0 5 4 7e 0 44 3 0 0 0 0 0 0 0 0 0 0 0 2f 57 cc 13 8 c3 97 4b 30 20 10 f7 b4 68 10 e9 49 90 1 17 c5 8a 97 a7 0 a2 f 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65 6 c7 a1 4e 7f 0 0 0 0 5 0 40 62 0 0 1 0 0 0 0 0 0 0 0 a2 f 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 88 30 ce 6 c2 32 0 0 0 0 0 0 0 0
[2021-11-10T14:51:01.059971] [plugin] [sctp ] [debug] [Socket 24, Assoc ID 142] Sending buffer 0x7f8c48000f70 of 233 bytes on stream 0 with ppid 60
[2021-11-10T14:51:01.060057] [plugin] [sctp ] [debug] Successfully sent 233 bytes on stream 0
[2021-11-10T14:51:03.548591] [plugin] [sctp ] [debug] SCTP Shutdown Event received
[2021-11-10T14:51:03.548640] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:51:06.116737] [plugin] [sctp ] [debug] SCTP Association Change event received
[2021-11-10T14:51:06.116774] [plugin] [sctp ] [debug] Add new association with id (144)
[2021-11-10T14:51:06.116903] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:51:06.116920] [plugin] [sctp ] [info ] Local addresses:
[2021-11-10T14:51:06.116929] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:51:06.116985] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:51:06.117047] [plugin] [sctp ] [info ] Peer addresses:
[2021-11-10T14:51:06.117096] [plugin] [sctp ] [info ] - Addr: ::ffff:10.103.238.210
[2021-11-10T14:51:06.117140] [plugin] [sctp ] [info ] ----------------------
[2021-11-10T14:51:06.117198] [plugin] [sctp ] [info ] ****[Assoc_id 144, Socket 25] Received a msg (length 69) from port 45909, on stream 0, PPID 60 ****
[2021-11-10T14:51:06.117218] [plugin] [plugin_sbi] [debug] Begining at time 1636527066117216
[2021-11-10T14:51:06.117264] [plugin] [plugin_sbi] [debug] index 11
使用http发送到amf
[2021-11-10T14:51:06.117279] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140
[2021-11-10T14:51:06.117333] [plugin] [sctp ] [debug] [Assoc ID 144] Sending buffer 0x7f8c5000ab40 of 69 bytes on stream 0,ngapmsg length 138
[2021-11-10T14:51:06.117402] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/144/0
[2021-11-10T14:51:06.117467] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"00150041000004001b00090064f0115000000001005240170a00554552414e53494d2d676e622d3436302d31312d310066000d00000000640064f011000000080015400140"}
[2021-11-10T14:51:06.124938] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:51:06.124963] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/144/0
[2021-11-10T14:51:06.127908] [plugin] [plugin_server] [info ] --Put!--assoc_id = (144), stream = (0)
{"n2_data":"2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}
[2021-11-10T14:51:06.128066] [plugin] [plugin_server] [info ] amf data = (2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000-- 784byte)
Data: 2015002d0000040001000903004f41492d414d4600600008000064f011800040005640011e005000080064f0110000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 (784 bytes)
Data (formatted):
20 15 0 2d 0 0 4 0 1 0 9 3 0 4f 41 49 2d 41 4d 46 0 60 0 8 0 0 64 f0 11 80 0 40 0 56 40 1 1e 0 50 0 8 0 64 f0 11 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[2021-11-10T14:51:06.128202] [plugin] [sctp ] [debug] [Socket 25, Assoc ID 144] Sending buffer 0x7f8c54005cc0 of 393 bytes on stream 0 with ppid 60
[2021-11-10T14:51:06.128295] [plugin] [sctp ] [debug] Successfully sent 393 bytes on stream 0
[2021-11-10T14:51:07.320067] [plugin] [sctp ] [info ] ****[Assoc_id 144, Socket 25] Received a msg (length 76) from port 45909, on stream 1, PPID 60 ****
[2021-11-10T14:51:07.320109] [plugin] [plugin_sbi] [debug] Begining at time 1636527067320107
[2021-11-10T14:51:07.320121] [plugin] [plugin_sbi] [debug] index 12
使用http发送到amf
[2021-11-10T14:51:07.320127] [plugin] [plugin_sbi] [debug] receive n2 from gnb then Send N2 message to AMF
n1sm buffer: 000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535ea5b005a4001180070400100
[2021-11-10T14:51:07.320145] [plugin] [sctp ] [debug] [Assoc ID 144] Sending buffer 0x7f8c5000b1a0 of 76 bytes on stream 1,ngapmsg length 152
[2021-11-10T14:51:07.320173] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , AMF URL http://10.244.2.2:8282/namf-comm/v1/plugin_n2/144/1
[2021-11-10T14:51:07.320200] [plugin] [plugin_sbi] [debug] Send N2 message to AMF , msg body:
{"n2_data":"000f40480000050055000200010026001a197e004179000d0164f0110000000011325476982e04f0f0f0f0007900135064f011000000010064f011000064e535ea5b005a4001180070400100"}
[2021-11-10T14:51:07.342623] [plugin] [plugin_sbi] [debug] Send NGAP message to AMF, response from AMF, HTTP Code: 200
[2021-11-10T14:51:07.342654] [plugin] [plugin_sbi] [info ] sending successful when calling http://10.244.2.2:8282/namf-comm/v1/plugin_n2/144/1
[2021-11-10T14:51:07.597759] [plugin] [plugin_server] [info ] --Put!--assoc_id = (144), stream = (0)
{"n2_data":"00044019000003000a0003202afc00550002000100260005047e00440300000000000000000000002f57cc1308c3974b302010f7b46810e949900117c58a97a700a20f954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c2320000000000000000"}
[2021-11-10T14:51:07.597883] [plugin] [plugin_server] [info ] amf data = (00044019000003000a0003202afc00550002000100260005047e00440300000000000000000000002f57cc1308c3974b302010f7b46810e949900117c58a97a700a20f954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c2320000000000000000-- 464byte)
Data: 00044019000003000a0003202afc00550002000100260005047e00440300000000000000000000002f57cc1308c3974b302010f7b46810e949900117c58a97a700a20f954e7f00000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006506c7a14e7f00000000050040620000010000000000000000a20f954e7f00000000000000000000000000000000000000568830ce06c2320000000000000000 (464 bytes)
Data (formatted):
0 4 40 19 0 0 3 0 a 0 3 20 2a fc 0 55 0 2 0 1 0 26 0 5 4 7e 0 44 3 0 0 0 0 0 0 0 0 0 0 0 2f 57 cc 13 8 c3 97 4b 30 20 10 f7 b4 68 10 e9 49 90 1 17 c5 8a 97 a7 0 a2 f 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65 6 c7 a1 4e 7f 0 0 0 0 5 0 40 62 0 0 1 0 0 0 0 0 0 0 0 a2 f 95 4e 7f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 88 30 ce 6 c2 32 0 0 0 0 0 0 0 0
[2021-11-10T14:51:07.597959] [plugin] [sctp ] [debug] [Socket 25, Assoc ID 144] Sending buffer 0x7f8c54000f70 of 233 bytes on stream 0 with ppid 60
[2021-11-10T14:51:07.598020] [plugin] [sctp ] [debug] Successfully sent 233 bytes on stream 0
......@@ -23,7 +23,7 @@
using namespace config;
std::map<std::string,long> ip2len;
std::map<std::string,bool> all_rp;
extern std::vector<std::string> amf_ip_list;
long msg_len[4]={0};
long pro_cap[4] = {0};
bool isall[4] = {0};
......@@ -55,6 +55,7 @@ void PluginApi::setupRoutes() {
using namespace Pistache::Rest;
Routes::Get(*router, base + "/modify/AMFIP/:AmfIp/:AmfPort", Routes::bind(&PluginApi::modify_AmfIP_handler, this));
Routes::Post(*router, base + "/create/AmfIpList", Routes::bind(&PluginApi::create_AmfIpList_handler, this));
// Routes::Delete(*router, base + "/:realmId/:storageId/records/:recordId", Routes::bind(&PluginApi::delete_record_handler, this));
// Routes::Get(*router, base + "/:realmId/:storageId/records/:recordId/meta", Routes::bind(&PluginApi::get_meta_handler, this));
// Routes::Get(*router, base + "/:realmId/:storageId/records/:recordId", Routes::bind(&PluginApi::get_record_handler, this));
......@@ -242,7 +243,7 @@ void PluginApi::N2_trans_handler(const Pistache::Rest::Request &request, Pistach
auto assoc_id = request.param(":assoid").as<std::uint32_t>();
auto stream = request.param(":stream").as<std::uint16_t>();
Logger::plugin_server().info("--Put!--assoc_id = (%d), stream = (%d)",assoc_id,stream);
Logger::plugin_server().info("-n2trans-handler-Put!--assoc_id = (%d), stream = (%d)",assoc_id,stream);
// SubscriptionData subscriptionData;
......@@ -285,6 +286,33 @@ void PluginApi::modify_AmfIP_handler(const Pistache::Rest::Request &request, Pis
return;
}
}
void PluginApi::create_AmfIpList_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response) {
Logger::plugin_server().debug("%s",request.body().c_str());
TransData transdata;
try {
// response.send(Pistache::Http::Code::Ok, "Ok");
amf_ip_list.clear();
nlohmann::json::parse(request.body()).get_to(transdata);
// std::set<nlohmann::json>::iterator iterator;
// for(iterator = request.body().begin();iterator!=request.body().end();)
this->create_AmfIpList(transdata,response);
} catch (nlohmann::detail::exception &e) {
//send a 400 error
response.send(Pistache::Http::Code::Bad_Request, e.what());
return;
} catch (Pistache::Http::HttpError &e) {
response.send(static_cast<Pistache::Http::Code>(e.code()), e.what());
return;
} catch (std::exception &e) {
//send a 500 error
response.send(Pistache::Http::Code::Internal_Server_Error, e.what());
return;
}
}
}
}
}
......
......@@ -57,10 +57,14 @@ private:
// void update_meta_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response);
// void record_crud_api_default_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response);
void modify_AmfIP_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response);
void create_AmfIpList_handler(const Pistache::Rest::Request &request, Pistache::Http::ResponseWriter response);
std::shared_ptr<Pistache::Rest::Router> router;
virtual void n2_trans_to_gnb(const std::uint32_t &assoc_id, const uint16_t &stream, TransData &transdata, Pistache::Http::ResponseWriter &response) = 0;
virtual void modify_AmfIP(const std::string &amfip, const unsigned int &amfport, Pistache::Http::ResponseWriter &response) = 0;
virtual void create_AmfIpList(TransData &transdata, Pistache::Http::ResponseWriter &response) = 0;
};
......
......@@ -56,6 +56,13 @@ void PluginApiImpl::modify_AmfIP(const std::string &amfip, const unsigned int &a
Logger::plugin_server().info("new amf_ip = (%s), amf_port = (%d)",amf_ip.c_str(),amf_port);
response.send(Pistache::Http::Code::Ok);
}
void PluginApiImpl::create_AmfIpList(TransData &transdata, Pistache::Http::ResponseWriter &response)
{
response.send(Pistache::Http::Code::Ok);
}
}
}
}
......
......@@ -58,6 +58,7 @@ public:
void n2_trans_to_gnb(const std::uint32_t &assoc_id, const uint16_t &stream, TransData &transdata,Pistache::Http::ResponseWriter &response);
void modify_AmfIP(const std::string &amfip, const unsigned int &amfport, Pistache::Http::ResponseWriter &response);
void create_AmfIpList(TransData &transdata, Pistache::Http::ResponseWriter &response);
// void get_meta(const std::string &realmId, const std::string &storageId, const std::string &recordId, const Pistache::Optional<Pistache::Http::Header::Raw> &ifNoneMatch, const Pistache::Optional<Pistache::Http::Header::Raw> &ifModifiedSince, const Pistache::Optional<std::string> &supportedFeatures, Pistache::Http::ResponseWriter &response);
// void get_record(const std::string &realmId, const std::string &storageId, const std::string &recordId, const Pistache::Optional<Pistache::Http::Header::Raw> &ifNoneMatch, const Pistache::Optional<Pistache::Http::Header::Raw> &ifModifiedSince, const Pistache::Optional<std::string> &supportedFeatures, Pistache::Http::ResponseWriter &response);
// void search_record(const std::string &realmId, const std::string &storageId, const Pistache::Optional<int32_t> &limitRange, const Pistache::Optional<SearchExpression> &filter, const Pistache::Optional<bool> &countIndicator, const Pistache::Optional<std::string> &supportedFeatures, Pistache::Http::ResponseWriter &response);
......
......@@ -13,6 +13,9 @@
#include "TransData.hpp"
#include <iostream>
extern std::vector<std::string> amf_ip_list;
namespace org {
namespace openapitools {
namespace server {
......@@ -37,6 +40,17 @@ void to_json(nlohmann::json& j, const TransData& o) {
void from_json(const nlohmann::json& j, TransData& o) {
if(j.find("n2_data") != j.end())
j.at("n2_data").get_to(o.m_transdata);
else{
// add amf ip
std::string ipitem;
int i=0;
for (auto& el : j.items()) {
el.value().at("ip").get_to(ipitem);
amf_ip_list.push_back(ipitem);
std::cout << amf_ip_list[i]<<std::endl;
i++;
}
}
if(j.find("ip_address") != j.end())
j.at("ip_address").get_to(o.ip_addr);
if(j.find("current_message_queue_len") != j.end())
......@@ -45,6 +59,9 @@ void from_json(const nlohmann::json& j, TransData& o) {
j.at("capability").get_to(o.cap);
std::cout << "capability_dukl"<<std::endl;
}
}
......
......@@ -27,11 +27,14 @@
#include <nlohmann/json.hpp>
#include <iostream>
extern std::vector<std::string> amf_ip_list;
namespace org {
namespace openapitools {
namespace server {
namespace model {
class TransData {
public:
TransData();
......@@ -45,6 +48,7 @@ class TransData {
std::string ip_addr;
long mq_len;
double cap;
};
} // namespace model
......
......@@ -16,6 +16,7 @@ using namespace amf_application;
plugin_config plugin_cfg;
plugin_app plugin_app_inst;
sctp_server * sctp_s_38412 = nullptr;
std::vector<std::string> amf_ip_list;
std::string amf_ip;
unsigned int amf_port;
......
......@@ -11,6 +11,7 @@ using namespace sctp;
using namespace config;
extern sctp_server* sctp_s_38412;
extern plugin_config plugin_cfg;
extern std::vector<std::string> amf_ip_list;
extern std::string amf_ip;
......@@ -18,7 +19,7 @@ extern unsigned int amf_port;
extern std::map<std::string,long> ip2len;
ofstream timestamp_plugin("/home/xgcore/plugin_timestamp.txt");
string amf_ip_list[15] = {"10.103.239.116","10.103.239.114","10.103.239.112","10.103.238.75","10.103.239.112","10.103.238.72","10.103.239.53","10.103.239.61","10.103.239.63","10.103.238.105","10.103.238.104","10.103.238.103","10.103.238.98","10.103.238.97","10.103.238.96"};
// string amf_ip_list[15] = {"10.103.239.116","10.103.239.114","10.103.239.112","10.103.238.75","10.103.239.112","10.103.238.72","10.103.239.53","10.103.239.61","10.103.239.63","10.103.238.105","10.103.238.104","10.103.238.103","10.103.238.98","10.103.238.97","10.103.238.96"};
int amf_ports[15] = {8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282};
int weight[15] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
namespace amf_application{
......@@ -41,9 +42,7 @@ static std::size_t callback(
out->append(in, totalBytes);
return totalBytes;
}
//string amf_ip_list[15] = {"10.103.239.56","10.103.239.116","10.103.239.114","10.103.239.113","10.103.239.112","10.103.238.72","10.103.239.53","10.103.239.61","10.103.239.63","10.103.238.105","10.103.238.104","10.103.238.103","10.103.238.98","10.103.238.97","10.103.238.96"};
//int amf_ports[15] = {8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282,8282};
//int weight[15] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
int index = -1;
int random_index = 0;
int choose = 0;
......@@ -70,50 +69,50 @@ void plugin_app::handle_receive(
json_data["n2_data"] = ngapmsg;
std::string url;
if(plugin_cfg.is_wrr || plugin_cfg.is_omf){
Logger::plugin_sbi().debug("Algorithm WRR or OMF");
Logger::plugin_sbi().debug("current weight weight[0]=%d, weight[0]=%d, weight[0]=%d, weight[0]=%d", weight[0],weight[1],weight[2],weight[3]);
int sum = 0;
int index_num = 0;
for(int i=0; i < num_inst; i++)
index_num += weight[i];
for(int i=0; i <= choose; i++)
sum += weight[i];
if((index + 1) > sum)
choose = (choose + 1) % num_inst;
if((index + 1) > index_num)
index = 0;
Logger::sctp().debug("Choosing %d th AMF instance ", choose+1);
// if(plugin_cfg.is_wrr || plugin_cfg.is_omf){
// Logger::plugin_sbi().debug("Algorithm WRR or OMF");
// Logger::plugin_sbi().debug("current weight weight[0]=%d, weight[0]=%d, weight[0]=%d, weight[0]=%d", weight[0],weight[1],weight[2],weight[3]);
// int sum = 0;
// int index_num = 0;
// for(int i=0; i < num_inst; i++)
// index_num += weight[i];
// for(int i=0; i <= choose; i++)
// sum += weight[i];
// if((index + 1) > sum)
// choose = (choose + 1) % num_inst;
// if((index + 1) > index_num)
// index = 0;
// Logger::sctp().debug("Choosing %d th AMF instance ", choose+1);
// url =
// "http://" + std::string(amf_ip_list[choose].c_str()) +
// ":" + std::to_string(amf_ports[choose]) + "/namf-comm/v1/plugin_n2/" +
// to_string (assoc_id ) + "/" + to_string (stream) ;
// }
// #if 0
// srand(time(NULL));
// random_index = rand()%4;
// Logger::sctp().debug("Choosing %d th AMF instance ", random_index+1);
// std::string url =
// "http://" + std::string(amf_ip_list[random_index].c_str()) +
// ":" + std::to_string(amf_ports[random_index]) + "/namf-comm/v1/plugin_n2/" +
// to_string (assoc_id ) + "/" + to_string (stream) ;
// #endif
// if(plugin_cfg.is_rr){
// Logger::plugin_sbi().debug("Algorithm RR ");
url =
"http://" + std::string(amf_ip_list[choose].c_str()) +
":" + std::to_string(amf_ports[choose]) + "/namf-comm/v1/plugin_n2/" +
"http://" + std::string(amf_ip_list[index % amf_ip_list.size()].c_str()) +
":" + std::to_string(8282) + "/namf-comm/v1/plugin_n2/" +
to_string (assoc_id ) + "/" + to_string (stream) ;
}
// }
// #if 0
// url =
// "http://" + std::string(amf_ip_list[0].c_str()) +
// ":" + std::to_string(amf_ports[0]) + "/namf-comm/v1/plugin_n2/" +
// to_string (assoc_id ) + "/" + to_string (stream) ;
// #endif
#if 0
srand(time(NULL));
random_index = rand()%4;
Logger::sctp().debug("Choosing %d th AMF instance ", random_index+1);
std::string url =
"http://" + std::string(amf_ip_list[random_index].c_str()) +
":" + std::to_string(amf_ports[random_index]) + "/namf-comm/v1/plugin_n2/" +
to_string (assoc_id ) + "/" + to_string (stream) ;
#endif
if(plugin_cfg.is_rr){
Logger::plugin_sbi().debug("Algorithm RR ");
url =
"http://" + std::string(amf_ip_list[index % 4].c_str()) +
":" + std::to_string(amf_ports[index % 4]) + "/namf-comm/v1/plugin_n2/" +
to_string (assoc_id ) + "/" + to_string (stream) ;
}
#if 0
url =
"http://" + std::string(amf_ip_list[0].c_str()) +
":" + std::to_string(amf_ports[0]) + "/namf-comm/v1/plugin_n2/" +
to_string (assoc_id ) + "/" + to_string (stream) ;
#endif
#if 1
url =
"http://" + std::string(amf_ip.c_str()) +
":" + std::to_string(amf_port) + "/namf-comm/v1/plugin_n2/" +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment