Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
R
radsecproxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eduroam
radsecproxy
Commits
2f7eb5a9
Commit
2f7eb5a9
authored
Apr 16, 2012
by
Linus Nordberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use printf(1) instead of 'echo -e' in tools/ scripts.
Closes RADSECPROXY-40.
parent
9e391efe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
ChangeLog
ChangeLog
+1
-1
tools/naptr-eduroam.sh
tools/naptr-eduroam.sh
+4
-3
tools/radsec-dynsrv.sh
tools/radsec-dynsrv.sh
+4
-3
No files found.
ChangeLog
View file @
2f7eb5a9
...
...
@@ -25,12 +25,12 @@
- Stop the autoconfery from warning about defining variables
conditionally and unconditionally.
- Honour configure option --sysconfdir. (RADSECPROXY-31)
- Other bugs. (RADSECPROXY-26, -28, -34, -35, -39)
- Don't crash on failing DynamicLookupCommand scripts. Fix made
with help from Ralf Paffrath. (RADSECPROXY-33)
- When a DynamicLookupCommand script is failing, fall back to
other server(s) in the realm. The timeout depends on the kind of
failure.
- Other bugs. (RADSECPROXY-26, -28, -34, -35, -39, -40)
2011-10-08 1.5
New features:
...
...
tools/naptr-eduroam.sh
View file @
2f7eb5a9
...
...
@@ -17,12 +17,13 @@ test -n "${1}" || usage
REALM
=
"
${
1
}
"
DIGCMD
=
$(
command
-v
dig
)
HOSTCMD
=
$(
command
-v
host
)
PRINTCMD
=
$(
command
-v
printf
)
dig_it_srv
()
{
${
DIGCMD
}
+short srv
$SRV_HOST
|
sort
-n
-k1
|
while
read
line
;
do
set
$line
;
PORT
=
$3
;
HOST
=
$4
echo
-e
"
\t
host
${
HOST
%.
}
:
${
PORT
}
"
$PRINTCMD
"
\t
host
${
HOST
%.
}
:
${
PORT
}
\n
"
done
}
...
...
@@ -41,7 +42,7 @@ host_it_srv() {
${
HOSTCMD
}
-t
srv
$SRV_HOST
|
sort
-n
-k5
|
while
read
line
;
do
set
$line
;
PORT
=
$7
;
HOST
=
$8
echo
-e
"
\t
host
${
HOST
%.
}
:
${
PORT
}
"
$PRINTCMD
"
\t
host
${
HOST
%.
}
:
${
PORT
}
\n
"
done
}
...
...
@@ -66,7 +67,7 @@ else
fi
if
[
-n
"
${
SERVERS
}
"
]
;
then
echo
-e
"server dynamic_radsec.
${
REALM
}
{
\n
${
SERVERS
}
\n\t
type TLS
\n
}
"
$PRINTCMD
"server dynamic_radsec.
${
REALM
}
{
\n
${
SERVERS
}
\n\t
type TLS
\n
}
\n
"
exit
0
fi
...
...
tools/radsec-dynsrv.sh
View file @
2f7eb5a9
...
...
@@ -17,12 +17,13 @@ test -n "${1}" || usage
REALM
=
"
${
1
}
"
DIGCMD
=
$(
command
-v
digaaa
)
HOSTCMD
=
$(
command
-v
host
)
PRINTCMD
=
$(
command
-v
printf
)
dig_it
()
{
${
DIGCMD
}
+short srv _radsec._tcp.
${
REALM
}
|
sort
-n
-k1
|
while
read
line
;
do
set
$line
;
PORT
=
$3
;
HOST
=
$4
echo
-e
"
\t
host
${
HOST
%.
}
:
${
PORT
}
"
$PRINTCMD
"
\t
host
${
HOST
%.
}
:
${
PORT
}
\n
"
done
}
...
...
@@ -30,7 +31,7 @@ host_it() {
${
HOSTCMD
}
-t
srv _radsec._tcp.
${
REALM
}
|
sort
-n
-k5
|
while
read
line
;
do
set
$line
;
PORT
=
$7
;
HOST
=
$8
echo
-e
"
\t
host
${
HOST
%.
}
:
${
PORT
}
"
$PRINTCMD
"
\t
host
${
HOST
%.
}
:
${
PORT
}
\n
"
done
}
...
...
@@ -44,7 +45,7 @@ else
fi
if
test
-n
"
${
SERVERS
}
"
;
then
echo
-e
"server dynamic_radsec.
${
REALM
}
{
\n
${
SERVERS
}
\n\t
type TLS
\n
}
"
$PRINTCMD
"server dynamic_radsec.
${
REALM
}
{
\n
${
SERVERS
}
\n\t
type TLS
\n
}
\n
"
exit
0
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment