5 Beginner questions regarding Fedora 14

2010-12-08 Thread S Mathias
Good morning!! :)

I hope that i can find a solution to my questions: 
I'm new to Fedora, but it seems it would be the "best" distro for Desktop use.
I already installed it, 256 MByte for /boot, and put all the rest in an 
encrypted LVM. [LV: swap, /root, /tmp]



lsb_release -a
LSB Version:    :core-4.0-ia32:core-4.0-noarch
Distributor ID:    Fedora
Description:    Fedora release 14 (Laughlin)
Release:    14
Codename:    Laughlin

yum list | grep -i Firefox
firefox.i686   3.6.12-1.fc14    @updates



1 - Flash player:

http://fedoraproject.org/wiki/Flash

Theres no exact documentation for Fedora 14. So I went to:

http://get.adobe.com/flashplayer/

Selected YUM for Linux, but then i saw:

"You may have to temporarily disable your antivirus software."

WHY? Why does a closed source app want a thing like that? Is it doing something 
"bad" to my pc? Ok. So i installed Gnash. "Solved"...



2 - http://www.youtube.com/html5

# yum install gstreamer-plugins-bad-free
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Package gstreamer-plugins-bad-free-0.10.20-3.fc14.1.i686 already installed and 
latest version
Nothing to do
# 

But when i visit:

http://www.permadi.com/blog/2010/05/sample-webm-video-2/

It just puts an "X" with black background to the place, where the video is.

How could i play html5/webm? videos?



3 - https://addons.mozilla.org/en-US/firefox/addon/12714/ force-tls
Does this plugin work? E.g.: facebook could be "always" https, but with this 
plugin, it just uses http.
On a machine with windows xp/chromium/enforce ssl plugin facebook is always 
"https" - just an example.
Are there any Firefox plugins, that "enforce" SSL, if there any?



4 - Where can I find up-to-date offical docs ["not ask google"] about any 
further questions?

http://forums.fedoraforum.org/
http://fedorasolved.org/
has anybody more links? :O



5 - I read about SELinux. But what is the "best practise" / suggestion, where 
can i learn about it, how to use it, configure, etc. :O



Thank you in advance!


  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


VirtualBox on Fedora 14

2010-12-08 Thread S Mathias
Good evening list! :)

I'm searching for two answers regarding two questions. [and there are two 
"P.S."'s]

Q1: How can i list all the available kernel modules?

Q2: I want to install VirtualBox on Fedora 14 [->how could i download the 
kernel source?]: 

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O 
oracle_vbox.asc
rpm --import oracle_vbox.asc
rm oracle_vbox.asc virtualbox.rpm
wget $(wget -q "http://www.virtualbox.org/wiki/Linux_Downloads"; -O - | perl -ne 
'print "$1\n" while (/href=\"(.+?)\"/ig)' | awk '/fedora14/ && /686/ {print}') 
-O virtualbox.rpm
rpm -i virtualbox.rpm

And then, the fun part: 

# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules    [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS[FAILED]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules  [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)
[r...@a ~]# cat /var/log/vbox-install.log 
Makefile:159: *** Error: unable to find the sources of your current Linux 
kernel. Specify KERN_DIR= and run Make again.  Stop.
[r...@a ~]# uname -a
Linux a 2.6.35.9-64.fc14.i686.PAE #1 SMP Fri Dec 3 12:28:00 UTC 2010 i686 i686 
i386 GNU/Linux
[r...@a ~]# lsb_release -a
LSB Version:    :core-4.0-ia32:core-4.0-noarch
Distributor ID:    Fedora
Description:    Fedora release 14 (Laughlin)
Release:    14
Codename:    Laughlin
[r...@a ~]# lsmod | grep -i vbox
[r...@a ~]# dmesg | grep -i vbox
[r...@a ~]# 

P.S. 1: This is not working [bug on virtualbox.org website? ]:
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- 
| rpm --import -
error: -: import read failed(-1).

P.S. 2: When i wanted to install VirtualBox, i tried this [when running in to 
the kernel source "issue"]: 
http://www.linuxforums.org/forum/red-hat-fedora-linux/20689-donwload-kernel-source-using-yum.html#post549910

But when i'm here:

# yumdownloader -e core-source -e updates-source --source kernel
Usage: "yumdownloader [options] package1 [package2] [package..]

CRITICAL:yum.cli:Command line error: option -e: invalid integer value: 
'core-source'

..it gives an error :O so i wanted to: 

yum remove rpmdevtools yum-utils

->
http://pastebin.com/raw.php?i=Y8y0YjLG

Is it safe to remove "anaconda"?


