Comments (1)
Hi @Jiangwlee,
Thank you for reporting the problem.
According to the implementation of the latest AMF (commit: aebc9fc), it does have error handling for invalid NGAP messages.
I used the test script you provided with slight modifications to get the result, you can check the screenshot:
Here is the modified script:
import sys, sctp, socket
if len(sys.argv) != 2:
print("Usage: free5gc.py server-address")
exit(0)
sk = sctp.sctpsocket_tcp(socket.AF_INET)
sk.connect((sys.argv[1], 38412))
sk.sctp_send(b"Hello!", ppid=socket.htonl(60))
input("Press ENTER to leave")
sk.close()
As for the crash result is because you closed the SCTP connection too quickly.
from free5gc.
Related Issues (20)
- About 2020-03-31-01 in upf directory HOT 2
- [Bugs] AMF crashed with malformed NAS packets from UE HOT 2
- [Bugs] In kernel 6.2, testing gtp5g with scripts for go-gtp5gnl, the ping fails after the script ends.
- [Docs] Fix minor typos
- [Docs] Update nodejs, GTP-U module and requirements versions
- [Feat] Improve/Correct the webconsole build behavior and update docs accordingly
- [Feat] 您好,想咨询一下AF和NEF功能大约什么时候发布? HOT 2
- VM of N3IWUE has slow upload in speedtest HOT 1
- Is multicast feature supported on V3.3.0 ? HOT 1
- [Docs] How to add subscriber via REST-API HOT 2
- free5gc SCTP could not connect HOT 11
- INSUFFICIENT_RESOURCES_FOR_SPECIFIC_SLICE_AND_DNN HOT 10
- [Feat]How can I set a static IP address for a UE? HOT 3
- [Bugs] N3IWUE fails to stablish network connection with N3IWF in v3.4.0 HOT 11
- Test free5GC HOT 6
- Duplicate Definition of t3555 Timer in amfcfg.yaml HOT 1
- [Feat]Options for Creating an sslkey.log HOT 1
- [Bug] UPF not working in Kubernetes Cluster HOT 5
- Profile B not implemented HOT 1
- [Bugs] Wrong Interface Type in PFCP Session Establishment Request for IP Based PDU Session HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from free5gc.