Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. S

    Adventures in random: /dev/urandom

    Here are the entropy files I've tested. The names should be reasonably self explanatory. 26G dev-Random-ac68u-cat-pipe-haveged-xxxxxxx112 20G dev-urandom-ac68u-dd-xxxxxxx413 18G dev-urandom-ac68u-dd-xxxxxxx003 18G dev-urandom-ac68u-dd-xxxxxxx031 22G...
  2. S

    Adventures in random: /dev/urandom

    With haveged running on the RT-AC68U, I collected about 25GB of entropy from /dev/random, which took about 15.5 hours. That's ≈470KB/s, or >35GB/day, from /dev/random, writing to a USB hard-drive. nohup time cat /dev/random > /tmp/mnt/a500/dev-Random-ac68u-cat-haveged-xxxxxxx112 Good thing I...
  3. S

    amtm amtm - the Asuswrt-Merlin Terminal Menu

    I'll try it with "ELinks" :cool:
  4. S

    Adventures in random: /dev/urandom

    With the "-a -Y 1" options, I've seen it read more than 15-20GB into a file. Without the "-s 1", I've seen it eat 220-250GB to go through the tests.
  5. S

    Adventures in random: /dev/urandom

    Just installed haveged, and it's only been up a few hours, but I'm noticing much more stable/reliable ssh connections via wifi. And the entropy tests are looking good. The results from dieharder are excessively verbose, so here's a summary, comparing the new results to the four previous...
  6. S

    amtm amtm - the Asuswrt-Merlin Terminal Menu

    I'm sharing my experience with it. I'm not a n00b, and the browser may be the culprit here. Hopefully I'll test that out in the near future by isolating that variable via "private browser" session. In any case, something is screwy, and the thing to do now is find out what it is so it can be...
  7. S

    Adventures in random: /dev/urandom

    At first I just wanted to "check it out really quick". I implicitly included a "-t" flag in my ssh command, which screwed up the line-endings, and caused massive failures in the tests. From there, I started digging deeper, and before I knew it, I had some good data that I hadn't seen shared...
  8. S

    amtm amtm - the Asuswrt-Merlin Terminal Menu

    Doubly impossible, since I installed it twice, and uninstalled it twice, with the same results both times.
  9. S

    amtm amtm - the Asuswrt-Merlin Terminal Menu

    Yeah, installed and uninstalled via ssh/CLI. That does sound like a good idea, to isolate if the browser is messing with it. I'll try to make time for testing it in "private mode", in the near future. Weird, though, that the browser would only mess it up when amtm is installed... But if I test...
  10. S

    amtm amtm - the Asuswrt-Merlin Terminal Menu

    I tried manually filling in the fields; it didn't work. Then I tried "Quick Internet Setup" from the GUI, and it still didn't work. The PPPoE login credentials kept going back to the admin login credentials. I even re-installed the settings while amtm was installed, and still, every time I...
  11. S

    amtm amtm - the Asuswrt-Merlin Terminal Menu

    I just had a very brief play with amtm v=3.0. Problem: I need to use my RT-AC68U (Merlin 384.13) to connect to my ISP via PPPoE, but with amtm installed the PPPoE username/password (both in GUI and nvram) kept setting themselves to the router "admin" username/password. I was unable to over-ride...
  12. S

    Adventures in random: /dev/urandom

    Here's results from running each of the collected files through "rngtest". for n in dev-urandom-ac68u-dd-* do echo echo echo "*** $n" time nice rngtest < $n done *** dev-urandom-ac68u-dd-xxxxxxx413 rngtest 5 Copyright (c) 2004 by Henrique de Moraes Holschuh...
  13. S

    Entropy Pool

    That's actually testing dieharder's implementation of the Mersenne Twister PRNG, not testing the router's /dev/*random devices. Here's some explorations into the router's /dev/urandom device - https://www.snbforums.com/threads/adventures-in-random-dev-urandom.60238/
  14. S

    ssh ServerAlive

    ConnectTimeout only affects connections as they're being made/attempted... eg, "how long should I keep trying to initiate a connection before quitting". It has no affect on closing connections after they've been opened. From the man page, "TCPKeepAlive ... This option only uses TCP keepalives...
  15. S

    Adventures in random: /dev/urandom

    Output from the worst of four ent tests: Value Char Occurrences Fraction 0 71364167 0.003907 1 71349807 0.003906 2 71340409 0.003906 3 71337463 0.003906 4 71351816 0.003907 5 71372912 0.003908 6 71348932 0.003906...
  16. S

    Adventures in random: /dev/urandom

    Output from the worst of four dieharder runs: (minus enough headers to make it fit here) rng_name | filename |rands/second| file_input_raw| dev-urandom-ac68u-dd-xxxx | 4.15e+07 | #=============================================================================#...
  17. S

    Adventures in random: /dev/urandom

    Checking out the RT-AC68U's /dev/urandom and running some tests on it. I collected a few large chunks of entropy from the AC68U's /dev/urandom:ssh -T sh.ac68u.lan 'dd if=/dev/urandom bs=64k count=350000' > dev-urandom-ac68u-dd-xxxx To repeat these tests, be sure to use ssh's "-T" flag...
  18. S

    ssh ServerAlive

    I was having two opposite problems at the same time: Interactive ssh logins to the AC68U would drop out randomly, and non-interactive ssh logins would hang indefinitely after the connection died Solution to the first problem: Disable "ServerAliveInterval" . See the ssh_config man-page for...
  19. S

    Script for creating random numbers, and more

    Cool! Updated! Thanks for that! I was thinking about either a case statement or getopts, but then I forgot about it. Good catch! Got that updated, too! Yeah, I was pondering that... I was thinking of "printable" in the sense that it consumes ink, on a page. I did make some updates to the...
  20. S

    Script for creating random numbers, and more

    To modify this for passwords (or other strings) that include all printable ASCII characters, set "chars_match='!-~'", which is equivalent to: tr -cd '!-~' < /dev/urandom
Top