fasferraz / eNB

eNB s1 Emulator - S1AP and S1-U interfaces.
GNU General Public License v3.0
59 stars 32 forks source link

Update eNB_LOCAL.py #7

Closed avmalavi closed 1 year ago

avmalavi commented 1 year ago

if user session is not up teid is not present and gtp daemon is getting stop so handling exception to handle it. it will fix data browsing issue in uplink.

fasferraz commented 1 year ago

Better to add the if active == true also inside the try clause no?

avmalavi commented 1 year ago

Yes its good idea to add active == true i have checked in code we are not setting this variable true anywhere so it will never enter in this condition teid >> this variable is only set when packets are coming on GTP in downlink so it we want to send uplink packet first it will never be able to find teid so packets will be fail to send if we set active == true

fasferraz commented 1 year ago

the active variable is controlled through the pipe, with option 50/51 in the menu AFAIR. So you can activate a session, but restrict the traffic flow