Re: Hi

2008-12-10 Thread Sebastian Tymków
Hello,

If you don't want to do this using server features you should do it in your
program
(like in config file).

Best regards,

Shamrock

2008/12/10 pugal pugal [EMAIL PROTECTED]

 Hi all
 I will explain the scenario clearly.

 I have a server program say server.c listening on some XXX port-number.I
 accepts all the client.

 Now i want to DENY only the particular client say x.x.x.x/16 .

 I want to deny that Client by not using hosts.deny.

 For this scenario what can i do?? If anyone knows Let me explain clearly.
 Since i am very new to this.please explain clearly.

 On Wed, Dec 10, 2008 at 3:43 PM, Odhiambo Washington [EMAIL PROTECTED]
 wrote:

 
 
  On Wed, Dec 10, 2008 at 12:44 PM, pugal pugal [EMAIL PROTECTED]
 wrote:
 
  Hi all
  Did anyone knows how to deny the TCP connection Without using
  hosts.deny and ipfilter.
 
 
  Let the service listen on 127.0.0.1 or just don't start it:-)
 
 
  --
  Best regards,
  Odhiambo WASHINGTON,
  Nairobi,KE
  +254733744121/+254722743223
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  Okay guys. This is Kenya. You pay taxes because you feel philanthropic,
  unlike our MPs!
  -- Kenneth Marende, Speaker, 10th Parilament.
 



 --
 Thanks
 With Regards
 Pugal
  ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [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: process always running

2008-11-27 Thread Sebastian Tymków
Hi,

I use it and it works fine for me. I don't need any third party software to
run/restart process.
Recently I used daemontools for respawn process but it was uncomfortable to
install and configure for me.

Best regards,

Sebastian Tymkow

2008/11/27 Jonathan McKeown [EMAIL PROTECTED]

 On Thursday 27 November 2008 15:46:58 Dominik Meister wrote:
  Hi
 
  Gian Paolo Buono [Thu, Nov 27, 2008 at 02:05:44PM +0100]:
   there is a method in freebsd for  restart process whenever it
 terminates
   ? I use in linux respawn in inittab...
 
  One possibility that comes to mind is using daemontools [0]. Should be
  in ports but there are probably easier ways to achieve this.

 I've never tried it, but according to the manpage for init(8) you can get
 the
 same effect as a respawn entry in a sysV inittab by putting the command
 in /etc/ttys. Perhaps someone who's done it could comment?

 Jonathan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [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: Best way to back up mysql database

2008-11-06 Thread Sebastian Tymków
Hello,

Yes you're right but what I meant was something like this ;))
http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/
It's simple, safe and faster than mysqldump.
On 3 GB database it takes only 3-5 seconds.


Best regards,

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


Re: Logrotate

2008-10-02 Thread Sebastian Tymków
Hi,

I'm not sure but I think you can try use sharedscripts in yor logrotete
script.
Another solution is make script which unlink/link logs.

Best regards,

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


Re: Best way to back up mysql database

2008-10-01 Thread Sebastian Tymków
Hello,

You can store whole db files too. It's faster to run database from scratch
than use mysqldump and mysql source.

Best regards,

Shamrock
___
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: create/delete user by web interface

2008-09-08 Thread Sebastian Tymków
Hello,

2008/9/8 Martin Schweizer [EMAIL PROTECTED]

  Or maybe you're looking for solution like ftp server and accounts in
  database ?

 This is a possible way. Probably the combination ftp users in a database is
 ok. Which one is the best solution?

   I've three FreeBSD 7.0 server. Im looking for a combination where I can
   create/delete etc. ftp users as a non-root user (probably from a
 template).


I haven't used such solution,but you can try pureftpd+sql backed or vsftpd
with mysql backed.

Best regards,

Sebastian Tymków
___
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: create/delete user by web interface

2008-09-04 Thread Sebastian Tymków
Hello,

Have you tried cpanel or webmin ?
Or maybe you're looking for solution like ftp server and accounts in
database ?


Best regards,

Sebastian Tymków

2008/9/4 Martin Schweizer [EMAIL PROTECTED]

 Hello

 I've three FreeBSD 7.0 server. Im looking for a combination where I can
 create/delete etc. ftp users as a non-root user (probably from a template).
 Do
 you have some hints which combinations works in such a constellation?

 Regards,

 --

 Martin Schweizer
 [EMAIL PROTECTED]

 PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
 Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
 public key : http://www.pc-service.ch/pgp/public_key.asc;
 fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [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: problem running named

2008-09-03 Thread Sebastian Tymków
Hello,

What is on logs ?
What do you have in your /etc/rc.conf for named ?

Best regards,

Shamrock

2008/9/3 Richard Yang [EMAIL PROTECTED]

 Hello,

 When I tried /etc/rc.d/named forcestart, i got
 ./named: WARNING: run_rc_command: cannot run /etc/namedb/named

 what does it mean and how do i fix this?
 thanx

 --

 Best Regards

 Richard Yang
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [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: make release and sysinstall

2008-08-14 Thread Sebastian Tymków
Hi,

This should help:

http://www.gsoft.com.au/~doconnor/FreeBSD-release.html
http://www.gsoft.com.au/~doconnor/release/install.cfg

I made my own release with ports on board without additional
post-installing.
This ports, are configured and ready to work out of box.

Best regards,

Sebastian Tymkow

2008/8/14 Matias Surdi [EMAIL PROTECTED]

 Hi Riaan,
 Thanks a lot for your explanation, it's been very usefull to me, really.

 I've been looking about Freesbie, but it seems abandoned and on their
 mailing list there is no post since a couple of months.

 PfSense, which I use here, uses bsdInstaller but it's last new is from
 Aug 02 2005, so, it seems abandoned also.

 More of the same with the livecd port... the scripts are not up to date
 with current FreeBSD releases.

 I'll give a sigth to nanoBSD., but for the moment it seems that where I can
 get more support/documentation is with sysinstall and standard FreeBSD
 tools.


 Another question:

 Suppose I create my own install.cfg for sysinstall and then I do a make
 release.If my sysinstall contains a couple of freeBSD packages (bash,
 python, etc..) plus a custom package created by me.. How must I instruct
 make release to include just those packages in the final CDROM?


 Thanks a lot.


 Riaan Kruger escribió:

  Sysinstall has a configuration file with wich you can specify several
 options, see man sysinstall(8) for more details.  When making a
 release you set the sysinstalls configuration file with the
 LOCAL_PATCHES option to patch it to the chroot environment release
 build environment.

 We use it to create a automatic install for a host that we know
 exactly how the disks will be partitioned, what packages are installed
 what users etc.

 Here is an snippet of our patch file, (please note I have changed some
 of the names to protect the guilty :) )

 --- /dev/null Sat Jan 26 17:11:01 2008
 +++ release/install.cfg Sat Jan 26 17:17:46 2008
 @@ -0,0 +1,31 @@
 +debug=yes
 +
 +nonInteractive=yes
 +hostname=a.b.c
 +domainname=b.c
 +
 +mediaSetCDROM
 +
 +distSetMinimum
 +
 +disk=ar0


 etc, etc

 Hope this helps.

 PS. You could also look at what nanobsd and I think pfsense does. I
 think they use a different approach.  I have heard sysinstall should
 have been killed a long time ago but it still works well for us.


 Riaan

 On 8/13/08, Matias Surdi [EMAIL PROTECTED] wrote:

 Hi again,

 Suppose I build my own FreeBSD based distro, as described in release(7).
 How can I script sysinstall or replace it with another installer to
 customize the installation process?


 Thanks a lot.

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

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


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

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


Sed in FreeBSD

2008-07-05 Thread Sebastian Tymków
Hi,

I'm trying to use sed in script to append file after pattern but I couldn't
find any good example
how can I do it.
I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There
are many axamples in internet but none
of them work on FreeBSD.

Best regards,

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


Making own install iso

2008-06-28 Thread Sebastian Tymków
Hi,

Can anyone answer me if it's possible to make install iso from own chrooted
environment ?
When I do make release first it creates chroot environment then
in chrooted environment recompiles sources and creates iso in
/R directory using /R/stage.
I wonder if it's possible to create install iso from chroot without all this
stuff
(I mean make release, even  LOCAL_SCRIPT parameter doesn't help  ).
 I try to do my own custom iso thats why I need  make it from my own
chrooted
environment.

Best regards,

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