From socket at peakpeak.com Mon Aug 20 00:19:43 2001
From: socket at peakpeak.com (Chris Riddoch)
Date: 20 Aug 2001 00:19:43 -0600
Subject: [lug] XEmacs quoting madness!
Message-ID: <87d75rb6dc.fsf@peakpeak.com>
This should be a simple problem for someone. I hope.
In XEmacs, I'm trying to make a string with a backslash before single
quote. I want the output string to be this: "Can\'t" because the
output will be passed as a string value to another program (thus
needing quoting).
"Can\'t" gives me "Can't", as I'd expect.
"Can\\'t" gives me "Can\\'t", as I really *didn't* expect.
"Can\\\'t" gives me "Can\\'t".
"Can\\\\'t" gives me "Can\\\\'t", which leads me to think it's impossible
to get a resulting string with any odd number of backslashes in it.
It seems a horrible overkill to throw it into a regular expression,
and please don't tell me to do something as ridiculous as:
(concatenate 'string "Can" (char-to-string ?') "t")
Someone, save me from this unnecessarily complicated quoting problem.
Sheesh.
--
Chris Riddoch | epistemological
socket at peakpeak.com | humility
From stimits at idcomm.com Mon Aug 20 00:53:57 2001
From: stimits at idcomm.com (D. Stimits)
Date: Mon, 20 Aug 2001 00:53:57 -0600
Subject: [lug] off-topic, html
Message-ID: <3B80B405.37B837E5@idcomm.com>
Does anyone here happen to know the proper html tag format for an anchor
to email address, using extended information? A typical tag for just
plain email is:
My Email
I'm looking for a way to add in "CC" targets (multiple recipients), and
subject.
D. Stimits, stimits at idcomm.com
From jstarkey at advancecreations.com Mon Aug 20 01:21:08 2001
From: jstarkey at advancecreations.com (John Starkey)
Date: Mon, 20 Aug 2001 01:21:08 -0600
Subject: [lug] off-topic, html
In-Reply-To: <3B80B405.37B837E5@idcomm.com>; from stimits@idcomm.com on Mon, Aug 20, 2001 at 12:53:57AM -0600
References: <3B80B405.37B837E5@idcomm.com>
Message-ID: <20010820012108.B1568@advancecreations.com>
I've never used it, but:
<.a href="mailto:somewhere at nospam.com?cc=someotherwhere at spamcity.com&subject=whatever">Mail
John
Thus spake D. Stimits (stimits at idcomm.com):
> Does anyone here happen to know the proper html tag format for an anchor
> to email address, using extended information? A typical tag for just
> plain email is:
> My Email
>
> I'm looking for a way to add in "CC" targets (multiple recipients), and
> subject.
>
> D. Stimits, stimits at idcomm.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
--
John Starkey
ColoradoParks.net
Advance Creations
From jeerygh at hotmail.com Mon Aug 20 10:43:35 2001
From: jeerygh at hotmail.com (Greg Horne)
Date: Mon, 20 Aug 2001 16:43:35 +0000
Subject: [lug] (no subject)
Message-ID:
I'm using AWStats (awstats.sourceforge.net) to report access for my
customers that my company hosts. The program awstats.pl runs in the
/cgi-bin directory which resides in the websites home directory. When it
processes the websites log files it stores the result in
/tmp/awstats/website.
The directory /tmp/awstats/website has permissions 777 because when you go
to http://website/cgi-bin/awstats.pl it will refresh (compile the logs into
a file readable by AWStats) and save the statistics to /tmp/awstats/website.
Does anybody use this program? Is there a way I can get it to run without
the 777 permisions on the /tmp/awstats/website directory? Would I use a
tag in the httpd.conf file to allow people to only write into
/tmp/awstats/website with awstats log files? How would I do this.
Any input would be greatly appreciated.
Greg Horne
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From jeerygh at hotmail.com Mon Aug 20 10:51:27 2001
From: jeerygh at hotmail.com (Greg Horne)
Date: Mon, 20 Aug 2001 16:51:27 +0000
Subject: [lug] (no subject)<--Subject is AWStats
Message-ID:
Heh, sorry I forgot to add the subject!
>From: "Greg Horne"
>Reply-To: lug at lug.boulder.co.us
>To: lug at lug.boulder.co.us
>Subject: [lug] (no subject)
>Date: Mon, 20 Aug 2001 16:43:35 +0000
>
>I'm using AWStats (awstats.sourceforge.net) to report access for my
>customers that my company hosts. The program awstats.pl runs in the
>/cgi-bin directory which resides in the websites home directory. When it
>processes the websites log files it stores the result in
>/tmp/awstats/website.
>
>The directory /tmp/awstats/website has permissions 777 because when you go
>to http://website/cgi-bin/awstats.pl it will refresh (compile the logs into
>a file readable by AWStats) and save the statistics to
>/tmp/awstats/website.
>
>Does anybody use this program? Is there a way I can get it to run without
>the 777 permisions on the /tmp/awstats/website directory? Would I use a
> tag in the httpd.conf file to allow people to only write into
>/tmp/awstats/website with awstats log files? How would I do this.
>
>Any input would be greatly appreciated.
>
>Greg Horne
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>_______________________________________________
>Web Page: http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From tromey at redhat.com Mon Aug 20 12:34:15 2001
From: tromey at redhat.com (Tom Tromey)
Date: 20 Aug 2001 12:34:15 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Chris Riddoch's message of "20 Aug 2001 00:19:43 -0600"
References: <87d75rb6dc.fsf@peakpeak.com>
Message-ID: <87ae0utwbc.fsf@creche.redhat.com>
>>>>> "Chris" == Chris Riddoch writes:
Chris> "Can\\'t" gives me "Can\\'t", as I really *didn't* expect.
You're being confused by the lisp printer.
I tried this in *scratch*:
(length "can\\'t")
6
The lisp printer will print a string in its quoted form. So the
string consisting of a single backslash will be printed as:
"\\"
Tom
From tkil at scrye.com Mon Aug 20 12:03:40 2001
From: tkil at scrye.com (Tkil)
Date: 20 Aug 2001 12:03:40 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Chris Riddoch's message of "20 Aug 2001 00:19:43 -0600"
References: <87d75rb6dc.fsf@peakpeak.com>
Message-ID:
>>>>> "Chris" == Chris Riddoch writes:
Chris> In XEmacs, I'm trying to make a string with a backslash before
Chris> single quote. I want the output string to be this: "Can\'t"
Chris> because the output will be passed as a string value to another
Chris> program (thus needing quoting).
i think you might be confused by how you're *viewing* the output
string. take a look at the two functions "princ" and "prin1", and
you'll understand what i'm talking about:
| (prin1 "Can\\'t\n")
| "Can\\'t
| ""Can\\'t
| "
|
| (princ "Can\\'t\n")
| Can\'t
| "Can\\'t
| "
note that the actual value (as printed out by `princ') has only one
backslash in it -- but the value returned to the user is one that the
lisp reader could read back in, thus it has two backslashes.
so, if you are just using a static string, you do want two
backslashes.
if you're doing anything with regexps, you have to remember that
backslashes are special inside emacs' (and most other) regexps. so,
you want the "true value" to be a doubled backslash -- the backslash
is the quote/escape character, so you need to quote/escape it to get a
literal backslash. so you end up doing things like this:
(while (re-search-forward "Can\\\\'t" (point-max) t)
...)
just as an aside, this is a place where you really start noticing the
tradeoffs between regular, consistent, easy-to-parse languages (like
lisp, python, tcl) and nasty, irregular, special-case-all-over-the-
place languages (like perl).
t.
From tkil at scrye.com Mon Aug 20 12:05:46 2001
From: tkil at scrye.com (Tkil)
Date: 20 Aug 2001 12:05:46 -0600
Subject: [lug] off-topic, html
In-Reply-To: "D. Stimits"'s message of "Mon, 20 Aug 2001 00:53:57 -0600"
References: <3B80B405.37B837E5@idcomm.com>
Message-ID:
>>>>> "DS" == D Stimits writes:
DS> Does anyone here happen to know the proper html tag format for an
DS> anchor to email address, using extended information?
http://www.rfc-editor.org/rfc/rfc2368.txt
t.
From aaron.crane at pobox.com Mon Aug 20 12:29:28 2001
From: aaron.crane at pobox.com (Aaron Crane)
Date: 20 Aug 2001 19:29:28 +0100
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Chris Riddoch's message of "20 Aug 2001 00:19:43 -0600"
References: <87d75rb6dc.fsf@peakpeak.com>
Message-ID:
Hi, Chris.
Chris Riddoch writes:
> In XEmacs, I'm trying to make a string with a backslash before single
> quote.
When you say "make a string", do you mean "write a string literal", or
"write a function that takes a string as input and returns another (as
output) in which any single-quote has been preceded by a backslash"?
Executive summary: for option 1, use
"can\\'t"
and for option 2, use
(defun backslashify-single-quotes (string)
(replace-in-string string "'" "\\'" t))
You might also investigate whether `shell-quote-argument' meets your needs.
Details below.
> I want the output string to be this: "Can\'t" because the output will be
> passed as a string value to another program (thus needing quoting).
>
> "Can\'t" gives me "Can't", as I'd expect.
>
> "Can\\'t" gives me "Can\\'t", as I really *didn't* expect.
If you're getting the output by executing a string-valued expression
interactively (either with M-: or in the *scratch* buffer), then remember
that what gets printed out is a re-readable representation of the string
itself. This re-readable representation uses the same syntax as an ordinary
string literal.
Within a string literal, a backslash will either disable the usual special
interpretation of the following character, or enable an unusual special
interpretation of it (depending on what the character is). In particular,
note that the string whose literal syntax is "\\" contains a single
backslash character.[1]
How does this apply to what you want to do? If you have a string literal
like "can't", there's nothing tricky, because no backslashes are involved.
A literal like "can\\'t" behaves a little differently. When this gets read,
the reader interprets the double-backslash as a request to put a single
backslash in the string it's building -- the first backslash has escaped the
special meaning of the backslash character. So your string actually
contains _six_ characters:
c a n \ ' t
Similarly, in your first example, "can\'t", the backslash escapes any
special meaning of the single quote character. In this case, there is no
such special meaning, so the effect is the same as omitting the backslash
from the literal entirely.
Does that make sense?
____
1. The full details can be found in the node `String Type' of the XEmacs
info file named lispref (`C-h i m lispref RET g String SPC Type RET', or,
if you're using Debian, `C-h i m xemacs21 RET m lispref RET g String SPC
Type RET'.
--
Aaron Crane
From walter at frii.com Mon Aug 20 12:59:26 2001
From: walter at frii.com (Walter Pienciak)
Date: Mon, 20 Aug 2001 12:59:26 -0600 (MDT)
Subject: [lug] XEmacs quoting madness!
In-Reply-To:
Message-ID:
On 20 Aug 2001, Tkil wrote:
> if you're doing anything with regexps, you have to remember that
> backslashes are special inside emacs' (and most other) regexps. so,
> you want the "true value" to be a doubled backslash -- the backslash
> is the quote/escape character, so you need to quote/escape it to get a
> literal backslash. so you end up doing things like this:
>
> (while (re-search-forward "Can\\\\'t" (point-max) t)
> ...)
>
> just as an aside, this is a place where you really start noticing the
> tradeoffs between regular, consistent, easy-to-parse languages (like
> lisp, python, tcl) and nasty, irregular, special-case-all-over-the-
> place languages (like perl).
Heyyyyyy, Tony . . . I resemble that remark.
Anyway, I dunno if the nasty part refers to Perl regexes (no argument
here -- they can give me headaches to look at, though they are pretty
powerful) or the language's syntax flexibility (feature or a bug, you
decide) to the escaping-from-hell stuff, which I avoid by using the
qq & friends syntax. That is, instead of
print "\"Foo!\""; # prints "Foo!"
I'd use
print qq{"Foo!"}; # prints "Foo!"
If this area is of any interest, it's all covered in the perlop manpage
in the "Quote and Quote-like Operators" section, including some
pattern and regex stuff.
In any case, it's all the fault of those backslashin' maniacs
at Bell Labs and their band of fawning sycophants. Yeah, that's it...
Walter "I say q{Tomato}."
From tromey at redhat.com Mon Aug 20 14:43:05 2001
From: tromey at redhat.com (Tom Tromey)
Date: 20 Aug 2001 14:43:05 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Tkil's message of "20 Aug 2001 12:03:40 -0600"
References: <87d75rb6dc.fsf@peakpeak.com>
Message-ID: <87u1z2h38m.fsf@creche.redhat.com>
>>>>> "Tkil" == Tkil writes:
Tkil> (while (re-search-forward "Can\\\\'t" (point-max) t)
Tkil> ...)
Tkil> just as an aside, this is a place where you really start
Tkil> noticing the tradeoffs between regular, consistent,
Tkil> easy-to-parse languages (like lisp, python, tcl) and nasty,
Tkil> irregular, special-case-all-over-the- place languages (like
Tkil> perl).
I'm no fan of perl syntax! But regular expressions are one place that
Perl made some nicer decisions than Emacs did.
For instance in Perl you simply use `(.|.)' to do submatches with
alternation. In Emacs you must use `\(.\|.\)' -- thus requiring extra
quoting for the backslashes. Worse, Emacs functions like
query-replace-regexp expose this to the user.
Tom
From jafo at tummy.com Mon Aug 20 15:45:18 2001
From: jafo at tummy.com (Sean Reifschneider)
Date: Mon, 20 Aug 2001 15:45:18 -0600
Subject: [lug] software raid
In-Reply-To: <3B807FFD.A21C0712@idcomm.com>; from stimits@idcomm.com on Sun, Aug 19, 2001 at 09:11:57PM -0600
References: <200108200159.VAA24381@vecna.com> <3B807FFD.A21C0712@idcomm.com>
Message-ID: <20010820154518.C13924@tummy.com>
On Sun, Aug 19, 2001 at 09:11:57PM -0600, D. Stimits wrote:
>> > md0 : active raid1 hdc6[1] hda6[0] 80192 blocks [2/2] [UU]
>
>This does seem to imply that md0 exists on the combination of hdc6 and
>hda6. So if it is formatted, you should be able to mount it. Have you
The above is a sample I posted of a working RAID set. The original poster
didn't have this, which implies that they probably don't have RAID
configured.
Sean
--
Tragedy is when I cut my finger. Comedy is when you fall into an open
sewer and die. -- Mel Brooks
Sean Reifschneider, Inimitably Superfluous
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
From tkil at scrye.com Mon Aug 20 15:44:38 2001
From: tkil at scrye.com (Tkil)
Date: 20 Aug 2001 15:44:38 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Tkil's message of "20 Aug 2001 12:03:40 -0600"
References: <87d75rb6dc.fsf@peakpeak.com>
Message-ID:
>>>>> "Tkil" == tkil writes:
Tkil> just as an aside, this is a place where you really start
Tkil> noticing the tradeoffs between regular, consistent,
Tkil> easy-to-parse languages (like lisp, python, tcl) and nasty,
Tkil> irregular, special-case-all-over-the- place languages (like
Tkil> perl).
apparently i didn't include enough smilies. i thought enough people
know i am a perl geek, and thus my comment was ironic (or close to it).
the point i was driving at is a bit more abstract: should we force the
programmer to be closer to the machine (which makes for languages that
are easier for the computer to parse) or should we make allowances for
the programmer (which makes the languages harder for the computer to
parse).
both Tom and Walter make good points. perl goes out of its way to
give the programmer flexibility in quoting, at the cost of being very
hard to parse correctly. emacs goes the other way: by making
everything consistent and (relatively) simple to parse, you make the
programmer work a bit harder, but you gain power by being able to
manipulate the code as data. this distinction bleeds over to context-
sensitive editors trying to indent or do syntax highlighting
correctly; it's much easier to write a pretty printer for lisp than
for perl...
it's a tradeoff, and the wide range of languages shows that there's no
one right answer.
it's particularly touchy with regular expressions embedded within
other languages (be it emacs-lisp or perl). regexps are essentially
a little language with its own quoting rules. when we put this little
language within a larger one, we have to deal with the containing
language's quoting rules as well.
the fact that regexps have dialects (grep, egrep, emacs, perl, etc)
just makes things more interesting. Tom's points about the decisions
made by the different regex packages about what should be quoted is a
good example of the things that change among these dialects. Jeffrey
Friedl's excellent book _Mastering Regular Expressions_ (O'Reilly)
does a fantastic job at discussing all of these issues.
so, in short, my comment about "special cases all over the place" was
not meant to be particularly negative; rather, it was just high-
lighting a trade-off that happened to be exposed by the discussion at
hand.
t.
From tkil at scrye.com Mon Aug 20 15:50:59 2001
From: tkil at scrye.com (Tkil)
Date: 20 Aug 2001 15:50:59 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Tom Tromey's message of "20 Aug 2001 14:43:05 -0600"
References: <87d75rb6dc.fsf@peakpeak.com>
<87u1z2h38m.fsf@creche.redhat.com>
Message-ID:
>>>>> "Tom" == Tom Tromey writes:
Tom> For instance in Perl you simply use `(.|.)' to do submatches with
Tom> alternation. In Emacs you must use `\(.\|.\)' -- thus requiring
Tom> extra quoting for the backslashes. Worse, Emacs functions like
Tom> query-replace-regexp expose this to the user.
hm. well, parentheses are overloaded no matter what: they show up in
code a lot, and they are used for submatches. the user would have to
backwhack them in at least one of these cases; emacs only stands out
because it chose differently from most other implementations.
then again, there's probably some influence from lisp in there --
parens are so common that you want to be able to search for them
easily (especially lisp-ish function calls). not sure if there's any
documented justificiation for this decision, however.
i find that switching between the different "roughly equivalent"
subsets of regex functionality to be not too difficult (egrep, awk,
emacs, perl). i happen to know the perl quoting rules rather better
than those for the other tools, so i tend to rely on perl more often
than not.
there are also some things that perl regexes can do that the others
can't, but i don't use those too often. of these, i do occasionally
use the non-saving grouping operator in perl regexes. this allows you
to have a group for constructing the regexps, but you don't save it
for later use. it's the (?:...) bit; perldoc perlre. i haven't
really found too much of a need for the other extensions, like look-
aheads and such.
t.
From tkil at scrye.com Mon Aug 20 16:01:58 2001
From: tkil at scrye.com (Tkil)
Date: 20 Aug 2001 16:01:58 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Walter Pienciak's message of "Mon, 20 Aug 2001 12:59:26 -0600 (MDT)"
References:
Message-ID:
>>>>> "Walter" == Walter Pienciak writes:
Walter> Anyway, I dunno if the nasty part refers to Perl regexes (no
Walter> argument here -- they can give me headaches to look at, though
Walter> they are pretty powerful) or the language's syntax flexibility
Walter> (feature or a bug, you decide) [...]
i was actually referring to how perl made the decision to have regexps
as "first-class" constructs; compare to the more "regular" languages,
which encode the regexps within strings, with the concomitant double
quoting that started this discussion.
the choice of which characters are "special" within regexps is largely
orthogonal to the question of integration into the larger language;
emacs treats "(", "|", and ")" as normal characters which must be
backslashed to become special; since they are then encoded as strings,
you have the double-quoting issue again.
perl made different choices about special characters, and this happens
to have a double benefit in this case. in most of my searches, i want
to use parens and pipes as special characters, and perl happens to
agree with me there. since i don't have to escape them to use them
the way i like, i don't have to worry about double-quoting.
perl goes further by having a parser that understands regexps as
something other than double-quoted strings (which is what they mostly
otherwise are parsed as, excepting constructs like "m''"!). even if
you do have to escape or special-ize something within a perl regex,
the parser guesses what you're doing, and you only have to backwhack
it once.
either way, i tend to view it mostly as a tradeoff. i don't like all
the decisions made in either case, and both have given me fits at
various times. in the case of emacs, i end up with stuff that looks
like this:
(while (re-search-forward
(concat "^\\\"" ; beginning of line + initial quote
"\\([^\\\"]+\\)" ; software bit
"[\\\",]+" ; intervening commas and quotes
"\\([^\\\"]+\\)" ; description
".*$") ; rest of line.
(point-max) t) ;
(replace-match (concat "part=\\1\n"
" description=\\2\n"))))))
on the flip side, my perl editor (xemacs + cperl) isn't as smart about
regex quoting as perl is, so odd quotes and parens tend to break the
syntax highlighting and automatic indentation. i usually end up just
putting a backslash in front of the offending character, and accept
the minor loss in readability in return for the advantages the
syntax-senstive editor gives me.
t.
From tkil at scrye.com Mon Aug 20 16:17:48 2001
From: tkil at scrye.com (Tkil)
Date: 20 Aug 2001 16:17:48 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Tkil's message of "20 Aug 2001 16:01:58 -0600"
References:
Message-ID:
just by way of comparison... given the emacs snippit in one of my
messages:
| (while (re-search-forward
| (concat "^\\\"" ; beginning of line + initial quote
| "\\([^\\\"]+\\)" ; software bit
| "[\\\",]+" ; intervening commas and quotes
| "\\([^\\\"]+\\)" ; description
| ".*$") ; rest of line.
| (point-max) t) ;
| (replace-match (concat "part=\\1\n"
| " description=\\2\n"))))))
i thought it'd be interesting to do a perl version of it:
| s/^"([^"]+)[",]+([^"]+).*$/part=$1\n description=$2\n/g;
a relatively recent addition to perl allows you to comment a regex
pattern, which is nice:
| s/^" # beginning of line + initial quote
| ([^"]+) # software bit
| [",]+ # intervening commas and quotes
| ([^"]+) # description
| .*$ # rest of line
| /part=$1\n description=$2\n/gx;
this becomes particularly helpful when the patterns get out of
control. here's a snippit from a cheesy HTML parser i wrote (when i
was in a situation where i couldn't install HTML::Parser from CPAN):
| if ($t =~ m{\G
| ( # (whole thing is in $1)
| <([^/]\w*) # start of tag ($2)
| \s*
| ((?: # attribute list ($3)
| (?:[^>\s=]+ # the attribute itself
| (?:\s*=\s* # maybe followed by an equals sign and
| (?:\"[^\"]*\"| # double-quoted, or
| \'[^\']*\'| # single-quoted, or
| [^>\s]+) # plain value
| )? # or maybe not.
| \s* # and a bit of whitespace
| ))*) # we can have 0 or more attributes
| \s*>)}gcx)
lots more fun and loving in "perldoc perlre".
anyway. back to work...
t.
From dajo at frii.com Mon Aug 20 16:55:53 2001
From: dajo at frii.com (David)
Date: Mon, 20 Aug 2001 16:55:53 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: (message from Tkil on 20 Aug 2001
16:17:48 -0600)
References:
Message-ID: <200108202255.f7KMtrx01545@Rednose.Anthrax>
I have found your comments on this subject to be very interesting
(what do you do in your spare time =8-). There are two things that I
should like to mention. First, I think that you have demonstrated
that, if one has to get involved with nuts and bolts like this, then
the syntax does not matter so much, because the subject immersion
required means that one understands what is happening regardless of
the syntax. Although I do accknowledge that, in your examples, the
perl looks easier to read - that is one of the things that I find
interesting.
However, the second point is the important one - you actually write
comments so that there is a clue to what is happening! This might
even count as maintainable code.
dajo
> | (while (re-search-forward
> | (concat "^\\\"" ; beginning of line + initial quote
> | "\\([^\\\"]+\\)" ; software bit
> | "[\\\",]+" ; intervening commas and quotes
> | "\\([^\\\"]+\\)" ; description
> | ".*$") ; rest of line.
> | (point-max) t) ;
> | (replace-match (concat "part=\\1\n"
> | " description=\\2\n"))))))
>
> i thought it'd be interesting to do a perl version of it:
>
> | s/^"([^"]+)[",]+([^"]+).*$/part=$1\n description=$2\n/g;
>
> a relatively recent addition to perl allows you to comment a regex
> pattern, which is nice:
>
> | s/^" # beginning of line + initial quote
> | ([^"]+) # software bit
> | [",]+ # intervening commas and quotes
> | ([^"]+) # description
> | .*$ # rest of line
> | /part=$1\n description=$2\n/gx;
>
> this becomes particularly helpful when the patterns get out of
> control. here's a snippit from a cheesy HTML parser i wrote (when i
> was in a situation where i couldn't install HTML::Parser from CPAN):
>
> | if ($t =~ m{\G
> | ( # (whole thing is in $1)
> | <([^/]\w*) # start of tag ($2)
> | \s*
> | ((?: # attribute list ($3)
> | (?:[^>\s=]+ # the attribute itself
> | (?:\s*=\s* # maybe followed by an equals sign and
> | (?:\"[^\"]*\"| # double-quoted, or
> | \'[^\']*\'| # single-quoted, or
> | [^>\s]+) # plain value
> | )? # or maybe not.
> | \s* # and a bit of whitespace
> | ))*) # we can have 0 or more attributes
> | \s*>)}gcx)
From nunar at iws.net Mon Aug 20 18:35:46 2001
From: nunar at iws.net (Shannon Johnston)
Date: Mon, 20 Aug 2001 18:35:46 -0600 (MDT)
Subject: [lug] Constant Spamming
Message-ID:
Hi All!
I'm wondering if there's a way to get rid of spammers? I'm getting spam
more and more often. I'm running my own mail server (Sendmail 8.11.3).
Does anybody have any ideas?
Shannon
From hugh at vecna.com Mon Aug 20 17:45:37 2001
From: hugh at vecna.com (Hugh Brown)
Date: Mon, 20 Aug 2001 19:45:37 -0400 (EDT)
Subject: [lug] Constant Spamming
In-Reply-To: from "Shannon Johnston" at Aug 20, 2001 06:35:46 PM
Message-ID: <200108202345.TAA02588@vecna.com>
You can block domains that recur via /etc/mail/access (Redhat dists anyway)
Most efforts require a fair amount of effort, sometimes it is easier to
just delete the messages.
Hugh
"Shannon Johnston"
>
> Hi All!
> I'm wondering if there's a way to get rid of spammers? I'm getting spam
> more and more often. I'm running my own mail server (Sendmail 8.11.3).
> Does anybody have any ideas?
>
> Shannon
From dajo at frii.com Mon Aug 20 18:15:09 2001
From: dajo at frii.com (David)
Date: Mon, 20 Aug 2001 18:15:09 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: (message from Tkil on 20 Aug 2001
16:17:48 -0600)
References:
Message-ID: <200108210015.f7L0F9l01606@Rednose.Anthrax>
Well, Tony, you really got me thinking about this regexp stuff. I do
regexps every now and then and so I decided to write your example
using my lisp library of regexp tools just to see what happened. Now
I do not expect you to like this, nobody else does; but I thought you
might find it interesting. For me the advantages are that I do not
have to fight the escaping stuff again (I did it once); and I do not
have to re-learn things that I have forgotten; and the outcome is that
I make far fewer errors.
This is evaluated code from my scratch buffer; yours first. Normally
I do not put in the comments at the ends of the lines; the theory is
that the function names are descriptive enough.
(concat "^\\\"" ; beginning of line + initial quote
"\\([^\\\"]+\\)" ; software bit
"[\\\",]+" ; intervening commas and quotes
"\\([^\\\"]+\\)" ; description
".*$") ; rest of line.
"^\\\"\\([^\\\"]+\\)[\\\",]+\\([^\\\"]+\\).*$"
(concat
;; beginning of line + initial quote
(bas-regcomp-leading-anchor) ; "^"
(bas-lispify-string (bas-codestring-quote)) ; "\\\"" see below
;; software bit
(bas-regcomp-group-open) ; "\\("
(bas-make-character-set (list ; "[^\\\"]"
(bas-regcomp-diy-not)
(bas-regcomp-quote)))
(bas-regcomp-one-or-many) ; "+"
(bas-regcomp-group-close) ; "\\)"
;; intervening commas and quotes
(bas-make-character-set (list ; "[\\\",]"
(bas-regcomp-quote)
(bas-codestring-comma)))
(bas-regcomp-one-or-many) ; "+"
;; description
(bas-regcomp-group-open) ; "\\("
(bas-make-character-set (list ; "[^\\\"]"
(bas-regcomp-diy-not)
(bas-regcomp-quote)))
(bas-regcomp-one-or-many) ; "+"
(bas-regcomp-group-close) ; "\\)"
;; rest of line.
(bas-regcomp-any-character) ; "."
(bas-regcomp-zero-or-many) ; "*"
(bas-regcomp-trailing-anchor) ; "$"
)
"^\\\"\\([^\\\"]+\\)[\\\",]+\\([^\\\"]+\\).*$"
;;; Note that (bas-regcomp-quote) is defined as
;;; (bas-lispify-string (bas-codestring-quote)). Both are used above.
dajo
From tkil at scrye.com Mon Aug 20 18:54:09 2001
From: tkil at scrye.com (Tkil)
Date: 20 Aug 2001 18:54:09 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: David's message of "Mon, 20 Aug 2001 18:15:09 -0600"
References:
<200108210015.f7L0F9l01606@Rednose.Anthrax>
Message-ID:
>>>>> "dajo" == David writes:
dajo> [...] so I decided to write your example using my lisp library
dajo> of regexp tools just to see what happened. Now I do not expect
dajo> you to like this, nobody else does;
ha ha! :)
dajo> but I thought you might find it interesting. For me the
dajo> advantages are that I do not have to fight the escaping stuff
dajo> again (I did it once); and I do not have to re-learn things that
dajo> I have forgotten; and the outcome is that I make far fewer
dajo> errors.
fair enough. i've gone both ways; i end up finding that perl is dense
enough to do what i want without writing another interface layer --
and, for me, writing good interfaces is *hard* -- so i usually do
without.
to put another way, i see the value in your little language -- but
it's *another* language that i'd have to learn. then again, given
that i like perl, the fact that i like the extreme terseness of
regexps is hardly surprising...
dajo> This is evaluated code from my scratch buffer; yours first.
dajo> Normally I do not put in the comments at the ends of the lines;
dajo> the theory is that the function names are descriptive enough.
*nod* a lot of lisp programmers tend that way, and i don't have any
particular quibble with it. i find that my brain works better with
the mostly-procedural format of perl; perl does offer a few, very
powerful, list-processing functions that let me do the occasional
cascade in a lispy style...
| # hooray for schwartzian transforms!
| my @cat_order =
| map { $_->[0] }
| sort { $b->[1] <=> $a->[1] || $a->[0] cmp $b->[0] }
| grep { $_->[1] >= 0 }
| map
| {
| my $ci = $INFO->{category}->{$_};
| my $priority = $ci && $ci->{display} ? $ci->{display}->[0]
| : 0;
| [ $_, $priority ]
| }
| keys %valid_products;
an interesting comparison between lisp and perl solutions to the same
problem. it's cast as a sort of "programming contest" problem; if you
want to try your hand at it, in whatever language you like, don't read
the problem statement (or any of our solutions!) until you have a few
hours free to work on it.:
http://www-aig.jpl.nasa.gov/public/home/gat/ftp/study.txt
my perl solution:
http://slinky.scrye.com/~tkil/perl/phonecode
and a lisp solution:
http://www.norvig.com/java-lisp.html
From tkil at scrye.com Mon Aug 20 23:49:11 2001
From: tkil at scrye.com (Tkil)
Date: 20 Aug 2001 23:49:11 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: David's message of "Mon, 20 Aug 2001 18:15:09 -0600"
References:
<200108210015.f7L0F9l01606@Rednose.Anthrax>
Message-ID:
>>>>> "dajo" == dajo writes:
dajo> (concat
dajo> ;; beginning of line + initial quote
dajo> (bas-regcomp-leading-anchor) ; "^"
dajo> (bas-lispify-string (bas-codestring-quote)) ; "\\\"" see below
dajo> ;; software bit
dajo> (bas-regcomp-group-open) ; "\\("
dajo> (bas-make-character-set (list ; "[^\\\"]"
dajo> (bas-regcomp-diy-not)
dajo> (bas-regcomp-quote)))
dajo> (bas-regcomp-one-or-many) ; "+"
dajo> (bas-regcomp-group-close) ; "\\)"
dajo> ;; intervening commas and quotes
dajo> (bas-make-character-set (list ; "[\\\",]"
dajo> (bas-regcomp-quote)
dajo> (bas-codestring-comma)))
dajo> (bas-regcomp-one-or-many) ; "+"
dajo> ;; description
dajo> (bas-regcomp-group-open) ; "\\("
dajo> (bas-make-character-set (list ; "[^\\\"]"
dajo> (bas-regcomp-diy-not)
dajo> (bas-regcomp-quote)))
dajo> (bas-regcomp-one-or-many) ; "+"
dajo> (bas-regcomp-group-close) ; "\\)"
dajo> ;; rest of line.
dajo> (bas-regcomp-any-character) ; "."
dajo> (bas-regcomp-zero-or-many) ; "*"
dajo> (bas-regcomp-trailing-anchor) ; "$"
dajo> )
letting my mind wander, i see two things i'd change about this.
first, i'd use scoping (let ...) to use shorter names (i like
terseness!). (having full namespaces available would be nice, too;
see below.)
second, i'd use function calls of some sort to handle the groups and
possibly the quantifiers. you already do this for creating charsets;
i'd just suggest extending it for creating groups, and any other
constructs that have to be "balanced". [1] it might also make the
quantifiers a little more "readable", in a way:
| (one-or-more (charset comma quote))
this flipping of the postfix to a prefix notation seems to fit better
for reading code out loud (which, oddly enough, i've often found to be
a good measure of self-documenting code).
sick little monkey: i could even use this idea for a whole-line
matcher. [2] Jeffrey Friedl also talks about standard patterns for
dealing with matched delimiters such as quoted material; this type of
functional building technique should be a near-perfect match for
that.
further magic would make use of macros for this, but my lisp is a bit
too rusty to venture there. i suspect that most of the "mapconcat"
stuff, in particular, could go away.
taken together, this would allow for an interesting representation of
the slightly tree-like nature of this particular regex.
| (defun tkil-re-group (re)
| (concat "\\(" re "\\)"))
|
| (defun tkil-re-charset (&rest chars)
| (concat "[" (mapconcat 'identity chars "") "]"))
|
| (defun tkil-re-inverse-charset (&rest chars)
| (concat "[^" (mapconcat 'identity chars "") "]"))
|
| (defun tkil-re-quantify (re min max)
| (concat re
| (cond ((and (equal min 0) (equal max 1)) "?")
| ((and (equal min 0) (equal max 'infinity)) "*")
| ((and (equal min 1) (equal max 1)) "")
| ((and (equal min 1) (equal max 'infinity)) "+")
| (t (concat "\\{" min "," max "\\}")))))
|
| (defun tkil-re-silly ()
| (interactive)
| (insert
| (let ((quote "\\\"")
| (comma ",")
| (beginning-of-line "^")
| (end-of-line "$")
| (any-char "."))
| (concat beginning-of-line
| quote
| (tkil-re-group
| (tkil-re-quantify
| (tkil-re-inverse-charset quote) 1 'infinity))
| (tkil-re-quantify
| (tkil-re-charset quote comma) 0 'infinity)
| (tkil-re-group
| (tkil-re-quantify
| (tkil-re-inverse-charset quote) 1 'infinity))
| quote
| (tkil-re-quantify any-char 0 'infinity )
| end-of-line))))
if we don't care about namespace pollution, we could strip the
"tkil-re-" off the front of all the functions, and it becomes even
more readable:
| (concat beginning-of-line
| quote
| (group
| (quantify
| (inverse-charset quote) 1 'infinity))
| (quantify
| (charset quote comma) 0 'infinity)
| (group
| (quantify
| (inverse-charset quote) 1 'infinity))
| quote
| (quantify any-char 0 'infinity )
| end-of-line))))
trying to go one step further, i hit an interface problem. i tried to
create:
| (defun tkil-re-match-one-of (&rest res)
| (mapconcat 'identity res "\\|"))
but should it force a grouping? to really match its name, it should;
doing that would lose the one-to-one correspondence between
"tkil-re-group" and submatches that we'd otherwise have. note that
there's a workaround for this in perl: the (?:...)
group-but-don't-save option.
in a related vein, take a look at what Abigail did to generate a
regular expression that matches (a superset of all) URLs. the
background is at:
http://www.foad.org/~abigail/Perl/url2.html
the program is at:
http://www.foad.org/~abigail/Perl/url3.pl
and the actual output is at:
http://www.foad.org/~abigail/Perl/url3.regex
t.
[1] this lets lisp scoping close things properly for you, instead of
relying on the programmer to remember the appropriate closing tag.
as a similar example, the perl CGI.pm module allows you to build
up nested HTML with a similar trick:
$Q->table( { -columns => 2,
-border => 1,
-rules => 'rows' },
$Q->Tr( { -valign => 'top' },
[ map $Q->td($_),
[ $arch_label, $arch_control ],
[ $model_label, $model_control ],
[ $product_label, $product_control ] ] ) ),
i haven't quite managed to get Tr(td([...])) to do what i want it
to, but i think i'm just being dense. also, note that "Tr" is
capitalized oddly because "tr" is a reserved word.
[2] using this idea for matching lines, we add:
| (defun tkil-re-whole-line (&rest res)
| (concat "^" (mapconcat 'identity res "") "$"))
and then change the main building code to be:
| (tkil-re-whole-line
| quote
| (tkil-re-group
| (tkil-re-quantify
| (tkil-re-inverse-charset quote) 1 'infinity))
| (tkil-re-quantify
| (tkil-re-charset quote comma) 0 'infinity)
| (tkil-re-group
| (tkil-re-quantify
| (tkil-re-inverse-charset quote) 1 'infinity))
| quote
| (tkil-re-quantify any-char 0 'infinity ))
From blug-receive at mtbwr.net Tue Aug 21 00:44:09 2001
From: blug-receive at mtbwr.net (Samartha Deva)
Date: Tue, 21 Aug 2001 00:44:09 -0600
Subject: [lug] Constant Spamming
Message-ID: <5.1.0.14.2.20010820225818.00b15878@pop.dnvr.qwest.net>
True - it is a lot of effort initially to get it cleaned up.
This may not be everyone's choice to do, here is what works for me:
The problem is that email addresses are needed to stay in contact with others.
If one email address is used for many important contacts and gets polluted,
one has to either tolerate the spam or change the email address with all
the contacts.
Both options became unacceptable after doing this once.
Filtering did not work for me because important emails got filtered out.
My solution is to reduce the exposure of my email addresses to one contact.
I am using my own email server (postfix) and started creating receive
addresses for every contact I exchange email as virtual (postfix) email
address. Nobody ever gets my real email address. Only throwaway virtual
addresses are given out.
For sending email, I use Eudora which allows me to have something like 100
personalities which I set up with the virtual email address used as "From"
addresses.
For example, this mailing list.
The "from" address I am sending this post to blug, it is a virtual email
address. If it ever gets polluted again, I do the following:
a.) change the one polluted email address to something else
- on blug
- in my personalty in Eudora I am using for lug.
b.) bounce the old address - by forwarding it to an non-existing account
c.) also send it to another account where I can see what is still coming in.
Result:
I get virtually no spam and if I get it, I am in control, can stop it right
away and identify the source.
Experiences:
With Ebay, I am on the third generation of email addresses. Same with a
newsgroup I am posting. Some domain name registrar contact addresses got
harvested also.
With blug, I am on the second generation. Another mailing list address got
harvested too and I am getting spam but have not yet gotten around changing
it. Actually, it is nice to get spam once and a while ;-)
What I cannot eliminate is the email address I have with my ISP and from
there, I get a few a week which I paste into Spamcop right away.
With Yahoo, I got annoyed by the email flag getting raised on the web site.
One _has_ to have one from them when using my.yahoo. It was not possible to
disable the email account. But they have a mailbox size limit of 6 M. Once
can send emails of 1 M and after filling up 900 k over the limit, the email
flag raises maybe once a month.
Samartha
Hi All!
>I'm wondering if there's a way to get rid of spammers? I'm getting spam
>more and more often. I'm running my own mail server (Sendmail 8.11.3).
>Does anybody have any ideas?
>
>Shannon
From maxl at squeep.com Tue Aug 21 04:13:39 2001
From: maxl at squeep.com (Steve T.)
Date: Tue, 21 Aug 2001 04:13:39 -0600
Subject: [lug] Still more XEmacs.
Message-ID: <20010821041338.A469@rocket9>
Yes, more excitement with XEmacs - lots of folks having problems with it lately,
aren't there?
This particular problem comes in several flavours - first, the most disturbing
(which may possibly just be my XEmacs being silly). This would be the fact
that XEmacs completely decides to ignore the site-init.el file, which I placed
in what I thought would be the default location for it (/usr/X11R6/lib/xemacs-21.1.14/lisp/site-init.el), given that a file called site-load.el lives in the
same directory. Surprise surprise, XEmacs loads neither of them on start!
Considering that this is a (supposedly) carefully assembled package for
Slackware, where should these files go?
In any case, I found out about this error while working on something else -
trying to get ilisp (5.11, the latest, I believe) to work in harmony with my
system. I'm attempting to get it to work with a derivitive of CMUCL called
SBCL (version 0.6.12) which is supposedly compatable with CMUCL, something
that ilisp supports quite well. Whenever I invoke run-ilisp, there's
a long pause, and then I get this:
(In buffer *Output* - I assme this is from SBCL itself?)
STYLE-WARNING: redefining ILISP-COMPILE in DEFUN
debugger invoked on condition of type SB-KERNEL:READER-PACKAGE-ERROR:
READER-ERROR at 1428 on #:
package "LISP" not found
Within the debugger, you can type HELP for help. At any command prompt (within
the debugger or not) you can type (SB-EXT:QUIT) to terminate the SBCL
(I can't see any more of this message - see below)
(And in buffer *Warnings-Show*:)
(2) (error/warning) Error in process filter: (error Variable binding depth exce\eds max-specpdl-size)
At this point XEmacs decides to hang, quite happily. I've checked my system
and can find no package that could possibly be this "LISP" package thing -
does anybody know anything about it? I'm assuming it has something to do
with a common SBCL package - does anybody else even use it?
I'd just use CMUCL, but unfortunately, the one site I know of with source and
binaries has been down for a month (the official FTP site at cons.org). If anybody knows of a mirror, I'd be appreciative.
-Steve
--
"Writing about music is like dancing about architecture." - Frank Zappa
"If one studies too zealously, he risks losing his pants." - Einstein
From gsexton at mhsoftware.com Tue Aug 21 07:06:31 2001
From: gsexton at mhsoftware.com (George Sexton)
Date: Tue, 21 Aug 2001 07:06:31 -0600
Subject: [lug] Constant Spamming
In-Reply-To:
Message-ID:
You might want to look at SpamBouncer
http://www.spambouncer.org/
It's basically a great hairy chested procmail script to filter messages. It
basically moves spams into separate folders that you can look over. I have
been using it for around a month and it catches 95% or more. Unfortunately,
it also will catch legitimate stuff so you have to fine tune it using
exception lists.
Still, it's much more complete than attempting to roll your own.
-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of Shannon Johnston
Sent: 20 August, 2001 6:36 PM
To: lug at lug.boulder.co.us
Subject: [lug] Constant Spamming
Hi All!
I'm wondering if there's a way to get rid of spammers? I'm getting spam
more and more often. I'm running my own mail server (Sendmail 8.11.3).
Does anybody have any ideas?
Shannon
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From dradom at redback.com Tue Aug 21 08:12:09 2001
From: dradom at redback.com (dan radom)
Date: Tue, 21 Aug 2001 08:12:09 -0600
Subject: [lug] Constant Spamming
In-Reply-To:
References:
Message-ID: <20010821081209.B881@saturn.enron.net>
here's what i've done. using sendmail's virtusertable i've aliased devnull at domain.com to my user account. when i need to give some web site my email address i use that, which is procmail'd to /dev/null...
:0:
* ^TO_devnull at radom.org
/dev/null
i also use sendmail's access feature to block the messages from persistant idiots...
x10.com "550 Sorry. UCE (SPAM) is not accepted here."
rebuilding the access.db is as easy as...
cd /to/where/access/is; makemap hash access < access
this combo gets most of it, and the rest i just delete.
i hope some of this helps,
dan
* Shannon Johnston (nunar at iws.net) wrote:
> Hi All!
> I'm wondering if there's a way to get rid of spammers? I'm getting spam
> more and more often. I'm running my own mail server (Sendmail 8.11.3).
From gsexton at mhsoftware.com Tue Aug 21 08:34:25 2001
From: gsexton at mhsoftware.com (George Sexton)
Date: Tue, 21 Aug 2001 08:34:25 -0600
Subject: [lug] Constant Spamming
In-Reply-To: <20010821081209.B881@saturn.enron.net>
Message-ID:
You can directly alias to /dev/null
I have an alias (bitbucket at mhsoftware.com) in the aliases file it's just:
bitbucket: /dev/null
-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of dan radom
Sent: 21 August, 2001 8:12 AM
To: lug at lug.boulder.co.us
Subject: Re: [lug] Constant Spamming
here's what i've done. using sendmail's virtusertable i've aliased
devnull at domain.com to my user account. when i need to give some web site my
email address i use that, which is procmail'd to /dev/null...
:0:
* ^TO_devnull at radom.org
/dev/null
i also use sendmail's access feature to block the messages from persistant
idiots...
x10.com "550 Sorry. UCE (SPAM) is not accepted
here."
rebuilding the access.db is as easy as...
cd /to/where/access/is; makemap hash access < access
this combo gets most of it, and the rest i just delete.
i hope some of this helps,
dan
* Shannon Johnston (nunar at iws.net) wrote:
> Hi All!
> I'm wondering if there's a way to get rid of spammers? I'm getting spam
> more and more often. I'm running my own mail server (Sendmail 8.11.3).
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From dradom at redback.com Tue Aug 21 08:40:55 2001
From: dradom at redback.com (dan radom)
Date: Tue, 21 Aug 2001 08:40:55 -0600
Subject: [lug] Constant Spamming
In-Reply-To:
References: <20010821081209.B881@saturn.enron.net>
Message-ID: <20010821084055.C881@saturn.enron.net>
yes. that is true, but i prefer the procmail log format over the traditional maillog...plus i've got some procmail perl scripts that do nifty things with my procmail log.
dan
* George Sexton (gsexton at mhsoftware.com) wrote:
> You can directly alias to /dev/null
From kkinder at tridog.com Tue Aug 21 08:45:58 2001
From: kkinder at tridog.com (Ken Kinder)
Date: Tue, 21 Aug 2001 08:45:58 -0600
Subject: [lug] Constant Spamming
References:
Message-ID: <3B827426.DFEED126@tridog.com>
My system is simple. I get an account at spamcop.net. I have my own
domain, so ken at kenkinder.com is my email address. I forward that
directly to my spamcop account, spamcop filtered the email, then sends
to to another secret account at kenkinder.com, something like
spamfree at kenkinder.com -- that being the pop box I check.
Shannon Johnston wrote:
>
> Hi All!
> I'm wondering if there's a way to get rid of spammers? I'm getting spam
> more and more often. I'm running my own mail server (Sendmail 8.11.3).
> Does anybody have any ideas?
>
> Shannon
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From dradom at redback.com Tue Aug 21 08:55:37 2001
From: dradom at redback.com (dan radom)
Date: Tue, 21 Aug 2001 08:55:37 -0600
Subject: [lug] Constant Spamming
In-Reply-To: <3B827426.DFEED126@tridog.com>
References: <3B827426.DFEED126@tridog.com>
Message-ID: <20010821085537.D881@saturn.enron.net>
the thought of a third party filtering my email scares me. maybe i'm just paraniod. what happens if you get pgp mail? does it pass that through automatically?
* Ken Kinder (kkinder at tridog.com) wrote:
> My system is simple. I get an account at spamcop.net. I have my own
> domain, so ken at kenkinder.com is my email address. I forward that
> directly to my spamcop account, spamcop filtered the email, then sends
> to to another secret account at kenkinder.com, something like
> spamfree at kenkinder.com -- that being the pop box I check.
From kkinder at tridog.com Tue Aug 21 08:58:22 2001
From: kkinder at tridog.com (Ken Kinder)
Date: Tue, 21 Aug 2001 08:58:22 -0600
Subject: [lug] Constant Spamming
References: <3B827426.DFEED126@tridog.com> <20010821085537.D881@saturn.enron.net>
Message-ID: <3B82770E.4F850479@tridog.com>
It doesn't to my knowledge but you can set up a list of trust email
addresses.
It basicly makes spam reporting easy more than it filters. I don't have
the strict filtering rules -- only reported spam is filtered. But, it
does stick a URL in the mail headers I can click on to quicly and easily
report spamification.
dan radom wrote:
>
> the thought of a third party filtering my email scares me. maybe i'm just paraniod. what happens if you get pgp mail? does it pass that through automatically?
>
> * Ken Kinder (kkinder at tridog.com) wrote:
> > My system is simple. I get an account at spamcop.net. I have my own
> > domain, so ken at kenkinder.com is my email address. I forward that
> > directly to my spamcop account, spamcop filtered the email, then sends
> > to to another secret account at kenkinder.com, something like
> > spamfree at kenkinder.com -- that being the pop box I check.
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From ed at telesto-eng.com Tue Aug 21 09:16:56 2001
From: ed at telesto-eng.com (Ed)
Date: 21 Aug 2001 09:16:56 -0600
Subject: [lug] Constant Spamming
In-Reply-To: <5.1.0.14.2.20010820225818.00b15878@pop.dnvr.qwest.net>
References: <5.1.0.14.2.20010820225818.00b15878@pop.dnvr.qwest.net>
Message-ID:
>>>>> "S" == Samartha Deva writes:
S> True - it is a lot of effort initially to get it cleaned up.
S> This may not be everyone's choice to do, here is what works for
S> me:
S> The problem is that email addresses are needed to stay in
S> contact with others.
S> If one email address is used for many important contacts and
S> gets polluted, one has to either tolerate the spam or change
S> the email address with all the contacts.
S> Both options became unacceptable after doing this once.
I use emacs Gnus to read mail. It allows me to split incomming mail
into various groups based on emacs regexps, and then it treats them as
newsgroups.
I have a newsgroup for friends and family, and when I see that it has
something, I go there right away and check it out. My "other" group
ends up with all the mail not already idendified, this is 99% spam. I
check it every few days to see if anything important got in.
This works great and now I don't even worry about my email address
getting out there. Its all painless.
Ed
--
Telesto Engineering - www.telesto-eng.com - Embedded programming consultants.
From caldodge at fpcc.net Tue Aug 21 09:10:39 2001
From: caldodge at fpcc.net (Calvin Dodge)
Date: Tue, 21 Aug 2001 09:10:39 -0600
Subject: [lug] Kingston Switching Hubs
In-Reply-To: <3B82770E.4F850479@tridog.com>; from kkinder@tridog.com on Tue, Aug 21, 2001 at 08:58:22AM -0600
References: <3B827426.DFEED126@tridog.com> <20010821085537.D881@saturn.enron.net> <3B82770E.4F850479@tridog.com>
Message-ID: <20010821091039.A8518@aberdeen.fpcc.net>
I see a number of online stores have a sale on Kingston 10/100 network switches - $90 for a 16-port switch is a typical price.
Does anyone here have experience with this brand of switch? Is it reliable, or is it more like the SMC 10/100 hub at my previous employer? (it would go catatonic every month or so)
Calvin
--
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net
From dradom at redback.com Tue Aug 21 09:22:43 2001
From: dradom at redback.com (dan radom)
Date: Tue, 21 Aug 2001 09:22:43 -0600
Subject: [lug] sh and expect
Message-ID: <20010821092243.E881@saturn.enron.net>
I've written a few scripts for a customer that run from cron and backup Redback Networks SMS product configuration files to a tftp server up to 5 times a day, and I'm not really happy with the they run. I'm looking for suggestions, and my ultimate goal is for both sh and expect commands to live in one single file. Here's what I've got so far...
...
cat sms-hosts
xxx.xxx.xxx.001
xxx.xxx.xxx.002
and so on
...
cat redback-multihost-tftp.backup
#!/bin/sh
TARGET=/tftpboot/backup-config
for x in `cat /SCRIPTS-REDBACK/sms-hosts`
do
FILE=$TARGET/sms-$x-`date '+%Y-%m-%d'`
if [ -f $FILE ]; then
mv $FILE.4 $FILE.5
mv $FILE.3 $FILE.4
mv $FILE.2 $FILE.3
mv $FILE.1 $FILE.2
mv $FILE.0 $FILE.1
mv $FILE $FILE.0
fi
touch $FILE
chmod 666 $FILE
done
for x in `cat /SCRIPTS-REDBACK/sms-hosts`
do
exec redback-multihost-tftp.exp $x `date '+%Y-%m-%d'` &
done
...
cat redback-multihost-tftp.exp
#!/usr/local/bin/expect
#
spawn telnet [lindex $argv 0]
expect "Username:"
send "user\@local\r"
sleep 1
expect "assword:"
send "passhere\r"
sleep 1
expect ">"
send "enable\r"
sleep 1
expect "assword:"
send "passhere\r"
sleep 1
expect ">"
send "save conf tftp://xxx.xxx.xxx.xxx/backup-config/sms-[lindex $argv 0]-[lindex $argv 1]\r"
expect ">"
sleep 1
send "exit\r"
The scripts function as expected, but I would rather not have to use 3 files to accomplish this. The sms-hosts file can be easily done away with, but I'm not sure on how to run the expect commands from a #!/bin/sh script. Any thoughts or suggestions?
Dan
From James_Harris at maxtor.com Tue Aug 21 09:34:47 2001
From: James_Harris at maxtor.com (Harris, James)
Date: Tue, 21 Aug 2001 09:34:47 -0600
Subject: [lug] software raid
Message-ID: <85B5853D4393D5118BAE009027DE2A6CD760@mcoexc05.mlm.maxtor.com>
The personalities line does indicate that RAID is setup, but, as Sean had
said, if you have proc/mdstat, you have software RAID support in the kernel.
Software RAID is composed of two major pieces, the low level RAID support in
the kernel (can not be built as a module), and then each level of RAID or,
"personalities". These personalities are the RAID levels 0,1,4,5, and
hybrids. Each personality can be compiled into the kernel directly, or it
can be built as a module.
For example, if you want to boot your system off of a mirror, then you'll
need to compile the raid1 personality directly into the kernel (this may
vary by distro and version of RAID, i.e. you can do it using an image and a
module, but in my opinion it's still not truly a redundant disk system when
you do it that way.) This allows you to boot the root off the mirror set
directly without having to go through the hoops of old. Anyway, then if you
wanted to have a large raid5 for data, you could compile the raid5
personality as a module instead of directly into the kernel, allowing you to
load the module before mounting the array without having to take up kernel
space.
If you're looking for more information the Software RAID How-TO is very
cool. I find it very concise and easy to grasp onto. I'd highly recommend
checking it out. Unfortunately either linuxdoc.org is down, or our link is
cranky, so I can't give you a link directly to the doc, but you know where
to find it. ;)
Jim
-----Original Message-----
From: Hugh Brown [mailto:hugh at vecna.com]
Sent: Sunday, August 19, 2001 19:59
To: lug at lug.boulder.co.us
Subject: Re: [lug] software raid
So does the Personalities line just mean that the kernel is capable of
dealing with raid if I wanted to set it up?
Hugh
"Sean Reifschneider"
>
> On Sat, Aug 18, 2001 at 12:16:10PM -0400, Hugh Brown wrote:
> >cat /proc/mdstat gives
>
> If software RAID is active, /proc/mdstat will show the drives you have set
> up:
>
> Personalities : [raid1]
> read_ahead 1024 sectors
> md0 : active raid1 hdc6[1] hda6[0] 80192 blocks [2/2] [UU]
> md1 : active raid1 hdc1[1] hda1[0] 2048192 blocks [2/2] [UU]
> md2 : active raid1 hdc5[1] hda5[0] 264960 blocks [2/2] [UU]
> md3 : active raid1 hdc7[1] hda7[0] 17647296 blocks [2/2] [UU]
> unused devices:
>
> In this case there are 4 RAID1 partitions set up.
>
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From sanders at MontanaLinux.Org Tue Aug 21 09:40:14 2001
From: sanders at MontanaLinux.Org (Warren Sanders)
Date: Tue, 21 Aug 2001 09:40:14 -0600 (MDT)
Subject: [lug] Kingston Switching Hubs
In-Reply-To: <20010821091039.A8518@aberdeen.fpcc.net>
Message-ID:
On Tue, 21 Aug 2001, Calvin Dodge wrote:
> Date: Tue, 21 Aug 2001 09:10:39 -0600
> From: Calvin Dodge
> Reply-To: lug at lug.boulder.co.us
> To: lug at lug.boulder.co.us
> Subject: [lug] Kingston Switching Hubs
>
> I see a number of online stores have a sale on Kingston 10/100 network switches - $90 for a 16-port switch is a typical price.
>
> Does anyone here have experience with this brand of switch? Is it reliable, or is it more like the SMC 10/100 hub at my previous employer? (it would go catatonic every month or so)
Gee I hope the SMCs (16 port switch) we just got for $200 each don't do
that!
>
> Calvin
>
--
Warren Sanders
http://MontanaLinux.Org
From hugh at vecna.com Tue Aug 21 09:54:28 2001
From: hugh at vecna.com (Hugh Brown)
Date: Tue, 21 Aug 2001 11:54:28 -0400 (EDT)
Subject: [lug] software raid
In-Reply-To: from "Harris, James" at Aug 21, 2001 09:34:47 AM
Message-ID: <200108211554.LAA09378@vecna.com>
Thanks for the info. The description of personalities was lacking in the
Software RAID how to (or I am blind, which is entirely possible). I
actually read the manual before asking this time. :)
Thanks again for the description of the process.
Hugh
"Harris, James"
>
> The personalities line does indicate that RAID is setup, but, as Sean had
> said, if you have proc/mdstat, you have software RAID support in the kernel.
>
> Software RAID is composed of two major pieces, the low level RAID support in
> the kernel (can not be built as a module), and then each level of RAID or,
> "personalities". These personalities are the RAID levels 0,1,4,5, and
> hybrids. Each personality can be compiled into the kernel directly, or it
> can be built as a module.
>
> For example, if you want to boot your system off of a mirror, then you'll
> need to compile the raid1 personality directly into the kernel (this may
> vary by distro and version of RAID, i.e. you can do it using an image and a
> module, but in my opinion it's still not truly a redundant disk system when
> you do it that way.) This allows you to boot the root off the mirror set
> directly without having to go through the hoops of old. Anyway, then if you
> wanted to have a large raid5 for data, you could compile the raid5
> personality as a module instead of directly into the kernel, allowing you to
> load the module before mounting the array without having to take up kernel
> space.
>
> If you're looking for more information the Software RAID How-TO is very
> cool. I find it very concise and easy to grasp onto. I'd highly recommend
> checking it out. Unfortunately either linuxdoc.org is down, or our link is
> cranky, so I can't give you a link directly to the doc, but you know where
> to find it. ;)
>
> Jim
From caldodge at fpcc.net Tue Aug 21 10:38:41 2001
From: caldodge at fpcc.net (Calvin Dodge)
Date: Tue, 21 Aug 2001 10:38:41 -0600
Subject: [lug] Kingston Switching Hubs
In-Reply-To: ; from sanders@MontanaLinux.Org on Tue, Aug 21, 2001 at 09:40:14AM -0600
References: <20010821091039.A8518@aberdeen.fpcc.net>
Message-ID: <20010821103841.A8710@aberdeen.fpcc.net>
A minor correction ...
I've defamed the good name of SMC. The problem we had was with a _Linksys_ hub.
We _did_ have an SMC 10-mbit hub die when a component blew (leaving a fine spray of carbon on the circuit board), but that may have been a reaction to a major power surge.
Calvin
--
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net
From dajo at frii.com Tue Aug 21 10:54:15 2001
From: dajo at frii.com (David)
Date: Tue, 21 Aug 2001 10:54:15 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: (message from Tkil on 20 Aug 2001
23:49:11 -0600)
References:
<200108210015.f7L0F9l01606@Rednose.Anthrax>
Message-ID: <200108211654.f7LGsF101378@Rednose.Anthrax>
> letting my mind wander, i see two things i'd change about this.
> first, i'd use scoping (let ...) to use shorter names (i like
> terseness!). (having full namespaces available would be nice, too;
> see below.)
>
> second, i'd use function calls of some sort to handle the groups and
> possibly the quantifiers. you already do this for creating charsets;
> i'd just suggest extending it for creating groups, and any other
> constructs that have to be "balanced". [1] it might also make the
> quantifiers a little more "readable", in a way:
I agree with a lot of what you write, I need to re-read the rest to
understand it. In fact I do the things above to some degree already.
If you (and this is open to others on the list) would like to pursue
the design and implementation of a regexp package for emacs (maybe it
could become language independent) then I would be interested in
taking part. I am sure that we disagree enough to push a boundary or
two.
* we need to get off this list
* we need to be sure that it has not been done already
* no time pressure - it must be done as is convenient
* it will be a sizable task:
> and, for me, writing good interfaces is *hard* ...
* first task: specify objective and scope ...
dajo
From dajo at frii.com Tue Aug 21 11:15:50 2001
From: dajo at frii.com (David)
Date: Tue, 21 Aug 2001 11:15:50 -0600
Subject: [lug] Still more XEmacs.
In-Reply-To: <20010821041338.A469@rocket9> (maxl@squeep.com)
References: <20010821041338.A469@rocket9>
Message-ID: <200108211715.f7LHFoX01402@Rednose.Anthrax>
> Yes, more excitement with XEmacs - lots of folks having problems with it lately,
> aren't there?
yes they are. But it should be noted that in two recent cases one
turned out to be a keyboard mapping problem in a Linux distribution;
and the other was a case of someone not understanding the intricacies
and difficulties with hosting regular expressions.
I use GNU emacs, and never have used xemacs; but with that caveat:
> This particular problem comes in several flavours - first, the most disturbing
> (which may possibly just be my XEmacs being silly). This would be the fact
> that XEmacs completely decides to ignore the site-init.el file, which I placed
> in what I thought would be the default location for it (/usr/X11R6/lib/xemacs-21.1.14/lisp/site-init.el), given that a file called site-load.el lives in the
> same directory. Surprise surprise, XEmacs loads neither of them on start!
> Considering that this is a (supposedly) carefully assembled package for
> Slackware, where should these files go?
I put something in site-lisp a few weeks ago with the same nothing
result. It turned out I had used the wrong directory. I forget the
rest, but you might investigate you machine from that point of view.
Here is what I get.
Rednose root /usr find . -name site-lisp -print
./local/share/emacs/20.7/site-lisp
./local/share/emacs/site-lisp
./share/emacs/site-lisp
It happens that I have been caught by the cons.org site being down,
too. I have been unable to get ilisp and cmucl. Fortunately, I am
able to use another distribution, although still I am lacking ilisp.
> READER-ERROR at 1428 on # for "file \"/usr/X11R6/lib/xemacs/xemacs-packages/l\isp/ilisp/cmulisp.lisp\""
> {9196EDD}>:
> package "LISP" not found
have you looked in the file to see what you can glean?
> (2) (error/warning) Error in process filter: (error Variable binding depth exce\eds max-specpdl-size)
this looks to be an emacs message, as a rule this indicates a problem
causing a run-away; but it can mean heavy duty processing.
User Option Information
max-specpdl-size
*Limit on number of Lisp variable bindings & unwind-protects.
If Lisp code tries to make more than this many at once,
an error is signaled.
value: 1000
Try increasing the value of max-specpdl-size with
(setq max-specpdl-size 10000)
From stimits at idcomm.com Tue Aug 21 11:28:13 2001
From: stimits at idcomm.com (D. Stimits)
Date: Tue, 21 Aug 2001 11:28:13 -0600
Subject: [lug] portable md5 function?
Message-ID: <3B829A2D.2E24E82F@idcomm.com>
I'm trying to find out if there is now a semi-portable (at least among
linux machines, probably UNIX in general) md5 sum function call
available. The original crypt() one-way hash does not use md5, but most
of the linux distro's now use md5 (or make it available) for passwords.
Is this possibly built into the libpam library? I'm trying to find a C
function call to do this, without invoking a "system()" call.
D. Stimits, stimits at idcomm.com
From gsexton at mhsoftware.com Tue Aug 21 11:38:20 2001
From: gsexton at mhsoftware.com (George Sexton)
Date: Tue, 21 Aug 2001 11:38:20 -0600
Subject: [lug] portable md5 function?
In-Reply-To: <3B829A2D.2E24E82F@idcomm.com>
Message-ID:
This is probably overkill, but I am sure that OpenSSL has MD5 functions
built in.
-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of D. Stimits
Sent: 21 August, 2001 11:28 AM
To: BLUG
Subject: [lug] portable md5 function?
I'm trying to find out if there is now a semi-portable (at least among
linux machines, probably UNIX in general) md5 sum function call
available. The original crypt() one-way hash does not use md5, but most
of the linux distro's now use md5 (or make it available) for passwords.
Is this possibly built into the libpam library? I'm trying to find a C
function call to do this, without invoking a "system()" call.
D. Stimits, stimits at idcomm.com
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From herod at interact-tv.com Tue Aug 21 11:57:18 2001
From: herod at interact-tv.com (Scott A. Herod)
Date: Tue, 21 Aug 2001 11:57:18 -0600
Subject: [lug] world-readable ifcfg-eth0
Message-ID: <3B82A0FE.2710F3CB@interact-tv.com>
Hello,
Is there any reason to keep ifcfg-eth0 from being world readable?
I'm working on a UI to set networking parameters and will use setuid
to set the data but was hoping to simply read data from the file when
pre-populating the form.
Scott
From rotering at animalcules.com Tue Aug 21 12:08:07 2001
From: rotering at animalcules.com (rotering at animalcules.com)
Date: Tue, 21 Aug 2001 12:08:07 -0600
Subject: [lug] portable md5 function?
In-Reply-To: <3B829A2D.2E24E82F@idcomm.com>; from stimits@idcomm.com on Tue, Aug 21, 2001 at 11:28:13AM -0600
References: <3B829A2D.2E24E82F@idcomm.com>
Message-ID: <20010821120807.A3874@amoeba>
On Tue, Aug 21, 2001 at 11:28:13AM -0600, D. Stimits wrote:
> I'm trying to find out if there is now a semi-portable (at least among
> linux machines, probably UNIX in general) md5 sum function call
> available.
OpenSSL (as of 0.9.6a) contains functions to compute several different
message digests, including md5.
The driver for /dev/random (/usr/src/linux/drivers/char/random.c) also
contains a commonly-available implementation of MD5.
Depending on your personal boredom quotient, implementing MD5 from RFC
1321 without peeking at existing implementations is fun. I did this
for a napster client I was working on (before Napster went effectively
Tango Utah) and learned a lot about bitwise operators and how to write
bad preprocessor macros (I stopped when I produced valid checksums for
files >= 516 bytes assuming I'd never see an mp3 file smaller than
that). It's only about 225 lines and it's not rocket science, so
rolling your own is an option if you're not willing to use the PD
implementations out there.
From tkil at scrye.com Tue Aug 21 12:10:54 2001
From: tkil at scrye.com (Tkil)
Date: 21 Aug 2001 12:10:54 -0600
Subject: [lug] Still more XEmacs.
In-Reply-To: "Steve T."'s message of "Tue, 21 Aug 2001 04:13:39 -0600"
References: <20010821041338.A469@rocket9>
Message-ID:
>>>>> "Steve" == Steve T writes:
Steve> XEmacs completely decides to ignore the site-init.el file,
Steve> which I placed in what I thought would be the default location
Steve> for it (/usr/X11R6/lib/xemacs-21.1.14/lisp/site-init.el), given
Steve> that a file called site-load.el lives in the same directory.
Steve> Surprise surprise, XEmacs loads neither of them on start!
Steve> Considering that this is a (supposedly) carefully assembled
Steve> package for Slackware, where should these files go?
on kevin's box (redhat 7.1):
| $ find /usr -name 'site-*.el' -print
| /usr/share/emacs/site-lisp/site-start.el
| /usr/share/xemacs-21.1.14/lisp/site-load.el
| /usr/share/xemacs-21.1.14/lisp/site-start.el
where did you get that X11R6 bit? oh, that's probably where slackware
puts it ... silly, since (despite its name) xemacs isn't dependent on
X Windows.
as for documentation on where to look, the lispref info file describes
it in the node "(lispref)Start-up Summary". they refer to loading
libraries, which seems to imply that it looks through your load-path.
you could also go outside of xemacs. strace the xemacs startup and
see what files it looks at.
Steve> I'd just use CMUCL, but unfortunately, the one site I know of
Steve> with source and binaries has been down for a month (the
Steve> official FTP site at cons.org). If anybody knows of a mirror,
Steve> I'd be appreciative.
well, the web site at cons.org seems to be up. i did a google search
for "cmucl ilisp mirror download" and it returned www.laas.fr, but
then it redirected me to cons.org -- and it came up. then again, i'm
behind a caching proxy, so it might just have a very old copy. no, it
just worked fine. is it just the FTP side that is broken?
t.
From tromey at redhat.com Tue Aug 21 12:44:50 2001
From: tromey at redhat.com (Tom Tromey)
Date: 21 Aug 2001 12:44:50 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: Tkil's message of "20 Aug 2001 15:44:38 -0600"
References: <87d75rb6dc.fsf@peakpeak.com>
Message-ID: <877kvxs15p.fsf@creche.redhat.com>
>>>>> "Tkil" == Tkil writes:
Tkil> it's particularly touchy with regular expressions embedded within
Tkil> other languages (be it emacs-lisp or perl). regexps are essentially
Tkil> a little language with its own quoting rules. when we put this little
Tkil> language within a larger one, we have to deal with the containing
Tkil> language's quoting rules as well.
I've heard that in Guile they've considered introducing a more schemey
regexp syntax, perhaps something like David's.
Back when I was interested in Guile, I lobbied for regular expressions
to be treated like ordinary scheme procedures. That is, you would
compile a regular expression, and the object you got back would be an
ordinary scheme function. You'd never have to apply a regular
expression with something like Emacs' string-match.
That is, instead of:
(let ((compiled (regexp-compile "^.*$")))
(string-match compiled "foo"))
you would just write something like:
(let ((compiled (regexp-compile "^.*$")))
(compiled "foo"))
The observation here is that a compiled regular expression is just a
certain sort of closure.
This becomes even more obvious if you use a more scheme-like syntax
for the expression itself.
The Guile guys didn't like this though. They thought it was "too cute".
I still think it is the scheme way though :-)
Tom
From tdet at sec.noaa.gov Tue Aug 21 12:12:19 2001
From: tdet at sec.noaa.gov (Thomas R. Detman)
Date: Tue, 21 Aug 2001 12:12:19 -0600
Subject: [lug] Re: portable md5 function?
References:
Message-ID: <3B82A483.2D93847D@sec.noaa.gov>
My Red Hat (KRUD 7.0) system contains '/usr/bin/md5sum', but the
date on it is Aug 30 2000, so I think it may have been part of
KRUD 6.2+. Anyway, if I type 'md5sum /usr/bin/md5sum', it says:
'e0bf91d478e6ecf512922c91544a74ba /usr/bin/md5sum', is that
what you're looking for?
From tkil at scrye.com Tue Aug 21 12:13:57 2001
From: tkil at scrye.com (Tkil)
Date: 21 Aug 2001 12:13:57 -0600
Subject: [lug] portable md5 function?
In-Reply-To: "D. Stimits"'s message of "Tue, 21 Aug 2001 11:28:13 -0600"
References: <3B829A2D.2E24E82F@idcomm.com>
Message-ID:
>>>>> "DS" == D Stimits writes:
DS> I'm trying to find out if there is now a semi-portable (at least
DS> among linux machines, probably UNIX in general) md5 sum function
DS> call available.
depending on what you're using these for, the perl MD5 module might be
helpful. i'm not sure how much extra magic you have to add to do
hashes the same way that the PAM stuff does, tho.
t.
From ramsay at euclid.Colorado.EDU Tue Aug 21 12:17:36 2001
From: ramsay at euclid.Colorado.EDU (Arlan Ramsay)
Date: Tue, 21 Aug 2001 12:17:36 -0600 (MDT)
Subject: [lug] RedHat 7.1 installation
Message-ID:
I wanted to install it in order to get an easy firewall. The
installation seemed to go smoothly. That program had no problems
with its graphics displays. I was going to use Gnome. I have
tried a text login and then run startx, and also a graphics login.
Both ways give me one screen with a small terminal window, no pager.
I don't know what window manager it is, but evidently not sawfish
or fvwmx, twm, or any others I recognize.
The second (or third) time I installed it, I was careful to specify
the exact video card (Diamond Stealth 3D 2000) and monitor (Viewsonic
A70). These were working just fine under the RH6.0 or 6.2 that I had
before.
It seems unlikely but possible that my video card has a flaw. What
else? All advice gratefully recieved. This is on my home machine.
Arlan Ramsay
*****************************************************************
Arlan Ramsay
Department of Mathematics
395 UCB
University of Colorado, Boulder
Telephone 303-492-7148
Fax 303-492-7707
ramsay at euclid.colorado.edu
From sanders at MontanaLinux.Org Tue Aug 21 12:37:00 2001
From: sanders at MontanaLinux.Org (Warren Sanders)
Date: Tue, 21 Aug 2001 12:37:00 -0600 (MDT)
Subject: [lug] RedHat 7.1 installation
In-Reply-To:
Message-ID:
On Tue, 21 Aug 2001, Arlan Ramsay wrote:
> Date: Tue, 21 Aug 2001 12:17:36 -0600 (MDT)
> From: Arlan Ramsay
> Reply-To: lug at lug.boulder.co.us
> To: Boulder Linux Users Group
> Subject: [lug] RedHat 7.1 installation
>
>
> I wanted to install it in order to get an easy firewall. The
> installation seemed to go smoothly. That program had no problems
> with its graphics displays. I was going to use Gnome. I have
> tried a text login and then run startx, and also a graphics login.
> Both ways give me one screen with a small terminal window, no pager.
> I don't know what window manager it is, but evidently not sawfish
> or fvwmx, twm, or any others I recognize.
>
> The second (or third) time I installed it, I was careful to specify
> the exact video card (Diamond Stealth 3D 2000) and monitor (Viewsonic
> A70). These were working just fine under the RH6.0 or 6.2 that I had
> before.
>
> It seems unlikely but possible that my video card has a flaw. What
> else? All advice gratefully recieved. This is on my home machine.
>
> Arlan Ramsay
>
> *****************************************************************
> Arlan Ramsay
> Department of Mathematics
> 395 UCB
> University of Colorado, Boulder
> Telephone 303-492-7148
> Fax 303-492-7707
> ramsay at euclid.colorado.edu
>
After installing, I had tried out different Window Managers. There was
one that simply did nothing and showed nothing. Seems it was Sawfish~
Anyway it may have been the set default window manager possibly?
Check the archives from past couple weeks; there was a console command to
set the default wm
--
Warren Sanders
http://MontanaLinux.Org
From tkil at scrye.com Tue Aug 21 12:36:13 2001
From: tkil at scrye.com (Tkil)
Date: 21 Aug 2001 12:36:13 -0600
Subject: [lug] XEmacs quoting madness!
In-Reply-To: David's message of "Tue, 21 Aug 2001 10:54:15 -0600"
References:
<200108210015.f7L0F9l01606@Rednose.Anthrax>
<200108211654.f7LGsF101378@Rednose.Anthrax>
Message-ID:
>>>>> "dajo" == dajo writes:
dajo> I agree with a lot of what you write, I need to re-read the rest
dajo> to understand it. In fact I do the things above to some degree
dajo> already.
dajo> If you (and this is open to others on the list) would like to
dajo> pursue the design and implementation of a regexp package for
dajo> emacs (maybe it could become language independent) then I would
dajo> be interested in taking part.
i think that you're discussing writing a regex-generating package,
yes? that's a bit different from saying "regex package", which tends
to imply (at least to my ears) that you're implementing a regex
engine.
i'd probably not be interested in such a package, for the simple
reason that i don't think i could improve over the fundamental regex
syntax. (it might also be that i'm sufficiently immersed that i think
even wretched syntax is as good as it gets, since i do understand it.)
in cases where i need more help assembling regexps, the languages i
use offer lightweight support for doing so. admittedly, there's a
small amount of code duplication that goes on here; if i used it
often, i'd consider packaging it. but that's the trick: i don't use
it often enough to allocate neurons to learning yet another regex
dialect.
on the other hand, it might be useful for "translating" regexps from
one dialect to another; as Tom points out, there's the completely
equivalent forms of "(", "|", and ")" that are just written
differently in perl or emacs regexps.
then again, how do you translate features from one engine to one that
doesn't support those features? i'm thinking of the perl extensions:
non-saving groups, non-greedy quantifiers, limited case
(in)sensitivity, etc.
i don't think there's anything wrong with the idea, really; note that
i used "i" everywhere above, because i'm aware that this is all my
opinion.
dajo> I am sure that we disagree enough to push a boundary or two.
a most diplomatic way of phrasing it. :)
anyway. i don't think i'm interested in spending much time on this,
but i'd be curious to see what you come up with if you do go down this
path.
in a similar vein, there are a few "sql query builders" available for
perl; i find that they're generally more annoying to use than raw SQL,
but they probably would have saved me much time when i migrated from
informix to oracle -- the thought of being able to just mark a table
as "outer", without having to change all the conditions in a join, is
a nice one. again, though, we have the feature mismatch: temp tables
are managed very differently between these two databases, and outer
joins can be finer-grained in oracle than in informix. *shrug*
t.
From dajo at frii.com Tue Aug 21 13:24:04 2001
From: dajo at frii.com (David)
Date: Tue, 21 Aug 2001 13:24:04 -0600
Subject: [lug] Still more XEmacs.
In-Reply-To: (message from Tkil on 21 Aug 2001
12:10:54 -0600)
References: <20010821041338.A469@rocket9>
Message-ID: <200108211924.f7LJO4G01611@Rednose.Anthrax>
> well, the web site at cons.org seems to be up. i did a google search
Neither of us wrote the whole truth =(8-o - cons.org is up, and has
been for the whole time that I have been trying to get ilisp.
However, ilisp.cons.org is down, other sub-sites as well I think.
dajo
From maxl at squeep.com Tue Aug 21 13:32:08 2001
From: maxl at squeep.com (Steve T.)
Date: Tue, 21 Aug 2001 13:32:08 -0600
Subject: [lug] Still more XEmacs.
In-Reply-To: <200108211715.f7LHFoX01402@Rednose.Anthrax>; from dajo@frii.com on Tue, Aug 21, 2001 at 11:15:50AM -0600
References: <20010821041338.A469@rocket9> <200108211715.f7LHFoX01402@Rednose.Anthrax>
Message-ID: <20010821133208.A356@rocket9>
On Tue, Aug 21, 2001 at 11:15:50AM -0600, David wrote:
>
> It happens that I have been caught by the cons.org site being down,
> too. I have been unable to get ilisp and cmucl. Fortunately, I am
> able to use another distribution, although still I am lacking ilisp.
I believe that ilisp does actually have a mirror, listed on freshmeat;
CMUCL is still unavailable, but the branch of it that I'm using (SBCL) is
actually pretty good - you can get it from http://sbcl.sourceforge.net.
> User Option Information
> max-specpdl-size
>
> *Limit on number of Lisp variable bindings & unwind-protects.
> If Lisp code tries to make more than this many at once,
> an error is signaled.
>
> value: 1000
>
> Try increasing the value of max-specpdl-size with
> (setq max-specpdl-size 10000)
Actually, this problem was fixed in a much simpler way - by realizing that
ilisp had support for SBCL under a name that wasn't listed anywhere in the
documentation.
- Steve
--
"Writing about music is like dancing about architecture." - Frank Zappa
"If one studies too zealously, he risks losing his pants." - Einstein
From maxl at squeep.com Tue Aug 21 13:41:52 2001
From: maxl at squeep.com (Steve T.)
Date: Tue, 21 Aug 2001 13:41:52 -0600
Subject: [lug] Still more XEmacs.
In-Reply-To: ; from tkil@scrye.com on Tue, Aug 21, 2001 at 12:10:54PM -0600
References: <20010821041338.A469@rocket9>
Message-ID: <20010821134152.B356@rocket9>
On Tue, Aug 21, 2001 at 12:10:54PM -0600, Tkil wrote:
> >>>>> "Steve" == Steve T writes:
>
> Steve> XEmacs completely decides to ignore the site-init.el file,
> Steve> which I placed in what I thought would be the default location
> Steve> for it (/usr/X11R6/lib/xemacs-21.1.14/lisp/site-init.el), given
> Steve> that a file called site-load.el lives in the same directory.
> Steve> Surprise surprise, XEmacs loads neither of them on start!
> Steve> Considering that this is a (supposedly) carefully assembled
> Steve> package for Slackware, where should these files go?
>
> where did you get that X11R6 bit? oh, that's probably where slackware
> puts it ... silly, since (despite its name) xemacs isn't dependent on
> X Windows.
I did find that pretty weird, but that seems sort of standard for Slackware.
> as for documentation on where to look, the lispref info file describes
> it in the node "(lispref)Start-up Summary". they refer to loading
> libraries, which seems to imply that it looks through your load-path.
>
> you could also go outside of xemacs. strace the xemacs startup and
> see what files it looks at.
Thanks. Hopefully I can solve the problem going off of just that now.
> Steve> I'd just use CMUCL, but unfortunately, the one site I know of
> Steve> with source and binaries has been down for a month (the
> Steve> official FTP site at cons.org). If anybody knows of a mirror,
> Steve> I'd be appreciative.
>
> well, the web site at cons.org seems to be up. i did a google search
> for "cmucl ilisp mirror download" and it returned www.laas.fr, but
> then it redirected me to cons.org -- and it came up. then again, i'm
> behind a caching proxy, so it might just have a very old copy. no, it
> just worked fine. is it just the FTP side that is broken?
It is, indeed, just the FTP. Although cons.org seems to have been abandoned
since around late last month.
-Steve
--
"Writing about music is like dancing about architecture." - Frank Zappa
"If one studies too zealously, he risks losing his pants." - Einstein
From stimits at idcomm.com Tue Aug 21 14:30:38 2001
From: stimits at idcomm.com (D. Stimits)
Date: Tue, 21 Aug 2001 14:30:38 -0600
Subject: [lug] RedHat 7.1 installation
References:
Message-ID: <3B82C4EE.8B34A042@idcomm.com>
Arlan Ramsay wrote:
>
> I wanted to install it in order to get an easy firewall. The
> installation seemed to go smoothly. That program had no problems
> with its graphics displays. I was going to use Gnome. I have
> tried a text login and then run startx, and also a graphics login.
> Both ways give me one screen with a small terminal window, no pager.
> I don't know what window manager it is, but evidently not sawfish
> or fvwmx, twm, or any others I recognize.
>
> The second (or third) time I installed it, I was careful to specify
> the exact video card (Diamond Stealth 3D 2000) and monitor (Viewsonic
> A70). These were working just fine under the RH6.0 or 6.2 that I had
> before.
>
> It seems unlikely but possible that my video card has a flaw. What
> else? All advice gratefully recieved. This is on my home machine.
Check the log in /var/log/. Should be something like file name
XFree86.0.log, which will give you more information if you look for
anything that noted failure. The item of failure may not be what you
expected, because sometimes a seemingly unrelated detail is depended on
by the more obvious failure, which itself might not even be noted.
D. Stimits, stimits at idcomm.com
>
> Arlan Ramsay
>
> *****************************************************************
> Arlan Ramsay
> Department of Mathematics
> 395 UCB
> University of Colorado, Boulder
> Telephone 303-492-7148
> Fax 303-492-7707
> ramsay at euclid.colorado.edu
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From dajo at frii.com Tue Aug 21 14:33:42 2001
From: dajo at frii.com (David)
Date: Tue, 21 Aug 2001 14:33:42 -0600
Subject: [lug] Still more XEmacs.
In-Reply-To: <20010821133208.A356@rocket9> (maxl@squeep.com)
References: <20010821041338.A469@rocket9> <200108211715.f7LHFoX01402@Rednose.Anthrax> <20010821133208.A356@rocket9>
Message-ID: <200108212033.f7LKXgi01749@Rednose.Anthrax>
> I believe that ilisp does actually have a mirror, listed on freshmeat;
Thank you, freshmeat was unavailable, but AltaVista led me to the U of
Alberta:
http://sunsite.ualberta.ca/pub/Mirror/Linux/debian/debian/pool/non-free/i/ilisp/
dajo
From stimits at idcomm.com Tue Aug 21 14:32:20 2001
From: stimits at idcomm.com (D. Stimits)
Date: Tue, 21 Aug 2001 14:32:20 -0600
Subject: [lug] Re: portable md5 function?
References: <3B82A483.2D93847D@sec.noaa.gov>
Message-ID: <3B82C554.6F0CCF18@idcomm.com>
"Thomas R. Detman" wrote:
>
> My Red Hat (KRUD 7.0) system contains '/usr/bin/md5sum', but the
> date on it is Aug 30 2000, so I think it may have been part of
> KRUD 6.2+. Anyway, if I type 'md5sum /usr/bin/md5sum', it says:
> 'e0bf91d478e6ecf512922c91544a74ba /usr/bin/md5sum', is that
> what you're looking for?
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
I'm looking for this in the form of a C function call, rather than a
command line program. I wonder if the md5 based passwords rely on this
separate program rather than a C function call? It seems more likely
that somewhere there is a replacement to the old crypt() function call.
D. Stimits, stimits at idcomm.com
From stimits at idcomm.com Tue Aug 21 14:33:02 2001
From: stimits at idcomm.com (D. Stimits)
Date: Tue, 21 Aug 2001 14:33:02 -0600
Subject: [lug] portable md5 function?
References:
Message-ID: <3B82C57E.B9B4FE6@idcomm.com>
George Sexton wrote:
>
> This is probably overkill, but I am sure that OpenSSL has MD5 functions
> built in.
Hmm...I'll investigate, it seems like it should.
D. Stimits, stimits at idcomm.com
>
> -----Original Message-----
> From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
> Behalf Of D. Stimits
> Sent: 21 August, 2001 11:28 AM
> To: BLUG
> Subject: [lug] portable md5 function?
>
> I'm trying to find out if there is now a semi-portable (at least among
> linux machines, probably UNIX in general) md5 sum function call
> available. The original crypt() one-way hash does not use md5, but most
> of the linux distro's now use md5 (or make it available) for passwords.
> Is this possibly built into the libpam library? I'm trying to find a C
> function call to do this, without invoking a "system()" call.
>
> D. Stimits, stimits at idcomm.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Tue Aug 21 14:34:39 2001
From: stimits at idcomm.com (D. Stimits)
Date: Tue, 21 Aug 2001 14:34:39 -0600
Subject: [lug] portable md5 function?
References: <3B829A2D.2E24E82F@idcomm.com> <20010821120807.A3874@amoeba>
Message-ID: <3B82C5DF.385C5498@idcomm.com>
rotering at animalcules.com wrote:
>
> On Tue, Aug 21, 2001 at 11:28:13AM -0600, D. Stimits wrote:
>
> > I'm trying to find out if there is now a semi-portable (at least among
> > linux machines, probably UNIX in general) md5 sum function call
> > available.
>
> OpenSSL (as of 0.9.6a) contains functions to compute several different
> message digests, including md5.
>
> The driver for /dev/random (/usr/src/linux/drivers/char/random.c) also
> contains a commonly-available implementation of MD5.
>
> Depending on your personal boredom quotient, implementing MD5 from RFC
> 1321 without peeking at existing implementations is fun. I did this
> for a napster client I was working on (before Napster went effectively
> Tango Utah) and learned a lot about bitwise operators and how to write
> bad preprocessor macros (I stopped when I produced valid checksums for
> files >= 516 bytes assuming I'd never see an mp3 file smaller than
> that). It's only about 225 lines and it's not rocket science, so
> rolling your own is an option if you're not willing to use the PD
> implementations out there.
I might actually do this, I found the RFC, but I'm not sure yet.
D. Stimits, stimits at idcomm.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Tue Aug 21 14:36:04 2001
From: stimits at idcomm.com (D. Stimits)
Date: Tue, 21 Aug 2001 14:36:04 -0600
Subject: [lug] portable md5 function?
References: <3B829A2D.2E24E82F@idcomm.com>
Message-ID: <3B82C634.2780AF9A@idcomm.com>
Tkil wrote:
>
> >>>>> "DS" == D Stimits writes:
>
> DS> I'm trying to find out if there is now a semi-portable (at least
> DS> among linux machines, probably UNIX in general) md5 sum function
> DS> call available.
>
> depending on what you're using these for, the perl MD5 module might be
> helpful. i'm not sure how much extra magic you have to add to do
> hashes the same way that the PAM stuff does, tho.
I'm staying away from perl here, hopefully I can stick with just C or
C++. Probably I'll end up using the OpenSSL, or maybe research that RFC
and do it myself.
D. Stimits, stimits at idcomm.com
>
> t.
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From tkil at scrye.com Tue Aug 21 14:48:51 2001
From: tkil at scrye.com (Tkil)
Date: 21 Aug 2001 14:48:51 -0600
Subject: [lug] Re: portable md5 function?
In-Reply-To: "D. Stimits"'s message of "Tue, 21 Aug 2001 14:32:20 -0600"
References:
<3B82A483.2D93847D@sec.noaa.gov> <3B82C554.6F0CCF18@idcomm.com>
Message-ID:
>>>>> "DS" == D Stimits writes:
DS> I'm looking for [MD5-style password hashing] in the form of a C
DS> function call, rather than a command line program. I wonder if the
DS> md5 based passwords rely on this separate program rather than a C
DS> function call? It seems more likely that somewhere there is a
DS> replacement to the old crypt() function call.
have fun:
http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/lib/libcrypt/md5crypt.c?rev=1.3&content-type=text/x-cvsweb-markup&sortby=date
t.
From nunar at iws.net Tue Aug 21 16:12:55 2001
From: nunar at iws.net (Shannon Johnston)
Date: Tue, 21 Aug 2001 16:12:55 -0600 (MDT)
Subject: [lug] Nobody need shell?
Message-ID:
Does the user nobody need a shell?? I thought they only needed a UID and
GID.
Shannon
From lists at morris-clan.net Tue Aug 21 16:12:52 2001
From: lists at morris-clan.net (David Morris)
Date: Tue, 21 Aug 2001 16:12:52 -0600 (MDT)
Subject: [lug] Nobody need shell?
In-Reply-To:
Message-ID:
Every user needs a shell, but it does not have to be a working shell.
Many people set users that don't (or shouldn't) log in to a shell such
as /bin/false.
--David
On Tue, 21 Aug 2001, Shannon Johnston wrote:
> Does the user nobody need a shell?? I thought they only needed a UID and
> GID.
>
> Shannon
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
From jd_480 at hotmail.com Tue Aug 21 16:57:57 2001
From: jd_480 at hotmail.com (Jason Davis)
Date: Tue, 21 Aug 2001 16:57:57 -0600
Subject: [lug] fetchmailconf problem
Message-ID:
An HTML attachment was scrubbed...
URL:
From dradom at redback.com Tue Aug 21 17:36:40 2001
From: dradom at redback.com (dan radom)
Date: Tue, 21 Aug 2001 17:36:40 -0600
Subject: [lug] fetchmailconf problem
In-Reply-To:
References:
Message-ID: <20010821173640.G2586@saturn.enron.net>
looks like it can't get your hostname. try adding the entry to /etc/hosts.
* Jason Davis (jd_480 at hotmail.com) wrote:
> im new to linux. when i try to set up fetchmail...by using fetchmail conf i
> always get the error:
>
> file /usr/bin/fetchmailconf , line 1841 in?
> hostname=socket.gethostbyaddr (socket.gethostname())[o]
> socket.error: host not found
From alanr at unix.sh Tue Aug 21 17:49:32 2001
From: alanr at unix.sh (Alan Robertson)
Date: Tue, 21 Aug 2001 17:49:32 -0600
Subject: [lug] portable md5 function?
References: <3B829A2D.2E24E82F@idcomm.com>
Message-ID: <3B82F38C.83866216@unix.sh>
"D. Stimits" wrote:
>
> I'm trying to find out if there is now a semi-portable (at least among
> linux machines, probably UNIX in general) md5 sum function call
> available. The original crypt() one-way hash does not use md5, but most
> of the linux distro's now use md5 (or make it available) for passwords.
> Is this possibly built into the libpam library? I'm trying to find a C
> function call to do this, without invoking a "system()" call.
Try this one. It works for me ;-)
http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/~checkout~/linux-ha/lib/plugins/HBauth/md5.c?rev=1.1&content-type=text/plain
Sorry for the funky URL, but that's viewcvs for ya.
There's also a crc and an md5 algorithm in the same directory:
http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/lib/plugins/HBauth/#dirlist
It's got some boilerplate for a plugin loading system that we use, but it's
easy to see what to call for the MD5 function if you want.
-- Alan Robertson
alanr at unix.sh
-- Alan Robertson
alanr at unix.sh
From alanr at unix.sh Tue Aug 21 17:54:19 2001
From: alanr at unix.sh (Alan Robertson)
Date: Tue, 21 Aug 2001 17:54:19 -0600
Subject: [lug] portable md5 function?
References: <3B829A2D.2E24E82F@idcomm.com> <3B82F38C.83866216@unix.sh>
Message-ID: <3B82F4AB.33C24503@unix.sh>
Alan Robertson wrote:
>
> "D. Stimits" wrote:
> >
> > I'm trying to find out if there is now a semi-portable (at least among
> > linux machines, probably UNIX in general) md5 sum function call
> > available. The original crypt() one-way hash does not use md5, but most
> > of the linux distro's now use md5 (or make it available) for passwords.
> > Is this possibly built into the libpam library? I'm trying to find a C
> > function call to do this, without invoking a "system()" call.
>
> Try this one. It works for me ;-)
>
> http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/~checkout~/linux-ha/lib/plugins/HBauth/md5.c?rev=1.1&content-type=text/plain
>
> Sorry for the funky URL, but that's viewcvs for ya.
>
> There's also a crc and an md5 algorithm in the same directory:
>
> http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/lib/plugins/HBauth/#dirlist
>
> It's got some boilerplate for a plugin loading system that we use, but it's
> easy to see what to call for the MD5 function if you want.
Or you can drag down the whole plugin loading system (*can you spell
overkill*? ;-)) and then authenticate with any type of authentication
function you want. If you write any more that use the same form, let me
know and we'll put them up on our CVS instance ;-)
-- Alan Robertson
alanr at unix.sh
From alanr at unix.sh Tue Aug 21 18:04:53 2001
From: alanr at unix.sh (Alan Robertson)
Date: Tue, 21 Aug 2001 18:04:53 -0600
Subject: [lug] High-Availability file server in Sept SysAdmin magazine
Message-ID: <3B82F725.5C29F0E4@unix.sh>
Hi,
There's a nice article on creating a High-Availability File Server with
heartbeat in this month's SysAdmin magazine. Unfortunately, the article
itself is not online :-(.
The September TOC is here:
http://www.sysadminmag.com/articles/2001/0109/
The article (by Steve Blackmon and John Nguyen) has this abstract:
The authors provide step-by-step procedures for building a high-availability
file server for UNIX and Windows clients. Although the article focuses on
setting up a file server, the technique could be applied to other services.
-- Alan Robertson
alanr at unix.sh
From efm at tummy.com Tue Aug 21 18:09:11 2001
From: efm at tummy.com (Evelyn Mitchell)
Date: Tue, 21 Aug 2001 18:09:11 -0600
Subject: [lug] High-Availability file server in Sept SysAdmin magazine
In-Reply-To: <3B82F725.5C29F0E4@unix.sh>; from alanr@unix.sh on Tue, Aug 21, 2001 at 06:04:53PM -0600
References: <3B82F725.5C29F0E4@unix.sh>
Message-ID: <20010821180911.A10783@tummy.com>
On Tue, Aug 21, 2001 at 06:04:53PM -0600, Alan Robertson wrote:
> Hi,
>
> There's a nice article on creating a High-Availability File Server with
> heartbeat in this month's SysAdmin magazine. Unfortunately, the article
> itself is not online :-(.
Alan's too modest. This article is about his HA-Linux project.
Congrats on the coverage, Alan!
Evelyn Mitchell
efm at tummy.com
From caldodge at fpcc.net Tue Aug 21 20:07:16 2001
From: caldodge at fpcc.net (Calvin Dodge)
Date: Tue, 21 Aug 2001 20:07:16 -0600
Subject: [lug] get yer red hot Roswell 2nd Edition!
In-Reply-To: <20010821120807.A3874@amoeba>; from rotering@animalcules.com on Tue, Aug 21, 2001 at 12:08:07PM -0600
References: <3B829A2D.2E24E82F@idcomm.com> <20010821120807.A3874@amoeba>
Message-ID: <20010821200716.A9526@aberdeen.fpcc.net>
For those who are interested in the latest release of Red Hat's "Roswell" (7.2 beta), I'm getting 450 KBps from mirror.pa.msu.edu.
Ya know, I could really get used to journalling filesystems (yes, I know SuSE has had Reiserfs for some time). Roswell comes with option to make ext3 partitions, so I did just that with the root partition on my first test install. After booting up, and logging in via gdm, I hit the reset button. On reboot the filesystem check took, oh, about 1 second.
Now I just hope that the second edition of Roswell will work on our Epox KM133 (embedded shared-memory Savage video chipset). The first edition consistently locked up as soon as the X server was started.
Now it's time to investigate some of the 3 gigs of stuff Roswell installed on Mom's computer.
Calvin
--
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net
From ljp at llornkcor.com Wed Aug 22 04:49:19 2001
From: ljp at llornkcor.com (ljp)
Date: Wed, 22 Aug 2001 04:49:19 -0600
Subject: [lug] get yer red hot Roswell 2nd Edition!
In-Reply-To: <20010821200716.A9526@aberdeen.fpcc.net>
References: <20010821120807.A3874@amoeba>
<3B829A2D.2E24E82F@idcomm.com>
<20010821120807.A3874@amoeba>
Message-ID: <5.1.0.14.2.20010822044413.00af8e70@pop.peakpeak.com>
At 20:07 8/21/2001 -0600, you wrote:
>For those who are interested in the latest release of Red Hat's "Roswell"
>(7.2 beta), I'm getting 450 KBps from mirror.pa.msu.edu.
>
>Ya know, I could really get used to journalling filesystems (yes, I know
>SuSE has had Reiserfs for some time).
I've been using SuSE 7 with reiserfs for some months on one of my linux
boxes. I won't install any dist that DOESN'T have reiserfs are an install
option anymore. I haven't tried ext3, but would be interesting to read any
info on comparisons.
Mandrake 8 also has a reiserfs install.
ljp
From plkey at home.com Wed Aug 22 09:38:06 2001
From: plkey at home.com (Prescott Oelke)
Date: Wed, 22 Aug 2001 09:38:06 -0600
Subject: [lug] get yer red hot Roswell 2nd Edition!
In-Reply-To: <5.1.0.14.2.20010822044413.00af8e70@pop.peakpeak.com>
Message-ID: <000001c12b20$7034f070$6c4f0341@c1566405a>
The new beta of Mandrake 8.1 has several options for a journaling file
system. Reiserfs, ext3 and at least one other whose name escapes me at
the moment.
Prescott Oelke
-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]
On Behalf Of ljp
Sent: Wednesday, August 22, 2001 4:49 AM
To: lug at lug.boulder.co.us
Subject: Re: [lug] get yer red hot Roswell 2nd Edition!
At 20:07 8/21/2001 -0600, you wrote:
>For those who are interested in the latest release of Red Hat's
"Roswell"
>(7.2 beta), I'm getting 450 KBps from mirror.pa.msu.edu.
>
>Ya know, I could really get used to journalling filesystems (yes, I
know
>SuSE has had Reiserfs for some time).
I've been using SuSE 7 with reiserfs for some months on one of my linux
boxes. I won't install any dist that DOESN'T have reiserfs are an
install
option anymore. I haven't tried ext3, but would be interesting to read
any
info on comparisons.
Mandrake 8 also has a reiserfs install.
ljp
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From fschmid at archenergy.com Wed Aug 22 09:49:40 2001
From: fschmid at archenergy.com (Ferdinand Schmid)
Date: Wed, 22 Aug 2001 09:49:40 -0600
Subject: [lug] get yer red hot Roswell 2nd Edition!
References: <20010821120807.A3874@amoeba> <3B829A2D.2E24E82F@idcomm.com> <20010821120807.A3874@amoeba> <5.1.0.14.2.20010822044413.00af8e70@pop.peakpeak.com>
Message-ID: <3B83D494.102@archenergy.com>
KRUD 7.1 also offers a reiserfs install option (check out Kevin'g readme). We
use KRUD and SuSE about 50/50 here and I can only say good things about
reiserfs. Our main file server uses 70% reiserfs and the rest ext2. A few
weeks ago I had a file corruption problem on an ext2 partition and the fsck took
about 40 min (that's what you get for storing 1/2 TB on your disks).
No Reiserfs problems yet in about 8 months of using it on production systems
doing postgres and Samba.
A nice side benefit of Reiserfs: If your disk fills up to 100% and then someone
tries to open files for writing those files don't get corrupted.
Ferdinand
ljp wrote:
> At 20:07 8/21/2001 -0600, you wrote:
>
>> For those who are interested in the latest release of Red Hat's
>> "Roswell" (7.2 beta), I'm getting 450 KBps from mirror.pa.msu.edu.
>>
>> Ya know, I could really get used to journalling filesystems (yes, I
>> know SuSE has had Reiserfs for some time).
>
>
>
> I've been using SuSE 7 with reiserfs for some months on one of my linux
> boxes. I won't install any dist that DOESN'T have reiserfs are an
> install option anymore. I haven't tried ext3, but would be interesting
> to read any info on comparisons.
> Mandrake 8 also has a reiserfs install.
>
> ljp
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
--
Ferdinand Schmid
http://www.archenergy.com
303-444-4149 x231
From tromey at redhat.com Wed Aug 22 10:44:07 2001
From: tromey at redhat.com (Tom Tromey)
Date: 22 Aug 2001 10:44:07 -0600
Subject: [lug] get yer red hot Roswell 2nd Edition!
In-Reply-To: ljp's message of "Wed, 22 Aug 2001 04:49:19 -0600"
References: <20010821120807.A3874@amoeba> <3B829A2D.2E24E82F@idcomm.com> <20010821120807.A3874@amoeba> <5.1.0.14.2.20010822044413.00af8e70@pop.peakpeak.com>
Message-ID: <87d75o6o4o.fsf@creche.redhat.com>
>>>>> "ljp" == ljp writes:
ljp> I haven't tried ext3, but would be interesting to read any info
ljp> on comparisons.
Well, this intentionally isn't a comparison, but it is an explanation
of why Red Hat is using ext3:
http://linuxtoday.com/news_story.php3?ltsn=2001-08-22-004-20-NW-RH
Tom
From wallen at its.bldrdoc.gov Wed Aug 22 11:19:27 2001
From: wallen at its.bldrdoc.gov (J. Wayde Allen)
Date: Wed, 22 Aug 2001 11:19:27 -0600 (MDT)
Subject: [lug] ISART 2000
Message-ID:
I'm currently involved in planning the 2002 International Symposium on
Advanced Radio Technologies to be held here in Boulder,CO. To get a feel
for the flavor of this conference you can check out the past conference
programs at .
I have two questions:
1. What topics related to "Advanced Radio Technology" would be of
particular interest? (Some of you might be able to dream up some
topics that I wouldn't think of.)
2. Are there any of you who would be interested in giving a 30 minute
presentation on some aspect of Advanced Radio Technology? If so,
please contact me at .
The list of topics that we've brainstormed are:
- Modulation Methods
- Spectrum Allocation
- Antennas
- Software Radio
- Satellite Communications
- Wireless Technology
- Standards & Measurement
Anything we're missing?
- Wayde
(wallen at its.bldrdoc.gov)
From stimits at idcomm.com Wed Aug 22 13:00:55 2001
From: stimits at idcomm.com (D. Stimits)
Date: Wed, 22 Aug 2001 13:00:55 -0600
Subject: [lug] ISART 2000
References:
Message-ID: <3B840167.6CF8A8A0@idcomm.com>
"J. Wayde Allen" wrote:
>
> I'm currently involved in planning the 2002 International Symposium on
> Advanced Radio Technologies to be held here in Boulder,CO. To get a feel
> for the flavor of this conference you can check out the past conference
> programs at .
>
> I have two questions:
>
> 1. What topics related to "Advanced Radio Technology" would be of
> particular interest? (Some of you might be able to dream up some
> topics that I wouldn't think of.)
>
> 2. Are there any of you who would be interested in giving a 30 minute
> presentation on some aspect of Advanced Radio Technology? If so,
> please contact me at .
>
> The list of topics that we've brainstormed are:
>
> - Modulation Methods
> - Spectrum Allocation
> - Antennas
> - Software Radio
> - Satellite Communications
> - Wireless Technology
> - Standards & Measurement
>
> Anything we're missing?
Data mining, including position tracking, and determining the scanned
shape of radar-like systems, e.g., tornado research, or satellite
imaging.
D. Stimits, stimits at idcomm.com
>
> - Wayde
> (wallen at its.bldrdoc.gov)
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Wed Aug 22 13:04:38 2001
From: stimits at idcomm.com (D. Stimits)
Date: Wed, 22 Aug 2001 13:04:38 -0600
Subject: [lug] Re: portable md5 function?
References:
<3B82A483.2D93847D@sec.noaa.gov> <3B82C554.6F0CCF18@idcomm.com>
Message-ID: <3B840246.F1311AC7@idcomm.com>
Tkil wrote:
>
> >>>>> "DS" == D Stimits writes:
>
> DS> I'm looking for [MD5-style password hashing] in the form of a C
> DS> function call, rather than a command line program. I wonder if the
> DS> md5 based passwords rely on this separate program rather than a C
> DS> function call? It seems more likely that somewhere there is a
> DS> replacement to the old crypt() function call.
>
> have fun:
>
> http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/lib/libcrypt/md5crypt.c?rev=1.3&content-type=text/x-cvsweb-markup&sortby=date
>
> t.
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Surprisingly (or maybe not) I actually ran into this sample while
looking around. I still haven't defined *exactly* what I want, but this
does appear to be a fairly portable setup. If unistd.h is avoided, it
might even compile on non-UNIX style systems.
D. Stimits, stimits at idcomm.com
From stimits at idcomm.com Wed Aug 22 13:07:34 2001
From: stimits at idcomm.com (D. Stimits)
Date: Wed, 22 Aug 2001 13:07:34 -0600
Subject: [lug] portable md5 function?
References: <3B829A2D.2E24E82F@idcomm.com> <3B82F38C.83866216@unix.sh>
Message-ID: <3B8402F6.B03935C8@idcomm.com>
Alan Robertson wrote:
>
> "D. Stimits" wrote:
> >
> > I'm trying to find out if there is now a semi-portable (at least among
> > linux machines, probably UNIX in general) md5 sum function call
> > available. The original crypt() one-way hash does not use md5, but most
> > of the linux distro's now use md5 (or make it available) for passwords.
> > Is this possibly built into the libpam library? I'm trying to find a C
> > function call to do this, without invoking a "system()" call.
>
> Try this one. It works for me ;-)
>
> http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/~checkout~/linux-ha/lib/plugins/HBauth/md5.c?rev=1.1&content-type=text/plain
>
I notice this one goes through a significant effort to be platform
independent in some ways (such as macro definition of UWORD32). Seems
there are a lot of choices available now, I hadn't realized so many
libraries were available, but you should see what happens when you do a
web search for "md5" (ouch).
D. Stimits, stimits at idcomm.com
> Sorry for the funky URL, but that's viewcvs for ya.
>
> There's also a crc and an md5 algorithm in the same directory:
>
> http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/lib/plugins/HBauth/#dirlist
>
> It's got some boilerplate for a plugin loading system that we use, but it's
> easy to see what to call for the MD5 function if you want.
>
> -- Alan Robertson
> alanr at unix.sh
>
> -- Alan Robertson
> alanr at unix.sh
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Wed Aug 22 13:10:43 2001
From: stimits at idcomm.com (D. Stimits)
Date: Wed, 22 Aug 2001 13:10:43 -0600
Subject: [lug] portable md5 function?
References: <3B829A2D.2E24E82F@idcomm.com> <3B82F38C.83866216@unix.sh> <3B82F4AB.33C24503@unix.sh>
Message-ID: <3B8403B3.378FF961@idcomm.com>
Alan Robertson wrote:
>
> Alan Robertson wrote:
> >
> > "D. Stimits" wrote:
> > >
> > > I'm trying to find out if there is now a semi-portable (at least among
> > > linux machines, probably UNIX in general) md5 sum function call
> > > available. The original crypt() one-way hash does not use md5, but most
> > > of the linux distro's now use md5 (or make it available) for passwords.
> > > Is this possibly built into the libpam library? I'm trying to find a C
> > > function call to do this, without invoking a "system()" call.
> >
> > Try this one. It works for me ;-)
> >
> > http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/~checkout~/linux-ha/lib/plugins/HBauth/md5.c?rev=1.1&content-type=text/plain
> >
> > Sorry for the funky URL, but that's viewcvs for ya.
> >
> > There's also a crc and an md5 algorithm in the same directory:
> >
> > http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/lib/plugins/HBauth/#dirlist
> >
> > It's got some boilerplate for a plugin loading system that we use, but it's
> > easy to see what to call for the MD5 function if you want.
>
> Or you can drag down the whole plugin loading system (*can you spell
> overkill*? ;-)) and then authenticate with any type of authentication
> function you want. If you write any more that use the same form, let me
> know and we'll put them up on our CVS instance ;-)
Probably this will be going into something that already has a "killer
plugin system that overkills", but the MD5 stuff won't be used for
authentication, instead it will be used to help manage plugins (I
actually have two projects I'm looking at this for, one of them is
rather simple and needs a unique identifier of raw data sources).
D. Stimits, stimits at idcomm.com
>
> -- Alan Robertson
> alanr at unix.sh
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From lists at morris-clan.net Wed Aug 22 13:23:45 2001
From: lists at morris-clan.net (David Morris)
Date: Wed, 22 Aug 2001 13:23:45 -0600 (MDT)
Subject: [lug] pptpd connection from WinNT Problems
Message-ID:
I am working on setting up a VPN from Windows computers
(Win9x/WinNT/Win2k) using pptpd. Everything seems to be setup
correctly, but I cannot connect. The WinNT system I am using to test
the connection is giving an error "629: The port was disconnected by
the remote machine.
I am using the following configuration:
----------------------------------------------------------------------
/etc/pptpd.conf:
speed 115200
option /etc/ppp/pptpd-options
debug
localip 192.168.1.101-199
remoteip 192.168.4.101-199
/etc/ppp/pptpd-options
debug
name beltira
auth
require-chap
proxyarp
/etc/ppp/chap-secrets
morrisde beltira foo *
----------------------------------------------------------------------
The log file from pptpd is very unhelpful, but is included at the end
of this message for reference.
On the Windows NT side, I have tried all combinattions of Security
Options (including allowing clear-text authentication, and I have
tried many combinations in the /etc/ppp/pptpd-options file based on
various recommendations. Nothing works.
Can anyone offer any help on what is going wrong?
--David
Aug 22 13:09:15 beltira pptpd[11979]: MGR: Manager process started
Aug 22 13:09:17 beltira pptpd[11980]: MGR: Launching /usr/sbin/pptpctrl to handle client
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: local address = 192.168.1.101
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: remote address = 192.168.4.101
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: pppd speed = 115200
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: pppd options file = /etc/ppp/pptpd-options
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Client 162.18.177.15 control connection started
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Received PPTP Control Message (type: 1)
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Made a START CTRL CONN RPLY packet
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: I wrote 156 bytes to the client.
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Sent packet to client
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Received PPTP Control Message (type: 7)
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Set parameters to 10000000 maxbps, 3 window size
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Made a OUT CALL RPLY packet
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Starting call (launching pppd, opening GRE)
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: pty_fd = 5
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: tty_fd = 6
Aug 22 13:09:17 beltira pptpd[11981]: CTRL (PPPD Launcher): Connection speed = 115200
Aug 22 13:09:17 beltira pptpd[11981]: CTRL (PPPD Launcher): local address = 192.168.1.101
Aug 22 13:09:17 beltira pptpd[11981]: CTRL (PPPD Launcher): remote address = 192.168.4.101
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: I wrote 32 bytes to the client.
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Sent packet to client
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Received PPTP Control Message (type: 15)
Aug 22 13:09:17 beltira pptpd[11980]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Aug 22 13:09:47 beltira pptpd[11980]: GRE: read(fd=5,buffer=25bd8,len=8196) from PTY failed: status = -1 error = Input/output error
Aug 22 13:09:47 beltira pptpd[11979]: MGR: Reaped child 11980
Aug 22 13:09:47 beltira pptpd[11980]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Aug 22 13:09:47 beltira pptpd[11980]: CTRL: Client 162.18.177.15 control connection finished
Aug 22 13:09:47 beltira pptpd[11980]: CTRL: Exiting with active call
Aug 22 13:09:47 beltira pptpd[11980]: CTRL: Made a CALL DISCONNECT RPLY packet
Aug 22 13:09:47 beltira pptpd[11980]: CTRL: Couldn't write packet to client.
Aug 22 13:09:47 beltira pptpd[11980]: CTRL: Made a STOP CTRL REQ packet
Aug 22 13:09:47 beltira pptpd[11980]: CTRL: Couldn't write packet to client.
Aug 22 13:09:47 beltira pptpd[11980]: CTRL: Exiting now
From alanr at unix.sh Wed Aug 22 13:42:45 2001
From: alanr at unix.sh (Alan Robertson)
Date: Wed, 22 Aug 2001 13:42:45 -0600
Subject: [lug] High-Availability file server in Sept SysAdmin magazine
References: <3B82F725.5C29F0E4@unix.sh> <20010821180911.A10783@tummy.com>
Message-ID: <3B840B35.92B35698@unix.sh>
Evelyn Mitchell wrote:
>
> On Tue, Aug 21, 2001 at 06:04:53PM -0600, Alan Robertson wrote:
> > Hi,
> >
> > There's a nice article on creating a High-Availability File Server with
> > heartbeat in this month's SysAdmin magazine. Unfortunately, the article
> > itself is not online :-(.
>
> Alan's too modest.
Well.... not so modest I wouldn't post the note ;-)
> This article is about his HA-Linux project.
> Congrats on the coverage, Alan!
The article's actually pretty a pretty good step by step description for
setting up an High-Availability Samba and NFS file server.
My main disappointment was that it basically identified me as "the" author.
That's far from true. There are so many things that other people have
contributed -- from simple networking code to authentication, to plugin
loading code, to stonith plugins, to multicast code.
All of these are areas where I had little or no expertise, but others were
willing to contribute their expertise. So, I got to learn from others'
expertise.
-- Alan Robertson
alanr at unix.sh
From catkinson at circadence.com Wed Aug 22 14:50:22 2001
From: catkinson at circadence.com (Chip Atkinson)
Date: Wed, 22 Aug 2001 14:50:22 -0600
Subject: [lug] new isp connection problems
Message-ID: <3B841B0E.8040802@circadence.com>
Greetings all,
I've changed ISPs and am now trying to connect. Apparently they have a
terminal server that handles the dial in. From the archives I was able
to glean the bit of information that I should start talking ppp
immediately rather than answering a login prompt. I have my dial chat
script wait for "CONNECT" and then exit and it looks like the connection
nearly gets established but then drops.
I have ppp set up for demand dial and start pinging the other end of the
ppp connection.
Any ideas?
Thanks in advance.
Chip
Here's the output from /var/log/messages:
Aug 22 14:47:18 poodle chat[27919]: abort on (BUSY)
Aug 22 14:47:18 poodle chat[27919]: abort on (ERROR)
Aug 22 14:47:18 poodle chat[27919]: abort on (NO CARRIER)
Aug 22 14:47:18 poodle chat[27919]: abort on (NO DIALTONE)
Aug 22 14:47:18 poodle chat[27919]: abort on (Invalid Login)
Aug 22 14:47:18 poodle chat[27919]: abort on (Login incorrect)
Aug 22 14:47:18 poodle chat[27919]: send (ATZ^M)
Aug 22 14:47:18 poodle chat[27919]: expect (OK)
Aug 22 14:47:18 poodle chat[27919]: ATZ^M^M
Aug 22 14:47:18 poodle chat[27919]: OK
Aug 22 14:47:18 poodle chat[27919]: -- got it
Aug 22 14:47:18 poodle chat[27919]: send (ATDT3038270104^M)
Aug 22 14:47:18 poodle chat[27919]: expect (CONNECT)
Aug 22 14:47:18 poodle chat[27919]: ^M
Aug 22 14:47:36 poodle chat[27919]: ATDT3038270104^M^M
Aug 22 14:47:36 poodle chat[27919]: CONNECT
Aug 22 14:47:36 poodle chat[27919]: -- got it
Aug 22 14:47:36 poodle pppd[27880]: Serial connection established.
Aug 22 14:47:36 poodle pppd[27880]: Connect: ppp0 <--> /dev/ttyS0
Aug 22 14:48:14 poodle pppd[27880]: IPCP: timeout sending Config-Requests
Aug 22 14:48:14 poodle pppd[27880]: Connection terminated.
Aug 22 14:48:14 poodle pppd[27880]: Hangup (SIGHUP)
From manny_roque at telocity.com Mon Aug 20 18:54:07 2001
From: manny_roque at telocity.com (Manny Roque)
Date: Mon, 20 Aug 2001 18:54:07 -0600
Subject: [lug] Rhythms is closing
Message-ID: <000d01c129db$c847cd50$0928c240@manny9gbr0sby2>
Hi,
I was wondering if any of you know of a good reliable dsl provider in
the Lafayette,CO area? My current dsl provider Rhythms is closing it's
services next month and I'm in search of a replacement. As long as I can get
a static ip and the provider is Linux friendly that will do. ADSL is also
preferred since I have an ADSL hookup already set up.
Best Wishes,
Manny Roque
From bthoen at gisnet.com Tue Aug 21 08:08:05 2001
From: bthoen at gisnet.com (Bill Thoen)
Date: Tue, 21 Aug 2001 08:08:05 -0600
Subject: [lug] How to get .htaccess to work with user directories?
Message-ID: <3B826B45.ABBBB2F3@gisnet.com>
I can get .htaccess files to password protect directories under my
document root tree, but for some reason they are ignored in user
directories. How do I fix this?
F'r instance, if I create a user account called hmc, and in
httpd.conf I set UserDir to /projects/*/www, and I put an .htaccess
file in /projects/hmc/www, setting AuthUserFile to
/projects/hmc/www/.htpasswd, the pages in that directory are served
right up without a challenge when a browser looks for
www.gisnet.com/~hmc. If I change the directory to one under my
DocumentRoot and copy these same files into that directory, it works
fine.
Anyone have any ideas?
--
- Bill Thoen
------------------------------------------------------------
GISnet, 1401 Walnut St., Suite C, Boulder, CO 80302
tel: 303-786-9961, fax: 303-443-4856
mailto:bthoen at gisnet.com, http://www.gisnet.com
------------------------------------------------------------
From erick at xpedite.com Tue Aug 21 11:53:41 2001
From: erick at xpedite.com (Erick Bodine)
Date: Tue, 21 Aug 2001 11:53:41 -0600
Subject: [lug] rdist so-called versioning problem
Message-ID: <3B82A025.85E8F801@xpedite.com>
I am using rdist ( I know the security implications of using rdist, just bear with me on this) between two boxes and I am getting the complaint about mismatch of rdist version numbers that is mentioned in the man page. The man page mentions that it may
stem from a problem with starting the shell, ie. you are in too many groups. The user running rdist is only in one group, so this is not the problem. Both boxes are using csh (oh, feel the pain). Does anyone have any experience with getting around this?
Erick Bodine
From dradom at redback.com Wed Aug 22 15:21:06 2001
From: dradom at redback.com (dan radom)
Date: Wed, 22 Aug 2001 15:21:06 -0600
Subject: [lug] Rhythms is closing
In-Reply-To: <000d01c129db$c847cd50$0928c240@manny9gbr0sby2>
References: <000d01c129db$c847cd50$0928c240@manny9gbr0sby2>
Message-ID: <20010822152106.C3082@saturn.enron.net>
i would check with speakeasy. they're very friendly, and basically don't care what you've got on the other end of that dsl modem. not sure about availability in lafayette.
dan
* Manny Roque (manny_roque at telocity.com) wrote:
> Hi,
> I was wondering if any of you know of a good reliable dsl provider in
> the Lafayette,CO area? My current dsl provider Rhythms is closing it's
> services next month and I'm in search of a replacement. As long as I can get
> a static ip and the provider is Linux friendly that will do. ADSL is also
> preferred since I have an ADSL hookup already set up.
From RRiggs at doubleclick.net Wed Aug 22 15:18:41 2001
From: RRiggs at doubleclick.net (Riggs, Rob)
Date: Wed, 22 Aug 2001 15:18:41 -0600
Subject: [lug] How to get .htaccess to work with user directories?
Message-ID: <6171BE9F602BD411B76D00508B9585D401169C41@brm-ex02.abacus-direct.com>
Add "AllowOverride AuthConfig" to the directory entry in your httpd.conf
file. If your running Red Hat, Apache is configured to use
/home/*/public_html as the user directory. In the httpd.conf file there is a
commented out section that sets various permissions for this directory,
including AuthConfig. Simply uncommenting that section of the httpd.conf
file (and reloading Apache) would do the trick.
-----Original Message-----
From: Bill Thoen [mailto:bthoen at gisnet.com]
Sent: Tuesday, August 21, 2001 8:08 AM
To: BLUG
Subject: [lug] How to get .htaccess to work with user directories?
I can get .htaccess files to password protect directories under my
document root tree, but for some reason they are ignored in user
directories. How do I fix this?
F'r instance, if I create a user account called hmc, and in
httpd.conf I set UserDir to /projects/*/www, and I put an .htaccess
file in /projects/hmc/www, setting AuthUserFile to
/projects/hmc/www/.htpasswd, the pages in that directory are served
right up without a challenge when a browser looks for
www.gisnet.com/~hmc. If I change the directory to one under my
DocumentRoot and copy these same files into that directory, it works
fine.
Anyone have any ideas?
--
- Bill Thoen
------------------------------------------------------------
GISnet, 1401 Walnut St., Suite C, Boulder, CO 80302
tel: 303-786-9961, fax: 303-443-4856
mailto:bthoen at gisnet.com, http://www.gisnet.com
------------------------------------------------------------
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Wed Aug 22 15:57:29 2001
From: stimits at idcomm.com (D. Stimits)
Date: Wed, 22 Aug 2001 15:57:29 -0600
Subject: [lug] new isp connection problems
References: <3B841B0E.8040802@circadence.com>
Message-ID: <3B842AC9.3CFC5ACE@idcomm.com>
The first thing I check if I nearly get a connect and then get dumped is
if the PAP/CHAP is being used, and if it is set up right. Take a look at
your /etc/ppp/chap-secrets and pap-secrets.
D. Stimits, stimits at idcomm.com
Chip Atkinson wrote:
>
> Greetings all,
>
> I've changed ISPs and am now trying to connect. Apparently they have a
> terminal server that handles the dial in. From the archives I was able
> to glean the bit of information that I should start talking ppp
> immediately rather than answering a login prompt. I have my dial chat
> script wait for "CONNECT" and then exit and it looks like the connection
> nearly gets established but then drops.
>
> I have ppp set up for demand dial and start pinging the other end of the
> ppp connection.
>
> Any ideas?
>
> Thanks in advance.
>
> Chip
>
> Here's the output from /var/log/messages:
>
> Aug 22 14:47:18 poodle chat[27919]: abort on (BUSY)
> Aug 22 14:47:18 poodle chat[27919]: abort on (ERROR)
> Aug 22 14:47:18 poodle chat[27919]: abort on (NO CARRIER)
> Aug 22 14:47:18 poodle chat[27919]: abort on (NO DIALTONE)
> Aug 22 14:47:18 poodle chat[27919]: abort on (Invalid Login)
> Aug 22 14:47:18 poodle chat[27919]: abort on (Login incorrect)
> Aug 22 14:47:18 poodle chat[27919]: send (ATZ^M)
> Aug 22 14:47:18 poodle chat[27919]: expect (OK)
> Aug 22 14:47:18 poodle chat[27919]: ATZ^M^M
> Aug 22 14:47:18 poodle chat[27919]: OK
> Aug 22 14:47:18 poodle chat[27919]: -- got it
> Aug 22 14:47:18 poodle chat[27919]: send (ATDT3038270104^M)
> Aug 22 14:47:18 poodle chat[27919]: expect (CONNECT)
> Aug 22 14:47:18 poodle chat[27919]: ^M
> Aug 22 14:47:36 poodle chat[27919]: ATDT3038270104^M^M
> Aug 22 14:47:36 poodle chat[27919]: CONNECT
> Aug 22 14:47:36 poodle chat[27919]: -- got it
> Aug 22 14:47:36 poodle pppd[27880]: Serial connection established.
> Aug 22 14:47:36 poodle pppd[27880]: Connect: ppp0 <--> /dev/ttyS0
> Aug 22 14:48:14 poodle pppd[27880]: IPCP: timeout sending Config-Requests
> Aug 22 14:48:14 poodle pppd[27880]: Connection terminated.
> Aug 22 14:48:14 poodle pppd[27880]: Hangup (SIGHUP)
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From catkinson at circadence.com Wed Aug 22 16:15:34 2001
From: catkinson at circadence.com (Chip Atkinson)
Date: Wed, 22 Aug 2001 16:15:34 -0600
Subject: [lug] new isp connection problems
References: <3B841B0E.8040802@circadence.com> <3B842AC9.3CFC5ACE@idcomm.com>
Message-ID: <3B842F06.7030507@circadence.com>
Ok, thanks. I'll start investigating that area.
Chip
D. Stimits wrote:
> The first thing I check if I nearly get a connect and then get dumped is
> if the PAP/CHAP is being used, and if it is set up right. Take a look at
> your /etc/ppp/chap-secrets and pap-secrets.
>
> D. Stimits, stimits at idcomm.com
>
> Chip Atkinson wrote:
>
>> Greetings all,
>>
>> I've changed ISPs and am now trying to connect. Apparently they have a
>> terminal server that handles the dial in. From the archives I was able
>> to glean the bit of information that I should start talking ppp
>> immediately rather than answering a login prompt. I have my dial chat
>> script wait for "CONNECT" and then exit and it looks like the connection
>> nearly gets established but then drops.
>>
>> I have ppp set up for demand dial and start pinging the other end of the
>> ppp connection.
>>
>> Any ideas?
>>
>> Thanks in advance.
>>
>> Chip
>>
>> Here's the output from /var/log/messages:
>>
>> Aug 22 14:47:18 poodle chat[27919]: abort on (BUSY)
>> Aug 22 14:47:18 poodle chat[27919]: abort on (ERROR)
>> Aug 22 14:47:18 poodle chat[27919]: abort on (NO CARRIER)
>> Aug 22 14:47:18 poodle chat[27919]: abort on (NO DIALTONE)
>> Aug 22 14:47:18 poodle chat[27919]: abort on (Invalid Login)
>> Aug 22 14:47:18 poodle chat[27919]: abort on (Login incorrect)
>> Aug 22 14:47:18 poodle chat[27919]: send (ATZ^M)
>> Aug 22 14:47:18 poodle chat[27919]: expect (OK)
>> Aug 22 14:47:18 poodle chat[27919]: ATZ^M^M
>> Aug 22 14:47:18 poodle chat[27919]: OK
>> Aug 22 14:47:18 poodle chat[27919]: -- got it
>> Aug 22 14:47:18 poodle chat[27919]: send (ATDT3038270104^M)
>> Aug 22 14:47:18 poodle chat[27919]: expect (CONNECT)
>> Aug 22 14:47:18 poodle chat[27919]: ^M
>> Aug 22 14:47:36 poodle chat[27919]: ATDT3038270104^M^M
>> Aug 22 14:47:36 poodle chat[27919]: CONNECT
>> Aug 22 14:47:36 poodle chat[27919]: -- got it
>> Aug 22 14:47:36 poodle pppd[27880]: Serial connection established.
>> Aug 22 14:47:36 poodle pppd[27880]: Connect: ppp0 <--> /dev/ttyS0
>> Aug 22 14:48:14 poodle pppd[27880]: IPCP: timeout sending Config-Requests
>> Aug 22 14:48:14 poodle pppd[27880]: Connection terminated.
>> Aug 22 14:48:14 poodle pppd[27880]: Hangup (SIGHUP)
>>
>> _______________________________________________
>> Web Page: http://lug.boulder.co.us
>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From mjhammel at graphics-muse.org Wed Aug 22 16:26:55 2001
From: mjhammel at graphics-muse.org (Michael J. Hammel)
Date: Wed, 22 Aug 2001 17:26:55 -0500 (CDT)
Subject: [lug] RH7.1 and remote display of X apps
Message-ID: <200108222226.RAA28275@feynman.graphics-muse.org>
I just upgraded my laptop to RH7.1 (KRUD Aug 2001) under Ximian's GNOME and
XFree86 4.0.3. Everything works pretty well. One thing that doesn't is
that I don't seem to be able to run an xterm on a remote machine for
display on my laptop (or any X application for that matter). I keep
getting "X11socket..." errors.
Yes, I already added the remote host to my access list with xhost. This
looks like a Xauthority issue but prior to this upgrade nothing more than a
simple xhost command was required. Did XFree86 4.0.x add something new?
Anyone know what else needs to be configured here?
--
Michael J. Hammel | "Life is like an ice cream cone. You can lick it
The Graphics Muse | and enjoy it or just watch it melt away and turn
mjhammel at graphics-muse.org | all sticky." Jim Ignatowski (from "Taxi")
http://www.graphics-muse.com
From dajo at frii.com Wed Aug 22 16:33:50 2001
From: dajo at frii.com (David)
Date: Wed, 22 Aug 2001 16:33:50 -0600
Subject: [lug] Rhythms is closing
In-Reply-To: <000d01c129db$c847cd50$0928c240@manny9gbr0sby2>
(manny_roque@telocity.com)
References: <000d01c129db$c847cd50$0928c240@manny9gbr0sby2>
Message-ID: <200108222233.f7MMXo303538@Rednose.Anthrax>
> I was wondering if any of you know of a good reliable dsl provider in
> the Lafayette,CO area? My current dsl provider Rhythms is closing it's
I am very happy with www.frii.com and I have seen other positive
postings. I only use dial-up, so know nothing about dsl. The point
is that frii seem to be competent and are friendly.
dajo
From dradom at redback.com Wed Aug 22 16:36:11 2001
From: dradom at redback.com (dan radom)
Date: Wed, 22 Aug 2001 16:36:11 -0600
Subject: [lug] Rhythms is closing
In-Reply-To: <200108222233.f7MMXo303538@Rednose.Anthrax>
References: <000d01c129db$c847cd50$0928c240@manny9gbr0sby2> <200108222233.f7MMXo303538@Rednose.Anthrax>
Message-ID: <20010822163611.I3082@saturn.enron.net>
frii has some pretty unrealistic transfer limits...2Gig a month down before additional charges are tacked on.
dan
From stimits at idcomm.com Wed Aug 22 16:41:04 2001
From: stimits at idcomm.com (D. Stimits)
Date: Wed, 22 Aug 2001 16:41:04 -0600
Subject: [lug] RH7.1 and remote display of X apps
References: <200108222226.RAA28275@feynman.graphics-muse.org>
Message-ID: <3B843500.136EB6D8@idcomm.com>
It does sound like an auth issue. This may not be the best solution, but
try adding to
/etc/X11/xinit/xinitrc.d/xhost.xinitrc
(you might need to create it)
/usr/X11R6/bin/xhost +whatever.url.access.is.from
If you need to create it, make it an executable permission, and make the
first line:
#!/bin/bash
My assumption is you are using something like gdm or kdm or xdm. A more
secure means is probably available.
D. Stimits, stimits at idcomm.com
"Michael J. Hammel" wrote:
>
> I just upgraded my laptop to RH7.1 (KRUD Aug 2001) under Ximian's GNOME and
> XFree86 4.0.3. Everything works pretty well. One thing that doesn't is
> that I don't seem to be able to run an xterm on a remote machine for
> display on my laptop (or any X application for that matter). I keep
> getting "X11socket..." errors.
>
> Yes, I already added the remote host to my access list with xhost. This
> looks like a Xauthority issue but prior to this upgrade nothing more than a
> simple xhost command was required. Did XFree86 4.0.x add something new?
>
> Anyone know what else needs to be configured here?
>
> --
> Michael J. Hammel | "Life is like an ice cream cone. You can lick it
> The Graphics Muse | and enjoy it or just watch it melt away and turn
> mjhammel at graphics-muse.org | all sticky." Jim Ignatowski (from "Taxi")
> http://www.graphics-muse.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From tkil at scrye.com Wed Aug 22 16:58:01 2001
From: tkil at scrye.com (Tkil)
Date: 22 Aug 2001 16:58:01 -0600
Subject: [lug] RH7.1 and remote display of X apps
In-Reply-To: "Michael J. Hammel"'s message of "Wed, 22 Aug 2001 17:26:55 -0500 (CDT)"
References: <200108222226.RAA28275@feynman.graphics-muse.org>
Message-ID:
>>>>> "Michael" == Michael J Hammel writes:
Michael> Yes, I already added the remote host to my access list with
Michael> xhost. This looks like a Xauthority issue but prior to this
Michael> upgrade nothing more than a simple xhost command was
Michael> required. Did XFree86 4.0.x add something new?
does xauth fix it?
Michael> Anyone know what else needs to be configured here?
i'd guess that the 7.1 firewall got a bit stronger, and is blocking X
access. i tend to just use SSH tunnelling for that, anyway, so i
don't really know if that's the issue or not.
t.
From mjhammel at graphics-muse.org Wed Aug 22 17:17:15 2001
From: mjhammel at graphics-muse.org (Michael J. Hammel)
Date: Wed, 22 Aug 2001 18:17:15 -0500 (CDT)
Subject: [lug] RH7.1 and remote display of X apps
In-Reply-To: from "Tkil" at Aug 22, 2001 04:58:01 PM
Message-ID: <200108222317.SAA28468@feynman.graphics-muse.org>
Thus spoke Tkil
> does xauth fix it?
Not that I can tell, but this was the first time I've tried running xauth.
> i'd guess that the 7.1 firewall got a bit stronger, and is blocking X
> access. i tend to just use SSH tunnelling for that, anyway, so i
> don't really know if that's the issue or not.
That sounds about right, or they started using some obscure X security
mechanism and didn't tell anyone how to make it work like before. Arrgggh.
So what do you do to get tunneling to work with this? I have ssh working
between the two boxes. How do I get the remote guy to tunnel his X client
over to the RH 7.1 box?
--
Michael J. Hammel The Graphics Muse
mjhammel at graphics-muse.org http://www.graphics-muse.com
------------------------------------------------------------------------------
Try again. Fail again. Fail better. -- Thomas Beckett
From glow at jackmoves.com Wed Aug 22 17:51:44 2001
From: glow at jackmoves.com (Justin)
Date: Wed, 22 Aug 2001 17:51:44 -0600 (MDT)
Subject: [lug] Adding user to two machines at once?
Message-ID: <20010822235144.C357C3A60@oldschool.jackmoves.com>
I have a couple of servers that I have users on. One server contains
every user while the other server contains only a select few of those
users. Currently what I have been doing is when I get a new user, I add
them to the primary server, then if necessary I add them again to the
secondary server. What are some ways to make this procedure a little
simpler? What I was thinking was writing a script that I can run on the
primary server which adds the user, then prompts me if I want to add
the same user to the secondary box. The script of course would need to
somehow log into the secondary box and add the user there. That is what
I don't know how to do. Does anyone have any suggestions on how to
accomplish this? Or an alternative that might be better for my
situation?
BTW, the uid's or gid's do not need to be the same between the
machines, simply the username and preferably the initial temp passwd.
TIA,
Justin
-----
glow at jackmoves.com
www.jackmoves.com
From dradom at redback.com Wed Aug 22 18:14:01 2001
From: dradom at redback.com (dan radom)
Date: Wed, 22 Aug 2001 18:14:01 -0600
Subject: [lug] Adding user to two machines at once?
In-Reply-To: <20010822235144.C357C3A60@oldschool.jackmoves.com>
References: <20010822235144.C357C3A60@oldschool.jackmoves.com>
Message-ID: <20010822181401.A844@saturn.enron.net>
are either NIS or LDAP an option? if not expect can do all the real work. it even ships with an example passwd / adduser script.
* Justin (glow at jackmoves.com) wrote:
> I have a couple of servers that I have users on. One server contains
> every user while the other server contains only a select few of those
> users. Currently what I have been doing is when I get a new user, I add
> them to the primary server, then if necessary I add them again to the
> secondary server. What are some ways to make this procedure a little
> simpler? What I was thinking was writing a script that I can run on the
> primary server which adds the user, then prompts me if I want to add
> the same user to the secondary box. The script of course would need to
> somehow log into the secondary box and add the user there. That is what
> I don't know how to do. Does anyone have any suggestions on how to
> accomplish this? Or an alternative that might be better for my
> situation?
>
> BTW, the uid's or gid's do not need to be the same between the
> machines, simply the username and preferably the initial temp passwd.
>
> TIA,
> Justin
> -----
> glow at jackmoves.com
> www.jackmoves.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From tkil at scrye.com Wed Aug 22 19:27:10 2001
From: tkil at scrye.com (Tkil)
Date: 22 Aug 2001 19:27:10 -0600
Subject: [lug] RH7.1 and remote display of X apps
In-Reply-To: "Michael J. Hammel"'s message of "Wed, 22 Aug 2001 18:17:15 -0500 (CDT)"
References: <200108222317.SAA28468@feynman.graphics-muse.org>
Message-ID:
>>>>> "Michael" == Michael J Hammel writes:
Michael> Not that I can tell, but this was the first time I've tried
Michael> running xauth.
xauth is pretty easy. on an xterm that is connected happily to your
server, type in:
xauth list | grep $DISPLAY
you should see something like:
myhost.mydomain.com:0 MIT-MAGIC-COOKIE-1 deadbeefdeadbeefdeadbeefdeadbeef
open a connection to the remote machine. (i typically use another
xterm for this.) on that machine, type in "xauth add " but don't hit
return yet. use your mouse to select the whole line from the previous
command (in the other window), then paste it into the remote session.
this should include the return at the end of the line, so it will
process that.
then you have to set the DISPLAY variable on the remote machine as you
would normally. after that, it should just work. the usual warnings
about unencrypted traffic and the potential for being snooped inside X
if anyone else connects are all still true, of course.
Michael> That sounds about right, or they started using some obscure X
Michael> security mechanism and didn't tell anyone how to make it work
Michael> like before. Arrgggh.
well, my RH 7.1 (krud 2001-07) box at work is quite happy with xauth,
so i don't think that's the problem. it's probably the firewall.
Michael> So what do you do to get tunneling to work with this? I have
Michael> ssh working between the two boxes. How do I get the remote
Michael> guy to tunnel his X client over to the RH 7.1 box?
you have to make sure that your local ssh (client) is configured to
ask for X forwarding, and that the remote sshd (server) is configured
to allow it. look in ~/.ssh/config and /etc/ssh/sshd_config,
respectively. the relevant options are:
# grep X11 ~tkil/.ssh/config /etc/ssh/sshd_config
/home/tkil/.ssh/config:ForwardX11 yes
/etc/ssh/sshd_config:X11Forwarding yes
/etc/ssh/sshd_config:X11DisplayOffset 10
lovely gratuitous inconsistencies, but oh well. (also, this is my 6.x
box here at home -- i don't have a 7.x box handy...)
once you have those values, and restart the sshd on the server side,
the next connection should automatically set the DISPLAY environment
variable for the remote shell, and it should work without further
adjustment.
t.
From walter at frii.com Wed Aug 22 20:29:38 2001
From: walter at frii.com (Walter Pienciak)
Date: Wed, 22 Aug 2001 20:29:38 -0600 (MDT)
Subject: [lug] Rhythms is closing
In-Reply-To: <20010822163611.I3082@saturn.enron.net>
Message-ID:
On Wed, 22 Aug 2001, dan radom wrote:
> frii has some pretty unrealistic transfer limits...2Gig a month down before additional charges are tacked on.
>
> dan
Are you sure about those numbers?
http://www.frii.com/services/dsl.html has different info.
Personally, I've had a FRII DSL account for almost 3 years, and have
no problem recommending them. They have a good technical staff who
give you straight answers.
Walter
From gsexton at mhsoftware.com Wed Aug 22 20:45:41 2001
From: gsexton at mhsoftware.com (George Sexton)
Date: Wed, 22 Aug 2001 20:45:41 -0600
Subject: [lug] Rhythms is closing
In-Reply-To: <20010822163611.I3082@saturn.enron.net>
Message-ID:
Actually you should look at their current plan:
http://www.frii.com/services/dsl.html
10GB is the bottom end.
I have had their service for almost two years with ADSL and they are pretty
good.
-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of dan radom
Sent: 22 August, 2001 4:36 PM
To: lug at lug.boulder.co.us
Subject: Re: [lug] Rhythms is closing
frii has some pretty unrealistic transfer limits...2Gig a month down before
additional charges are tacked on.
dan
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From rob at pangalactic.org Wed Aug 22 21:32:06 2001
From: rob at pangalactic.org (Rob Riggs)
Date: Wed, 22 Aug 2001 21:32:06 -0600
Subject: [lug] RH7.1 and remote display of X apps
References: <200108222317.SAA28468@feynman.graphics-muse.org>
Message-ID: <3B847936.8050301@pangalactic.org>
Tkil wrote:
># grep X11 ~tkil/.ssh/config /etc/ssh/sshd_config
> /home/tkil/.ssh/config:ForwardX11 yes
> /etc/ssh/sshd_config:X11Forwarding yes
> /etc/ssh/sshd_config:X11DisplayOffset 10
>
>lovely gratuitous inconsistencies, but oh well. (also, this is my 6.x
>box here at home -- i don't have a 7.x box handy...)
>
>once you have those values, and restart the sshd on the server side,
>the next connection should automatically set the DISPLAY environment
>variable for the remote shell, and it should work without further
>adjustment.
>
Except it doesn't. I never used to have X11 forwarding problems with
SSH, but I just went round and round with this problem this evening. I
gave up and noticed this thread. Forwarding that used to work no longer
does. The application just seems to hang. And there is no error logged
anywhere that I can see.
In the past if X11 forwarding was turned off at the client or server,
the DISPLAY variable was not set. The DISPLAY variable is set, all of
the config files (server and client) allow X11 forwarding.
This is odd.
From walter at frii.com Wed Aug 22 21:29:30 2001
From: walter at frii.com (Walter Pienciak)
Date: Wed, 22 Aug 2001 21:29:30 -0600 (MDT)
Subject: [lug] Unix culture
Message-ID:
I'm reading right now an excerpt of an upcoming book, and enjoying
it a bunch:
http://www.unixreview.com/articles/books/book24/JoyofLinux_Ch04.pdf
emacs/vi, KDE/GNOME, C/C++ . . .
The chapter is freely available for downloading.
Walter
From mjhammel at graphics-muse.org Wed Aug 22 21:59:39 2001
From: mjhammel at graphics-muse.org (Michael J. Hammel)
Date: Wed, 22 Aug 2001 22:59:39 -0500 (CDT)
Subject: [lug] RH7.1 and remote display of X apps
In-Reply-To: from "Tkil" at Aug 22, 2001 07:27:10 PM
Message-ID: <200108230359.WAA29263@feynman.graphics-muse.org>
Thus spoke Tkil
> xauth is pretty easy. on an xterm that is connected happily to your
> server, type in:
>
> xauth list | grep $DISPLAY
>
> you should see something like:
>
> myhost.mydomain.com:0 MIT-MAGIC-COOKIE-1 deadbeefdeadbeefdeadbeefdeadbeef
>
> open a connection to the remote machine. (i typically use another
> xterm for this.) on that machine, type in "xauth add " but don't hit
> return yet. use your mouse to select the whole line from the previous
> command (in the other window), then paste it into the remote session.
> this should include the return at the end of the line, so it will
> process that.
>
> then you have to set the DISPLAY variable on the remote machine as you
> would normally. after that, it should just work. the usual warnings
It doesn't work. I get the following:
mjhammel(tty4)$ xauth add kepler.graphics-muse.org/unix:0 MIT-MAGIC-COOKIE-1 2a57190fe60f089d6598ae638471d0b7
mjhammel(tty4)$ display
kepler:0
mjhammel(tty4)$ xterm
_X11TransSocketINETConnect: Can't connect: errno = 111
_X11TransSocketINETConnect: Can't connect: errno = 111
The TCP connection is being rejected by the server for some reason. I
can't figure out why.
> well, my RH 7.1 (krud 2001-07) box at work is quite happy with xauth,
> so i don't think that's the problem. it's probably the firewall.
Possibly, though I configured with isinglass the way my 6.2 boxes were set
up (and they allow remote X display). It still doesn't help.
> # grep X11 ~tkil/.ssh/config /etc/ssh/sshd_config
> /home/tkil/.ssh/config:ForwardX11 yes
> /etc/ssh/sshd_config:X11Forwarding yes
> /etc/ssh/sshd_config:X11DisplayOffset 10
>
> lovely gratuitous inconsistencies, but oh well. (also, this is my 6.x
> box here at home -- i don't have a 7.x box handy...)
>
> once you have those values, and restart the sshd on the server side,
> the next connection should automatically set the DISPLAY environment
> variable for the remote shell, and it should work without further
> adjustment.
I tried this too and it doesn't work. I have two systems: Feynman (RH6.2)
and Kepler (RH7.1).
If I run
ssh -X kepler xterm
on Feynman I get an xterm popped up on kepler that is running on kepler.
If I run
ssh -X feynman xterm
on Kepler, I get "xterm not found". Changing to
ssh -X feynman /usr/X11R6/bin/xterm
I get "can't open display." So, one last try:
ssh -X feynman "/usr/X11R6/bin/xterm -display kepler:0"
I'm back to
_X11TransSocketINETConnect: Can't connect: errno = 111
There is something funky about this X server configuration, but I'm not
sure where to look next.
--
Michael J. Hammel The Graphics Muse
mjhammel at graphics-muse.org http://www.graphics-muse.com
------------------------------------------------------------------------------
You should not confuse your career with your life. -- Unknown.
From alanr at unix.sh Wed Aug 22 22:06:28 2001
From: alanr at unix.sh (Alan Robertson)
Date: Wed, 22 Aug 2001 22:06:28 -0600
Subject: [lug] funny port numbers
Message-ID: <3B848144.1A477C32@unix.sh>
Hi,
I decided to look at the logs of the various ways people have tried to break
into my firewall. I know about many of the ports, and even some of the
exploits, but I'm at a loss for some of them.
At the end of this email is a list of counts and port numbers. The
mysteries to me include:
Ports 61K and up
Port 1243
Port 6970
Port 27374.
Does anyone know what these particular ports/exploits are about?
Also, what is microsoft-ds on port 445?
-- Alan Robertson
alanr at unix.sh
7 500 isakmp 500/tcp # isakmp
7 64478
8 65030
9 445 microsoft-ds 445/udp # Microsoft-DS
9 62059
9 63751
9 64168
11 64564
12 62500
12 62726
12 63324
12 64183
14 64045
16 62402
16 64555
19 63834
27 61144
37 1243
48 21 ftp 21/tcp # File Transfer [Control]
49 515 printer 515/tcp # spooler
76 53 DNS
103 27374
179 111 sunrpc 111/tcp # SUN Remote Procedure Call
485 6970
562 139 netbios-ssn 139/tcp # NETBIOS Session Service
686 137 netbios-ns 137/tcp # NETBIOS Name Service
From rotering at animalcules.com Wed Aug 22 23:03:03 2001
From: rotering at animalcules.com (rotering at animalcules.com)
Date: Wed, 22 Aug 2001 23:03:03 -0600
Subject: [lug] funny port numbers
In-Reply-To: <3B848144.1A477C32@unix.sh>; from alanr@unix.sh on Wed, Aug 22, 2001 at 10:06:28PM -0600
References: <3B848144.1A477C32@unix.sh>
Message-ID: <20010822230303.A792@amoeba>
On Wed, Aug 22, 2001 at 10:06:28PM -0600, Alan Robertson wrote:
> Does anyone know what these particular ports/exploits are about?
> Port 1243
No clue about this one but I see 1234 a lot as well.
> Port 27374.
This is a scan for the sub7 trojan (distributed through www.sub7.org).
From walter at frii.com Wed Aug 22 23:40:15 2001
From: walter at frii.com (Walter Pienciak)
Date: Wed, 22 Aug 2001 23:40:15 -0600 (MDT)
Subject: [lug] funny port numbers
In-Reply-To: <20010822230303.A792@amoeba>
Message-ID:
On Wed, 22 Aug 2001 rotering at animalcules.com wrote:
> On Wed, Aug 22, 2001 at 10:06:28PM -0600, Alan Robertson wrote:
>
> > Does anyone know what these particular ports/exploits are about?
>
> > Port 1243
>
> No clue about this one but I see 1234 a lot as well.
BackDoor-G, SubSeven, SubSeven Apocalypse, Tiles,
according to http://www.sans.org/newlook/resources/IDFAQ/oddports.htm
Walter
From ekilfoil at viawest.net Wed Aug 22 23:48:06 2001
From: ekilfoil at viawest.net (Eric Kilfoil)
Date: Wed, 22 Aug 2001 23:48:06 -0600 (MDT)
Subject: [lug] Rhythms is closing
In-Reply-To:
Message-ID:
I hate to do this since I work for the company, but ViaWest offers
services in Lafayette. Since I work for the company, I'm biased and
therefore really can't comment on the service. :) I do have DSL through
the company, and all of the problems that i've had have been Qwest
related. Then again, I do have an inside track on getting our support
staff to escalate issues with qwest :). Any viawest dsl users on this
list that care to comment?
Eric Kilfoil
Sr. UNIX Systems Administrator
ViaWest Internet Services
On Wed, 22 Aug 2001, Walter Pienciak wrote:
> On Wed, 22 Aug 2001, dan radom wrote:
>
> > frii has some pretty unrealistic transfer limits...2Gig a month down before additional charges are tacked on.
> >
> > dan
>
> Are you sure about those numbers?
>
> http://www.frii.com/services/dsl.html has different info.
>
> Personally, I've had a FRII DSL account for almost 3 years, and have
> no problem recommending them. They have a good technical staff who
> give you straight answers.
>
> Walter
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
From tkil at scrye.com Thu Aug 23 00:28:38 2001
From: tkil at scrye.com (Tkil)
Date: 23 Aug 2001 00:28:38 -0600
Subject: [lug] RH7.1 and remote display of X apps
In-Reply-To: "Michael J. Hammel"'s message of "Wed, 22 Aug 2001 22:59:39 -0500 (CDT)"
References: <200108230359.WAA29263@feynman.graphics-muse.org>
Message-ID:
>>>>> "Michael" == Michael J Hammel writes:
Michael> mjhammel(tty4)$ xauth add kepler.graphics-muse.org/unix:0 MIT-MAGIC-COOKIE-1 2a57190fe60f089d6598ae638471d0b7
adding the unix socket won't help any. :) you need to add it as
"kepler.graphics-muse.org:0" and set your display to the exact same
thing.
(sorry for the "grep $DISPLAY" stupidity, i couldn't think of a better
way to do it....)
i usually just look for "foo.bar.org:0" and cut-n-paste that line.
Michael> The TCP connection is being rejected by the server for some
Michael> reason. I can't figure out why.
i'm beginning to wonder if your X server is configured to listen to
TCP at all -- if it's using just unix domain sockets, i'm not sure
that sshd is clever enough to redirect that, and it would obviously
explain why xhost/xauth isn't giving you any joy either.
Michael> There is something funky about this X server configuration,
Michael> but I'm not sure where to look next.
see above. it wouldn't surprise me if the TCP listening socket was
turned off by default....
t.
From ekilfoil at viawest.net Thu Aug 23 00:56:06 2001
From: ekilfoil at viawest.net (Eric Kilfoil)
Date: Thu, 23 Aug 2001 00:56:06 -0600 (MDT)
Subject: [lug] Unix culture
In-Reply-To:
Message-ID:
This is great reading... thanks! as we all know, vi users are superior :)
eric
On Wed, 22 Aug 2001, Walter Pienciak wrote:
> I'm reading right now an excerpt of an upcoming book, and enjoying
> it a bunch:
>
> http://www.unixreview.com/articles/books/book24/JoyofLinux_Ch04.pdf
>
> emacs/vi, KDE/GNOME, C/C++ . . .
>
> The chapter is freely available for downloading.
>
>
> Walter
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
From teece at silverklein.net Thu Aug 23 01:09:10 2001
From: teece at silverklein.net (Timothy Klein)
Date: Thu, 23 Aug 2001 01:09:10 -0600
Subject: [lug] RH7.1 and remote display of X apps
In-Reply-To: <200108230359.WAA29263@feynman.graphics-muse.org>
References: <200108230359.WAA29263@feynman.graphics-muse.org>
Message-ID: <20010823010910.A30850@keats>
I'm not using RedHat, but in Debian they consider remote X uneeded and
dangerous, so it is disabled by default. Check out how your X server is
being started -- the abitlity to listen for TCP connects can be
completely disabled when your server is started, either by startx or xdm.
This is the same kind of problem I get in a fresh Debian install.
On my Debian box, for startx, there is a file called:
/etc/X11/xinit/xserverrc
It containted the following line:
exec /usr/bin/X11/X -dpi 100 -nolisten tcp
The -nolisten tcp had to be removed if remote X was wanted.
There is something similar for XDM, but I can't remember the name of the
file right now, and I don't currenlty have XDM installed.
Sorry, I don't know where Redhat keeps these file, but is has got to
have them. Maybe somebody else can chime in.
HTH
Tim
* Michael J. Hammel (mjhammel at graphics-muse.org) wrote:
> Thus spoke Tkil
> > xauth is pretty easy. on an xterm that is connected happily to your
> > server, type in:
> >
> > xauth list | grep $DISPLAY
> >
> > you should see something like:
> >
> > myhost.mydomain.com:0 MIT-MAGIC-COOKIE-1 deadbeefdeadbeefdeadbeefdeadbeef
> >
> > open a connection to the remote machine. (i typically use another
> > xterm for this.) on that machine, type in "xauth add " but don't hit
> > return yet. use your mouse to select the whole line from the previous
> > command (in the other window), then paste it into the remote session.
> > this should include the return at the end of the line, so it will
> > process that.
> >
> > then you have to set the DISPLAY variable on the remote machine as you
> > would normally. after that, it should just work. the usual warnings
>
> It doesn't work. I get the following:
>
> mjhammel(tty4)$ xauth add kepler.graphics-muse.org/unix:0 MIT-MAGIC-COOKIE-1 2a57190fe60f089d6598ae638471d0b7
>
> mjhammel(tty4)$ display
> kepler:0
>
> mjhammel(tty4)$ xterm
> _X11TransSocketINETConnect: Can't connect: errno = 111
> _X11TransSocketINETConnect: Can't connect: errno = 111
>
> The TCP connection is being rejected by the server for some reason. I
> can't figure out why.
>
> > well, my RH 7.1 (krud 2001-07) box at work is quite happy with xauth,
> > so i don't think that's the problem. it's probably the firewall.
>
> Possibly, though I configured with isinglass the way my 6.2 boxes were set
> up (and they allow remote X display). It still doesn't help.
>
> > # grep X11 ~tkil/.ssh/config /etc/ssh/sshd_config
> > /home/tkil/.ssh/config:ForwardX11 yes
> > /etc/ssh/sshd_config:X11Forwarding yes
> > /etc/ssh/sshd_config:X11DisplayOffset 10
> >
> > lovely gratuitous inconsistencies, but oh well. (also, this is my 6.x
> > box here at home -- i don't have a 7.x box handy...)
> >
> > once you have those values, and restart the sshd on the server side,
> > the next connection should automatically set the DISPLAY environment
> > variable for the remote shell, and it should work without further
> > adjustment.
>
> I tried this too and it doesn't work. I have two systems: Feynman (RH6.2)
> and Kepler (RH7.1).
>
> If I run
>
> ssh -X kepler xterm
>
> on Feynman I get an xterm popped up on kepler that is running on kepler.
> If I run
>
> ssh -X feynman xterm
>
> on Kepler, I get "xterm not found". Changing to
>
> ssh -X feynman /usr/X11R6/bin/xterm
>
> I get "can't open display." So, one last try:
>
> ssh -X feynman "/usr/X11R6/bin/xterm -display kepler:0"
>
> I'm back to
>
> _X11TransSocketINETConnect: Can't connect: errno = 111
>
> There is something funky about this X server configuration, but I'm not
> sure where to look next.
> --
> Michael J. Hammel The Graphics Muse
> mjhammel at graphics-muse.org http://www.graphics-muse.com
> ------------------------------------------------------------------------------
> You should not confuse your career with your life. -- Unknown.
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
==============================================
== Timothy Klein || teece at silverklein.net ==
== ---------------------------------------- ==
== "Hello, World" 17 Errors, 31 Warnings... ==
==============================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL:
From caldodge at fpcc.net Thu Aug 23 06:29:01 2001
From: caldodge at fpcc.net (Calvin Dodge)
Date: Thu, 23 Aug 2001 06:29:01 -0600
Subject: [lug] Rhythms is closing
In-Reply-To: ; from ekilfoil@viawest.net on Wed, Aug 22, 2001 at 11:48:06PM -0600
References:
Message-ID: <20010823062901.A11779@aberdeen.fpcc.net>
On Wed, Aug 22, 2001 at 11:48:06PM -0600, Eric Kilfoil wrote:
>
> I hate to do this since I work for the company, but ViaWest offers
> services in Lafayette. Since I work for the company, I'm biased and
> therefore really can't comment on the service. :) I do have DSL through
> the company, and all of the problems that i've had have been Qwest
> related. Then again, I do have an inside track on getting our support
> staff to escalate issues with qwest :). Any viawest dsl users on this
> list that care to comment?
My employer (Linko Data Systems) has had Viawest DSL for over 3 months now, and our problems, too, have all been Qwest-related. Yes, I'd have to say Viawest tech support is pretty decent (they _do_ know when to escalate the issue with Qwest).
I _do_ feel obligated to throw in my standard plug for _my_ ISP (Fairplay Communications - www.fpcc.net) - they also offer DSL in the same way (Qwest does the hardware side), and their tech support is pretty good (hi, Kirk!).
Calvin
--
Calvin Dodge
Certified Linux Bigot (tm)
http://www.caldodge.fpcc.net
From ljp at llornkcor.com Thu Aug 23 07:03:53 2001
From: ljp at llornkcor.com (ljp)
Date: Thu, 23 Aug 2001 07:03:53 -0600
Subject: [lug] Rhythms is closing
In-Reply-To: <000d01c129db$c847cd50$0928c240@manny9gbr0sby2>
Message-ID: <5.1.0.14.2.20010823070014.0204feb8@pop.peakpeak.com>
At 18:54 8/20/2001 -0600, you wrote:
>Hi,
> I was wondering if any of you know of a good reliable dsl provider in
>the Lafayette,CO area? My current dsl provider Rhythms is closing it's
>services next month and I'm in search of a replacement. As long as I can get
>a static ip and the provider is Linux friendly that will do. ADSL is also
>preferred since I have an ADSL hookup already set up.
>Best Wishes,
>
>Manny Roque
Check http://www.peakpeak.com
very linux friendly, as I believe one or more of their support or other
workers is on this list.
Very reliable. Only two short down times since last November, neither of
which I believe was their fault. (QWorst)
ljp
From plkey at home.com Thu Aug 23 08:33:03 2001
From: plkey at home.com (Prescott Oelke)
Date: Thu, 23 Aug 2001 08:33:03 -0600
Subject: [lug] Rhythms is closing
In-Reply-To: <5.1.0.14.2.20010823070014.0204feb8@pop.peakpeak.com>
Message-ID: <000201c12be0$844927a0$6c4f0341@c1566405a>
It looks like @home may soon be joining Rythms and the long list of DSL
providers in going under. I hope AT&T isn't just going to let it's
subscribers lose service but you never know. What really stinks though
is if they go under I can't get DSL so it's back to dial-up for me. Gee,
I love this modern world we live in.
Prescott Oelke
-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]
On Behalf Of ljp
Sent: Thursday, August 23, 2001 7:04 AM
To: lug at lug.boulder.co.us
Subject: Re: [lug] Rhythms is closing
At 18:54 8/20/2001 -0600, you wrote:
>Hi,
> I was wondering if any of you know of a good reliable dsl provider
in
>the Lafayette,CO area? My current dsl provider Rhythms is closing it's
>services next month and I'm in search of a replacement. As long as I
can get
>a static ip and the provider is Linux friendly that will do. ADSL is
also
>preferred since I have an ADSL hookup already set up.
>Best Wishes,
>
>Manny Roque
Check http://www.peakpeak.com
very linux friendly, as I believe one or more of their support or other
workers is on this list.
Very reliable. Only two short down times since last November, neither of
which I believe was their fault. (QWorst)
ljp
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From glow at jackmoves.com Thu Aug 23 08:47:30 2001
From: glow at jackmoves.com (Justin)
Date: Thu, 23 Aug 2001 08:47:30 -0600 (MDT)
Subject: [lug] xinetd on or off?
Message-ID: <20010823144730.B03443A62@oldschool.jackmoves.com>
This might be a simple question but I never really thought of it until
now. If I have a machine that has xinetd installed and running, but
does not use any services via xinetd, do I even need xinetd running or
installed?
Here is how xinetd gets started up:
Aug 22 21:07:53 deviant xinetd[978]: xinetd Version 2.1.8.9pre15
started with libwrap options compiled in.
Aug 22 21:07:53 deviant xinetd[978]: Started working: 0 available
service
I'm guessing since I use 0 services thru xinetd that I can turn it off
and/or remove it. Is this correct?
Justin
-----
glow at jackmoves.com
www.jackmoves.com
From glow at jackmoves.com Thu Aug 23 09:00:19 2001
From: glow at jackmoves.com (Justin)
Date: Thu, 23 Aug 2001 09:00:19 -0600 (MDT)
Subject: [lug] Adding user to two machines at once?
Message-ID: <20010823150019.19E713A62@oldschool.jackmoves.com>
NIS is not an option. Maybe LDAP but I've never used it. Would it be
difficult to migrate my current userbase into an LDAP database? Know of
any docs that could help with this? I'll check into it in the meantime.
Justin
> are either NIS or LDAP an option? if not expect can do all the real
work. it even ships with an example passwd / adduser script.
>
> * Justin (glow at jackmoves.com) wrote:
> > I have a couple of servers that I have users on. One server
contains
> > every user while the other server contains only a select few of
those
> > users. Currently what I have been doing is when I get a new user, I
add
> > them to the primary server, then if necessary I add them again to
the
> > secondary server. What are some ways to make this procedure a
little
> > simpler? What I was thinking was writing a script that I can run on
the
> > primary server which adds the user, then prompts me if I want to
add
> > the same user to the secondary box. The script of course would need
to
> > somehow log into the secondary box and add the user there. That is
what
> > I don't know how to do. Does anyone have any suggestions on how to
> > accomplish this? Or an alternative that might be better for my
> > situation?
> >
> > BTW, the uid's or gid's do not need to be the same between the
> > machines, simply the username and preferably the initial temp
passwd.
> >
> > TIA,
> > Justin
> > -----
> > glow at jackmoves.com
> > www.jackmoves.com
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
>
-----
glow at jackmoves.com
www.jackmoves.com
From dradom at redback.com Thu Aug 23 09:00:51 2001
From: dradom at redback.com (dan radom)
Date: Thu, 23 Aug 2001 09:00:51 -0600
Subject: [lug] xinetd on or off?
In-Reply-To: <20010823144730.B03443A62@oldschool.jackmoves.com>
References: <20010823144730.B03443A62@oldschool.jackmoves.com>
Message-ID: <20010823090050.D842@saturn>
absolutely correct
dan
* Justin (glow at jackmoves.com) wrote:
> This might be a simple question but I never really thought of it until
> now. If I have a machine that has xinetd installed and running, but
> does not use any services via xinetd, do I even need xinetd running or
> installed?
> Here is how xinetd gets started up:
> Aug 22 21:07:53 deviant xinetd[978]: xinetd Version 2.1.8.9pre15
> started with libwrap options compiled in.
> Aug 22 21:07:53 deviant xinetd[978]: Started working: 0 available
> service
>
> I'm guessing since I use 0 services thru xinetd that I can turn it off
> and/or remove it. Is this correct?
From plkey at home.com Thu Aug 23 10:08:34 2001
From: plkey at home.com (Prescott Oelke)
Date: Thu, 23 Aug 2001 10:08:34 -0600
Subject: [lug] Linux in schools
In-Reply-To: <20010823150019.19E713A62@oldschool.jackmoves.com>
Message-ID: <000001c12bed$dc2facc0$6c4f0341@c1566405a>
An interesting article about something happening in our own back yard
http://www.wired.com/news/school/0,1383,45862,00.html
Sometimes I think that Microsoft may be it's own worst enemy.
Prescott Oelke
From nunar at nunar.com Thu Aug 23 13:09:05 2001
From: nunar at nunar.com (Shannon Johnston)
Date: Thu, 23 Aug 2001 13:09:05 -0600 (MDT)
Subject: [lug] Linux in schools
In-Reply-To: <000001c12bed$dc2facc0$6c4f0341@c1566405a>
Message-ID:
Hmmm... I would tend to agree.
http://www.latimes.com/business/la-082301micro.story
Shannon Johnston
nunar at nunar.com
--------------------------------
Hiroshima '45 Chernobyl '86 Windows '95
--------------------------------
On Thu, 23 Aug 2001, Prescott Oelke wrote:
> An interesting article about something happening in our own back yard
> http://www.wired.com/news/school/0,1383,45862,00.html
>
> Sometimes I think that Microsoft may be it's own worst enemy.
>
> Prescott Oelke
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
From stimits at idcomm.com Thu Aug 23 13:11:30 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 13:11:30 -0600
Subject: [lug] looking for TeX viewer/print
Message-ID: <3B855562.CE67DD8D@idcomm.com>
I'm using an html format resume, and am in a bit of a hurry to do some
printing. I have html2latex, and html2ps. The problem with html2ps is
that I can't get rid of its attempt to create an index type header line
on every page to url links...I don't want anything in the header/footer.
The problem with the LaTeX version is that I apparently have nothing to
directly view the results, or print it. I have LyX, but the import of
LaTeX is greyed out, and not available.
How can I view and print LaTeX? What tool is recommended? (I may already
have it, I don't have a lot of time to research it though)
D. Stimits, stimits at idcomm.com
From dajo at frii.com Thu Aug 23 13:29:43 2001
From: dajo at frii.com (David)
Date: Thu, 23 Aug 2001 13:29:43 -0600
Subject: [lug] Socket Error
Message-ID: <200108231929.f7NJThd01830@Rednose.Anthrax>
I think that I have a Linux (firewall?, or ?) configuration error; but
it needs a little background explanation.
I am successfully accessing a remote machine over the net using a
socket, which is established by a function call in a programme; the
calling source code sees the socket access as a byte stream. I have a
lot of development to do and decided to create a stream by accessing a
local file instead of the net; there is a standard call in the
programming language to do this kind of access. The changes in the
function call are trivially different for the two cases, which makes
me think that I have a Linux system problem. Also, the error messages
strongly indicate something outside the programme. I am hoping that
someone will recognise symptoms of a Linux problem.
If the file does not exist I get this; pretty good: "No such file or
directory".
Error: creating a socket and connecting to remote socket nil resulted
in error (code 2): No such file or directory.
If the file exists I get this, even if the file permissions are wide
open 777 all the way from /
Error: "Connection refused" (errno 111) occured while
creating a socket and connecting to remote socket.
Since I am using a socket I wonder if my firewall, or ?, is getting in
the way.
# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
# firewall; such entries will *not* be listed here.
:input ACCEPT
:forward ACCEPT
:output ACCEPT
-A input -s 0/0 -d 0/0 -i lo -j ACCEPT
-A input -s 216.17.128.1 53 -d 0/0 -p udp -j ACCEPT
-A input -s 216.17.128.2 53 -d 0/0 -p udp -j ACCEPT
-A input -s 0/0 -d 0/0 -p tcp -y -j REJECT
-A input -s 0/0 -d 0/0 -p udp -j REJECT
dajo
From gmurray at Mines.EDU Thu Aug 23 13:32:59 2001
From: gmurray at Mines.EDU (Glenn Murray)
Date: Thu, 23 Aug 2001 13:32:59 -0600 (MDT)
Subject: [lug] looking for TeX viewer/print
In-Reply-To: <3B855562.CE67DD8D@idcomm.com>
Message-ID:
For viewing/printing latex I've had good results with pdflatex. If
you start with gnuhtml2latex you won't get headers. I don't know
about html2latex.
Glenn Murray
www.mines.edu/~glenn/public_html/Welcome.html
On Thu, 23 Aug 2001, D. Stimits wrote:
> I'm using an html format resume, and am in a bit of a hurry to do some
> printing. I have html2latex, and html2ps. The problem with html2ps is
> that I can't get rid of its attempt to create an index type header line
> on every page to url links...I don't want anything in the header/footer.
> The problem with the LaTeX version is that I apparently have nothing to
> directly view the results, or print it. I have LyX, but the import of
> LaTeX is greyed out, and not available.
>
> How can I view and print LaTeX? What tool is recommended? (I may already
> have it, I don't have a lot of time to research it though)
>
> D. Stimits, stimits at idcomm.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
From dajo at frii.com Thu Aug 23 13:38:04 2001
From: dajo at frii.com (David)
Date: Thu, 23 Aug 2001 13:38:04 -0600
Subject: [lug] looking for TeX viewer/print
In-Reply-To: <3B855562.CE67DD8D@idcomm.com> (stimits@idcomm.com)
References: <3B855562.CE67DD8D@idcomm.com>
Message-ID: <200108231938.f7NJc4101860@Rednose.Anthrax>
> How can I view and print LaTeX? What tool is recommended? (I may already
> have it, I don't have a lot of time to research it though)
Compile the source with
latex filename
this produces a filename.dvi file
then use xdvi to view the .dvi file
or use dvips to produce a .ps file and use ghostview.
I recommend using xdvi.
dajo
From wallen at lug.boulder.co.us Thu Aug 23 13:39:12 2001
From: wallen at lug.boulder.co.us (J. Wayde Allen)
Date: Thu, 23 Aug 2001 13:39:12 -0600 (MDT)
Subject: [lug] looking for TeX viewer/print
In-Reply-To: <3B855562.CE67DD8D@idcomm.com>
Message-ID:
On Thu, 23 Aug 2001, D. Stimits wrote:
> I'm using an html format resume, and am in a bit of a hurry to do some
> printing. I have html2latex, and html2ps. The problem with html2ps is
> that I can't get rid of its attempt to create an index type header line
> on every page to url links...I don't want anything in the header/footer.
Why can't you just let your browser render the html page, and then select
"file -> print"?
Never heard of html2latex or html2ps. I've only been interested in going
the other way latex2html.
> The problem with the LaTeX version is that I apparently have nothing to
> directly view the results, or print it.
Depends on what you want to do here? If you have a LaTeX file it should
be nothing more than pure ASCII text. So in that sense you can view it
and or print it with any ASCII editor. Of course, that probably isn't
what you have in mind, but it does let you verify what your source file
looks like.
To print a LaTeX file you first have to run it through the LaTeX processor
to create a dvi file. That is done by typing:
latex yourfile.tex
You can then view the dvi file directly using xdvi or you can convert it
to postscript using dvips.
> I have LyX, but the import of
> LaTeX is greyed out, and not available.
I've only tinkered with LyX. It seemed OK, ... maybe, but since I'd
already invested some time in learning LaTeX it didn't do much for me. My
guess is that maybe Lyx doesn't think this is a real LaTeX file. That is
where taking a look with the ASCII pager or editor would be a good
idea. I think that you'd need at a minimum you'd need to see:
\begin{document}
The text of your document here.
\end{document}
- Wayde
(wallen at lug.boulder.co.us)
From stimits at idcomm.com Thu Aug 23 13:47:58 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 13:47:58 -0600
Subject: [lug] Socket Error
References: <200108231929.f7NJThd01830@Rednose.Anthrax>
Message-ID: <3B855DEE.DBBA0673@idcomm.com>
David wrote:
>
> I think that I have a Linux (firewall?, or ?) configuration error; but
> it needs a little background explanation.
>
> I am successfully accessing a remote machine over the net using a
> socket, which is established by a function call in a programme; the
> calling source code sees the socket access as a byte stream. I have a
> lot of development to do and decided to create a stream by accessing a
> local file instead of the net; there is a standard call in the
> programming language to do this kind of access. The changes in the
> function call are trivially different for the two cases, which makes
> me think that I have a Linux system problem. Also, the error messages
> strongly indicate something outside the programme. I am hoping that
> someone will recognise symptoms of a Linux problem.
>
> If the file does not exist I get this; pretty good: "No such file or
> directory".
> Error: creating a socket and connecting to remote socket nil resulted
> in error (code 2): No such file or directory.
>
> If the file exists I get this, even if the file permissions are wide
> open 777 all the way from /
> Error: "Connection refused" (errno 111) occured while
> creating a socket and connecting to remote socket.
>
> Since I am using a socket I wonder if my firewall, or ?, is getting in
> the way.
>
> # Firewall configuration written by lokkit
> # Manual customization of this file is not recommended.
> # Note: ifup-post will punch the current nameservers through the
> # firewall; such entries will *not* be listed here.
> :input ACCEPT
> :forward ACCEPT
> :output ACCEPT
> -A input -s 0/0 -d 0/0 -i lo -j ACCEPT
> -A input -s 216.17.128.1 53 -d 0/0 -p udp -j ACCEPT
> -A input -s 216.17.128.2 53 -d 0/0 -p udp -j ACCEPT
> -A input -s 0/0 -d 0/0 -p tcp -y -j REJECT
> -A input -s 0/0 -d 0/0 -p udp -j REJECT
Add "-l" to enable logging on the REJECT lines, then (asssuming RH 7.x)
restart ipchains (assuming this instead of iptables) via:
/etc/rc.d/init.d/ipchains restart
Test that ipchains really runs (do not use /etc/rc.d/init.d/ipchains for
this):
ipchains -L -n
(if rules spit out, it is running)
Monitor /var/log/messages with "tail -f -n 30 /var/log/messages" while
trying your app. It'll tell you if it is the firewall doing the
rejection.
In any other case, it probably means that your X11 ports do not have any
sort of daemon set to accept tcp/ip (local uses udp). The related
possibility is authentication failure (a recent topic).
D. Stimits, stimits at idcomm.com
>
> dajo
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Thu Aug 23 13:50:42 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 13:50:42 -0600
Subject: [lug] looking for TeX viewer/print
References:
Message-ID: <3B855E92.9914BB00@idcomm.com>
"J. Wayde Allen" wrote:
>
> On Thu, 23 Aug 2001, D. Stimits wrote:
>
> > I'm using an html format resume, and am in a bit of a hurry to do some
> > printing. I have html2latex, and html2ps. The problem with html2ps is
> > that I can't get rid of its attempt to create an index type header line
> > on every page to url links...I don't want anything in the header/footer.
>
> Why can't you just let your browser render the html page, and then select
> "file -> print"?
I can, but it screws up the format royally. What is displayed is far
from what prints, it is a quality issue.
>
> Never heard of html2latex or html2ps. I've only been interested in going
> the other way latex2html.
>
> > The problem with the LaTeX version is that I apparently have nothing to
> > directly view the results, or print it.
>
> Depends on what you want to do here? If you have a LaTeX file it should
> be nothing more than pure ASCII text. So in that sense you can view it
> and or print it with any ASCII editor. Of course, that probably isn't
> what you have in mind, but it does let you verify what your source file
> looks like.
I need a WYSIWYG viewer, it is for a resume, my printer is nearly out of
ink, and generally does a poor job anyway.
>
> To print a LaTeX file you first have to run it through the LaTeX processor
> to create a dvi file. That is done by typing:
>
> latex yourfile.tex
Aha, yes, this should do, because as you mention below, I can view dvi.
>
> You can then view the dvi file directly using xdvi or you can convert it
> to postscript using dvips.
>
> > I have LyX, but the import of
> > LaTeX is greyed out, and not available.
>
> I've only tinkered with LyX. It seemed OK, ... maybe, but since I'd
> already invested some time in learning LaTeX it didn't do much for me. My
> guess is that maybe Lyx doesn't think this is a real LaTeX file. That is
> where taking a look with the ASCII pager or editor would be a good
> idea. I think that you'd need at a minimum you'd need to see:
>
> \begin{document}
>
> The text of your document here.
>
> \end{document}
>
> - Wayde
> (wallen at lug.boulder.co.us)
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Thu Aug 23 13:51:09 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 13:51:09 -0600
Subject: [lug] looking for TeX viewer/print
References: <3B855562.CE67DD8D@idcomm.com> <200108231938.f7NJc4101860@Rednose.Anthrax>
Message-ID: <3B855EAD.AD5DCD1F@idcomm.com>
David wrote:
>
> > How can I view and print LaTeX? What tool is recommended? (I may already
> > have it, I don't have a lot of time to research it though)
>
> Compile the source with
> latex filename
> this produces a filename.dvi file
> then use xdvi to view the .dvi file
> or use dvips to produce a .ps file and use ghostview.
>
> I recommend using xdvi.
>
> dajo
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
I'll give this a shot, dvi would be a good alternative.
D. Stimits, stimits at idcomm.com
From herod at interact-tv.com Thu Aug 23 13:50:47 2001
From: herod at interact-tv.com (Scott A. Herod)
Date: Thu, 23 Aug 2001 13:50:47 -0600
Subject: [lug] Socket Error
References: <200108231929.f7NJThd01830@Rednose.Anthrax>
Message-ID: <3B855E97.F627AC53@interact-tv.com>
Hi David,
Let me see if I understand, you can connect to a remote machine
with a socket but not a local file? Is it possible that your function
call is still trying to make a connection to a socket. Hmmm, but your
loopback interface should be open according to the ipchains stuff you
sent, so that's not it. ( Check by telneting to the socket on your
local machine. )
If it's not that funny language with all the parentheses that you
like, :-) can you send a bit of the code?
Scott
David wrote:
>
> I think that I have a Linux (firewall?, or ?) configuration error; but
> it needs a little background explanation.
>
> I am successfully accessing a remote machine over the net using a
> socket, which is established by a function call in a programme; the
> calling source code sees the socket access as a byte stream. I have a
> lot of development to do and decided to create a stream by accessing a
> local file instead of the net; there is a standard call in the
> programming language to do this kind of access. The changes in the
> function call are trivially different for the two cases, which makes
> me think that I have a Linux system problem. Also, the error messages
> strongly indicate something outside the programme. I am hoping that
> someone will recognise symptoms of a Linux problem.
>
> If the file does not exist I get this; pretty good: "No such file or
> directory".
> Error: creating a socket and connecting to remote socket nil resulted
> in error (code 2): No such file or directory.
>
> If the file exists I get this, even if the file permissions are wide
> open 777 all the way from /
> Error: "Connection refused" (errno 111) occured while
> creating a socket and connecting to remote socket.
>
> Since I am using a socket I wonder if my firewall, or ?, is getting in
> the way.
>
> # Firewall configuration written by lokkit
> # Manual customization of this file is not recommended.
> # Note: ifup-post will punch the current nameservers through the
> # firewall; such entries will *not* be listed here.
> :input ACCEPT
> :forward ACCEPT
> :output ACCEPT
> -A input -s 0/0 -d 0/0 -i lo -j ACCEPT
> -A input -s 216.17.128.1 53 -d 0/0 -p udp -j ACCEPT
> -A input -s 216.17.128.2 53 -d 0/0 -p udp -j ACCEPT
> -A input -s 0/0 -d 0/0 -p tcp -y -j REJECT
> -A input -s 0/0 -d 0/0 -p udp -j REJECT
>
> dajo
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Thu Aug 23 14:02:46 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 14:02:46 -0600
Subject: [lug] looking for TeX viewer/print
References:
Message-ID: <3B856166.8C8E2E7@idcomm.com>
Glenn Murray wrote:
>
> For viewing/printing latex I've had good results with pdflatex. If
> you start with gnuhtml2latex you won't get headers. I don't know
> about html2latex.
I have pdflatex available, and will download gnuhtml2latex right now to
try, thank you.
D. Stimits, stimits at idcomm.com
>
> Glenn Murray
> www.mines.edu/~glenn/public_html/Welcome.html
>
> On Thu, 23 Aug 2001, D. Stimits wrote:
>
> > I'm using an html format resume, and am in a bit of a hurry to do some
> > printing. I have html2latex, and html2ps. The problem with html2ps is
> > that I can't get rid of its attempt to create an index type header line
> > on every page to url links...I don't want anything in the header/footer.
> > The problem with the LaTeX version is that I apparently have nothing to
> > directly view the results, or print it. I have LyX, but the import of
> > LaTeX is greyed out, and not available.
> >
> > How can I view and print LaTeX? What tool is recommended? (I may already
> > have it, I don't have a lot of time to research it though)
> >
> > D. Stimits, stimits at idcomm.com
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From wallen at lug.boulder.co.us Thu Aug 23 14:02:09 2001
From: wallen at lug.boulder.co.us (J. Wayde Allen)
Date: Thu, 23 Aug 2001 14:02:09 -0600 (MDT)
Subject: [lug] looking for TeX viewer/print
In-Reply-To: <3B855E92.9914BB00@idcomm.com>
Message-ID:
On Thu, 23 Aug 2001, D. Stimits wrote:
> I can, but it screws up the format royally. What is displayed is far
> from what prints, it is a quality issue.
OK, that makes sense ... well it doesn't really makes sense since it
"shouldn't" do that, but lets just say I understand.
> Aha, yes, this should do, because as you mention below, I can view dvi.
If you are still having problems toss me a copy of the LaTeX
document. I could take a look and see if I see anything fundamentally
wrong with it.
- Wayde
(wallen at lug.boulder.co.us)
From dajo at frii.com Thu Aug 23 14:20:04 2001
From: dajo at frii.com (David)
Date: Thu, 23 Aug 2001 14:20:04 -0600
Subject: [lug] Socket Error
In-Reply-To: <3B855DEE.DBBA0673@idcomm.com> (stimits@idcomm.com)
References: <200108231929.f7NJThd01830@Rednose.Anthrax> <3B855DEE.DBBA0673@idcomm.com>
Message-ID: <200108232020.f7NKK4R02048@Rednose.Anthrax>
> > # Firewall configuration written by lokkit
> > # Manual customization of this file is not recommended.
> > # Note: ifup-post will punch the current nameservers through the
> > # firewall; such entries will *not* be listed here.
> > :input ACCEPT
> > :forward ACCEPT
> > :output ACCEPT
> > -A input -s 0/0 -d 0/0 -i lo -j ACCEPT
> > -A input -s 216.17.128.1 53 -d 0/0 -p udp -j ACCEPT
> > -A input -s 216.17.128.2 53 -d 0/0 -p udp -j ACCEPT
> > -A input -s 0/0 -d 0/0 -p tcp -y -j REJECT
> > -A input -s 0/0 -d 0/0 -p udp -j REJECT
>
> Add "-l" to enable logging on the REJECT lines, then (asssuming RH 7.x)
> restart ipchains (assuming this instead of iptables) via:
> /etc/rc.d/init.d/ipchains restart
But isn't it the lo line that possibly is relevant here?
>
> Test that ipchains really runs (do not use /etc/rc.d/init.d/ipchains for
> this):
> ipchains -L -n
> (if rules spit out, it is running)
>
> Monitor /var/log/messages with "tail -f -n 30 /var/log/messages" while
> trying your app. It'll tell you if it is the firewall doing the
> rejection.
I tried this. There was no messages activity at all. That is good,
though: it eliminates the firewall. I never was quite comfortable
with that explanation.
> In any other case, it probably means that your X11 ports do not have any
> sort of daemon set to accept tcp/ip (local uses udp). The related
> possibility is authentication failure (a recent topic).
>
> D. Stimits, stimits at idcomm.com
Now this is interesting. I looked briefly at the man page for xauth
this morning, I stopped when I saw it was for X. But maybe that was
bad thinking. Can you help some more with this (I know that you are
busy with xdvi 8-)
dajo
From stimits at idcomm.com Thu Aug 23 14:29:24 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 14:29:24 -0600
Subject: [lug] Socket Error
References: <200108231929.f7NJThd01830@Rednose.Anthrax> <3B855DEE.DBBA0673@idcomm.com> <200108232020.f7NKK4R02048@Rednose.Anthrax>
Message-ID: <3B8567A4.1A635151@idcomm.com>
David wrote:
>
> > > # Firewall configuration written by lokkit
> > > # Manual customization of this file is not recommended.
> > > # Note: ifup-post will punch the current nameservers through the
> > > # firewall; such entries will *not* be listed here.
> > > :input ACCEPT
> > > :forward ACCEPT
> > > :output ACCEPT
> > > -A input -s 0/0 -d 0/0 -i lo -j ACCEPT
> > > -A input -s 216.17.128.1 53 -d 0/0 -p udp -j ACCEPT
> > > -A input -s 216.17.128.2 53 -d 0/0 -p udp -j ACCEPT
> > > -A input -s 0/0 -d 0/0 -p tcp -y -j REJECT
> > > -A input -s 0/0 -d 0/0 -p udp -j REJECT
> >
> > Add "-l" to enable logging on the REJECT lines, then (asssuming RH 7.x)
> > restart ipchains (assuming this instead of iptables) via:
> > /etc/rc.d/init.d/ipchains restart
>
> But isn't it the lo line that possibly is relevant here?
>
> >
> > Test that ipchains really runs (do not use /etc/rc.d/init.d/ipchains for
> > this):
> > ipchains -L -n
> > (if rules spit out, it is running)
> >
> > Monitor /var/log/messages with "tail -f -n 30 /var/log/messages" while
> > trying your app. It'll tell you if it is the firewall doing the
> > rejection.
>
> I tried this. There was no messages activity at all. That is good,
> though: it eliminates the firewall. I never was quite comfortable
> with that explanation.
>
> > In any other case, it probably means that your X11 ports do not have any
> > sort of daemon set to accept tcp/ip (local uses udp). The related
> > possibility is authentication failure (a recent topic).
> >
> > D. Stimits, stimits at idcomm.com
>
> Now this is interesting. I looked briefly at the man page for xauth
> this morning, I stopped when I saw it was for X. But maybe that was
> bad thinking. Can you help some more with this (I know that you are
> busy with xdvi 8-)
Someone else mentioned use of telnet to test for service. If you telnet
to the X11 port, and it is summarily dropped, without any connection at
all, versus having a connection and then being rejected after typing in
some nonsense, you will know whether it is lack of tcp/ip or if it is
authentication. The port you are interested in is 6000 (also good to
monitor with tail -f /var/log/messages, plus the X11 log itself,
/var/log/XFree86.0.log). Simply try (adjust localhost or ip address):
telnet localhost 6000
Does it allow you to connect and type nonsense, or does it drop you
without the ability to connect at all? Summarily dropping you indicates
nothing is listening for tcp/ip there. Allowing you in but dropping you
after typing nonsense indicates you are likely working with
authentication failure. Authentication is a big can of worms, but you
can try this for each host (use command line so it isn't permanent) you
might need the X display to allow connections from:
xhost +
(without any url after the '+' should open it to all)
Alternatively:
xhost +127.0.0.1
(or adjust to a real outside address...can do more than one)
D. Stimits, stimits at idcomm.com
>
> dajo
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Thu Aug 23 14:32:28 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 14:32:28 -0600
Subject: [lug] looking for TeX viewer/print
References:
Message-ID: <3B85685C.4FA15FD7@idcomm.com>
"J. Wayde Allen" wrote:
>
> On Thu, 23 Aug 2001, D. Stimits wrote:
>
> > I can, but it screws up the format royally. What is displayed is far
> > from what prints, it is a quality issue.
>
> OK, that makes sense ... well it doesn't really makes sense since it
> "shouldn't" do that, but lets just say I understand.
Yes, the bane of the generic, perfectly "interchangeable"
language...interchangeable parts don't. Extension: Interchangeable
formatting isn't.
>
> > Aha, yes, this should do, because as you mention below, I can view dvi.
>
> If you are still having problems toss me a copy of the LaTeX
> document. I could take a look and see if I see anything fundamentally
> wrong with it.
I may do this as a postmortem, but I need to print, so I'll be able to
try postscript versions through ghostview, but other formats will need a
printable version anyway...the LaTeX is an intermediate on the way to
print. I want to solve my printing issues once and for all, rather than
having to send out documents to make them printable.
D. Stimits, stimits at idcomm.com
>
> - Wayde
> (wallen at lug.boulder.co.us)
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From dajo at frii.com Thu Aug 23 14:35:09 2001
From: dajo at frii.com (David)
Date: Thu, 23 Aug 2001 14:35:09 -0600
Subject: [lug] Socket Error
In-Reply-To: <3B855E97.F627AC53@interact-tv.com> (herod@interact-tv.com)
References: <200108231929.f7NJThd01830@Rednose.Anthrax> <3B855E97.F627AC53@interact-tv.com>
Message-ID: <200108232035.f7NKZ9Y02084@Rednose.Anthrax>
> Let me see if I understand, you can connect to a remote machine
> with a socket but not a local file?
That is correct. All I want is a byte stream in my code, the language
clearly offers the possibility of connecting to a file on the local
machine using the language's socket mechanism (is that standard in C,
Java, etc.?).
> Is it possible that your function
> call is still trying to make a connection to a socket. Hmmm, but your
> loopback interface should be open according to the ipchains stuff you
> sent, so that's not it. ( Check by telneting to the socket on your
> local machine. )
How do I telnet to "the" socket on my local machine, please?
>
> If it's not that funny language with all the parentheses that you
> like, :-) can you send a bit of the code?
Darn it - it is. But here it is anyway. It is hardly difficult, and
barely informative. All the smarts are in the make-socket function.
I do think that the correct "No such file or directory." message, and
the fact that the message changes when the file exists, taken together
tell us something;
>
> Scott
(defun establish-internet-stream (host port)
(socket:make-socket :type :stream
:format :bivalent
:address-family :internet
:connect :active
:remote-host host
:remote-port port))
(defun establish-file-stream (filename)
(socket:make-socket :type :stream
:format :bivalent
:address-family :file
:connect :active
:remote-filename filename))
(with-open-stream
(stream (establish-internet-stream
(uri-host uri)
(or (uri-port uri) 80)))
(with-open-stream
(stream (establish-file-stream
"/home/dajo/WORK/more/dir/konqueror8Do89a.tmp"))
dajo
From dajo at frii.com Thu Aug 23 14:53:03 2001
From: dajo at frii.com (David)
Date: Thu, 23 Aug 2001 14:53:03 -0600
Subject: [lug] Socket Error
In-Reply-To: <3B8567A4.1A635151@idcomm.com> (stimits@idcomm.com)
References: <200108231929.f7NJThd01830@Rednose.Anthrax> <3B855DEE.DBBA0673@idcomm.com> <200108232020.f7NKK4R02048@Rednose.Anthrax> <3B8567A4.1A635151@idcomm.com>
Message-ID: <200108232053.f7NKr3H02146@Rednose.Anthrax>
> Someone else mentioned use of telnet to test for service. If you telnet
> to the X11 port, and it is summarily dropped, without any connection at
> all, versus having a connection and then being rejected after typing in
> some nonsense, you will know whether it is lack of tcp/ip or if it is
> authentication. The port you are interested in is 6000 (also good to
> monitor with tail -f /var/log/messages, plus the X11 log itself,
> /var/log/XFree86.0.log). Simply try (adjust localhost or ip address):
> telnet localhost 6000
This is what I got. Nothing in messages (except see at the end)
Rednose dajo ~ telnet localhost 6000
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
garbage <- I type
garbage <- it gives
more garbage <- I type
more garbage <- it gives
Connection closed by foreign host.
Rednose dajo ~
> Does it allow you to connect and type nonsense, or does it drop you
> without the ability to connect at all? Summarily dropping you indicates
> nothing is listening for tcp/ip there. Allowing you in but dropping you
> after typing nonsense indicates you are likely working with
> authentication failure. Authentication is a big can of worms, but you
> can try this for each host (use command line so it isn't permanent) you
> might need the X display to allow connections from:
> xhost +
> (without any url after the '+' should open it to all)
> Alternatively:
> xhost +127.0.0.1
> (or adjust to a real outside address...can do more than one)
>
> D. Stimits, stimits at idcomm.com
Boy, I really thought that you were on to something, but it does not
work.
Rednose dajo ~ xhost
access control enabled, only authorized clients can connect
INET:localhost.localdomain
INET:Rednose.Anthrax
Extra bit:
I did get two kernel messages (two more literally while I was typing
this). I do not know what all the fields are; are these "enquiries"
from "friends" on the net?
Aug 23 13:29:14 Rednose pppd[1785]: Connect: ppp0 <--> /dev/modem
Aug 23 13:29:29 Rednose pppd[1785]: local IP address 216.17.156.54
Aug 23 13:29:29 Rednose pppd[1785]: remote IP address 216.17.156.226
Aug 23 14:09:46 Rednose ipchains: Flushing all current rules and user defined chains: succeeded
Aug 23 14:09:46 Rednose ipchains: Clearing all current rules and user defined chains: succeeded
Aug 23 14:09:46 Rednose ipchains: Applying ipchains firewall rules succeeded
Aug 23 14:20:05 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 216.17.175.194:4618 216.17.156.54:113 L=60 S=0x00 I=39517 F=0x4000 T=58 SYN (#4)
Aug 23 14:35:11 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 216.17.175.194:1472 216.17.156.54:113 L=60 S=0x00 I=36919 F=0x4000 T=58 SYN (#4)
Aug 23 14:48:16 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 211.161.246.245:4261 216.17.156.54:8080 L=48 S=0x00 I=3024 F=0x4000 T=109 SYN (#4)
Aug 23 14:48:18 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 211.161.246.245:4261 216.17.156.54:8080 L=48 S=0x00 I=3125 F=0x4000 T=109 SYN (#4)
dajo
From truskell at Mines.EDU Thu Aug 23 14:57:00 2001
From: truskell at Mines.EDU (Todd Ruskell)
Date: Thu, 23 Aug 2001 14:57:00 -0600
Subject: [lug] StarOffice & xwin32
Message-ID: <3B856E1C.15FA2816@Mines.EDU>
I have StarOffice installed on my Linux box. I need to display a
StarOffice presentation on a Windows box. The "easy" way to do this is
to install StarOffice on the windows box, but it's not clear if I can
actually make that happen, since the windows box is not under my
control.
The other way I have to do this is to use xwin-32. I tried this, and
initially had problems with the display of both some "regular" text
fonts, as well as display of equations. I added my machine as an
x-font-server, and this fixed all the display problems I was having with
the text fonts. However, the display of equations is still *very*
bad. It appears the windows box is trying to do a font mapping with a
close substitute, but it is obviously not working.
This begs a couple questions. First, why is StarOffice not getting the
equation fonts from my x-font-server? Second, how could I fix it
without having to install fonts, or StarOffice, on the Windows box? Any
font gurus out there with some suggestions?
Thanks,
Todd
--
Todd Ruskell, Ph.D.
Lecturer in Physics
Colorado School of Mines
Golden, CO 80401
303-384-2080
Fax: 303-273-3919
From kkinder at tridog.com Thu Aug 23 15:03:47 2001
From: kkinder at tridog.com (Ken Kinder)
Date: Thu, 23 Aug 2001 15:03:47 -0600
Subject: [lug] StarOffice & xwin32
References: <3B856E1C.15FA2816@Mines.EDU>
Message-ID: <3B856FB3.8E196CE2@tridog.com>
Export to power point?
Todd Ruskell wrote:
>
> I have StarOffice installed on my Linux box. I need to display a
> StarOffice presentation on a Windows box. The "easy" way to do this is
> to install StarOffice on the windows box, but it's not clear if I can
> actually make that happen, since the windows box is not under my
> control.
>
> The other way I have to do this is to use xwin-32. I tried this, and
> initially had problems with the display of both some "regular" text
> fonts, as well as display of equations. I added my machine as an
> x-font-server, and this fixed all the display problems I was having with
> the text fonts. However, the display of equations is still *very*
> bad. It appears the windows box is trying to do a font mapping with a
> close substitute, but it is obviously not working.
>
> This begs a couple questions. First, why is StarOffice not getting the
> equation fonts from my x-font-server? Second, how could I fix it
> without having to install fonts, or StarOffice, on the Windows box? Any
> font gurus out there with some suggestions?
>
> Thanks,
>
> Todd
>
> --
> Todd Ruskell, Ph.D.
> Lecturer in Physics
> Colorado School of Mines
> Golden, CO 80401
> 303-384-2080
> Fax: 303-273-3919
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From wallen at lug.boulder.co.us Thu Aug 23 15:04:41 2001
From: wallen at lug.boulder.co.us (J. Wayde Allen)
Date: Thu, 23 Aug 2001 15:04:41 -0600 (MDT)
Subject: [lug] looking for TeX viewer/print
In-Reply-To: <3B85685C.4FA15FD7@idcomm.com>
Message-ID:
On Thu, 23 Aug 2001, D. Stimits wrote:
> I may do this as a postmortem, but I need to print, so I'll be able to
> try postscript versions through ghostview, but other formats will need a
> printable version anyway...the LaTeX is an intermediate on the way to
> print.
OUCH! LaTeX doesn't really make a good intermediate. You're usually
better off making a LaTeX document and then processing that to get to the
other formats.
LaTeX ---> dvi ---> postscript
LaTeX ---> html
LaTeX ---> pdf
going from
html ---> LaTeX ---> dvi ---> postscript
definitely sounds like the act of a desperate man .
Heck a resume' "should" be pretty short. Might be about as quick to hand
convert the raw html to pure ASCII and then either roll this into a LaTeX
document or go to the word processor of your choice. Perhaps the
formating in the html document could also be fixed so the browser could
print it too?
> I want to solve my printing issues once and for all, rather than
> having to send out documents to make them printable.
Well ... then start with LaTeX .
- Wayde
(wallen at lug.boulder.co.us)
From efm at tummy.com Thu Aug 23 15:03:55 2001
From: efm at tummy.com (Evelyn Mitchell)
Date: Thu, 23 Aug 2001 15:03:55 -0600
Subject: [lug] StarOffice & xwin32
In-Reply-To: <3B856E1C.15FA2816@Mines.EDU>; from truskell@Mines.EDU on Thu, Aug 23, 2001 at 02:57:00PM -0600
References: <3B856E1C.15FA2816@Mines.EDU>
Message-ID: <20010823150355.A2561@tummy.com>
There is a small application that comes with StarOffice which
can be used to do presentations without installing the
full package.
You can download StarOffice for WinX, and install just the
presentation component StarOffice Player.
I've never done this, though. YMMV.
Regards,
Evelyn Mitchell
efm at tummy.com
On Thu, Aug 23, 2001 at 02:57:00PM -0600, Todd Ruskell wrote:
> I have StarOffice installed on my Linux box. I need to display a
> StarOffice presentation on a Windows box. The "easy" way to do this is
> to install StarOffice on the windows box, but it's not clear if I can
> actually make that happen, since the windows box is not under my
> control.
>
> The other way I have to do this is to use xwin-32. I tried this, and
> initially had problems with the display of both some "regular" text
> fonts, as well as display of equations. I added my machine as an
> x-font-server, and this fixed all the display problems I was having with
> the text fonts. However, the display of equations is still *very*
> bad. It appears the windows box is trying to do a font mapping with a
> close substitute, but it is obviously not working.
>
> This begs a couple questions. First, why is StarOffice not getting the
> equation fonts from my x-font-server? Second, how could I fix it
> without having to install fonts, or StarOffice, on the Windows box? Any
> font gurus out there with some suggestions?
>
> Thanks,
>
> Todd
>
> --
> Todd Ruskell, Ph.D.
> Lecturer in Physics
> Colorado School of Mines
> Golden, CO 80401
> 303-384-2080
> Fax: 303-273-3919
>
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From dajo at frii.com Thu Aug 23 15:19:44 2001
From: dajo at frii.com (David)
Date: Thu, 23 Aug 2001 15:19:44 -0600
Subject: [lug] looking for TeX viewer/print
In-Reply-To:
(wallen@lug.boulder.co.us)
References:
Message-ID: <200108232119.f7NLJiK02190@Rednose.Anthrax>
> Well ... then start with LaTeX .
>
> - Wayde
You have tried the rest, now use the best 8-)
Dan, what is wrong with ASCII? If they think that form is more
important than content, then you don't want to work for them anyway.
dajo
From alanr at unix.sh Thu Aug 23 15:18:33 2001
From: alanr at unix.sh (Alan Robertson)
Date: Thu, 23 Aug 2001 15:18:33 -0600
Subject: [lug] High-Availability file server in Sept SysAdmin magazine
References: <3B82F725.5C29F0E4@unix.sh> <20010821180911.A10783@tummy.com> <3B840B35.92B35698@unix.sh>
Message-ID: <3B857329.C6685BCD@unix.sh>
Alan Robertson wrote:
>
> Evelyn Mitchell wrote:
> >
> > On Tue, Aug 21, 2001 at 06:04:53PM -0600, Alan Robertson wrote:
> > > Hi,
> > >
> > > There's a nice article on creating a High-Availability File Server with
> > > heartbeat in this month's SysAdmin magazine. Unfortunately, the article
> > > itself is not online :-(.
> >
> > Alan's too modest.
>
> Well.... not so modest I wouldn't post the note ;-)
>
> > This article is about his HA-Linux project.
> > Congrats on the coverage, Alan!
>
> The article's actually pretty a pretty good step by step description for
> setting up an High-Availability Samba and NFS file server.
And, it's now online. I asked them to put it online, and they complied,
pretty much immediately.
The URL is:
http://www.sysadminmag.com/articles/2001/0109/0109c/0109c.htm
-- Alan Robertson
alanr at unix.sh
From herod at interact-tv.com Thu Aug 23 15:47:28 2001
From: herod at interact-tv.com (Scott A. Herod)
Date: Thu, 23 Aug 2001 15:47:28 -0600
Subject: [lug] Socket Error
References: <200108231929.f7NJThd01830@Rednose.Anthrax> <3B855E97.F627AC53@interact-tv.com> <200108232035.f7NKZ9Y02084@Rednose.Anthrax>
Message-ID: <3B8579F0.22A3F46F@interact-tv.com>
David wrote:
>
> > Let me see if I understand, you can connect to a remote machine
> > with a socket but not a local file?
>
> That is correct. All I want is a byte stream in my code, the language
> clearly offers the possibility of connecting to a file on the local
> machine using the language's socket mechanism (is that standard in C,
> Java, etc.?).
Something on the other side has to be willing to give you the file.
Otherwise, what's to stop me from using a similar mechanism to get
files that are root-read only. Once a connection is made, however, file
based, socket, or even serial port communication is practically
identical.
( I know java more for this. I've only used sockets once in C++. )
> > Is it possible that your function
> > call is still trying to make a connection to a socket. Hmmm, but your
> > loopback interface should be open according to the ipchains stuff you
> > sent, so that's not it. ( Check by telneting to the socket on your
> > local machine. )
>
> How do I telnet to "the" socket on my local machine, please?
telnet localhost portnumber
for example,
telnet localhost 6000
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
( 6000 is the X server, the only thing my machine listens to. )
> > If it's not that funny language with all the parentheses that you
> > like, :-) can you send a bit of the code?
>
> Darn it - it is. But here it is anyway. It is hardly difficult, and
> barely informative. All the smarts are in the make-socket function.
>
> I do think that the correct "No such file or directory." message, and
> the fact that the message changes when the file exists, taken together
> tell us something;
Hmmm, no guess now. It all depends on socket:make-socket.
I've got to believe that it's not really opening a socket so shouldn't
be hitting your ipchains rule. Only your error message looks like the
telnet one if I try a non-active port
telnet localhost 80
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Scott
From James_Harris at maxtor.com Thu Aug 23 16:03:11 2001
From: James_Harris at maxtor.com (Harris, James)
Date: Thu, 23 Aug 2001 16:03:11 -0600
Subject: [lug] Tracking Connections
Message-ID: <85B5853D4393D5118BAE009027DE2A6CD772@mcoexc05.mlm.maxtor.com>
Is there any way you could get trippy and write an ipchain that snags every
incoming ftp hit and does a traceroute and port scan back onto it? (But
still passes the packet through to your ftp service.) That way you could
get them while there online and might be able to get some more info.
I seem to remember that ipchains can conceptually bump a connection off to a
pipe/trigger a script. I may be completely whacked in thinking this, but
it's an idea... I'm sure there are a billion reasons not to do this even if
it is possible (performance hits, etc...) but I figured I'd throw it out
anyway.
Anyone want to chime in on my insanity (oh, well, that's probably a BAD
thing to ask...)
Jim
-----Original Message-----
From: Kyle Moore [mailto:kmoore at trustamerica.com]
Sent: Friday, August 17, 2001 08:32
To: lug at lug.boulder.co.us
Subject: [lug] Tracking Connections
I have someone who keeps trying anonymous ftp on a couple of our servers.
Syslog gives me the IP they are coming from but what I want to find out is
how they come through our network. I don't have access to any of the
routers' logs. My main concern here is someone is getting into our network
that shouldn't...so I want to verify.
NOTE: I know how horrible ftp is so I don't need any sermons on the wonders
of ssh/scp.
--
Kyle
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From herod at interact-tv.com Thu Aug 23 16:09:45 2001
From: herod at interact-tv.com (Scott A. Herod)
Date: Thu, 23 Aug 2001 16:09:45 -0600
Subject: [lug] Tracking Connections
References: <85B5853D4393D5118BAE009027DE2A6CD772@mcoexc05.mlm.maxtor.com>
Message-ID: <3B857F29.B8CBD4BD@interact-tv.com>
You could watch the data being written into /var/log/messages ( or
better
yet redirect ipchains messages ), parse them and make the check. Pretty
easy perl script really.
Scott
"Harris, James" wrote:
>
> Is there any way you could get trippy and write an ipchain that snags every
> incoming ftp hit and does a traceroute and port scan back onto it? (But
> still passes the packet through to your ftp service.) That way you could
> get them while there online and might be able to get some more info.
>
> I seem to remember that ipchains can conceptually bump a connection off to a
> pipe/trigger a script. I may be completely whacked in thinking this, but
> it's an idea... I'm sure there are a billion reasons not to do this even if
> it is possible (performance hits, etc...) but I figured I'd throw it out
> anyway.
>
> Anyone want to chime in on my insanity (oh, well, that's probably a BAD
> thing to ask...)
>
> Jim
>
> -----Original Message-----
> From: Kyle Moore [mailto:kmoore at trustamerica.com]
> Sent: Friday, August 17, 2001 08:32
> To: lug at lug.boulder.co.us
> Subject: [lug] Tracking Connections
>
> I have someone who keeps trying anonymous ftp on a couple of our servers.
> Syslog gives me the IP they are coming from but what I want to find out is
> how they come through our network. I don't have access to any of the
> routers' logs. My main concern here is someone is getting into our network
> that shouldn't...so I want to verify.
>
> NOTE: I know how horrible ftp is so I don't need any sermons on the wonders
> of ssh/scp.
>
> --
> Kyle
From gmurray at Mines.EDU Thu Aug 23 16:13:33 2001
From: gmurray at Mines.EDU (Glenn Murray)
Date: Thu, 23 Aug 2001 16:13:33 -0600 (MDT)
Subject: [lug] silly emacs
In-Reply-To:
Message-ID:
As a cua-mode user, I can confirm that cua-mode does indeed do this.
I.e., if you highlight a region, C-c, highlight another region, and
C-v, then the first region overwrites the second. It obviates the
feature Tony mentions below.
Glenn Murray
www.mines.edu/~glenn/public_html/Welcome.html
On 12 Aug 2001, Tkil wrote:
>
> in defense of the current behavior, i like the fact that i can cut and
> paste in X using only the mouse (no menus, no keyboard).
>
> having said that, check out the "cua-mode" packages. i forget its
> exact name, but they make emacs/xemacs act more like (shudder) windows
> applications. it might address this issue of yours.
>
> t.
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
From stimits at idcomm.com Thu Aug 23 16:29:22 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 16:29:22 -0600
Subject: [lug] Socket Error
References: <200108231929.f7NJThd01830@Rednose.Anthrax> <3B855DEE.DBBA0673@idcomm.com> <200108232020.f7NKK4R02048@Rednose.Anthrax> <3B8567A4.1A635151@idcomm.com> <200108232053.f7NKr3H02146@Rednose.Anthrax>
Message-ID: <3B8583C2.EFC3F78C@idcomm.com>
David wrote:
>
> > Someone else mentioned use of telnet to test for service. If you telnet
> > to the X11 port, and it is summarily dropped, without any connection at
> > all, versus having a connection and then being rejected after typing in
> > some nonsense, you will know whether it is lack of tcp/ip or if it is
> > authentication. The port you are interested in is 6000 (also good to
> > monitor with tail -f /var/log/messages, plus the X11 log itself,
> > /var/log/XFree86.0.log). Simply try (adjust localhost or ip address):
> > telnet localhost 6000
> This is what I got. Nothing in messages (except see at the end)
>
> Rednose dajo ~ telnet localhost 6000
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> garbage <- I type
> garbage <- it gives
> more garbage <- I type
> more garbage <- it gives
> Connection closed by foreign host.
> Rednose dajo ~
>
> > Does it allow you to connect and type nonsense, or does it drop you
> > without the ability to connect at all? Summarily dropping you indicates
> > nothing is listening for tcp/ip there. Allowing you in but dropping you
> > after typing nonsense indicates you are likely working with
> > authentication failure. Authentication is a big can of worms, but you
> > can try this for each host (use command line so it isn't permanent) you
> > might need the X display to allow connections from:
> > xhost +
> > (without any url after the '+' should open it to all)
> > Alternatively:
> > xhost +127.0.0.1
> > (or adjust to a real outside address...can do more than one)
> >
> > D. Stimits, stimits at idcomm.com
>
> Boy, I really thought that you were on to something, but it does not
> work.
> Rednose dajo ~ xhost
> access control enabled, only authorized clients can connect
> INET:localhost.localdomain
> INET:Rednose.Anthrax
>
> Extra bit:
> I did get two kernel messages (two more literally while I was typing
> this). I do not know what all the fields are; are these "enquiries"
> from "friends" on the net?
> Aug 23 13:29:14 Rednose pppd[1785]: Connect: ppp0 <--> /dev/modem
> Aug 23 13:29:29 Rednose pppd[1785]: local IP address 216.17.156.54
> Aug 23 13:29:29 Rednose pppd[1785]: remote IP address 216.17.156.226
> Aug 23 14:09:46 Rednose ipchains: Flushing all current rules and user defined chains: succeeded
> Aug 23 14:09:46 Rednose ipchains: Clearing all current rules and user defined chains: succeeded
> Aug 23 14:09:46 Rednose ipchains: Applying ipchains firewall rules succeeded
> Aug 23 14:20:05 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 216.17.175.194:4618 216.17.156.54:113 L=60 S=0x00 I=39517 F=0x4000 T=58 SYN (#4)
> Aug 23 14:35:11 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 216.17.175.194:1472 216.17.156.54:113 L=60 S=0x00 I=36919 F=0x4000 T=58 SYN (#4)
> Aug 23 14:48:16 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 211.161.246.245:4261 216.17.156.54:8080 L=48 S=0x00 I=3024 F=0x4000 T=109 SYN (#4)
> Aug 23 14:48:18 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 211.161.246.245:4261 216.17.156.54:8080 L=48 S=0x00 I=3125 F=0x4000 T=109 SYN (#4)
>
> dajo
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Port 113 is auth port (ident). Your system is requiring auth port be
open, and apparently the machine doing the connection does not run
auth/ident. You can configure it to not dump machines without identd
running, but I can't find out what the requirement is at the
moment...have to run.
D. Stimits, stimits at idcomm.com
From stimits at idcomm.com Thu Aug 23 16:30:43 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 16:30:43 -0600
Subject: [lug] Socket Error
References: <200108231929.f7NJThd01830@Rednose.Anthrax> <3B855DEE.DBBA0673@idcomm.com> <200108232020.f7NKK4R02048@Rednose.Anthrax> <3B8567A4.1A635151@idcomm.com> <200108232053.f7NKr3H02146@Rednose.Anthrax>
Message-ID: <3B858413.7FCAA36D@idcomm.com>
Forgot a note on the reply from just a moment ago...open up port 113 on
both machines. Auth is a security tool, not hole, it should be open.
D. Stimits, stimits at idcomm.com
David wrote:
>
> > Someone else mentioned use of telnet to test for service. If you telnet
> > to the X11 port, and it is summarily dropped, without any connection at
> > all, versus having a connection and then being rejected after typing in
> > some nonsense, you will know whether it is lack of tcp/ip or if it is
> > authentication. The port you are interested in is 6000 (also good to
> > monitor with tail -f /var/log/messages, plus the X11 log itself,
> > /var/log/XFree86.0.log). Simply try (adjust localhost or ip address):
> > telnet localhost 6000
> This is what I got. Nothing in messages (except see at the end)
>
> Rednose dajo ~ telnet localhost 6000
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> garbage <- I type
> garbage <- it gives
> more garbage <- I type
> more garbage <- it gives
> Connection closed by foreign host.
> Rednose dajo ~
>
> > Does it allow you to connect and type nonsense, or does it drop you
> > without the ability to connect at all? Summarily dropping you indicates
> > nothing is listening for tcp/ip there. Allowing you in but dropping you
> > after typing nonsense indicates you are likely working with
> > authentication failure. Authentication is a big can of worms, but you
> > can try this for each host (use command line so it isn't permanent) you
> > might need the X display to allow connections from:
> > xhost +
> > (without any url after the '+' should open it to all)
> > Alternatively:
> > xhost +127.0.0.1
> > (or adjust to a real outside address...can do more than one)
> >
> > D. Stimits, stimits at idcomm.com
>
> Boy, I really thought that you were on to something, but it does not
> work.
> Rednose dajo ~ xhost
> access control enabled, only authorized clients can connect
> INET:localhost.localdomain
> INET:Rednose.Anthrax
>
> Extra bit:
> I did get two kernel messages (two more literally while I was typing
> this). I do not know what all the fields are; are these "enquiries"
> from "friends" on the net?
> Aug 23 13:29:14 Rednose pppd[1785]: Connect: ppp0 <--> /dev/modem
> Aug 23 13:29:29 Rednose pppd[1785]: local IP address 216.17.156.54
> Aug 23 13:29:29 Rednose pppd[1785]: remote IP address 216.17.156.226
> Aug 23 14:09:46 Rednose ipchains: Flushing all current rules and user defined chains: succeeded
> Aug 23 14:09:46 Rednose ipchains: Clearing all current rules and user defined chains: succeeded
> Aug 23 14:09:46 Rednose ipchains: Applying ipchains firewall rules succeeded
> Aug 23 14:20:05 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 216.17.175.194:4618 216.17.156.54:113 L=60 S=0x00 I=39517 F=0x4000 T=58 SYN (#4)
> Aug 23 14:35:11 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 216.17.175.194:1472 216.17.156.54:113 L=60 S=0x00 I=36919 F=0x4000 T=58 SYN (#4)
> Aug 23 14:48:16 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 211.161.246.245:4261 216.17.156.54:8080 L=48 S=0x00 I=3024 F=0x4000 T=109 SYN (#4)
> Aug 23 14:48:18 Rednose kernel: Packet log: input REJECT ppp0 PROTO=6 211.161.246.245:4261 216.17.156.54:8080 L=48 S=0x00 I=3125 F=0x4000 T=109 SYN (#4)
>
> dajo
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From fschmid at archenergy.com Thu Aug 23 16:31:59 2001
From: fschmid at archenergy.com (Ferdinand Schmid)
Date: Thu, 23 Aug 2001 16:31:59 -0600
Subject: [lug] Monopoly with appeal | csmonitor.com
Message-ID: <3B85845F.1040608@archenergy.com>
HI,
this is an enjoyable story - not fact based, of course! But very closely
Linux-M$ related ;)
Ferdinand
--
Ferdinand Schmid
http://www.archenergy.com
303-444-4149 x231
From linuxluke_20 at hotmail.com Thu Aug 23 16:52:51 2001
From: linuxluke_20 at hotmail.com (luke p)
Date: Thu, 23 Aug 2001 16:52:51 -0600
Subject: [lug] Linux in schools
Message-ID:
How interested would the BLUG be in doing something similar at a Boulder
school?
-Luke
>From: "Prescott Oelke"
>Reply-To: lug at lug.boulder.co.us
>To:
>Subject: [lug] Linux in schools
>Date: Thu, 23 Aug 2001 10:08:34 -0600
>
>An interesting article about something happening in our own back yard
>http://www.wired.com/news/school/0,1383,45862,00.html
>
>Sometimes I think that Microsoft may be it's own worst enemy.
>
>Prescott Oelke
>
>_______________________________________________
>Web Page: http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
From lasten at korinth.com Thu Aug 23 17:33:26 2001
From: lasten at korinth.com (Todd)
Date: Thu, 23 Aug 2001 17:33:26 -0600
Subject: [lug] sendmail
Message-ID: <0108231733260M.11775@lupy.lanxtra.com>
Anyone know how to configure sendmail to accept all email for host.domain.com
regardless of address and send it into /dev/null?
Thanks for any help,
Todd
From herod at interact-tv.com Thu Aug 23 17:58:58 2001
From: herod at interact-tv.com (Scott A. Herod)
Date: Thu, 23 Aug 2001 17:58:58 -0600
Subject: [lug] Popping in i810_audio
Message-ID: <3B8598C2.3E34024F@interact-tv.com>
Hello,
I've got a new HP Pavilion with an i810 board and i810 audio.
I've got a bad "pop" that occurs whenever audio begins to play.
This happens with "play" and xmms although it seems to be better
if xmms uses the aRts Driver rather than OSS or esd. I'm guessing
that the aRtsd code ramps up volume to hide the pop.
Anyone familar with this problem? Is it caused by the i810_audio
driver ( I've tried the driver with 2.4.8 and it still occurs ).
Is the 'Alan Cox' who's credited with writing the driver the same
Alan Cox of kernel fame? Kernel Changelogs are not particularly
useful for determining if the issue has ever been addressed.
Thanks,
Scott
From rip6 at rip6.net Thu Aug 23 20:40:01 2001
From: rip6 at rip6.net (Mark Horning)
Date: Thu, 23 Aug 2001 20:40:01 -0600
Subject: [lug] funny port numbers
References: <3B848144.1A477C32@unix.sh>
Message-ID: <3B85BE81.53224FCC@rip6.net>
Alan Robertson wrote:
>
> Also, what is microsoft-ds on port 445?
>
Possibly w2k's (stolen from Novell) directory services?
--
Mark Horning
rip6 at rip6.net
From stimits at idcomm.com Thu Aug 23 21:19:53 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 21:19:53 -0600
Subject: [lug] looking for TeX viewer/print
References: <200108232119.f7NLJiK02190@Rednose.Anthrax>
Message-ID: <3B85C7D9.9044499F@idcomm.com>
David wrote:
>
> > Well ... then start with LaTeX .
> >
> > - Wayde
> You have tried the rest, now use the best 8-)
>
> Dan, what is wrong with ASCII? If they think that form is more
> important than content, then you don't want to work for them anyway.
I can't take that particular road. Some places want Word format, I
generally ask if html is ok. But I'm trying to get a job for literate
programming, and I'm not doing too well (I was too late for my resume to
be any good tonight...even though I gave in and imported the html into
Word and then touched it up to get it to print right...I can't even do a
head clean or alignment on the ink jet under Linux, which is my most
scathing criticism of Linux apps and drivers).
D. Stimits, stimits at idcomm.com
>
> dajo
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Thu Aug 23 21:30:03 2001
From: stimits at idcomm.com (D. Stimits)
Date: Thu, 23 Aug 2001 21:30:03 -0600
Subject: [lug] looking for TeX viewer/print
References:
Message-ID: <3B85CA3B.34244D50@idcomm.com>
"J. Wayde Allen" wrote:
>
> On Thu, 23 Aug 2001, D. Stimits wrote:
>
> > I may do this as a postmortem, but I need to print, so I'll be able to
> > try postscript versions through ghostview, but other formats will need a
> > printable version anyway...the LaTeX is an intermediate on the way to
> > print.
>
> OUCH! LaTeX doesn't really make a good intermediate. You're usually
> better off making a LaTeX document and then processing that to get to the
> other formats.
>
> LaTeX ---> dvi ---> postscript
> LaTeX ---> html
> LaTeX ---> pdf
>
> going from
>
> html ---> LaTeX ---> dvi ---> postscript
>
> definitely sounds like the act of a desperate man .
I am desparate.
>
> Heck a resume' "should" be pretty short. Might be about as quick to hand
> convert the raw html to pure ASCII and then either roll this into a LaTeX
> document or go to the word processor of your choice. Perhaps the
> formating in the html document could also be fixed so the browser could
> print it too?
It is somewhat short, not as short as it should be, but I don't have
enough accomplishments to leave out much either. I'll probably try some
sort of RTF format, I think LaTeX is too restrictive, and there are no
resume formats that I know of. Plain TeX would be good, but what I lack
is a a WYSIWYG TeX editor (does such a thing even exist?). Better yet, a
WYSIWYG dvi editor (this of course would require some sort of related
setting to display on given hardware...assuming it really is device
independent, WYSIWYG is something of an oxymoron). At this point I'm
looking for the ability to create printed documents, not just electronic
format.
>
> > I want to solve my printing issues once and for all, rather than
> > having to send out documents to make them printable.
>
> Well ... then start with LaTeX .
LaTeX seems to require adopting style sheets, something like a DTD in
SGML or XML. There are no style sheets for resume format, so LaTeX is
somewhat of a poor choice for me, unless it is just some intermediate
format. Straight TeX, which does not enforce styles, and is simply
(well, not really simple) a page description language (somewhat like
PostScript), doesn't seem to have any means of composing other than
learning the language and hacking at it with a text editor (this is how
I create my html resumes, with nedit or vi). Unfortunately, I'm not
enough of a whiz with TeX or PS to write a WYSIWYG editor (it'd be
awesome if ghostview was interactive and could be used to compose as
well as view). In any case, I took too long and lost my opportunity this
evening, so it is a moot point for a few more days.
D. Stimits, stimits at idcomm.com
>
> - Wayde
> (wallen at lug.boulder.co.us)
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From jafo at tummy.com Thu Aug 23 22:18:43 2001
From: jafo at tummy.com (Sean Reifschneider)
Date: Thu, 23 Aug 2001 22:18:43 -0600
Subject: [lug] Adding user to two machines at once?
In-Reply-To: <20010822235144.C357C3A60@oldschool.jackmoves.com>; from glow@jackmoves.com on Wed, Aug 22, 2001 at 05:51:44PM -0600
References: <20010822235144.C357C3A60@oldschool.jackmoves.com>
Message-ID: <20010823221843.A20203@tummy.com>
On Wed, Aug 22, 2001 at 05:51:44PM -0600, Justin wrote:
>the same user to the secondary box. The script of course would need to
>somehow log into the secondary box and add the user there. That is what
The script can use SSH to log into the second box and create the account.
You can either request that it ask you for the password to do so, or use
public/private identities (probably combined with the "command=" option in
the "authorized_keys" file to specify that only a particular command can be
run when using that key. The ssh man page should provide the details on
the above.
You, of course, have to be VERY careful about the security of this sort of
setup.
Sean
--
"McGuyver stole all his tricks from Dr. Who."
Sean Reifschneider, Inimitably Superfluous
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
From jafo at tummy.com Thu Aug 23 22:31:19 2001
From: jafo at tummy.com (Sean Reifschneider)
Date: Thu, 23 Aug 2001 22:31:19 -0600
Subject: [lug] software raid
In-Reply-To: <85B5853D4393D5118BAE009027DE2A6CD760@mcoexc05.mlm.maxtor.com>; from James_Harris@maxtor.com on Tue, Aug 21, 2001 at 09:34:47AM -0600
References: <85B5853D4393D5118BAE009027DE2A6CD760@mcoexc05.mlm.maxtor.com>
Message-ID: <20010823223119.B20203@tummy.com>
On Tue, Aug 21, 2001 at 09:34:47AM -0600, Harris, James wrote:
>For example, if you want to boot your system off of a mirror, then you'll
>need to compile the raid1 personality directly into the kernel (this may
The stock redhat kernels build the software RAID as modules, similarly to
how they build SCSI drivers. The "mkinitrd" script will then build the
an initial ramdisc with those modules built in. Works delightfully.
Sean
--
"Engineering Tablets? Does that mean if I swallow one, I'll be an engineer?"
-- Evelyn Mitchell
Sean Reifschneider, Inimitably Superfluous
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
From jafo at tummy.com Thu Aug 23 22:36:15 2001
From: jafo at tummy.com (Sean Reifschneider)
Date: Thu, 23 Aug 2001 22:36:15 -0600
Subject: [lug] Kingston Switching Hubs
In-Reply-To: ; from sanders@MontanaLinux.Org on Tue, Aug 21, 2001 at 09:40:14AM -0600
References: <20010821091039.A8518@aberdeen.fpcc.net>
Message-ID: <20010823223615.C20203@tummy.com>
On Tue, Aug 21, 2001 at 09:40:14AM -0600, Warren Sanders wrote:
>> Does anyone here have experience with this brand of switch? Is
>>it reliable, or is it more like the SMC 10/100 hub at my previous
>>employer? (it would go catatonic every month or so)
>
>Gee I hope the SMCs (16 port switch) we just got for $200 each don't do
>that!
I hope so too... A few years ago I had a few of the SMC 8-port 10/100
switches that would periodically freak out -- maybe ever month or so...
That combined with SMC changing the chipset of the "EtherPower" from the
Tulip to their own proprietary chipset without changing the name kind of
pissed me off.
I was just looking at some Linksys 24-port 10/100 unmanaged switches, but I
think they were more in the $300 range. I've been pretty happy with the
performance of their 8-port switches though -- especially the 8 LEDs per
port -- gobs of information including seperate TX and RX indicators.
Sean
--
You know you're in Canada when: A radio advertisement comes on advertising
"Buy a case of beer, get a free touque."
Sean Reifschneider, Inimitably Superfluous
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
From alanr at unix.sh Fri Aug 24 07:25:13 2001
From: alanr at unix.sh (Alan Robertson)
Date: Fri, 24 Aug 2001 07:25:13 -0600
Subject: [lug] software raid
References: <85B5853D4393D5118BAE009027DE2A6CD760@mcoexc05.mlm.maxtor.com> <20010823223119.B20203@tummy.com>
Message-ID: <3B8655B9.2EF551ED@unix.sh>
Sean Reifschneider wrote:
>
> On Tue, Aug 21, 2001 at 09:34:47AM -0600, Harris, James wrote:
> >For example, if you want to boot your system off of a mirror, then you'll
> >need to compile the raid1 personality directly into the kernel (this may
>
> The stock redhat kernels build the software RAID as modules, similarly to
> how they build SCSI drivers. The "mkinitrd" script will then build the
> an initial ramdisc with those modules built in. Works delightfully.
A caveat to this:
Don't use software raid on 2.2 kernels with a journalling filesytem - online
RAID rebuild can destroy the data -- because two separate caches are used
for the filesystem and the rebuild data.
-- Alan Robertson
alanr at unix.sh
From jafo at tummy.com Fri Aug 24 07:54:16 2001
From: jafo at tummy.com (Sean Reifschneider)
Date: Fri, 24 Aug 2001 07:54:16 -0600
Subject: [lug] get yer red hot Roswell 2nd Edition!
In-Reply-To: <5.1.0.14.2.20010822044413.00af8e70@pop.peakpeak.com>; from ljp@llornkcor.com on Wed, Aug 22, 2001 at 04:49:19AM -0600
References: <20010821120807.A3874@amoeba> <3B829A2D.2E24E82F@idcomm.com> <20010821120807.A3874@amoeba> <20010821200716.A9526@aberdeen.fpcc.net> <5.1.0.14.2.20010822044413.00af8e70@pop.peakpeak.com>
Message-ID: <20010824075416.B25047@tummy.com>
On Wed, Aug 22, 2001 at 04:49:19AM -0600, ljp wrote:
>I've been using SuSE 7 with reiserfs for some months on one of my linux
>boxes. I won't install any dist that DOESN'T have reiserfs are an install
The short fsck times in reiser are definitely delightful. The other
benefit is that it promotes having good backups... We've been running
Reiser on all our laptops for about a year now, and every one of them has
experienced at least one instance of file-system corruption.
The most recent was a hardware problem on Evelyn's machine that ended up
locking up her machine maybe 10 times over 3 days. The eventual result was
a completely unreadable file-system. Kevin's mail directory at one point
just seemed to completely lose it's mind... I've had a couple of incidents
with it, one hardware and one not...
I actually just converted my laptop back to ext2, hoping to later convert
to ext3. My attempts at going to ext3 haven't been entirely successful
yet. It has the journal, and says it mounts them as ext3, but a hard power
reset causes a full fsck.
Sean
--
668: Next door neighbor of the beast.
vivivi: The editor of the beast.
Sean Reifschneider, Inimitably Superfluous
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
From DBonnell at co.maxoptix.com Fri Aug 24 08:17:35 2001
From: DBonnell at co.maxoptix.com (Bonnell, Doug)
Date: Fri, 24 Aug 2001 08:17:35 -0600
Subject: [lug] Popping in i810_audio
Message-ID: <908E164F458AD311BF4E00805F852201A058E8@exchange>
This URL doesn't pertain to the i810 audio per se, but
it does mention that the "pop" is caused by the driver
doing a "calibration".
http://www.acqualan.com.br/misc/cs4237b.html
Hope this points in the right direction for you.
Doug
-----Original Message-----
From: Scott A. Herod [mailto:herod at interact-tv.com]
Sent: Thursday, August 23, 2001 5:59 PM
To: lug at lug.boulder.co.us
Subject: [lug] Popping in i810_audio
Hello,
I've got a new HP Pavilion with an i810 board and i810 audio.
I've got a bad "pop" that occurs whenever audio begins to play.
This happens with "play" and xmms although it seems to be better
if xmms uses the aRts Driver rather than OSS or esd. I'm guessing
that the aRtsd code ramps up volume to hide the pop.
Anyone familar with this problem? Is it caused by the i810_audio
driver ( I've tried the driver with 2.4.8 and it still occurs ).
Is the 'Alan Cox' who's credited with writing the driver the same
Alan Cox of kernel fame? Kernel Changelogs are not particularly
useful for determining if the issue has ever been addressed.
Thanks,
Scott
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From lurgyman at babylonia.flatirons.org Fri Aug 24 08:49:15 2001
From: lurgyman at babylonia.flatirons.org (Dan Kuester)
Date: Fri, 24 Aug 2001 08:49:15 -0600 (MDT)
Subject: [lug] Linux in schools
In-Reply-To:
Message-ID:
Fairview has a growing Linux base. The server used for the web
development class is a RedHat machine, and the school's main site
(http://www.flatirons.org) is also a Linux box. We now also have three
old (formerly Win95) machines that have been wiped and converted to
Linuxism. None of these systems, however (except for possibly the main
web server) is run by the faculty -- they are all student-administrated.
--
Dan Kuester
http://lurgyman.bolognia.net
"I'd give my right arm to be ambidextrous"
- Yogi Berra
On Thu, 23 Aug 2001, luke p wrote:
> How interested would the BLUG be in doing something similar at a Boulder
> school?
>
> -Luke
>
>
> >From: "Prescott Oelke"
> >Reply-To: lug at lug.boulder.co.us
> >To:
> >Subject: [lug] Linux in schools
> >Date: Thu, 23 Aug 2001 10:08:34 -0600
> >
> >An interesting article about something happening in our own back yard
> >http://www.wired.com/news/school/0,1383,45862,00.html
> >
> >Sometimes I think that Microsoft may be it's own worst enemy.
> >
> >Prescott Oelke
> >
> >_______________________________________________
> >Web Page: http://lug.boulder.co.us
> >Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
From stimits at idcomm.com Fri Aug 24 09:20:42 2001
From: stimits at idcomm.com (D. Stimits)
Date: Fri, 24 Aug 2001 09:20:42 -0600
Subject: [lug] what is gnutella-svc?
Message-ID: <3B8670CA.94BDC208@idcomm.com>
I had several hits from different sites, all on port 6346 tcp. Looking
it up, I see it is:
gnutella-svc 6346/tcp gnutella-svc
Does anyone know what gnutella-svc is?
D. Stimits, stimits at idcomm.com
From catkinson at circadence.com Fri Aug 24 09:24:30 2001
From: catkinson at circadence.com (Chip Atkinson)
Date: Fri, 24 Aug 2001 09:24:30 -0600
Subject: [lug] what is gnutella-svc?
References: <3B8670CA.94BDC208@idcomm.com>
Message-ID: <3B8671AE.5070604@circadence.com>
Gnutella is the file sharing protocol that allows you to share files.
You need to be running a gnutella program to allow uploads through that
port so if you aren't running gnutella programs and you are getting
traffic through that port, you should probably shut it down. There is a
program gnut, which I've been using and found quite nice. Gnutella
allows you to scour the net for music and other files. It's a handy
replacement for Napster.
Chip
D. Stimits wrote:
> I had several hits from different sites, all on port 6346 tcp. Looking
> it up, I see it is:
> gnutella-svc 6346/tcp gnutella-svc
>
> Does anyone know what gnutella-svc is?
>
> D. Stimits, stimits at idcomm.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Fri Aug 24 09:32:30 2001
From: stimits at idcomm.com (D. Stimits)
Date: Fri, 24 Aug 2001 09:32:30 -0600
Subject: [lug] what is gnutella-svc?
References: <3B8670CA.94BDC208@idcomm.com>
Message-ID: <3B86738E.F0A4A58C@idcomm.com>
"D. Stimits" wrote:
>
> I had several hits from different sites, all on port 6346 tcp. Looking
> it up, I see it is:
> gnutella-svc 6346/tcp gnutella-svc
>
> Does anyone know what gnutella-svc is?
>
> D. Stimits, stimits at idcomm.com
In partial answer to my own question, it looks like gnutella is some
sort of file exchange system, distributed, and designed to search for
other gnutella sites. I'm guessing someone is trying to search for
security flaws in it, and probably the original version is for mp3 or
other copyright material exchange. Does anyone else know anything about
it?
D. Stimits, stimits at idcomm.com
From herod at interact-tv.com Fri Aug 24 09:37:32 2001
From: herod at interact-tv.com (Scott A. Herod)
Date: Fri, 24 Aug 2001 09:37:32 -0600
Subject: [lug] what is gnutella-svc?
References: <3B8670CA.94BDC208@idcomm.com>
Message-ID: <3B8674BC.6E6E0561@interact-tv.com>
Dan, I'd guess that they're checking to see if you have a gnutella
server
running. I think that some of the root-kitted boxes are being used
as 'hidden' file repositories. After hearing some horror stories about
copyright police, I'd not be surprised if a lot of copyrighted material
is being placed on remote sites.
"D. Stimits" wrote:
>
> I had several hits from different sites, all on port 6346 tcp. Looking
> it up, I see it is:
> gnutella-svc 6346/tcp gnutella-svc
>
> Does anyone know what gnutella-svc is?
>
> D. Stimits, stimits at idcomm.com
From stimits at idcomm.com Fri Aug 24 09:55:25 2001
From: stimits at idcomm.com (D. Stimits)
Date: Fri, 24 Aug 2001 09:55:25 -0600
Subject: [lug] what is gnutella-svc?
References: <3B8670CA.94BDC208@idcomm.com> <3B8674BC.6E6E0561@interact-tv.com>
Message-ID: <3B8678ED.5230020D@idcomm.com>
"Scott A. Herod" wrote:
>
> Dan, I'd guess that they're checking to see if you have a gnutella
> server
> running. I think that some of the root-kitted boxes are being used
> as 'hidden' file repositories. After hearing some horror stories about
> copyright police, I'd not be surprised if a lot of copyrighted material
> is being placed on remote sites.
This is what I suspect. And I'm guessing that gnutella is showing signs
of growing pains (my pains). I've firewalled the port (and it has
nothing running on the port either), it looks like I'm going to be
getting more hits.
D. Stimits, stimits at idcomm.com
>
> "D. Stimits" wrote:
> >
> > I had several hits from different sites, all on port 6346 tcp. Looking
> > it up, I see it is:
> > gnutella-svc 6346/tcp gnutella-svc
> >
> > Does anyone know what gnutella-svc is?
> >
> > D. Stimits, stimits at idcomm.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From stimits at idcomm.com Fri Aug 24 09:58:55 2001
From: stimits at idcomm.com (D. Stimits)
Date: Fri, 24 Aug 2001 09:58:55 -0600
Subject: [lug] what is gnutella-svc?
References: <3B8670CA.94BDC208@idcomm.com> <3B8671AE.5070604@circadence.com>
Message-ID: <3B8679BF.70561C0D@idcomm.com>
Chip Atkinson wrote:
>
> Gnutella is the file sharing protocol that allows you to share files.
> You need to be running a gnutella program to allow uploads through that
> port so if you aren't running gnutella programs and you are getting
> traffic through that port, you should probably shut it down. There is a
> program gnut, which I've been using and found quite nice. Gnutella
> allows you to scour the net for music and other files. It's a handy
> replacement for Napster.
I was already firewalled, it looks like gnutella is catching on and
going to be pounding on the port. I sure hope gnutella is itself written
well enough to not add new exploits. I can understand from the
description why a root kit operator might want to install gnutella on a
rooted machine though.
D. Stimits, stimits at idcomm.com
>
> Chip
>
> D. Stimits wrote:
>
> > I had several hits from different sites, all on port 6346 tcp. Looking
> > it up, I see it is:
> > gnutella-svc 6346/tcp gnutella-svc
> >
> > Does anyone know what gnutella-svc is?
> >
> > D. Stimits, stimits at idcomm.com
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
From fschmid at archenergy.com Fri Aug 24 09:59:49 2001
From: fschmid at archenergy.com (Ferdinand Schmid)
Date: Fri, 24 Aug 2001 09:59:49 -0600
Subject: [lug] Kingston Switching Hubs
References: <20010821091039.A8518@aberdeen.fpcc.net> <20010823223615.C20203@tummy.com>
Message-ID: <3B8679F5.6050903@archenergy.com>
Be careful! I had 2 out of 3 LinkSys switches go out recently (both about 1
year old). They were 8 port switches. Our 24 port switch is still alive (about
1 year old). For doing it cheap I had much better luck with D-Link switches.
Ferdinand
Sean Reifschneider wrote:
> On Tue, Aug 21, 2001 at 09:40:14AM -0600, Warren Sanders wrote:
>
>>>Does anyone here have experience with this brand of switch? Is
>>>it reliable, or is it more like the SMC 10/100 hub at my previous
>>>employer? (it would go catatonic every month or so)
>>>
>>Gee I hope the SMCs (16 port switch) we just got for $200 each don't do
>>that!
>>
>
> I hope so too... A few years ago I had a few of the SMC 8-port 10/100
> switches that would periodically freak out -- maybe ever month or so...
> That combined with SMC changing the chipset of the "EtherPower" from the
> Tulip to their own proprietary chipset without changing the name kind of
> pissed me off.
>
> I was just looking at some Linksys 24-port 10/100 unmanaged switches, but I
> think they were more in the $300 range. I've been pretty happy with the
> performance of their 8-port switches though -- especially the 8 LEDs per
> port -- gobs of information including seperate TX and RX indicators.
>
> Sean
>
--
Ferdinand Schmid
http://www.archenergy.com
303-444-4149 x231
From wallen at lug.boulder.co.us Fri Aug 24 10:04:04 2001
From: wallen at lug.boulder.co.us (J. Wayde Allen)
Date: Fri, 24 Aug 2001 10:04:04 -0600 (MDT)
Subject: [lug] looking for TeX viewer/print
In-Reply-To: <3B85CA3B.34244D50@idcomm.com>
Message-ID:
On Thu, 23 Aug 2001, D. Stimits wrote:
> I'll probably try some sort of RTF format,
Well ... I've never had much luck with RTF. It is OK, but in many ways my
feeling is that you'd be better off with pure ASCII or by simply using
your favorite word processor format. RTF is kind of an intermediate that
as far as I can tell never really became that well accepted.
> I think LaTeX is too restrictive, and there are no
> resume formats that I know of.
That doesn't make much sense to me. As far as I can tell LaTeX can do
anything you want it to do. Actually my feeling is that it is more
flexible than a word processor.
> Plain TeX would be good, but what I lack is a a WYSIWYG TeX editor
> (does such a thing even exist?).
It kind of all depends on your definition of WYSIWYG. If you edit
LaTeX/TeX in one window and run xdvi in another you've basically got a
WYSIWYG kind of operation.
> Better yet, a WYSIWYG dvi editor (this of course would require some
> sort of related setting to display on given hardware...assuming it
> really is device independent, WYSIWYG is something of an oxymoron).
Like I've already said the WYSIWYG display for the dvi file would be
something like xdvi. You don't really edit dvi files. I'm not too
certain what the dvi file does for us really, but I'm sure that some
people on the list could fill us in.
> At this point I'm looking for the ability to create printed documents,
> not just electronic format.
Fundamentally you are starting to run into what I think is a classic
problem in document processing. Namely, the realization that there can be
more than one incarnation of a document (electronic, printed, braille,
etc.). This is where the word processor and WYSIWYG oriented people start
to get frustrated.
The word processor design (WYSIWYG) is very limited since it makes the
assumption that you only want what amounts to a computerized
typewriter. This is a very well accepted idea since people have been
using pencils, pens, and typewriters for a very long time. It isn't a big
jump from traditional typewriting in the office to word processing on the
computer, and you gain the computer's ability to erase, change text,
incorporate pictures, spell check, etc.. This makes the word processor a
well understood tool, but it is very limited.
Document processing on the other hand, takes a much broader approach to
the problem. Here, the computer gets to know a little bit about the
actual content of the document. When you write the document you
explicitly note that the following text is the document title, that it is
divided into sections and that under each section are paragraphs,
etc.. This way the computer can make more informed searches of the
document content, pull out specified info (what is the title for
instance), and more reasonably format the document for different types of
display (CRT, postscript printer, braille reader, text to speech, etc.).
(Chris Riddoch our local linguist could probably expand on this if this
thread catches on.)
> LaTeX seems to require adopting style sheets, something like a DTD in
> SGML or XML.
Yes and no. LaTeX I think is older than SGML, and certainly older than
XML so I'd guess that it was kind of a proof of concept model for
SGML. Someone can correct me if I've got this wrong.
In any case, I don't think you are slavishly limited to a given style
sheet. I'm not sure that you even have to specify a document type to have
a valid LaTeX file. On the other hand, most of us do choose a document
type that is close to what we want, and then tweak it to fit using over
ride commands. If that isn't sufficient, remember that LaTeX is nothing
more than a collection of TeX macros so you can include straight TeX
in a LaTeX document.
I might also add, that the use of style sheets is something that is really
powerful if you are working on a collaborative document. This simplifies
the editors job. He/She only needs to create the root document with
include lines for each of the subsections. The collaborators then work on
their respective files, and there is no problem with author "A" and author
"B" text having to be reworked by the editor to get consistency in fonts,
size, and layout. You can also use something like CVS for revision
control if you desire.
> There are no style sheets for resume format, so LaTeX is somewhat of a
> poor choice for me, unless it is just some intermediate format.
Not true, there are style sheets for resumes. Let's see, a short search
on the web nets me the following in a few seconds:
http://www.cs.yale.edu/homes/csuros-miklos/source/resume.cls
http://www.rpi.edu/Computing/Consulting/Software/LaTeX/Hints/Resume.html
http://web.mit.edu/answers/latex/
http://web.mit.edu/answers/latex/latex_resume.html
Simply using a letter or report style would also work. In my opinion,
since you are wanting to create multiple file format output, LaTeX
actually makes a lot of sense.
> Straight TeX, which does not enforce styles, and is simply
> (well, not really simple) a page description language (somewhat like
> PostScript), doesn't seem to have any means of composing other than
> learning the language and hacking at it with a text editor (this is how
> I create my html resumes, with nedit or vi).
LaTeX is as really just a set of TeX macros. You can't have LaTeX without
TeX. Yes, composing in LaTeX is much like composing in html. However, I
don't think comparing TeX to postscript is a particularly good analogy.
> Unfortunately, I'm not enough of a whiz with TeX or PS to write a
> WYSIWYG editor (it'd be awesome if ghostview was interactive and could
> be used to compose as well as view).
You have to remember, with a document processing system the concept of
"What You See is What You Get" is kind of vague. Do you mean WYSIWYG as an
html document, or on a CRT, or on a braille reader, or in a text to voice
converter, or ...? If that is what you are looking for, then you really
want a word processor (MSWord, WordPerfect, StarOffice, ApplixWord, etc.).
LyX is kind of what you are asking for, but it isn't strictly WYSIWYG.
The term they use is "What You See is What You Mean" (WYSIWYM). This is
more in line with the underlying philosophy of the document processing
system as opposed to the word processor.
Finally, I guess I argue that you don't want a WYSIWYG interface for these
programs. What you see now with the use of word processors are people
putting a significant amount of effort into how the document looks. What
font type, what type size, should it be one or two column, does the
picture look right here or should it be moved a bit to the left or right,
etc.. What tends to get forgotten if the value of the actual
content. One of the claims that the LaTeX system makes, and I have to
agree with it, is that you don't have to worry about what the document
looks like. It will be formated according to your style file, if you use
one, and will therefore be consistent and follow correct, time honored
typesetting rules. You only have to create good, solid, real content -
very cool! For once, you actually get substance rather than form.
- Wayde
(wallen at lug.boulder.co.us)
From wallen at lug.boulder.co.us Fri Aug 24 10:08:37 2001
From: wallen at lug.boulder.co.us (J. Wayde Allen)
Date: Fri, 24 Aug 2001 10:08:37 -0600 (MDT)
Subject: [lug] Linux in schools
In-Reply-To:
Message-ID:
On Thu, 23 Aug 2001, luke p wrote:
> How interested would the BLUG be in doing something similar at a Boulder
> school?
If you want more response you probably need to provide a bit more of an
explanation to what you have in mind?
- Wayde
(wallen at lug.boulder.co.us)
From herod at interact-tv.com Fri Aug 24 10:14:41 2001
From: herod at interact-tv.com (Scott A. Herod)
Date: Fri, 24 Aug 2001 10:14:41 -0600
Subject: [lug] Linux in schools
References:
Message-ID: <3B867D71.239F60F8@interact-tv.com>
I've only had experience with one elementary school but it was a MAC
only
shop and wouldn't take anything else. I understand that school budgets
are tight and suspect that a lot of hardware in schools is supported by
faculty in their free time.
Scott
> On Thu, 23 Aug 2001, luke p wrote:
>
> > How interested would the BLUG be in doing something similar at a Boulder
> > school?
From kelleys at ucsu.colorado.edu Fri Aug 24 11:24:56 2001
From: kelleys at ucsu.colorado.edu (Scott T. Kelley)
Date: Fri, 24 Aug 2001 10:24:56 -0700
Subject: [lug] KDAT and other tape backup software
Message-ID: <003001c12cc1$b1ee9dc0$8a7e8a80@colorado.edu>
Has anyone out there used KDAT (Red Hat 7.0)? I can write to my tape drive
no prob with tar (/dev/st0) but KDAT won't work. I think I set up the
preferences correctly but no dice. Anything I should watch out for?
The program seems like a good one in principle, but I am open to other
suggestions. Do folks like Amanda? Any other programs I should check out?
Thanks in advance for you help/advice on this topic.
Cheers! -Scott
-------------------
Scott T. Kelley, Ph.D.
Campus Box 347
MCD Biology
University of Colorado
Boulder, CO 80309-0347
Phone: (303) 735-1808
Fax: (303) 492-7744
E-mail: Scott.Kelley at Colorado.edu
From dholshou at ball.com Fri Aug 24 10:36:10 2001
From: dholshou at ball.com (Holshouser, David)
Date: Fri, 24 Aug 2001 10:36:10 -0600
Subject: [lug] looking for TeX viewer/print
Message-ID:
I've finally found and attached a tk script someone gave me in school that
gives a decent little gui for the automation and prettification of the
tex->printer/ghostview process.
I used it for a while and enjoyed it's features. You may find it useful as
well.
Those of you who are efficiency impared will need to open it and do a search
for Gvim and switch the editor lines to that one you use.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
vivivivivivivivivivivivivivivivivivvivivivivivivivi
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> -----Original Message-----
> From: D. Stimits [mailto:stimits at idcomm.com]
> Sent: Thursday, August 23, 2001 1:12 PM
> To: BLUG
> Subject: [lug] looking for TeX viewer/print
>
>
> I'm using an html format resume, and am in a bit of a hurry to do some
> printing. I have html2latex, and html2ps. The problem with html2ps is
> that I can't get rid of its attempt to create an index type
> header line
> on every page to url links...I don't want anything in the
> header/footer.
> The problem with the LaTeX version is that I apparently have
> nothing to
> directly view the results, or print it. I have LyX, but the import of
> LaTeX is greyed out, and not available.
>
> How can I view and print LaTeX? What tool is recommended? (I
> may already
> have it, I don't have a lot of time to research it though)
>
> D. Stimits, stimits at idcomm.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
begin 600 golatex
M(R$O=7-R+VQO8V%L+V)I;B]W:7-H."XP"B-/;V]P