freeradius.git
19 years ago Added RADIUS attribute output, so we can make "radzap"
aland [Wed, 6 Apr 2005 17:41:45 +0000 (17:41 +0000)]
Added RADIUS attribute output, so we can make "radzap"
a shell script wrapper around radwho

19 years ago -l hasn't worked for years now. Delete it.
aland [Wed, 6 Apr 2005 16:36:08 +0000 (16:36 +0000)]
-l hasn't worked for years now.  Delete it.

Rename -h to -S.  -h should be "help"

19 years ago radwho no longer calls read_mainconfig(), which makes it a little
aland [Wed, 6 Apr 2005 00:54:05 +0000 (00:54 +0000)]
radwho no longer calls read_mainconfig(), which makes it a little
easier to use radwho(), without that function trying to open
sockets, etc.

It also means that it becomes easier to make 'radzap' a shell-script
wrapper around radwho & radclient, which would result in less code

19 years agoCount online users correctly (through a separate query) in user_finger.
kkalev [Tue, 5 Apr 2005 13:32:23 +0000 (13:32 +0000)]
Count online users correctly (through a separate query) in user_finger.

19 years agoFix a typo
kkalev [Mon, 4 Apr 2005 11:31:55 +0000 (11:31 +0000)]
Fix a typo

19 years ago Add a test to prevent division by zero.
nbk [Sun, 3 Apr 2005 17:35:24 +0000 (17:35 +0000)]
Add a test to prevent division by zero.
Bug reported by Jakub Wartak.

19 years agoreplace a goto label with a conditional block
fcusack [Fri, 1 Apr 2005 06:21:44 +0000 (06:21 +0000)]
replace a goto label with a conditional block

19 years agoremove allocation failure check and data zeroing from 1.38
fcusack [Fri, 1 Apr 2005 06:10:19 +0000 (06:10 +0000)]
remove allocation failure check and data zeroing from 1.38
(allocation cannot fail, data is always set to sane values per config defaults)

19 years ago document redundant-load-balance section.
aland [Thu, 31 Mar 2005 23:48:58 +0000 (23:48 +0000)]
document redundant-load-balance section.

It's a bad name, but it's clear, and easy to explain.

19 years ago In addition to groups
aland [Thu, 31 Mar 2005 23:12:20 +0000 (23:12 +0000)]
In addition to groups
redundant
load-balance

we now have
redundant-load-balance

which enables simple configuration of the *combination* of
load-balancing and redundancy for more than 2 modules.

e.g. Using just "redundant" and "load-balance", try to configure
the server to handle all of the fail-over and load-balancing cases
for 3 or more equivalent databases.  The config files quickly blow
up, due to combinatorics.

This new group name combines the behavior of redundant and
load-balance, with no more configuration complexity of either
one.

19 years ago Quote args to grep, so Solaris grep doesn't get excited.
aland [Thu, 31 Mar 2005 18:13:02 +0000 (18:13 +0000)]
Quote args to grep, so Solaris grep doesn't get excited.

Patch from Jason Ornstein

19 years ago made xlat_find() check if the "module" is a RADIUS attribute
aland [Wed, 30 Mar 2005 21:32:55 +0000 (21:32 +0000)]
made xlat_find() check if the "module" is a RADIUS attribute

Made %{1}, etc. work again.  The previous re-arrangement of the
code broke it...

19 years ago Move docs to man page
aland [Wed, 30 Mar 2005 19:19:49 +0000 (19:19 +0000)]
Move docs to man page

19 years ago One-line fix to auto-discover NS-MTA-MD5 passwords, now that
aland [Wed, 30 Mar 2005 00:04:02 +0000 (00:04 +0000)]
One-line fix to auto-discover NS-MTA-MD5 passwords, now that
rlm_pap supports them

19 years ago Added support for NS-MTA-MD5-Passwords. This means we can delete
aland [Tue, 29 Mar 2005 23:58:20 +0000 (23:58 +0000)]
Added support for NS-MTA-MD5-Passwords.  This means we can delete
the rlm_ns_mta_md5 module, which was tiny, anyhow.  Moving the
functionality to rlm_pap ensures that all of the "hash" algorithms
are handled in one place, which makes management a little easier.

Testcase:

bob NS-MTA-MD5-Password := "8b29282c41e9ad6b5bcb4527f7c1141fyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"

clear-text password is "bob"

19 years ago return on error, don't call exit()
aland [Tue, 29 Mar 2005 23:53:49 +0000 (23:53 +0000)]
return on error, don't call exit()

