logs archiveIRC Archive / Freenode / #centos / 2006 / July / 28 / 1
elrako
yeah once you have rpmforge, nagios, nrpe, and nsca all come down sweet
when i do rpm --changelog I get no output, do i run it against a packages?
rocky
question for you all ... i have a centos 4.3 based router setup that shares out my dsl connection ... the dsl connection has a max tcp connection limit of 200 ... is there anyway i can setup my centos box so that once a particular ip opens say 150 tcp connections, no more tcp connections can be opened (by that ip) ?
orc_orc
rocky: facsinating -- what vendor asserts they are running such a restriction, if you please?
rocky
orc_orc: i'm told aliant does, a telecom in newfoundland, canada
unless i misunderstood the technical info
orc_orc
rocky: it would be possible, but quite hard to implement -- if true, NATing all and having very short timeouts on abandoned connections would be needed to avoid very trivial self DoS events
smooge
orc_orc: connlimit?
rocky
well, i'm pretty sure aliant doesn't NAT
orc_orc
smooge: yes, but one would want a strategy to reap closed, and potentially closed connections very quickly, esp on port 80, 443 outbound, which may have easily hundreds of images on a page
smooge
there are some kernel timeouts I would 'tune'
         

orc_orc
smooge: yup
default is to linger 15 min,as I recall
smooge
yes to TCP spec
I tuned that to 2 min for a router I administered before
donavan
orc_orc: did novell kill red carpet?
orc_orc
long ago, I think
wasnt that Ximian's marque
kill is such a harsh way to characterize an upgrade ;0
I hosted PZB for a while on his up2date server re-implementation run
donavan
oic
devhen
when i try to do a shfsmount i get: shfsmount: shfs filesystem not supported by the kernel
elrako
har
donavan
really?
orc_orc
shITfs seems not to happen
;)
dan__t
wow, I ate too much.
smooge
red carpet got pulled into Zenworks
elrako
wow i need to eat
this is very different from 1991 on #phreak with U4EA and co.
dan__t
beh.
We have like tens of thousands of domains in BIND, half of which I am almost certain are not even registered anymore.
Hobart
On my x86_64 centos 4.3 server, the system BIOS (IBM x306) is only telling Linux it has 3327M available -- how can I tell Linux to claim the full 4096M of RAM and use some other area of the 64-bit address space for the PCI?
dan__t
I need to think of a way to weed out the 'bad' domains, and further, need to find out which ones are pointed to us.
Anyone ever done anything like this before?
orc_orc
dan__t: I have a process I run monthly against my master generation backend, to (slowly) query with whois, to produce a 'hit list' for our rep's to use to call customers and upsell
dan__t
which whois database do you hammer?
I mean - hrm, forgive me for not knowing as much as I should - each TLD or registrar has their own WHOIS database, right?
orc_orc
I set it to wait 5 min between queries, and do not care if it takes a week to run
dan__t
Hell, I don't even need the whois database - I just need the nameservers.
Yeah, I can do that. But still.
We're looking at ~100k domains.
orc_orc
that implies many IP's available to you to query in parallel from
         

