[00:00] there: [00:00] host rig.cust [00:00] I mean rig.cust.arpnetworks.com [00:00] rig.cust.arpnetworks.com has address 206.125.172.234 [00:00] rig.cust.arpnetworks.com has IPv6 address 2607:f2f8:3900::2 [00:00] perfect [00:00] thanks much [00:00] np [00:05] 10/2... another day [00:10] *** visinin has quit IRC ("sleep") [00:12] gnite guys. Thanks for all the help. [00:15] *** bithash has left [00:15] * sroute yawns [00:20] *** ballen is now known as ballen|away [01:30] Dell... are you f'in serious? I can't view your PDF? Instead it is a self-extracting .exe (which obviously won't work on Linux) [03:57] *** vtoms has quit IRC (Remote closed the connection) [04:22] neato, I resized an OpenBSD filesystem [04:23] or rather, a UFS filesystem on an OpenBSD system [06:09] *** heavysixer has joined #arpnetworks [06:11] *** heavysixer has quit IRC (Client Quit) [06:50] *** heavysixer has joined #arpnetworks [06:50] Woo! Getting out early! [06:50] ... I don't know what I"m going to do with all this time. [06:54] Hack code? [07:05] *** vtoms has joined #arpnetworks [07:46] * sroute needs much more coffee than is in the pot [08:04] *** visinin has joined #arpnetworks [08:07] *** ballen|away is now known as ballen [08:07] make another pot [08:08] and then another [08:16] then go get a shot of espresso [08:16] and take two excedrin [08:17] that should just about due [08:44] lol [08:44] taking a day off here mostly... new kitchen counters showing up any minute. Will be happy to stop cooking outside on the patio. [08:45] or just order some straight caffine from a chemical supply house [08:45] nice [08:45] gutted 1/2 our main floor earlier this summer; putting Humpty-Dumpty back together again now... [08:48] right on [08:48] 50kg of bulk caffeine is almost $2000 https://www.spectrumchemical.com/OA_HTML/ibeCCtpItmDspRte.jsp?section_name=Food--Beverage-Ingredients&minisite=10020&respid=50577&item=78509§ion=15826&beginIndex=0 [08:49] FYI: 10 grams of caffeine is lethal [08:49] Probably a lifetime supply and then some [08:49] 50 kilos, hell [08:50] wonder what people use it for [08:50] Food production [08:50] And science nuts: http://scienceblogs.com/developingintelligence/2008/02/optimally_wired_a_caffeine_use.php [08:50] lol [08:50] from a chemical supply house? [08:50] seems like there would be a cheaper place to get it from for food [08:51] was in the food chemicals section. No doubt a big chunk of the population get more of their "nutrients" that way these days ;) [08:52] heh [08:52] I've used caffeinated soap before [08:52] kinda dumb [08:52] * sroute scratches head [08:53] If you really hate both your body and sleep, I recommend the uberman polyphasic sleep schedule. [08:53] 25 minutes every four hours. [08:53] It's all you need, really. [08:56] Sounds interesting. This quote however is what I expected to find quickly: "It is important to note that there are no studies as to the long-term physical or physiological impact of this sleep cycle. I really don't know if this cycle is causing long-term damage to myself or not, and if this concerns you, I wouldn't attempt the cycle. " [08:56] heh [08:56] That's pretty accurate. [08:56] It seems that as a general rule it isn't nice to fool with Mother Nature. [08:56] I blogged my attempt at it here: http://fucksleep.wordpress.com/ [08:57] Quote is from here: http://www.kuro5hin.org/story/2002/4/15/103358/720 [08:57] Yeah. [08:57] One thing you'd discover if you attempted such a schedule is that you now have way more time in the day than you'd expect, and not enough energy to use it. So you quickly read everything about it. [08:59] As I age I'm finding I need more but I still attempt to work the hours I used to. [08:59] Kitchen guys are here. Gotta run [08:59] k bye [09:20] *** ballen is now known as ballen|away [09:39] *** ballen|away is now known as ballen [10:14] *** ballen is now known as ballen|away [10:47] *** ballen|away is now known as ballen [11:17] Oct 2 04:24:23 www kernel: ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=6384687 [11:17] heh [11:17] i never expected that on a vps [11:20] *** ballen has quit IRC (Read error: 113 (No route to host)) [12:01] hi [12:18] *** Thorgrimr has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** up_the_irons has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** toddf has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** nerdd has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** timburke has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** sroute has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** baklava has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** jester1 has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** cablehead has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** Qsource has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** Rada has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** mike-burns has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** visinin has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** heavysixer has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** vtoms has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** Nat_UB has quit IRC (anthony.freenode.net irc.freenode.net) [12:18] *** obsidieth has quit IRC (anthony.freenode.net irc.freenode.net) [12:19] *** up_the_irons has joined #arpnetworks [12:19] *** visinin has joined #arpnetworks [12:19] *** vtoms has joined #arpnetworks [12:19] *** heavysixer has joined #arpnetworks [12:19] *** sroute has joined #arpnetworks [12:19] *** mike-burns has joined #arpnetworks [12:19] *** nerdd has joined #arpnetworks [12:19] *** Rada has joined #arpnetworks [12:19] *** timburke has joined #arpnetworks [12:19] *** toddf has joined #arpnetworks [12:19] *** Thorgrimr has joined #arpnetworks [12:19] *** cablehead has joined #arpnetworks [12:19] *** obsidieth has joined #arpnetworks [12:19] *** baklava has joined #arpnetworks [12:19] *** Qsource has joined #arpnetworks [12:19] *** jester1 has joined #arpnetworks [12:19] *** Nat_UB has joined #arpnetworks [12:19] *** irc.freenode.net sets mode: +o up_the_irons [12:24] *** visinin has quit IRC ("adetr") [12:39] *** bithash has joined #arpnetworks [12:56] getting annoying brute forces [12:56] probably gonna change ssh port [13:05] You could also just use restrictions in /etc/hosts.allow - those denied won't even get a chance to authenticate [13:06] never read about it [13:06] thought hosts.allow was of known things [13:06] ips and what not [13:08] You can both allow and deny hosts access in hosts.allow - e.g. allow connections from only your ip and denying it from all others [13:10] Or you can install denyhosts, that monitors /var/log/auth.log and based on rules you configure add and remove ips in the hosts.allow [13:13] jeev: you could also try bruteblock, its a nifty little tool that can be custom configured to add IPs to to the firewall based on parameters set by you. [13:18] using bruteblock [13:18] but it's a million random ips [13:18] coming slowly [13:19] yea i know neerd [13:19] i'll just change the port, i dont care [13:19] ok [13:20] I've got to check bruteblock out - I didn't know about that. Sounds cool [13:21] nerdd: I also use it for apache [13:22] but I assume you are using ipfw [13:23] I've actually never tried using ipfw for anything yet [13:24] kk [13:49] *** heavysixer has quit IRC () [14:14] *** bithash has left [14:19] *** heavysixer has joined #arpnetworks [14:23] *** vtoms has quit IRC ("Leaving.") [14:26] *** sroute has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** Thorgrimr has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** up_the_irons has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** toddf has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** nerdd has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** timburke has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** jester1 has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** cablehead has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** heavysixer has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** Qsource has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** Rada has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** mike-burns has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** Nat_UB has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** obsidieth has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** baklava has quit IRC (anthony.freenode.net irc.freenode.net) [14:26] *** up_the_irons has joined #arpnetworks [14:26] *** heavysixer has joined #arpnetworks [14:26] *** sroute has joined #arpnetworks [14:26] *** mike-burns has joined #arpnetworks [14:26] *** nerdd has joined #arpnetworks [14:26] *** Rada has joined #arpnetworks [14:26] *** timburke has joined #arpnetworks [14:26] *** toddf has joined #arpnetworks [14:26] *** Thorgrimr has joined #arpnetworks [14:26] *** cablehead has joined #arpnetworks [14:26] *** obsidieth has joined #arpnetworks [14:26] *** Nat_UB has joined #arpnetworks [14:26] *** jester1 has joined #arpnetworks [14:26] *** Qsource has joined #arpnetworks [14:26] *** irc.freenode.net sets mode: +o up_the_irons [14:27] *** baklava has joined #arpnetworks [15:39] *** ballen has joined #arpnetworks [15:39] oh hi [16:19] *** bithash has joined #arpnetworks [16:28] *** heavysixer has quit IRC () [16:42] *** bithash has left [18:19] *** BeBoo_ has joined #arpnetworks [18:20] can anyone give me the default name servers? I need to set up my forwarders? [18:20] scratch the last ? [18:20] BeBoo...u find them? [18:21] find what? i need them. i changed my resolv.conf and never wrote down the IPs [18:21] * ballen shrugs, uses OpenDNS [18:22] BeBoo...I only have one...sent via PM [18:23] thanks [18:23] * Nat_UB uses OpenDNS typically...haven't modified this VPS yet [18:24] but wouldn't resolutions be quicker if it stayed on the same network rather than leaving the network to go to opendns? [18:24] i'm sure the time difference would be negligable [18:25] actually I found it was faster to use opendns [18:25] Depends on how fast / overloaded the local might get... [18:26] i use opendns here at home... was just thinking it might be better to keep it local, is all [18:26] thanks =] [18:26] Only use IP's...eliminates DNS slowness [18:27] of course [18:36] why not run your own cache [18:37] jeev: if you don't want to use the memory [18:38] i see [18:38] sometimes i dont think [18:38] i really need to make time to redo some of my servers, secure, passwords and all [18:38] i have maybe 75 outdated servers now [18:38] security ones. [18:41] lala [18:42] Eric Clapton? [19:11] *** heavysixer has joined #arpnetworks [19:21] *** heavysixer has quit IRC () [19:28] anyone good with bash scripting? I have a simple question if i may [19:28] shoot [19:29] i'm not sure it's possible with bash but i'm hoping. I know i can echo stuff out. if there a way to... delete what was just echoed and reuse the line? [19:29] sorry if i confuse you... not sure how to reword it [19:29] Like, i want to echo "Configuring..." then replace that with "Building..." [19:29] without using like 10 lines [19:31] so [19:31] is Configuring... a variable [19:31] or stored as a var [19:31] it could be [19:31] i know how to set vars [19:31] thats not what i am asking, tho [19:31] i'm talking about output. [19:32] ohhh [19:32] so you literally want a way [19:32] jeev: to stop brute force implement pf -- firewall. I have it on all my servers, except for those that sit behind a firewall themselves. Easy. [19:32] for echo "Configuring..." to output building... [19:32] no [19:32] -_- [19:32] sigh... [19:32] lemme try it this way... [19:33] user runs the script... [19:33] k [19:33] echo "Welcome! Gonna build..." [19:33] then i would echo "Configuring..." [19:33] here's the relevant line for pf config - automatically shoves offenders into a block table after four attempts within a certain period of time [19:33] pass in quick proto { tcp, udp } from any to any port ssh flags S/SA keep state (max-src-conn 15, max-src-conn-rate 4/30, overload flush ) [19:33] when it's done instead of echoing "Building..." below COnfiguring... i want it to replace that line [19:34] remove configuring... and repalce it with building.... [19:34] ohhhh [19:34] yea no idea how to do that [19:34] k [19:34] i don't even know what to call it [19:34] lol [19:34] replacing text inline on the terminal [19:35] without a new line [19:35] yeahh there ya go [19:35] yess [19:35] maybe stty? [19:35] not sure though [19:35] but would be worth checking [19:36] ooo [19:36] that looks promising [19:36] * BeBoo_ reads [19:37] *** N00B_ has joined #arpnetworks [19:37] hey anyone in here ever use ns? i have a quick question.. [19:38] ns as in...? [19:38] network simulator [19:39] ns-2/3 [19:39] not me sorry [19:39] but you know networking...right? [19:40] it may seem trivial but i'm having some trouble understanding something.. [19:40] Just a quick question: i'm running the most basic setup of 2 computers with a single link. Lets say i have a link delay of 1000ms running on a 1Mbps, packet of 500 and packet time every 0.005 seconds. What role exactly is the link delay playing in this situation? [19:41] * ballen shrugs [19:41] what channel is this? [19:41] Arp Networks is a VPS, hosting, and colo provider [19:41] r u guys into sales or something? [19:42] hah no [19:42] N00B_: read your networking book and learn something; no pasting homework questions ;) [19:43] lol [19:43] ballen: a name like "arp networks" has got me college text book questions emailed to me over the years, I know how this goes :) [19:43] yu guys are doing VPS...surely...surely you know what a link delay might do [19:43] surely [19:43] we do [19:44] ..secret society.. [19:44] sroute: i like that pf command [19:44] * up_the_irons writes it down [19:45] ..okay cool :) [19:45] sroute: i do the same thing on my VM host machines, every VM is actually already protected (after 10 SYN's for SSH within a minute, you're blocked for 1 minute) [19:45] up_the_irons: why not just turn off password auth [19:46] and not worry about it [19:46] ballen: it is, but this is for downstream VMs [19:46] can't be sure every customer turns off password auth [19:46] ahh [19:46] keys are the devil [19:46] ;x [19:46] a way to help them protect themselves [19:46] so you have some built in firewall rules that protects us all [19:46] well not built-in [19:46] you know what i mean [19:48] yeah [19:48] i saw a certain pattern of traffic disappear after i did that [19:48] it was all the brute force scans [19:48] yep [19:48] omni-present [19:48] on the tubes [19:48] TOOBS [19:49] ...bodyboarding? [19:50] *** BeBoo_ has quit IRC (Remote closed the connection) [19:51] *** BeBoo_ has joined #arpnetworks [19:55] *** heavysixer has joined #arpnetworks [20:02] up_the_irons [20:02] you dont set kern.hz for customers ? [20:02] it slows down ones CPU but.. [20:02] it's suggested in bsd's manual for freebsd guest [20:02] link? [20:03] thats it set to now by default in 7.2 [20:03] thought they fixed that [20:03] http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html [20:03] pretty much mentioned for every type [20:03] i don't set kern.hz, for the record [20:03] i've done tests with and witout [20:03] without [20:03] sysctl -a | grep kern.hz [20:03] kern.hz: 1000 [20:03] The most important step is to reduce the kern.hz tunable to reduce the CPU utilization of FreeBSD under the Parallels environment. This is accomplished by adding the following line to /boot/loader.conf: [20:03] kern.hz=100 [20:03] Without this setting, an idle FreeBSD Parallels guest OS will use roughly 15% of the CPU of a single processor iMacŪ. After this change the usage will be closer to a mere 5%. [20:04] guess it allows you to sell more [20:04] I believe there is some issues with setting it lower [20:04] performance wise [20:04] yea [20:04] up_the_irons [20:04] client loses performance [20:04] ah [20:05] my wht benchmark went from 78 to 58 [20:05] on my own server [20:05] up_the_irons how much does an idle VM take right now on the CPU [20:05] root 7535 2.1 26.1 1188252 1060452 pts/1 Sl+ 09:10 14:24 qemu-system-x86_64 disk0.qcow2 -vga std -net nic,model=e1000,macaddr=00:11:22:33:44:55 -net tap -monitor stdio -vnc :2 -smp 1 -m 1024 [20:05] root 8223 14.8 26.1 1191268 1061392 pts/3 Sl+ 18:38 13:02 qemu-system-x86_64 disk1.qcow2 -vga std -net nic,model=e1000,macaddr=00:11:22:33:44:56 -net tap -monitor stdio -vnc :3 -smp 1 -m 1024 [20:05] not sure why mine does that [20:05] none are being used [20:06] ballen: not a whole lot [20:06] virtualization rules [20:06] up_the_irons: I wouldn't worry about it then, I've messed with it a bit in my VMware install and I don't notice much [20:07] ballen: yeah i'm not feeling any pain with the current setting and no one has complained == not an issue ;) [20:07] http://unilogiclabs.com/signup - Invite Code: arp_networks what I've been working on [20:07] feel free to play [20:07] jeev: but thanks for bringing it up, it might be important later on [20:08] Supposidly in 8.0 kern.hz will be set back to 100 [20:08] thanks, checking it out! [20:11] there I made an idea that explains it a bit [20:14] ugh... damn bugs [20:14] *** Nat_UB has quit IRC (anthony.freenode.net irc.freenode.net) [20:14] *** obsidieth has quit IRC (anthony.freenode.net irc.freenode.net) [20:14] *** Nat_UB has joined #arpnetworks [20:15] *** heavysixer has quit IRC () [20:17] *** N00B_ has quit IRC ("(Quit: Because i have. ok?)") [20:20] *** obsidieth has joined #arpnetworks [20:45] *** visinin has joined #arpnetworks [20:45] up_the_irons: get what the app is all about? [20:50] ballen: i think i found it... using a carriage return will place the cursor back to the beginning but i somehow have to clear the line [20:51] heh [20:51] cool, let me know if you get it [20:51] sure [20:51] BeBoo_: what are you trying to do? [20:52] visinin: as ballen put it: replacing text inline on the terminal [20:52] i want to reuse the line instead of using newlines [20:53] gotcha [20:53] i am using a carriage return to bring the cursor to the beginning and it works [20:53] yeah, that's the best way to do it [20:53] but if the next like is short, it looks weird [20:53] well yeah [20:53] i need to find a way to clear the rest of the line [20:53] i've done this before, let me dig up how i did it [20:53] i might just use spaces for the time [20:53] ooo [20:53] * BeBoo_ grins [20:56] okay [20:57] let me try something real quick, think i found it [21:07] *** heavysixer has joined #arpnetworks [21:10] BeBoo_: So far as I know (which isn't much) you need ncurses to do what you want. [21:10] However the \r idea is promising. Maybe 'echo -n' is what you want, too. [21:10] nah you don't [21:10] basically [21:11] ugh, this pastebin is garbage [21:11] printf("\e[K"); /* this escape code erases from the right-side of the cursor to the end of the line */ [21:11] mike-burns: already am using -en [21:11] but if the second line is shorter than the first it looks weird [21:11] ah, you're doing this with bash? [21:11] like blah blahah [21:12] yes [21:12] printf works in bash [21:12] doesn't it? [21:12] that escape sequence might not [21:12] hold on just a sec [21:12] oh [21:12] you should be able to just [21:12] echo -ne "\033[K" [21:13] that'll clear the rest of the line [21:15] yeah, that works! [21:18] lemme try it [21:18] omg i love you visinin [21:19] lol [21:19] :D! [21:19] http://ascii-table.com/ansi-escape-sequences-vt-100.php [21:19] keep that around [21:19] bookmarked =] [21:19] excellent! [21:19] so \033 is escape ? [21:20] yeah [21:20] and you can like change color with it too [21:20] i know how to do colors [21:20] yeah [21:20] just nothing else [21:20] but now i do [21:20] =] [21:22] it's a stupid little script too [21:22] i'm making a simple script that downloads the eggie source, configures and builds it [21:28] http://lubbock.craigslist.org/rnr/1403715949.html [21:46] *** [FBI] starts logging #arpnetworks at Fri Oct 02 21:46:49 2009 [21:46] *** [FBI] has joined #arpnetworks [21:46] * jeev runs [21:59] z0mg [22:00] wonder where he's been [22:16] *** visinin has quit IRC ("sleeeeeep") [22:18] back... up_the_irons cool that you are doing that. That might explain why I see relatively few hits on my arp VM as opposed to my own hardware elsewhere. [22:41] yay my script works nicely now [22:41] i'm happy =] [22:42] nice [22:42] it downloads, configures and installs eggdrop without any interaction [22:43] coool [22:43] just confirms a yes/no if you want to do it [22:43] also backs up an older install if there is one [22:43] so no data loss [22:43] nice [22:47] ballen: http://www.beboobailey.info/getegg.png [22:47] =D [22:47] cool