about newsyslog

2005-09-13 Thread Yavuz
Hello I use FreeBSD5.3 I want to change maillog file more frequent. As you know the file named maillog file changes once in a day. There is a file named newsyslog.conf in /etc How can I do change file named maillog everyhour with /etc/newsyslog.conf ? Thanks ___

Re: about newsyslog

2005-09-13 Thread Yavuz
Hello again I have already read that man pages about newsyslog it only shows daily,weekly,yearly etc. but I couldn't find to change every hour in everyday or to change every 3 hours in a day. help please... - Original Message - From: "Giorgos Keramidas" <[EMAIL PROT

writing divert sockets

2010-01-25 Thread yavuz
Hi all, I have a problem while writing divert sockets. I found a simple application and modified it to compile in freebsd. Simple divert socket application only prints incomming packet and reinject packet to IP stack. My simple application and test codes are available at ( http://forums.freebsd.or

Cheating OS fingerprinting

2010-02-07 Thread yavuz
patch to PF, or does PF provides some mechanisms to write extension modules? Can you give any advices? Where is to start:) best regards... yavuz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-q

is there any way to increase disk performance ?

2009-02-04 Thread Yavuz
I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. it's running mail server which has services like pop3,imap,smtp and webmail on this machine. When I type systat 1 -vmstat on command line, even I rarely see that disk usage hits 100%. I have no problem as ram and cpu. they is enough. is

Re: is there any way to increase disk performance ?

2009-02-05 Thread Yavuz
Ok. I increased vfs.read_max while I was looking into this case in google, I see a value of MAXPHYS in my kernel, there is a value called MAXPHYS=(128*1024) as default. What should I set this value ? Yavuz wrote: I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. it's running

about upgrade

2009-02-05 Thread Yavuz
I have a freebsd7.0-stable how can I upgrade this to freebsd7.1-release ? is there a way for this one which from stable to release ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubs

usage of swap file

2009-02-05 Thread Yavuz
I use freebsd7.0 I have 2 Gbyte RAM and 4 Gbyte Swap. my system sometimes need more memory and although there was 3.90 Gbyte swap, I saw that run out of memory when I see with top command. Why doesn't the machine use swap properly ? What do I have to do ? ___

Re: is there any way to increase disk performance ?

2009-02-06 Thread Yavuz
I increased values of vfs.read_max and MAXPHYS. I observe the disk's performance. New these values help disk performance clearly. Thanks. Yavuz wrote: I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. it's running mail server which has services like pop3,imap,smtp and

about vi editor and turkish char

2008-10-31 Thread Yavuz Maslak
Hello I use Freebsd7.0. I am not able to use turkish char while I edit a file with vi editor. How can I correct that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send an

Re: about vi editor and turkish char

2008-11-01 Thread Yavuz Maslak
Hello, Where do I have to specify "LANG ... " expression to support any language in VI ? Ok. I have no problem in many editors about that but I wish to learn for vi . El día Friday, October 31, 2008 a las 06:31:02PM +0200, Yavuz Maslak escribió: Hello I use Freebsd7.0

Boot problem after reboot during upgrade from frebsd6.1 to freebsd7.0

2008-03-13 Thread Yavuz Maslak
I followed http://www.freebsd.org/releases/7.0R/announce.html to upgrade freebsd6.1 to 7.0. I forgot compile kernel for freebsd7.0. and I rebooted the machine. The server didn't give any error message during the upgrade. The server tried to boot at freebsd6.1. and it could not boot the system. it

doesn't dummynet work with vlan ?

2012-06-07 Thread Yavuz Maşlak
Hello there  I use freebsd8.2 I added dummynet and other followings into the kernel; options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print information about options IPFIREWALL_FORWARD #enable trasparent proxy support  options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default option

boot problem

2011-04-21 Thread Yavuz Maşlak
Hello I have a freebsd7 box. I also have another PC . I removed the disk from freebsd installed machine and fixed it to the another PC. It Works but there is a problem. While opening the server it waits at boot FreeBSD/i386 boot: Default:0:ad(0,a)/boot/loader Boot: If I press enter, the ser

