Tag Archives: Linux

Setting up Linux TFTP Server for Cisco Phone Files PART -I

Hey Guys this time its Linux and Cisco working hand to hand. This post is kind of a multipost and consist of :

1. TFTP Server Setup on CentOS 6.4

2. DHCP Server Setup on CentOS 6.4

3. Hosting Cisco Phones Firmware on TFTP Server

4. Converting SCCP to SIP to use Cisco VOIP Phones with Elastix.

At the End of this Tutorial we would be able to setup working Cisco VOIP Phones with Elastix / Asterisk.

You can Download Part -I from here Setting up Linux TFTP Server for Cisco Phone Files-I

Please comment,

Thanks,

Salman Aftab

www.itpings.com

Python for Linux Admins – IV

Simple Python Script which will show linux logs (dmesg and lastlog) from selection.

#!/usr/bin/env python

import os

os.system (‘clear’)

print “Pylog Created by Hyp3ri0n”

print “Version 0.1”

print “Respect Linux…………….”

print “=” * 50

print ” ”

value = 1

value2 = 2

answer = int(input (“Enter the Value 1 or 2: “)

if answer == value:

os.system (‘tail -20 /var/log/dmesg’)

if anwer == value2:

os.system (‘lastlog -u 0 && lastlog -u 1001-10000’)

#End

IPSEC Site-To-Site VPN on CENTOS LINUX

centos_image2

How To Setup IPSEC Site-To-Site VPN on Linux CentOS

Scenario

Linux Gateway Server with 2 Lan Cards on Each office Location. Lets Call them A and B.
A is Head Office Linux Server and B is Branch Office Linux Server.
A has CentOS 6.4 , Extenal IP Address 1.1.1.1 , Local Lan Subnet 192.168.100.0/24
B has CentOS 5.9, External IP Address 2.2.2.2, Local Lan Subnet 10.1.1.0/24
To Accomplish the task we will use OpenSwan.
Continue reading

SNORT with ACID

snort

THIS IS A HOWTO TO SETUP SNORT WITH ACID ON RHEL 4.0 / CentOS

This is one of my old post , but i hope many people will still find it very useful. The same scenario might work with latest Linuxes.

So what is Snort and Acid ?

Snort  is a Free program for Network Intrusion Detection System
Acid is an Analysis Console for Intrusion Detection or We can say a Web frontend for Snort, as it works with Snort’s log Alerts.

Continue reading