Thank you in advance! :\ [sorry, i'm a beginner in Fedora :\ ]


  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: VirtualBox on Fedora 14

2010-12-08 Thread S Mathias
Ok, so after a fresh install: 

yum install dkms kernel-devel
sync
sync
sync
reboot
wget "http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo"; -O 
/etc/yum.repos.d/virtualbox.repo
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O 
oracle_vbox.asc
rpm --import oracle_vbox.asc
rm oracle_vbox.asc
yum update
yum install VirtualBox-3.2

And here comes the part, thats not 100%

# service vboxdrv setup
Stopping VirtualBox kernel modules [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules    [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel source for kernel 2.6.35.9-64.fc14.i686.PAE cannot be found 
at
/lib/modules/2.6.35.9-64.fc14.i686.PAE/build or 
/lib/modules/2.6.35.9-64.fc14.i686.PAE/source.
   [FAILED]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules  [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)


# ls /usr/src/kernels/
2.6.35.9-64.fc14.i686
[r...@a yum.repos.d]# 

!! -> so the "/usr/src/kernels/2.6.35.9-64.fc14.i686.PAE" is MISSING!

Where can i download it?

p.s.: I recently installed the PAE kernel by:

yum install kernel-PAE






--- On Wed, 12/8/10, Richard Shaw  wrote:

From: Richard Shaw 
Subject: Re: VirtualBox on Fedora 14
To: "Community support for Fedora users" 
Date: Wednesday, December 8, 2010, 6:58 PM

On Wed, Dec 8, 2010 at 12:47 PM, S Mathias  wrote:

Good evening list! :)

I'm searching for two answers regarding two questions. [and there are two 
"P.S."'s]


Q1: How can i list all the available kernel modules?


Q2: I want to install VirtualBox on Fedora 14 [->how could i download the 
kernel source?]: 

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O 
oracle_vbox.asc

rpm --import oracle_vbox.asc
rm oracle_vbox.asc virtualbox.rpm

Everything OK so far... 
wget $(wget -q "http://www.virtualbox.org/wiki/Linux_Downloads"; -O - | perl -ne 
'print "$1\n" while (/href=\"(.+?)\"/ig)' | awk '/fedora14/ && /686/ {print}') 
-O virtualbox.rpm

rpm -i virtualbox.rpm

You're making things hard on yourself. Follow this link[1] and setup the yum 
repository. Then installing is as simple as:

# yum install VirtualBox-3.2
The other packages you need is the kernel headers (not the whole source) and 
dkms (dynamic kernel module support), i.e.:
# yum install kernel-devel dkms
 
And then,
 the fun part: 

# /etc/init.d/vboxdrv setup

[snip]
Try "service vboxdrv setup" instead. Not really the problem but from what I've 
read it's a more appropriate method. 
 

P.S. 1: This is not working [bug on virtualbox.org website? ]:
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- 
| rpm --import -

error: -: import read failed(-1).

P.S. 2: When i wanted to install VirtualBox, i tried this [when running in to 
the kernel
 source "issue"]: 
http://www.linuxforums.org/forum/red-hat-fedora-linux/20689-donwload-kernel-source-using-yum.html#post549910


But when i'm here:

# yumdownloader -e core-source -e updates-source --source kernel
Usage: "yumdownloader [options] package1 [package2] [package..]

CRITICAL:yum.cli:Command line error: option -e: invalid integer value: 
'core-source'


..it gives an error :O so i wanted to: 

yum remove rpmdevtools yum-utils

->
http://pastebin.com/raw.php?i=Y8y0YjLG

Is it safe to remove "anaconda"?



You don't want to just download it, you want to install it. But as I said, you 
don't need the whole source, just the headers which is provided by the 
kernel-devel package. 



Thank you in advance! :\ [sorry, i'm a beginner in Fedora :\ ]
No problem! 
Richard
[1] http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo 


-Inline Attachment Follows-

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: VirtualBox on Fedora 14

2010-12-08 Thread S Mathias
Thank you! That worked :))

--- On Wed, 12/8/10, Lamar Owen  wrote:

From: Lamar Owen 
Subject: Re: VirtualBox on Fedora 14
To: "Community support for Fedora users" 
Date: Wednesday, December 8, 2010, 7:44 PM

On Wednesday, December 08, 2010 02:30:19 pm S Mathias wrote:
> !! -> so the "/usr/src/kernels/2.6.35.9-64.fc14.i686.PAE" is MISSING!
> 
> Where can i download it?

yum install kernel-PAE-devel
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


apxl file under Fedora?

2010-12-10 Thread S Mathias
I got a file from a friend:

asfd.apxl

it's some kind of xml

with what could i open this file under Fedora 14? 

Thank you for any tips!



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: apxl file under Fedora?

2010-12-10 Thread S Mathias
Congratulations!

--- On Fri, 12/10/10, Michael Schwendt  wrote:

From: Michael Schwendt 
Subject: Re: apxl file under Fedora?
To: users@lists.fedoraproject.org
Date: Friday, December 10, 2010, 1:11 PM

On Fri, 10 Dec 2010 04:02:10 -0800 (PST), S wrote:

> I got a file from a friend:
> 
> asfd.apxl
> 
> it's some kind of xml
> 
> with what could i open this file under Fedora 14? 
> 
> Thank you for any tips!

http://tinyurl.com/2dmjjma
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


"ultimate" backup choice

2010-12-11 Thread S Mathias
i have:
"SERVER A"
"SERVER B"

with "full root permisson" [ssh, etc]

each server has a folder.

i want to backup a folder in "SERVER A".

are there any backup methods, that meets these two requirements? :


1) running from e.g.: a cronjob

2) when running, it just checks the folder in "SERVER A" and "SERVER B". if a 
file/folder has been added/removed/modified in the "SERVER A"'s folder, then it 
copies/removes it/them to "SERVER B"'s folder.

please help!

Thank you in advance! [for any links, howtos :\ ]

have a nice weekend


  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


import certificates via command line - Firefox

2010-12-11 Thread S Mathias
is there any way under Fedora to import certs to Firefox from the terminal?

theres a website [using https] with a self-signed certificate, and i'm just 
wondering, how could someone "set it throu ssh" [on the clients], so that the 
"This Connection is Untrusted" sign doesn't appear on the clients

Thank you!


  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


bash increment in a given way

2010-12-11 Thread S Mathias
It's ok, that i can use this, when i want an incrementing sequence, in a given 
way:

# {START..END..INCREMENT}
$ for i in {0..10..2}; do echo "Welcome $i times"; done
Welcome 0 times
Welcome 2 times
Welcome 4 times
Welcome 6 times
Welcome 8 times
Welcome 10 times
$

but what's the "magic" for this? :

$ MAGIC; do echo "Welcome $i times"; done
Welcome 0 times
Welcome 1 times
Welcome 4 times
Welcome 5 times
Welcome 8 times
Welcome 9 times
$

thanks:\



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: bash increment in a given way

2010-12-11 Thread S Mathias
thank you, but already solved!