19 years agoRevert to using the pointer names in sizeof's. Be sure to dereference
mgriego [Tue, 29 Mar 2005 21:46:04 +0000 (21:46 +0000)]
Revert to using the pointer names in sizeof's.  Be sure to dereference
pointers, though, so the sizes are correct.

19 years ago Don't print warning if we found a passwd
aland [Tue, 29 Mar 2005 21:30:43 +0000 (21:30 +0000)]
Don't print warning if we found a passwd

19 years ago print line numbers, too
aland [Tue, 29 Mar 2005 21:29:08 +0000 (21:29 +0000)]
print line numbers, too

19 years ago Don't put libtldl in single quotes, it confuses /bin/sh
aland [Tue, 29 Mar 2005 17:50:37 +0000 (17:50 +0000)]
Don't put libtldl in single quotes, it confuses /bin/sh

19 years agoAllow for :- default xlat returns for module calls.
mgriego [Mon, 28 Mar 2005 22:51:16 +0000 (22:51 +0000)]
Allow for :- default xlat returns for module calls.

19 years agoMoved the RLM_INSTALL line to the beginning of the install: block. This
mgriego [Mon, 28 Mar 2005 21:20:26 +0000 (21:20 +0000)]
Moved the RLM_INSTALL line to the beginning of the install: block.  This
fixes a problem with make install on the rlm_eap module where modules that
depend on libeap are installed before libeap itself, causing make install
to fail.

19 years ago Re-arrange the states in the loop() function. The transition
nbk [Mon, 28 Mar 2005 19:13:39 +0000 (19:13 +0000)]
Re-arrange the states in the loop() function. The transition
becomes STATE_RUN -> STATE_BACKLOG -> STATE_CLOSE

This is the same change made into radsqlrelay.c when fixing the
bug #206

19 years agoRemove the EAP submodule locking.
mgriego [Mon, 28 Mar 2005 17:39:03 +0000 (17:39 +0000)]
Remove the EAP submodule locking.

19 years agoChanged the malloc's for the inst->conns and inst->apc_conns back to using
mgriego [Mon, 28 Mar 2005 17:36:52 +0000 (17:36 +0000)]
Changed the malloc's for the inst->conns and inst->apc_conns back to using
sizeof(LDAP_CONN) since sizeof(inst->conns) was only using the size of the
pointer instead of the size of the structure.  Not enough memory was being
allocated causing a crash on instantiation of the rlm_ldap module.

19 years agoRerun autogen.sh (skipping libtoolize) with autoconf 2.59.
phampson [Sat, 26 Mar 2005 16:38:22 +0000 (16:38 +0000)]
Rerun autogen.sh (skipping libtoolize) with autoconf 2.59.

19 years agoUpdate Debian build process to link eap types statically against libeap
phampson [Sat, 26 Mar 2005 12:46:35 +0000 (12:46 +0000)]
Update Debian build process to link eap types statically against libeap
and rlm_eap_tls as needed.

19 years agoDon't automatically generate aclocal.m4 every time we autogen, as this
phampson [Sat, 26 Mar 2005 12:43:49 +0000 (12:43 +0000)]
Don't automatically generate aclocal.m4 every time we autogen, as this
introduces a dependancy on automake.
aclocal.m4 _can_ be regenerated, but must not be committed without the.
first line as in this version.

