Table of Contents

@related : Modem Hardware , Linux , Windows, EMail , Security P2P Download FileTransfer FileSystem Ethernet SSH Privacy Communication Gateway Port

A Network is a set of connected Computer (or item if talking Math), Internet is the interconnextion of networks

[[Networks]]

list open ports : http://check.sdv.fr

nntp://localhost:433/ 

[[Proxy]]

http://www.privoxy.org/

http://anon.inf.tu-dresden.de/fragen/index_en.html

apt-cache search proxy chain
anon-proxy - Proxy to surf the web anonymously
proxychains - Proxy Chains - redirect connections through proxy servers
http_proxy="http://127.0.0.1:4001"
HTTP_PROXY=$http_proxy
export http_proxy HTTP_PROXY

SOCKS5 (RFC 1928)

http://mirrors.ccs.neu.edu/cgi-bin/unixhelp/man-cgi?ssh-socks5-proxy-connect+1

http://freshmeat.net/projects/socks5/

BYPASS HTTP RESTRICTION

http://install.xav.com/?p=cgiproxy

http://www.jmarshall.com/tools/cgiproxy/releases/cgiproxy.2.0.1.tar.gz

SSH tunneling on proxy w/out ntlm http://davenport.sourceforge.net/ntlm.html

http://linuxfr.org/tips/130.html

http://www.math.jussieu.fr/informatique/tunnel_ssh.html

$REMOTE Must be a proxy listening on 80 port

ssh -p 443 -L80:localhost:80 $REMOTE

CONFIGURATION

# apt-get install shaper shaperd

http://www.knowplace.org/shaper/

http://tcng.sourceforge.net/

http://sp9wun.republika.pl/linux/shaperd_cbq_en_old.html

Here's a quick list of the maximum transfer rates for various connections in megabits (Mb) and megabytes (MB) per second:

Trafic Shaper

sudo apt-get install wondershaper
zless /usr/share/doc/wondershaper/README.Debian.gz
RTNETLINK answers: Invalid argument

ETH HUB

http://support.dlink.com/Products/view.asp?productid=DE-809TC

BUGS & TROUBLES

root@ttyp4[[rzr]]# /etc/init.d/dovecot stop ; /etc/init.d/dovecot start
Stopping mail server: dovecot .
Starting mail server: dovecotFatal: listen(993) failed: Address already in use
netstat -anp

http://www.iana.org/assignments/port-numbers

NETWORK

route del default
/etc/ssh/sshd_config  # export display w/ ssh
X11Forwarding yes
ssh -L 1234:localhost:22 remotehost -s sftp
to tunnel all request on port 1234 to secure port 22 and allow a SFTP.
# Here's the fun part: we open up a port for forwarding, put ssh in
# the background as soon as it's authenticated, and sleep to give
# rlpr a chance to connect
ssh -fL ${LOCAL_PORT}:${PRINTER}:515 $HOST sleep $SLEEP && /usr/bin/rlpr --send-data-first --printhost localhost --port $LOCAL_PORT

$*

FILESYSTEM

Network files could be reach transparently through FileSystem w/ Samba, NFS etc

TIME :

Compile kernel to non GMT clock (like Win etc)

date --set "02/02/2003 22:23"
hwclock  --systohc --localtime
# sync your time agains a server?
#for one-shot  :
ntpdate  ntp.nerim.net
#(or ntpd, rdate);
#france:  ntp.nerim.net, univ-lyon1.fr

MISC

Exporting display

Database : http://www.mysql.com/doc/en/Repair.html

Share Internet link (setting a router up)

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE # @S
echo "1" > /proc/sys/net/ipv4/ip_forward # @S

Xchat in French With accents LC_CTYPE=french xchat

root@debian# dpkg-reconfigure locales
Generating locales...
en_IN.UTF-8... done
en_US.ISO-8859-1... done
en_US.ISO-8859-15... done
en_US.UTF-8... done
fr_FR.ISO-8859-15@euro... done
fr_FR.ISO-8859-1... done
fr_FR.UTF-8@euro... done
fr_FR.UTF-8... done

MISC

/etc/dhcpd.conf
send hostname '_hostname_'

MORE

@TaG: NetWork

http://mrdiv.tumblr.com/