$ for i in $(seq 0 4 16); do seq $i 1 $(( $i + 1 )); done
0
1
4
5
8
9
12
13
16
17


--- On Sat, 12/11/10, John Haxby  wrote:

From: John Haxby 
Subject: Re: bash increment in a given way
To: "Community support for Fedora users" 
Date: Saturday, December 11, 2010, 4:50 PM



On 11 December 2010 14:34, S Mathias  wrote:


but what's the "magic" for this? :

$ MAGIC; do echo "Welcome $i times"; done
Welcome 0 times

Welcome 1 times
Welcome 4 times
Welcome 5 times
Welcome 8 times
Welcome 9 times
$



for i in 0 1 4 5 8 9; do 
 

-Inline Attachment Follows-

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Border protection for Fedora

2010-12-12 Thread S Mathias
I have a small, simple firewall "script": http://pastebin.com/raw.php?i=NChRyqVu

Can I ask the mailing list, that look at it for a few moments, and sort out 
the: 

 - unnecessary things in it [if it contains any, like are there solutions for 
write multiple destination ip's in one line?]
 - missing thing, that could be in a firewall, to make it _SAFER/BETTER_!

TODO's/Q's [please help!]: 
1) where do i have to put the "iptables-restore FROMTHEFILE" command [to set 
the firewall when e.g.: booting the pc] on Fedora?

2) what is the best application firewall under linux? [links for good howtos?]

3) do i need a proxy? [i can guess that, that the http proxy on localhost can 
filter the http, but what's with https? it's end-to-end encrypted :O]

4) can i do something with the: "$IPTABLES -A INPUT -p tcp --dport 2 -j 
ACCEPT" - i'm seeding distros on torrent, but are there any plus "options" to 
e.g.: only allow torrent traffic on port 2/input?

5) on line 68: "$IPTABLES -A INPUT -m state --state ESTABLISHED,RELATED -j 
ACCEPT" - when i put a "-p tcp" in it, it makes "funny" things - when i reopen 
my webbrowser, i "can't surf the net", so i can't put the "-p tcp" in it? :( - 
just to ensure only tcp comes IN. [why would i need anything else?? only OUTPUT 
udp needed, no? :O + icmp ping output..]

6) "is it safer", if i use a local dns cache? like "dnsmasq"? 

7) what does exactly "--state ESTABLISHED,RELATED" mean? why do i have to write 
this to the start of my firewall script?

8) how could i block packets from: destinatio ip 255.255.255.255?? "$IPTABLES 
-A INPUT -d 255.255.255.255 -j DROP" to the start of my script DOESN'T help :O 
i used wireshark to get this info.. the broadcast package was my routeros 
router.

sorry if i ask to much :\ but i need these answers :\ [and at least it would be 
archived]

THANK YOU for any help regarding these things!



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


openssl chat

2010-12-12 Thread S Mathias
i can use "natively" openssl for anonymous chat: 

# Chat: 
# server side:
openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out 
mycert.pem

# server side - generate a self-signed cert.
openssl s_server -accept 52310 -cert mycert.pem

# client side - "127.0.0.1" is the IP of the server
openssl s_client -connect 127.0.0.1:52310


1) but how can i set it to require username/password? it would be a great chat 
tool
2) how can i transfer files with openssl? [again: with username/password?]

thank you for any ideas :\

p.s.: or it will be a firewall rule, to restrict to ip addresses in a list? 
those, who are only allowed to connect..


  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


caching-nameserver SELinux

2010-12-13 Thread S Mathias
i just wanted to install a local caching dns name server:

yum -y install caching-nameserver

but it can't start, because SELinux is preventing it: 

http://pastebin.com/raw.php?i=V9GK49mJ

I already tried:

touch /.autorelabel
reboot

but it still doesn't starts :\ problems the same.

theres a "fix command":
setsebool -P domain_kernel_load_modules 1
should i try it? will my pc be "safe" after this command? :\

thank you



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: caching-nameserver SELinux

2010-12-14 Thread S Mathias
"You can ignore
this avc."

:O And how can i start the caching-nameserver, if i want to disable ipv6?

thank you


--- On Mon, 12/13/10, Daniel J Walsh  wrote:

From: Daniel J Walsh 
Subject: Re: caching-nameserver SELinux
To: "Community support for Fedora users" 
Cc: "S Mathias" 
Date: Monday, December 13, 2010, 8:49 PM

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/13/2010 03:41 PM, S Mathias wrote:
> i just wanted to install a local caching dns name server:
> 
> yum -y install caching-nameserver
> 
> but it can't start, because SELinux is preventing it: 
> 
> http://pastebin.com/raw.php?i=V9GK49mJ
> 
> I already tried:
> 
> touch /.autorelabel
> reboot
> 
> but it still doesn't starts :\ problems the same.
> 
> theres a "fix command":
> setsebool -P domain_kernel_load_modules 1
> should i try it? will my pc be "safe" after this command? :\
> 
> thank you
> 
> 
> 
>       
> 
This is happening because you disabled ipv6 networking.  You can ignore
this avc.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0GhuAACgkQrlYvE4MpobOQWwCguADj/Ed9qQBcBDKYG7rasUnX
ZTsAoKTbbGACmKagF26Q/8APvwamwnfw
=uNrW
-END PGP SIGNATURE-



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


3 name server questions

2010-12-14 Thread S Mathias
lsb_release -a
LSB Version:    :core-4.0-ia32:core-4.0-noarch
Distributor ID:    Fedora
Description:    Fedora release 14 (Laughlin)
Release:    14
Codename:    Laughlin

1) where does a local caching-nameserver get's it's information, about dns?

cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 8.8.8.8

so if i want information about foo.com, then if it's not cached, i ask the 
local caching-dns-server. it doesn't know, what is foo.com. so what does it do? 
it asks the second name server? the 8.8.8.8?

2) i just can't find where could i set that what is the largest cache size of 
the local dns server. how long does the local dns server stores the 
informations?


3) can i flush the dns cache? restart named?

thank you!



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


can't halt because of: caching-nameserver

2010-12-14 Thread S Mathias
uname -a
Linux a 2.6.35.9-64.fc14.i686.PAE #1 SMP Fri Dec 3 12:28:00 UTC 2010 i686 i686 
i386 GNU/Linux
lsb_release -a
LSB Version::core-4.0-ia32:core-4.0-noarch
Distributor ID: Fedora
Description:Fedora release 14 (Laughlin)
Release:14
Codename:   Laughlin




i: 

yum -y install caching-nameserver
chkconfig --level 5 named on

reboot. ok. but when i wanted to power off my pc...it just hanged...

the last message it says:

"stopping named"

...but it just waits...and waits...and suddenly..it turns back to the Desktop 
:D :O

how could i resolve this issue? [bug or feature?:O]

thank you!



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


how to set default text editor under Fedora 14?

2010-12-15 Thread S Mathias
export UAEDITOR=vim
export EDITOR=vim
export VISUAL=vim

doesn't work!

How?

when i use mc, and press F4, it doesn't bring up vim :(



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


attacks, that could be prevented with iptables

2010-12-15 Thread S Mathias
I updated my firewall script [only for a usually home desktop pc, Fedora 14]

1) Does this really gives protection against syn attacks?:

http://www.webhostingtalk.com/showpost.php?s=9bc3d4f0da424f10c6ad08f572d3ebf0&p=2784813&postcount=1

2) how can i flush all the iptables rule/policy to default? this is the offical 
method? [are there unnecessary lines in it?] :

# FLUSH ALL RULES
$IPTABLES -F
$IPTABLES -t nat -F
$IPTABLES -t mangle -F

# ERASE ALL NON-DEFAULT CHAINS
$IPTABLES -X

3) are there any docs/howtos, [like the syn attack "1)" one], that could give 
me more "security" with iptables?

4) my firewall script is here [are there any errors in it?]:
http://pastebin.com/raw.php?i=R7QdiDd9

5) is there a command to get info, that how many packets went through e.g.: the

$IPTABLES -A OUTPUT -p tcp --dport 20:21 -j ACCEPT
or the
$IPTABLES -A OUTPUT -p tcp -m multiport --dport 80,443 -j ACCEPT
line? are there any statistics about it?



ps.: the local dns server was just a:

yum -y install caching-nameserver
chkconfig --level 5 named on

ps2.: and i found out, that if i use a local dns server, that local dns server 
will "get info" from the root servers!!! no more relying on google dns, or 
opendns!! hurraj! :) !!! made my day :)

ps3.: i found out why my computer hangs, after installing the cached name 
server:

http://lists.fedoraproject.org/pipermail/users/2010-December/388752.html

it was regarding the firewall but with my newest [ 4) ] firewall script, it 
works just fine



  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


google chrome "big brother"

2010-12-17 Thread S Mathias
Google Chrome Terms of Service(Google Chrome executable), BSD (source code and 
Chromium executable except chromium 5 beta),BSD License with proprietary parts 
(source code and chromium 5 beta executable, as it integrates Adobe Flash 
Player 10.1[1])[2]
http://en.wikipedia.org/wiki/Google_Chrome
in my interpretation, this means Google Chrome is fully open-source, only the 
flash player has proprietary codes.
am i right, or i'm missing something?
i would be happy if someone could correct me.
thank you!!
*ps.: because "they" say google is the "big brother"


  -- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Change m...@every boot

2010-12-18 Thread S Mathias
lsb_release -a
LSB Version::core-4.0-ia32:core-4.0-noarch
Distributor ID: Fedora
Description:Fedora release 14 (Laughlin)
Release:14
Codename:   Laughlin

# uname -a
Linux a 2.6.35.9-64.fc14.i686.PAE #1 SMP Fri Dec 3 12:28:00 UTC 2010 i686 i686 
i386 GNU/Linux


I'm trying to do what was mentioned in the $subject:

echo -e '#!/bin/bash\n\nmacchanger -r eth0\nmacchanger -r wlan0' > 
/etc/rc.d/init.d/macchanger
ln -s /etc/rc.d/init.d/macchanger /etc/rc.d/rc5.d/S22macchanger
chmod +x /etc/rc.d/init.d/macchanger


S23 is the network manager, and i'm sure i'm in runlevel 5.

but the mac doesn't change at boot, and i can't see any log messages regarding 
it :(

Where should i put my script? or it doesn't have enough permission to change 
the MAC's?

Thank you for any help (or pointing to a howto)


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Change m...@every boot

2010-12-19 Thread S Mathias
So theres no solution for this :O :\

--- On Sat, 12/18/10, S Mathias  wrote:

> From: S Mathias 
> Subject: Change m...@every boot
> To: users@lists.fedoraproject.org
> Date: Saturday, December 18, 2010, 12:29 PM
> lsb_release -a
> LSB Version:   
> :core-4.0-ia32:core-4.0-noarch
> Distributor ID:    Fedora
> Description:    Fedora release 14
> (Laughlin)
> Release:    14
> Codename:    Laughlin
> 
> # uname -a
> Linux a 2.6.35.9-64.fc14.i686.PAE #1 SMP Fri Dec 3 12:28:00
> UTC 2010 i686 i686 i386 GNU/Linux
> 
> 
> I'm trying to do what was mentioned in the $subject:
> 
> echo -e '#!/bin/bash\n\nmacchanger -r eth0\nmacchanger -r
> wlan0' > /etc/rc.d/init.d/macchanger
> ln -s /etc/rc.d/init.d/macchanger
> /etc/rc.d/rc5.d/S22macchanger
> chmod +x /etc/rc.d/init.d/macchanger
> 
> 
> S23 is the network manager, and i'm sure i'm in runlevel
> 5.
> 
> but the mac doesn't change at boot, and i can't see any log
> messages regarding it :(
> 
> Where should i put my script? or it doesn't have enough
> permission to change the MAC's?
> 
> Thank you for any help (or pointing to a howto)


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


disable given SELinux messages/gui

2010-12-19 Thread S Mathias
after i: 

yum install privoxy
chkconfig --level 5 privoxy on

and 

yum -y install caching-nameserver
chkconfig --level 5 named on

rebooted:

http://img217.imageshack.us/img217/3205/selinux.png

how can i disable this 2 selinux warning, that appears at every boot?

thank you, and sorry for the question :\

good night


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


do i need a dedicated ip address for https?

2010-12-21 Thread S Mathias
http://help.godaddy.com/article/1054

"# Set up SSL protection on your website."

is it an inescapable requirement to have a dedicated [not fix] ip address, when 
i want to use ssl on my domain?

thank you

happy Christmas! :)


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


2 Ethernet cabling question

2010-12-25 Thread S Mathias
Two questions that was not always clear for me [sorry for posting to this list 
:\]:

##

Q1) when cabling, is the color order important? like:

