Capturing Syslog messages on port 514 using CSHARP/VB.NET

  • Thread starter Thread starter trytobreak
  • Start date Start date
T

trytobreak

Hey guys,

I have a netscreen firewall which is configured to forward syslog
messages to port 514 of my machine (specific ip on the network) and I
am really puzzled as on how to capture these log messages using CSHARP/
VB.NET.

Can you please forward on me some example code on how to go about
this?

Joe
 
Joe,

If something else is not listening on that port, then you can use the
Socket class and accept connections on that port.

If something else IS listening on that port, then you will have to write
a WINSOCK driver/hook which will allow you to intercept the messages as they
come in on the port.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top