aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjjako <jjako>2003-04-11 10:49:02 +0000
committerjjako <jjako>2003-04-11 10:49:02 +0000
commit9944eba320bfafc43d7dab0e11d7e68a1c27d33e (patch)
treedd48154cf0c44d63685779c6fb8f690db5f5f502
parent9c7ff083bd212e657a0c6d7fc45b03e0d0070a32 (diff)
Updated README, NEWS and ChangeLog
-rw-r--r--ChangeLog24
-rw-r--r--NEWS8
-rw-r--r--README39
3 files changed, 49 insertions, 22 deletions
diff --git a/ChangeLog b/ChangeLog
index d2a0470..138109a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2003-04-11: Jens Jakobsen <jj@openggsn.org>
+ Added -ggdb to gtp, sgsnemu and ggsn makefiles in order to include
+ debugging information.
+
+ Added ippool.c and ippool.h to ggsn. This allow for generic
+ allocation of dynamic ip addresses based on a <net>/<mask>
+ description of ip address space. The same files are also used in
+ sgsnemu, but only for hashing IP addresses. At the same time the
+ corresponding functionality is removed from pdp.c.
+
+ Added syserr.h and syserr.c to ggsn and sgsnemu. These files allow
+ writing to syslog with file name and line number. Later this
+ should also be introduced in gtp.
+
+ Added support for DNS protocol configuration options in ggsn for
+ create context response. This allow the MS to setup DNS
+ configuration correctly.
+
+ tun.c and tun.h have been updated to allow setting interface IP
+ addresses and routes by means of ioctl and netlink. This allow
+ sgsnemu to allocate an interface IP address for each context
+ established.
+
+
2003-01-29: Jens Jakobsen <jj@openggsn.org>
Added -L../gtp to sgsnemu and ggsn makefiles so that make will
work without an installed libgtp.
diff --git a/NEWS b/NEWS
index ae74d51..76e2095 100644
--- a/NEWS
+++ b/NEWS
@@ -7,8 +7,12 @@ Version 0.6b
* Absolute path to ifconfig and route in ggsn and sgsnemu
* Absolute path to gtp library in ggsn/Makefile.am and ggsn/Makefile.am
* Compiles with gengetopt 2.8 (Thanks to Lorenzo Bettini
- <lorenzo.bettini@penteres.it>
-
+ <lorenzo.bettini@penteres.it>)
+ * sgsnemu is now able to handle several contexts and allocate
+ interface IP addresses for each context.
+ * ggsn now support protocol configuration option DNS
+ addresses. This allow mobile stations to set up DNS based on
+ information configured in the ggsn.
Version 0.5
diff --git a/README b/README
index a16ed6d..4a20c00 100644
--- a/README
+++ b/README
@@ -2,9 +2,8 @@
REQUIREMENTS
-Linux
-OpenGGSN was developed and tested using Redhat 7.1 and Redhat
-7.2. It should run also on other Linux distributions as well as
+Linux OpenGGSN was developed and tested using Redhat 7.1, 7.2 and
+8.0. It should run also on other Linux distributions as well as
FreeBSD and Solaris, but this is untested. Please tell me of any
testing results.
@@ -53,7 +52,8 @@ Start the ggsn as root using the command:
ggsn --fg -c examples/ggsn.conf -l 10.20.30.40 --statedir .
This will run the ggsn in foreground using the local interface
-10.20.30.40. Of cause you can use sgsnemu to test the GGSN.
+10.20.30.40. If you don't have a GSM network available for testing you
+can use sgsnemu to test the GGSN.
SUPPORT
@@ -72,7 +72,7 @@ OpenGGSN provides 3 components:
gtplib
This library contains all functionality relating to the GTP
-protocol. Use this libraty if you want to implement your own
+protocol. Use this library if you want to implement your own
GSN. Currently gtplib supports GTPv0. At the moment no interface
documentation is available for download.
@@ -196,29 +196,29 @@ examples/ggsn.conf for the format of this file.
Start the ggsn as root using the command:
- ggsn -c examples/ggsn.conf --fg -l 10.20.30.40 --net 192.168.0.0 --mask 255.255.0.0
+ ggsn -c examples/ggsn.conf --fg -l 10.20.30.40 --net 192.168.0.0/24 --dynip 192.168.0.0/24
First a tun network interface will be created. In the above example
the network interface address is 192.168.0.0 and the mask is
-255.255.0.0. You can check that this interface is up by using
+255.255.255.0. You can check that this interface is up by using
ifconfig.
After tun has been successfully established the ggsn will wait for GTP
create PDP context requests on the local interface
-10.20.30.40. Currently all requests are excepted, and no password,
-username or APN validation is performed.
+10.20.30.40. Currently all requests are accepted, and no password,
+username or APN validation is performed.
When receiving a create PDP context request a dynamic IP address will
-be allocated from the address pool determined by --net and --mask. In
-the above example the first allocated address will be 192.168.0.1,
-followed by 192.168.0.2 and so on. The request is confirmed by sending
-a create PDP context response message to the peer (SGSN).
+be allocated from the address pool determined by --dynip. In the above
+example the first allocated address will be 192.168.0.1, followed by
+192.168.0.2 and so on. The request is confirmed by sending a create
+PDP context response message to the peer (SGSN).
Now IP packets will be forwarded between the tun network interface and
the established GTP tunnel. In order to allow users to access the
external network routing needs to be set up. If private addresses are
-are used you need to configure network address translation. See the
-Linux Networking HOWTO for details.
+used you need to configure network address translation. See the Linux
+Networking HOWTO for details.
Remember to enable routing: echo 1 > /proc/sys/net/ipv4/ip_forward
@@ -279,7 +279,7 @@ testing. Also note that you are establishing a connection to the Gi
network, so please be carefull not to route internet traffic onto the
GPRS core network! Assuming you know what you are doing:
- sgsnemu --fg --listen 10.20.30.50 --remote 10.20.30.40 --dns 10.20.38.51 --timelimit 10 --contexts 1 --apn internet --imsi 240011234567890 --msisdn 46702123456 --net 192.168.0.0 --mask 255.255.255.0 --createif
+ sgsnemu --fg --listen 10.20.30.50 --remote 10.20.30.40 --dns 10.20.38.51 --timelimit 10 --contexts 1 --apn internet --imsi 240011234567890 --msisdn 46702123456 --createif --defaultroute
sgsnemu will print something like the following on the screen:
@@ -306,10 +306,9 @@ sgsnemu will print something like the following on the screen:
Now a context is established to the remote GGSN. The IP address of the
-context is 192.168.0.1. If you specified the correct --net and --mask
-you should be able to ping a known address on the Gi network of the
-roaming partner. You should even be able to do web browsing through
-the PDP context.
+context is 192.168.0.1. You should be able to ping a known address on
+the Gi network of the roaming partner. You should even be able to do
+web browsing through the PDP context.
Note however that you probably need to adjust your routing tables, so
that you make sure that all GRX traffic is routed to the GPRS core