Hello

2013-06-25 Thread julius

Which BSD for a user desktop ??!.
I all ready have Linux mint but I like to try again, in the past I have 
use it but no luck in dual booting system with windows and I have try to 
follow youtube BSD users that gave instructions on the BSD and no luck.
Everybody that I watch in youtube for instruction it hasn't work even 
loading the BSD on is own hasn't work.So which BSD for a user desktop??!

Thank you
--
Best Wishes Julius
___
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: [SSHd] Increasing wait time?

2008-05-08 Thread Julius Huang

Hi,

On May 7, 2008, at 01:11 , Gilles wrote:


Hello

I'm a bit tired of people trying to break into SSH:

May  6 16:59:23 freebsd sshd[24649]: Invalid user agatha from
195.43.9.246
May  6 16:59:26 freebsd sshd[24651]: Invalid user cristie from
195.43.9.246
May  6 16:59:29 freebsd sshd[24653]: Invalid user number from
195.43.9.246
May  6 16:59:31 freebsd sshd[24655]: Invalid user chamber from
195.43.9.246
etc.

Is there a way to configure SSHd, so that the wait time between login
attempts increases after X failed tries?




Is portknocking + firewall considered?

There are ways to implement it, some are not complicated.

J.


Thank you.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP server behind firewall?

2008-04-17 Thread Julius Huang


On Apr 17, 2008, at 12:59 , Manolis Kiagias wrote:

Gilles wrote:

On Wed, 16 Apr 2008 22:06:24 -0400, Jon Radel [EMAIL PROTECTED] wrote:


What control do you have over the firewall?  One of the cleaner
solutions would be to run an ftp proxy on the firewall, such as that
supplied with pf.  See ftp-proxy(8) or
http://www.openbsd.org/faq/pf/ftp.html



Unfortunately, the router/NAT firewall can be neither replaced nor
tweaked, since it's a modem/router provided by our ISP.

Actually, we don't necessarily need an FTP. Whatever solution to send
files is fine, provided I can add this feature in a VB Classic client
application.



Hi,

May be you can consider using sshd + sftp on Server.
  (Single Port for just about everything, see below)

PSCP or PSFTP (from same as PuTTY) allow send / receive file via  
command line,

  eg. you can issue exec from VB to send files.
  pscp [options] source [source...] [EMAIL PROTECTED]:target
  (PSFTP is prefer over PSCP, but PSCP is simple)

  http://www.putty.nl/download.html

Also, bind sshd on high port will prevent too many port scan and
  the connection is consider to be more secure than ftp.

IMHO, sftp is more easily managed than ftp in the long run (Both  
Server and Client).


ps.
I also use ssh to forward 3389, the M$ Terminal Server (even XP has  
one), no need for PC ANYWHERE.
If you need to solve problem remotely, you don't need to open another  
port (PC ANYWHERE needs 2).


J.





Running an FTP behind a home DSL router is perfectly possible. You  
will just have to open a range of ports on the router itself eg  
25000-25050 and forward them to your ftp server internal IP  
address. Then set the FTP server to only use these ports for  
passive transfers.


For example, I am using ftp/proftpd and have this directive in the  
configuration file:


PassivePorts 25000-25050

You will, of course, need to forward port 21 as well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: samba

2008-03-23 Thread Julius Huang


On Mar 23, 2008, at 12:15 , MD Keith wrote:


Thank you,

 That did it for me also,  so what does that change do? change hash  
etc uses for

sending passwords?



I think M$ change LM default Auth setting to make Vista a little more  
Secure,

 but break some old Samba which does not support some Auth Method.

This is quite common problem when Vista connect to old or low end NAS.

J.


Again thanks for the fix

Mark



On Sat, Mar 22, 2008 at 12:52 PM, Julius Huang  
[EMAIL PROTECTED] wrote:

Hi,


On Mar 22, 2008, at 02:02 , MD Keith wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Greetings, I have a FreeBSD box i set up long ago as a file server

 has worked great till I had to get a better laptop with gfx card to
 keep
 up with my SecondLife Addiction.  and now can't get the installed
 Vista Os to connect to it.


Try change LmCompatibilityLevel to '0' or '1' on Vista using regedt32.

It is under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.

Works for me.

J.

 Help would be appreciated,

 running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box

 Thanks in advance,
  Wolf


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: http://firegpg.tuxfamily.org

 iD8DBQFH4/grLYy55nbmwbwRAo4gAJ90NYqAIE9Mgxevh9SIlLdFv93BzACeOGQt
 crK8s0gUSNtkI4w6Tbv4dGk=
 =0BQG
 -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-
 [EMAIL PROTECTED]




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: samba

2008-03-22 Thread Julius Huang

Hi,


On Mar 22, 2008, at 02:02 , MD Keith wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings, I have a FreeBSD box i set up long ago as a file server

has worked great till I had to get a better laptop with gfx card to  
keep

up with my SecondLife Addiction.  and now can't get the installed
Vista Os to connect to it.



Try change LmCompatibilityLevel to '0' or '1' on Vista using regedt32.

It is under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa.

Works for me.

J.


Help would be appreciated,

running 5.4-RELEASE FreeBSD 5.4-RELEASE #0 on the box

Thanks in advance,
 Wolf


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: http://firegpg.tuxfamily.org

iD8DBQFH4/grLYy55nbmwbwRAo4gAJ90NYqAIE9Mgxevh9SIlLdFv93BzACeOGQt
crK8s0gUSNtkI4w6Tbv4dGk=
=0BQG
-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- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tuning make.conf

2008-03-13 Thread Julius Huang


On Mar 13, 2008, at 17:32 , Luca Presotto wrote:


Hi everyone!
I was starting to think to recompile everything for my pc to speed
up everything. I started googling and I found almost nothing about  
how to
change make.conf on bsd. Almost everything was about Gentoo,  
somehow not

unsurprisingly.


Try man make.conf

J.H.

The first thing I noticed is that for linux all the instructions  
are about
doing CFLAGS= value while it seems from /etc/share/examples/ 
make.conf

that in bsd I don't need . Is it correct?
Second question: If I set MAKEOPTS= -j 3 will that be used when
portupgrading? (It's really to slow otherwise!)
Third question...The most difficult..Which are the best flags for my
machine? (freebsd 7.0-RELEASE with an intel centrino core2 duo)
I have seen in the /examples/etc/make.conf that one of the  
possible
CPUTYPE is core2 which looks to me as the right one but a geekier  
friend

of mine that lives inside gentoo-linux told me that this option is
unknown is gcc 4.2 and will be working from gcc4.3, so he told me  
to use

prescott.
And what do I have to set to make gcc aware of the type of CPU I have?
CPUTYPE= cpu
and then CFLAGS= --O2 -pipe (etc..)
or should I not write the cputype and then do:
CLFAGS= -march=mycpu --O2 etc
Can someone give me some advice on how to configure this file?
Or can you provide me some documentation?
Thank you!


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tuning make.conf

2008-03-13 Thread Julius Huang

Hi,

On Mar 13, 2008, at 18:58 , Luca Presotto wrote:


You're *really* wasting your time.

I supposed that!



Your system is doing no cpu cycles at all for most of
the time anyway. [cut]Also, makeopts and -pipe just make  
_compiling_ faster, not the

applications themselves!!!.


I agree with everything. In any case I think that a faster  
compiling will really be a good thing.
I have been reading another time the man of make.conf and I still  
have some doubts.
Neither in the example either in the man page there is any  
reference to MAKEOPTS. Changing from -j1 to -j3 would really be a  
huge difference!




Isn't -j depend on how many cpu/core and a faster harddisk / raid?

In our small lab we used to install New system on some Very Old SCSI  
for testing (18G SCSI 2 I think).
It takes 2x to 3x more time to build world / kernel than a New SCSI  
Ultra 320 HD on the Same machine no matter what we put in -j.


Faster / Higher IO through put always compile faster.

Also there may be problem buildworld and buildkernel if use -j IIRC,
other method is required to speed up compiler when build world / kernel.
Like not compile everything except what is Really need to be recompile.


To be able to set this is very important.
Then I don't want an ultra tweaked make.conf like gentooers do.  
Just a reasonable one.
(And you have convinced me, I won't recompile everything. Just to  
have a good compiling when I will be upgrading)


I have some doubts about the correct syntax, the man is ambiguous  
in this point.
If I write CPUTYPE= core2 will it automatically sets all the best  
safe CFLAGS for my core or just set the -march=core2

Should my make.conf be  like:
MAKEOPTS==-j3
CPUTYPE=core2
CFLAGS= --O2 -pipe -fno-strict-aliasing

or just:
MAKEOPTS==-j3
CPUTYPE=core2

or maybe:

MAKEOPTS==-j3
CPUTYPE=core2
CFLAGS+= --O2 -pipe -fno-strict-aliasing



I remember seeing some thread in Stable@, Question@, Performance@  
discuss about best CPUTYPE on AMD64 not long ago.


J.H.


Please take a look at the following pages, they have a lot more
information about this matter ;)
http://funroll-loops.info/
http://bugs.gentoo.org/show_bug.cgi?id=74072


Actually that's really funny!! I think that's why there are so many  
pages about gentoo and almost none about other OSes.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]