Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.internet.wireless
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-2007, 12:32 AM
ZaWiR
Guest
 
Posts: n/a
Default WAP54G remote log

Hello!
I've got problem with logging my AP activity to remote host. I'm
particulary interested in events such as positive clients attachments to
Access Point. My AP is Linksys WAP54G v3 EU, firmware 3.05.

Web interface log window displays entries like: "Wireless PC connected
00:13:02:XX:XX:XX" - this is what I would like to log on remote host.
However, AP is only sending stop/start entries to syslog port: (received
via ng-syslog)
"Feb 25 20:01:31 192.168.1.2 syslogd started: BusyBox v0.60.0
(2005.12.28-06:45+0000)"
"Feb 25 23:05:22 192.168.1.2 System log daemon exiting."
There are no SNMP traps (I've sniffed AP's ethernet interface during PC
attachment that resulted in appropriate entry in log window); SNMP walk
also doesn't show anything interesting :/
Is it even possible to log such events remotely with official firmware?
Or do Linksys prepared SNMP&syslog "implementations" only for providing
such important infos as contact name (from SNMP walk) and syslog start/stop?

Thanks in advance for any info...
--
Marek Zawirski [zawir]
marek.zawirski@gmail.com

Reply With Quote
  #2 (permalink)  
Old 02-26-2007, 02:24 AM
Jeff Liebermann
Guest
 
Posts: n/a
Default Re: WAP54G remote log

ZaWiR <zawirek@interia.pl> hath wroth:

>I've got problem with logging my AP activity to remote host. I'm
>particulary interested in events such as positive clients attachments to
>Access Point. My AP is Linksys WAP54G v3 EU, firmware 3.05.
>
>Web interface log window displays entries like: "Wireless PC connected
>00:13:02:XX:XX:XX" - this is what I would like to log on remote host.
>However, AP is only sending stop/start entries to syslog port: (received
>via ng-syslog)
>"Feb 25 20:01:31 192.168.1.2 syslogd started: BusyBox v0.60.0
>(2005.12.28-06:45+0000)"
>"Feb 25 23:05:22 192.168.1.2 System log daemon exiting."


>There are no SNMP traps (I've sniffed AP's ethernet interface during PC
>attachment that resulted in appropriate entry in log window); SNMP walk
>also doesn't show anything interesting :/


What does sniffing with WireShark or your sniffer show? Do you see
the desired connect events? Can you see anything else related? If
not, there's not much that can be done with the WAP54G unless you want
to hack the firmware.

If you've sniffed the traffic, and it seems to show the "appropriate"
entries, then it's not the WAP54G that needs to be configured. It's
your syslogd monitor, which I guess is really syslog-ng, not
ng-syslog. It's apparently filtering out the desired events. Look
into the file:
syslog-ng.conf
and see if there's anything that might be screwed up in the WAP54G
entries filter statement. This might help if you just started setting
up syslog-ng:
<http://www.campin.net/syslog-ng/faq.html>
<http://www.campin.net/newlogcheck.html#syslog-ng>
<http://www.balabit.com/products/syslog_ng/>

You might also want to try a less complex syslog viewer for initial
troubleshooting. Under Windoze, that's Kiwi:
<http://www.kiwisyslog.com/syslog-info.php>

>Is it even possible to log such events remotely with official firmware?
>Or do Linksys prepared SNMP&syslog "implementations" only for providing
>such important infos as contact name (from SNMP walk) and syslog start/stop?
>
>Thanks in advance for any info...


You're correct that the WAP54G does NOT send SNMP traps. I use Log
Viewer 2.1:
<http://svs.sv.funpic.de/index.php?option=com_content&task=view&id=1&Itemid =63>
for monitoring those routers that support this feature, but the WAP54G
is apparently not among them.

You might also want to try different firmware:
<http://www.hyperwap.org>
<http://www.hyperwap.org/forum/viewtopic.php?id=53>
However, it does not add any additional syslogd or SNMP features so
that won't really help.



--
Jeff Liebermann jeffl@comix.santa-cruz.ca.us
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558

Reply With Quote
  #3 (permalink)  
Old 02-26-2007, 08:30 PM
Marek Zawirski
Guest
 
Posts: n/a
Default Re: WAP54G remote log

