View previous topic :: View next topic |
Author |
Message |
Jkay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7750548363e50127c81e1b.png)
Joined: 31 Dec 2002 Posts: 214 Location: thatched-roof cottages
|
Posted: Sat Apr 15, 2006 8:26 pm Post subject: Reading and analyzing the log broadcast of a WRT54G [SOLVED] |
|
|
Hi, Is there a Linux app like "WallWatcher" for Windows, which will listen on the log broadcast port of a Linksys router/fw and record/analyze these logs? I did a forum search and haven't come across any info on this yet.
tia~~
JK
Last edited by Jkay on Sun Apr 16, 2006 5:32 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sat Apr 15, 2006 9:44 pm Post subject: |
|
|
mhh from what i can tell Wallwatcher seems to be a combination of syslog+snmptrap
So e.g. syslog-ng and snmptrapd should be enough to listen for the logs of your Linksys. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jkay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7750548363e50127c81e1b.png)
Joined: 31 Dec 2002 Posts: 214 Location: thatched-roof cottages
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jkay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7750548363e50127c81e1b.png)
Joined: 31 Dec 2002 Posts: 214 Location: thatched-roof cottages
|
Posted: Sun Apr 16, 2006 4:35 am Post subject: |
|
|
DOUBLE AH-HAH!
Syslog-ng has built-in syslogd capabilty! The default(ish) log program for Gentoo can read remote TCP and UDP log broadcasts.
I added a UDP port 514 source line in my syslog-ng config, and piped it to the /var/log/ area and viola ... it works.
I added these lines:
Code: | source wrt54g {
udp(ip(0.0.0.0) port(514));
};
destination hosts {
file("/var/log/syslogs/$HOST/$FACILITY"
owner(root) group(root) perm(0600) dir_perm(0700)
create_dirs(yes));
};
log {
source(wrt54g);
destination(hosts);
}; |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jkay Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7750548363e50127c81e1b.png)
Joined: 31 Dec 2002 Posts: 214 Location: thatched-roof cottages
|
Posted: Sun Apr 16, 2006 7:52 pm Post subject: |
|
|
As a final note, I'm using fwlogwatch to analyze the Linksys logs, as an hourly cron job, and generate an HTML summary file which I have bookmarked in my browser.
Example:
http://members.cox.net/jkay/firewall_report.html
Of course I filter out outbound traffic to port 80, or that log would be huge. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|