Re: [gentoo-user] firewall

2003-09-11 Thread Piotr 'p1t3r05' Piasny
W licie z czw, 11-09-2003, godz. 06:17, Chris pisze: 
 i noticed that there are a few firewalls in portage which do you recogmend?

iptables + 2.4 kernel

-- 
Piotr Piasny (p1t3r05)
piteros1[at]_SPAM_wp.pl p1t3r05[at]_SPAM_o2.pl
LRU #217108 MR #102136 Gentoo



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] apache configuration

2003-09-02 Thread Piotr 'p1t3r05' Piasny
On Tue, 2 Sep 2003 02:31:00 +
momesana [EMAIL PROTECTED] wrote:

 Hi, all
 maybe this is not the right place to post a question about setting up
 the apache server, but anyway.
 
RTFM :) httpd.apache.org

 I can't manage to change DocumentRoot to anything else but the default
 
 
 DocumentRoot /home/httpd/htdocs
 
 when I put my files in there it works fine but when I put them
 somewhere else (with the same permissions = 755 or even 777 for the
 directory and all files chmod -R 755 directory) it gives following
 error message:
 
 Forbidden
 
 You don't have permission to access / on this server.
 
 Apache/2.0.47 (Gentoo/Linux) Server at 127.0.0.1 Port 80
 
 It is a 403 Erro message and I have no clue why. Even when I copy 
 /home/httpd/htdocs to /home/httpd/htdocs2 while preserving the 
 filepermissions with
 # cp -Rp /home/httpd/htdocs /home/httpd/htdocs2
 and change the apache2.conf file accordingly it won't work (of course
 I restart apache after modifiing the config file).
 
 What is the reason for this errormessage.
 please email me at [EMAIL PROTECTED]
 
You must make apropriate Directory section too:
Directory /your/new/document/root
Simply find that one which was responsible for old
Document Root and change it as you need.

-- 
Piotr Piasny (p1t3r05)
piteros1[at]_SPAM_wp.pl p1t3r05[at]_SPAM_o2.pl
LRU #217108 MR #102136 Gentoo

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How to determine what installed...

2003-09-02 Thread Piotr 'p1t3r05' Piasny
On Mon, 1 Sep 2003 17:02:01 -0400
Ben Kennedy [EMAIL PROTECTED] wrote:

 (now if I could only make it stop displaying cyan-on-white output in
 my xterm...)

In
/etc/X11/app-defaults/XTerm
and in
/etc/X11/app-defaults/XTerm-color
find similar line and change to what you wish
*XTerm*background:  gray40
*XTerm*foreground:  white

btw. me/ too hates this weird default colors :)

-- 
Piotr Piasny (p1t3r05)
piteros1[at]_SPAM_wp.pl p1t3r05[at]_SPAM_o2.pl
LRU #217108 MR #102136 Gentoo

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iptables help

2003-08-31 Thread Piotr 'p1t3r05' Piasny
On Fri, 29 Aug 2003 10:47:59 -0500
Andrew Gaffney [EMAIL PROTECTED] wrote:

 I'm trying to create a firewall using iptables. I want it to drop 
 incoming packets except to ports 22, 25, and 80 unless the source 
 address is 192.168.254.x. I'm asking before I do this because I'm 
 accessing the computer remotely right now and I don't want to cut
 myself off from it. I'm thinking something like:
 
 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 iptables -A INPUT -p all -j DROP
 
 -or-
 
 iptables -P INPUT DROP
 iptables -A INPUT -s 192.168.254.0/24 -p all -j ACCEPT
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
 iptables -A INPUT -p tcp --dport 25 -j ACCEPT
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 
 Would either of these get me the desired results?
 
 -- 
 Andrew Gaffney
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 
IMHO, second version will work as you wish.
BUT that's only IMHO!

Why?
because you first deny everything,
and then you 'relaxing' DENY rule.
In first last command (DROP all) you overwriting
that what you said in 4 previous lines.


-- 
Piotr Piasny (p1t3r05)
piteros1[at]_SPAM_wp.pl p1t3r05[at]_SPAM_o2.pl
LRU #217108 MR #102136 Gentoo

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] MozFierbird bookmarks

2003-08-20 Thread Piotr 'p1t3r05' Piasny
On Wed, 20 Aug 2003 15:21:32 -0400
Chris I [EMAIL PROTECTED] wrote:

 On 2003.08.20 15:17, Peter Ruskin wrote:
  On Wednesday 20 Aug 2003 18:50, Ernie Schroder wrote:
   Still no bookmarks, though. Am I screwed or is there a way
  to
   recover them? Does anyone have any idea about what may have
  happened?
  
  I periodically lose my bookmarks in Mozilla 1.4.  I don't know what
  causes it but I restored from backup.  You do do backups, don't you?
  
  Now I regularly copy ~/.mozilla/default/bookmarks.html to
  ~/.mozilla/bookmarks.html and ~/bookmarks.html so I have
  ready-to-use backups.
 
 Last time i checked, Mozilla-Firebird was still using .phoenix for
 it's storage needs.
 
ROTFL,

that's true, I lost my bookmarks too, make backup and you're done

-- 
Piotr Piasny (p1t3r05)
piteros1[at]_SPAM_wp.pl p1t3r05[at]_SPAM_o2.pl
LRU #217108 MR #102136 Gentoo

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Donation disclosure

2003-08-15 Thread Piotr 'p1t3r05' Piasny
On Fri, 15 Aug 2003 12:45:34 +0200
roger21 [EMAIL PROTECTED] wrote:

 how can you say that, i mean you use a product in free software
 comunity and you don't care about what is done with the money they
 earn !! this is unresponsable
 
``free'' as in ``free speech,'' not as in ``free beer.''
http://www.fsf.org/philosophy/free-sw.html

