Home / 2008 / April

Checking NIC Speed in Linux

Posting by Noynim IT Solutions on April 30, 2008

To check the link speed for Linux, the easiest method is to issue the following command:dmesg | grep 100. This will bring up anything with 100mb or higher, so if you have a 10mb NIC, or think you do, then change it to 10 instead of 100.

PIX Packet Capture

Posting by Noynim IT Solutions on April 29, 2008

There are times when you need to capture traffic on a PIX firewall. Here is how it can be accomplished:

Query Multiple IPs in DNS

Posting by Noynim IT Solutions on April 28, 2008

Here is a simple bash script to query multiple IPs and get the DNS names:

Expect Script for Cisco Devices

Posting by Noynim IT Solutions on

Expect script for Cisco devices.

Investigating Malicious Files

Posting by Noynim IT Solutions on April 21, 2008

This site to upload suspicious files. This site will scan your file through multiple anti-virus software. Since most people don’t run multiple AV engines on their machines they can use this site to verify if a file is legitimate.

Windump

Posting by Noynim IT Solutions on

Windump is a little different then tcpdump when looking for interfaces. Run windump -D to identify the interfaces on your windows machine. Once the NIC is identified that you want to monitor run the windump -i followed by the full NIC ID.

Avoiding Non-Delivery Reports (NDR)

Posting by Noynim IT Solutions on

Email administrators should start using http://www.openspf.org/. Once everyone starts using this it will avoid all those NDRs that users get. Many people think they can eliminate NDRs on their SPAM filters but this will block out legitimate NDRs.

ttyrpld

Posting by Noynim IT Solutions on April 20, 2008

ttyrpld is a mult-os kernel-level tty key- and screenlogger with (a)synchronous replay supprt. It supports most tty types, including vc, bsd and unix98-style ptys (xterm/ssh), serial, isdn, etc. Being implemented within the Kernel makes it unavoidable for the default user. It runs with no overhead if the logging daemon is not active.