posts | comments
28Feb

Very very usefull IIS appcmd.exe command line solutions

No comments

Application Pools
1. Recycle all application pools (replace recycle with start/stop to start/stop all apppools)
appcmd list apppool /xml | appcmd recycle apppool /in
2. Stop application pools with word “cheap” in it
appcmd list apppool /name:”$=*cheap*” /xml | appcmd stop apppool /in
3. Set property enable32BitAppOnWin64 to true for all apppools (Filter apppools as in 2 if needed)
appcmd list [...]

28Dec

grep - syntax and options reference quick guide

No comments

GREP::: quick syntax and options reference guide

grep basically searches.
shell> grep foo
file(s)
shell> grep foo
*
returns all the lines in file(s) that contain a string matching
the expression “foo” (which may be a regular expression).
Another way of using grep is to have it accept data through STDIN
and filter to STDOUT. For example,
shell> ls
|grep blah
lists all files [...]

09Sep

Skype protocol, skype connect algorithm, authentication servers and ports

No comments

Original from WikiPedia
Here because I dont wonna a forget it.
Protocol
A Skype network is a peer-to-peer network with three main entities: supernodes, ordinary nodes and the login server. It is an overlay network: each client builds and refreshes a list of reachable nodes known as the host cache. The host cache contains IP address and port [...]

02Jun

Anti Streamripping shell script (+ipfw)

No comments

#!/usr/compat/linux/bin/bash
# Copyright (c) 2005 DaveG.ca
# Modified 2005-11-15 by Mike Brown (skew.org) for FreeBSD ipfw and Shoutcast logs
# You may use this code under the GPL, version 2 or newer.
# firewall streamrippers
PATH=/bin:/sbin:/usr/bin:/usr/sbin
IPFW_FILE=/usr/local/etc/rc.d/firewall_misc.sh
tail -50 /usr/local/shoutcast/sc_serv.log | \
egrep ‘Streamripper|FreeAmp|UnknownPlayer|Pathfinder|sr-POSIX|andycadd1|AmiNetRadio|UPLAYER|HiDownload|jake|JetAudio|TotalRecorder’ | \
cut -d\ -f 3 | sed ’s#]$##’ | sort | uniq -c | \
( while read num [...]

18Jun

Monitor Network Services with Nagios - Part 1

No comments

1. Introduction

Nagios is a popular service and host monitor that can send notification messages when network servers go offline by monitoring protocols HTTP, FTP, SMTP, SNMP, PING, arbitrary TCP and UDP ports numbers, and others. In Part 1, we’ll cover how to setup [...]