Jeff Liebermann:
> What does sniffing with WireShark or your sniffer show? Do you see
> the desired connect events? Can you see anything else related? If
> not, there's not much that can be done with the WAP54G unless you want
> to hack the firmware.
>
> If you've sniffed the traffic, and it seems to show the "appropriate"
> entries, then it's not the WAP54G that needs to be configured. It's
> your syslogd monitor, which I guess is really syslog-ng, not
> ng-syslog. It's apparently filtering out the desired events. Look
> into the file:
> syslog-ng.conf
> and see if there's anything that might be screwed up in the WAP54G
> entries filter statement. This might help if you just started setting
> up syslog-ng:
> <http://www.campin.net/syslog-ng/faq.html>
> <http://www.campin.net/newlogcheck.html#syslog-ng>
> <http://www.balabit.com/products/syslog_ng/>
>
> You might also want to try a less complex syslog viewer for initial
> troubleshooting. Under Windoze, that's Kiwi:
> <http://www.kiwisyslog.com/syslog-info.php>


Hi,
thanks for an answer.
I've sniffed it with tcpdump and it doesn't show any syslog traffic from
AP after client attachment (that resulted in log entry in web log
viewer), while it shows syslog "start message" during AP boot-up. So I
guess that AP is a problem, not my syslog daemon. Yes, syslog-ng.
Anyway, it is configured without any filter for that source.

>> Is it even possible to log such events remotely with official firmware?
>> Or do Linksys prepared SNMP&syslog "implementations" only for providing
>> such important infos as contact name (from SNMP walk) and syslog start/stop?
>>
>> Thanks in advance for any info...

>
> You're correct that the WAP54G does NOT send SNMP traps. I use Log
> Viewer 2.1:
> <http://svs.sv.funpic.de/index.php?option=com_content&task=view&id=1&Itemid =63>
> for monitoring those routers that support this feature, but the WAP54G
> is apparently not among them.
>
> You might also want to try different firmware:
> <http://www.hyperwap.org>
> <http://www.hyperwap.org/forum/viewtopic.php?id=53>
> However, it does not add any additional syslogd or SNMP features so
> that won't really help.


So I would ask question in another way: does anybody log (remotely) such
events (clients attachments via syslog) from WAP54G successfully?

Regards,
Marek Zawirski

Reply With Quote
  #4 (permalink)  
Old 02-27-2007, 09:35 AM
Kev
Guest
 
Posts: n/a
Default Re: WAP54G remote log

ZaWiR wrote:
> Hello!
> I've got problem with logging my AP activity to remote host. I'm
> particulary interested in events such as positive clients attachments to
> Access Point. My AP is Linksys WAP54G v3 EU, firmware 3.05.
>
> Web interface log window displays entries like: "Wireless PC connected
> 00:13:02:XX:XX:XX" - this is what I would like to log on remote host.
> However, AP is only sending stop/start entries to syslog port: (received
> via ng-syslog)
> "Feb 25 20:01:31 192.168.1.2 syslogd started: BusyBox v0.60.0
> (2005.12.28-06:45+0000)"
> "Feb 25 23:05:22 192.168.1.2 System log daemon exiting."


I presume from this that you have enabled logging, Log Tab, and set the
logviewer IP address to 192.168.1.2 .What s/ware have you loaded onto
192.168.1.2 to enable viewing of the logs?
Jeff provided this link to the Linksys one:-
http://svs.sv.funpic.de/index.php?op...id=1&Itemid=63
Have you tried it?

Check "The Administation-Log Tab" in the manual.
My cousin had an earlier version of this AP and used to do logging with it.

Reply With Quote
  #5 (permalink)  
Old 02-27-2007, 06:19 PM
Jeff Liebermann
Guest
 
Posts: n/a
Default Re: WAP54G remote log

Kev <invalid@invalid.invalid> hath wroth:

>ZaWiR wrote:
>> Hello!
>> I've got problem with logging my AP activity to remote host. I'm
>> particulary interested in events such as positive clients attachments to
>> Access Point. My AP is Linksys WAP54G v3 EU, firmware 3.05.
>>
>> Web interface log window displays entries like: "Wireless PC connected
>> 00:13:02:XX:XX:XX" - this is what I would like to log on remote host.
>> However, AP is only sending stop/start entries to syslog port: (received
>> via ng-syslog)
>> "Feb 25 20:01:31 192.168.1.2 syslogd started: BusyBox v0.60.0
>> (2005.12.28-06:45+0000)"
>> "Feb 25 23:05:22 192.168.1.2 System log daemon exiting."


