The attached message was received as a bounce, but either the bounce
format was not recognized, or no member addresses could be extracted
from it. This mailing list has been configured to send all
unrecognized bounce messages to the list administrator(s).
For more information see:
https://lists.osmocom.org/mailman/admin/openbsc/bounce
From: Pablo Neira Ayuso <pablo(a)netfilter.org>
Hi,
The following patchset contain updates for libosmo-abis:
* fix for leak of e1inp_line reported by Holger.
* more robust handling of error codes in several parts of the ipaccess driver.
* minor cleanups for LAPD and dahdi, fix some compilations warnings.
* generic LAPD PCAP interface to create PCAP files containing the LAPD frames,
so far it was only possible to store the OML/RSL traces, without the LAPD
frames.
* fix crash of IPA BTS example test
If you're OK with those, let me know. I can push them myself if you want or
you can manually apply them.
Pablo Neira Ayuso (11):
ipa: fix missing set of write_cb for IPA client connection
ipaccess: fix leak of e1inp_line
tests: e1inp_ipa_bsc_test: fix crash
ipaccess: more robust error handle in receival path
ipaccess: more robust error handling in the accept patch
ipaccess: more robust error handling in the send path
tests: e1inp_ipa_bts_test: fix compilation warnings
lapd: use C99 structure initialization for profile templates
input: dahdi: use logging facilities instead of fprintf and stderr
input: dahdi: replace exit by return
input: add generic PCAP interface for LAPD
include/Makefile.am | 2 +-
include/osmocom/abis/lapd.h | 1 +
include/osmocom/abis/lapd_pcap.h | 11 +++
src/Makefile.am | 1 +
src/input/dahdi.c | 54 ++++++++-----
src/input/ipa.c | 13 +++-
src/input/ipaccess.c | 107 ++++++++++++++++++++-----
src/input/lapd.c | 66 +++++++++-------
src/input/lapd_pcap.c | 160 ++++++++++++++++++++++++++++++++++++++
tests/e1inp_ipa_bsc_test.c | 8 +-
tests/e1inp_ipa_bts_test.c | 7 +-
11 files changed, 353 insertions(+), 77 deletions(-)
create mode 100644 include/osmocom/abis/lapd_pcap.h
create mode 100644 src/input/lapd_pcap.c
--
1.7.10.4
Hi list!
When I run ggsn, terminal shows:
*fg: 1*
*debug: 1*
*qos: 0x0b921f*
*apn: internet*
*net: 192.168.0.0/24*
*dynip: 192.168.254.0/24*
*pidfile: /var/run/ggsn.pid*
*statedir: /var/lib/ggsn/*
*timelimit: 0*
*gtpclient: Initialising GTP tunnel*
*openggsn[7002]: GTP: gtp_newgsn() started*
*openggsn[7002]: gtp.c: 719: State information file
(/var/lib/ggsn/gsn_restart) not found. Creating new file.*
*openggsn[7002]: gtp.c: 740: fopen(path=/var/lib/ggsn/gsn_restart, mode=w)
failed: Error = No such file or directory*
*openggsn[7002]: gtp.c: 808: bind(fd0=4, addr=bf86f8dc, len=16) failed:
Error = Address already in use*
*openggsn[7002]: ggsn.c: 498: Failed to create gtp*
*
*
If I run it again addr parameter change but log also indicates that address
is already in use.
Someone can help me?
Thanks!
Arturo Rivas.
Release the e1inp_line when the signalling link is destroyed. The
e1inp_line was leaked on every OML/RSL disconnect.
The leak occured on the following call path.
e1inp_close_socket
ipaccess_close
e1inp_sign_link_destroy
ipaccess_drop_oml
ipaccess_drop
handle_ts1_read
ipaccess_fd_cb
---
src/e1_input.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/e1_input.c b/src/e1_input.c
index 957b74c..a85dd91 100644
--- a/src/e1_input.c
+++ b/src/e1_input.c
@@ -486,6 +486,7 @@ void e1inp_sign_link_destroy(struct e1inp_sign_link *link)
if (link->ts->line->driver->close)
link->ts->line->driver->close(link);
+ e1inp_line_put(link->ts->line);
talloc_free(link);
}
--
1.7.10.4
I have now selected the day for the meeting which should
match for all who have send me their preferred days. The
first Osmocom meeting in Bavaria near Pfarrkirchen will
be held on:
Saturday, 1. September, starting at 10:00
If you are going to come, please let me know until
next Wednesday (29. August). I will then send you
a private email with the details of the location.
The agenda is not yet set, but it seems that at least
those who send me their areas of interest are mainly
targeted towards GMS (OpenBSC/OsmocomBB). We can
of course also talk about other stuff, e.g. RTL-SDR,
but for this it would be nice if one of the RTL-SDR
experts would join us (here you have the chance to
receive a nearly clean/empty spectrum without much
noise from other sources ;-).
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Holger reported a leak in the ipaccess_drop path and a patch to
fix this. This is a new version of the patch posted that also
handle the case in which only one of the link (OML / RSL) is
established and no ID_RESP was received.
Based on patch of Holger Freyther.
---
src/e1_input.c | 1 +
src/input/hsl.c | 4 +---
src/input/ipaccess.c | 4 +---
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/e1_input.c b/src/e1_input.c
index 957b74c..a85dd91 100644
--- a/src/e1_input.c
+++ b/src/e1_input.c
@@ -486,6 +486,7 @@ void e1inp_sign_link_destroy(struct e1inp_sign_link *link)
if (link->ts->line->driver->close)
link->ts->line->driver->close(link);
+ e1inp_line_put(link->ts->line);
talloc_free(link);
}
diff --git a/src/input/hsl.c b/src/input/hsl.c
index 3dcba1d..b86d7f6 100644
--- a/src/input/hsl.c
+++ b/src/input/hsl.c
@@ -82,10 +82,8 @@ static void hsl_drop(struct e1inp_line *line, struct osmo_fd *bfd)
osmo_fd_unregister(bfd);
close(bfd->fd);
bfd->fd = -1;
+ e1inp_line_put(line);
}
- /* put the virtual E1 line that we cloned for this socket, if
- * it becomes unused, it gets released. */
- e1inp_line_put(line);
}
static int process_hsl_rsl(struct msgb *msg, struct e1inp_line *line,
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 76d1994..4c50640 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -248,10 +248,8 @@ static int ipaccess_drop(struct osmo_fd *bfd)
close(bfd->fd);
bfd->fd = -1;
ret = -ENOENT;
+ e1inp_line_put(line);
}
- /* put the virtual E1 line that we cloned for this socket, if
- * it becomes unused, it gets released. */
- e1inp_line_put(line);
return ret;
}
--
1.7.10.4
--OgqxwSJOaUobr8KG--
Hi list!
I have a working installation of OpenBSC+LCR+Asterisk in my system and now, I want to install OpenGGSN in addiction.
I am trying tutorial of the next link: http://openbsc.osmocom.org/trac/wiki/OpenBSC_GPRS and I don't know if the new compilation of osmo-nitb will crash previous installation.
I think that I have to install new programs in the same location where previous are but if I am not sure about because this could crash it.
Thank you!
Arturo Rivas.
Hi all!
This is the announcement for the next Osmocom Berlin meeting.
Aug 22, 8pm @ CCC Berlin, Marienstr. 11, 10113 Berlin
There is no formal presentation scheduled for this meeting. However,
updates will be provided on various current developments, such as
* Progress on the CC32RS512 smart card (osmo-cos)
* Possibly: Status of current attempts to get CSD implemented in OpenBSC
If you are interested to show up, feel free to do so. There is no
registration required. The meeting is free as in "free beer", despite
no actual free beer being around.
Regards,
Harald
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)