Feed on
Posts
Comments

Tag Archive 'networking'

I recently made an helper class to download a file from the web and save it to the file sytem while updating a ProgressDialog to let the user know the percentage of the download made. This class has the responsibility to manage the network communication and to send messages to the UI to update the [...]

Read Full Post »

phpKnockClient 1.0

I've implemented a port-knocking client implementation in PHP inspired by the knockd C implementation made by Judd Vinet. You can can download it at this page. If you don't know what port knocking is, it can briefly described as a way of surreptitiously offering services on a server without advertising the fact. By delivering a [...]

Read Full Post »

Yesterday I was googling to find the algorithm to covert a netmask (in the dotted decimal format like 255.255.255.0) in corresponding cidr to manage a database migration, but I can't find it. So I wrote it in PHP. The following function takes a valid netmask in the dotted decimal format as a string in input [...]

Read Full Post »

Ho finito di cablare casa ;-)

Sono ormai tre mesi che ho traslocato, ma solo da poco ho finito di camblare casa: ogni stanza ha almeno una presa di rete (il mio studio ne ha due) e ho posizionato nello sgabuzzino il centro stella dove ho installato il router ADSL, lo switch e il file server. Mentre ultimavo il montaggio del [...]

Read Full Post »

Uno dei limiti che avevo su piattaforma Mac OS X nel mio lavoro quotidiano era di non poter montare directory remote via ssh integrandole nel file system del mio MacBook. Spesso mi serve questa possibilità per fare il deploy di applicazioni web su server remoti che per ragioni di sicurezza permettono l'accesso solo via ssh. [...]

Read Full Post »