Friday 6 July 2007

linux lesson2

.on linux, -p is profiling, -g is debugging, -pg is for profiling with gprog
.conio.h is windows only, a gcc equivalent is ncurses.h
.gcc compiler comes with most(all?) distros of linux
.system info is held in /etc/conf.d
.alt f4 closes a program (as youd expect)
.ipconfig -> ifconfig - for help use 'man ifconfig'
.use ifconfig etc0 inet 192.168.0.? to set your ip
.list of terminal commands
http://www.linuxdevcenter.com/linux/cmd/
http://www.ss64.com/bash/
http://www.digilife.be/quickreferences/quickrefs.htm
.linux also has the netstat command displaying open ports.
.use ls -l to list shares

Tuesday 3 July 2007

SSL

SSL stands for secure sockets layer, its a method of creating an encrypted network connection, although vulnerable to man in the middle attack. OpenSSL is an open source SSL lib, you can get find more here http://www.openssl.org/. +7000 is the default ssl port to connect to an IRC server, the irc command for connecting to a server '/server servername portnumner'