-- 
Piotr Piasny (p1t3r05)
piteros1[at]_SPAM_wp.pl p1t3r05[at]_SPAM_o2.pl
LRU #217108 MR #102136 Gentoo

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Scite colours

2003-08-05 Thread Piotr 'p1t3r05' Piasny
On Tue, 5 Aug 2003 01:04:56 +0200
Meka[ni] [EMAIL PROTECTED] wrote:

   How can I change the colour of the background in scite. I know
   how to change font colour
 but I can't figure out how to do it for background. Thax. :o)
 
 __
 Meka[ni]
 
 --
 [EMAIL PROTECTED] mailing list
 
 
nice docs are included, so reading it will be smart

here's me config:
---cut---

# maximize on start
position.top=0
position.left=0
position.width=-1
position.height=-1

# how much ciphers
line.numbers=4
statusbar.visible=1

# caret == cursor
caret.fore=#ff
caret.width=2

# i hate when gcc tells me about that
ensure.final.line.end=1

# vertical out window
split.vertical=0
output.horizontal.size=50

# clear out window before executing
clear.before.execute=1

use.monospaced=1
#font.monospace=font: Courier, size: 12

# i want to be sure what i'm editing
title.full.path=1

# wow, that must be resolved
tabsize=4
indent.size=4
#indent.automatic=1
#indent.opening=0
#indent.closing=0
use.tabs=1
tab.indents=1
backspace.unindents=1

# eyes, precious eyes..
style.*.32=$(font.base),back:#e9e9e9,fore:#00
selection.back=#8080ee

# netscape sucks
command.scite.help=galeon file://$(SciteDefaultHome)/SciTEDoc.html
command.go.$(file.patterns.web)=galeon file://$(FilePath)

#xml.auto.close.tags=1
#html.tags.case.sensitive=1

# nc, mc bad habits
user.shortcuts=\
F2|IDM_SAVE|\
F4|IDM_REPLACE|\
F10|IDM_QUIT|

# conflict with tools  build
#F7|IDM_FINDNEXT|\

# iso-8859-2 fonts
character.set=238

# how many files can be
# edited at the same time
buffers=5
---cut-

put it into ~/.SciTEUser.properties

hope you like it

-- 
Piotr Piasny (p1t3r05)
piteros1[at]_SPAM_wp.pl p1t3r05[at]_SPAM_o2.pl
LRU #217108 MR #102136 Gentoo

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] The age old question..

2003-07-06 Thread Piotr 'p1t3r05' Piasny
On 03 Jul 2003 11:57:25 +1000
drewbian [EMAIL PROTECTED] wrote:

 Hi all,
 
 Any one here have a nice stable yet fast CFLAGS=  section suitable
 for a duron 1.3ghz they could possibly paste? (pretty big ask I know
 ;))
 
 After looking through the huge array of optimizations people have
 posted on the discussion forum's I'm rather confused as to what the
 hey to put in there. Particularly as most posters seem to use Pent 4's
 or Athlon XP's, 
 
 Also would -march=athlon be the most suitable for a Duron 1.3?
 
 heres the output of cat /proc/cpu
 
 processor   : 0
 vendor_id   : AuthenticAMD
 cpu family  : 6
 model   : 7
 model name  : AMD Duron(tm) Processor 
 stepping: 1
 cpu MHz : 1313.066
 cache size  : 64 KB
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 1
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
 cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
 bogomips: 2614.88
 
 Hopefully someone will put us gentoo noobs out of our misery and write
 up a definiative guide one of these days ;) *crosses fingers*
 
 
 
 
 --
 [EMAIL PROTECTED] mailing list
 
 
Hi, 
thats my settings, hope that helps:


processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 6
model   : 7
model name  : AMD Duron(tm) processor
stepping: 0
cpu MHz : 1000.117
cache size  : 64 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips  : 1992.29

--
CHOST=i686-pc-linux-gnu
CFLAGS=-march=athlon-xp -mcpu=athlon-xp -Os -pipe -fomit-frame-pointer
CXXFLAGS=${CFLAGS}

-
for now (454 packages installed) anything works very fine.

one exception: gimp
for this great prog i use:
CFLAGS=-march=athlon-xp -mcpu=athlon-xp -O2 -pipe
CXXFLAGS=${CFLAGS}

-- 
Piotr Piasny (p1t3r05) __LRU #217108
piteros1 [at] _NO_SPAM_ wp.pl MR #102136
p1t3r05 [at] _NO_SPAM_ o2.pl PLD1.0 (Ra)

--
[EMAIL PROTECTED] mailing list



[gentoo-user] gpm+X problem

2003-06-29 Thread Piotr 'p1t3r05' Piasny
Hi,

my X are taking mouse activity data from /dev/gpmdata.
problem is that when I from console type
$ startx
or even!
$ X
there is some delay in running graphical mode (about 3-5seconds).

i think that problem is in connection of X's and gpm. when i set in
XF86Config everything is OK.

oh, i almost forget: when X's are running and i Ctrl+F1 to console it
respond at once. but in reverse (text-X) there is the same delay.
monitor shows some elements of windows, then stops, mouse can't be
moved and after 3-5 seconds everything is OK.

x11-base/xfree-4.3.0-r3
media-video/nvidia-kernel-1.0.4363-r2
media-video/nvidia-glx-1.0.4363

Duron1Ghz, 320MB, GF2Ti 64MB

don't tell me to turn off gpm, i MUST have mouse cut+paste in console :)

thanks in advance

-- 
Piotr Piasny (p1t3r05) __LRU #217108
piteros1 [at] _NO_SPAM_ wp.pl MR #102136
p1t3r05 [at] _NO_SPAM_ o2.pl PLD1.0 (Ra)

--
[EMAIL PROTECTED] mailing list