By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,098 Members | 1,895 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,098 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Nov 7 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<tr********@gmail.comwrote in message
news:11**********************@o38g2000hse.googlegr oups.com...
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

Nov 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.