Remote capture using wireshark: First of, Create the pipe my@desktop:~$ mkfifo /tmp/pipes/cap_fw “/tmp/pipes/” is where I create my pipes, feel free to use whatever directory you prefer. “cap_fw” is the name of the pipe I selected. Start tcpdump remotely with ssh from the desktop where you have wireshark installed: my@desktop:~$ ssh root@<firewall> "tcpdump -s 0 -U -n -w - -i... Read More »
Bash Conditional Expressions Conditional expressions are used by the [[ compound command and the test and [ built-in commands. Expressions may be unary or binary. Unary expressions are often used to examine the status of a file. There are string operators and numeric comparison operators as well. If the file argument to one of the primaries is of the form /dev/fd/N, then file descriptor N is checked. If the file argument to one... Read More »
You can try this command: :g/^\(#\|$\)/d Or (Use ; for the Asterisk PBX configuration files.) :g/\v^(#|;)/d \| is for alternation \v is very magic (minimal backslash escape) ... Read More »
Resolution is the number of pixels in an image. In general terms, the higher the resolution, the better the image quality. The following terms are used for different video resolution values that are common in video calling for WebRTC: QVGA – 320×240 VGA – 640×480 720p (or HD 720) – 1280×720 1080p (or HD 1080) – 1920×1080 4K – 4096×2160 WebRTC... Read More »
1. Install required packages$ sudo apt-get install build-essential libncurses5-dev 2. Download, extract and compile SIPp$ wget "http://downloads.sourceforge.net/project/sipp/sipp/3.2/sipp.svn.tar.gz?r=&ts=1314783436&use_mirror=puzzle" -O sipp.svn.tar.gz$ tar -xzf sipp.svn.tar.gz$ cd sipp.svn$ make 3. Set up the SIP serverNote these instructions are for configuring the Asterisk open source PBX, for other platforms you will need to consult the documentation. First, define the SIP peer by adding to the end of... Read More »
Asterisk behind NAT The Asterisk Server is behind NATThe Asterisk server could be on the LAN (or in a DMZ) with a NAT firewall between it and the Internet. When it communicates with external peers or devices, the network connections have to pass through the local NAT device.The remote device that is connecting to Asterisk is behind NATSuppose that your... Read More »