Commit 007544e1 authored by gauthier's avatar gauthier

moved PMIPv6 from trunk/openair3 to extras/openair3/PMIPv6


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7751 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 905aee70
OpenAir3 - Mobile Communication Department - EURECOM (Sophia-Antipolis, FRANCE)
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenAirInterface is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OpenAirInterface.The full GNU General Public License is
included in this distribution in the file called "COPYING". If not,
see <http://www.gnu.org/licenses/>.
Contact Information
OpenAirInterface Admin: openair_admin@eurecom.fr
OpenAirInterface Tech : openair_tech@eurecom.fr
OpenAirInterface Dev : openair4g-devel@eurecom.fr
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06410 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/
/*________________________OPENAIR/OPENAIR3/________________________
File : INSTALL.kernel
Authors : OpenAir3
Company : EURECOM
Emails : openair3@eurecom.fr
________________________________________________________________*/
-------------------------
BUGS
-------------------------
PROBLEM : "config.h file not found"
SOLUTION : A simple symbolic link is enough to avoid this error. Open a terminal and type :
$ ln -s /usr/src/linux-source-XX.XX.XX/include/linux/autoconf.h /usr/src/linux-sources-XX.XX.XX/include/linux/config.h
PROBLEM : "Error while loading shared libraries : libfreeradius-client.so.2 cannot open shared object file : no such file or directory"
SOLUTION : Open a terminal and type :
$ export LD_LIBRARY_PATH=/usr/local/lin:$LD_LIBRARY_PATH
To avoid this problem to occur once again, we add the previsou line to the Bashrc file. Open a terminal and type:
$ echo "export LD_LIBRARY_PATH=/usr/local/lin:$LD_LIBRARY_PATH" >> ~/.bashrc
\ No newline at end of file
==================================================================
Proxy Mobile IPv6 - Changelog
==================================================================
Changes in 0.4.2 (9 Nov 2012)
*Corrected bugs in virtual terminal, enabled at configuration with --enable-vt
*Check of P flag in PBU.
*Radius now not mandatory, enabled at configuration with --with-pmip-use-radius
*Only one type of script per MAG, LMA (before we had a script for MAG1, another one for MAG2, etc)
*LMA host type is fusionned with HA host type
*Rename executable from pmip6d to mip6d in order to ease integration of our PMIP stack with the umip project
*Check that RS or message alerting for an incoming MN comes from the ingress interface
*Added timer handler for tunnel.
*Tunnels now can be static or dynamic
*The alternative of using radius is to create a mapping file (hw address <-> IPv6 W prefix):/etc/pmip/mac-mapping.auth
*We can put comments in /etc/pmip/mac-mapping.auth file
*Now 2 MNs attached to the same MAG can communicate between them.
*Added detection of router sollicitation messages from mobiles (over ethernet and other LTE technologies)
Changes in 0.4.1 (13 Dec 2011):
*Added Handoff Indicator Option (RFC5213), Access Technology Type Option(RFC5213),
Mobile Node Identifier Option (RFC 4283) for RFC 5213 PBU/PBA messages.
*Correction of P and A flag in PBU message (bad endianess issue).
*Correction and use of automatic padding for options alignment.
*Removed command line options for PMIP protocol, let only UMIP options, because
the number of configuration parameters is rather high, so it is preferable to
use the configuration files.
*Updated man pages for pmip6d and pmip6d.conf.
*removed HomeNetworkPrefix and OurAddress entries in LMA and MAG configuration files.
Changes in 0.4 (21 Nov 2011):
*Now the configuration is inside only one configuration file, for each entity.
A python script automaticaly parse the configuration file and take the appropriate
decision for configuring the testbed, there should be no need for modifying this script.
*Removed hardcoded syslog parse string, now they are located in the configuration files.
*Now PBU lifetime is smaller (40 seconds instead of 1000 seconds), now the restart
of this timer works.
*Now timestamp option is OK in PBU/PBA, but we will improve the processing in next release (windowing).
*Now sequence numbering of PBU/PBA messages is checked.
*Added miscellaneous parameters in configuration files, some will be processed in future
release (RFC5213EnableMAGLocalRouting), RFC5213TimestampBasedApproachInUse should be always
set to enabled, RFC5213MobileNodeGeneratedTimestampInUse should be always set to disabled.
*Added traces in case of critical section problems.
*Added correct type values (RFC 5213) for PBU/PBA message options.
*Corrected bug of BCE update in LMA: the tunnel was always deleted.
*Corrected bugs in handlers.
*Renamed eth_address2hw_address, hw_address2eth_address to EUI64_to_EUI48, EUI48_to_EUI64
*Reinforced the test procedure for checking the presence of a mobile on a MAG.
*Warning, there are some known memory leaks, they will be fixed in next release.
Changes in 0.3 (10 Juin 2011):
*
Changes in 0.2 (17 May 2011):
* Update of README.first, INSTALL, INSTALL.kernel files for the UBUNTU 10.04 LTS version
* Add of the "Simple_experimentation" directory which contains the drawing and the shell script files to achieve a 1 LMA + 2 MAGs testbed.
* Update of the /etc/match content file format
Changes in 0.1 (23 Oct 2010):
* First release
This diff is collapsed.
/*******************************************************************************
OPENAIRINTERFACE 0/1/2/3
Copyright(c) 1999 - 2010 EURECOM
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, as published by the Free Software Foundation.
This program is distributed in the hope it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
The full GNU General Public License is included in this distribution in
the file called "COPYING".
Contact Information:
Openair Admin <openair_admin@eurecom.fr>
Mailing List <openair_tech@eurecom.fr>
Forums http://forums.eurecom.fr/openairinterface
Eurecom, 2229, route des cretes, 06560 Valbonne Sophia Antipolis, France
*******************************************************************************/
/*________________________OPENAIR/OPENAIR3/________________________
File : INSTALL
Authors : OpenAir3
Company : EURECOM
Emails : openair3@eurecom.fr
________________________________________________________________*/
-------------------------
Table of contents
-------------------------
The content of this readme is the following:
0) System requirements
1) Installation of SYSLOGs Servers on MAGs (it has to be done only on MAG machines)
2) EURECOM FreeRadius Installation
2.1) FreeRadius client installation (concern only MAG machines)
2.2) FreeRadius Server installation (concern only LMA machines)
3) PMIP6D Compilation
4) Change MAC addresses on other MAGs
-----------------------------------------
0) System Requirements
-----------------------------------------
We validated that PMIP6D runs under UBUNTU 10.04 x86 LTS version. For this reason, we highly recommend you to use this UBUNTU version.
However, we don't exclude that it might also work with other linux systems.
-------------------------------------------------------------------------------
1) Installation of SYSLOGs Servers on MAGs (It does not have to be done on LMA)
-------------------------------------------------------------------------------
1.1) Each MAG machine has to run a SYSLOG Server on it.
So on each machine that you use as MAG, you have to install a SYSLOG server :
Installation of the SOCKLOG and SYSKLOGD packages :
$ apt-get install socklog sysklogd
Edit and change the Syslog server configuration :
$ gedit /etc/syslog.conf
-> In this file, look for the line containing local7.info and change it to have this -> "local7.info /var/log/pmip_syslog.log"
-> In case the line wouldn't exist, go at the bottom of the text file and add this line "local7.info /var/log/pmip_syslog.log"
$ touch /var/log/pmip_syslog.log
-> The file has to exist before to be used
$ gedit /etc/default/syslogd
-> You should have the option "-r" enabled for the SYSLOG Daemon. So be sure you have -> SYSLOGD="-r"
$ /etc/init.d/sysklogd restart
-> We restart the syslog daemon to take into account the modifications we just did
1.2) Each Access Point should have their SYSLOG client enabled and configured.
So on each Access Point you have to do what follows :
For example on a CISCO SERIES 1100 ACCESS POINT web interface, you should go to EVENT LOG, then to CONFIGURATION and then add the MAG IP Address on which the syslog server is running.
Access Point Web Interface (10.0.0.1) --> EVENT LOG --> CONF --> Put SYSLOG SERVER's IP ADDRESS
----------------------------------------------------------------------
2) EURECOM FreeRadius Installation
----------------------------------------------------------------------
Since the FreeRADIUS Client v1.1.6 from freeradius.org is limited to IPv4 protocol, we modified it in order to use only IPv6.
The Freeradius clients has to installed on all LMA and MAG.
FYI, "THEGOODPATH" indicates the path where you downloaded PMIPv6_v0.4.1. We suggest you to copy everything in "/usr/local/src".
Each line starting by a "$" are commands to be executed in a shell.
2.1) FreeRadius client installation (It has to be installed on all MAGs and LMAs)
$ cd THEGOODPATH/freeradiusclient-1.1.6/
$ autoreconf -i
$ ./configure
$ make
$ make install
On all the MAGs, do as follows :
In the "/etc/hosts" file, you have to tell the ipv6 address of the FreeRadius Server
$ gedit /etc/hosts
At the bottom of the file, type for example : "2001:100::1 radius6server"
To let PMIP6D find Freeradius libraries, execute what follows :
$ gedit /etc/ld.so.conf
Add at the bottom of the file this line -> "include /usr/local/lib/". Save and exit.
$ ldconfig
2.2) FreeRadius Server installation (Has to be done only on LMAs)
Now we proceed to the FreeRadius Server 2.1.12 installation :
We will get the code from http://freeradius.org/ website, and download the 2.1.12 FreeRADIUS server source code (2.5 MB)
$ wget ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.12.tar.bz2
$ tar xjf freeradius-server-2.1.12.tar.bz2
$ cd freeradius-server-2.1.12
$ ./configure
$ make
$ make install
You need now to copy three configuration files to the FreeRADIUS server in order to correctly connect the clients.
$ cd THEGOODPATH/freeradiusclient-1.1.6/examples/
$ cp users /usr/local/etc/raddb/
$ gedit /usr/local/etc/raddb/users
N.B: This file contains all the Mobile Node MAC addresses authorised in the PMIP6D domain. Please update it with your data.
$ cp radiusd.conf /usr/local/etc/raddb/
N.B: This file contains all the information required for the connection, authentication between the Server and clients (MAGs).
$ cp clients.conf /usr/local/etc/raddb/
N.B: This file contains the list of authorised clients (MAGs). Please update this file with all your MAGs information.
-----------------------------------------------------
3) PMIP6D Compilation (To be done on LMAs and MAGs)
-----------------------------------------------------
Execute the following commands :
$ cd THEGOODPATH/pmipv6-daemon-umip-0.4/
$ autoreconf -i
$ ./configure
$ make
$ make install
WARNING : If you have some issues during the PMIP6D compilation, please look into the BUGS file.
If you are still facing any issue, please report it to us using the following email "openair3@eurecom.fr"
-----------------------------------------
4) Change MAC addresses on other MAGs
-----------------------------------------
4.1) One of the specificity of a PMIP Domain is that the Mobile Node should not be aware of its mobility inside the PMIP Domain.
One of the way to achieve this is to copy the MAC Address of one of the MAG and duplicate it for all other MAGs.
So in the configuration scripts we force the ingress MAG address to a predefined MAC address: 00:11:22:33:44:55 with the help of the macchanger executable.
If you have a look to "THEGOODPATH/pmipv6-daemon-umip-0.4/extras/UMIP0.4_MAG2_UBUNTU.10.04.py" file, you will notice that we achieve this automatically via the configuration script.
Moreover, your Access Points should not add their MAC Address to the IP Packets that they forward. To do this, you should put your Access Points in a MASQUERADING mode.
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenAirInterface is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OpenAirInterface.The full GNU General Public License is
included in this distribution in the file called "COPYING". If not,
see <http://www.gnu.org/licenses/>.
Contact Information
OpenAirInterface Admin: openair_admin@eurecom.fr
OpenAirInterface Tech : openair_tech@eurecom.fr
OpenAirInterface Dev : openair4g-devel@eurecom.fr
Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06410 Biot Sophia Antipolis cedex, FRANCE
*******************************************************************************/
/*________________________OPENAIR/OPENAIR3/________________________
File : INSTALL.kernel
Authors : OpenAir3
Company : EURECOM
Emails : openair3@eurecom.fr
________________________________________________________________*/
-------------------------
Table of contents
-------------------------
The content of this file is the following:
0) PMIP6D
1) HOW TO BUILD THE PROPER KERNEL
1.1) Enable the required features in the kernel
1.2) Kernel recompilation
0) PMIP6D
================================
Proxy Mobile IPv6 (PMIPv6) is a network-based mobility management protocol for localized domains, which has been actively standardized by the IETF NETLMM Working Group. PMIPv6 is starting to attract much attention among telecommunication and internet communities due to its salient features and it is expected to expedite the real deployment of IP-based mobility management.
Notice also that this release is for use with:
- i386,
WARNING: The PMIP6D has been developped and validated under Linux UBUNTU 10.04 LTS distribution.
We can not confirm it will work with other systems however it might work with other UBUNTU systems.
1) HOW TO BUILD THE PROPER KERNEL
=================================
1.1) Enable the required features in the kernel
-----------------------------------------------
Your current kernel DOES NOT require any patches in order to run PMIP6D, however you need to enable some already existing features in your kernel and recompile it.
If you don't already have your kernel source installed on your machine, follow what is next.
Be sure to be connected to Internet, open a new shell and type :
$ apt-get update
$ apt-get install linux-source
$ cd /usr/src/
$ tar xjf linux-source-XX.XX.XX (with XX.XX.XX depends on your system version)
$ ln -s /usr/src/linux-source-XX.XX.XX /usr/src/linux
Now that you have your kernel source, we will configure them.
In your shell, execute :
$ apt-get install qt3-apps-dev g++
$ cd /usr/src/linux-source-XX.XX.XX
Run either :
$ make xconfig # (Qt-based) (recommended)
$ make gconfig # (GTK-based)
$ make menuconfig # (You need to install libncurses4-dev first)
And set the features this way :
N.B: When you execute "make xconfig" all the features are set in a tree. For some features, you'll find in brackets the path in the kernel tree to reach the feature you want to enable.
Required for every nodes :
CONFIG_EXPERIMENTAL=y (GENERAL SETUP -> PROMPT FOR DEV AND OR INCOMPLETE DRIVERS)
CONFIG_SYSVIPC=y (GENERAL SETUP -> SYSTEM V IPC)
CONFIG_PROC_FS=y
CONFIG_NET=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> TCP/IP NETWORKING)
CONFIG_INET=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> TCP/IP NETWORKING)
CONFIG_IPV6=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> TCP/IP NETWORKING)
CONFIG_IPV6_MIP6=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> IPV6 PROTOCOL)
CONFIG_XFRM=y
CONFIG_XFRM_USER=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> TRANSFORMATION USER CONFIGURATION INTERFACE)
CONFIG_XFRM_SUB_POLICY=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> TRANSFORMATION SUB POLICY SUPPORT)
CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> IPV6 PROTOCOL -> IPV6: MIPV6 ROUTE OPTIMISATION MODE)
The Home Agent and Mobile Node also need:
CONFIG_IPV6_TUNNEL=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> IPV6 PROTOCOL -> IPV6: IPV6 IN IPV6 TUNNEL)
CONFIG_IP_ADVANCED_ROUTER=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> IP: ADVANCED ROUTER)
CONFIG_IPV6_MULTIPLE_TABLES=y
The Mobile Node also needs:
CONFIG_IPV6_SUBTREES=y
For some additional movement indicators on the Mobile Node you may set:
CONFIG_ARPD=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> IP: ARP DAEMON SUPPORT)
For IPsec support you need at least:
CONFIG_INET6_ESP=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> IPV6 PROTOCOL -> IPV6 ESP TRANSFORMATION)
If you plan to use IPsec tunnel mode you need:
CONFIG_NET_KEY=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> PF_KEY SOCKETS)
CONFIG_NET_KEY_MIGRATE=y (NETWORKING SUPPORT -> NETWORKING OPTIONS -> PF_KEY SOCKETS -> PF_KEY MIGRATE)
Do not turn CONFIG_IPV6_MIP6_DEBUG on
In order to be sure, you did it in a proper way, there is a script in the PMIP6D directory which is capable of checking if the kernel settings are set correctly.
To check your kernel, open a new shell, go to your PMIP6D directory and type :
$ ./chkconf_kernel.sh /usr/src/linux-source-XX.XX.XX
1.2) Kernel recompilation
-----------------------------------------------
Now that you gave the good options to your kernel, we need to recompile it.
$ cd /usr/src/linux-source-XX.XX.XX
$ make && make modules_install && make install
N.B: If you have many cores in your CPU and wand to use all of them in order to make the compilation faster, you might add "-jX" option to your "make" command with X=nb of core. For example for a dual-core CPU, type "make -j2". For a quad-core CPU, type "make -j4"
$ mkinitramfs -o /boot/initrd.img-XX.XX.XX XX.XX.XX
$ update-grub
N.B: If your computer does not reboot on the good kernel, edit and update the "default" line inside the following file -> /boot/grub/grub.cfg
You should now reboot your system in order to take into account modifications you made on your kernel
$ reboot
/*******************************************************************************
OPENAIRINTERFACE 0/1/2/3
Copyright(c) 1999 - 2010 EURECOM
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, as published by the Free Software Foundation.
This program is distributed in the hope it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
The full GNU General Public License is included in this distribution in
the file called "COPYING".
Contact Information:
Openair Admin <openair_admin@eurecom.fr>
Mailing List <openair_tech@eurecom.fr>
Forums http://forums.eurecom.fr/openairinterface
Eurecom, 2229, route des cretes, 06560 Valbonne Sophia Antipolis, France
*******************************************************************************/
/*________________________OPENAIR/OPENAIR3/________________________
File : README
Authors : OpenAir3
Company : EURECOM
Emails : openair3@eurecom.fr
________________________________________________________________*/
-------------------------
Table of contents
-------------------------
The content of this README is the following:
1) What is this block about in OpenAirInterface
2) Folders and files description
3) Organization of the folders and their dependencies
4) Hardware requirement and How to build PMIP6D
5) How to run a simple experimentation
------------------------------------------------
1) What is this block about in OpenAirInterface ?
-----------------------------------------------
Proxy Mobile IPv6 (or PMIPv6, or PMIP) is a network-based mobility management protocol standardized by IETF. It is a protocol for building a common and access technology independent of mobile core networks, accommodating various access technologies such as WiMAX, 3GPP, 3GPP2 and WLAN based access architectures. Proxy Mobile IPv6 is the only network-based mobility management protocol standardized by IETF.
-----------------------------------------
2) Folders and files description
-----------------------------------------
File/Folder Description
----------- -----------
- freeradius-client-1.1.6/ contains files for the Radius client
- examples contains FreeRADIUS server configuration file examples
- mipv6-daemon-umip-0.4/ contains files distributed with MIPL linux package
- extras/ contains example configuration files and scripts for lauching executables
- include/ contains files distributed with MIPL linux package
- libmissing/ contains files distributed with MIPL linux package
- libnetlink/ contains files distributed with MIPL linux package
- man/ contains manual files of MIPL and PMIP
- src/ contains files distributed with MIPL linux package
- src/pmip/ contains PMIP files
----------------------------------------------------
3) Organization of the folders and their dependencies
----------------------------------------------------
The 2 folders have the following structures :
- freeradius-client-1.1.6/ is the FreeRADIUS client v1.1.6 source code that we modified.
- pmipv6-daemon-umip-0.4/ is the Proxy Mobile IPv6 code built on top of UMIP 0.4
PMIP6D is quite independent from the other OpenAirInterface blocks.
-----------------------------------------
4) Hardware requirement and How to build PMIP6D
-----------------------------------------
4.1) HARDWARE REQUIREMENT
In our PMIP6D implementation, the Mobile Node's attachment and detachment phases are done at layer 2 using SYSLOG messages exchanged between the Access Point and the MAG.
Thus, it's mandatory for your Access Point to act as SYSLOG client.
4.2) HOW TO BUILD PMIP6D
WARNING: The PMIP6D has been developped and validated under Linux UBUNTU 10.04 LTS x86 distribution.
We can not confirm it will work with other systems.
In this document, "$THEGOODPATH" indicates the directory path where you place the PMIP6D code. (we suggest you to place it there -> /usr/local/src/)
4.2.1) Installation of the required packages on MAG and LMA machines :
libpcap-dev / indent / bison / flex / iproute-dev / macchanger / libc6-dev / libssl-dev / autoconf / libtool / python-netaddr
Open a new shell and type :
$ apt-get install libpcap-dev indent bison flex iproute-dev libc6-dev libssl-dev autoconf libtool macchanger python-netaddr
4.2.2) Kernel recompilation
PMIP6D does not require to modify/patch the kernel, however some features are by default disabled inside the official Ubuntu kernels and we need to enable them.
Follow the "INSTALL.kernel" text file to know how to set up correctly your kernel.
4.2.3) Proxy Mobile-IPv6 Daemon and FreeRADIUS installation
Follow the "INSTALL" text file to know how to build PMIP6D tool.
----------------------------------------------------------------
5) How to run a simple experimentation
----------------------------------------------------------------
In order to create a PMIP domain composed of 3 nodes (1 LMA + 2 MAGS) (see the picture "$THEGOODPATH/pmipv6-daemon-umip-0.4/src/pmip/docs/images/PMIPv6_schema_example_1LMA_2MRs.jpg"):
LMA, MAG1 and MAG2 are in the same network which has for IPv6 prefix 2001:100::/64
With LMA: Ethernet1=2001:100::1 / MAG1: Ethernet1=2001:100::2 & Ethernet2=2001:1::2 / MAG2: Ethernet1=2001:100::3 & Ethernet2=2001:1::3
On LMA execute -> ./$THEGOODPATH/pmipv6-daemon-umip-0.4/extras/UMIP0.4_LMA_UBUNTU.10.04.py
On MAG1 execute -> ./$THEGOODPATH/pmipv6-daemon-umip-0.4/extras/UMIP0.4_MAG1_UBUNTU.10.04.py
On MAG2 execute -> ./$THEGOODPATH/pmipv6-daemon-umip-0.4/extras/UMIP0.4_MAG2_UBUNTU.10.04.py
EURECOM
Proxy Mobile IPv6 Daemon - VERSION 0.4.1 (December 2011)
#!/bin/sh
# Simple shell script to check kernel configuration sanity
# for use with MIPL Mobile IPv6
#
# Author: Antti Tuominen <anttit@tcs.hut.fi>
#
# $Id: chkconf_kernel.sh 1.3 05/05/16 12:15:16+03:00 vnuorval@tcs.hut.fi $
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
# Default settings for kernel
EXPERIMENTAL=y
SYSVIPC=y
PROC_FS=y
NET=y
NET_KEY=y
NET_KEY_MIGRATE=y
INET=y
IPV6=y
INET6_ESP=y
IPV6_TUNNEL=y
IPV6_MULTIPLE_TABLES=y
IPV6_SUBTREES=y
IPV6_MIP6=y
XFRM=y
XFRM_USER=y
XFRM_SUB_POLICY=y
INET6_XFRM_MODE_ROUTEOPTIMIZATION=y
COMMON="EXPERIMENTAL SYSVIPC PROC_FS NET INET IPV6 IPV6_MIP6 \
XFRM XFRM_USER XFRM_SUB_POLICY INET6_XFRM_MODE_ROUTEOPTIMIZATION"
MNHA="IPV6_TUNNEL IPV6_MULTIPLE_TABLES"
MN="IPV6_SUBTREES"
IPSEC="INET6_ESP"
PFKEY="NET_KEY NET_KEY_MIGRATE"
TAGS="$COMMON $MNHA $MN $IPSEC $PFKEY"
if [ "$1" = "" ] ; then
KERNELCONFIG="/proc/config.gz"
CAT=zcat
else
LINUX=$1
KERNELCONFIG="$LINUX/.config"
CAT=cat
fi
if [ ! -f $KERNELCONFIG ] ; then
echo "$KERNELCONFIG does not exist."
exit 1
fi
WARN=0;
echo
echo "Checking kernel configuration..."
echo "Using $KERNELCONFIG";
for TAG in $TAGS ; do
VAL=`$CAT $KERNELCONFIG | sed -ne "/$TAG[= ]/s/^CONFIG_$TAG[= ]//gp"`;
eval "DFLT=\$$TAG";
if [ "$VAL" != "$DFLT" ] ; then
if [ -z "$VAL" ] ; then
VERDICT="not supported";
else
VERDICT="$VAL";
fi
echo " Warning: CONFIG_$TAG should be set to $DFLT ($VERDICT)";
let WARN=$WARN+1;
fi
done
echo
if [ $WARN -eq 0 ] ; then
echo "All kernel options are as they should.";
else
echo "Above $WARN options may conflict with MIPL.";
echo "If you are not sure, use the recommended setting.";
fi
echo
$Id: BUGS,v 1.2 2007/06/21 18:35:00 cparker Exp $
Testing can show the presense of bugs, but not their absence.
-- Dijkstra
The get_seqnbr function in build_req.c sometimes returns the same
number, if invoked from multiple processes at the same time. This
occurs only if a lot of process try to read the sequence file,
so I suspect a race condition in the locking code, but I can't
find one. Any help is appreciated.
Radlogin respectively send_server in sendserver.c does not honour a
ACCESS_CHALLENGE packet from the RADIUS server.
There are interoperability problems with radiusd 1.16... but all the Merit
radiusds I tried worked (last one I tried 2.4.21). There is an option to
configure (--enable-radius-116) to kludge around this... It turned out to be
a bug in radiusd 1.16: it doesn't include the shared secret in the digest
calculation. See patches/radiusd-1.16.accounting.diff for a real fix.
There are some issues that occur on occasion when defining clients with
hostnames, rather than dotted-quad IPs.
See the respective source files to find out which copyrights apply.
------------------------------------------------------------------------------
Copyright (c) 1998 The NetBSD Foundation, Inc.
All rights reserved.
This code is derived from software contributed to The NetBSD Foundation
by Christos Zoulas.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the NetBSD
Foundation, Inc. and its contributors.
4. Neither the name of The NetBSD Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Copyright (c) 2003 Maxim Sobolev <sobomax@FreeBSD.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
------------------------------------------------------------------------------
Copyright (C) 1995,1996,1997,1998 Lars Fenneberg <lf@elemental.net>
Permission to use, copy, modify, and distribute this software for any
purpose and without fee is hereby granted, provided that this copyright and
permission notice appear on all copies and supporting documentation, the
name of Lars Fenneberg not be used in advertising or publicity pertaining to
distribution of the program without specific prior permission, and notice be
given in supporting documentation that copying and distribution is by
permission of Lars Fenneberg.
Lars Fenneberg makes no representations about the suitability of this
software for any purpose. It is provided "as is" without express or implied
warranty.
------------------------------------------------------------------------------
Copyright 1992 Livingston Enterprises, Inc.
Livingston Enterprises, Inc. 6920 Koll Center Parkway Pleasanton, CA 94566
Permission to use, copy, modify, and distribute this software for any
purpose and without fee is hereby granted, provided that this copyright
and permission notice appear on all copies and supporting documentation,
the name of Livingston Enterprises, Inc. not be used in advertising or
publicity pertaining to distribution of the program without specific
prior permission, and notice be given in supporting documentation that
copying and distribution is by permission of Livingston Enterprises, Inc.
Livingston Enterprises, Inc. makes no representations about the suitability
of this software for any purpose. It is provided "as is" without express
or implied warranty.
------------------------------------------------------------------------------
[C] The Regents of the University of Michigan and Merit Network, Inc. 1992,
1993, 1994, 1995 All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, provided
that the above copyright notice and this permission notice appear in all
copies of the software and derivative works or modified versions thereof,
and that both the copyright notice and this permission and disclaimer
notice appear in supporting documentation.
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF THE
UNIVERSITY OF MICHIGAN AND MERIT NETWORK, INC. DO NOT WARRANT THAT THE
FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET LICENSEE'S REQUIREMENTS OR
THAT OPERATION WILL BE UNINTERRUPTED OR ERROR FREE. The Regents of the
University of Michigan and Merit Network, Inc. shall not be liable for any
special, indirect, incidental or consequential damages with respect to any
claim by Licensee or any third party arising from use of the software.
------------------------------------------------------------------------------
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991.
All rights reserved.
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.
License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD5 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.
RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.
These notices must be retained in any copies of any part of this
documentation and/or software.
------------------------------------------------------------------------------
This diff is collapsed.
#
# $Id: Makefile.am,v 1.3 2006/03/14 17:14:27 janakj Exp $
#
# Copyright (C) 1997 Lars Fenneberg
#
# See the file COPYRIGHT for the respective terms and conditions.
# If the file is missing contact me at lf@elemental.net
# and I'll send you a copy.
#
#
AUTOMAKE_OPTIONS = foreign
INCLUDES = -D_GNU_SOURCE
ACLOCAL = @ACLOCAL@
LTLIBOBJS = @LTLIBOBJS@
SUBDIRS = include lib src etc man doc patches login.radius rpm
EXTRA_DIST = BUGS CHANGES COPYRIGHT README README.radexample
CLEANFILES = *~
This diff is collapsed.
$Id: README,v 1.7 2007/03/02 15:05:56 cparker Exp $
FreeRADIUS Client is a framework and library for writing RADIUS Clients
which additionally includes radlogin, a flexible RADIUS aware login
replacement, a command line program to send RADIUS accounting records
and a utility to query the status of a (Merit) RADIUS server.
All these programs are based on a library which lets you develop a
RADIUS-aware application in less than 50 lines of C code.
The most current documentation is available online at:
http://wiki.freeradius.org/Radiusclient
It is highly portable and runs on Linux, many BSD variants and Solaris.
FreeRADIUS Client is known to compile on the following platforms:
Compiled on:
i386-pc-bsdi2.1
sparc-unknown-netbsd1.2.1
i386-unknown-freebsd2.2.6
Compiled and tested on:
x86 Linux
x86_64 Linux
sparc-sun-solaris2.5.1
********* SECURITY NOTE *********
This code has not yet been fully audited by the FreeRADIUS project, as it
has only recently been adopted by the FreeRADIUS project to continue
development and support. Any security related issues should be reported
to the project either via email:
security at freeradius dot org
or via the FreeRADIUS bugtracker:
http://bugs.freeradius.org/enter_bug.cgi?product=freeradius-client
As is the case with any open-source project, patches in addition to
bug reports are always welcome.
Additional Security related information on the FreeRADIUS project:
http://www.freeradius.org/security.html
********* END SECURITY NOTE *********
$Id: README.radexample,v 1.1.1.1 2003/12/02 10:39:17 sobomax Exp $
In src/radexample.c is a small example on how to use the library
lib/libradclient.a.
You only need to include radiusclient.h into your applications and link
against the library. For this example to work your radiusclient config file
has to be setup right.
I make no guarantees that the library interface stays the same as
radiusclient evolves, but I think that the whole thing is so simple that the
changes to source code which uses this library should always be trivial.
This diff is collapsed.
This diff is collapsed.
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.in by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* is big endian arch ? */
/* #undef BIG_ENDIAN */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
/* #undef CRAY_STACKSEG_END */
/* Define to 1 if using `alloca.c'. */
/* #undef C_ALLOCA */
/* Define to 1 to use bsd-style gethostbyaddr_r() */
/* #undef GETHOSTBYADDRRSTYLE_BSD */
/* Define to 1 to use gnu-style gethostbyaddr_r() */
#define GETHOSTBYADDRRSTYLE_GNU /**/
/* Define to 1 to use sysv-style gethostbyaddr_r() */
/* #undef GETHOSTBYADDRRSTYLE_SYSV */
/* Define to 1 us gethostbyaddr_r() */
#define GETHOSTBYADDR_R 1
/* Define to 1 to use bsd-style gethostbyname_r() */
/* #undef GETHOSTBYNAMERSTYLE_BSD */
/* Define to 1 to use gnu-style gethostbyname_r() */
#define GETHOSTBYNAMERSTYLE_GNU /**/
/* Define to 1 to use sysv-style gethostbyname_r() */
/* #undef GETHOSTBYNAMERSTYLE_SYSV */
/* Define to 1 to use gethostbyname_r() */
#define GETHOSTBYNAME_R /**/
/* Define to 1 if you have `alloca', as a function or macro. */
#define HAVE_ALLOCA 1
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
#define HAVE_ALLOCA_H 1
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <crypt.h> header file. */
#define HAVE_CRYPT_H 1
/* does /dev/urandom exist ? */
#define HAVE_DEV_URANDOM 1
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the `fcntl' function. */
#define HAVE_FCNTL 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `flock' function. */
#define HAVE_FLOCK 1
/* Define to 1 if you have the `getdomainname' function. */
#define HAVE_GETDOMAINNAME 1
/* Define to 1 if you have the `gethostname' function. */
#define HAVE_GETHOSTNAME 1
/* Define to 1 if you have the <getopt.h> header file. */
#define HAVE_GETOPT_H 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `crypt' library (-lcrypt). */
#define HAVE_LIBCRYPT 1
/* Define to 1 if you have the `nsl' library (-lnsl). */
#define HAVE_LIBNSL 1
/* Define to 1 if you have the `socket' library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1
/* Define to 1 if you have the `rand' function. */
#define HAVE_RAND 1
/* Define to 1 if you have the `random' function. */
#define HAVE_RANDOM 1
/* shadow password support */
/* #undef HAVE_SHADOW_PASSWORDS */
/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1
/* Define to 1 if you have the `stricmp' function. */
/* #undef HAVE_STRICMP */
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/*struct utsname has domainname field */
/* #undef HAVE_STRUCT_UTSNAME_DOMAINNAME */
/* Define to 1 if you have the `sysinfo' function. */
#define HAVE_SYSINFO 1
/* Define to 1 if you have the <syslog.h> header file. */
#define HAVE_SYSLOG_H 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/fcntl.h> header file. */
#define HAVE_SYS_FCNTL_H 1
/* Define to 1 if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/signal.h> header file. */
#define HAVE_SYS_SIGNAL_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/utsname.h> header file. */
#define HAVE_SYS_UTSNAME_H 1
/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
/* Define to 1 if you have the `uname' function. */
#define HAVE_UNAME 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* is little endian arch ? */
#define LITTLE_ENDIAN 1
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
/* do you need the sig* prototypes ? */
/* #undef NEED_SIG_PROTOTYPES */
#define PACKAGE "radiusclient"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* include code to kludge aroung Livingston RADIUS server 1.16 */
/* #undef RADIUS_116 */
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* SCP support */
/* #undef SCP */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
/* #undef STACK_DIRECTION */
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */
#define VERSION "1.1.6"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
# endif
#endif
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `long int' if <sys/types.h> does not define. */
/* #undef off_t */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* config.h.in. Generated from configure.in by autoheader. */
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
/* is big endian arch ? */
#undef BIG_ENDIAN
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
#undef CRAY_STACKSEG_END
/* Define to 1 if using `alloca.c'. */
#undef C_ALLOCA
/* Define to 1 to use bsd-style gethostbyaddr_r() */
#undef GETHOSTBYADDRRSTYLE_BSD
/* Define to 1 to use gnu-style gethostbyaddr_r() */
#undef GETHOSTBYADDRRSTYLE_GNU
/* Define to 1 to use sysv-style gethostbyaddr_r() */
#undef GETHOSTBYADDRRSTYLE_SYSV
/* Define to 1 us gethostbyaddr_r() */
#undef GETHOSTBYADDR_R
/* Define to 1 to use bsd-style gethostbyname_r() */
#undef GETHOSTBYNAMERSTYLE_BSD
/* Define to 1 to use gnu-style gethostbyname_r() */
#undef GETHOSTBYNAMERSTYLE_GNU
/* Define to 1 to use sysv-style gethostbyname_r() */
#undef GETHOSTBYNAMERSTYLE_SYSV
/* Define to 1 to use gethostbyname_r() */
#undef GETHOSTBYNAME_R
/* Define to 1 if you have `alloca', as a function or macro. */
#undef HAVE_ALLOCA
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
#undef HAVE_ALLOCA_H
/* Define to 1 if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H
/* Define to 1 if you have the <crypt.h> header file. */
#undef HAVE_CRYPT_H
/* does /dev/urandom exist ? */
#undef HAVE_DEV_URANDOM
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#undef HAVE_DIRENT_H
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the `fcntl' function. */
#undef HAVE_FCNTL
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the `flock' function. */
#undef HAVE_FLOCK
/* Define to 1 if you have the `getdomainname' function. */
#undef HAVE_GETDOMAINNAME
/* Define to 1 if you have the `gethostname' function. */
#undef HAVE_GETHOSTNAME
/* Define to 1 if you have the <getopt.h> header file. */
#undef HAVE_GETOPT_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `crypt' library (-lcrypt). */
#undef HAVE_LIBCRYPT
/* Define to 1 if you have the `nsl' library (-lnsl). */
#undef HAVE_LIBNSL
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#undef HAVE_NDIR_H
/* Define to 1 if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Define to 1 if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H
/* Define to 1 if you have the <pwd.h> header file. */
#undef HAVE_PWD_H
/* Define to 1 if you have the `rand' function. */
#undef HAVE_RAND
/* Define to 1 if you have the `random' function. */
#undef HAVE_RANDOM
/* shadow password support */
#undef HAVE_SHADOW_PASSWORDS
/* Define to 1 if you have the <signal.h> header file. */
#undef HAVE_SIGNAL_H
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP
/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR
/* Define to 1 if you have the `strftime' function. */
#undef HAVE_STRFTIME
/* Define to 1 if you have the `stricmp' function. */
#undef HAVE_STRICMP
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/*struct utsname has domainname field */
#undef HAVE_STRUCT_UTSNAME_DOMAINNAME
/* Define to 1 if you have the `sysinfo' function. */
#undef HAVE_SYSINFO
/* Define to 1 if you have the <syslog.h> header file. */
#undef HAVE_SYSLOG_H
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
#undef HAVE_SYS_DIR_H
/* Define to 1 if you have the <sys/fcntl.h> header file. */
#undef HAVE_SYS_FCNTL_H
/* Define to 1 if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
#undef HAVE_SYS_NDIR_H
/* Define to 1 if you have the <sys/signal.h> header file. */
#undef HAVE_SYS_SIGNAL_H
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/utsname.h> header file. */
#undef HAVE_SYS_UTSNAME_H
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H
/* Define to 1 if you have the `uname' function. */
#undef HAVE_UNAME
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* is little endian arch ? */
#undef LITTLE_ENDIAN
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* do you need the sig* prototypes ? */
#undef NEED_SIG_PROTOTYPES
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* include code to kludge aroung Livingston RADIUS server 1.16 */
#undef RADIUS_116
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
/* SCP support */
#undef SCP
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
#undef VERSION
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `long int' if <sys/types.h> does not define. */
#undef off_t
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#
# $Id: Makefile.am,v 1.1 2004/11/17 13:13:42 janakj Exp $
#
# Copyright (C) 1997 Lars Fenneberg
#
# See the file COPYRIGHT for the respective terms and conditions.
# If the file is missing contact me at lf@elemental.net
# and I'll send you a copy.
#
#
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = README.debian changelog conffiles control copyright dirs \
docs examples files libradius-ng-dev.dirs libradius-ng-dev.files \
libradius-ng.conffiles libradius-ng.dirs libradius-ng.files \
libradius-ng.postinst libradius-ng.substvars postrm \
radiusclient-ng.dirs radiusclient-ng.files \
radiusclient-ng.postinst rules substvars watch
radiusclient-ng for DEBIAN
--------------------------
Radiusclient is a /bin/login replacement which gets called by a getty
to log in a user and to setup the user's login environment. Normal
login programs just check the login name and password which the user
entered against the local password file (/etc/passwd, /etc/shadow). In
contrast to that Radiusclient also uses the RADIUS protocol to
authenticate the user.
radiusclient-ng is a version with enhanced API in the libradiusclient
library by Maxim Sobolev <sobomax@portaone.com>
Please view /usr/doc/radiusclient-ng/instop.html with your favourite WWW
browser, e.g lynx or netscape.
Config files are in /etc/radiusclient-ng.
Jan Janak <jan@iptel.org>, Mon, 15 Nov 2004 12:20:42 +0100
radiusclient-ng (0.5.0) unstable; urgency=low
* New upstream release
-- Jan Janak <jan@iptel.org> Mon, 23 May 2005 20:37:22 +0200
radiusclient-ng (0.4.8) unstable; urgency=low
* Initial Release.
-- Jan Janak <jan@iptel.org> Mon, 15 Nov 2004 12:20:43 +0100
/etc/radiusclient-ng/issue
/etc/radiusclient-ng/port-id-map
/etc/radiusclient-ng/servers
Source: radiusclient-ng
Section: admin
Priority: extra
Maintainer: Jan Janak <jan@iptel.org>
Build-Depends: debhelper, libtool
Standards-Version: 3.5.2
Package: radiusclient-ng
Architecture: any
Section: admin
Depends: libradius-ng, perl5, ${shlibs:Depends}
Conflicts: radiusclient1
Description: /bin/login replacement which uses the RADIUS protocol for authentication.
Radiusclient is a /bin/login replacement which gets called by a getty
to log in a user and to setup the user's login environment. Normal
login programs just check the login name and password which the user
entered against the local password file (/etc/passwd, /etc/shadow).
In contrast to that Radiusclient also uses the RADIUS protocol to
authenticate the user.
.
The "-ng" version of libradiusclient contains enhanced API made by
Maxim Sobolev <sobomax@portaone.com>
.
This is the main binary archive.
Package: libradius-ng-dev
Architecture: any
Section: libdevel
Depends: libradius-ng, libc6-dev
Description: /bin/login replacement with RADIUS. Header file and link lib.
Radiusclient is a /bin/login replacement which gets called by a getty
to log in a user and to setup the user's login environment. Normal
login programs just check the login name and password which the user
entered against the local password file (/etc/passwd, /etc/shadow).
In contrast to that Radiusclient also uses the RADIUS protocol to
authenticate the user.
.
The "-ng" version of libradiusclient contains enhanced API made by
Maxim Sobolev <sobomax@portaone.com>
.
This is the development package, to be able to develop programs that
uses the RADIUS library.
Package: libradius-ng
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Description: /bin/login replacement with RADIUS. Shared lib to used by programs.
Radiusclient is a /bin/login replacement which gets called by a getty
to log in a user and to setup the user's login environment. Normal
login programs just check the login name and password which the user
entered against the local password file (/etc/passwd, /etc/shadow). In
contrast to that Radiusclient also uses the RADIUS protocol to
authenticate the user.
.
The "-ng" version of libradiusclient contains enhanced API made by
Maxim Sobolev <sobomax@portaone.com>
.
This is the libraries needed by any client needing the RADIUS protocol.
This package was debianized by Jan Janak <jan@iptel.org> on
Mon, 15 Nov 2004 12:20:42 +0100.
The debian package files have been derived from the original
radiusclient1 debian package.
It was downloaded from ftp.cityline.net/pub/radiusclient/
Upstream Author(s): Lars Fenneberg <lf@elemental.net>
Copyright:
See the respective source files to find out which copyrights apply.
------------------------------------------------------------------------------
Copyright (C) 1995,1996,1997,1998 Lars Fenneberg <lf@elemental.net>
Permission to use, copy, modify, and distribute this software for any
purpose and without fee is hereby granted, provided that this copyright and
permission notice appear on all copies and supporting documentation, the
name of Lars Fenneberg not be used in advertising or publicity pertaining to
distribution of the program without specific prior permission, and notice be
given in supporting documentation that copying and distribution is by
permission of Lars Fenneberg.
Lars Fenneberg makes no representations about the suitability of this
software for any purpose. It is provided "as is" without express or implied
warranty.
------------------------------------------------------------------------------
Copyright 1992 Livingston Enterprises, Inc.
Livingston Enterprises, Inc. 6920 Koll Center Parkway Pleasanton, CA 94566
Permission to use, copy, modify, and distribute this software for any
purpose and without fee is hereby granted, provided that this copyright
and permission notice appear on all copies and supporting documentation,
the name of Livingston Enterprises, Inc. not be used in advertising or
publicity pertaining to distribution of the program without specific
prior permission, and notice be given in supporting documentation that
copying and distribution is by permission of Livingston Enterprises, Inc.
Livingston Enterprises, Inc. makes no representations about the suitability
of this software for any purpose. It is provided "as is" without express
or implied warranty.
------------------------------------------------------------------------------
[C] The Regents of the University of Michigan and Merit Network, Inc. 1992,
1993, 1994, 1995 All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, provided
that the above copyright notice and this permission notice appear in all
copies of the software and derivative works or modified versions thereof,
and that both the copyright notice and this permission and disclaimer
notice appear in supporting documentation.
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF THE
UNIVERSITY OF MICHIGAN AND MERIT NETWORK, INC. DO NOT WARRANT THAT THE
FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET LICENSEE'S REQUIREMENTS OR
THAT OPERATION WILL BE UNINTERRUPTED OR ERROR FREE. The Regents of the
University of Michigan and Merit Network, Inc. shall not be liable for any
special, indirect, incidental or consequential damages with respect to any
claim by Licensee or any third party arising from use of the software.
------------------------------------------------------------------------------
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991.
All rights reserved.
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.
License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD5 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.
RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.
These notices must be retained in any copies of any part of this
documentation and/or software.
------------------------------------------------------------------------------
etc/radiusclient-ng
usr/sbin
usr/lib
usr/include
usr/man/man3
BUGS README README.radexample doc/instop.html
login.radius/migs/README
login.radius/migs/ip-down
login.radius/migs/ip-up
login.radius/migs/login.radius
src/radexample.c
radiusclient-ng_0.5.1_i386.deb admin extra
libradius-ng-dev_0.5.1_i386.deb libdevel extra
libradius-ng_0.5.1_i386.deb libs extra
usr/include/freeradius-client.h
usr/lib/libradiusclient-ng.la
usr/lib/libradiusclient-ng.a
/etc/radiusclient-ng/radiusclient.conf
/etc/radiusclient-ng/dictionary
/etc/radiusclient-ng/dictionary.ascend
/etc/radiusclient-ng/dictionary.compat
/etc/radiusclient-ng/dictionary.merit
#!/bin/sh
if [ "$1" = "configure" ]; then
# Call ldconfig
ldconfig
fi
#DEBHELPER#
etc/radiusclient-ng/issue
etc/radiusclient-ng/port-id-map
etc/radiusclient-ng/radiusclient.conf
etc/radiusclient-ng/servers
usr/sbin/radlogin
usr/sbin/radstatus
usr/sbin/radacct
usr/sbin/radexample
usr/sbin/login.radius
#!/bin/sh
if [ -d /usr/doc -a ! -e /usr/doc/radiusclient-ng -a -d /usr/share/doc/radiusclient-ng ]; then
ln -sf ../share/doc/radiusclient-ng /usr/doc/radiusclient-ng
fi
chmod 600 /etc/radiusclient-ng/servers
#DEBHELPER#
This diff is collapsed.
# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# Site Directory Pattern Version Script
ftp.cityline.net /pub/radiusclient radiusclient-*.tar.gz debian uupdate
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
(\I)
-----------------------------------------------------
\S \R (\N) (port \L)
-----------------------------------------------------
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment