Linking pre 3.2 Unreal IRCD Servers

This describes how to link pre 3.2 Unrealircd server 3.2+ are using a differet config file format.

C tells the server to try to connect to the server with adresse 10.2.1.10 with name hub.geeknet.dk on port 6667 in connection class 50(dont mind that one) using VeryAdvancedPassword as password.

N allows the server with adress 10.2.1.10 and name hub.geeknet.dk to connect to it.

C and N must always be in pair otherwise it wont work.

C:10.2.1.10:VeryAdvancedPassword:hub.geeknet.dk:6667:50
N:10.2.1.10:AnotherAdvancedPassw:hub.geeknet.dk::50

When we are connecting a client server to a hub we also have to tell our local server that hub.geeknet.dk er allowed to introduce us to new servers, this is done by specifying a H line , like list:

H:*::hub.geeknet..dk
Udgivet i Knowledge Base | Skriv en kommentar

Linking pre 3.2 Unreal IRCD Servers

This describes how to link pre 3.2 Unrealircd server 3.2+ are using a differet config file format.

C tells the server to try to connect to the server with adresse 10.2.1.10 with name hub.geeknet.dk on port 6667 in connection class 50(dont mind that one) using VeryAdvancedPassword as password.

N allows the server with adress 10.2.1.10 and name hub.geeknet.dk to connect to it.

C and N must always be in pair otherwise it wont work.

C:10.2.1.10:VeryAdvancedPassword:hub.geeknet.dk:6667:50
N:10.2.1.10:AnotherAdvancedPassw:hub.geeknet.dk::50

When we are connecting a client server to a hub we also have to tell our local server that hub.geeknet.dk er allowed to introduce us to new servers, this is done by specifying a H line , like list:

H:*::hub.geeknet..dk
Udgivet i Uncategorized | Skriv en kommentar

Linux IPv6 opsætning

Noterne er baseret på følgende netværks konfiguration:
Public IPv4 IP: 80.199.18.5
Router IPv6 IP: 3ffe:80ee:603::1/128
Klient IPv6 IP: 3ffe:80ee:603::2
IPv4 IP på tunnel endpoint i .dk: 62.61.157.209

Klient opsætning:
På klienterne skal følgende indskrives i et af startscriptene:

modprobe ipv6
ifconfig eth0 add 3ffe:80ee:603::2/48
route -A inet6 add 2000::/3 gw 3ffe:80ee:603::1

Hvor IPv6 IP for klienten er ::2.

Server opsætning:
Scriptet rc.ipv6:

# Connection to XS26.net
MYIPv4="80.199.18.5" 		# My IPv4 address
XSIPv4="62.61.157.209"  	# PoP's IPv4 address
MYIPv6="3ffe:80ee:603::1/128"	# Choose any IPv6 address from the range
				# you've got from XS26
TUNLIF="xs26-0"			# interface used for the tunnel - default should be ok

iptunnel add $TUNLIF mode sit local $MYIPv4 remote $XSIPv4 ttl 64
ifconfig $TUNLIF up
route -A inet6 add 2000::/3 dev $TUNLIF
ifconfig $TUNLIF add $MYIPv6

#connection to localnet
ifconfig eth0 add 3ffe:80ee:603::1/48
#activating forward
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Rsync synkronization of files trough ssh

peanut# rsync -ave ssh root@unifix.org:/www/base.fujang.dk .
root@unifix.org's password:
receiving file list ... done
base.fujang.dk/
base.fujang.dk/.ssh/
base.fujang.dk/cgi-bin/


Synkronizes "." with "/www/base.fujang.dk" on unifix.org , read as the user root, you can prevent typing password by using keyfiles for furter instructions see http://base.fujang.dk/cgi-bin/index.pl?action=show&ID=13
Udgivet i FreeBSD, Knowledge Base, Linux, Old Base | Skriv en kommentar

DNS Zone transfeers with dig

Zone transfer query send to ns.unifix.org for the domain 2600dk

dig @ns.unifix.org 2600dk.net AXFR
Udgivet i Domain Name System, Knowledge Base, Networking, Old Base | Skriv en kommentar

.htaccess password protection

The htaccess file:
AuthName "-- Clasified area --"
AuthType Basic
AuthUserFile /www/htpasswd
require user rip rap rup


To initialize the passwd file: , file must be outside wwwroot
root@chilibeans:/root# htpasswd -c /www/htpasswd mike
New password:
Re-type new password:
Adding password for user mike

Following to add news users use same command except "-c"
Udgivet i Apache, FreeBSD, Knowledge Base, Lamp, Linux, Old Base | Skriv en kommentar

check open ports on Linux with Netstat

If you for some reason need to find out, what program uses a specific port use this cmd:

netstat -p -l --numeric-ports
Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

Probe version of Named deamons

Nameserver ns.tele.dk runs Bind 9.2.2, bind 8.2 og hoejere kan fake version output.

root@chilibeans:~# dig @ns.tele.dk txt chaos version.bind.

; <<>> DiG 9.2.2rc1 <<>> @ns.tele.dk txt chaos version.bind.
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32816
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;version.bind.                  CH      TXT

;; ANSWER SECTION:
version.bind.           0       CH      TXT     "9.2.2"

;; Query time: 13 msec
;; SERVER: 193.162.159.194#53(ns.tele.dk)
;; WHEN: Tue Jul  8 02:08:29 2003
;; MSG SIZE  rcvd: 48
Udgivet i Domain Name System, Knowledge Base, Networking, Old Base | Skriv en kommentar

Indstillinger i Mozilla Firebird

Here's some tips:
more can be found at http://texturizer.net/firebird/tips.html

Smooth Scrolling

Mozilla Firebird 0.6 has a Smooth Scrolling feature enabled by default. Later nightly builds have the feature disabled. To enable or disable this feature, add the following code to your user.js file:
// Smooth Scrolling (true = on, false = off):
user_pref("general.smoothScroll", true); 

Change the search mode in the address field

By default, if you enter a search term in the address field and press Enter, a Google "I'm Feeling Lucky" search is performed, and you're taken to the first result of that search directly. If you prefer to see the standard search result list instead, add the following code to your user.js file:
// Change to normal Google search:
user_pref("keyword.URL", "http://google.com/search?btnG=Google+Search&q=");

Of course, you could also change to a completely different search engine by changing the string to something else. The default search string is: "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=".

--- ||| ---

The profile folder is where Mozilla Firebird saves all your settings and refers to a location on your hard drive.

On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Phoenix\Profiles\default\xxxxxxxx.slt\, where xxxxxxxx is a random string of 8 characters. Just browse to C:\WINDOWS\Application Data\Phoenix\Profiles\ and the rest should be obvious.

On Windows 2000/XP, the path is usually %AppData%\Phoenix\Profiles\default\xxxxxxxx.slt\.

On Linux, the path is usually ~/.phoenix/default/xxxxxxxx.slt.

On MacOS X, the path is usually ~/Library/Phoenix/Profiles/default/xxxxxxxx.slt.

user.js

This is the main preferences file for Mozilla Firebird and is located in your profile folder. The file does not exist by default, so you need to create it before you can start adding your preferences.
Udgivet i Knowledge Base, Linux, Old Base, Windows | Skriv en kommentar

portupgrade in FreeBSD

if tou would like to upgrade all installed ports on your machine 
simply make a 
"portupgrade -a"
if it make some trouble and says something about i don't like this because i need some dependendies or something then put a -O on it
Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar