Re: How to donate code

2012-07-17 Thread Eitan Adler
On 17 July 2012 02:16, Виталий Туровец  wrote:
> Hello, colleagues!
> How would one propose some code to current branch?
> I've made a little change to ifconfig ( a switch to display IPv4
> network masks in CIDR format instead of HEX) and want to suggest this
> change to FreeBSD project.
> Also i've created a PR with my patch describing what is done and for
> what (http://www.freebsd.org/cgi/query-pr.cgi?pr=169072&cat=), but
> maybe there's some other way to somehow push this code for review by
> FreeBSD developers?
> Thank you a lot and sorry for noobish question :)

The general advice is mail the patch to -hackers for review. If you
don't get a reply or if people like it, submit a PR so it doesn't get
lost. Be aware that the latency for some patches could be longer than
you expect. :(

FWIW "unified diff" format patches are much preferred. (diff -u)


-- 
Eitan Adler
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
Good catch, totally missed it.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727755.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread RW
On Tue, 17 Jul 2012 13:26:10 -0700 (PDT)
Jakub Lach wrote:

> Or vi in place.
> 
> Really, it always surprises me there's 
> no vi available in single user mode.
> 

There is /rescue/vi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
That's substantial "if", no?

But in this case, yes, I should 
have mounted fs maybe.

But really didn't know what to
expect.

Thanks for help again.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727720.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Reko Turja
-Original Message- 
From: Jakub Lach


Or vi in place.


Really, it always surprises me there's
no vi available in single user mode.


If machine is mostly sane, why not just "mount -a" upon entering single 
user?


-Reko 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
Or vi in place.

Really, it always surprises me there's 
no vi available in single user mode.

vi 352k, ed 54k. 

And I bet some historical vi could be 
smaller still.

...but I have nothing against ed, I 
simply never memorized how to
use it properly.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727716.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Mike Jeays
On Tue, 17 Jul 2012 12:48:38 -0700 (PDT)
Jakub Lach  wrote:

> Initially dropped to single user mode, but when 
> I saw ED(1) I reconsidered and dusted off trusty 
> LiveCD :)
> 
> Thanks.
> 
> --
> View this message in context: 
> http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727712.html
> Sent from the freebsd-questions mailing list archive at Nabble.com.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

ed is OK if you have access to another machine with internet access - the wiki 
article tells how to use it, and it isn't hard when you know how.

With single-user mode only, not so easy...

A very crude README that gives the basics, that is accessible in single user 
mode, might be quite useful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
Initially dropped to single user mode, but when 
I saw ED(1) I reconsidered and dusted off trusty 
LiveCD :)

Thanks.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727712.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Apache vs. nginx

2012-07-17 Thread Paul Schmehl

Thanks, Chuck.  That's very useful input.

--On July 17, 2012 10:40:30 AM -0700 Chuck Swiger  wrote:


On Jul 17, 2012, at 7:40 AM, Paul Schmehl wrote:

I'm the admin for a small hobby website (Stovebolt.com - about 7 million
hits/mo).  We're fixin to buy a new server, and since I have to start
from scratch (install FreeBSD and all the needed ports), I'm wondering
if anyone on this list has switched from Apache to nginx.

If you have, what has your experience been like?  Was the change
relatively easy?  (I'm not intimidated by technical details.  I've been
running FreeBSD on these servers for about 12 years now.)  Was the
performance better?  (We've not been having any problems with Apache to
this point.) Is there sufficient support from addon apps to run a site
with a php-driven forum?


I've compared them; since I know Apache...rather well, switching to nginx
didn't strike me as a useful change at any of the sites for which I've
setup or managed their webservers.  You have to invoke external scripts
like a PHP forum via FastCGI (what nginx calls ngx_http_fastcgi_module);
using and tuning FastCGI separately from the webserver itself definitely
has some advantages, but those same advantages can be obtained in Apache
by using mod_fcgi instead of using mod_php directly.

Apache is bulkier per process than nginx but has more modules and config
options available for it; nginx seems to have been tuned more for server
farms hosting a lot of low-volume vanity domains, so it has minimal
overhead, implements IP-based and name-based virtual hosting eloquently,
implements bandwidth rate controls as a core functionality, etc.

I cannot recall encountering a circumstance where the base performance of
the webserver itself turned out to be the primary criterion for "website
performance"; sites are almost always constrained by bandwidth and/or the
performance of the dynamic scripts, database backend, etc-- and not by
the webserver's ability to serve static resources.

Regards,




--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: "Twitter.com is loading slowly" after updating to Firefox 13.0.1

2012-07-17 Thread Matthias Apitz
El día Tuesday, July 17, 2012 a las 07:01:28PM +0200, Wojciech Puchar escribió:

> > whenever I access twitter.com, I can log in but after that a message 
> > appears 
> > saying that "Twitter.com is loading slowly", and the site is practically 
> > unusable - clicking on any of the links has no effect.
> >
> i don't think it is freebsd related question.

