Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
PKÓ#Y[iUÔ%__dhclient-exit-hooks.d/sendmailnuW+A„¶#!/bin/sh # # This script is called when a dhcp event occurs. # # Here is where we'll start/stop sendmail if needed. # # Written By Richard Nelson # # NOTE: The following lines (without the #) must be in /etc/mail/sendmail.mc: # include(`/etc/mail/dialup.m4')dnl # include(`/etc/mail/provider.m4')dnl # # NOTE: The dhcp DNS name is used as the peer name in /etc/mail/peers. # # No need to continue if we're called with an unsupported option case "$reason" in EXPIRE|FAIL|RELEASE|STOP) #down... and TIMEOUT too ??? ;; BOUND|RENEW|REBIND|REBOOT|TIMEOUT) #up... why TIMEOUT here ??? ;; *) return; ;; esac; # Bring in some script functions to handle dynamic configuration . /usr/share/sendmail/dynamic; # Note the interface that just changed update_interface "$interface" "$reason"; # If the domain name has changed, update the provider information if [ "$new_domain_name" != "$old_domain_name" ]; then update_provider "$new_domain_name"; fi; # If the ip address has changed, update the host information if [ "$new_ip_address" != "$oldnew_ip_address" ]; then update_host "$new_ip_address"; fi; # If anything has been changed, update sendmail.cf and reload # Actually, we'll delay the reload because we'll be hit in a moment # to handle the change by /etc/network/if-up.d/sendmail update_sendmail "dhcp" Delayed; return; PKÓ#Y[Ä)ÍXââdhclient-exit-hooks.d/ntpnuW+A„¶NTP_CONF=/etc/ntp.conf NTP_DHCP_CONF=/var/lib/ntp/ntp.conf.dhcp ntp_server_restart() { invoke-rc.d ntp try-restart } ntp_servers_setup_remove() { if [ ! -e $NTP_DHCP_CONF ]; then return fi rm -f $NTP_DHCP_CONF ntp_server_restart } ntp_servers_setup_add() { if [ -e $NTP_DHCP_CONF ] && [ "$new_ntp_servers" = "$old_ntp_servers" ]; then return fi if [ -z "$new_ntp_servers" ]; then ntp_servers_setup_remove return fi tmp=$(mktemp "$NTP_DHCP_CONF.XXXXXX") || return chmod --reference=$NTP_CONF $tmp chown --reference=$NTP_CONF $tmp ( echo "# This file was copied from $NTP_CONF with the server options changed" echo "# to reflect the information sent by the DHCP server. Any changes made" echo "# here will be lost at the next DHCP event. Edit $NTP_CONF instead." echo echo "# NTP server entries received from DHCP server" for server in $new_ntp_servers; do echo "server $server iburst" done echo sed -r -e '/^ *(server|peer).*$/d' $NTP_CONF ) >>$tmp mv $tmp $NTP_DHCP_CONF ntp_server_restart } ntp_servers_setup() { case $reason in BOUND|RENEW|REBIND|REBOOT) ntp_servers_setup_add ;; EXPIRE|FAIL|RELEASE|STOP) ntp_servers_setup_remove ;; esac } ntp_servers_setup PKÓ#Y[^2«T&&dhclient-exit-hooks.d/ntpdatenuW+A„¶NTPDATE_CONF=/etc/default/ntpdate NTPDATE_DHCP_CONF=/var/lib/ntpdate/default.dhcp ntp_servers_setup_remove() { rm -f $NTPDATE_DHCP_CONF } ntp_servers_setup_add() { if [ -e $NTPDATE_DHCP_CONF ] && [ "$new_ntp_servers" = "$old_ntp_servers" ]; then return fi if [ -z "$new_ntp_servers" ]; then ntp_servers_setup_remove return fi tmp=$(mktemp "$NTPDATE_DHCP_CONF.XXXXXX") || return chmod --reference=$NTPDATE_CONF $tmp chown --reference=$NTPDATE_CONF $tmp ( echo "# NTP server entries received from DHCP server" echo "NTPSERVERS='$new_ntp_servers'" ) >>$tmp mv $tmp $NTPDATE_DHCP_CONF } ntp_servers_setup() { case $reason in BOUND|RENEW|REBIND|REBOOT) ntp_servers_setup_add ;; EXPIRE|FAIL|RELEASE|STOP) ntp_servers_setup_remove ;; esac } ntp_servers_setup PKÓ#Y[5¨Nììdhclient-exit-hooks.d/debugnuW+A„¶# # The purpose of this script is just to show the variables that are # available to all the scripts in this directory. All these scripts # are called from /etc/dhcp3/dhclient-script, which exports all the # variables shown before. If you want to debug a problem with your DHCP # setup you can enable this script and take a look at # /tmp/dhclient-script.debug. # To enable this script set the following variable to "yes" RUN="no" if [ "$RUN" = "yes" ]; then echo `date`: entering dhclient-exit-hooks.d, dumping variables. \ >> /tmp/dhclient-script.debug for i in reason interface medium alias_ip_address new_ip_address \ new_subnet_mask new_domain_name new_domain_search \ new_domain_name_servers new_routers new_static_routes \ old_ip_address old_subnet_mask old_domain_name \ old_domain_search old_domain_name_servers old_routers \ old_static_routes; do echo $i=\'${!i}\' >> /tmp/dhclient-script.debug done echo '--------------------------' >> /tmp/dhclient-script.debug fi PKÓ#Y[›zÊuìì.dhclient-exit-hooks.d/rfc3442-classless-routesnuW+A„¶RUN="yes" if [ "$RUN" = "yes" ]; then if [ "$new_rfc3442_classless_static_routes" != "" ]; then if [ "$reason" = "BOUND" ] || [ "$reason" = "REBOOT" ]; then rfc_routes=($new_rfc3442_classless_static_routes) for(( i=0; i < ${#rfc_routes[@]}; )); do net_length=${rfc_routes[$i]} ((i++)) net_address=(0 0 0 0) for(( j=0; j < $[$net_length / 8 + \ ($net_length % 8 ? 1 : 0)]; j++, i++)); do net_address[$j]=${rfc_routes[$i]} done gateway=(0 0 0 0) for (( j=0; j < 4; j++, i++ )); do gateway[$j]=${rfc_routes[$i]} done old_IFS="$IFS" IFS='.' if [ "$net_length" == "32" ]; then /sbin/route add -host "${net_address[*]}" gw "${gateway[*]}" else /sbin/route add -net "${net_address[*]}/$net_length" gw "${gateway[*]}" fi IFS="$old_IFS" done fi fi fi PKÓ#Y[¾²i««3/dhclient-enter-hooks.d/sambanuW+A„¶#!/bin/sh SAMBA_DHCP_CONF=/etc/samba/dhcp.conf netbios_setup() { # No need to continue if we're called with an unsupported option case $reason in BOUND|RENEW|REBIND|REBOOT|EXPIRE|FAIL|RELEASE|STOP) ;; *) return ;; esac umask 022 local other_servers="" local serverlist="" # the destination file won't exist yet on the first run after # installing samba if [ -e $SAMBA_DHCP_CONF ] then # don't continue if no settings have changed if [ "$new_netbios_name_servers" = "$old_netbios_name_servers" ] \ && [ "$new_netbios_scope" = "$old_netbios_scope" ] \ && [ -n "$new_netbios_name_servers" ] then return fi # reparse our own file other_servers=`sed -n -e"s/[[:space:]]$interface:[^[:space:]]*//g; \ s/^[[:space:]]*wins server[[:space:]]*=[[:space:]]*//pi" \ $SAMBA_DHCP_CONF` serverlist="$other_servers" fi for server in $new_netbios_name_servers do serverlist="$serverlist $interface:$server" done echo -n > ${SAMBA_DHCP_CONF}.new # If we're updating on failure/expire, AND there are no WINS # servers for other interfaces, leave the file empty. if [ -z "$other_servers" ] then if [ "$reason" = FAIL ] || [ "$reason" = EXPIRE ] then mv ${SAMBA_DHCP_CONF}.new $SAMBA_DHCP_CONF return fi fi if [ -n "$serverlist" ] then echo " wins server =$serverlist" >> ${SAMBA_DHCP_CONF}.new fi if [ -n "$new_netbios_scope" ] then echo " netbios scope = $new_netbios_scope" >> ${SAMBA_DHCP_CONF}.new fi mv ${SAMBA_DHCP_CONF}.new $SAMBA_DHCP_CONF # reload the samba server # We don't necessarily have the samba package installed. #414841 [ -x /etc/init.d/samba ] && /usr/sbin/invoke-rc.d samba reload } netbios_setup PKÓ#Y[jµG‘éédhclient-enter-hooks.d/debugnuW+A„¶# # The purpose of this script is just to show the variables that are # available to all the scripts in this directory. All these scripts # are called from /etc/dhcp3/dhclient-script, which exports all the # variables shown before. If you want to debug a problem with your DHCP # setup you can enable this script and take a look at # /tmp/dhclient-script.debug. # To enable this script set the following variable to "yes" RUN="no" if [ "$RUN" = "yes" ]; then echo `date`: entering dhclient-enter-hooks.d, dumping variables. \ >> /tmp/dhclient-script.debug for i in reason interface medium alias_ip_address new_ip_address \ new_subnet_mask new_domain_name new_domain_search \ new_domain_name_servers \ new_routers new_static_routes old_ip_address old_subnet_mask \ old_domain_name old_domain_search old_domain_name_servers \ old_routers old_static_routes; do echo $i=\'${!i}\' >> /tmp/dhclient-script.debug done echo '--------------------------' >> /tmp/dhclient-script.debug fi PKÓ#Y[3¿2Á»» dhclient.confnuW+A„¶# Configuration file for /sbin/dhclient, which is included in Debian's # dhcp3-client package. # # This is a sample configuration file for dhclient. See dhclient.conf's # man page for more information about the syntax of this file # and a more comprehensive list of the parameters understood by # dhclient. # # Normally, if the DHCP server provides reasonable information and does # not leave anything out (like the domain name, for example), then # few changes must be made to this file, if any. # option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; #send host-name "andare.fugue.com"; #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; #send dhcp-lease-time 3600; #supersede domain-name "fugue.com home.vix.com"; #prepend domain-name-servers 127.0.0.1; request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, domain-search, host-name, netbios-name-servers, netbios-scope, interface-mtu, rfc3442-classless-static-routes, ntp-servers; #require subnet-mask, domain-name-servers; #timeout 60; #retry 60; #reboot 10; #select-timeout 5; #initial-interval 2; #script "/etc/dhcp3/dhclient-script"; #media "-link0 -link1 -link2", "link0 link1"; #reject 192.33.137.209; #alias { # interface "eth0"; # fixed-address 192.5.5.213; # option subnet-mask 255.255.255.255; #} #lease { # interface "eth0"; # fixed-address 192.33.137.200; # medium "link0 link1"; # option host-name "andare.swiftmedia.com"; # option subnet-mask 255.255.255.0; # option broadcast-address 192.33.137.255; # option routers 192.33.137.250; # option domain-name-servers 127.0.0.1; # renew 2 2000/1/12 00:00:01; # rebind 2 2000/1/12 00:00:01; # expire 2 2000/1/12 00:00:01; #} PKÓ#Y[iUÔ%__dhclient-exit-hooks.d/sendmailnuW+A„¶PKÓ#Y[Ä)ÍXââ­dhclient-exit-hooks.d/ntpnuW+A„¶PKÓ#Y[^2«T&&Ø dhclient-exit-hooks.d/ntpdatenuW+A„¶PKÓ#Y[5¨NììKdhclient-exit-hooks.d/debugnuW+A„¶PKÓ#Y[›zÊuìì.‚dhclient-exit-hooks.d/rfc3442-classless-routesnuW+A„¶PKÓ#Y[¾²i««Ì3/dhclient-enter-hooks.d/sambanuW+A„¶PKÓ#Y[jµG‘ééÅdhclient-enter-hooks.d/debugnuW+A„¶PKÓ#Y[3¿2Á»» ú#dhclient.confnuW+A„¶PKäò*