Archive for the ‘Networking’ Category

23 Dec
2011

Playing with the sockets: socat and netcat

Connect two netcats to each other

<span style="color: #c20cb9; font-weight: bold;">mkfifo</span> backpipe
nc localhost <span style="color: #000000;">55545</span> <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">&lt;</span>backpipe <span style="color: #000000; font-weight: bold;">|</span> nc localhost <span style="color: #000000;">55546</span> <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">&gt;</span>backpipe

Telnet with readline and a history:

socat <span style="color: #660033;">-d</span> <span style="color: #660033;">-d</span> READLINE,<span style="color: #007800;">history</span>=<span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>.http_history \
TCP4:www.domain.org:www,crnl

Talk… Read more

3 Jul
2011

X11 over SSH

CentOS 5's and Fedora 15's base installations are pretty good prepared to use X11 over SSH. You just need to install one more package on the server you're connecting to: xorg-x11-xauth. According to yum info, the purpose of this package is:
xauth is used to edit and display theRead more

7 May
2011

Native IPv6: First steps

Today I made my first native IPv6 connection. I've been running Teredo/Miredo on my laptop for quite a while now, and I thought it was time to get a real IPv6 connection. I could use IPv6 autoconfiguration, but on a server you need a fixed IP.

Needed software

Install required… Read more

6 May
2011

Firewall your Exchange 2007 server

Software that is not reachable, can't be hacked. Easy as that. So if you have an cloud-based anti-spam/anti-virus filter, you can block your smtp server for badguys.

In my situation, I'm using a Windows 2008 SBS server with Exchange 2007.

  1. Start wf.msc
  2. Go to inbound rules
  3. Find MSExchangeTransportWorker and

Read more

20 Apr
2011

Squid active directory authentication on Centos 5.6

Step 1. Install ntp and synchronize clocks

We'll be using winbind, kerberos and ntlm to authenticate the user. This requires the clocks of the AD server and the proxy server to be synchronized.

[[code]]czoxMDA6XCJycG0gLXFhIG50cCB8fCB5dW0gLXkgaW5zdGFsbCBudHA8YnIgLz4Kc2VkIC1pICZxdW90O3MvXnNlcnZlciAvI3NlcnZ7WyYqJl19ZXIgL2cmcXVvdDsgL2V0Yy9udHAuY29uZjxiciAvPlwiO3tbJiomXX0=[[/code]]
Read more
19 Jul
2010

Useful VPN Services

Say you're living in China, and you have no web freedom whatsoever. Or in the Netherlands, and your favorite linux distro download site has been blocked by the corrupt "elite". Then having a tunnel to outside the country could be very useful.

I found two VPN services… Read more

23 Feb
2010

Share one VPN connection

My personal Linux laptop is a real spider in the web. It's got OpenVPN connections to the office, to the datacenter, to serveral family members, etcetera. I love it. But sometimes, there are some tasks that Linux simply can't do, like running a vSphere client.

For those situations, I use… Read more

3 Feb
2010

PXE Boot with old-style dhcp and tftp

In this article I'm covering the use of old-style dhcp and tftp, which is useful for company networks that have/need a complete dhcp server running. Personally, for smaller setups, I now prefer dnsmasq to do the job.

Booting from PXE

With most modern onboard and PCI network interface… Read more

Pages

Search

Tags

3com 4250T 5216k access point acpi Acrobat Active Directory AD ad-hoc wifi Adobe ADSL Apache Asterisk Asterisk 1.8 autorepair backdoor barcode bash bat batch Belkin bios bootloader CentOS CentOS 5 CentOS 6 certificates checksum cmos console access cookies CUPS database databases Dead default password Dell dhcp digital invoice dns dnsmasq dovecot Dymo dynamic dns dyndns e-commerce EAN13 Esx Esx4 Exchange Exchange 2007 fax Fedora Fedora 13 Fedora 15 Firefox firewall firmware fix FoIP fonts ftp fuckup Fun ghostscript Google Google apps Google Chrome Google Maps Google Talk GPO grub gvfs-open H200 Hack hibernation HP Laserjet http hushlogin initrd internet explorer iproute2 iptables IPv6 jQuery KB953297 KB974417 KBsomething layer8 LDAP ldifde Linux login Lovelock lpd magento mkinitrd mplayer ms office ms office 2010 Multihoming mysql Nagios net networking nullmodem nvram Omniview OpenSSL openvpn password patch pcl pdf PERC PHP Postfix PostScript preload printer privacy proxy pstn pureftpd pxe rant reboot RedHat remote remote wipe reset password Review root root access route router rpm Samba Samsung Galaxy S2 scripting securit security SELinux Sendmail SEO Servicetag shutdown SMTP socat software deployment Spam speed-up SQL Server Express squid ssh SSL starttls stupid switch sysinternals syslinux talk tftp thawte Thunderbird Trend Micro updates v4l v4l2 vdr viclient video VMWare VMWare Data Recovery vnc voice voip vpn vSphere vsphere client webapps webcam wf.msc wifi Windows Windows 7 Windows 2003 Windows 2008 SBS windows internal database Windows Updates Windows XP wmic WordPress WordPress plugins wscript WSUS wsusutil WYukon x11 xorg-x11-xauth