Re: OT: GUI programming languages

2007-05-08 Thread Andrew Swisher
On Mon, May 07, 2007 at 11:34:55AM -0500, Jacob Yocom-Piatt wrote:
> have been coding touchscreen-driven applications using visual basic 
> lately and am sick of VB. i would much rather be using openbsd with 
> another programming language that allows me to accomplish the same sort 
> of stuff.
> 
> i have no "formal" CS background so am at a loss for good candidates. 
> the applications in question are "click here, prints something in a text 
> box, etc" ones that are not very complex. a language that allows me to 
> generate GUIs quickly and securely would be nice.



I would recommend taking a look at tcl/tk.  Both are in the
ports/packages collection.  I'm not familiar with VB (thank goodness),
but if it's consistant with everything else that shop rolls out, even
the most simple "Hello World" is gonna generate something bloated.

Tcl/Tk will require some (very) basic scripting skills.

A



Re: Oldest Server you run

2006-10-12 Thread Andrew Swisher
On Thu, Oct 12, 2006 at 08:54:35PM +0200, Falk Husemann wrote:
> Hello List!
> We're trying to put an old server to good use again and would like to  
> know what's exactly the oldest machine running OpenBSD?



At my place of work, I have an old "cakebox" Sparc IPX 25 (40??)MHz with
16 MB RAM, 2GB HHDcirca 1992-3.  It runs dns, ssh, and nothing else.

It's been sitting on a "special" network that's completely isolated from
the internet since approx 1998.  I haven't had the heart to bury that
thing yet :-)

A



Re: ntpd as server logging...

2006-05-12 Thread Andrew Swisher
On Thu, May 11, 2006 at 05:21:14PM -0600, Jeff Ross wrote:
> Hi,
> 
> I've enabled ntpd with the -d flag to run as a server on a system on the 
> lan with this conf file:
> 
> [EMAIL PROTECTED]:/home/jross $ cat /etc/ntpd.conf
> # $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
> # sample ntpd configuration file, see ntpd.conf(5)
> 
> # Addresses to listen on (ntpd does not listen by default)
> listen on *
> 
> # sync to a single server
> #server ntp.example.org
> 
> # use a random selection of 8 public stratum 2 servers
> # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
> servers pool.ntp.org
> 
> Is there a way to log update requests from other computers on the lan? 
> I'm trying to sync some [EMAIL PROTECTED] workstations and the update request 
> always 
> fail--both with it and with other time servers. I can sync my openbsd 
> workstation with it no problem, but nothing shows in the logs then, 
> either.



I run obsd on my firewall (of course).  My firewall syncs it's clock
with external time servers.  The ntpd on my firewall listens only on the
internal interface, so that my internal hosts can sync with it.

I have a statement in my pf.conf file to allow my internal hosts to
connect to the ntpd over udp 123:

pass in log quick on $IntIF inet proto udp from any to 10.2.2.1 port
123 keep state


Please note that I also use the "log" option in my rule.

Hope that helps,


A



Re: OSCON - OpenBSD/CARP slides

2005-08-05 Thread Andrew Swisher
On Fri, Aug 05, 2005 at 01:31:10PM -0400, Michael C. Ibarra wrote:
> It didn't open in within firefox but I was able to save the page and 
> open it with my pdf viewer.
> 



Hmmmworked like a champ here (using 3.6-STABLE, firefox and xpdf
from ports).  You need to tools-options-downloads, and tell firefox to
open files with .pdf extension with xpdf (or whatever viewer you
prefer).

Thanks again Jason!


A



Re: Openbsd 2.8 on a Sparc IPC

2005-05-18 Thread Andrew Swisher
Nice...

I'm not sure I've got that beat, but very close.  About 7 yrs ago (just
after 2.3 came out, I believe) I was ordered to stand-up a few name servers
on a secure network at my place of work.  One of the systems was a Sparc
Classic - a cakebox similar to an IPC, but SUN4M.  It pretty-much ran
named and syslogd, and that's about it.  Everything else was disabled.
All administration (which was very little btw, a few changes to
zonefiles, etc) was done via the console, as it was physically located
in a vault. 

I swear, that baby was up for well over 2 yrs.  Then one day, I was told
that I had to move it approx 50 ftwho knows how long it could've
lasted??


A



On Tue, May 17, 2005 at 01:31:29PM -0400, Jason Crawford wrote:
> Longest box I've had up was 745 days, 22 hours 36 minutes, OpenBSD 3.1
> with GENERIC kernel. It was a firewall for a mail server, that's all
> it did, and the one requirement was as much uptime as possible, I
> guess I succeeded there. It's long gone now, and not the best thing to
> do (leave a box up for 2+ years) but it's nice to know OpenBSD can
> stay up that long with absolutely no issues what-so-ever.
> 
> On 5/17/05, J.C. Roberts <[EMAIL PROTECTED]> wrote:
> > On Tue, 17 May 2005 09:44:51 -0500, "Bill Jones" <[EMAIL PROTECTED]>
> > wrote:
> > 
> > >OpenBSD main 2.8 GENERIC#96 sparc
> > >
> > >9:54AM  up 438 days,  7:03, 1 user, load averages: 0.31, 0.16, 0.10
> > 
> > Damn! You got me beat. :-)
> > 
> > A few days ago I finally retired a 486-66MHz running OpenBSD 2.9
> > 
> > Yes, I know it's not a "good idea" (TM) to let a system languish like
> > this but when done correctly, the bragging rights are a lot of fun.
> > 
> > ITDude: "Our firewall is a quad 8GHz bone cruncher running checkpoint"
> > Me: "really, well mine is an old 486 that I found in the trash..."
> > 
> > JCR