Re: How do I set up an IRC site?

2006-05-07 Thread Bigby Findrake

On Thu, 4 May 2006, Gary Kline wrote:


Folks,

I'm thinking of setting up an IRC page on my website so I
can chat (live) with just a few people.  Are there any tutorials
on this?  Othr than using GAIM and ymessenger, the last time I
did live chat was circa 1991 with the write utility.  So beyond
that, I'm clueless.


I use hybrid (http://ircd-hybrid.com/) for the ircd - I chose that for its 
reputed stability.  Hybrid's not the most featureful ircd out there, but 
it's been great to me.  I added on hybserv (http://www.hybserv.net/) for 
services.


For the web front-end part, I've tried several, from java clients to a cgi 
gateway.  pjirc (http://www.pjirc.com/about.php) is a very sweet java 
applet.  It's free, slick looking, very configurable (on the back/admin 
end) and very featureful as java clients go.


Some limitations of java clients is that your clients need network access 
to the irc server (some sites/networks/companies/etc. block irc access) 
and you need java (which not all browsers/OSes support).  That's why I 
also offer a cgi-to-irc (http://cgiirc.sourceforge.net/) gateway.  It's a 
bit clunky, but it allows people who can't use the java client (for one of 
the above reasons) to still connect to irc via the web.



/-/
Who made the world I cannot tell;
'Tis made, and here am I in hell.
My hand, though now my knuckles bleed,
I never soiled with such a deed.
   -- A. E. Housman

   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Semi-OT: responding to attempted breakins

2006-05-03 Thread Bigby Findrake

On Wed, 3 May 2006, Robert Huff wrote:



As a result of installing new bits on my system, and paying
attention to old ones, I've noticed several attempted break-ins
which I currently believe have been unsucessful.
As I have the appropriate log files, I'd like to contact the
administrators and ISPs for the systems involved.  Can someone
recommend a good response boilerplate - something that's concise,
informative, professional, friendly, and yet firm?


I've been pretty religious about responsible reporting for about 6 
months now, reporting all ssh (and recently FTP) attacks to the 
originating ISP.


If I may, allow me to infer from your desire to be firm that you would 
like to cause the behaviour stop, and to give you a piece of advice.  I 
believe that you will be very unhappy if you are reporting for that 
reason.  The attacks, probes, tests, attempts - all of them - aren't going 
to stop, except by filtering those packets out through one mechanism (a 
firewall) or another (disconnecting your 'net connection).  You will end 
up bailing water with a teaspoon.



/-/
He's the kind of guy, that, well, if you were ever in a jam he'd be
 there ... with two slices of bread and some chunky peanut butter.

   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X11 and virtual consoles.... (startx + vlock)

2006-04-26 Thread Bigby Findrake

1. What about backgrounding startx and then exiting your shell?

2. Have you tried using lock -np instead of vlock?

On Mon, 17 Apr 2006, Eric Schuele wrote:


Eric Schuele wrote:

Hello,

[hadn't worn my newbie hat lately... so I thought I'd try it on.]

Is there a way to run X via startx and prevent someone from switching back 
to the console that started it and pressing Ctrl-C, without using 
DontVTSwitch in my xorg.conf file?


I would like to be able to use multiple virtual consoles.  But do not like 
the idea of someone switching back to *my* virtual console... killing X and 
having my account available to them.  This way I could lock my session via 
xscreensaver, and walk away.  Then someone else could login and use the 
machine... just not *my* account.


I had envisioned something like a script that did the following:
  #!/bin/sh
  startx 
  vlock

Yet vlock does not like this at all.  I was hoping to background startx... 
and then lock the virtual console. :)


A little more info
So it appears that vlock works if I manually background startx from the 
console, and then run vlock.  but inside the script vlock gets into a loop in 
which it thinks it is seeing keystrokes... and repeatedly (quickly) says that 
the password is bad, please try again.   It does this forever.


Additionally, the script works just fine for root.  It behaves exactly as I 
would like.  It startx and then locks the console.


Lastly,  I have done a bit more googling, looking for vlock and startx 
specifically... and found that (at least in the past) many people have done 
it this way with success.  I'm not sure what I might be doing wrong here.


I did turn up one bug that sounds very much like what I am experiencing but 
it appears to have been fixed some time ago.  I wonder if there is a 
regression?  Anyone using `startx ; vlock` successfully?




Is there anything that might accomplish something similar?

Thanks.




--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




/-/
Under deadline pressure for the next week.  If you want something, it
can wait.  Unless it's blind screaming paroxysmally hedonistic ...

   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rsh but no rcp as root

2006-04-17 Thread Bigby Findrake
In /etc/pam.d/rsh, in the auth line with pam_rhosts.so, make sure you have 
allow_root as on option, like this:


authrequiredpam_rhosts.so   no_warn allow_root


On Fri, 14 Apr 2006, Roger Williams wrote:


I have a machine using FreeBSD 6.0 which wont let me rcp as root.  I can rsh
as root or rcp as another user but no rcp as root.  I have several 4.10
machines that work fine as well as a 6.0 machine with no issues.
My .rhosts(chmod 600) file is in place as well as the hosts.equiv file, and
inetd is starting all the needed damons, hence the logins as other users and
my rsh connections.  Any Ideas...Im stumped.

Roger

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




/-/
I don't think they could put him in a mental hospital.  On the other
hand, if he were already in, I don't think they'd let him out.

   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Determining whether or not a SCSI disk is in use

2006-04-14 Thread Bigby Findrake

On Fri, 14 Apr 2006, Garrett Cooper wrote:


Yes. Recently accessed or is being accessed.
-Garrett


Well, for a shell-script-hack, which (i) requires no new kernel and (ii) 
could be fairly portable but (iii) could conceivably miss some activity, 
you could do something like the following:


#!/bin/sh

DISKDEV=da0
SHUTDOWN_COMMAND=camcontrol stop 0,1,0
SECONDS=60

# check for activity
# watch iostat for $SECONDS seconds for anything

iostat -d $DISKDEV 1 5 | awk ' NR2  $20 { print x } ' |\
grep x  /dev/null

STATUS=$?

if [ $STATUS -eq 0 ]
then

# there was activity,
$SHUTDOWN_COMMAND
fi


/-/
You always miss 100% of the chances you never take.

   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Determining whether or not a SCSI disk is in use

2006-04-14 Thread Bigby Findrake

On Fri, 14 Apr 2006, Bigby Findrake wrote:

I'm sorry, I'm an idiot - the script, in its current incarnation, needs to 
be modified.  It's doing exactly what you don't want it to do - it will 
shut down the disk if there was activity.  The if statement should read:


if [ $STATUS -ne 0 ]


On Fri, 14 Apr 2006, Garrett Cooper wrote:


Yes. Recently accessed or is being accessed.
-Garrett


Well, for a shell-script-hack, which (i) requires no new kernel and (ii) 
could be fairly portable but (iii) could conceivably miss some activity, you 
could do something like the following:


#!/bin/sh

DISKDEV=da0
SHUTDOWN_COMMAND=camcontrol stop 0,1,0
SECONDS=60

# check for activity
# watch iostat for $SECONDS seconds for anything

iostat -d $DISKDEV 1 5 | awk ' NR2  $20 { print x } ' |\
grep x  /dev/null

STATUS=$?

if [ $STATUS -eq 0 ]
then

# there was activity,
$SHUTDOWN_COMMAND
fi




/-/
Workaholics procrastinate too... I'll sleep tommorow.

   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: persistent mixer volume levels

2006-04-14 Thread Bigby Findrake

On Fri, 14 Apr 2006, David J Brooks wrote:


What is the preferred method for making mixer volume levels persistent? As it
stands now my sounds levels are dropped to about 75% after each reboot.


I suppose preferred would depend on what your priorities are.  If you 
change the kernel source, it would be hard for you to change those 
defaults later, as opposed to making a startup script in 
/usr/local/etc/rc.d.


If you want to set the kernel defaults, they appear to be in
mixer.c (find /usr/src/sys -name mixer.c -print) in snd_mixerdefaults.


/-/
The opinions above are solely those of a 12 year old hacker who has broken
into my account, and not those of my employer or any other organization.   


   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


which list?

2006-02-06 Thread Bigby Findrake

Which list should I talk to with questions regarding g/vinum?

Please either respond directly or cc me, as I'm not subscribed to 
[EMAIL PROTECTED]


TIA


/-/
 Giving something away is the ultimate subversive act in a society the
  economic system of which is structurally based on greed and egotism.

   finger://[EMAIL PROTECTED]
  http://www.ephemeron.org/~bigby/
  irc://irc.ephemeron.org/#the_pub
news://news.ephemeron.org/alt.lemurs
/-/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with ipsec and sendmail

2005-09-15 Thread Bigby Findrake
I don't know if this is the right list, but here goes:

I'm having trouble with an ipsec implementation.  The ipsec part works
fine, but now that it's set up, mail does not pass between the machines in
question.  I have set up ipsec on two machines, both connected to the
internet.  Machine A is supposed to relay mail to Machine B, but mail just
queues on Machine A.  sendmail tries to relay the mail, but the
connections time out.  I'm able to pass mail manually (by telnetting to
sendmail on the remote machine and issuing SMTP commands directly) and
that works.  sendmail also passes mail normally if I take disable ipsec.

With ipsec enabled, all of my network tests between Machine A and Machine
B succeed (ping, telnet, ssh).

Machine A is running FBSD 4.10, B is running 4.8.

Simple google searches did not yield any useful information.

Please let me know what other details of my implementation you would find
pertinent, if any.  I wanted to keep the SNR high.

Thanks in advance.



/-/
What is it called when you're pompous enough to quote yourself,
but humble enough to withhold credit?

finger://[EMAIL PROTECTED]
http://www.ephemeron.org/~bigby/
news://news.ephemeron.org/alt.lemurs
/-/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]