To configure your Ethernet device with a static IP address and custom configuration, some more information will be required.
Suppose you want to assign the IP address 192.168.0.2 to the device eth1, with the typical netmask of 255.255.255.0.
Your default gateway’s IP address is 192.168.0.1. You would enter something like this into /etc/network/interfaces:
iface eth1 inet [...]
root@laptop:~# php -i|grep php.ini
Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini
root@laptop:~#
PHP Security
PHP as a module or as a CGI
Using PHP as a mod-ule is suitable for systems that are dedicated to a single purpose or for sites run by trusted groups of administrators and developers. Using PHP as a CGI (possibly with an execution wrapper) is a better option when users cannot be fully [...]
Security section of the PHP manual (http://www.php.net/manual/en/security.php)
PHP Security Consortium (http://www.phpsec.org)
tshark – Dump and analyze network traffic
# tshark -n -i ppp0 port 80
Running as user “root” and group “root”. This could be dangerous.
Capturing on ppp0
-n Disable network object name resolution (such as hostname, TCP and UDP port names), the -N flag might override this one.
-i [capture interface]
TShark is a [...]
Changing MTU
$ sudo ifconfig ppp0 mtu 1492
In computer networking, the maximum transmission unit (MTU) of a layer of a communications protocol is the size (in bytes) of the largest protocol data unit that it can pass onwards. MTU parameters usually appear in association with a communications interface (NIC, serial port, etc.). The MTU may be [...]