<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-15152339</id><updated>2011-04-21T12:51:50.054-07:00</updated><title type='text'>4444jbp</title><subtitle type='html'>My Geek-Blog!!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://4444jbp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15152339/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://4444jbp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>jbp4444</name><uri>http://www.blogger.com/profile/05913664947966879329</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-15152339.post-113485851741908353</id><published>2005-12-17T14:22:00.000-08:00</published><updated>2005-12-17T14:28:50.536-08:00</updated><title type='text'>HP PSC2410 ... printing on dark paper</title><content type='html'>Just some notes, mostly for myself, but hopefully useful to others to ...&lt;br /&gt;&lt;br /&gt;I was trying to use my HP PSC2410 printer to print on very dark (chocolate-brown) card stock, from my Apple PowerBook laptop.  I used Powerpoint to layout the text and graphics, then in the print menu, I had to do a lot of twiddling -- otherwise the dark paper would confuse the printer and it would claim to be jammed or out of paper.&lt;br /&gt;&lt;br /&gt;In Powerpoint I set it for "US Letter" ... which it considered 7.5x10in (landscape mode)&lt;br /&gt;&lt;br /&gt;In Printer Options, I set the following:&lt;br /&gt;&lt;br /&gt;* under "Paper Handling":  click on "Use documents paper size: Borderless photo 8.5x11in." (No, this does not appear to jive with what Powerpoint thinks, but this is what I found that works)&lt;br /&gt;* under "Borderless Printing":  click on "Print borderless" (i.e. turn it on)&lt;br /&gt;* under "Paper Type/Quality":&lt;br /&gt;** on the "Paper" tab: select "Paper Type" as "HP Premium Plus Photo", select "Quality" as "Best", select "Color" as "ColorSmart III", and select "Source" as "Upper Tray"&lt;br /&gt;** on the "Digital Photo" tab: turn all the fancy options off, or set the sliders all the way to the left (which should say "Off")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15152339-113485851741908353?l=4444jbp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://4444jbp.blogspot.com/feeds/113485851741908353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15152339&amp;postID=113485851741908353' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15152339/posts/default/113485851741908353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15152339/posts/default/113485851741908353'/><link rel='alternate' type='text/html' href='http://4444jbp.blogspot.com/2005/12/hp-psc2410-printing-on-dark-paper.html' title='HP PSC2410 ... printing on dark paper'/><author><name>jbp4444</name><uri>http://www.blogger.com/profile/05913664947966879329</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15152339.post-112327996228667535</id><published>2005-08-05T15:05:00.000-07:00</published><updated>2005-08-05T15:23:18.056-07:00</updated><title type='text'>The details</title><content type='html'>The details of what my log-watch system:&lt;br /&gt;&lt;br /&gt;1. mkfifo /tmp/log_fifo&lt;br /&gt;2. edit /etc/syslog.conf and add:&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/span&gt;&lt;tt&gt;*.info;authpriv.none            |/tmp/log_fifo&lt;/tt&gt;&lt;br /&gt;3. edit /etc/sysconfig/iptables and add a new table called "BADGUYS"&lt;br /&gt;a. in the "filter" section (at the top):&lt;br /&gt;&lt;tt&gt;:BADGUYS - [0:0]&lt;/tt&gt;&lt;br /&gt;b. in the INPUT table:&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/span&gt;&lt;tt&gt;-A INPUT --in-interface eth+ --jump BADGUYS&lt;/tt&gt;&lt;br /&gt;c. in the BADGUYS table (add this at the bottom):&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;tt&gt;&lt;/tt&gt;&lt;/span&gt;&lt;tt&gt;-A BADGUYS --in-interface eth+ --source 169.254.0.0/16 --jump DROP&lt;/tt&gt;&lt;br /&gt;or some other "bad" IP address.&lt;br /&gt;3. service syslog restart&lt;br /&gt;4. run my logmonitor script which watches the /tmp/log_fifo "file" (more on this later)&lt;br /&gt;&lt;br /&gt;By default, the logmonitor wakes up whenever a new entry appears in the log_fifo -- i.e. every time a login fails, but also every time any other crap goes into the log file.  Every 5 minutes, it also wakes up and checks if any of the banned IP addresses has expired -- right now a ban is for 12 hours.  I think the overhead on the system is minimal, and it catches script kiddies after 3 failed attempts, not 50.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15152339-112327996228667535?l=4444jbp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://4444jbp.blogspot.com/feeds/112327996228667535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15152339&amp;postID=112327996228667535' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15152339/posts/default/112327996228667535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15152339/posts/default/112327996228667535'/><link rel='alternate' type='text/html' href='http://4444jbp.blogspot.com/2005/08/details.html' title='The details'/><author><name>jbp4444</name><uri>http://www.blogger.com/profile/05913664947966879329</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15152339.post-112327938304507715</id><published>2005-08-05T14:54:00.000-07:00</published><updated>2005-08-05T15:03:32.643-07:00</updated><title type='text'>Geek blog</title><content type='html'>Every now and then I tend to "geek out" and so I figured I'd start a blog to post my progress.&lt;br /&gt;&lt;br /&gt;The latest thing I've been hacking on is a security system for my computer ... there are lots of script kiddies out there now, and if you turn on a brand-new computer, they say it will be "rooted" or compromised within minutes. In my own computer's logs, I'm seeing 2-10 brute-force attempts to login by random machines. Generally, these are very easy to detect:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Jul 31 23:03:35 192 sshd[32563]: Illegal user admin from 200.220.192.86&lt;br /&gt;Jul 31 23:03:35 192 sshd(pam_unix)[32563]: check pass; user unknown&lt;br /&gt;Jul 31 23:03:35 192 sshd(pam_unix)[32563]: authentication failure; logname=&lt;br /&gt;uid=0 euid=0 tty=NODEVssh ruser= rhost=nagios.nqt.com.br&lt;br /&gt;Jul 31 23:03:37 192 sshd[32563]: Failed password for illegal user admin from&lt;br /&gt;200.220.192.86 port 52533 ssh2&lt;br /&gt;Jul 31 23:03:39 192 sshd[32565]: Illegal user admin from 200.220.192.86&lt;br /&gt;Jul 31 23:03:39 192 sshd(pam_unix)[32565]: check pass; user unknown&lt;br /&gt;Jul 31 23:03:39 192 sshd(pam_unix)[32565]: authentication failure; logname=&lt;br /&gt;uid=0 euid=0 tty=NODEVssh ruser= rhost=nagios.nqt.com.br&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Basically, they're just trying random passwords into widely-used usernames -- admin, betty, bob, joe. But they also try it a few times at each of 50 different usernames, so they could slowly figure out a correct combination.&lt;br /&gt;&lt;br /&gt;My approach has been to give them 3 tries to get in, then I start dropping all their packets -- it's as if my computer never sees them again. If it is a legit user, they'll probably get their password right in 3 tries, so it isn't a big inconvenience to real users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15152339-112327938304507715?l=4444jbp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://4444jbp.blogspot.com/feeds/112327938304507715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15152339&amp;postID=112327938304507715' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15152339/posts/default/112327938304507715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15152339/posts/default/112327938304507715'/><link rel='alternate' type='text/html' href='http://4444jbp.blogspot.com/2005/08/geek-blog.html' title='Geek blog'/><author><name>jbp4444</name><uri>http://www.blogger.com/profile/05913664947966879329</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