>I presume from this that you have enabled logging, Log Tab, and set the
>logviewer IP address to 192.168.1.2 .What s/ware have you loaded onto
>192.168.1.2 to enable viewing of the logs?


See:
<http://www.linksysdata.com/ui/WAP54G/v3/3.01/Administration-Log.htm>
for the setting.

>Jeff provided this link to the Linksys one:-
>http://svs.sv.funpic.de/index.php?op...id=1&Itemid=63
>Have you tried it?


Well, I screwed up again. The above log viewer MIGHT work even though
this Log Viewer does not show the WAP54G as supported. It uses SNMP
traps, which I wrongly thought the WAP54G does NOT support. Apparently
it does.

Linksys also has an awful SNMP trap receiver at:
<ftp://ftp.linksys.com/pub/utility/wap54g_logviewer.zip>
It's really crude, but should be sufficient for testing.

For Linux, just about any SNMP trap receiver will work. There's one
in NET-SNMP.
<http://www.die.net/doc/linux/man/man5/snmptrapd.conf.5.html>

A syslog monitor will only show WPA54G startup events, even though
syslogd is apparently functioning inside the WAP54G. Lame...

>Check "The Administation-Log Tab" in the manual.
>My cousin had an earlier version of this AP and used to do logging with it.


I just checked the configs on:
<http://www.linksysdata.com/ui/>
and all the various WAP54G mutations have the log viewer feature.

--
Jeff Liebermann jeffl@comix.santa-cruz.ca.us
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558

Reply With Quote
  #6 (permalink)  
Old 02-27-2007, 08:09 PM
Kev
Guest
 
Posts: n/a
Default Re: WAP54G remote log

Jeff Liebermann wrote:

> Linksys also has an awful SNMP trap receiver at:
> <ftp://ftp.linksys.com/pub/utility/wap54g_logviewer.zip>
> It's really crude, but should be sufficient for testing.
>

I think that is very similar to the one my cousin used, actually it was
probably even more basic as I don't remember the "Buttons".

Reply With Quote
  #7 (permalink)  
Old 02-28-2007, 02:32 AM
Jeff Liebermann
Guest
 
Posts: n/a
Default Re: WAP54G remote log

On Tue, 27 Feb 2007 20:09:13 +0000, Kev <invalid@invalid.invalid>
wrote:

>Jeff Liebermann wrote:
>
>> Linksys also has an awful SNMP trap receiver at:
>> <ftp://ftp.linksys.com/pub/utility/wap54g_logviewer.zip>
>> It's really crude, but should be sufficient for testing.


>I think that is very similar to the one my cousin used, actually it was
>probably even more basic as I don't remember the "Buttons".


Buttons? Egad's... it is a new version even though it's labeled v1.0.
Looks somewhat less disgusting than the previous version.

I tried sending it some traps with NET-SNMP but couldn't get anything
to appear in the logs. I was able to see URL's (in SNMP traps) sent
by a BEFW11S4v4 router, which should be similar to the WAP54G.

I can also see URL's using SNMPUTIL as in:
snmputil trap
However, one needs to first configure SNMP on the machine that's
running the SNMPUTIL program. Once installed, you can also run:
evntwin
evntcmd
to send traps from the events log. See:
<http://www.securityfocus.com/infocus/1301>
Unfortunately, like almost all diagnostics from Microsoft, this one is
also slightly broken:
<http://support.microsoft.com/kb/q284255/>




--
# Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
# 831-336-2558 jeffl@comix.santa-cruz.ca.us
# http://802.11junk.com jeffl@cruzio.com
# http://www.LearnByDestroying.com AE6KS

Reply With Quote
  #8 (permalink)  
Old 02-28-2007, 10:18 AM
Kev
Guest
 
Posts: n/a
Default Re: WAP54G remote log

Jeff Liebermann wrote:
> On Tue, 27 Feb 2007 20:09:13 +0000, Kev <invalid@invalid.invalid>
> wrote:
>
>> Jeff Liebermann wrote:
>>
>>> Linksys also has an awful SNMP trap receiver at:
>>> <ftp://ftp.linksys.com/pub/utility/wap54g_logviewer.zip>
>>> It's really crude, but should be sufficient for testing.

>
>> I think that is very similar to the one my cousin used, actually it was
>> probably even more basic as I don't remember the "Buttons".

>
> Buttons?

I don't remember a toolbar with it's associated icons.

