Tag Info

Hot answers tagged

20

Explain to your boss and HR that you either have to hope the porn filter is working or will need to test it by going to inappropriate sites. Make sure you tell them when your doing the test, and how long it will take so they know your not "testing" the filter all day every day. Then they can decide weather they want to let you try and visit sites like that ...


18

If there isn't, there should be. RFC2606 reserves several top level domains for test purposes with the understanding that they will never be assigned. It also reserves three second level names for use in documentation examples. The reservations are: .test (testing of DNS related code) .example (documentation and examples) .invalid (known and obviously ...


18

iperf is perfect for this and it's readily available for most linux distributions and windows. On the listener side: % iperf -s -u -B 224.1.1.1 -i 1 ------------------------------------------------------------ Server listening on UDP port 5001 Binding to local address 224.1.1.1 Joining multicast group 224.1.1.1 Receiving 1470 byte datagrams UDP buffer ...


17

If you are interested in monitoring and response times, then just stop Apache. That should be enough to trigger an alert and a response.


16

dig @8.8.8.8 www.rimuhosting.com | grep "Query time:" ;; Query time: 15 msec dig @4.2.2.1 www.rimuhosting.com | grep "Query time:" ;; Query time: 289 msec


15

You can use netcat - just start it, and type something inside, and pres the return key. nc -u <host> <port> And on the other side you can listen with netcat too (you should see the written text), or just start a tcpdump, and see packets coming in.


14

Here is a shell one-liner: echo -e "\x38\x01\x00\x00\x00\x00\x00\x00\x00" | timeout 10 nc -u openvpnserver.com 1194 | cat -v if there is an openvpn on the other end the output will be @$M-^HM--LdM-t|M-^X^@^@^@^@^@@$M-^HM--LdM-t|M-^X^@^@^@^@^@@$M-^HM--LdM-t|M-^X... otherwise it will just be mute and timeout after 10 seconds or display something ...


14

Disclaimer: I am one of the developers of Puppet. The obvious way is to just apply the concepts: define a cycle of development/test/production, and push changes through them. Use version control to track systems. In short order, starting down that path leads to discovering that you really want tools that automate those things - essentially, that you want ...


14

Short answer is "OS deployment management", "Configuration Management" and "Software Packaging". Long answer follows. I'd like to add to Daniel Pittman's reply with a breakdown of what forms a "system" in systems administration. A system or an environment is going to comprise of: Servers Operating System Configuration Vendor packages; and Local packages ...


14

Just use a telnet session to test email delivery. As an example, # telnet host.domain 25 Trying host.domain... Connected to host.domain. Escape character is '^]'. 220 ESMTP HELO example.com 250 MAIL FROM:user@example.com 250 ok RCPT TO:user2@example.com 250 ok DATA To: user2@example.com From: user@example.com Subject: test message Test message body. . ...


13

The UBCD has several benchmark/stress testing utilities built in. Just burn it to a CD and boot it up, no need to install anything. I've used it several times to stress new production systems. The UBCD includes memtest CPU burn-in Benchmarking tools (run once before, and once after) And a bunch of disk diagnostic tools Works great. Alternatively ...


11

xfs_db has an option blocktrash which Trash randomly selected filesystem metadata blocks. Trashing occurs to randomly selected bits in the chosen blocks. This command is available only in debugging versions of xfs_db. It is useful for testing xfs_repair(8) and xfs_check(8). For example xfs_db -x -c blockget -c "blocktrash -s 512109 -n 1000" ...


11

Your best, easiest and most globally available tool: telnet At command prompt, type: telnet mail.mailserver.com 25 Type EHLO , and then press ENTER. Type AUTH LOGIN. The server responds with an encrypted prompt for your user name. Enter your user name encrypted in base 64. You can use one of several tools that are available to encode your user name. The ...


10

memtest.org is exactly what you're looking for.


10

Use GRC's Domain Name Speed Benchmark.


10

Short in electrical terms is an abbreviation for short circuit. This generally means that there is an unintended connection between two points allowing current to flow where it should not. In your particular case it means that your cable is damaged and that two or more of the conductors are connected together. And it's one single cable, there's ...


9

We (at Smoothwall) have a "daily" URL in the lists to test the filter - with the date of list in the URL so you can tell you are up to date. Your vendor may provide a similar feature. It may well not be documented - ask them! Alternatively, I like playboy.com. Should be blocked, but the homepage is always fairly benign - girls in bikinis etc. so low HR ...


9

Best practice is to do all your testing in a development environment (which you already seem to know). For testing cron jobs I generally don't like to muck around with the system clock (you can't just step the time to wherever you want - You need to let the clock run through all points to see how the jobs run and interact with each other. You also can't ...


9

Do a sudo su apache and execute a fork bomb with :(){ :|:& };: This kind of behavior is common enough in programming mistakes to not raise many eyebrows. Plus it locks up.the whole server. EDIT - As pointed out there may be legal limitations for executing this on hosted hardware. Also depending on your configuration this may only work running ...


9

You can use netcat or nc. It supports TCP and UDP. Use the -u for UDP sockets. You can read man nc for more details.


8

If you're looking for best practice for controlling change then you need to look at your service catalogue that ought to accompany such a thing. You can then see what services are underpinned by the systems you're changing, and produce a standardised set of tests for each system, to ensure that they're both still working to your service level agreement. ...


7

First thing I'd do is to run memtest on them to absolutely make sure that the RAM works properly (see http://www.memtest.org/, they have an ISO file available for booting from CD-ROM). Then I'd install Debian or Ubuntu and run some I/O benchmark software while carefully watching dmesg/syslog for any disk related errors. (Linux is free, your boss shouldn't ...


7

I work on the release management team at a very large internet company. We use essentially the process you've outlined above, and we've chosen that process on purpose. In our methodology, staging serves as a branching mechanism for a final level of testing in production. Obviously you want to do all testing before you go to production, but in a large, ...


6

Not an adult site, but we use Poker Stars to test that our fitering is working. We block gambling at the same level. So if Poker Stars gets blocked, then the filtering system is working.


6

In drives where hot-swap isn't an option, many raid controls (e.g. mdadm on linux) have a set-faulty command that simulates a drive failing. In drives where hot-swap is okay, yank a drive! I think your testing should cover the reasonable cases that you plan for. If you're trying to set up a server in the bush, then electrical fluctuations are reasonable ...


6

I used these books: LPIC Exam Cram LPI Linux Certification in a Nutshell and the following website: IBM's dev works website Remember to try all the examples. You can't rote memorize this stuff, you have to understand it. From (www.lpi.org/eng/certification/faq/procedure_for_taking_exams) "Depending on where you take LPI exams, the cost will usually ...


6

If I'm running an individually-scheduled cron job (a separate line in crontab) I'll schedule it for every minute or every other minute as I'm testing it. Once it's tested out, I'll edit the crontab line so it runs on the frequency I desire. As a side-note, if I want to test that cron itself is working properly, and emailing the results to the correct ...


6

Attact surface First of all, you should get an idea of the attack surface. Since you talk of a 'penetration test' you should start with no previous information. For that, you could use nmap. If your objective is no stealth, just use connect scan. If you want to be more stealthy, use syn scan or any of the other scan methods. If you want to use it with ...


6

It's going to be DOG slow either way so I'd be tempted to virtualise it so at least it doesn't impact the overal build of the machine once you've quit messing about. Oh and isn't Exchange a 64-bit-only app these days too? do you have a 64-bit OS on the laptop? Regarding your last paragraphy then if you VM them they you can do whatever you want (slowly).



Only top voted, non community-wiki answers of a minimum length are eligible