straight cabling:
A side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown

could be eg.: like this??
A side: white-orange, brown, white-blue, green, white-green, blue, white-brown, 
orange
B side: white-orange, brown, white-blue, green, white-green, blue, white-brown, 
orange

##

Q2) again cabling.. i know what is the color order of straight and crossover 
cabling. BUT: what are the color orders, when i need to create physically two 
separated networks?

568B; straight; nic to switch:
A side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
--
568A; crossover; nic to nic: [it's not so important about from ~2005]:
switch the pairs: 1&2 with 3&6 on one side:
A side: white-green, green, white-orange, blue, white-blue, orange, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
--
one cable, two straight networks:
A side: 
I.: 
II.: 
B side: 
I.: 
II.: 
--
one cable, two crossover networks:
A side: 
I.: 
II.: 
B side: 
I.: 
II.: 
--
one cable, one straight and one crossover network:
A side [straight]: 
I.: 
II.: 
B side [crossover]: 
I.: 
II.: 
--
one cable, one crossover and one straight network:
A side [crossover]: 
I.: 
II.: 
B side [straight]: 
I.: 
II.: 

##

Thank you for any pointings, links, or specific answers.

Happy Christmas!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


4 questions Regarding Fedora 14

2010-12-26 Thread S Mathias
A few questions regarding Fedora: 



1) Is there any method to customize a Fedora Install iso?
i download from fedoraproject.org -> i do some "magic" to the iso -> custom iso 
done, installable

i'm thinking about like this: 

https://allmyapps.com/
http://ninite.com/
http://www.freenew.net/

but not web based [and not windows..], because i want to do plus things with a 
normal fedora, e.g.: 
 - plus repos [rpmfusion]
 - plus packages [from e.g.: rpmfusion, other, like google chrome]
 - pae kernel
 - small setting like chromium extensions, settings for them

-> and then, when i install a Fedora from the custom iso cd, i don't have to 
download/install packages/set things

how can i customize an iso like this?



2) is there a "gconf-editor" like "thing" under Fedora? [under ubuntu, you can 
set many-many things through it]



3) there is a file under ubuntu..:

/etc/modules

where i can type the modules what i want to load at boot. is there something 
similar under fedora for it?



4) there aren't any "tofromdos" package under fedora? how can i convert files 
that have unix eols?



thank you for any answer [sorry for asking this kind of things] and Happy 
Christmas!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: 4 questions Regarding Fedora 14

2010-12-26 Thread S Mathias
2) is solved! :D [ yum install gconf-editor  ]


--- On Sun, 12/26/10, S Mathias  wrote:

> From: S Mathias 
> Subject: 4 questions Regarding Fedora 14
> To: users@lists.fedoraproject.org
> Date: Sunday, December 26, 2010, 11:25 AM
> A few questions regarding Fedora: 
> 
> 
> 
> 1) Is there any method to customize a Fedora Install iso?
> i download from fedoraproject.org -> i do some "magic"
> to the iso -> custom iso done, installable
> 
> i'm thinking about like this: 
> 
> https://allmyapps.com/
> http://ninite.com/
> http://www.freenew.net/
> 
> but not web based [and not windows..], because i want to do
> plus things with a normal fedora, e.g.: 
>  - plus repos [rpmfusion]
>  - plus packages [from e.g.: rpmfusion, other, like google
> chrome]
>  - pae kernel
>  - small setting like chromium extensions, settings for
> them
> 
> -> and then, when i install a Fedora from the custom iso
> cd, i don't have to download/install packages/set things
> 
> how can i customize an iso like this?
> 
> 
> 
> 2) is there a "gconf-editor" like "thing" under Fedora?
> [under ubuntu, you can set many-many things through it]
> 
> 
> 
> 3) there is a file under ubuntu..:
> 
> /etc/modules
> 
> where i can type the modules what i want to load at boot.
> is there something similar under fedora for it?
> 
> 
> 
> 4) there aren't any "tofromdos" package under fedora? how
> can i convert files that have unix eols?
> 
> 
> 
> thank you for any answer [sorry for asking this kind of
> things] and Happy Christmas!
> 
> 
>       
> 


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Let's talk about yum and p2p in Fedora

2010-12-26 Thread S Mathias
Are there any active project about it?

like: 
http://www.camrdale.org/apt-p2p/
for Debian.

Why doesn't it have viability? Why does it have?

What are the security issues regarding it?

e.g.: 
No port forwarding is needed in p2p (no need for open ports [? fixme]): 
http://samy.pl/pwnat/ - these kind of projects will be more prevalent, as the 
isp's will show up with the Large Scale NAT's - 
http://tech.slashdot.org/story/10/12/17/2226230/Carrier-Trick-To-Save-IPv4-Could-Help-Spammers
 - soon we will run out of ipv4 addresses.

Yum does the gpgcheck, so we just need audited code, that does the p2p part. 
(i'm not a developer, sorry).

Remember this video(?): Twitter - Murder Bittorrent Deploy System
http://vimeo.com/11280885

Common sense: if i need to spread lot's of files no matter small or big, to 
many-many-many-many pc's, then i would give a 10 Mbit line to the master 
server, and the remaining job is done by the people, so that in this way, they 
could contribute to the project.

The Fedora installer could contain a question: how would you like to receive 
updates? [if e.g.: GNOME is installed, the updates would be "forced*", because 
it's likely not a server, just a desktop pc] - and the answers would be: by 
http or by p2p (or p2p with encryption)

What is you're opinion? Objection? Please tell me, because i just can't 
understand why doesn't this brilliant technology/method spreads. It would be 
very-very scalable.

+ if i go to the main website, and click "Get Fedora"

https://fedoraproject.org/en/get-fedora

it would need to accentuate the ISO download by torrent, not http, the servers 
would be way more "relieved", and ready for any expected, or unexpected loads 
(ddos, a version of Fedora is out, growing number of Fedora users).

I'm sure there would be many Fedora or other RPM based distribution users, who 
would happily seed the packages. Broadband connections, HDD's are cheap in 2011.

*by forcing i meant it should install updates without asking, the primary 
security relies on that the packages are up-to-date or not.

**_I LOVE FEDORA_, i just wanted to write down my opinion, sorry

Thank you for reading and have a nice day.


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
$ true && true || echo hi
$ true && false || echo hi
hi
$ false && true || echo hi
hi
$ false && false || echo hi
hi
$ ping -W 1 -c 4 google.com >& /dev/null | grep -q "100% packet loss" && ping 
-W 1 -c 4 www.yahoo.com >& /dev/null | grep -q "100% packet loss" || echo "no 
internet connection"
no internet connection
$
ping -W 1 -c 4 google.com >& /dev/null | grep "100% packet loss"
$
ping -W 1 -c 4 www.yahoo.com >& /dev/null | grep "100% packet loss"
$



...both sides "false", because they have no output, because google.com and 
www.yahoo.com is reachable.
how come it writes "no internet connection"? [at the longest line]
i just want a "oneliner" that checks if theres "internet connection" or no. :\

where did i screw up? 8)


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Let's talk about yum and p2p in Fedora

2010-12-26 Thread S Mathias
theoretically there are Unique Local Addresses (ULAs)

http://www.ripe.net/ipv6-address-types/

but i think when ipv6 will be widely used [don't know when:D we got about: 49 
days? hmmm... - https://ipv6.he.net/statistics/ ] "they" want that, that every 
computer must have a public ipv6 address, so that it can be natively accessible 
by the "outside world" [fixme] - so computers must have good firewalls... i 
hope that all the distributions, linux, bsd, everything will come with these 
default firewall settings in the future, to ensure security, e.g.:

http://pastebin.com/raw.php?i=UNLPSECr




--- On Sun, 12/26/10, Joe Zeff  wrote:

> From: Joe Zeff 
> Subject: Re: Let's talk about yum and p2p in Fedora
> To: "Community support for Fedora users" 
> Date: Sunday, December 26, 2010, 10:28 PM
> On 12/26/2010 02:11 PM, Genes
> MailLists wrote:
> >   I need to read about ipv6 - but can I
> keep (1) with ipv6 ? i.e.
> > machines inside access to internet similar to what
> they have now via
> > firewall/nat ... but no way for those ipv6 addresses
> to be seen SYN'd
> > from outside.
> 
> AIUI, there are IPv6 address ranges designated for
> that.  And, even 
> better, there's no reason that your LAN can't still be on
> IPv4 on a 
> non-routable range while you're router's on IPv6 to the
> rest of the world.
> -- 
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> 


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
perfect! thank you Oliver Grawert! :) made my day :) it's working! :


ping -W 1 -c 4 google.com >& /dev/null && ping -W 1 -c 4 www.yahoo.com >& 
/dev/null || echo "no internet connection"



  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: 2 Ethernet cabling question

2010-12-27 Thread S Mathias
have you ever tried on other frequency - channel?

--- On Mon, 12/27/10, Peter Boy  wrote:

> From: Peter Boy 
> Subject: Re: 2 Ethernet cabling question
> To: "Community support for Fedora users" 
> Date: Monday, December 27, 2010, 2:09 AM
> Hi,
> 
> there seem to be cable experts here so I beg your pardon
> for jumping in
> and would like to ask a question I'm considering for some
> time: 
> 
> Do I have a chance to successfully reuse an existing Cat 3
> cable (8
> wires, installed about 1980 for the inhouse telefon system)
> to bridge a
> gap of about 15 meter between the new location of my DSL
> router and the
> central switch of my regular Cat 5 cabling (i.e.connect the
> 100 mbit tx
> ports)? And what have I to expect if I give it a try?
> 
> Currently I use a wireless bridge, but the connection
> between the
> devices often breaks and it will take up to 15 minutes
> until they manage
> to reconnect.
> 
> The 8 wires a twisted pairwise and the cable is shielded by
> some sort of
> aluminium jacket. I don't need the full 100 mbit, the
> connection is a 50
> mbit VDSL, so half the usual 100 mbit would be great.
> 
> I found there exists a 100 mbit (tx) T4 / T2 specification
> specifically
> for cat 3 cables, but none of the devices used in Europe
> support it.
> 
> 
> Any hints appreciated.
> 
> Peter
> 
> -- 
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> 


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


what process is sending this packet?

2010-12-27 Thread S Mathias
I can see, that theres a program that keeps sending packets on port 25:

