Hi all!
Today, I have moved the remaining projects on git://openbsc.osmocom.org/ (aka
git://bs11-abis.gnumonks.org/) to the central git://git.osmocom.org/ location.
This helps us to consolidate all our git repositories on one server.
The git URL of the main OpenBSC repository has changed from
git://bs11-abis.gnumonks.org/openbsc.git (read-only)
gitosis@bs11-abis.gnumonks.org:openbsc.git (write)
to
git://git.osmocom.org/openbsc.git (read-only)
gitosis@git.osmocom.org:openbsc.git (write)
In order to update your local repository with the new URL, simply use
the "git remote set-url" command, like in the following examples.
for those of you with read-only access:
git remote set-url origin git://git.osmocom.org/openbsc.git
for people with write/commit access:
git remote set-url origin gitosis@git.osmocom.org:openbsc.git
The other two repositories that have changed in similar way are openggsn.git
and chan_openbsc.git.
Thanks for your attention, and sorry for any inconvenience,
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)
Dear All,
Please note that after getting the sources using git , I found wireshark
directory contains patches ?
I did some googling I found that if I need to patch wireshark I should run
like the below command :
1. patch -p1 < patch path/name
the configure and compile , but while checking wireshark sources I didn't
find for packet-gsm_abis_oml.c in the path of wireshark /epan/dissectors?
does the patch abis_oml.patch(available under wireshark directory with the
delivery downloaded with git) create it ?
Thanks,
Omar Atia
Hi all,
I was very liberal in just using numbers from the 'open' number range. We
should move to a different scheme and just take the liberty to take one ID and
then have our own header inside there.
I would propose to do something like this
struct ipa_proto_hdr {
uint16_t len;
uint8_t proto;
data[0];
} packed;
struct osmo_ipa_proto_hdr {
uint8_t osmo_proto;
data[0];
} packed;.
Any comments?
Dear All,
Can you advise how I could make connections to real MSCs from Openbsc ?
Is it supported by OpenBSC?
I believe it is over A protocol right ? SCCP ?
Thanks,
Omar Atia
Can you explain please why you are changing the license.
thks.
On Sat, Jan 1, 2011 at 11:04 PM, <openbsc-request(a)lists.gnumonks.org> wrote:
> Send OpenBSC mailing list submissions to
> openbsc(a)lists.gnumonks.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.gnumonks.org/mailman/listinfo/openbsc
> or, via email, send a message with subject or body 'help' to
> openbsc-request(a)lists.gnumonks.org
>
> You can reach the person managing the list at
> openbsc-owner(a)lists.gnumonks.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of OpenBSC digest..."
>
>
> Today's Topics:
>
> 1. Re: OpenBSC on Solaris (Sqlite3) (Holger Hans Peter Freyther)
> 2. Relicensing OpenBSC under AGPLv3 (Harald Welte)
> 3. RE: OpenBSC on Solaris (Sqlite3) (Omar Atia)
> 4. RE: OpenBSC on Solaris (Sqlite3) (Omar Atia)
> 5. RE: OpenBSC on Solaris (Sqlite3) (Omar Atia)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 01 Jan 2011 10:57:43 +0100
> From: Holger Hans Peter Freyther <holger(a)freyther.de>
> Subject: Re: OpenBSC on Solaris (Sqlite3)
> To: Omar Atia <omar.atia(a)its.ws>
> Cc: openbsc(a)lists.gnumonks.org
> Message-ID: <4D1EFA97.2010208(a)freyther.de>
> Content-Type: text/plain; charset=UTF-8
>
> On 01/01/2011 10:28 AM, Omar Atia wrote:
> > Dear Holger,
> >
> > I will try to make it on Linux (Home PC), but for the time being solaries
> is the OS available for me .
> >
>
> Sorry,
>
> you really need to find Solaris support in some other channel (no idea
> where
> this should be).
>
> z.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 1 Jan 2011 18:19:01 +0100
> From: Harald Welte <laforge(a)gnumonks.org>
> Subject: Relicensing OpenBSC under AGPLv3
> To: openbsc(a)lists.gnumonks.org
> Message-ID: <20110101171901.GM23146(a)prithivi.gnumonks.org>
> Content-Type: text/plain; charset=us-ascii
>
> Hi all,
>
> Following-up to the previous discussion in May 2009, I have finally changed
> the
> OpenBSC (and related software) license from GPLv2-or-later to
> AGPLv3-or-later.
>
> All copyright holders have been contacted and all agree on the change of
> the
> license.
>
> libosmocore will remain GPLv2-or-later, and if linked with OpenBSC, you
> will
> use the AGPLv3 compatible GPLv3 license.
>
> 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)
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 01 Jan 2011 11:28:47 +0200
> From: Omar Atia <omar.atia(a)its.ws>
> Subject: RE: OpenBSC on Solaris (Sqlite3)
> To: 'Holger Hans Peter Freyther' <holger(a)freyther.de>,
> openbsc(a)lists.gnumonks.org
> Message-ID: <000201cba996$4d6a9410$e83fbc30$%atia(a)its.ws>
> Content-Type: text/plain; charset=utf-8
>
> Dear Holger,
>
> I will try to make it on Linux (Home PC), but for the time being solaries
> is the OS available for me .
>
> 2nd I have found success in compiling sqlite3 and created 3 libs file and
> put them under
>
> root@ITSHPS # cd /usr/lib/dbd or /usr/local/lib/dbd
> root@ITSHPS # ls -ltr
> total 56
> -rwxr-xr-x 1 root root 31520 Jan 1 11:15 libdbdsqlite3
> -rwxr-xr-x 1 root root 942 Jan 1 11:15 libdbdsqlite3.la
> -rw-r--r-- 1 root root 24532 Jan 1 11:15 libdbdsqlite3.a
>
> Is it necessary to have the shared library as driver I mean is it
> obligatory to have libdbdsqlite3.a and libdbdsqlite3.so ?
>
> Kindly check that folder under your linux path and let me know because I'm
> still getting same message when running bsc_hack.
>
> [ITSHPS]celtabs:/oradata/u01/celtabs/openbsc/openbsc/openbsc/src>./bsc_hack
> -c openbsc.cfg.nanobts
> <0012> db.c:192 Failed to create connection.
> DB: Failed to init database. Please check the option settings.
>
>
>
> Please check the below link it contains the so file ...
>
> http://packages.debian.org/lenny/sparc/libdbd-sqlite3/filelist
>
>
> Thanks,,
> Omar Atia
>
> -----Original Message-----
> From: openbsc-bounces(a)lists.gnumonks.org [mailto:
> openbsc-bounces(a)lists.gnumonks.org] On Behalf Of Holger Hans Peter
> Freyther
> Sent: Saturday, January 01, 2011 12:39 AM
> To: openbsc(a)lists.gnumonks.org
> Subject: Re: OpenBSC on Solaris (Sqlite3)
>
> On 12/31/2010 11:32 PM, Omar Atia wrote:
> > Dear holger,
> >
>
> > so now I have framework installed and I have the sources for the
> libdbdsqlite3 but I'm not able to compile , it is writing make statements
> without compiling ...
> >
>
> search for *** in the output. it is an indication of (GNU) make that there
> is
> an error. Most likely the configure script told you it couldn't find the
> sqlite3.h and that the SQLIte3 backend was disabled or you need to pass
> --enable-sqlite3 when configuring the drivers.
>
> Is there a strong reason to use Solaris? If there is not strong reason to
> use
> it you might be more happy with a Linux System as it comes with an easy way
> to
> install all these dependencies.
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 01 Jan 2011 11:56:43 +0200
> From: Omar Atia <omar.atia(a)its.ws>
> Subject: RE: OpenBSC on Solaris (Sqlite3)
> To: 'Holger Hans Peter Freyther' <holger(a)freyther.de>
> Cc: openbsc(a)lists.gnumonks.org
> Message-ID: <000301cba99a$349615a0$9dc240e0$%atia(a)its.ws>
> Content-Type: text/plain; charset=utf-8
>
> It works dear , shared library was missing during compilation :) ...sorry
>
> -----Original Message-----
> From: Holger Hans Peter Freyther [mailto:holger@freyther.de]
> Sent: Saturday, January 01, 2011 11:58 AM
> To: Omar Atia
> Cc: openbsc(a)lists.gnumonks.org
> Subject: Re: OpenBSC on Solaris (Sqlite3)
>
> On 01/01/2011 10:28 AM, Omar Atia wrote:
> > Dear Holger,
> >
> > I will try to make it on Linux (Home PC), but for the time being solaries
> is the OS available for me .
> >
>
> Sorry,
>
> you really need to find Solaris support in some other channel (no idea
> where
> this should be).
>
> z.
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 02 Jan 2011 00:01:41 +0200
> From: Omar Atia <omar.atia(a)its.ws>
> Subject: RE: OpenBSC on Solaris (Sqlite3)
> To: 'Omar Atia' <omar.atia(a)its.ws>, 'Holger Hans Peter Freyther'
> <holger(a)freyther.de>
> Cc: openbsc(a)lists.gnumonks.org
> Message-ID: <000701cba9ff$7ac0c740$704255c0$%atia(a)its.ws>
> Content-Type: text/plain; charset="utf-8"
>
> Dear Holger?
>
>
>
> Also attached screen shot for the telnet to bsc_hack as well as running the
> program for sure I still have to bring ipaccess nanoBTS:
>
>
>
> Do you have documentation for sample vty commands ? how to provisin
> subscriber ? bulk provisining for example ? or needs a script to write them
> to DB in bulk mode ? another question is can we use oracle or we need to
> redesign the application (db.c) , I saw some commented line for mysql ?
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Omar Atia [mailto:omar.atia@its.ws]
> Sent: Saturday, January 01, 2011 11:57 AM
> To: 'Holger Hans Peter Freyther'
> Cc: 'openbsc(a)lists.gnumonks.org'
> Subject: RE: OpenBSC on Solaris (Sqlite3)
>
>
>
> It works dear , shared library was missing during compilation :) ...sorry
>
>
>
> -----Original Message-----
>
> From: Holger Hans Peter Freyther [mailto:holger@freyther.de]
>
> Sent: Saturday, January 01, 2011 11:58 AM
>
> To: Omar Atia
>
> Cc: openbsc(a)lists.gnumonks.org
>
> Subject: Re: OpenBSC on Solaris (Sqlite3)
>
>
>
> On 01/01/2011 10:28 AM, Omar Atia wrote:
>
> > Dear Holger,
>
> >
>
> > I will try to make it on Linux (Home PC), but for the time being solaries
> is the OS available for me .
>
> >
>
>
>
> Sorry,
>
>
>
> you really need to find Solaris support in some other channel (no idea
> where
>
> this should be).
>
>
>
> z.
>
>
Hi all!
This subject came to my attention again recently: Why not relicense
OpenBSC under AGPLv3?
Right now we are licensing under GPLv2+ (v2 or any later version). However,
if an operator was to make lots of private modifications and then operate
it on his own network, there would be no distribution and thus no need
for him to release his modified versions of the source code.
This may sound a bit strange to those who have been with the project
since its early days. But we are reaching production quality now, and
we already have the first number of production deployments of the software.
Companies like Netzing and On-waves have been FOSS-friendly and funding
parts of our development effort. They have no issues with the result being
Free Software again. However, there are definitely other companies out
there who are less fond of sharing...
So thus my idea is to put OpenBSC under AGPLv3. This way whoever uses
OpenBSC _in modified form_ to operate a communications network will
have to provide the source code to that modified form on a network
server at no charge.
The only controversial question to me is "your modified version must
prominently offer all users interacting with it remotely through a computer
network (if your version supports such interaction) an opportunity to receive
the Corresponding Source".
1) does a gsm network count as computer network? i'd say yes.
2) is using a gsm network 'interacting with it remotely'? I'd also say yes
3) what does 'prominently offer' mean in the context of GSM? We don't want
the operator to spam their users with advertisement SMS just to know
that they can get the soruce code, after all.
Notwithstanding those open questions, such a network operator would always
have the option of simply sending back his changes for integration in the
official project - and thus he would no longer use a modified version which
then means there is no need for the prominent notice / download at all.
We can make this very clear in the project documentation, putting further
encouragement
The actual relicensing should be less problematic than I thought, since AGPLv3
is compatible with GPLv3.
So I could re-license all parts that I own copyright on (which should be
the majority of the code base anyway) under AGPLv3, while the former GPLv2+
components (like VTY code from zebra, or contributions by other people)
then become GPLv3-or-later.
Of course I would want to encourage all developers/contributors to also
follow the re-licensing. Particularly Holger Freyther, Dieter Spaar, Andreas
Eversberg, Jan Luebbe, Sylvain Munaut, Daniel Willmann, Stefan Schmidt.
So let's start with a poll:
a) Do you think re-licensing to AGPLv3 is a good idea?
b) If you have contributed, would you re-license your code under AGPLv3?
If we have some kind of concesus in the community, I would approach
On-waves whether they would want to do the same for their share of the
copyright. As their "modifications" are all part of OpenBSC git repository,
they would not be subject to any different conditions than before.
Thanks in advance for your feedback,
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)
Hello Holger,
On Fri, 31 Dec 2010 11:24:41 +0100, "Holger Hans Peter Freyther" <holger(a)freyther.de> wrote:
>
> If that is set on the socket for the telnet interface it does make a difference.
Just in case, Cygwin also misses cfmakeraw(), my private modification for
this is the following which is of course the same you quoted from the man
page.
#if defined(__CYGWIN__)
/* Workaround for Cygwin, which is missing cfmakeraw */
/* Pasted from man page */
void cfmakeraw(struct termios *termios_p)
{
termios_p->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
termios_p->c_oflag &= ~OPOST;
termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
termios_p->c_cflag &= ~(CSIZE|PARENB);
termios_p->c_cflag |= CS8;
}
#endif /* defined(__CYGWIN__) */
Maybe there is a Solaris-specific preprocessor symbol and we can add
this function to an appropriate place.
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Hi all,
here are some notes about bsc_hack as it ran on the 27C3. In day0 we
discovered a nice SQL injection bug, in day1 we had plenty of segfaults,
mostly in the error and time-out paths of the MSC (but also some in the BSC
API). These included crashes due clearing the channel and removing the ->lchan
from the conn, RLL time out handling in the SMS code and some more.
The network ran without segfault (only one crash due my stupidity on a new VTY
command) after this. The biggest issue as that SMS got stuck. Code review has
found some issues immediately but this didn't fix it. On more code review an
issue with the 'subscr_get_channel' was identified.
First of all the transaction layer just stopped paging requests, e.g. stopping
the paging for someone else's subscr_get_channel, then the Call Control code
never called subscr_put_channel when it is done. I have created two band aids
for this situation but there is a bigger issue with the code.
If somebody has spare time and wants to do some simple changes one can do:
1.) The subscriber layer passes the 'subscr' pointer to the paging layer, it
should pass the request to it.
2.) It should be possible to cancel channel requests that were not scheduled yet.
3.) Once we started auth on the channel the 'request' state should be changed
too. It is not right now due 1.).
4.) ....
--- openbsc-request(a)lists.gnumonks.org <openbsc-request(a)lists.gnumonks.org> schrieb am Mo, 27.12.2010:
Von: openbsc-request(a)lists.gnumonks.org <openbsc-request(a)lists.gnumonks.org>
Betreff: OpenBSC Digest, Vol 24, Issue 26
An: openbsc(a)lists.gnumonks.org
Datum: Montag, 27. Dezember, 2010 13:00 Uhr
Send OpenBSC mailing list submissions to
openbsc(a)lists.gnumonks.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnumonks.org/mailman/listinfo/openbsc
or, via email, send a message with subject or body 'help' to
openbsc-request(a)lists.gnumonks.org
You can reach the person managing the list at
openbsc-owner(a)lists.gnumonks.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of OpenBSC digest..."
Today's Topics:
1. RE: OpenBSC+LCR+Asterisk installation problem (Caleb Pal)
----------------------------------------------------------------------
Message: 1
Date: Sun, 26 Dec 2010 14:41:39 -0800
From: "Caleb Pal" <cleb(a)defcon-3.net>
Subject: RE: OpenBSC+LCR+Asterisk installation problem
To: "'jason mercury'" <jmercury313(a)gmail.com>,
<openbsc(a)lists.gnumonks.org>
Message-ID: <004901cba54e$0ffe0950$2ffa1bf0$@net>
Content-Type: text/plain; charset="us-ascii"
Are you using Asterisk 1.8? If so, you should checkout the asterisk_1_8
branch of LCR. LCR git was down, it is now back up at a slightly different
location, git://git.misdn.org/lcr.git/. mISDN and mISDNuser git are also at
the new path.
HTH,
Caleb
From: openbsc-bounces(a)lists.gnumonks.org
[mailto:openbsc-bounces@lists.gnumonks.org] On Behalf Of jason mercury
Sent: Thursday, December 23, 2010 8:15 AM
To: openbsc(a)lists.gnumonks.org
Subject: OpenBSC+LCR+Asterisk installation problem
Hi,
I am trying to install a OpenBSC+LCR+Asterisk system according to the how to
send to the mail list by Konrad Meier on Tue Oct 12 18:27:33 2010. During
installation of LCR I got following error:
make[1]: Entering directory `/home/idb/openbsc/lcr'
gcc -DWITH_GSM_BS -I./openbsc/include -I./libosmocore/include -I./openbsc
-Wall -DCONFIG_DATA="\"/usr/local/lcr\"" -DSHARE_DATA="\"/usr/local/lcr\""
-DLOG_DIR="\"/usr/local/lcr\""
-DEXTENSION_DATA="\"/usr/local/lcr/extensions\"" -D_GNU_SOURCE -fPIC -c
chan_lcr.c -o chan_lcr.po
chan_lcr.c: In function 'lcr_indicate':
chan_lcr.c:2274: warning: assignment from incompatible pointer type
chan_lcr.c:2289: warning: assignment from incompatible pointer type
chan_lcr.c:2316: warning: assignment from incompatible pointer type
chan_lcr.c:2381: error: dereferencing pointer to incomplete type
chan_lcr.c:2382: error: dereferencing pointer to incomplete type
chan_lcr.c: In function 'load_module':
chan_lcr.c:2818: warning: passing argument 2 of 'ast_register_application2'
from incompatible pointer type
/usr/include/asterisk/module.h:427: note: expected 'int (*)(struct
ast_channel *, void *)' but argument is of type 'int (*)(struct ast_channel
*, void *)'
make[1]: *** [chan_lcr.po] Error 1
make[1]: Leaving directory `/home/idb/openbsc/lcr'
make: *** [all] Error 2
Why is this occur? My ubuntu kernel is 2.6.32-24-generic and i exactly
followed the steps. I am attaching that how to again.
I also couldn't git check out OpenBSC, LCR , mISDN, mISDNuser and i download
them from http://www.linux-call-router.de/download/lcr-1.7/. I want to ask
that why i can't git clone. When i try to git clone i take following:
git clone git://git.misdn.org/git/lcr.git/
Initialized empty Git repository in /home/idb/op/lcr/.git/
fatal: The remote end hung up unexpectedly
If any you have idea please help.
Thanks.
Jason.