Commit Graph

6 Commits

Author SHA1 Message Date
Oliver Smith 0108033823 bsc_nat_fsm: drop called addr verify
This is already done by the SCCP stack, as Harald explained it:
"Think of a TCP socket where you have already bound a socket and then
 still do recvmsg to check if the destination address is what you expect."

Related: SYS#5560
Change-Id: Id9bfbf38a61ef66a4246f752ef487d8a09fea173
2022-02-18 18:25:05 +01:00
Oliver Smith 445dc2483e bsc_nat_fsm: sccp_sap_up: err if not implemented
Make it more obvious if a message is ignored, because it is not
implemented.

Related: SYS#5560
Change-Id: Ibc71e6aaed4fd51d090ab31fc3e49f3a82111506
2022-02-18 13:27:26 +01:00
Oliver Smith b80f2c33c8 bsc_nat_fsm: fix SSN of OsmoBSCNAT-CN
Related: SYS#5560
Change-Id: Ic0e64e002bccf1115cc53566bdab9d84dc680b03
2022-02-18 13:27:11 +01:00
Oliver Smith ba1f0d0691 bsc_nat_fsm: initial msc <> bsc msg forwarding
Add an initial implementation of sccp_sap_up, that assumes one BSC and
one MSC, and successfully forwards RESET and RESET ACK between both.

Related: SYS#5560
Depends: libosmo-sccp I0f38b0d038b0dd8cd355e7284e5b56d438811bd9
Change-Id: I4af398bb433341a98f818822e6c3af28b6d9dacd
2022-02-01 12:07:52 +01:00
Oliver Smith eefcdf8ed3 bsc_nat_fsm: fix SSN of OsmoBSCNAT-RAN
Related: SYS#5560
Change-Id: I0491ba90d28eea6f10d8d6f98a00d3dd6c698476
2022-01-31 18:51:22 +01:00
Oliver Smith 8f7b750b22 Add bsc_nat fsm
Create the initial FSM that starts and stops two SS7 instances (one for
CN, one for RAN), and binds an sccp user to each.

Related: SYS#5560
Depends: libosmocore I81c64a7ae440304522c2179c212023a566ddced8
Change-Id: I7d52fa649c397582b18a1a7dcc40bb407f3b2c97
2022-01-31 18:50:59 +01:00