Dec 27 14:11:46 a kernel: [ 6336.992320] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=61533 DF PROTO=TCP SPT=37263 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:01 a kernel: [ 6352.635704] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55853 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:04 a kernel: [ 6355.641085] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55854 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:10 a kernel: [ 6361.649059] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55855 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 

but where or how could i find out, that what process sends these packets?

thank you!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Does anybody know a PeerGuardian like app?

2010-12-29 Thread S Mathias
Are there any programs blocking ip, and has frequently updated lists, like the 
peerguardian on windows?

sorry for the question, but i looking for this kind of application :O

Thank you, and a happy christmas!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


microsoft.com -> NetBSD

2010-12-30 Thread S Mathias
http://research.microsoft.com/en-us/downloads/754fee75-c5a0-4542-bf9b-47f236c0a90b/default.aspx

Any comments?


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


recursively count the words occurrence in the text files

2010-12-30 Thread S Mathias
I just can't google for it:

I'm searching for a "bash" "one liner" (awk, perl, or anything) for this: 

there are text files, in several directories: 

mkdir one
mkdir two
mkdir three

echo "word1 word2 word3" > one/asf.txt
echo "word2 word4, word5" > one/asfcxv saf.txt
echo "word1. word2" > one/dsgsdg.txt

echo "word6, word3!" > two/sdgsd dsf.txt
echo "word6" > two/ergd.txt

echo "asdf, word2" > three/werdf.txt
echo "word7, word8 word9 word10" > three/qwerb erfsdgdsg.txt
echo "word4 word3" > three/web erg as.txt

so it does the magic* "recursively":

$ SOMEMAGIC > output.txt
cat output.txt
asdf 1
word1 2
word2 4
word3 3
word4 2
word5 1
word6 2
word7 1
word8 1
word9 1
word10 1
$