dan__t
heheh
I suppose it would.
orc_orc
even so, 100k names at 5 min intervals is less than 6 days from one IP
... assuming my math is right
kreg_work
carp
i backed up a system
restored everything
works great
then realized
dan__t
that your
kreg_work
i forgot to backup the users home dirs
dan__t
enter key
is hyperactive?
elrako
anyone like zabbix, find it useful, we already run platypus, nagios, mrtg
dan__t
Oooh, that too.
orc_orc
I recall testing 70K IP's across a thnaksgiving weekend as spam fountains; finding about 27k
dan__t
elrako, cacti all the way for me.
kreg_work
there was no data in the users home dirs, but i still have the users in tact in /etc/passwd and shadow
donavan
kreg_work: please give www.centos.org/irc a visit
kreg_work
is there a way to have the system restore the 'default as if new system install" home dirs?
orc_orc
28709 actually -- see 'orc' at http://dsbl.org/cgi-bin/ezmlm-browse.cgi?list=stats/list&cmd=showmsg&msgnum=2
elrako
dan_t, what does it do, is it better than nagios at trendng?
Hobart
How does one switch to a CentOS kernel with a different memory model?
funzone
(Action) peeks in
donavan
orc_orc: my math says 347 days
orc_orc
(Action) kicks bc
and believes donavan
donavan
100000/24/12
kreg_work
donavan, ??
orc_orc
dammit - I did poart of my computation in seconds rather than minutes --
donavan
thought so
orc_orc
* bc kicks back at its operator
donavan
;)
orc_orc
yep: echo "( 5 * 100 * 1000) / ( 60 * 24 ) " | bc
donavan
kreg_work: this channel doesn't care about your personal drama
kreg_work
not claiming to have any drama. dunno about your drama though. i simply asked a question with an explanation prior to why the question was stated.
donavan, save suggestions like that for newbs
funzone
(Action) kicks Evolution....dammit now wake up..
devhen
kreg_work: i dont understand your question. what are you trying to do with your home dirs?
donavan
6 lines of garbage + 1 line of information that should have been contained on the garbage lines + 1 poorly asked question
elrako
(&)
funzone
hey donavan.... are you starting arguments in the room again... :-)
kreg_work
devhen, regenerate all of them to defaults
according to entries in /etc/passwd
devhen
what do you mean 'defaults'?!
donavan
no mention of your backup technique
kreg_work
as if i did a "useradd -m username"
i just saved a copy of /etc/passwd, /etc/shadow. /etc/group. /etc/gshadow
elrako
so cacti btter than zabbix, or is cacti integrated into zabbix or vice vrsa
kreg_work
didn't tar /home
elrako
have a ton o stuff to trend/track
devhen
hmmm. so, essentially your just trying to reinstate passwords that existed before.
kreg_work
well the passwd's are intact. they work fine. just no default home dir as /etc/passwd attempts durring login
donavan
funzone: on the contrary
kreg_work
so hence, you get the "could not find home dir" warning
devhen
so.... just edit each user and tell the system where their home dir is
kreg_work
there was nothing of importance in any users's homedir. its all for testing. i just don't want to manually creat 35 home dirs and skel's
donavan
that what shell scripts, cut, mkdir, and cp are for
devhen
i second that, donavan.
kreg_work
so then yes, i have to do it by hand. thank you
donavan
mabye a couple if [ ]'s
funzone
iirc once you add the home dir to the profile doesnt it make the directory
donavan
funzone profile?
kreg_work
what is this ....profile?
etc/passwd
funzone
user profile.
kreg_work
...
donavan
funzone: man page? url? help me out here
funzone
donavan: hold on a sec
Hobart
Anyone here using 2.6.9-34.0.2.ELlargesmp ?
devhen
kreg_work: if you run system-config-users does it show your users?
Hobart
the large kernel isn't recognizing >3.3gb
elrako
haha, maybe i am using that kernel
funzone
that is what i was looking for...
elrako
Hobart: what do u need 2 know
donavan
what is funzone ?
funzone
i thought once you add a home directory in the system-config-users it will make the directory for you.
Hobart
elrako -> how to get my full 4GB of RAM available, I only get MemTotal: 3346036 kB
devhen
funzone: yes, it will automatically create the home dir when you create a new user
funzone
or even edit system-config-users
donavan
he has the users already
devhen
this is confusing. kreg_work: if you already have the users, just run system-config-users and set their home dir's!!!
elrako
oh, good question, prob better nthe email listr where wm and ks see it....
ANYONE HAVE A GOOD HOWTO ON CACTI UNDER 4.3?
kreg_work
never have even heard of that front end tool before. i've only known how to do it by hand.
i'll try it out
orc_orc
elrako: 1) please do not shout; 2) please google; 3) please read: http://www.centos.org/irc/
funzone
i thought even editing the system-config-users,,,,as in this case if you add or change the home directory it will create a new one or modify the one there.
devhen
funzone: maybe so. im not sure. proabably. what is your question?
gaupe
I just can't manage to like cacti :( , there is too much hidden logic under the hood - and a lot of that logic isn't all that smart
elrako
system-config-security, system-config-users, system-config-network, system-config-kickstart, there's a whole army of them
gaupe: good 2 know.
kreg_work
i'm just claiming to have a new installed system, but only overwrote /etc/passwd /etc/shadow etc..
funzone
this is what i thought...but i have been totally wrong before.
kreg_work
so the "users" are in tact, they just have no home dir "pre-built"
gaupe
elrako: It's mostly a fancy mrtg, you could also look into cricket
kreg_work
oh no wonder, it's an X app
i don't run X on servers.
devhen
kreg_work: i would use system-config-users to add the users. then replace /etc/shadow and those files with your backups as they might get overwritten when you create new users
funzone
devhen: if i had a question i would of asked it.
gaupe
kreg_work: especially things like caching of information from configfiles in databases is idiotic
devhen
funzone: sorry, i didnt realize you were trying to help kreg_work. i thought you had a problem of your own
kreg_work: just make sure your users have the same user id's that they had on the old system. i assume this is how /etc/shadow and other files identify users
gaupe
kreg_work: sorry, that was ment for elrako :)
donavan
funzone's problem is touching his keyboard
elrako
kreg_work: true that, it's x based, no workie for real boxen...
donavan
orc_orc: do these people in here scare you like they scare me?
kreg_work
eh i'll be ok. nearly done with a bash script.
« prev 1 2 3 4 5 6 7 8 9 10 11 next »