aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_filter.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-03Use new include paths of libosmo-sccp 0.0.2Harald Welte1-1/+1
2010-07-31nat: Fix compilation with nat not being enabled.Holger Hans Peter Freyther1-0/+1
common_vty.c was including bsc_nat.h which tried to get the sccp/sccp_types.h which is not required to be installed. Move all structs using/embedding SCCP structures into the bsc_nat_sccp.h and include. This should fix the compilation.
2010-06-15nat: Do not use the bssap.h include as it does not exist in this branch.Holger Hans Peter Freyther1-1/+1
2010-06-15nat: Allow to send MGCP messages from the BSC to the networkHolger Hans Peter Freyther1-0/+3
2010-06-15filter: Move logging level down to INFOHolger Hans Peter Freyther1-3/+3
2010-06-15nat: Compare the IPA size with the actual size of the data...Holger Hans Peter Freyther1-0/+7
One sanity check that was needed in my test case..
2010-06-15Correct the company name. It should be On-Waves (ehf)Holger Hans Peter Freyther1-1/+1
2010-06-15nat: Redo a merge with master that happend at this time.Holger Hans Peter Freyther1-1/+2
2010-06-15[nat] Specify the direction of the messageHolger Hans Peter Freyther1-7/+22
Do not run into the situation where we need to filter in one direction but it should not be filtered..
2010-06-15[nat] Prepare more sophisicated filtering and patchingHolger Hans Peter Freyther1-3/+159
Introduce a bsc_nat_parse method to parse a IP Access method into various parts. Write out the IPA Proto, in case SCCP is used, store the msg type, pointers to the source/dest local reference and other information. Use the result of bsc_nat_parse inside the bsc_nat_filter method to decide if the message should be dropped or not. In the future the bsc_nat_parse result will be used for patching SCCP references and other parts of the message. The filter language should be able to filter the msg type of SCCP messages and gain the "NOT" word in the filter language.
2010-06-15[nat] Add a bsc_filter.c which will carry out the analysis and filteringHolger Hans Peter Freyther1-0/+34
The first part is to analyze the IP Access Header and only forward SCCP messages for now. In the future we might want to do MGCP signalling through this protocol and connection as well and need to update this then.