*recursively count the words occurrence in the text files like: "word1 2"
can anyone point to a howto/link? [re: i just can't google for it :\]


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


set privoxy to rewrite http to https

2011-01-01 Thread S Mathias
I use the

KB SSL Enforcer
https://chrome.google.com/extensions/detail/flcpelgcagfhfoegekianiofphddckof?hl=en

so i could browse the net safer [i mean webserver <-> me] with using https, if 
available.

The problem is: e.g.: facebook...

if i go to 
https://www.facebook.com/

that's ok, it's https.
But all the links are "http" on the site..
if i click on a "http" link, it will request the page on "http", and THEN it 
switches to "https". Heres the problem. 

How/where could i write a privoxy rule, to rewrite all the "http" links to 
"https"? [so that it would by always trully over https]

Are there any "general" rules (with privoxy), so that i don't have to write 
rules / site? 

with the KB SSL Enforcer its always first http, then it recognizes that the 
site can do https, than it switches to it. But i want to "bypass" the http part.

thank you for any information

Happy New Year!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


variable in loop

2011-01-02 Thread S Mathias
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo "$a 
$ASDF"$(for i in {1..$a}; do printf "."; done)
65 hello.
$ 


Why doesn't it print:
65 hello.



What am i missing?


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


a perl question

2011-01-04 Thread S Mathias
cat asdf.txt
bla-bla
bla-bla
bla[XYZ]
importantthing
another important thing
[/XYZ]
bla-bla
bla-bla
[XYZ]
yet another thing
hello!
[/XYZ]
bla-bla
etc.
$ SOMEPERLMAGIC asdf.txt > output.txt
$ cat output.txt
importantthing
another important thing
yet another thing
hello!


how can i sovle this question? what is SOMEPERLMAGIC? are there any perl gurus, 
that have a little spare time?

Thank you! :\


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


why is this html looks like this?

2011-01-04 Thread S Mathias
soruce code of the html file:
http://img443.imageshack.us/img443/6448/sourcey.png
it looks like this in the realiy:
http://img443.imageshack.us/img443/6448/sourcey.png

WHY? 

if i put it in "< pre >", then it's good.
but if it isn't in "< pre >" then the lines ends are random. why dont they end 
in the same vertical line?

thank you, and sorry for askin html...i just can't figure it out :(


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


How to install LibreOffice

2011-01-05 Thread S Mathias
http://en.wikipedia.org/wiki/LibreOffice

since OpenOffice on a regular Fedora 14 _always_ freezees (when want to do 
something in the menu, it's useless..)

What's the most "offical" way [howtos/links/tips] to install LibreOffice on 
Fedora 14/i386?

Thank you!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


check, that a script is in a folder

2011-01-05 Thread S Mathias
$ echo ${PWD##*/}
somefolder
$ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; 
else exit 1; fi
bash: notthatfolder: command not found...
this is the asdf folder
$ 


So i just want to check that i'm in an exact folder. e.g.: "asdf"

What's wrong with my one-liner?

I just want to check, that a script is in a folder, and if it isn't, then it 
exits


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


recursively find duplicate filenames

2011-01-05 Thread S Mathias
find duplicate filenames in a folder
find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++'

find duplicate filenames in a folder recursively
? how? 


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: check, that a script is in a folder

2011-01-05 Thread S Mathias
solved:

if ! [ "${PWD##*/}" == "ASDF" ]; then echo "error: not the ASDF dir"; exit 1; fi

--- On Wed, 1/5/11, Rodolfo Alcazar Portillo  wrote:

> From: Rodolfo Alcazar Portillo 
> Subject: Re: check, that a script is in a folder
> To: "Community support for Fedora users" 
> Date: Wednesday, January 5, 2011, 2:39 PM
> On Wed, 2011-01-05 at 02:28 -0800, S
> Mathias wrote:
> > $ echo ${PWD##*/}
> > somefolder
> > $ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo
> "this is the asdf folder"; else exit 1; fi
> > bash: notthatfolder: command not found...
> > this is the asdf folder
> > $ 
> 
> /home/rodolfoap > mkdir asdf
> /home/rodolfoap > cd asdf
> /home/rodolfoap/asdf > if [ "${PWD##*/}" == "asdf" ];
> then echo "this is the asdf folder"; else exit 1; fi
> this is the asdf folder
> 
> > What's wrong with my one-liner?
> 
> Strings comparison are built with "==" (posix is "=", both
> works),
> integers compare with "-eq". Also, the test command ( or [
> ) is
> required.
> 
> Greets!
> --
> Rodolfo Alcazar Portillo - nosp...@gmail.com
> otbits.blogspot.com / counter.li.org: #367962
> --
> "Absolutely nothing should be concluded from these figures
> except that
> no conclusion can be drawn from them." ~ Joseph L.
> Brothers
> 
> 
> -- 
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> 


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


when will GRUB boot from an encrypted LVM?

2011-01-19 Thread S Mathias
When i install my laptop, i always encrypt all my HDD, except the "/boot", 
because the GRUB shipped with Fedora 14 won't boot from "/boot" if it's 
encrypted.

Does anybody know, when will Fedora support the "full encryption"? - When will 
it support booting from an encrypted "/boot" too?

Thank you for any links, pointings!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Let's talk about HTTPS Everywhere

2011-01-19 Thread S Mathias
Ok. It's a Firefox Add-on:

https://www.eff.org/https-everywhere

Questions:

1) But: Why can't i find it on the offical Firefox Add-ons site?: 
https://addons.mozilla.org/en-US/firefox/

2) Did anyone audited the "HTTPS Everywhere" code?

3) Can someone trust this Add-on? Is it safe to install/use?

4) If it's so great why isn't it more prevalent?

What's youre opinion? Or answer? :\

Thanks!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Kolourpaint - like app for Fedora

2011-01-19 Thread S Mathias
Are there any "mspaint"-like programs for Fedora 14?

$ yum list | grep -i kolour
$ 

Thank you!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


How to use this adblock rule?

2011-01-19 Thread S Mathias
I'm using Google Chrome on Fedora 14:

$ lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch
Distributor ID: Fedora
Description: Fedora release 14 (Laughlin)
Release: 14
Codename: Laughlin
$ yum list | grep -i chrome | head -1
google-chrome-stable.i386 8.0.552.237-70801 @google-chrome
$

with this add-on:
https://chrome.google.com/extensions/detail/gighmmpiobklfepjocnamgkkbiglidom

I created a TXT file:
$ cat list.txt
[Adblock Plus 1.1]
! comment here
http://*.facebook.com/*
$

and i putted it on my domain, and subscribed to it, with adblock.
ok...
Why doesn't it blocks "www.facebook.com"?
I just can't find anything usefull on: http://adblockplus.org/en/filters


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Kolourpaint - like app for Fedora

2011-01-19 Thread S Mathias
i didn't knew about yumex, thank you!

--- On Wed, 1/19/11, Carroll Grigsby  wrote:

> From: Carroll Grigsby 
> Subject: Re: Kolourpaint - like app for Fedora
> To: users@lists.fedoraproject.org
> Date: Wednesday, January 19, 2011, 3:01 PM
> On Wed, 19 Jan 2011 03:32:17 -0800
> (PST)
> S Mathias 
> wrote:
> 
> > Are there any "mspaint"-like programs for Fedora 14?
> > 
> > $ yum list | grep -i kolour
> > $ 
> > 
> > Thank you!
> > 
> > 
> >       
> 
> A search of yumex reveals that kolourpaint4 is included in
> the
> kdegraphics package. Not being a kde user, I have no
> experience with
> this program.
> 
> -- cmg
> -- 
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> 


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


how to set imagemagicks tmp folder?

2011-01-21 Thread S Mathias
my /tmp is too small [when i want to use "convert"]. how can i set imagemagick, 
to use an other tmp folder, what has enough space?

thank you!


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Let's talk about compression rates

2011-01-22 Thread S Mathias
http://pastebin.com/raw.php?i=MwDnhknf

$ ls -Sl
total 461252
-rw-rw-r--. 1 g g 111709730 Jan 22 11:06 linux-2.6.37.zip
-rw-rw-r--. 1 g g  93174605 Jan 22 11:03 linux-2.6.37.tar.gz
-rw-rw-r--. 1 g g  73552510 Jan 22 11:10 linux-2.6.37.tar.bz2
-rw-rw-r--. 1 g g  66333786 Jan 22 11:16 linux-2.6.37.7z
-rw-rw-r--. 1 g g  64035788 Jan 22 11:16 linux-2.6.37.tar.7z
-rw-rw-r--. 1 g g  63480808 Jan 22 11:20 linux-2.6.37.tar.xz
$ 

I presume kernel.org knows this. Why doesn't people use e.g.: XZ?

This is the same as in PDF's. DJVU files could be amazing too. They could 
compress [convert] a 400 MByte PDF to a 20 MByte DJVU. Amazing.

Why don't these technologies spread??

Any opinions regarding it?

Thanks.


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Let's talk about compression rates

2011-01-22 Thread S Mathias
wow...

http://pastebin.com/raw.php?i=ihLLHyiT


$ time 7z a -mx=9 linux-2.6.37.tar.7z linux-2.6.37.tar; echo; time xz -9 -z 
linux-2.6.37.tar; echo; ls -lS

7-Zip 9.13 beta  Copyright (c) 1999-2010 Igor Pavlov  2010-04-15
p7zip Version 9.13 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs)
Scanning

Creating archive linux-2.6.37.tar.7z

Compressing  linux-2.6.37.tar  

Everything is Ok

real6m43.608s
user10m1.092s
sys 0m3.957s


real10m40.788s
user10m33.363s
sys 0m2.106s

total 120264
-rw-rw-r--. 1 g g 61570448 Jan 22 15:42 linux-2.6.37.tar.xz
-rw-rw-r--. 1 g g 61567410 Jan 22 16:13 linux-2.6.37.tar.7z
$ 


  
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines