IIS maxupload limit ASP

IIS 6 on Windows Server 2003 or R2 has a limit of 200 KB for ASP requests in general and file uploads. To change this limitation you need to edit the Metabase file, which can be found at c:\Windows\System32\Inetsrv\MetaBase.xml. Follow these steps: Stop IIS from command line iisreset /STOP Open MetaBase file, find the variable AspMaxRequestEntityAllowed limits the number of bytes in the page request (by default 200KB); change the value to 1073741824 (unlimited) or to a limit of your choice. ...

8 February 2009 @ 04:19 · Updated: 30 June 2026 @ 03:28 · leo

Discovery Subnet with Ping

Sometime we need to discover an entire subnet. This is a small script not so fast but easy: #!/bin/sh subnet=10.10.10. addr=1 while [ $addr -lt 256 ]; do ping -c 1 -t 1 $subnet$addr /dev/null && echo $subnet$addr Is Alive let addr=addr+1 done

8 February 2009 @ 03:58 · Updated: 30 June 2026 @ 03:28 · leo

Link - Catalyst 4224 Access Gateway Switch Software Configuration Guide - Traffic Shaping  [Cisco Catalyst 4200 Series Switches] - Cisco Systems

Catalyst 4224 Access Gateway Switch Software Configuration Guide - Traffic Shaping [Cisco Catalyst 4200 Series Switches] - Cisco Systems.

2 February 2009 @ 01:03 · leo

Windows - Change IP from command line

Yes, is possibile don’t make lot of click to reconfigure network interfaces under Windows, using “netsh” command like this: For set up static address and metric 1 gateway: netsh interface ip set address name="Local Area Connection" static ip.ip.ip.ip 255.255.255.0 gw.gw.gw.gw 1 For set up static dns: netsh interface ip set dns "Local Area Connection" static xx.xx.xx.xx netsh add dns "Local Area Connection" addr=xx.xx.xx.xx index=2 For setup ip by dhcp: netsh interface ip set address name="Local Area Connection" source=dhcp netsh interface ip set dns name="Local Area Connection" source=dhcp

1 February 2009 @ 19:36 · Updated: 30 June 2026 @ 03:28 · leo

Linux - Iftop

iftop command listens to network traffic on a named network interface, or on the first interface it can find which looks like an external interface if none is specified, and displays a table of current bandwidth usage by pairs of hosts. iftop is a perfect tool for remote Linux server over ssh session. iftop must be run by the root or the user who has sufficient permissions to monitor all network traffic on the network interface. Type iftop command at tge shell prompt to display traffic: ...

26 January 2009 @ 03:34 · Updated: 30 June 2026 @ 03:28 · leo

Linux - Send mail from command line

The Linux command line can be very powerful once you know how to use it. You can parse data, monitor Mutt: One of major drawbacks of using the mail command is that it does not support the sending of attachments. mutt, on the other hand, does support it. I’ve found this feature particularly useful for scripts that generate non-textual reports or backups which are relatively small in size which I’d like to backup elsewhere. Of course, mutt allows you to do a lot more than just send attachments. It is a much more complete command line mail client than the “mail” command. Right now we’ll just explore the basic stuff we might need often. Here’s how you would attach a file to a mail: ...

26 January 2009 @ 03:28 · Updated: 30 June 2026 @ 03:28 · leo

Debian - Service startup

Under Debian Linux startup files are stored in /etc/init.d/ directory and symbolic linked between /etc/rcX.d/ directory exists. Debian Linux uses System V initialization scripts to start services at boot time from /etc/rcX.d/ directory. Debian Linux comes with different utilities to remove unwanted startup file Using rcconf: This tool configures system services in connection with system runlevels. It turns on/off services using the scripts in /etc/init.d/. Rcconf works with System-V style runlevel configuration. It is a TUI(Text User Interface) frontend to the update-rc.d command. ...

26 January 2009 @ 03:23 · Updated: 30 June 2026 @ 03:28 · leo

Debian - Change installation language

# dpkg-reconfigure locales

26 January 2009 @ 03:21 · Updated: 30 June 2026 @ 03:28 · leo

CentOS - Asterisk

Brevemente, come installare Asterisk su CentOS usando yum. Partiamo dal indicare che ufficialmente CentOS nei sui repository non ha i pacchetti di asterisk, quindi è necessario utilizzarne degli altri, in particolare quelli di Trixbox che come ben sapere è basata su questa distribuzione. Per primo, installare il plug-in che ci permette di gestire le priorità [root@server ~]# yum install yum-priorities Creare un file con il seguente contenuto e posizionarlo in /etc/yum.repos.d/ nominandolo con estensione .repo ...

3 January 2009 @ 16:00 · Updated: 30 June 2026 @ 03:28 · leo

RIPE Handle

Sicuramente se si lavora a stretto contatto con im mondo IP vi capiterà prima o poi di avere bisogno di un handle presso il database whois del RIPE. Ogni oggetto specifico del RIPE ha necessità di avere un mantainer dell’oggetto stesso, dopo questa breve premessa possiamo andare sul sito del ripe nella sezione whois e iniziare le operazioni: https://www.db.ripe.net/fcgi-bin/webupdates.pl Person object Create a new object: person person: Leonardo Rizzi (nome completo) address: Via 100 (via e numero civico) address: 00000 Cità (CAP e paese) address: Italy (stato) phone: +39 00 000 000 (numero di telefono) e-mail: lr@deepreflect.net (email) nic-hdl: AUTO-1 (con questo permette di generare automaticamente l’handle) changed: lr@deepreflect.net 19780225 (email e data di modifica anno mese giorno) source: RIPE (sorgente dei dati) ...

26 December 2008 @ 04:39 · Updated: 30 June 2026 @ 03:28 · leo