Welcome to weblogs.com.pk Sign in | Join | Help

Browse by Tags

All Tags » UNIX   (RSS)

How to identify/reset the stuck sessions in Cisco Router's

There are 5 max concurrent session in Cisco world. There can be a situation in life in which the max concurrent sessions reach the limits. When addressing such situations, it might help. The following command on Unix will dump all the TCBs of the remote
Posted by jahil | 0 Comments
Filed under: , ,

simultaneous web connections (Squid)

Today, one of my friends asked me how you limit the number of simultaneous web connections from a client browser system using the open source Squid proxy server. Well, You need to use squid ACCESS CONTROLS feature called maxconn. It puts a limit on the
Posted by jahil | 0 Comments
Filed under: ,

patch in unix

After you make your changes to your working copy, you'll create a patch using diff. To show all the lines that differ between file1 and file2: jahil# diff file1 file2 To create a patch listing the changes from version1 to version2: jahil# diff -aur version1
Posted by jahil | 0 Comments
Filed under: ,

Upload the directory/folder tree to remote ftp server

When you host your web site remotely and use the open source software’s like wiki, phpbb etc uploading them is pain from UNIX based computer, especially when these software releases new security fixes you need to upload bunch of files and subdirectories.
Posted by jahil | 1 Comments
Filed under: ,

Ghost for UNIX

Cheap Ghost Easy Ghost. If you think about it for a moment, it will make sense. It's kind of like driving around with a flat spare tire: you won't be able to use your back-up when you really need it. But .. with a Ghost image stored on a second (physical)
Posted by jahil | 1 Comments
Filed under: ,

Using vlock/lock under Linux/FreeBSD to lock screen

There are several ways to lock your Windows computer, but all of them use the same command line. To lock down Linux/FreeBSD one can use the vlock/lock . vlock is a program to lock one or more sessions on the Linux consol. Install it using apt-get or yum:
Posted by jahil | 0 Comments
Filed under: ,

Wireless AP management

http://www.m0n0.ch/ A powerful and easy-to-configure FreeBSD firewall. Apart from being a superb option for Wireless AP management, it also features an excellent traffic shaping, DHCP client, PPPoE, PPTP, IPsec VPN tunnels (IKE; with support for hardware
Posted by jahil | 0 Comments
Filed under: , ,

Chattr like utility under FreeBSD

For write, modify or delete protection, I use the 'chattr +i +d' (immutable and no-dump) flags on the files under linux. This kind of write protection can be set under FreeBSD using the special bit call immutable by root user only. FreeBSD has 'chflags'
Posted by jahil | 0 Comments
Filed under: ,

Size of all directories in the current directory

A spiffy way to see what directories are taking up the most space on your hard drive is du -sk * | sort -n -- this will show just the base-level directories in whatever directory you run this in. So it will include the size of sub-directories, but not
Posted by jahil | 31 Comments
Filed under: ,

Voice Over Misconfigured Internet Telephones

You guys know, most IPT ( Internet Telephony) solution today don’t offer strong encryption, data can be easily read of the wire using one of the many attack’s. For example VOMIT ( Voice Over Misconfigured Internet Telephones) but there is nothing misconfigured
Posted by jahil | 2 Comments
Filed under: , ,

script command (FreeBSD)

The script command will log all console output to a specified file. I have found this to be a very useful tool for debugging ports installations, key logger and keeping commands history. If a port fails, often times the reported problem scrolls off the
Posted by jahil | 0 Comments
Filed under: , ,

Open Source IPS (Intrusion Prevention System)

Today I’ve got time, Why not I should have fun time today playing with the “Open Source”. I love “Open Source”. We can be “Open Source”; I really love the concept of “ Shared Source”. Sourceforge is really doing a great job, great work to everyone on
Posted by jahil | 0 Comments
Filed under: ,

A sysadmin TIP

There's a rule of thumb that's been passed down to me for systems administrator that I will occasionally forget. I'm always sorry when I do. Not only that, but I'm also often sorry when another administrator forgets it, because it makes helping them very
Posted by jahil | 0 Comments
Filed under: , , ,

How Secure is WEP?

I intended to write this month about WLAN Security something other than switching/routing, system administration, or network engineering . But I've been spending a bit too much time recently working with some of the WLAN cracking ("security administration")
Posted by jahil | 0 Comments
Filed under: , , ,

subnet scanning

I use “ bash ” enhanced features over most other shells and because of it's cross-platform portability means that you could have it running on a variety of different platforms and systems and all your shell scripts will also therefore be portable. Today
Posted by jahil | 0 Comments
Filed under: , ,
More Posts Next page »