Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/ntp-4.2.2p1/ drwxr-xr-x |
Viewing file: ntpdsim_new.html (5.75 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | ntpdsim - Network Time Protocol (NTP) simulatorfrom Alice's Adventures in Wonderland, Lewis CarrollThe mushroom knows all the command line options. Last update: Related LinksTable of ContentsDescriptionThe ntpdsim program is used to simulate and study the behavior of an NTP daemon that derives its time from a number of different simulated time sources (servers). Each simulated server can be configured to have a different time offset, frequency offset, propagation delay, processing delay, network jitter and oscillator wander. The ntpdsim program runs all the same selection, mitigation, and discipline algorithms as the actual ntpd daemon at the client. (It actually uses the same code). However, the input/output routines and servers are simulated. That is, instead of sending the client messages over the network to the actual servers, the client messages are intercepted by the ntpdsim program, which then generates the replies to those messages. The reply messages are carefully "inserted" into the input queue of the client at the right time according to the specified server properties (like propagation delay). Each simulated server runs according to a specified script that describes the server properties at a particular time. Each script consists of a series of consecutive acts. Each act runs for a particular duration and specifies the frequency offset, propagation delay, processing delay, network jitter and oscillator wander of the server for that duration. Once the duration of an act expires, the simulated server reconfigures itself according to the properties specified in the next act. ConfigurationThe ntpdsim program is configured by providing a configuration file at startup. The crux of the simulator configuration is specified using a simulate command, the syntax of which is given below. Note that all time quantities are in seconds and all frequency quantities are in parts per million (PPM): <simulate_command> ::= simulate { <init_statement_list> <server_list> } In addition to the simulate command, other standard NTP configuration commands can be specified. These commands have the same meaning as in the ntpd configuration. Note that newlines are not significant within the simulate command even though they are used to mark the end of a normal NTP configuration command. Sample Configuration FileA sample ntpdsim configuration file is given below. It specifies two simulated servers, each of which has two acts. # Client configuration disable kernel server pogo driftfile ./ntp.drift statsdir ./ntpstats/ filegen loopstats type day enable filegen peerstats type day enable # Simulation configuration simulate { simulation_duration = 86400 beep_delay = 3600 # Server 1 server = louie.udel.edu { server_offset = 0 duration = 50000 { freq_offset = 400 wander = 1.0 jitter = 0.001 prop_delay = 0.001 proc_delay = 0.001 } duration = 6400 { freq_offset = 200 wander = 1.0 jitter = 0.001 prop_delay = 0.001 proc_delay = 0.001 } } # Server 2 server = baldwin.udel.edu { server_offset = 0.02 duration = 10000 { freq_offset = 400 wander = 1.0 jitter = 0.001 prop_delay = 0.5 proc_delay = 0.001 } duration = 60000 { freq_offset = 200 wander = 1.0 jitter = 0.05 prop_delay = 0.005 proc_delay = 0.001 } } } Sachin Kamboj |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.012 ]-- |