Binary Zer0 n’ his Bytes

Entries categorized as ‘Network management’

JNCIA-ER Certfication Cleared

December 3, 2007 · 3 Comments

so finally after a gap of three years i returned back to education and have finally cleared Juniper’s JNCIA-ER exam today. I hope to finish JNCIP-ER and CCIP both within next 4-6 week. Wish me all the luck :)

Categories: Blogroll · Cisco · Internet · Network management · PTCL · Pakistan · Politics · Telecommunications
Tagged:

Relaying Syslog

September 25, 2007 · 1 Comment

Enterprise networks managed by offshore Network operation centers often face issue of how to manage the alert in real time.

My idea:

Make a central Syslog Server – forward all logging from routers/pix/Vpn concentrators to Central Syslog. Make your syslog server in a way that it parse the incoming messages, cache’s them and then forward them to all of the NOC staff present in the office (or statically to a list of IP Addresses). NOC staff uses standalone Syslog application like Kiwi Syslog Deamon

Nice idea na ? what would you achieve – get rid of VNC or Web-based legacy syslog servers ; personal tick tick to an engineer when he’s sleeping at night duty with headphones on his head ; +++ way to low processing in control plane at router level.

how to do it: huh’ crash your head into the wall, try googling around ? okay not found – i have made an application code partially written in C++, partial code in Perl and attached with a DB of MySQL.

C++ :

(Listen to IF_INET, bind port 514 for reading syslog messages)

(Parse the incoming message, separate the IP address, Priority Code, text)

Perl:

(takes input of Priority Code, Text & IP Address of sender from C++ code)

(process a fake raw socket with a source IP of sender :: why – think about it)

(prepare the list of NOC staff IPs from DB/TXT)

(merge the fake ip,space,<pritority>message and send it to the destination syslog receiver on 514 destination).

there you go – relaying syslog server is ready – usually i don’t sell my idea but for you its free – need code too ? email me..

Categories: Cisco · Network management · Trash