(RADIATOR) Null characters at end of syslog lines
Jan Tomasek
jan at tomasek.cz
Wed Feb 21 15:36:54 CST 2007
Hello,
I'm running Radiator 3.15. I've defined following authlog:
<AuthLog SYSLOG>
Identifier defaultAuthLog
Facility local7
LogIdent radiator
SuccessFormat access-accept for %u
(User-Name=%{Reply:User-Name}) at Proxy=%c (CSID=%{Calling-Station-Id}
NAS=%{NAS-Identifier}/%N) EAP=%{HexAddress:EAP-Message}
FailureFormat access-reject for %u
(User-Name=%{Reply:User-Name}) at Proxy=%c (CSID=%{Calling-Station-Id}
NAS=%{NAS-Identifier}/%N)
LogSuccess 1
LogFailure 1
</AuthLog>
it works fine, but problem is that at end of every line is added space
followed by null character. That is bit problem for grep and other apps.
Is it some chance to get rid of that null character?
Example of lines:
Feb 21 06:25:27 radius1 radiator[14429]: Server started: Radiator 3.15
on radius1 ^@
Feb 21 06:25:40 radius1 radiator[14429]: access-accept for
eduroampass_tester at vsb.cz (User-Name=eduroampass_tester at vsb.
cz) at Proxy=147.32.5.45 (CSID=70-6F-6C-69-73-68 NAS=/127.0.0.1) EAP=00 ^@
Feb 21 22:35:46 radius1 radiator[28102]: access-reject for
eduroampass_tester at vsb.cz (User-Name=) at Proxy=195.113.118.5
(CSID=70-6F-6C-69-73-68 NAS=/127.0.0.1): Proxied
'^@' is way how less display null character.
Thanks for any help
--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://www.open.com.au/pipermail/radiator/attachments/20070221/7e5b7d65/attachment.bin>
More information about the radiator
mailing list