aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn/ggsn.c
AgeCommit message (Collapse)AuthorFilesLines
2015-02-28ggsn: Change the default log levels for the logfilesysmocom/default-loglevelHolger Hans Peter Freyther1-0/+2
Print category and the extended timestamp format for the GGSN.
2014-12-04ggsn: Move printf to DEBUGP statements in the ggsn as wellsysmocom/libosmocoreHolger Hans Peter Freyther1-25/+11
The specific log statements are not great yet but at least they will end up in the log file. In the future everything should be related to the IMSI or at least the tunnel id.
2014-12-04ggsn: Remove unused dump/logging methodHolger Hans Peter Freyther1-15/+0
2014-12-04ggsn: Be able to set the log level for the text fileHolger Hans Peter Freyther1-0/+12
Fixes: SYS#599
2014-12-04logging: Switch to using libosmocore logging for all the codeHolger Hans Peter Freyther1-40/+35
2014-03-23cli: Introduce a logfile command to log errors to a fileHolger Hans Peter Freyther1-0/+12
The evolution would be to introduce libosmocore and start using the logging framework. But even then we can map this option to the file target. Fixes: SYS#263
2011-11-02Convert all code to Linux coding styleHarald Welte1-446/+478
After so many years of silence, we don't expect the original author to return to the project. To make things a bit simpler for us, we convert the coding style to what we are used to (Linux style). The conversion was made using the 'Lindent' script which is part of the Linux kernel.
2010-10-20Do not exceed 80 characters per lineEmmanuel Bretelle1-3/+6
Signed-off-by: Emmanuel Bretelle <chantra@debuntu.org>
2010-10-20Move common sgsnemu/ggsn files to directory "lib"Emmanuel Bretelle1-3/+3
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-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-05-04Use newer gengetopt which also frees memoryHarald Welte1-1/+2
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-04Fix various compiler warnings throughout the codeHarald Welte1-2/+2
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
2004-12-30QA on ippooljjako1-1/+1
2004-12-30Minor fixjjako1-1/+1
2004-09-17qos length bugfix and apple support plus header cleanupjjako1-8/+6
2004-09-17QoS length bugfizjjako1-1/+1
2004-04-28Solaris tun interfacejjako1-24/+38
2004-02-05Added IP address alias capability for FreeBSDjjako1-1/+1
2004-01-16Improved Solaris supportjjako1-9/+7
2004-01-16Improved solaris compatibilityjjako1-2/+28
2004-01-14Changet inet_aton to inet_pton for Solaris compliancejjako1-5/+14
2004-01-09Changes to allow compilation under Solarisjjako1-6/+37
2003-10-13First attempt at a GTP1 implementationjjako1-11/+29
2003-07-06Improved GTP error handlingjjako1-1/+1
2003-07-06ippool improvedjjako1-3/+4
2003-07-06Improved option checking in ggsnjjako1-34/+40
2003-04-11Corrected pointer error in ggsn.cjjako1-6/+15
2003-04-11added pco DNS supportjjako1-22/+2
2003-04-11added ippool.h and ippool.cjjako1-160/+151
2003-01-28Support for external ipup scriptjjako1-9/+30
2003-01-05Absolute path to ifconfig and route in ggsn and sgsnemujjako1-2/+2
2002-12-16Initial revisionjjako1-0/+424