up_the_irons: host rig.cust bithash: I mean rig.cust.arpnetworks.com up_the_irons: rig.cust.arpnetworks.com has address 206.125.172.234
rig.cust.arpnetworks.com has IPv6 address 2607:f2f8:3900::2 bithash: perfect
thanks much up_the_irons: np
10/2... another day ***: visinin has quit IRC ("sleep") bithash: gnite guys. Thanks for all the help. ***: bithash has left -: sroute yawns ***: ballen is now known as ballen|away up_the_irons: 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) ***: vtoms has quit IRC (Remote closed the connection) up_the_irons: neato, I resized an OpenBSD filesystem
or rather, a UFS filesystem on an OpenBSD system ***: heavysixer has joined #arpnetworks
heavysixer has quit IRC (Client Quit)
heavysixer has joined #arpnetworks mhoran: Woo! Getting out early!
... I don't know what I"m going to do with all this time. mike-burns: Hack code? ***: vtoms has joined #arpnetworks -: sroute needs much more coffee than is in the pot ***: visinin has joined #arpnetworks
ballen|away is now known as ballen ballen: make another pot
and then another
then go get a shot of espresso
and take two excedrin
that should just about due sroute: lol
taking a day off here mostly... new kitchen counters showing up any minute. Will be happy to stop cooking outside on the patio. ballen: or just order some straight caffine from a chemical supply house
nice sroute: gutted 1/2 our main floor earlier this summer; putting Humpty-Dumpty back together again now... ballen: right on sroute: 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&section=15826&beginIndex=0 ballen: FYI: 10 grams of caffeine is lethal sroute: Probably a lifetime supply and then some ballen: 50 kilos, hell
wonder what people use it for sroute: Food production
And science nuts: http://scienceblogs.com/developingintelligence/2008/02/optimally_wired_a_caffeine_use.php
lol ballen: from a chemical supply house?
seems like there would be a cheaper place to get it from for food sroute: was in the food chemicals section. No doubt a big chunk of the population get more of their "nutrients" that way these days ;) ballen: heh
I've used caffeinated soap before
kinda dumb -: sroute scratches head mike-burns: If you really hate both your body and sleep, I recommend the uberman polyphasic sleep schedule.
25 minutes every four hours.
It's all you need, really. sroute: 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. " ballen: heh mike-burns: That's pretty accurate. sroute: It seems that as a general rule it isn't nice to fool with Mother Nature. mike-burns: I blogged my attempt at it here: http://fucksleep.wordpress.com/ sroute: Quote is from here: http://www.kuro5hin.org/story/2002/4/15/103358/720 mike-burns: Yeah.
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. sroute: As I age I'm finding I need more but I still attempt to work the hours I used to.
Kitchen guys are here. Gotta run ballen: k bye ***: ballen is now known as ballen|away
ballen|away is now known as ballen
ballen is now known as ballen|away
ballen|away is now known as ballen jeev: Oct 2 04:24:23 www kernel: ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=6384687
heh
i never expected that on a vps ***: ballen has quit IRC (Read error: 113 (No route to host)) dbgi: hi ***: Thorgrimr has quit IRC (anthony.freenode.net irc.freenode.net)
up_the_irons has quit IRC (anthony.freenode.net irc.freenode.net)
toddf has quit IRC (anthony.freenode.net irc.freenode.net)
nerdd has quit IRC (anthony.freenode.net irc.freenode.net)
timburke has quit IRC (anthony.freenode.net irc.freenode.net)
sroute has quit IRC (anthony.freenode.net irc.freenode.net)
baklava has quit IRC (anthony.freenode.net irc.freenode.net)
jester1 has quit IRC (anthony.freenode.net irc.freenode.net)
cablehead has quit IRC (anthony.freenode.net irc.freenode.net)
Qsource has quit IRC (anthony.freenode.net irc.freenode.net)
Rada has quit IRC (anthony.freenode.net irc.freenode.net)
mike-burns has quit IRC (anthony.freenode.net irc.freenode.net)
visinin has quit IRC (anthony.freenode.net irc.freenode.net)
heavysixer has quit IRC (anthony.freenode.net irc.freenode.net)
vtoms has quit IRC (anthony.freenode.net irc.freenode.net)
Nat_UB has quit IRC (anthony.freenode.net irc.freenode.net)
obsidieth has quit IRC (anthony.freenode.net irc.freenode.net)
up_the_irons has joined #arpnetworks
visinin has joined #arpnetworks
vtoms has joined #arpnetworks
heavysixer has joined #arpnetworks
sroute has joined #arpnetworks
mike-burns has joined #arpnetworks
nerdd has joined #arpnetworks
Rada has joined #arpnetworks
timburke has joined #arpnetworks
toddf has joined #arpnetworks
Thorgrimr has joined #arpnetworks
cablehead has joined #arpnetworks
obsidieth has joined #arpnetworks
baklava has joined #arpnetworks
Qsource has joined #arpnetworks
jester1 has joined #arpnetworks
Nat_UB has joined #arpnetworks
irc.freenode.net sets mode: +o up_the_irons
visinin has quit IRC ("adetr")
bithash has joined #arpnetworks jeev: getting annoying brute forces
probably gonna change ssh port nerdd: You could also just use restrictions in /etc/hosts.allow - those denied won't even get a chance to authenticate jeev: never read about it
thought hosts.allow was of known things
ips and what not nerdd: 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
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 bithash: 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. jeev: using bruteblock
but it's a million random ips
coming slowly
yea i know neerd
i'll just change the port, i dont care bithash: ok nerdd: I've got to check bruteblock out - I didn't know about that. Sounds cool bithash: nerdd: I also use it for apache
but I assume you are using ipfw nerdd: I've actually never tried using ipfw for anything yet bithash: kk ***: heavysixer has quit IRC ()
bithash has left
heavysixer has joined #arpnetworks
vtoms has quit IRC ("Leaving.")
sroute has quit IRC (anthony.freenode.net irc.freenode.net)
Thorgrimr has quit IRC (anthony.freenode.net irc.freenode.net)
up_the_irons has quit IRC (anthony.freenode.net irc.freenode.net)
toddf has quit IRC (anthony.freenode.net irc.freenode.net)
nerdd has quit IRC (anthony.freenode.net irc.freenode.net)
timburke has quit IRC (anthony.freenode.net irc.freenode.net)
jester1 has quit IRC (anthony.freenode.net irc.freenode.net)
cablehead has quit IRC (anthony.freenode.net irc.freenode.net)
heavysixer has quit IRC (anthony.freenode.net irc.freenode.net)
Qsource has quit IRC (anthony.freenode.net irc.freenode.net)
Rada has quit IRC (anthony.freenode.net irc.freenode.net)
mike-burns has quit IRC (anthony.freenode.net irc.freenode.net)
Nat_UB has quit IRC (anthony.freenode.net irc.freenode.net)
obsidieth has quit IRC (anthony.freenode.net irc.freenode.net)
baklava has quit IRC (anthony.freenode.net irc.freenode.net)
up_the_irons has joined #arpnetworks
heavysixer has joined #arpnetworks
sroute has joined #arpnetworks
mike-burns has joined #arpnetworks
nerdd has joined #arpnetworks
Rada has joined #arpnetworks
timburke has joined #arpnetworks
toddf has joined #arpnetworks
Thorgrimr has joined #arpnetworks
cablehead has joined #arpnetworks
obsidieth has joined #arpnetworks
Nat_UB has joined #arpnetworks
jester1 has joined #arpnetworks
Qsource has joined #arpnetworks
irc.freenode.net sets mode: +o up_the_irons
baklava has joined #arpnetworks
ballen has joined #arpnetworks ballen: oh hi ***: bithash has joined #arpnetworks
heavysixer has quit IRC ()
bithash has left
BeBoo_ has joined #arpnetworks BeBoo_: can anyone give me the default name servers? I need to set up my forwarders?
scratch the last ? Nat_UB: BeBoo...u find them? BeBoo_: find what? i need them. i changed my resolv.conf and never wrote down the IPs -: ballen shrugs, uses OpenDNS Nat_UB: BeBoo...I only have one...sent via PM BeBoo_: thanks -: Nat_UB uses OpenDNS typically...haven't modified this VPS yet BeBoo_: but wouldn't resolutions be quicker if it stayed on the same network rather than leaving the network to go to opendns?
i'm sure the time difference would be negligable ballen: actually I found it was faster to use opendns Nat_UB: Depends on how fast / overloaded the local might get... BeBoo_: i use opendns here at home... was just thinking it might be better to keep it local, is all
thanks =] Nat_UB: Only use IP's...eliminates DNS slowness BeBoo_: of course jeev: why not run your own cache ballen: jeev: if you don't want to use the memory jeev: i see
sometimes i dont think
i really need to make time to redo some of my servers, secure, passwords and all
i have maybe 75 outdated servers now
security ones. dbgi: lala Nat_UB: Eric Clapton? ***: heavysixer has joined #arpnetworks
heavysixer has quit IRC () BeBoo_: anyone good with bash scripting? I have a simple question if i may ballen: shoot BeBoo_: 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?
sorry if i confuse you... not sure how to reword it
Like, i want to echo "Configuring..." then replace that with "Building..."
without using like 10 lines ballen: so
is Configuring... a variable
or stored as a var BeBoo_: it could be
i know how to set vars
thats not what i am asking, tho
i'm talking about output. ballen: ohhh
so you literally want a way sroute: 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. ballen: for echo "Configuring..." to output building... BeBoo_: no
-_- ballen: sigh... BeBoo_: lemme try it this way...
user runs the script... ballen: k BeBoo_: echo "Welcome! Gonna build..."
then i would echo "Configuring..." sroute: here's the relevant line for pf config - automatically shoves offenders into a block table after four attempts within a certain period of time
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 <ssh-offenders> flush ) BeBoo_: when it's done instead of echoing "Building..." below COnfiguring... i want it to replace that line
remove configuring... and repalce it with building.... ballen: ohhhh
yea no idea how to do that BeBoo_: k
i don't even know what to call it
lol ballen: replacing text inline on the terminal
without a new line BeBoo_: yeahh there ya go
yess ballen: maybe stty?
not sure though
but would be worth checking BeBoo_: ooo
that looks promising -: BeBoo_ reads ***: N00B_ has joined #arpnetworks N00B_: hey anyone in here ever use ns? i have a quick question.. BeBoo_: ns as in...? N00B_: network simulator
ns-2/3 BeBoo_: not me sorry N00B_: but you know networking...right?
it may seem trivial but i'm having some trouble understanding something..
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? -: ballen shrugs N00B_: what channel is this? ballen: Arp Networks is a VPS, hosting, and colo provider N00B_: r u guys into sales or something? ballen: hah no up_the_irons: N00B_: read your networking book and learn something; no pasting homework questions ;) N00B_: lol up_the_irons: ballen: a name like "arp networks" has got me college text book questions emailed to me over the years, I know how this goes :) N00B_: yu guys are doing VPS...surely...surely you know what a link delay might do ballen: surely
we do N00B_: ..secret society.. up_the_irons: sroute: i like that pf command -: up_the_irons writes it down N00B_: ..okay cool :) up_the_irons: 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) ballen: up_the_irons: why not just turn off password auth
and not worry about it up_the_irons: ballen: it is, but this is for downstream VMs
can't be sure every customer turns off password auth ballen: ahh BeBoo_: keys are the devil
;x up_the_irons: a way to help them protect themselves ballen: so you have some built in firewall rules that protects us all
well not built-in
you know what i mean up_the_irons: yeah
i saw a certain pattern of traffic disappear after i did that
it was all the brute force scans ballen: yep
omni-present
on the tubes up_the_irons: TOOBS N00B_: ...bodyboarding? ***: BeBoo_ has quit IRC (Remote closed the connection)
BeBoo_ has joined #arpnetworks
heavysixer has joined #arpnetworks jeev: up_the_irons
you dont set kern.hz for customers ?
it slows down ones CPU but..
it's suggested in bsd's manual for freebsd guest up_the_irons: link? ballen: thats it set to now by default in 7.2
thought they fixed that jeev: http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html
pretty much mentioned for every type up_the_irons: i don't set kern.hz, for the record jeev: i've done tests with and witout
without ballen: sysctl -a | grep kern.hz
kern.hz: 1000 jeev: 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:
kern.hz=100
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%.
guess it allows you to sell more ballen: I believe there is some issues with setting it lower
performance wise jeev: yea ballen: up_the_irons jeev: client loses performance ballen: ah jeev: my wht benchmark went from 78 to 58
on my own server ballen: up_the_irons how much does an idle VM take right now on the CPU jeev: 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
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
not sure why mine does that
none are being used up_the_irons: ballen: not a whole lot jeev: virtualization rules ballen: 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 up_the_irons: ballen: yeah i'm not feeling any pain with the current setting and no one has complained == not an issue ;) ballen: http://unilogiclabs.com/signup - Invite Code: arp_networks what I've been working on
feel free to play up_the_irons: jeev: but thanks for bringing it up, it might be important later on ballen: Supposidly in 8.0 kern.hz will be set back to 100 up_the_irons: thanks, checking it out! ballen: there I made an idea that explains it a bit
ugh... damn bugs ***: Nat_UB has quit IRC (anthony.freenode.net irc.freenode.net)
obsidieth has quit IRC (anthony.freenode.net irc.freenode.net)
Nat_UB has joined #arpnetworks
heavysixer has quit IRC ()
N00B_ has quit IRC ("(Quit: Because i have. ok?)")
obsidieth has joined #arpnetworks
visinin has joined #arpnetworks ballen: up_the_irons: get what the app is all about? BeBoo_: 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 ballen: heh
cool, let me know if you get it BeBoo_: sure visinin: BeBoo_: what are you trying to do? BeBoo_: visinin: as ballen put it: <ballen> replacing text inline on the terminal
i want to reuse the line instead of using newlines visinin: gotcha BeBoo_: i am using a carriage return to bring the cursor to the beginning and it works visinin: yeah, that's the best way to do it BeBoo_: but if the next like is short, it looks weird visinin: well yeah BeBoo_: i need to find a way to clear the rest of the line visinin: i've done this before, let me dig up how i did it BeBoo_: i might just use spaces for the time
ooo -: BeBoo_ grins visinin: okay
let me try something real quick, think i found it ***: heavysixer has joined #arpnetworks mike-burns: BeBoo_: So far as I know (which isn't much) you need ncurses to do what you want.
However the r idea is promising. Maybe 'echo -n' is what you want, too. visinin: nah you don't
basically
ugh, this pastebin is garbage
printf("e[K"); /* this escape code erases from the right-side of the cursor to the end of the line */ BeBoo_: mike-burns: already am using -en
but if the second line is shorter than the first it looks weird visinin: ah, you're doing this with bash? BeBoo_: like blah blahah
yes
printf works in bash
doesn't it? visinin: that escape sequence might not
hold on just a sec BeBoo_: oh visinin: you should be able to just
echo -ne "033[K"
that'll clear the rest of the line
yeah, that works! BeBoo_: lemme try it
omg i love you visinin
lol visinin: :D!
http://ascii-table.com/ansi-escape-sequences-vt-100.php
keep that around BeBoo_: bookmarked =] visinin: excellent! BeBoo_: so 033 is escape ? visinin: yeah
and you can like change color with it too BeBoo_: i know how to do colors visinin: yeah BeBoo_: just nothing else
but now i do
=]
it's a stupid little script too
i'm making a simple script that downloads the eggie source, configures and builds it jeev: http://lubbock.craigslist.org/rnr/1403715949.html ***: [FBI] starts logging #arpnetworks at Fri Oct 02 21:46:49 2009
[FBI] has joined #arpnetworks -: jeev runs BeBoo_: z0mg ballen: wonder where he's been ***: visinin has quit IRC ("sleeeeeep") sroute: 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. BeBoo_: yay my script works nicely now
i'm happy =] ballen: nice BeBoo_: it downloads, configures and installs eggdrop without any interaction ballen: coool BeBoo_: just confirms a yes/no if you want to do it
also backs up an older install if there is one
so no data loss ballen: nice BeBoo_: ballen: http://www.beboobailey.info/getegg.png
=D ballen: cool