fully agreed; and: what is Twitter at all?

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
If remember correctly, accessing single user mode here
requires root password, but will it use login.conf?

Killing init is not solution (I think I lack privileges as 
user anyway, remember I can't su account) because
I'm running KMS patches and will not see anything 
(lacking visible system console output).


--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668p5727686.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Ports building automatically with default options?

2012-07-17 Thread Reko Turja
-Original Message- 
From: Lowell Gilbert



I just saw on the ports list that it has just been fixed.
Looks like a typo in ports/Mk/bsd.port.mk.

Sorry for doubting you...


No worries, was pretty stumped myself for a while there. Time to subscribe 
to ports@ too then I reckon.


-Reko 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fsck on FAT32 filesystem?

2012-07-17 Thread Wojciech Puchar




Surely SpinRite is "more clever" than that,

i would bet otherwise. simple tools and free tools are always better


You continue to demonsteate that you "don't know what you don't know".

are you another sponsored by some "recovery tool" commercial producer?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: "Twitter.com is loading slowly" after updating to Firefox 13.0.1

2012-07-17 Thread Wojciech Puchar
and the other running 9.0-STABLE. After updating Firefox from 12.0 to 13.0.1, 
whenever I access twitter.com, I can log in but after that a message appears 
saying that "Twitter.com is loading slowly", and the site is practically 
unusable - clicking on any of the links has no effect.



i don't think it is freebsd related question.

anyway - use firefox 10.0.0.5-esr from ports.

It just works(R).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Lowell Gilbert
Jakub Lach  writes:

> 1. Hope I can still log in single user mode and correct 
> /etc/login.conf? I'm afraid of md5 -> sha512 change.

It's not a problem. New passwords will be created with SHA512, but old
ones in MD5 (or, for that matter, DES or Bluefish or several other
formats listed in crypt(3)) will still work. 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Ports building automatically with default options?

2012-07-17 Thread Lowell Gilbert
"Reko Turja"  writes:

> Ghost in the machine? :D

I just saw on the ports list that it has just been fixed.
Looks like a typo in ports/Mk/bsd.port.mk.

Sorry for doubting you...

Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Nasty reference loop in login.conf

2012-07-17 Thread Reko Turja
-Original Message- 
From: Jakub Lach



Moreover I'm afraid to power down machine, as
currently I'm logged as wheel group user, and I'm not
sure if change from :passwd_format=md5:\
to :passwd_format=sha512:\ didn't complicate it further...



Currently all my solutions would require to power down
machine, which I'm afraid to do frankly.



1. Hope I can still log in single user mode and correct
/etc/login.conf? I'm afraid of md5 -> sha512 change.



2. Use some LiveCD and correct login.conf, then run
/usr/bin/cap_mkdb .


Killing init - means that you drop to singleuser mode
kill -TERM 1

End result may depend on whether or not your singleuser mode is password 
protected.


-Reko 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Nasty reference loop in login.conf

2012-07-17 Thread Jakub Lach
It's my fault.

I'm running 9-STABLE.

During mergemaster run, I forgot to add localised settings to 
login.conf.

No problem I thought, then I edited login.conf by hand 
before running /usr/bin/cap_mkdb /etc/login.conf. 

By sloppy paste, I accidentally created :tc=default: loop in 
default:\.

Now, of course I cannot login as anybody nor use 
sudo.

e.g.  

login_getclass: 'tc=' reference loop 'root'
su: pam_acct_mgmt: error in service module

sudo: login_getclass: 'tc=' reference loop 'default'

Moreover I'm afraid to power down machine, as 
currently I'm logged as wheel group user, and I'm not
sure if change from :passwd_format=md5:\
to :passwd_format=sha512:\ didn't complicate it further...

Currently all my solutions would require to power down
machine, which I'm afraid to do frankly.

1. Hope I can still log in single user mode and correct 
/etc/login.conf? I'm afraid of md5 -> sha512 change.

2. Use some LiveCD and correct login.conf, then run
/usr/bin/cap_mkdb .

Has anybody have other ideas?

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Nasty-reference-loop-in-login-conf-tp5727668.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Ports building automatically with default options?

2012-07-17 Thread Reko Turja

From: Fernando Apesteguía


Did you see a message like "Found saved configuration for $port"?
On perl, which I configured manually, but on others please see later in the 
message.



Did you try to see what happens if you run "make rmconfig" on those ports?

===> No user-specified options configured for ruby-1.8.7.370,1


From: Lowell Gilbert



Strange indeed. What does "make config" do on this system?

Opens dialog & saves config as intended


Maybe you have something in your environment?

Environment seems to be vanilla.

Seems like building skips config step altogether, or not echoing about it at 
least:


--->  Reinstalling 'ruby-1.8.7.370,1' (lang/ruby18)
--->  Building '/usr/ports/lang/ruby18'
===>  Cleaning for ruby-1.8.7.370,1
===>  Extracting for ruby-1.8.7.370,1
=> SHA256 Checksum OK for ruby/ruby-1.8.7-p370.tar.bz2.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.7-p370/ext/dl/h2rb 
/usr/ports/lang/ruby18/work/ruby-1.8.7-p370/bin/

===>  Patching for ruby-1.8.7.370,1
===>  Applying FreeBSD patches for ruby-1.8.7.370,1
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.7-p370/ext/Win32API
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.7-p370/ext/win32ole
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.7-p370/ext/gdbm 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.7-p370/ext/iconv 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.7-p370/ext/tk 
/usr/ports/lang/ruby18/work/
===>   ruby-1.8.7.370,1 depends on file: /usr/local/bin/automake-1.12 - 
found
===>   ruby-1.8.7.370,1 depends on file: /usr/local/bin/autoconf-2.69 - 
found

===>  Configuring for ruby-1.8.7.370,1
/usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.7-p370/configure
checking build system type... i386-portbld-freebsd9

portupgrade -afc skips config step as well
portupgrade -afC gives the dialogs

Ghost in the machine? :D

-Reko 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Ports building automatically with default options?

2012-07-17 Thread Lowell Gilbert
"Reko Turja"  writes:

> -Original Message- 
> From: Lowell Gilbert
>
>> The defaults haven't changed, so something must have happened locally.
>> Check whether you've got BATCH defined in make.conf, and whether
>> /var/db/ports contains configurations for those ports.
>
> That's the strange thing... Virgin system, just updated ports tree and
> index & started building. No knobs in make.conf and /var/db/ports is
> empty...

Strange indeed. What does "make config" do on this system?

Maybe you have something in your environment?

> I wonder if there's some kind of hickup going on at cvsup.se.freebsd.org...

I can't think of anything along those lines which would explain these
symptoms. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: "Twitter.com is loading slowly" after updating to Firefox 13.0.1

2012-07-17 Thread Toomas Aas

Hello Greg!


I ran into this problem with FF13 on OS X over the weekend, and I
fixed it with a suggestion I found somewhere online:

Open the about:config preference pane in FF.  Change the
http.keep-alive property to "true", and you should be all set.


Thanks for the suggestion. I actually saw this recommendation while  
searching for solution, but in my case network.http.keep-alive was  
already set to true. Another suggestion was to set  
'network.http.spdy.enabled' to 'false', which I did, but this also  
didn't help.


--
Toomas Aas

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Ports building automatically with default options?

2012-07-17 Thread Fernando Apesteguía
On Tue, Jul 17, 2012 at 5:48 PM, Reko Turja  wrote:
> -Original Message- From: Lowell Gilbert
>
>
>> The defaults haven't changed, so something must have happened locally.
>> Check whether you've got BATCH defined in make.conf, and whether
>> /var/db/ports contains configurations for those ports.
>
>
> That's the strange thing... Virgin system, just updated ports tree and index
> & started building. No knobs in make.conf and /var/db/ports is empty...

Strange really...

Did you see a message like "Found saved configuration for $port"?

Did you try to see what happens if you run "make rmconfig" on those ports?

>
> I wonder if there's some kind of hickup going on at cvsup.se.freebsd.org...
>
> -Reko
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Ports building automatically with default options?

2012-07-17 Thread Reko Turja
-Original Message- 
From: Lowell Gilbert



The defaults haven't changed, so something must have happened locally.
Check whether you've got BATCH defined in make.conf, and whether
/var/db/ports contains configurations for those ports.


That's the strange thing... Virgin system, just updated ports tree and index 
& started building. No knobs in make.conf and /var/db/ports is empty...


I wonder if there's some kind of hickup going on at cvsup.se.freebsd.org...

-Reko

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Ports building automatically with default options?

2012-07-17 Thread Lowell Gilbert
"Reko Turja"  writes:

> I just installed new 9.0 machine from scratch, cvsupped ports, fetched
> index and started building portupgrade. Both perl and ruby built with
> default options, without running config. No changes in port building
> steps nor workaround for this POLA violation anywhere  in the UPDATING
> etc. as far as I could see.
>
> Is there workarounds or information how to get ports building the old
> way with asking options?

The defaults haven't changed, so something must have happened locally. 
Check whether you've got BATCH defined in make.conf, and whether
/var/db/ports contains configurations for those ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Ports building automatically with default options?

2012-07-17 Thread Reko Turja
I just installed new 9.0 machine from scratch, cvsupped ports, fetched index 
and started building portupgrade. Both perl and ruby built with default 
options, without running config. No changes in port building steps nor 
workaround for this POLA violation anywhere  in the UPDATING etc. as far as 
I could see.


Is there workarounds or information how to get ports building the old way 
with asking options?


-Reko 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: "Twitter.com is loading slowly" after updating to Firefox 13.0.1

2012-07-17 Thread Arthur Chance

On 07/17/12 14:48, Greg Larkin wrote:

On 7/17/12 7:56 AM, Toomas Aas wrote:



I'm having this problem on two different computers, one running
8.3-STABLE and the other running 9.0-STABLE. After updating Firefox
from 12.0 to 13.0.1, whenever I access twitter.com, I can log in
but after that a message appears saying that "Twitter.com is
loading slowly", and the site is practically unusable - clicking on
any of the links has no effect.

Various support sites say that this may be a problem with Firefox
extensions or plugins, or some difficult-to-find problem which may
be worked around by clearing cache and cookies, or trying with a
new Firefox profile.

For testing, I have disabled all extensions and plugins. I have
also tried moving my ~/.mozilla directory out of the way so that
new empty profile is created. None of this has helped. The fact
that this is happening on two totally different machines is leading
me to think that maybe this is some peculiarity in a way that
Firefox is compiled on FreeBSD, so I decided to ask if anyone else
is seeing this.

When updating Firefox to 13.0.1, I didn't change any port
configuration options from what I was using previously: cat
/var/db/ports/firefox/options # This file is auto-generated by
'make config'. # Options for firefox-13.0.1,1
_FILE_COMPLETE_OPTIONS_LIST=DBUS PGO DEBUG LOGGING
OPTIMIZED_CFLAGS OPTIONS_FILE_SET+=DBUS OPTIONS_FILE_UNSET+=PGO
OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=LOGGING
OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS



Hi Toomas,

I ran into this problem with FF13 on OS X over the weekend, and I
fixed it with a suggestion I found somewhere online:

Open the about:config preference pane in FF.  Change the
http.keep-alive property to "true", and you should be all set.

Hope that helps,


My FF 13.0.1 shows true as the default state for network.http.keep_alive

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Jails on FreeBSD 9.0

2012-07-17 Thread Herbert J. Skuhra
On Tue, Jul 17, 2012 at 11:46 AM, Herbert J. Skuhra  wrote:

> With pf:
>
> I see the packets going out/coming in on fxp0 but somehow the jail
> does not "see" them.

Running 'nc 173.194.35.177 80"

'pfctl -ss' shows:

all tcp xx.xxx.xx.xxx:54724 (192.168.1.1:30177) -> 173.194.35.177:80
ESTABLISHED:SYN_SENT

tcpdump on pflog0 shows :

16:32:28.489495 rule 11..16777216/0(match): pass out on fxp0:
xx.xxx.xx.xxx.54724 > 173.194.35.177.80: Flags [S], seq 3219071188,
win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 13114581 ecr
0], length 0
16:32:28.499804 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463073042 ecr
13114581,nop,wscale 6], length 0
16:32:28.893420 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463073436 ecr
13114581,nop,wscale 6], length 0
16:32:29.494073 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463074036 ecr
13114581,nop,wscale 6], length 0
16:32:30.695744 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463075237 ecr
13114581,nop,wscale 6], length 0
16:32:31.489462 rule 0..16777216/0(match): nat out on fxp0:
xx.xxx.xx.xxx.54724 > 173.194.35.177.80: Flags [S], seq 3219071188,
win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 13117581 ecr
0], length 0
16:32:31.500226 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463076040 ecr
13114581,nop,wscale 6], length 0
16:32:33.098531 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463077639 ecr
13114581,nop,wscale 6], length 0
16:32:34.689460 rule 0..16777216/0(match): nat out on fxp0:
xx.xxx.xx.xxx.54724 > 173.194.35.177.80: Flags [S], seq 3219071188,
win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 13120781 ecr
0], length 0
16:32:34.699834 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463079239 ecr
13114581,nop,wscale 6], length 0
16:32:37.889462 rule 0..16777216/0(match): nat out on fxp0:
xx.xxx.xx.xxx.54724 > 173.194.35.177.80: Flags [S], seq 3219071188,
win 65535, options [mss 1460,sackOK,eol], length 0
16:32:37.899648 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463082437 ecr
13114581,nop,wscale 6], length 0
16:32:37.906102 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463082444 ecr
13114581,nop,wscale 6], length 0
16:32:41.089474 rule 0..16777216/0(match): nat out on fxp0:
xx.xxx.xx.xxx.54724 > 173.194.35.177.80: Flags [S], seq 3219071188,
win 65535, options [mss 1460,sackOK,eol], length 0
16:32:41.100282 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463085636 ecr
13114581,nop,wscale 6], length 0
16:32:44.289462 rule 0..16777216/0(match): nat out on fxp0:
xx.xxx.xx.xxx.54724 > 173.194.35.177.80: Flags [S], seq 3219071188,
win 65535, options [mss 1460,sackOK,eol], length 0
16:32:44.300060 rule 0..16777216/0(match): nat in on fxp0:
173.194.35.177.80 > 192.168.1.1.30177: Flags [S.], seq 3667423105, ack
3219071189, win 14180, options [mss 1430,sackOK,TS val 1463088834 ecr
13114581,nop,wscale 6], length 0