19 years agoMake sure autoconf 2.50+ is required here as well. (Already required in
phampson [Sat, 26 Mar 2005 12:40:15 +0000 (12:40 +0000)]
Make sure autoconf 2.50+ is required here as well. (Already required in
sub-directories w/configure.in)

19 years agoEscape function names when defining
phampson [Sat, 26 Mar 2005 12:39:19 +0000 (12:39 +0000)]
Escape function names when defining

19 years ago radsqlrelay needs $(INCLTDL)
aland [Sat, 26 Mar 2005 01:17:11 +0000 (01:17 +0000)]
radsqlrelay needs $(INCLTDL)

19 years agoReformat postgresql queries to remove TABS so that they my be copy/pasted directly...
pnixon [Fri, 25 Mar 2005 17:52:46 +0000 (17:52 +0000)]
Reformat postgresql queries to remove TABS so that they my be copy/pasted directly from logs to psql to make problem solving easier.

19 years agoActually calculate (if AcctStartTime exists) the AcctSessionTime for NASes who do...
pnixon [Fri, 25 Mar 2005 17:10:55 +0000 (17:10 +0000)]
Actually calculate (if AcctStartTime exists) the AcctSessionTime for NASes who do not send AcctSessionTime in Stop packets

19 years agoDon't call SSL_CTX_load_verify_locations. This function should only be
mgriego [Fri, 25 Mar 2005 14:41:37 +0000 (14:41 +0000)]
Don't call SSL_CTX_load_verify_locations.  This function should only be
used in a client environment as it causes us to load the system's CA list.
In a server environment, we only want to trust *our* CAs.  On many systems,
the system CA list contains all known trusted CAs.  If we trust these as
a server, we are potentially allowing lots of unknown users who have
legitimate certs from other CAs onto our network.

19 years agoPOSIX says that if a signal handler returns from handling a SIGSEGV signal,
mgriego [Fri, 25 Mar 2005 14:36:19 +0000 (14:36 +0000)]
POSIX says that if a signal handler returns from handling a SIGSEGV signal,
then the behavior is undefined.  On some systems, this results in a SIGSEGV
loop, causing the CPU to go to 100%.  Added a case in the singal handler
for SIGSEGV that just exits so that we don't dump core and we don't cause
an infinite loop.

19 years agoImplement OpenSSL static locking callbacks. This will allow us to
mgriego [Fri, 25 Mar 2005 14:34:06 +0000 (14:34 +0000)]
Implement OpenSSL static locking callbacks.  This will allow us to
unserialize access to the EAP submodules.  It also ensures that any
other modules that link against OpenSSL (ie ldaps, mysql with SSL, etc)
are truly threadsafe.

19 years ago-lkstat fix was commited to the (autogenerated) aclocal.m4 by accident.
phampson [Fri, 25 Mar 2005 14:03:35 +0000 (14:03 +0000)]
-lkstat fix was commited to the (autogenerated) aclocal.m4 by accident.
This is where it belongs.

19 years ago If weird EAP link mode, then link libeap, tls, ttls, and peap
aland [Thu, 24 Mar 2005 23:38:33 +0000 (23:38 +0000)]
If weird EAP link mode, then link libeap, tls, ttls, and peap
into the server.

19 years ago fix references to record_plus & friends
aland [Thu, 24 Mar 2005 23:32:04 +0000 (23:32 +0000)]
fix references to record_plus & friends

19 years ago Cleaned up libeap/Makefile, so it uses the module rules.mak,
aland [Thu, 24 Mar 2005 23:04:16 +0000 (23:04 +0000)]
Cleaned up libeap/Makefile, so it uses the module rules.mak,
and not it's own stuff.

Defined magic variable RLM_EAP_LINK_MODE, which should be set
to -static.  The server then links, runs, and installs!

19 years ago use: LINK_MODE += foo
aland [Thu, 24 Mar 2005 22:58:11 +0000 (22:58 +0000)]
use: LINK_MODE += foo
rather than: LINK_MODE=foo
to allow modules to over-ride link mode

19 years ago Use REQUEST_MAX_REGEX, and fix same regex bug that was fixed
aland [Thu, 24 Mar 2005 19:10:12 +0000 (19:10 +0000)]
    Use REQUEST_MAX_REGEX, and fix same regex bug that was fixed
        in revision 1.65 of src/main/valuepair.c

19 years ago Replace everything in libltdl, to "upgrade" to a newer version.
aland [Thu, 24 Mar 2005 17:57:18 +0000 (17:57 +0000)]
Replace everything in libltdl, to "upgrade" to a newer version.

"update" libtool to a newer version.

Update the configure scripts to use newer libtool, and libtldl

WARNING: running "autoreconf" (or, I guess aclocal) will
nuke aclocal.m4.  "autoreconf" will work, "./configure" will work,
but the "make" process will fail.

We should really figure out WTF is going on, and fix it...

19 years agoAdd a verbose logging option
pnixon [Thu, 24 Mar 2005 11:41:00 +0000 (11:41 +0000)]
Add a verbose logging option

19 years agoInsert a uniqueid into AcctSessionId field also, as both Postgresql and Oracle have...
pnixon [Thu, 24 Mar 2005 11:09:13 +0000 (11:09 +0000)]
Insert a uniqueid into AcctSessionId field also, as both Postgresql and Oracle have this field set to NUT NULL. (How did this code ever work with PG??)

19 years agoAdd Oracle comments
pnixon [Thu, 24 Mar 2005 09:24:54 +0000 (09:24 +0000)]
Add Oracle comments

19 years agoAdd Oracle support
pnixon [Thu, 24 Mar 2005 08:53:10 +0000 (08:53 +0000)]
Add Oracle support

19 years agoAdd support for Oracle
pnixon [Thu, 24 Mar 2005 08:35:30 +0000 (08:35 +0000)]
Add support for Oracle

19 years agoChanged SvTRUE(sv) with SvOK(sv). SvTRUE is _NOT_ what we want.
bjordanov [Thu, 24 Mar 2005 08:04:04 +0000 (08:04 +0000)]
Changed SvTRUE(sv) with SvOK(sv). SvTRUE is _NOT_ what we want.

19 years ago Deleted "component_names" and friends from modules.c, which means
aland [Thu, 24 Mar 2005 00:10:54 +0000 (00:10 +0000)]
Deleted "component_names" and friends from modules.c, which means
we don't need it in modules.h, and modcall.c shouldn't use it,
but should use it's own (already defined) array.

Simplified code, and updated it, based on use of data structures.
Deleting code & duplicate arrays is good.

19 years agoTurn off the build dependency for Oracle "Instant Client" rpms when oracle_support...
pnixon [Wed, 23 Mar 2005 20:35:56 +0000 (20:35 +0000)]
Turn off the build dependency for Oracle "Instant Client" rpms when oracle_support == 0

19 years ago More debug messages to clarify what's going on
aland [Wed, 23 Mar 2005 19:34:59 +0000 (19:34 +0000)]
More debug messages to clarify what's going on

19 years ago Minor code cleanups. No functional changes
aland [Wed, 23 Mar 2005 18:38:44 +0000 (18:38 +0000)]
Minor code cleanups.  No functional changes

19 years agoFixed rlm_perl hash issue. Now we support not only character string in scalar value
bjordanov [Wed, 23 Mar 2005 13:45:57 +0000 (13:45 +0000)]
Fixed rlm_perl hash issue. Now we support not only character string in scalar value
taken from %RAD_xxx hashes. Before if you want to return an integer value in RAD_REPLY
you have to say $RAD_REPLY{'Port-Limit'} = "1"; now it is possible to do it without ""
ie $RAD_REPLY{'Port-Limit'} = 1;

19 years agoForce set NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM' on every Oracle...
pnixon [Tue, 22 Mar 2005 06:07:55 +0000 (06:07 +0000)]
Force set NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM' on every Oracle connect. (If anyone can think of a better way to do this I am all ears)

19 years ago Removed all references to exit() from the file. We now exit
aland [Tue, 22 Mar 2005 02:00:52 +0000 (02:00 +0000)]
Removed all references to exit() from the file.  We now exit
gracefully from these calls.

19 years ago catch another record_init, missed by the previous commit
aland [Tue, 22 Mar 2005 00:58:10 +0000 (00:58 +0000)]
catch another record_init, missed by the previous commit

19 years ago Removed record_* functions from global visibility.
aland [Tue, 22 Mar 2005 00:57:11 +0000 (00:57 +0000)]
Removed record_* functions from global visibility.

Moved record_init to end of tls_handshake_send, as it is always
called after tls_handshake_send

19 years ago Moved record_* functions to tls_session_t structure, so that
aland [Tue, 22 Mar 2005 00:53:13 +0000 (00:53 +0000)]
Moved record_* functions to tls_session_t structure, so that
we can (hopefully) remove all inter-module linking.

It's not done yet (and untested), but TTLS should now NOT require
linking against rlm_eap_tls

19 years agoOoops. Add another space.
pnixon [Mon, 21 Mar 2005 22:00:43 +0000 (22:00 +0000)]
Ooops. Add another space.

19 years agoFix calls to da_sql_limit
pnixon [Mon, 21 Mar 2005 21:53:34 +0000 (21:53 +0000)]
Fix calls to da_sql_limit

19 years agoFix the calls to da_sql_limit
pnixon [Mon, 21 Mar 2005 21:50:12 +0000 (21:50 +0000)]
Fix the calls to da_sql_limit

19 years ago "exit $?" instead of "exit 1", to keep error codes
aland [Mon, 21 Mar 2005 21:13:06 +0000 (21:13 +0000)]
"exit $?" instead of "exit 1", to keep error codes

19 years ago Stop if we encounter an error
aland [Mon, 21 Mar 2005 21:09:22 +0000 (21:09 +0000)]
Stop if we encounter an error

19 years agoRename the badusers date field to incidentdate to avoid reserved words in databases...
kkalev [Mon, 21 Mar 2005 17:05:17 +0000 (17:05 +0000)]
Rename the badusers date field to incidentdate to avoid reserved words in databases. Bug found by
Peter Nixon

19 years agoCreate a new function da_sql_limit() and use that to pass LIMIT arguments to the...
kkalev [Mon, 21 Mar 2005 13:16:58 +0000 (13:16 +0000)]
Create a new function da_sql_limit() and use that to pass LIMIT arguments to the database layer
since the syntax is different between db vendors

19 years agoTrim semicolon from the end of the query if it exists.
pnixon [Mon, 21 Mar 2005 10:35:47 +0000 (10:35 +0000)]
Trim semicolon from the end of the query if it exists.

19 years ago The "proxy" and "proxy_reply" cases were missing when new_attribute
nbk [Sun, 20 Mar 2005 19:56:23 +0000 (19:56 +0000)]
The "proxy" and "proxy_reply" cases were missing when new_attribute
is set to yes.

19 years agoLook for Oracle10g "Instant Client" installed from RPM
pnixon [Sun, 20 Mar 2005 17:34:15 +0000 (17:34 +0000)]
Look for Oracle10g "Instant Client" installed from RPM

19 years agoAdd native oracle support (Using the PHP OCI8 driver) to dialupadmin
pnixon [Sun, 20 Mar 2005 17:07:25 +0000 (17:07 +0000)]
Add native oracle support (Using the PHP OCI8 driver) to dialupadmin

19 years agoChange from DATE to TIMESTAMP WITH TIMEZONE for to fields. (What use is a CDR that...
pnixon [Sun, 20 Mar 2005 17:05:54 +0000 (17:05 +0000)]
Change from DATE to TIMESTAMP WITH TIMEZONE for to fields. (What use is a CDR that only has a date and no time???)

19 years agoAdd an extra trigger to make dialupadmin work
pnixon [Sun, 20 Mar 2005 17:04:21 +0000 (17:04 +0000)]
Add an extra trigger to make dialupadmin work

19 years ago When rewriting a attribute of type INTEGER or IPADDR, it is wrong
nbk [Sat, 19 Mar 2005 22:09:48 +0000 (22:09 +0000)]
When rewriting a attribute of type INTEGER or IPADDR, it is wrong
to change the strvalue only. Instead we call the pairparsevalue()
function which handles all possible types for an attribute.

19 years agohopefully final table schema
pnixon [Sat, 19 Mar 2005 19:08:07 +0000 (19:08 +0000)]
hopefully final table schema

19 years agoFix datatype
pnixon [Sat, 19 Mar 2005 18:47:27 +0000 (18:47 +0000)]
Fix datatype

19 years agopg_exec() has been replaced with pg_query()
pnixon [Sat, 19 Mar 2005 17:43:55 +0000 (17:43 +0000)]
pg_exec() has been replaced with pg_query()

19 years agototacct for Oracle
pnixon [Fri, 18 Mar 2005 22:29:57 +0000 (22:29 +0000)]
totacct for Oracle

19 years agomtotacct for Oracle
pnixon [Fri, 18 Mar 2005 22:25:10 +0000 (22:25 +0000)]
mtotacct for Oracle

19 years agobadusers for oracle
pnixon [Fri, 18 Mar 2005 22:13:58 +0000 (22:13 +0000)]
badusers for oracle

19 years agouserinfo.sql for oracle
pnixon [Fri, 18 Mar 2005 18:46:00 +0000 (18:46 +0000)]
userinfo.sql for oracle

19 years agoFix inversion of test, so the mutex is initialised once instead of nunce.
phampson [Fri, 18 Mar 2005 15:05:36 +0000 (15:05 +0000)]
Fix inversion of test, so the mutex is initialised once instead of nunce.
Thanks to Manuel Menal (via Debian Bug #300219)

19 years agoDon't use $num in stats.php3, change it to $stats_num
kkalev [Fri, 18 Mar 2005 14:12:59 +0000 (14:12 +0000)]
Don't use $num in stats.php3, change it to $stats_num

19 years agocheck_ip() should now work in nas_admin.php3. Only require lib/functions.php3 once
kkalev [Fri, 18 Mar 2005 14:01:45 +0000 (14:01 +0000)]
check_ip() should now work in nas_admin.php3. Only require lib/functions.php3 once
in stats.php3

19 years agoAllow checkrad to be called successfully with ports > 9999999 without
phampson [Thu, 17 Mar 2005 13:44:31 +0000 (13:44 +0000)]
Allow checkrad to be called successfully with ports > 9999999 without
trashing memory.
 Spotted and initial patch by Eddie Stassen

19 years ago Move inclusion of SNMP header files to smux.h since it's only
nbk [Thu, 17 Mar 2005 12:33:25 +0000 (12:33 +0000)]
Move inclusion of SNMP header files to smux.h since it's only
included by the files that need to talk SNMP

19 years ago Any file which includes smux.h can't compile without the SNMP
nbk [Thu, 17 Mar 2005 12:32:35 +0000 (12:32 +0000)]
Any file which includes smux.h can't compile without the SNMP
header files

19 years ago When building radrelay, remove options which confuse the linker
nbk [Wed, 16 Mar 2005 23:21:17 +0000 (23:21 +0000)]
When building radrelay, remove options which confuse the linker
Problem reported by Jakub Wartak <vnulllists@pcnet.com.pl>

19 years agoRevert back to using postgresql specific functions. dbx functions should be changed
kkalev [Wed, 16 Mar 2005 09:39:26 +0000 (09:39 +0000)]
Revert back to using postgresql specific functions. dbx functions should be changed
to also use a dabatase subtype and perform any database specific functions themselves.

19 years ago Regroup the code which handles "new_attribute = yes" in one
nbk [Tue, 15 Mar 2005 17:34:27 +0000 (17:34 +0000)]
Regroup the code which handles "new_attribute = yes" in one
single block

19 years agoAdd Oracle (rlm_sql_oracle) support as an option extra package as well and properly...
pnixon [Tue, 15 Mar 2005 17:05:59 +0000 (17:05 +0000)]
Add Oracle (rlm_sql_oracle) support as an option extra package as well and properly package dialup_admin

19 years agoA first stab at using DBX for database abstraction. Works with Postgres currently.
pnixon [Tue, 15 Mar 2005 17:01:43 +0000 (17:01 +0000)]
A first stab at using DBX for database abstraction. Works with Postgres currently.

19 years agoFirst cut at making a working DBX driver.
pnixon [Tue, 15 Mar 2005 13:54:58 +0000 (13:54 +0000)]
First cut at making a working DBX driver.

19 years agoRemove snmp_clearsession. It is replaced by clearsession which supports both snmp...
kkalev [Tue, 15 Mar 2005 13:24:51 +0000 (13:24 +0000)]
Remove snmp_clearsession. It is replaced by clearsession which supports both snmp and telnet
methods of removing a user from an access server. Add corresponding configuration directives
general_sessionclear_method and nasXX_sessionclear_method

19 years ago Make the header for the detail file configurable.
aland [Mon, 14 Mar 2005 18:08:35 +0000 (18:08 +0000)]
Make the header for the detail file configurable.

19 years ago ctime puts a \n in the string, which we don't want
aland [Mon, 14 Mar 2005 18:05:30 +0000 (18:05 +0000)]
ctime puts a \n in the string, which we don't want

19 years agoCorrectly check nas validity in nas_admin.php3. Bug noted by Nick Bright
kkalev [Mon, 14 Mar 2005 11:57:34 +0000 (11:57 +0000)]
Correctly check nas validity in nas_admin.php3. Bug noted by Nick Bright

19 years ago* Show the correct nas type in nas_admin. Bug noted by Nick Bright
kkalev [Mon, 14 Mar 2005 11:51:32 +0000 (11:51 +0000)]
* Show the correct nas type in nas_admin. Bug noted by Nick Bright
* Correctly calculate the nas ip in lib/sql/nas_list.php3. Add a check_ip() function in lib/functions.php3
  Bug noted by Nick Bright

19 years agoPulled from Debian bug #292170:
nbk [Mon, 14 Mar 2005 10:01:51 +0000 (10:01 +0000)]
Pulled from Debian bug #292170:
Make init script return 1 if reloading kills the server

19 years agourlencode() all occurrences of the $login variable when used in url's. Bug noted...
kkalev [Sun, 13 Mar 2005 15:52:35 +0000 (15:52 +0000)]
urlencode() all occurrences of the $login variable when used in url's. Bug noted by Dag Landau

19 years agoAdds a check if first call to strtok returns NULL in perl_xlat (closes: #218)
bjordanov [Sat, 12 Mar 2005 09:35:53 +0000 (09:35 +0000)]
Adds a check if first call to strtok returns NULL in perl_xlat (closes: #218)