aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-10-20Move common sgsnemu/ggsn files to directory "lib"Emmanuel Bretelle28-3232/+18
Some files like in sgsnemu and ggsn directory where exactly the same. They are now moved to the same directory for easier maintenance Signed-off-by: Emmanuel Bretelle <chantra@debuntu.org>
2010-10-20Fixe compilation warningEmmanuel Bretelle1-1/+1
Relevant output of make: sgsnemu.c: In function ‘process_options’: sgsnemu.c:443: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/bits/string3.h:120: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ Signed-off-by: Emmanuel Bretelle <chantra@debuntu.org>
2010-10-20Fixed compile warning,exit if cant daemonizeEmmanuel Bretelle1-4/+19
Relevant output of make: ggsn.c: In function ‘main’: ggsn.c:436: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result ggsn.c:437: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result ggsn.c:438: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result ggsn.c:439: warning: ignoring return value of ‘daemon’, declared with attribute warn_unused_result Signed-off-by: Emmanuel Bretelle <chantra@debuntu.org>
2010-10-20Fix warning on unused fscanf return codeEmmanuel Bretelle1-2/+6
Relevant output of make: gtp.c: In function ‘log_restart’: gtp.c:697: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result Signed-off-by: Emmanuel Bretelle <chantra@debuntu.org>
2010-08-26debian: add init script for OpenGGSNHarald Welte1-0/+167
2010-08-25debian: libgtp has architecture 'any' not 'all'Harald Welte1-2/+2
2010-08-24import debian packaging infoHarald Welte8-0/+98
2010-08-24bump version number to 0.91Harald Welte1-1/+1
2010-06-03Extend 'struct pdp_t' with a void *priv pointer for application useHarald Welte1-1/+2
2010-05-24Bump version number to 0.90Harald Welte1-1/+1
2010-05-24fix 'make distcheck': add lookup.h to Makefile.amHarald Welte2-2/+2
2010-05-16[libgtp] Fix GTPIE parsing segfault on 64bit architecturesHarald Welte1-1/+1
Pointers are not always 4 bytes in size...
2010-05-15[libgtp] add comments with references to the GTP specification sectionsHarald Welte1-2/+19
2010-05-04sgsnemu: delete pdp context - teardown must be before NSAPIHarald Welte1-3/+3
in front of Cisco and Alcatel GGSN's, we meet the following error : 5 packets transmitted Disconnecting PDP context #0 openggsn[24940]: gtp.c: 2417: Unexpected cause value received: 193. Packet from 172.29.5.130:2123, length: 14, content: 32 15 00 06 00 00 00 01 04 02 00 00 01 c1 it is because in the sgsnemu requests packet, the teardown field is after the NSAPI field : No. Time Source Destination Protocol Info 24 10.940094 172.21.5.1 172.29.5.130 GTP Delete PDP context request Frame 24 (58 bytes on wire, 58 bytes captured) Ethernet II, Src: HewlettP_55:23:8d (00:11:0a:55:23:8d), Dst: Alcatel-_f6:8e:32 (00:d0:95:f6:8e:32) Internet Protocol, Src: 172.21.5.1 (172.21.5.1), Dst: 172.29.5.130 (172.29.5.130) User Datagram Protocol, Src Port: gtp-control (2123), Dst Port: gtp-control (2123) GPRS Tunneling Protocol Flags: 0x32 Message Type: Delete PDP context request (0x14) Length: 8 TEID: 0x00000739 Sequence number: 0xbc02 N-PDU Number: 0x00 Next extension header type: No more extension headers (0x00) [--- end of GTP header, beginning of extension headers ---] NSAPI: 0 Teardown Indicator: True [Response In: 25] Taken from http://sourceforge.net/tracker/index.php?func=detail&aid=2865662&group_id=68956&atid=522957
2010-05-04Use newer gengetopt which also frees memoryHarald Welte6-1229/+2191
Taken from http://sourceforge.net/tracker/index.php?func=detail&aid=1811521&group_id=68956&atid=522957
2010-05-04GGSN: free the ippool memory before exitHarald Welte1-0/+1
Taken from http://sourceforge.net/tracker/index.php?func=detail&aid=1811518&group_id=68956&atid=522957
2010-05-04add compiler-generated output to .gitignoreHarald Welte1-0/+16
2010-05-04Fix various compiler warnings throughout the codeHarald Welte16-72/+72
Mostly signed/unsigned and typecasting issues Taken from http://sourceforge.net/tracker/index.php?func=detail&aid=1811517&group_id=68956&atid=522957
2010-05-04GGSN: Fix select() error case, we need to FD_ZERO() againHarald Welte1-0/+2
Taken from http://sourceforge.net/tracker/index.php?func=detail&aid=1811515&group_id=68956&atid=522957
2010-05-04Fix GGSN signal handlingHarald Welte1-3/+16
In order te exit gracefully (closing the tun devices), we install a SIGINT handler and note its occurrence in a global variable. This fix is from http://sourceforge.net/tracker/index.php?func=detail&aid=1811513&group_id=68956&atid=522957
2010-05-04[SECURITY] Fix GTPIE parsing DoSHarald Welte1-1/+5
This is taken from http://sourceforge.net/tracker/index.php?func=detail&aid=1811511&group_id=68956&atid=522957 and http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg402969.html and addresses a DoS: The problem lies in the parsing of information elements in GTP messages, which is implemented in the gtpie_decaps function of gtp/gtpie.c file. The implementation has a bug that does not check if there are too many information elements in the message thus causing the software to loop infinitely in the while-loop. In addition, handling routine for the error situation had to be implemented outside the while-loop.
2010-05-04remove config.h.in and ltmain.sh as it is autogenerated, tooHarald Welte3-6583/+2
2010-05-04add .gitignore file for autoconf-generated stuffHarald Welte1-0/+15
2010-05-04remove autotools-generated filesHarald Welte18-36269/+0
All those will be re-generated by "autoreconf -i" anyway, so there's no point in keeping them in the repository. Also, the 'bootstrap' script is no longer working with recent autotools versions anyway.
2005-03-14Fixed APN bugjjako1-3/+3
2005-03-14Added new version of autotoolsjjako13-7161/+22628
2004-12-300.84jjako2-11/+11
2004-12-300.84 releasejjako10-150/+37
2004-12-300.84jjako9-21/+153
2004-12-30Added lookup.cjjako4-0/+210
2004-12-30QA on ippooljjako9-215/+83
2004-12-30Minor fixjjako5-5/+3
2004-12-30Fixed delete route on freebsd et. al.jjako4-32/+114
2004-10-24Added Polish man pagesjjako2-0/+679
2004-09-17qos length bugfix and apple support plus header cleanupjjako23-145/+120
2004-09-17QoS length bugfizjjako1-1/+1
2004-09-11Updated NEWS and Changelog to 0.83jjako2-0/+25
2004-09-10Changed to 0.83jjako2-11/+11
2004-09-10Improved configure script under Solarisjjako12-202/+998
2004-09-09Added permission change to bootstrapjjako1-0/+3
2004-09-09Hash table bugfix and improved loggingjjako4-102/+158
2004-07-20Added selmodejjako6-2/+60
2004-05-27Charging characteristics made optionaljjako1-4/+4
2004-05-27Charging optionjjako5-12/+59
2004-05-27Fix on PPP PCO length and charging characteristics required flag.jjako2-11/+18
2004-04-28Change to 0.82jjako3-1/+16
2004-04-28Solaris tun interfacejjako8-73/+224
2004-02-05Added README.Solarisjjako1-0/+41
2004-02-05Added IP address alias capability for FreeBSDjjako4-24/+84
2004-02-04tun.c cleanup and support for setting multiple addresses on FreeBSDjjako3-114/+284