Sign in to follow this  
Followers 0
memnon

syslog from a firewall....

4 posts in this topic

am i stupid or why isnt that working...

i have a firewall and its configurated to send syslog messages to my computer (192.168.1.1) - but i do not get any msg... i configurad, that i should get messages for any action on the router - on the consolescreen of the router itself - it does spamm the messages, but not on my pc...

i just modified the script in the helpfile (beta ....84)

;;This is the UDP Server

;;Start this first

; Start The UDP Services

;==============================================

UDPStartup()

; Bind to a SOCKET

;==============================================

$socket = UDPBind("192.168.1.1", 514)

If @error <> 0 Then Exit

While 1

$data = UDPRecv($socket, 100)

If $data <> "" Then

MsgBox(0, "UDP DATA", $data, 1)

EndIf

sleep(100)

WEnd

Func OnAutoItExit()

UDPCloseSocket($socket)

UDPShutdown()

EndFunc


das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?

Share this post


Link to post
Share on other sites



I have tested your code and it works fine for me. 2 things that you might want to keep in mind.

1. The IP address in UDP bind must be your computers address and not your router.

2. If you are running a local firewall on your computer, allow port 514.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I did this script http://www.autoitscript.com/forum/index.php?showtopic=20525 to look for error messgaes that appear on one screen and send them to another PC, if you use it along with radmin you can also make it launch a remote control session. you can look for specific error screens or you can be quite generic and get all thet start with Error, Err,Er or what ever you want

Edit* wish I could type

Edited by ChrisL

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0