RE: boot problem

2011-04-21 Thread Yavuz Maşlak
Attached sata Disk. it is not usb Namely, The sata disk is attached to new machine. It is connected by sata cable. On Thu, 21 Apr 2011, Yavuz Maşlak wrote: > I have a freebsd7 box. I also have another PC . I removed the disk from > freebsd installed machine and fixed it to the a

How to deny getting static ip address via pf ?

2011-07-26 Thread Yavuz Maşlak
Hello I use pf on freebsd as packet filter. I have a wireless area. The users get to the internet using automatic ip from the dhcp server. I wish to deny to assign a static ip address by manual. How can I do that with pf or ipfw or another thing? thanks ___

About pipe

2011-10-07 Thread Yavuz Maşlak
I use pipe ( dummynet ) with ipfw for bandwidth on freebsd8 There is a /24 ip blok which is 192.168.1.1 - 254 . I pipe them at 20 Mbps. There is an special ip ( 192.168.1.100 ) in it. I would like to allow this ip at 10 Mbps. The 10 mbps is in the 20 mbps. If the ip doesn't use any usage, I

about setfib arpresolve

2013-10-13 Thread Yavuz Maşlak
Hello On freebsd 8 i get kernel: arpresolve: can't allocate llinfo for x.x.x.x How can i get rid off this issue? I saw http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/167947 but how can i patch it ? ___ freebsd-questions@freebsd.org mailing

I could not dial with modem on FreeBSD?

2005-12-21 Thread Yavuz Maslak
Hello I have a internal modem which runs on windows. I add it on FreeBSD machine to dial an isp phone. But I haven't had the modem run on FreeBSD5.3. My kernel is GENERIC kernel. Here is my /etc/ppp/ppp.conf as below; default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa

copy or listing problem

2004-06-18 Thread Yavuz Maşlak
Hello I use freebsd4.9 I have thousands of files in my any directory. and I need to copy them to another directory. but when I started to copy them I got error as below; /bin/cp: Argument list too long. Do I have to copy them in pieces ? What shall I do ? Thanks ___

size of net.inet.tcp.sendspace and net.inet.tcp.recvspace

2004-05-10 Thread Yavuz Maşlak
hello i want to tune on freebsd4.9, My server has pentium 4, 2.8Ghz, 73*4 Gbyte scsi disk (Raid5), 2Gbyte ram. it runs apache 1.3x. For max performance, What does myserver should be size of net.inet.tcp.sendspace and net.inet.tcp.recvspace or other values ?

I could not become superuser

2005-11-18 Thread Yavuz Maslak
Hello I installed FreeBSD6.0. and it was running well by today . My FreeBSD server gave a problem about user login. I could not become superuser. my user that has superuser. When I login the server this user the screen gives things as below user>su not running setuid what shell I do ? __

Re: I could not become superuser

2005-11-18 Thread Yavuz Maslak
u". I could not become su. user>su user>su not running setuid. - Original Message - From: "Jerry McAllister" <[EMAIL PROTECTED]> To: "Yavuz Maslak" <[EMAIL PROTECTED]> Cc: Sent: Friday, November 18, 2005 5:06 PM Subject: Re: I could not become sup

Re: I could not become superuser

2005-11-18 Thread Yavuz Maslak
Thanks a lot my problem has been solved. the permission wrong caused this problem. I rewrote permission right as below chmod 4755 /usr/bin/su - Original Message - From: "Bill Moran" <[EMAIL PROTECTED]> To: "Jerry McAllister" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; Sent: Friday,

disk problem

2005-11-30 Thread Yavuz Maslak
Hello I wanted to install freeBSD6.0 on my machine. formerly windows2000 was running on it. But I could not install freebsd. Because it gave an error about harddisk. My harddisk is Western Digital WD400 40Gbyte capacity. I got the error message on the screen as below ATA0_MASTER : FAILURE -

Re: disk problem

2005-12-01 Thread Yavuz Maslak
g the ``safe mode'' of the bootloader. > hint.acpi.0.disabled=1 > hint.apic.0.disabled=1 > > If avaible, use the host's BIOS setup optios to put the ATA controller in > its 'legacy mode'. > > Ahmet > F.L > > > At 01:28 AM 11/30/2005, Y

route issue

2012-12-25 Thread Yavuz Maşlak
Hello On freebsd8.2 when i run netstat -rn i see below; # netstat -rn | grep -r "127.0.0.1" 127.0.0.1 127.0.0.1 UHS 0 1462933lo0 As flag i think that it should be UH but on my server as above; How can i fix it ?

about pfctl

2013-02-06 Thread Yavuz Maşlak
I have a freebsd box and pf Works on it. I wish to see use of data for each ip address. When i execute "pfctl -t tablename -vT show"I can see usages of these ips. Pfctl lists all of ips. But how can i filter it for each ip address ? because i want to insert these data for each ip i

RE: about pfctl

2013-02-06 Thread Yavuz Maşlak
> I have a freebsd box and pf Works on it. > I wish to see use of data for each ip address. > > When i execute "pfctl -t tablename -vT show"I can see usages of these > ips. Pfctl lists all of ips. > > But how can i filter it for each ip address ? because i want to > insert these da

how to convert lower case to uppercase in a word in a line ?

2005-09-16 Thread Yavuz Maslak
Hello There is a word that consists lowercases. How to change all of letters capital letters in stead of lowercase ? is there any script about that ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

for vpn connection

2010-02-08 Thread Yavuz Maşlak
I use freebsd7.2 I have an iphone. I wish to establish a vpn connection between the iphone and my freebsd server as client to server. What sort of softwares shall I use for it ? Could you give me an example? any advances? Thanks ___ freebsd-questio

is there a tool for estimating loss rates

2010-02-18 Thread Yavuz Maşlak
I have 2 leasedlines for internet. the one is in a country. other one is in a another country. I am looking for a tool for estimating loss packets between 2 lines. is there a tool for it? for instance , while searching, I found badabing tool for that. But I couldn't understand how it estimates l

about incoming and outgoing trafficc

2010-02-24 Thread Yavuz Maşlak
I have 2 lines to reach to the internet. I use 2 gateway. one of 2 gateway is a freebsd7.2 gateway. I activated pf on freebsd7.2. I have a fileserver which has a real ip. the fileserver's default gateway is other gateway server. When a traffic comes from internet via freebsd gateway towards the

about tcpdump

2010-04-15 Thread Yavuz Maşlak
I have a network. I wish to log all incoming and outgoing trafficc using tcpdump on my gateway server. But I don't want to log these traffic's data because of they take up much on disk. I only want to log which ports were used, which ip addresses were reached. How can I do these using tcpdump ?

antivirus gateway

2009-08-23 Thread Yavuz Maşlak
Hello I wish to use freebsd7.2 as an antivirus gateway. is there any document about that? Could you give an advice ? Thanks Bu elektronik posta ve varsa ekleri tamamen gizli ve gönderilen kişiler listesine özeldir. Eğer adınız gönderilen kişiler listesinde yer almıyorsa, lütfen derhal göndere

where can i get freebsd4.8 iso file for ultrasparc architectural ?i couldn't see it

2003-08-14 Thread Yavuz Maşlak
___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

How can I see all of error messages about server's situation in a log file ?

2009-02-24 Thread Yavuz Maslak
I use freebsd7.1-release. Sometimes, when I monitor my server on the monitor, I see some messages which are about inform, warning or kernel messages. But I couldn't see these messages in /var/log/messages. How can I do that ? What do I need to set to this ?

How can I extract differences between 2 folders ?

2009-05-05 Thread Yavuz Maşlak
Hello I use freebsd7.1 I have two folders which contains some expressions in everyline as following; File A: abcde 12345 etc. File B: xyzas 12345 etc As above some strings are same and some strings are different. There are several differents between these two files. When I run diff command

Re: How can I extract differences between 2 folders ?