> Egad's... it is a new version even though it's labeled v1.0.
> Looks somewhat less disgusting than the previous version.
>
> I tried sending it some traps with NET-SNMP but couldn't get anything
> to appear in the logs. I was able to see URL's (in SNMP traps) sent
> by a BEFW11S4v4 router, which should be similar to the WAP54G.


What s/ware version?
http://www.dslreports.com/faq/2333





Reply With Quote
  #9 (permalink)  
Old 03-04-2007, 06:04 PM
Marek Zawirski
Guest
 
Posts: n/a
Default Re: WAP54G remote log


> Kev <invalid@invalid.invalid> hath wroth:
>
>> ZaWiR wrote:
>>> Hello!
>>> I've got problem with logging my AP activity to remote host. I'm
>>> particulary interested in events such as positive clients attachments to
>>> Access Point. My AP is Linksys WAP54G v3 EU, firmware 3.05.
>>>
>>> Web interface log window displays entries like: "Wireless PC connected
>>> 00:13:02:XX:XX:XX" - this is what I would like to log on remote host.
>>> However, AP is only sending stop/start entries to syslog port: (received
>>> via ng-syslog)
>>> "Feb 25 20:01:31 192.168.1.2 syslogd started: BusyBox v0.60.0
>>> (2005.12.28-06:45+0000)"
>>> "Feb 25 23:05:22 192.168.1.2 System log daemon exiting."

>
>> I presume from this that you have enabled logging, Log Tab, and set the
>> logviewer IP address to 192.168.1.2 .What s/ware have you loaded onto
>> 192.168.1.2 to enable viewing of the logs?

>
> See:
> <http://www.linksysdata.com/ui/WAP54G/v3/3.01/Administration-Log.htm>
> for the setting.
>
>> Jeff provided this link to the Linksys one:-
>> http://svs.sv.funpic.de/index.php?op...id=1&Itemid=63
>> Have you tried it?

>
> Well, I screwed up again. The above log viewer MIGHT work even though
> this Log Viewer does not show the WAP54G as supported. It uses SNMP
> traps, which I wrongly thought the WAP54G does NOT support. Apparently
> it does.
>
> Linksys also has an awful SNMP trap receiver at:
> <ftp://ftp.linksys.com/pub/utility/wap54g_logviewer.zip>
> It's really crude, but should be sufficient for testing.
>
> For Linux, just about any SNMP trap receiver will work. There's one
> in NET-SNMP.
> <http://www.die.net/doc/linux/man/man5/snmptrapd.conf.5.html>
>
> A syslog monitor will only show WPA54G startup events, even though
> syslogd is apparently functioning inside the WAP54G. Lame...
>
>> Check "The Administation-Log Tab" in the manual.
>> My cousin had an earlier version of this AP and used to do logging with it.

>
> I just checked the configs on:
> <http://www.linksysdata.com/ui/>
> and all the various WAP54G mutations have the log viewer feature.


Well... what are you talking about?;) I've claimed that what I want to
achieve is REMOTE logging. I've sniffed eth interface again, and there
is NO syslog/snmp traffic (for sure) during clients connection. So this
must be AP-only problem, not my logging software. I don't want to use
web-based log viewer on AP (at least, I can download this page regularly
by script). And there is no possibility and need for testing
"log-viewers" for Windows as there is no useful mgmt traffic from AP.
Answering directly: 192.168.1.1 is my server, not 192.168.1.2 (AP), and
there is no "viewer" software on this machine, there is only "logging"
software.
Page about enabling logging - which was provided by you - concerns
Linksys router, not AP.

Is there any WAP54G firmware version which is known (tested) to provide
working snmp or syslog implementation=that sends useful information?
Have you seen snmp traps or useful syslog entries on your eyes?:) Not my
eyes yet...

Best Regards,
Marek Zawirski / zawir

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to hack/crack a remote control kidgenius@gmail.com comp.security.misc 0 02-08-2007 05:48 PM
Bridging of 3 WAP54G together using 4 Antennas CHS007 Network Troubleshooting 0 01-23-2007 09:06 AM
Asus P5W DH Deluxe - Remote Control Synapse Syndrome alt.comp.hardware 0 11-13-2006 06:43 PM
WAP54G setup as repeater thoffman alt.internet.wireless 2 09-21-2006 06:02 PM
SIMS - Prelude vs OSSIM vs OpenSIMS, with Nagios and remote logging too Pat comp.security.misc 0 08-29-2006 02:46 PM


All times are GMT. The time now is 08:09 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45