Žilinská univerzita > Fakulta riadenia a informatiky > Katedra informačných sietí

Using tcpdump for diagnostic of DNS - debian

TCPdump is a powerful command-line packet analyzer, which may be used for analyzing of DNS question/answer process. TCPdump is preinstalled on many linux distributions. For debian it can be installed directly from the debian repository:

apt-get install tcpdump

TCPdump allows write a sniff to file or display it realtime. It provides several ways how to use it for DNS analysis. Now I will write a few examples. Deeper description is at the bottom of the page.


Example 1) Capture DNS on the fly:

Installing WebRTC2SIP gateway - tutorial

System preparation

apt-get update
apt-get upgrade

As the first step we need to install packages necessary to build the main webrtc2sip gateway:

apt-get install build essential libtool automake subversion git pkg-config screen libxml2-dev / 
libssl-dev libsrtp0-dev

to support for libspeex (audio codec) and libspeexdsp (audio processing and jitter buffer) add

Configuring Kamailio 4.x for WebSocket

Author: Patrik Formanek 2014

This tutorial instruct how to add the WebSocket support for your kamailio SIP server. As the prerequisities we need to have successfully installed and working kamailio server (described within several tutorials in this site, for example Installing Kamailio 3.1 within SIP/Kamailio section of this site).

As the first step we need to install websocket modules:

IPpv6 subnet calculator

Network simulators and virtualization - the list

The page provides summarized view of security tools, which we used.




web: http://clownix.net/

Setting up the Boghe IMS client to register within the Kamailio 4.x IMS platform

To test the basic Kamailio IMS setup, as it is described in book  Kamailio 4.x IMS platform we need some IMS clients, here we use IMS Boghe. We will register it within IMS domain with suffix ims1.sip.uniza.sk.

Creating a network bridge in linux

The creation of network bridge among two PC's networking cards in linux consist from a few following steps:

Prepare your interfaces:

ifconfig eth0 down
ifconfig eth1 down
ifconfig eth0 up
ifconfig eth1 up

Create a bridge

brctl addbr br0

Connect network interface cards to the bridge

brctl addif br0 eth0
brctl addif br0 eth1

Turn on IPv4 routing

echo "1" > /proc/sys/net/ipv4/ip_forward

Turn off Spanning Tree protocol

Connecting Dynamips/Dynagen router with a real network - in linux

Dynamips/Dynagen supports the interconnection of dynamips router interfaces with a real, in my case ethernet, network cards.  In this case I'm focusing on linux OSs. Within the article "Connecting GNS3 with a VirtualBox host" I'm describing how to do that for GNS3 and Windows 7 environment.

Kamailio 4.x IMS - Installing SCSCF

Find the according configs in the examples folder of Kamailio (Trunk) and copy them to configuration fol​der.

Kamailio 4.x IMS - Installing HSS

This HSS implementation uses as its backend MySQL database, so we need install mysql server also on this host. This step of installing mysql server you need to accomplish before installation of HSS, because HSS package executes post-installation scripts that creates HSS database with tables and users and this step needs functional and running mysql server.

During mysql installation you will be asked for mysql root password, which will be needed in some next steps:

Syndicate content