2009-05-05 Thread Yavuz Maşlak
etween file "a" and file "b": > diff --suppress-common-lines -w -y a b abcde | xyasz But since you do not seem to be happy with the output - what should it look like? Armin On Tue 05 May 2009, Yavuz Maşlak wrote: I have

how to rotate a tcpdump file

2009-05-23 Thread Yavuz Maşlak
I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which command should I use ? Bu elektronik posta ve varsa ekleri tamamen gizli ve gönderilen kişiler listesine özeldir. Eğer adınız gönderilen kişiler listesinde yer almıyorsa, lütfen derhal gönderen kişiyi bilgilendiriniz ve i

about using ppp over ethernet

2009-05-30 Thread Yavuz Maşlak
I use freebsd7.1 I have a adsl modem. I am going to use freebsd as a router and firewall. I wish to use over pppoe. I set the adsl modem as a bridge mode. I configured ppp.conf on freebsd. When I try to connect to internet using ADSL, But I get an error as below; Freebsd can't ping at any out

how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Yavuz Maslak
I use ipfw on freebsd7. I have two questions 1- I want to fix an ip address for each mac address. But some pc and servers have more than an ip address. How can I map multiple ip addresses for a mac address? 2- I want to allow these fixed mac addresses using ipfw. After that I want to deny all

Re: how to reject all mac addresses except some mac addresses usingipfw?

2008-06-24 Thread Yavuz Maslak
I got my second question. But I should have asked different my first question. I have meant that how can I restrict to use an ip address which I already assigned to a computer, anyone can use at his pc? - Original Message - From: "Chuck Swiger" <[EMAIL PROTECTED]> T

Do I put down cputype in make.conf ?

2008-07-07 Thread Yavuz Maslak
I have a quad-core intel 64 bit cpu. I got 7.0-STABLE-200806-amd64-disc1.iso from ftp://ftp3.freebsd.org/pub/FreeBSD/snapshots/200806/ I installed freebsd7.0-stable from it. the machine works well. But do I need to edit /etc/make.conf for cputype ? if it need to be edited What should I put down it

crontab mails

2008-07-25 Thread Yavuz Maslak
Hello On freebsd7.0, my crontab sends many mails about its jobs. I want crontab not to send these mails How can I do that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

How to update from 7.0-stable-200805 to 7.0-stable-200807 ?

2008-07-31 Thread Yavuz Maslak
I use 7.0-STABLE-200805. I want to update it to 7.0-STABLE-200807. How do I update for the last updates clearly ? is there a way to update without reboot the machine or with only one reboot ? ___ freebsd-questions@freebsd.org mailing list http://list

How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread Yavuz Maslak
On freebsd7, How to set quota for a directory? For instance I want to set 100Mbyte quota for a directory. How can I do that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, se

is there a sysctl monitor tool ?

2006-06-22 Thread Maslak Yavuz
Hello I have 2 server . I use FreeBSD6.1 and Freebsd6.0 on them. 1 - Is there any program or command about how much the server use the parameters sysctl values and whether the server exceed the sysctl limits or not ? can you say a command or tool except top, ps, netstat -m ? 2 - While I am

I can't execute a script in crontab

2010-05-18 Thread Yavuz Maşlak
I use freebsd7.2 I wish to send a file using crontab as periodic. I have a script to send the file. When I am root, I can execute my script, but I can't execute the script using crontab. How can I run it ? cat myscript /usr/bin/scp -i /root/.ssh/id_rsa.pub /root/cpfile r...@192.168.10.9:/var

Re: I can't execute a script in crontab

2010-05-18 Thread Yavuz Maşlak
the script is already executable but it doesn't work -rwxrwxrwx 1 root wheel .. Either make the script executable or cron it like this: * * * * * /bin/sh /path/to/myscript -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not t

I can't install php5-mhash from ports

2010-05-30 Thread Yavuz Maşlak
I use freebsd7.3 . I ran portsnap update . I can't install php5-mhash from ports cd /usr/ports/security/php5-mhash # make ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Extracting for php5-mhash-5.3.2 => MD5 Checksum OK for p