photo
Jordan Sissel
geek

Tue, 16 Aug 2005

new moused progress

I spent the last two days working out the prototyping ideas for the new moused. So far I've got a decent plugin framework with two plugins written currently. I've been using this new moused since yesterday with much success.

moused.c is 280 lines (will likely be less when finished)
the sysmouse module is 160 lines and supports ums(4) and psm(4) mice

The old moused.c was over 3000 lines long. The existing psm(4) is well over 3000 lines. I don't anticipate my moused ever being over 300 lines of code. The plugins will be doing the meat of the work. I'm hoping to make the plugin api good enough so that plugins will only have to know how to talk to their specific hardware and let moused worry about talking to sysmouse(4).

Right now there is a potential for writing some filter modules becuase of the way the plugin api is designed. Filters would be used for such things as emulate-3-button and virtual scrolling (-3 and -V respectively). I already have a filter written for virtual scrolling. Compared to the hackery I had to throw into the old moused to get virtual scrolling working, this was an absolute breeze to write. It is simply a function called 'filter' that understands what virtual scrolling is and when to do it. Filter is called before any updates are pushed to sysmouse.

The next big job is going to be stripping psm(4) of it's bloat and making it an almost a pass-through device. The non-standard mice it supports currently (synaptics, etc) will be supported through plugins in the new moused.

If you're interested in helping me test this, let me know.

Comments: 0 (view comments)
Tags:
Permalink: /geekery/184
posted at: 01:35

Tue, 09 Aug 2005

New article: ssh security and idiot administrators

Link: http://www.csh.rit.edu/~psionic/articles/ssh-security

Long story short: I found a security-hole type thing in some of RIT's servers. I contacted ITS (RIT's systems and network team) about the problem. I heard from the grapevine that they wouldn't fix it (this may or may not be true). So as a way of venting anger towards fucktard sysadmins, I wrote this article. It explains why setting my shell to /bin/false is NOT preventing me from using ssh on your machine.

Link: http://www.csh.rit.edu/~psionic/articles/ssh-security

Comments: 0 (view comments)
Tags: ,
Permalink: /site/183
posted at: 21:27

Search this site

Navigation

Metadata

Home About Resume My Code (SVN)

Articles

ARP Security Dynamic DNS with DHCP OpenLDAP+Kerberos+SASL PPP over SSH SSH Security: /bin/false Week of Unix Tools Work Efficiency

Projects

fex firefox tabsearch firefox urledit grok keynav liboverride newpsm (FreeBSD) nis2ldap pam_captcha poor man's backup Solaris audio utility xboxproxy xdotool xmlpresenter xpathtool misc scripts

Presentations

Yahoo! Hack Day '06 Unix Essentials Vi/Vim Essentials

Tag Cloud

Calendar

< August 2005 >
SuMoTuWeThFrSa
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
28293031   

Friends

BarCamp Kent Brewster Tantek Çelik John Resig Wesley Shields Tyler Shields

Technorati