What's wrong?

In the meantime I've found kern/164271.

Regards,
Herbert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Apache vs. nginx

2012-07-17 Thread Paul Schmehl
I'm the admin for a small hobby website (Stovebolt.com - about 7 million 
hits/mo).  We're fixin to buy a new server, and since I have to start from 
scratch (install FreeBSD and all the needed ports), I'm wondering if anyone 
on this list has switched from Apache to nginx.


If you have, what has your experience been like?  Was the change relatively 
easy?  (I'm not intimidated by technical details.  I've been running 
FreeBSD on these servers for about 12 years now.)  Was the performance 
better?  (We've not been having any problems with Apache to this point.) 
Is there sufficient support from addon apps to run a site with a php-driven 
forum?


--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: "Twitter.com is loading slowly" after updating to Firefox 13.0.1

2012-07-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/17/12 7:56 AM, Toomas Aas wrote:
> Hello!
> 
> I'm having this problem on two different computers, one running 
> 8.3-STABLE and the other running 9.0-STABLE. After updating Firefox
> from 12.0 to 13.0.1, whenever I access twitter.com, I can log in
> but after that a message appears saying that "Twitter.com is
> loading slowly", and the site is practically unusable - clicking on
> any of the links has no effect.
> 
> Various support sites say that this may be a problem with Firefox 
> extensions or plugins, or some difficult-to-find problem which may
> be worked around by clearing cache and cookies, or trying with a
> new Firefox profile.
> 
> For testing, I have disabled all extensions and plugins. I have
> also tried moving my ~/.mozilla directory out of the way so that
> new empty profile is created. None of this has helped. The fact
> that this is happening on two totally different machines is leading
> me to think that maybe this is some peculiarity in a way that
> Firefox is compiled on FreeBSD, so I decided to ask if anyone else
> is seeing this.
> 
> When updating Firefox to 13.0.1, I didn't change any port
> configuration options from what I was using previously: cat
> /var/db/ports/firefox/options # This file is auto-generated by
> 'make config'. # Options for firefox-13.0.1,1 
> _FILE_COMPLETE_OPTIONS_LIST=DBUS PGO DEBUG LOGGING
> OPTIMIZED_CFLAGS OPTIONS_FILE_SET+=DBUS OPTIONS_FILE_UNSET+=PGO 
> OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=LOGGING 
> OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS
> 

Hi Toomas,

I ran into this problem with FF13 on OS X over the weekend, and I
fixed it with a suggestion I found somewhere online:

Open the about:config preference pane in FF.  Change the
http.keep-alive property to "true", and you should be all set.

Hope that helps,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAFbSwACgkQ0sRouByUApCeEACfbPTah7xWhOUs/KaVp+1Ro409
ryQAoJSPTTfYdrL7UV7NtxvL+egZXnqF
=BAb3
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: KVM attach drive to FreeBSD guest

2012-07-17 Thread Brent Clark

On 17/07/2012 13:58, Brent Clark wrote:

virsh:
attach-disk freenas /space/morespace.img vdb


Hiya

After much googling, I found the following on libvirt mailinglist 
(http://www.redhat.com/archives/libvir-list/2009-November/msg00796.html)

So the command is

virsh: attach-disk freenas /space/morespace.img sdb (as opposed to vdb)

HTH

Regards
Brent Clark


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: "Twitter.com is loading slowly" after updating to Firefox 13.0.1

2012-07-17 Thread Lars Eighner

On Tue, 17 Jul 2012, Toomas Aas wrote:


Hello!

I'm having this problem on two different computers, one running 8.3-STABLE 
and the other running 9.0-STABLE. After updating Firefox from 12.0 to 13.0.1, 
whenever I access twitter.com, I can log in but after that a message appears 
saying that "Twitter.com is loading slowly", and the site is practically 
unusable - clicking on any of the links has no effect.


If you do not know that there is something in firefox (now 13ish) which you
must have, deinstall it and install firefox-esr (now 10ish).  Apparently
firefox is bleeding-edge and might better be called firefox-devel.  The
stable version is in firefox-esr.

I haven't found anything that is mission-critical to me that is missing from
esr.  Everything works, except the linux-flash on flowplayer sites using js,
but that is a 12ish linux-flash bug, not firefox.  Sites using flowplayer
without js work fine.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


KVM attach drive to FreeBSD guest

2012-07-17 Thread Brent Clark

Hiya

Im running FreeNas on a KVM guest. I need to add (attach) a virtual drive.

I run:
qemu-img create -f qcow2 morespace.img 10G

virsh:
attach-disk freenas /space/morespace.img vdb

I restart the FreeNas guest, but the spare drive is not shown on 'gpart list or 
show'

To make extra sure, I did the same steps for a Debian guest. The attached drive 
is available.

So I can only assume this is a FreeBSD issue.

Anyone know how to attach a drive to a FreeBsD KVM guest?

Kind Regards
Brent Clark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


"Twitter.com is loading slowly" after updating to Firefox 13.0.1

2012-07-17 Thread Toomas Aas

Hello!

I'm having this problem on two different computers, one running  
8.3-STABLE and the other running 9.0-STABLE. After updating Firefox  
from 12.0 to 13.0.1, whenever I access twitter.com, I can log in but  
after that a message appears saying that "Twitter.com is loading  
slowly", and the site is practically unusable - clicking on any of the  
links has no effect.


Various support sites say that this may be a problem with Firefox  
extensions or plugins, or some difficult-to-find problem which may be  
worked around by clearing cache and cookies, or trying with a new  
Firefox profile.


For testing, I have disabled all extensions and plugins. I have also  
tried moving my ~/.mozilla directory out of the way so that new empty  
profile is created. None of this has helped. The fact that this is  
happening on two totally different machines is leading me to think  
that maybe this is some peculiarity in a way that Firefox is compiled  
on FreeBSD, so I decided to ask if anyone else is seeing this.


When updating Firefox to 13.0.1, I didn't change any port  
configuration options from what I was using previously:

cat /var/db/ports/firefox/options
# This file is auto-generated by 'make config'.
# Options for firefox-13.0.1,1
_FILE_COMPLETE_OPTIONS_LIST=DBUS PGO DEBUG LOGGING OPTIMIZED_CFLAGS
OPTIONS_FILE_SET+=DBUS
OPTIONS_FILE_UNSET+=PGO
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=LOGGING
OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS

--
Toomas Aas

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fsck on FAT32 filesystem?

2012-07-17 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Mon Jul 16 01:17:33 2012
> Date: Mon, 16 Jul 2012 08:15:13 +0200 (CEST)
> From: Wojciech Puchar 
> To: Polytropon 
> Cc: FreeBSD 
> Subject: Re: fsck on FAT32 filesystem?
>
> > read attempts. In worst case, there will be "gaps" in the
> > result.
>
>
> >Surely SpinRite is "more clever" than that, 
> i would bet otherwise. simple tools and free tools are always better

You continue to demonsteate that you "don't know what you don't know".


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fsck on FAT32 filesystem?

2012-07-17 Thread Jerry
On Tue, 17 Jul 2012 11:36:07 +0200 (CEST)
Wojciech Puchar articulated:

> >> It appears I was mistaken.
> >
> > Care to elaborate? Most people on this list seem to speak highly of
> > SpinRite.
> 
> first - it is off topic.
> second - because all commercial software like that are designed for 
> uneducated user, mostly try to automatically do everything. Which is
> a danger not help.

I love reading your posts first thing in the morning Wojciech. After
having read them I have assured myself that I cannot possible read
anything more asinine for the rest of the day. Your replies are as sour
as verjuice and of even less usefulness. To call you an incorrigible
malcontent would be to simply state the obvious. Your spiel is
abstruse, rarely on topic and totally self serving. You continue to
cast aspersions and heap maledictions upon any who dare to disagree
with you. Quite frankly, your postings are about as useful as "tits on
a bull". It is with great pleasure that I am creating a kill filter to
bounce anymore such mail from you that I should be so unfortunate as to
receive.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fsck on FAT32 filesystem?

2012-07-17 Thread Bas Smeelen

On 07/17/2012 11:36 AM, Wojciech Puchar wrote:

It appears I was mistaken.


Care to elaborate? Most people on this list seem to speak highly of 
SpinRite.


first - it is off topic.
second - because all commercial software like that are designed for 
uneducated user, mostly try to automatically do everything. Which is a 
danger not help.


Hi
This is an old story.
You can look at
http://en.wikipedia.org/wiki/SpinRite
and the talk page
http://en.wikipedia.org/wiki/Talk%3ASpinRite

http://allthatiswrong.wordpress.com/2009/10/11/steve-gibson-is-a-fraud/


I have never used this "tool" because dd has always sufficed.
Even with an almost end of hardware life (takketaketakke noise generating) 
disk I have been able to create an image (even with hitting the disk case 
because heads got stuck) and rescue data from it with plain dd. This has 
been more then 8 years ago, since then I make sure to always have multiple 
good back-ups



Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Jails on FreeBSD 9.0

2012-07-17 Thread Herbert J. Skuhra
On Tue, Jul 17, 2012 at 9:59 AM, Kalle Møller
 wrote:
> On Thu, Jul 12, 2012 at 9:04 PM, Herbert J. Skuhra  wrote:
>> On Thu, Jul 12, 2012 at 11:56 AM, joris dedieu  
>> wrote:
>>> 2012/7/12 Herbert J. Skuhra :
 On Wed, Jul 11, 2012 at 11:59 PM, Herbert J. Skuhra  
 wrote:
> Hi,
>
> although I've followed the instructions in jail(8) and jail.conf(5) I
> cannot manage to setup jails on FreeBSD 9.0 STABLE (r238334).
>
> The symptons:
>
> * ssh'ing to jail works, but it takes about 20 seconds until password
>   prompt appears
>>>
>>> Does it still the same with UseDNS=no in /etc/ssh/sshd_config ?
>>
>> No, I can login instantly.
>>
> * netstat -r in the jail takes about 150 seconds to finish
>>>
>>> Does netstat -rn does the same ?
>>
>> No, the output appears immediately.
>>
> * connections to the internet time out; with tcpdump I see that
>   packets leave and enter the public interface on the host, but never
>   reach the jail
>
> I use lo1 interface and ip address 192.168.1.1/24 for the jail. Public
> interface is fxp0 with both an IPv4 and an IPv6 address assigned.
> Of course, nat is enable via pf on the public interface.
>>>
>>> Can you post your PF configuration ?

 After switching to ipfw/natd networking in the jail works.
 Could this be a bug?
>>>
>>> I think you had an issue with firewall that block name resolution and
>>> makes everything goes slow. At least you need one single line on your
>>> pf.conf :
>>>
>>> nat on $public_interface form $jail_ip to any -> ($public_interface)
>>
>> Even when loading only the nat rule it doesn't work:
>>
>> nat on fxp0 from  192.168.1.0/24 to any -> $ext_addr
>>
>> Thanks.
>> Herbert
>
>
> As Mark Felder wrote
>
> You don't have anything in /etc/resolv.conf, in the jail do you? :-)

I have two nameservers listed!
If I boot a kernel with ipfirewall/ipdivert and run natd the network
in the jail works!

With pf:

I see the packets going out/coming in on fxp0 but somehow the jail
does not "see" them.

A 'dig www.google.com' in the jail fails with "connection timed out;
no servers could be reached", but

11:39:45.30 IP xxx.yyy.zzz.64452 >
google-public-dns-a.google.com.domain: 10794+ A? www.google.com. (32)
11:39:45.694045 IP google-public-dns-a.google.com.domain >
xxx.yyy.zzz.64452: 10794 6/0/0 CNAME www.l.google.com., A
173.194.35.177, A 173.194.35.176, A 173.194.35.179, A 173.194.35.180,
A 173.194.35.178 (132)
11:39:50.667799 IP xxx.yyy.zzz.64452 >
google-public-dns-a.google.com.domain: 10794+ A? www.google.com. (32)
11:39:50.687083 IP google-public-dns-a.google.com.domain >
xxx.yyy.zzz.64452: 10794 6/0/0 CNAME www.l.google.com., A
173.194.35.177, A 173.194.35.178, A 173.194.35.179, A 173.194.35.180,
A 173.194.35.176 (132)
11:39:55.668783 IP xxx.yyy.zzz.64452 >
google-public-dns-a.google.com.domain: 10794+ A? www.google.com. (32)
11:39:55.675917 IP google-public-dns-a.google.com.domain >
xxx.yyy.zzz.64452: 10794 6/0/0 CNAME www.l.google.com., A
173.194.35.180, A 173.194.35.177, A 173.194.35.179, A 173.194.35.176,
A 173.194.35.178 (132)

And 'nc 173.194.35.177 80':

11:41:52.176904 IP muc03s02-in-f17.1e100.net.http > xxx.yyy.zzz.56936:
Flags [S.], seq 1156402837, ack 2143442671, win 14180, options [mss
1430,sackOK,TS val 1445658553 ecr 8593173,nop,wscale 6], length 0
11:41:53.382320 IP muc03s02-in-f17.1e100.net.http > xxx.yyy.zzz.56936:
Flags [S.], seq 1156402837, ack 2143442671, win 14180, options [mss
1430,sackOK,TS val 1445659753 ecr 8593173,nop,wscale 6], length 0
11:41:54.088585 IP xxx.yyy.zzz.56936 > muc03s02-in-f17.1e100.net.http:
Flags [S], seq 2143442670, win 65535, options [mss 1460,nop,wscale
6,sackOK,TS val 8596173 ecr 0], length 0
11:41:54.098838 IP muc03s02-in-f17.1e100.net.http > xxx.yyy.zzz.56936:
Flags [S.], seq 1156402837, ack 2143442671, win 14180, options [mss
1430,sackOK,TS val 1445660466 ecr 8593173,nop,wscale 6], length 0
11:41:55.796638 IP muc03s02-in-f17.1e100.net.http > xxx.yyy.zzz.56936:
Flags [S.], seq 1156402837, ack 2143442671, win 14180, options [mss
1430,sackOK,TS val 1445662155 ecr 8593173,nop,wscale 6], length 0
11:41:57.288596 IP xxx.yyy.zzz.56936 > muc03s02-in-f17.1e100.net.http:
Flags [S], seq 2143442670, win 65535, options [mss 1460,nop,wscale
6,sackOK,TS val 8599373 ecr 0], length 0
11:41:57.299125 IP muc03s02-in-f17.1e100.net.http > xxx.yyy.zzz.56936:
Flags [S.], seq 1156402837, ack 2143442671, win 14180, options [mss
1430,sackOK,TS val 1445663650 ecr 8593173,nop,wscale 6], length 0
11:42:00.488595 IP xxx.yyy.zzz.56936 > muc03s02-in-f17.1e100.net.http:
Flags [S], seq 2143442670, win 65535, options [mss 1460,sackOK,eol],
length 0
11:42:00.498606 IP muc03s02-in-f17.1e100.net.http > xxx.yyy.zzz.56936:
Flags [S.], seq 1156402837, ack 2143442671, win 14180, options [mss
1430,sackOK,TS val 1445666834 ecr 8593173,nop,wscale 6], length 0
11:42:00.621724 IP muc03s02-in-f17.1e100.net.http > xxx.yyy.zzz.56936:
Flags [S.], seq 1156402837, ack 214

Re: How to donate code

2012-07-17 Thread Patrick Lamaiziere
Le Tue, 17 Jul 2012 12:16:12 +0300,
Виталий Туровец  a écrit :

Hello,

> Hello, colleagues!
> How would one propose some code to current branch?
> I've made a little change to ifconfig ( a switch to display IPv4
> network masks in CIDR format instead of HEX) and want to suggest this
> change to FreeBSD project.
> Also i've created a PR with my patch describing what is done and for
> what (http://www.freebsd.org/cgi/query-pr.cgi?pr=169072&cat=), but
> maybe there's some other way to somehow push this code for review by
> FreeBSD developers?

You may post to freebsd-current@ or freebsd-hacker@ mailing lists. A PR
is always a good thing for the record.

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fsck on FAT32 filesystem?

2012-07-17 Thread Wojciech Puchar

It appears I was mistaken.


Care to elaborate? Most people on this list seem to speak highly of SpinRite.


first - it is off topic.
second - because all commercial software like that are designed for 
uneducated user, mostly try to automatically do everything. Which is a 
danger not help.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How to donate code

2012-07-17 Thread Виталий Туровец
Hello, colleagues!
How would one propose some code to current branch?
I've made a little change to ifconfig ( a switch to display IPv4
network masks in CIDR format instead of HEX) and want to suggest this
change to FreeBSD project.
Also i've created a PR with my patch describing what is done and for
what (http://www.freebsd.org/cgi/query-pr.cgi?pr=169072&cat=), but
maybe there's some other way to somehow push this code for review by
FreeBSD developers?
Thank you a lot and sorry for noobish question :)

-- 




~~~
WBR,
Vitaliy Turovets
Systems Administrator
Corebug.Net
+38(093)265-70-55
VITU-RIPE
X-NCC-RegID: ua.tv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Jails on FreeBSD 9.0

2012-07-17 Thread Kalle Møller
On Thu, Jul 12, 2012 at 9:04 PM, Herbert J. Skuhra  wrote:
> On Thu, Jul 12, 2012 at 11:56 AM, joris dedieu  wrote:
>> 2012/7/12 Herbert J. Skuhra :
>>> On Wed, Jul 11, 2012 at 11:59 PM, Herbert J. Skuhra  
>>> wrote:
 Hi,

 although I've followed the instructions in jail(8) and jail.conf(5) I
 cannot manage to setup jails on FreeBSD 9.0 STABLE (r238334).

 The symptons:

 * ssh'ing to jail works, but it takes about 20 seconds until password
   prompt appears
>>
>> Does it still the same with UseDNS=no in /etc/ssh/sshd_config ?
>
> No, I can login instantly.
>
 * netstat -r in the jail takes about 150 seconds to finish
>>
>> Does netstat -rn does the same ?
>
> No, the output appears immediately.
>
 * connections to the internet time out; with tcpdump I see that
   packets leave and enter the public interface on the host, but never
   reach the jail

 I use lo1 interface and ip address 192.168.1.1/24 for the jail. Public
 interface is fxp0 with both an IPv4 and an IPv6 address assigned.
 Of course, nat is enable via pf on the public interface.
>>
>> Can you post your PF configuration ?
>>>
>>> After switching to ipfw/natd networking in the jail works.
>>> Could this be a bug?
>>
>> I think you had an issue with firewall that block name resolution and
>> makes everything goes slow. At least you need one single line on your
>> pf.conf :
>>
>> nat on $public_interface form $jail_ip to any -> ($public_interface)
>
> Even when loading only the nat rule it doesn't work:
>
> nat on fxp0 from  192.168.1.0/24 to any -> $ext_addr
>
> Thanks.
> Herbert
> ___
> freebsd-j...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


As Mark Felder wrote

You don't have anything in /etc/resolv.conf, in the jail do you? :-)

-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"