Kategoriarkiv: Networking

TCP/IP and tcpdump Guide

Pocket Reference Guide: http://base.fujang.dk/files/black/tcpip.pdf Guide to IP Layer Network Administration with Linux: http://base.fujang.dk/files/black/linux-ip.html Etheral: an alternate packet sniffer Download: http://www.ethereal.com/ User guide: http://www.ethereal.com/docs/user-guide/

Udgivet i Knowledge Base, Links, Linux, Networking, 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

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: … Læs resten

Udgivet i Domain Name System, Knowledge Base, Networking, Old Base | Skriv en kommentar

Password recovery on Cisco-routers

Step-by-step… 1. Get connected with a rollover-cable from your serial-interface, to the routers console-interface. 2. Coldboot your router, and within the first 60 secs of the boot-sequence send the break signal. 3. You’re now in boot-mode, and now we can … Læs resten

Udgivet i Cisco, Knowledge Base, Networking, Old Base | Skriv en kommentar

Change NIC MAC in linux

root@spacecamp:~# ifconfig eth2 down root@spacecamp:~# ifconfig eth2 hw ether aa:aa:aa:aa:aa:aa root@spacecamp:~# ifconfig eth2 up root@spacecamp:~# ifconfig eth2 eth2 Link encap:Ethernet HWaddr AA:AA:AA:AA:AA:AA inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1275 … Læs resten

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar

Packet filtering in FreeBSD

FreeBSD got a packet filter like linux also, very simple to use and the rules are imo way more simple than those in linux. First you gotta recompile your kernel with: options IPFIREWALL in it, when you boot the kernel … Læs resten

Udgivet i FreeBSD, Knowledge Base, Networking, Old Base | Skriv en kommentar

FreeBSD ipv6 client

Asuming your router is working correctly with the ip 3ffe:80ee:5f8::/1 with a /64 range. * Give the interface “wi0” the ip 3ffe:80ee:5f8::2 with cidr prefix 64 ifconfig wi0 inet6 3ffe:80ee:5f8::2 prefixlen 64 * Add default ipv6 gateway route add -inet6 … Læs resten

Udgivet i FreeBSD, Knowledge Base, Networking, Old Base | Skriv en kommentar

IPv6 router under FreeBSD

First set up the IPv6 native for the router(mostly done by tunneling) XS26.net’s scripts #!/bin/sh #MYIPv4=”80.196.157.241″ # My IPv4 address #XSIPv4=”62.61.157.209″ # PoP’s IPv4 address #MYIPv6=”3ffe:80ee:5f8::1″ # Choose any IPv6 address from the range # you’ve got from XS26 ##TUNLIF=”gif0″ … Læs resten

Udgivet i FreeBSD, Knowledge Base, Networking, Old Base | Skriv en kommentar

Wake On Lan Mini Howto

http://gsd.di.uminho.pt/jpo/software/wakeonlan/mini-howto/wol-mini-howto.html

Udgivet i Knowledge Base, Linux, Networking, Old Base | Skriv en kommentar