Google Public DNS IP addresses
The Google Public DNS IP addresses (IPv4) are as follows:
- 8.8.8.8
- 8.8.4.4
The Google Public DNS IPv6 addresses are as follows:
- 2001:4860:4860::8888
- 2001:4860:4860::8844
Internet of things..
The Google Public DNS IP addresses (IPv4) are as follows:
The Google Public DNS IPv6 addresses are as follows:
1 |
apt-get install kamailio kamailio-mysql-modules kamailio-tls-modules |
1 2 3 |
git client: apt-get install git-core # get package with cloning from web site. |
1 2 3 4 5 |
apt-get install gcc apt-get install flex apt-get install bison apt-get install libmysqlclient15-dev apt-get install make |
1 2 3 4 5 |
if you want to enable more modules, some of them require extra libraries: apt-get install libcurl4-openssl-dev apt-get install libxml2-dev apt-get install libpcre3-dev |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# Change The RIP version to 2 telnet localhost 2602 Password: ripd> enable ripd# config ter ripd(config)# router rip ripd(config-router)# version 2 ripd(config-router)# exit #------------------------------------------------------------ Quagga zebra.conf ! -*- zebra -*- ! zebra sample configuration file ! hostname ubuntu1404 password zebra enable password zebra ! Interface's description. !interface lo ! description test of desc. !interface sit0 ! multicast ! Static default route sample. !ip route 0.0.0.0/0 203.181.89.241 interface lo ip address 127.0.0.1/8 # client 1. ethernet 1 configuration interface eth1 ip address 172.20.0.2/24 multicast interface eth2 ip address 172.30.0.1/24 multicast # eth3: e8:39 > 108_inet_3 # eth1: e6:cb > 108_inet_1 log file /var/log/quagga/zebra.log |
Download from here : quagga.PDF_kutayzorlu.com
Components of Quagga (Zebra)
Routingprozess | IPv4 | IPv6 | Telnet-Port | Routingprotokoll |
---|---|---|---|---|
zebra | x | 2601 | Zebra-Daemon | |
ripd | x | 2602 | RIP v1 und v2 | |
ripngd | x | 2603 | RIP v3 (IPv6) | |
ospfd | x | 2604 | OSPFv2 | |
bgpd | x | x | 2605 | BGPv4+ |
ospf6d | x | 2606 | OSPFv3 (IPv6) | |
isisd | x | 2608 | IS-IS |
# firstly we need to install packages,
1 |
$apt-get install kamailio kamailio-mysql-modules kamailio-tls-modules |
# 2 # We should configure kamalio first time, MYSQL db and Configuration of Kmctl
1 2 3 4 5 6 |
# Search configuration file in your server $ find / -name "kamdbctl" # /usr/sbin/kamdbctl #Edit your configuration file what every you want $ nano /usr/sbin/kamdbctl |
# 3 # Please edit also MYSQL connection configuration inside of
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
nano /usr/sbin/kamdbctl >> DBENGINE=MYSQL # ----------------------------- root@kutayzorlu.com# kamdbctl create MySQL password for root: ..... When you enter values it will automaticly create database. also edit this file # nano /etc/kamailio/kamctlrc # kutayzorlu.com > Example Output of Installing SIP SERVER MYSQL DATABASE # kamdbctl create MySQL password for root: INFO: test server charset Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. INFO: creating database sip_kamailio ... Warning: Using a password on the command line interface can be insecure. INFO: granting privileges to database sip_kamailio ... Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. INFO: creating standard tables into sip_kamailio ... Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. INFO: Core Kamailio tables succesfully created. Install presence related tables? (y/n): y INFO: creating presence tables into sip_kamailio ... Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. INFO: Presence tables succesfully created. Install tables for imc cpl siptrace domainpolicy carrierroute userblacklist htable purple uac pipelimit mtree sca mohqueue rtpproxy? (y/n): y INFO: creating extra tables into sip_kamailio ... Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. INFO: Extra tables succesfully created. Install tables for uid_auth_db uid_avp_db uid_domain uid_gflags uid_uri_db? (y/n): y INFO: creating uid tables into sip_kamailio ... Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. INFO: UID tables succesfully created. |
# !##
1 2 |
$database access host (from where is kamctl used) DBACCESSHOST=192.x.X.X |
Errors!!!
Please look at /var/log/syslog
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
21:02:05 kutayzorlu systemd[1]: Stopping LSB: Start the Kamailio SIP proxy server... 21:02:05 kutayzorlu kamailio[2648]: * Kamailio not yet configured. Edit /etc/default/kamailio first. # Example configuration # # Kamailio startup options # # Set to yes to enable kamailio, once configured properly. RUN_KAMAILIO=yes # User to run as USER=kamailio # Group to run as GROUP=kamailio # Amount of shared and private memory to allocate # for the running Kamailio server (in Mb) SHM_MEMORY=64 PKG_MEMORY=4 # Config file CFGFILE=/etc/kamailio/kamailio.cfg # Enable the server to leave a core file when it crashes. # Set this to 'yes' to enable Kamailio to leave a core file when it crashes # or 'no' to disable this feature. This option is case sensitive and only # accepts 'yes' and 'no' and only in lowercase letters. # On some systems it is necessary to specify a directory for the core files # to get a dump. Look into the kamailio init file for an example configuration. #DUMP_CORE=yes |
1 2 3 4 |
please check ports , tcp 0 0 192.168.x.x:5060 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:5060 0.0.0.0:* LISTEN - |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
/etc/init/failsafe.conf #ifdown eth0 #ifdown eth1 # Adding deb kamailio package address to source.list (1) edit kamdb (2) edit /etc/default/kamailio # If you want to use Mysql module of Kamailio $ kamdbctl create $kam ... user pass domain # Create user over terminal. |
A VPN is for wrapping raw IP packets into some kind of “tunnel” between two sites.
– Connection speed is going slow down cause of Encryption.
Performance : UDP is better
Security : For Experts , it is The same . UDP is also secure, because VPN service adding EXTRA header inside of UDP
Connectionless > TCP is a protocol which sits on top of IP, (which are “unreliable“: Packet lost, duplicated, reordered)
to provide a reliable two-directional channel for data bytes, where bytes always reach the receiver in the order they were sent. TCP does that by using a complex assortment of metadata with explicit acknowledges and reemissions. Thus, TCP incurs a slight network overhead.
If VPN uses TCP, it is paying the TCP overhead twice. An UDP-based VPN thus has the potential for slightly better performance. On the other hand, the cryptographic protection of the VPN requires some state management, which may be harder for the VPN implementation when using UDP, hence it is possible that the UDP-based VPN has an extra overhead to contend with.
Performance is tested by me, and UDP connection performance obviously better than TCP.