Re: chromium won't build on FreeBSD 9.1 ports rev 315799

2013-04-17 Thread Andrei Brezan

On 04/17/13 18:40, John wrote:

Hello list,

In my daily vulnerability report, I'm seeing this:


Affected package: chromium-25.0.1364.160
Type of problem: chromium -- multiple vulnerabilities.
Reference:
http://portaudit.FreeBSD.org/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html


Latest ports update as of 1630 UTC - 315981

I try to update it. I get:


  portupgrade chromium
---  Upgrading 'chromium-25.0.1364.160' to 'chromium-25.0.1364.172'
(www/chromium)
---  Building '/usr/ports/www/chromium'
===  Cleaning for chromium-25.0.1364.172

To build Chromium, you should have around 1 GB of memory
and a fair amount of free diskspace (~ 2.2GB).

===  chromium-25.0.1364.172 has known vulnerabilities:
Affected package: chromium-25.0.1364.172
Type of problem: chromium -- multiple vulnerabilities.
Reference:
http://portaudit.FreeBSD.org/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html
= Please update your ports tree and try again.
*** [check-vulnerable] Error code 1

Stop in /usr/ports/www/chromium.
*** [build] Error code 1

Stop in /usr/ports/www/chromium.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20130417-83106-6ngbzf-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=chromium-25.0.1364.160 UPGRADE_PORT_VER=25.0.1364.160 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! www/chromium (chromium-25.0.1364.160) (unknown build error)
=

I know the code is now at revision 26.something. I have a look at
https://wiki.freebsd.org/Chromium and follow the instructions there. I
get up to here:

../../depot_tools/gclient sync --force

Error: Can't update/checkout ~/tmp/depot_tools/src if an unversioned
directory is present. Delete the directory and try again.

Please advise if/how I can proceed?

thanks,
___



You can try:
portupgrade -m -DDISABLE_VULNERABILITIES chromium

From what I can see there is no update yet for the mentioned security 
vulnerability.


Regards,
Andrei
___
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


pkgng / poudriere oddity

2013-03-31 Thread Andrei Brezan

Hello list,

It seems I'm experiencing some issues while trying to install packages 
that have dependencies that have other dependencies as well, or at least 
that's how I understand it.


 # uname -a
FreeBSD host.example.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue 
Dec  4 09:23:10 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


# pkg install mtr-nox11
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
The following packages will be installed:

Installing gettext: 0.18.1.1_1
Installing pcre: 8.32
Installing libiconv: 1.14_1
Installing glib: 2.34.3
Installing libffi: 3.0.13
Installing perl: 5.14.2_3
Installing python27: 2.7.3_6
Installing mtr-nox11: 0.84

The installation will require 149 MB more space

0 B to be downloaded

Proceed with installing packages [y/N]: y
Checking integrity... done
Installing gettext-0.18.1.1_1...missing dependency libiconv-1.14_1

# pkg rquery %n-%v libiconv
libiconv-1.14_1

Is there an obvious reason why gettext dependencies are not pulled in 
and installed?
If I do pkg install gettext all goes well and libiconv in installed as 
dependency.


I've already did a poudriere bulk -j jail_name -p ports_tree -c -f 
pkg_list.txt for the pkg repo to no avail.


To mention that on the host using pkgng I did several pkg delete -f for 
all packages installed except pkg.


Thank you,

Andrei Brezan
___
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: pkgng / poudriere oddity

2013-03-31 Thread Andrei Brezan

On 03/31/13 16:07, CyberLeo Kitsana wrote:

On 03/31/2013 08:58 AM, Andrei Brezan wrote:

Hello list,

It seems I'm experiencing some issues while trying to install packages
that have dependencies that have other dependencies as well, or at least
that's how I understand it.

  # uname -a
FreeBSD host.example.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue
Dec  4 09:23:10 UTC 2012
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

# pkg install mtr-nox11
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
The following packages will be installed:

 Installing gettext: 0.18.1.1_1
 Installing pcre: 8.32
 Installing libiconv: 1.14_1
 Installing glib: 2.34.3
 Installing libffi: 3.0.13
 Installing perl: 5.14.2_3
 Installing python27: 2.7.3_6
 Installing mtr-nox11: 0.84

The installation will require 149 MB more space

0 B to be downloaded

Proceed with installing packages [y/N]: y
Checking integrity... done
Installing gettext-0.18.1.1_1...missing dependency libiconv-1.14_1

# pkg rquery %n-%v libiconv
libiconv-1.14_1

Is there an obvious reason why gettext dependencies are not pulled in
and installed?
If I do pkg install gettext all goes well and libiconv in installed as
dependency.

I've already did a poudriere bulk -j jail_name -p ports_tree -c -f
pkg_list.txt for the pkg repo to no avail.

To mention that on the host using pkgng I did several pkg delete -f for
all packages installed except pkg.

Try turning PARALLEL_JOBS to 1 in poudriere.conf and then rebuilding all
the packages.

This sounds very similar to a behaviour I was witnessing with non-pkgng
repos constructed by Poudriere, whereby the INDEX was ending up
incomplete, and so the dependencies were never installed by pkg_add -r.
I would imagine a similar race condition could be affecting pkgng as
well. I just haven't had time to troubleshoot it very far, and the above
seemed to alleviate the issue.


# By default MAKE_JOBS is disabled to allow only one process per cpu
# Use the following to allow it anyway
ALLOW_MAKE_JOBS=yes

This one enabled was the reason behind it, disabling it and rebuilding 
the whole repo fixed it. I've left PARALLEL_JOBS to default, # of core's.


Thanks for the pointer,
Andrei
___
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: databases/mysql55 to databases/mariadb

2013-03-30 Thread Andrei Brezan

On 03/28/13 19:05, Michael Powell wrote:

Andrei Brezan wrote:


Hello list,

Is there a make.conf option that I can use to replace
mysql55-[server,client] with mariadb55-[server,client] or i need to use
for example pkg set -o
databases/mysql55-client:databases/mariadb55-client?

What happens if I want to use one port with mysql dependency and another
one with mariadb as dependency? This is just a theoretical question, I
don't have such a requirement, yet.

All this is on 9.1-RELEASE but I think applies to different versions too.

  
Look at: /usr/ports/Mk/bsd.database.mk I only perused it briefly, but I

think you want something such as MYSQL_VER=55m.  The 'm', or 'p' suffix
switches to either MariaDB or PostgreSQL if I understand correctly.

At any rate, this is the file that controls this. If it doesn't work
(possibly I've got it wrong), I'd suggest a PR to get it added in.

-Mike


Hi Mike,

Why I'm trying to put this in make.conf is for poudriere to build a 
local repo. It seems that I needed to add WITH_MYSQL_VER=55m for eg 
security/amavisd-new to grab maria instead of my.

Also what i've noticed is that 'p' as a suffix is for percona.

Thanks for the tip,
Andrei
___
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


databases/mysql55 to databases/mariadb

2013-03-28 Thread Andrei Brezan

Hello list,

Is there a make.conf option that I can use to replace 
mysql55-[server,client] with mariadb55-[server,client] or i need to use 
for example pkg set -o databases/mysql55-client:databases/mariadb55-client?


What happens if I want to use one port with mysql dependency and another 
one with mariadb as dependency? This is just a theoretical question, I 
don't have such a requirement, yet.


All this is on 9.1-RELEASE but I think applies to different versions too.

Thank you,
Andrei Brezan
___
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: pkgng package repository tracking security updates

2013-01-14 Thread Andrei Brezan

On 1/14/2013 1:07 PM, n j wrote:

Hi,

One of my primary concerns when managing a system is its security. In the
interest of security, I usually hold to that patch early, patch often.
Ports are kept well up-to-date and with portmaster it is not a problem to
keep updating the ports. However, as Ivan [1] pointed out on his blog on
pkgng:

Having source-based ports is all fine and well but all that time compiling
ports is subtracted from the time the server(s) would perform some actually
useful work. After all, servers exist to do some work, not to be waited on
while compiling. The same goes for me: I don't want to wait for ports
anymore.

I don't want to wait for compilation too, especially on large ports and
weak hardware, and do it often to stay on top of security vulnerabilities.
For that reason I look forward to binary packages.

So, my question regarding pkgng is not really about the tool itself, but
rather what will be provided via official repositories. One of the problems
with the old pkg_* tools was that packages for a lot of software didn't
exist and for those that did exist they weren't updated when
vulnerabilities were discovered and patched upstream (and in ports). Is
this going to improve with pkgng repositories, will there be a, say,
-SECURITY repository that will build the new version of packages at least
as often as security vulnerabilities are fixed in ports?

[1] http://ivoras.net/blog/tree/2012-08-31.using-pkgng-in-real-life.html

Regards,

Hi Nino,

I thing that it's good to wait for ports to compile and to be able to 
chose your configure options for the packages you install. It's good to 
know what options you need and what options you don't and why, that's 
one of the reasons why i'm using FreeBSD. I feel that the goal for pkgng 
is that you can install your locally built binary packages in a 
tinderbox on all your infrastructure so you don't have to compile every 
port on every server. IIRC it was considered too cumbersome to compile 
all the ports tree for all the architectures supported and provide the 
so called official binary repositories.


Regards,
Andrei
___
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


Which ports tree through svn?

2013-01-09 Thread Andrei Brezan

Hello list,

I'm using:
FreeBSD myhost.mydomain.com 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: 
Tue Jun 12 02:52:29 UTC 2012 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


I want/need to use svn for my ports tree mainly because I need to 
downgrade ports. There is portdowngrade in the ports tree but that 
relies on cvs which is no longer available. The only way that I'm able 
to do this now is with svn log and svn up -r to the revision needed so I 
get the version that I need in the port.


My problem is what do i need to checkout in the first place for 9.0-RELEASE?
svn co svn://svn.freebsd.org/ports/head /usr/ports or svn co 
snv://svn.freebsd.org/tags/RELEASE_9_0_0 /usr/ports?


The first one seems to be up to date but the latter has for eg apache 
version 2.2.21 from 2011; I presume from the portfreeze before 9 was 
released.


Maybe there are any means to downgrade ports while using portsnap that 
I'm not aware of.


Thank you,
Andrei
___
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: VBox network boot

2012-02-29 Thread Andrei Brezan

On 29/02/2012 01:08, Da Rock wrote:

On 02/29/12 03:04, Carl Johnson wrote:

Warren Blockwbl...@wonkity.com  writes:


On Tue, 28 Feb 2012, Da Rock wrote:


I'm starting to believe this dog won't hunt (in fact is dead,
bloated, and full of worms...); but has anyone got a solution for
network booting in VBox on FBSD host?

To PXE-boot a VM guest, set networking to to Bridged and use the
PCnet-PCI II (Am79C970A) adapter type.  If the host is FreeBSD, the
vboxnet kernel module has to be loaded.

Please emphasize that the PCnet-PCI II card emulation is necessary.  I
was trying the Intel emulation and making no progress.  I then noticed
your page and tried the PCnet-PCI II card and it started working.  I
would guess that means their Intel card emulation is incomplete.
I took it for granted the bridge part (I usually use it anyway), but I 
would never have guessed the PCnet card in a blue fit! There was even 
a PR on virtualbox for the issue of the lack of PXE with Oracle 
basically saying too bad, so sad Apparently PXE licensing didn't 
allow them to distribute it directly, but offer an extension pack 
(which doesn't work on FBSD) instead. Ergo my conclusion. Apparently 
(based on this thread) it only affects intel cards though...


Where is your page Warren, and why didn't it show up in my searches? 
;) I'll follow it from here on out I think...


Thanks guys... saved me a lot more fussing!
___
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

Hi all,

You can also look at https://www.virtualbox.org/wiki/Downloads and 
https://www.virtualbox.org/manual/ch01.html#intro-installing for info 
related to the extension pack where you can find the PXE boot ROM for 
the Intel E1000 cards, unfortunately it's PUEL, virtualbox on FBSD is 
OSE. My worst case scenario was with a custom linux kernel on the guest 
that didn't had drivers for Amd cards, I had to do something like this:


NIC 1:   MAC: 0800276F42C6, Attachment: Bridged Interface 
'bridge0', Cable connected: on, Trace: off (file: none), Type: 
Am79C970A, Reported speed: 0 Mbps, Boot priority: 0
NIC 2:   MAC: 0800276F42C6, Attachment: Bridged Interface 
'bridge0', Cable connected: on, Trace: off (file: none), Type: 82540EM, 
Reported speed: 0 Mbps, Boot priority: 0


Regards,

--
Andrei Brezan
emailandrei693 [at] gmail.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: ISC dhcp server

2011-10-18 Thread Andrei Brezan

On 10/18/2011 9:08 AM, Erik Nørgaard wrote:

On 18/10/2011 08:38, n dhert wrote:

isc-dhcp31-server was removes from the ports. The Freebsd Handbook still
refers to it...
Can a /usr/local/etc/dhcpd.conf configuration file from
isc-dhcp31-server,
without changealso be used in isc-dhcp42-4.2.2 ?


I think so, I use dhcp 4.1 and didn't change my 3.1 configfile.

BR, Erik


I've also used the old conf file from 3.1 with 4.2 without any issues.

Regards,
Andrei

___
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: Trying to build Nessus 4 from ports

2011-09-24 Thread Andrei Brezan

On 23/09/2011 23:31, Michael D. Norwick wrote:

Good Day

Trying to build /usr/ports/security/nessus on FreeBSD 9-beta2 with 
ports updated via - portsnap fetch update - completed 09/22/2011.  The 
result from #make;


===  Applying FreeBSD patches for nessus-libraries-2.2.9_1
===   nessus-libraries-2.2.9_1 depends on executable: bison - found
===   nessus-libraries-2.2.9_1 depends on package: libtool=2.4 - found
===  Configuring for nessus-libraries-2.2.9_1

*   W a r n i n g  *
*  *
* Nessus needs Berkeley Packet Filter (bpf).   *
* To use nessus, your kernel must be rebuilt with bpf, *
* and make bpf devices on /dev directory.  *
*  *
* Be sure to build as many bpf devices as you need.*
* For more info on this read files/README.BPF  *

*** Error code 1

Stop in /usr/ports/security/nessus-libraries.
*** Error code 1

Stop in /usr/ports/security/nessus-libnasl.
*** Error code 1

Stop in /usr/ports/security/nessus.

From an earlier post on freebsd-questions I added;

# Historically X depended on this, but version 4.3.0 doesn't seem to 
anymore

#linkttyv0vga

# Commonly used by many ports
#linkacd0cdrom

# Allow a user in the wheel group to query the smb0 device
#permsmb00660

# Allow members of group operator to cat things to the speaker
#ownspeakerroot:operator
#permspeaker0660

own bpf0root:bpf
permbpf00640
own bpf1root:bpf
permbpf10640
own bpf2root:bpf
permbpf20640
ownbpf3root:bpf
permbpf30640
ownbpf4root:bpf
permbpf40640

to /etc/devfs.conf.  But I still get;

crw-r-  1 root  bpf 0,  11 Sep 22 21:14 bpf
lrwxr-xr-x  1 root  wheel3 Sep 22 21:14 bpf0 - bpf
crw-rw-rw-  1 root  wheel   0,  49 Sep 22 21:14 bpsm0

in /dev after rebooting.  Do I require a statement in rc.conf or 
loader.conf to activate more bpf devices?  Am I editing the right file 
the wrong way?  The proper handbook chapter escapes me right now.


Previous to trying to build nessus from ports I built a new kernel 
with - device  bpf enabled.


Thank You,
Michael


___
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


I would suggest to get the package from tenable.com and install it via 
pkg_add. That's how it worked for me but on FreeBSD 8.2-stable. Might 
worth a shot.


Regards,

--
Andrei Brezan
emailandrei693 [at] gmail.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: copying hard drives

2011-06-10 Thread Andrei Brezan

On 10/06/2011 21:11, David Banning wrote:

I am interested in copying hard drives and would like some feedback.

1. I would like a way to take peoples windows -or- unix systems and
store each on portable hard drive as a single file - so that in the
end I have a large, say 2TB drive with a number of peoples operating
system backed up - that can later be restored.

One concern I have is that the file saved is under a certain generic
standard - I don't want to be in a situation down the road where I
need to restore, but the required software to restore is defunct.
It would be nice to have the operating system on a stick - so I
could boot into the program from a clients computer, connect a large
drive, and backup their entire drive.

2. I'd like a simple way to copy - my FreeBSD system to another
drive - a clone so to speak - which I know dd can do - but I wonder
if there is a way to do this so that clone drive can be smaller that
the original. My thinking here is that I need to experiment with
changes but can't do it on a live system - hence the copy booted
from a separate machine.
___
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

Hi,

Though it's not a FreeBSD related question, I would suggest clonezilla 
http://www.clonezilla.org/ as a good tool to accomplish your goals. I 
think it's also scriptable.


Regards,

--
Andrei Brezan
emailandrei693 [at] gmail.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


How to overwrite openssl base with the one from ports?

2010-01-15 Thread Andrei Brezan
Hello list,

I seem to have some problems overwriting openssl base. I have tried
building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no success.

After i run:
make OPENSSL_OVERWRITE_BASE=YES install clean
i get the port installed in /usr/local/bin and lib ok, but i'm left with
openssl in /usr/bin and lib too. Do i have to make
buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not
to have openssl from base and then install it from port ?
___
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: How to overwrite openssl base with the one from ports?

2010-01-15 Thread Andrei Brezan
Matthew Seaman wrote:
 Andrei Brezan wrote:
 Hello list,

 I seem to have some problems overwriting openssl base. I have tried
 building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no
 success.

 After i run:
 make OPENSSL_OVERWRITE_BASE=YES install clean
 i get the port installed in /usr/local/bin and lib ok, but i'm left with
 openssl in /usr/bin and lib too. Do i have to make
 buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not
 to have openssl from base and then install it from port ?
 
 There's no such option as 'OPENSSL_OVERWRITE_BASE' in a current ports
 tree[*].  There is only
 
 WITH_OPENSSL_BASE=yes
 
 which means link any ports against the version of the OpenSSL libs
 installed by the base system, or
 
 WITH_OPENSSL_PORTS=yes
 
 which means link any ports against the version of OpenSSL installed
 from ports.  Applications that use SSL in the base system are always
 linked against the base system version of OpenSSL, and the ports system
 will throw an exception if you say 'WITH_OPENSSL_PORTS' but the ABI
 version number of the shlibs in the base system is greater than the ones
 from the ports.  So defining WITHOUT_OPENSSL in /etc/src.conf[+] is not
 advisable either.
 
 Cheers,
 
 Matthew
 
 [*] Despite its appearance in the mail/dkim-milter and mail/dk-milter
 ports.  That's a bug.  It won't do anything.
 
 [+] Assuming you're running 7.x or later.
 

Thank you, will use then WITH_OPENSSL_PORTS when needed.
You were right in assuming 7.x or later.

Regards,

Andrei
___
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


amavisd-new status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once) in maillog issue

2009-09-11 Thread Andrei Brezan
Hello list,

I have a strange behaviour from my postfix config using amavisd-new with
clamav. I have 4 messages in queue all deffered with the same problem:
lost connection with 127.0.0.1.

This is what i get from amavisd with log_level=5 in debug.log:

*snip*
Sep 11 14:15:47 mail amavis[46602]: (46602-01) run_command: [47011]
/usr/local/bin/file p001 p002 p003 /dev/null 21
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd0 closing, to become  /dev/null
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd1 closing, to become  =15
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd1 dup2 from fd15  =15
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
source fd15 closed
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd2 closing, to become  1
Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
target fd2 dup2 from fd1  1
Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
p001: ASCII news text\n
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(ASCII news
text) matches key (?i-xsm:^(ASCII|text)\b), result=asc
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
[map_full_type_to_short_type] = true,  ASCII news text matches,
result=asc, matching_key=(?i-xsm:^(ASCII|text)\\b)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p001: ASCII
news text; (asc)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
p002: Microsoft Office Document Microsoft Word Document\n
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(Microsoft
Office Document Microsoft Word Document) matches key
(?i-xsm:^Microsoft Office Document\b), result=doc
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
[map_full_type_to_short_type] = true,  Microsoft Office Document
Microsoft Word Document matches, result=doc,
matching_key=(?i-xsm:^Microsoft Office Document\\b)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p002:
Microsoft Office Document Microsoft Word Document; (doc)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
p003: Microsoft Office Document Microsoft Word Document\n
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(Microsoft
Office Document Microsoft Word Document) matches key
(?i-xsm:^Microsoft Office Document\b), result=doc
Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
[map_full_type_to_short_type] = true,  Microsoft Office Document
Microsoft Word Document matches, result=doc,
matching_key=(?i-xsm:^Microsoft Office Document\\b)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p003:
Microsoft Office Document Microsoft Word Document; (doc)
Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Decoding part p001
Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Setting
sigaction handler, was 0
Sep 11 14:15:47 mail amavis[46602]: (46602-01) timer set to 320 s (was
480 s)
Sep 11 14:15:47 mail amavis[46593]: Net::Server: Starting 1 children
Sep 11 14:15:47 mail amavis[47012]: Net::Server: Child Preforked (47012)
Sep 11 14:15:47 mail amavis[47012]: entered child_init_hook
Sep 11 14:15:47 mail amavis[47012]: SpamControl: init_child on
SpamAssassin done

And at ~ the same time i get:
pid 46602 (perl), uid 106: exited on signal 11.

Don't know what to do with those 4 messages and why they are stuck in
queue. I've tried sendig other messages and they get delivered ok.

If someone can elighten me pls do so.

Thank you.
___
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: [SOLVED] amavisd-new status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once) in maillog issue

2009-09-11 Thread Andrei Brezan
Andrei Brezan wrote:
 Hello list,
 
 I have a strange behaviour from my postfix config using amavisd-new with
 clamav. I have 4 messages in queue all deffered with the same problem:
 lost connection with 127.0.0.1.
 
 This is what i get from amavisd with log_level=5 in debug.log:
 
 *snip*
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) run_command: [47011]
 /usr/local/bin/file p001 p002 p003 /dev/null 21
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd0 closing, to become  /dev/null
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd1 closing, to become  =15
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd1 dup2 from fd15  =15
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 source fd15 closed
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd2 closing, to become  1
 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd:
 target fd2 dup2 from fd1  1
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
 p001: ASCII news text\n
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(ASCII news
 text) matches key (?i-xsm:^(ASCII|text)\b), result=asc
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
 [map_full_type_to_short_type] = true,  ASCII news text matches,
 result=asc, matching_key=(?i-xsm:^(ASCII|text)\\b)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p001: ASCII
 news text; (asc)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
 p002: Microsoft Office Document Microsoft Word Document\n
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(Microsoft
 Office Document Microsoft Word Document) matches key
 (?i-xsm:^Microsoft Office Document\b), result=doc
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
 [map_full_type_to_short_type] = true,  Microsoft Office Document
 Microsoft Word Document matches, result=doc,
 matching_key=(?i-xsm:^Microsoft Office Document\\b)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p002:
 Microsoft Office Document Microsoft Word Document; (doc)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1):
 p003: Microsoft Office Document Microsoft Word Document\n
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re(Microsoft
 Office Document Microsoft Word Document) matches key
 (?i-xsm:^Microsoft Office Document\b), result=doc
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup
 [map_full_type_to_short_type] = true,  Microsoft Office Document
 Microsoft Word Document matches, result=doc,
 matching_key=(?i-xsm:^Microsoft Office Document\\b)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p003:
 Microsoft Office Document Microsoft Word Document; (doc)
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Decoding part p001
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Setting
 sigaction handler, was 0
 Sep 11 14:15:47 mail amavis[46602]: (46602-01) timer set to 320 s (was
 480 s)
 Sep 11 14:15:47 mail amavis[46593]: Net::Server: Starting 1 children
 Sep 11 14:15:47 mail amavis[47012]: Net::Server: Child Preforked (47012)
 Sep 11 14:15:47 mail amavis[47012]: entered child_init_hook
 Sep 11 14:15:47 mail amavis[47012]: SpamControl: init_child on
 SpamAssassin done
 
 And at ~ the same time i get:
 pid 46602 (perl), uid 106: exited on signal 11.
 
 Don't know what to do with those 4 messages and why they are stuck in
 queue. I've tried sendig other messages and they get delivered ok.
 
 If someone can elighten me pls do so.
 
 Thank you.
 

After googling around a bit more i found out that is something related
to uulib code. All i had to do is comment out the entries with do_ascii
in amavisd.conf.

Here's the post where i found this:

http://www.mail-archive.com/amavis-u...@lists.sourceforge.net/msg14374.html

P.S. Sorry about the noise and too long subj :)
___
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: csup vs freebsd-update

2009-04-14 Thread Andrei Brezan
Adam Vande More wrote:
 Andrei Brezan wrote:
 Hi all,

 I have a strange problem with csup and freebsd-update. I'm using
 7.0-RELEASE-p11. If i do:

 # freebsd-update fetch
 Looking up update.FreeBSD.org mirrors... 2 mirrors found.
 Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org...
 done.
 Fetching metadata index... done.
 Inspecting system... done.
 Preparing to download files... done.

 No updates needed to update system to 7.0-RELEASE-p11.

 All seems ok, i'm up to date.

 But if i do:
 # csup -L 2 ./standard-supfile
 Parsing supfile ./standard-supfile
 Connecting to cvsup.hu.FreeBSD.org
 Connected to 193.6.222.7
 Server software version: SNAP_16_1h
 Negotiating file attribute support
 Exchanging collection information
 Establishing multiplexed-mode data connection
 Running
 Updating collection src-all/cvs
  Checkout src/contrib/lukemftpd/src/ftpd.c
  Checkout src/contrib/telnet/telnetd/sys_term.c
  Checkout src/libexec/ftpd/extern.h
  Checkout src/libexec/ftpd/ftpcmd.y
  Checkout src/libexec/ftpd/ftpd.c
  Checkout src/sys/amd64/amd64/exception.S
  Checkout src/sys/conf/newvers.sh
  Checkout src/sys/dev/random/randomdev.c
  Checkout src/sys/dev/random/randomdev_soft.c
  Checkout src/sys/kern/kern_environment.c
  Checkout src/sys/kern/kern_time.c
  Checkout src/sys/kern/uipc_domain.c
  Checkout src/sys/kern/vfs_mount.c
  Checkout src/sys/netinet/tcp.h
  Checkout src/sys/netinet/tcp_output.c
  Checkout src/sys/netinet6/icmp6.c
  Checkout src/sys/netinet6/in6.h
  Checkout src/sys/netinet6/in6_proto.c
  Checkout src/sys/netinet6/nd6.h
  Checkout src/sys/netinet6/nd6_nbr.c
 Shutting down connection to server
 Finished successfully

 ./standard supfile is:
 *default host=cvsup.hu.FreeBSD.org
 *default base=/var/db
 *default prefix=/usr

 *default release=cvs tag=RELENG_7_0
 *default delete use-rel-suffix

 *default compress

 src-all


 If i do again a freebsd-update i get:
 # freebsd-update fetch install
 Looking up update.FreeBSD.org mirrors... 2 mirrors found.
 Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org...
 done.
 Fetching metadata index... done.
 Inspecting system... done.
 Preparing to download files... done.

 The following files will be updated as part of updating to
 7.0-RELEASE-p11:
 /usr/src/contrib/lukemftpd/src/ftpd.c
 /usr/src/contrib/telnet/telnetd/sys_term.c
 /usr/src/libexec/ftpd/extern.h
 /usr/src/libexec/ftpd/ftpcmd.y
 /usr/src/libexec/ftpd/ftpd.c
 /usr/src/sys/amd64/amd64/exception.S
 /usr/src/sys/conf/newvers.sh
 /usr/src/sys/dev/random/randomdev.c
 /usr/src/sys/dev/random/randomdev_soft.c
 /usr/src/sys/kern/kern_environment.c
 /usr/src/sys/kern/kern_time.c
 /usr/src/sys/kern/uipc_domain.c
 /usr/src/sys/kern/vfs_mount.c
 /usr/src/sys/netinet/tcp.h
 /usr/src/sys/netinet/tcp_output.c
 /usr/src/sys/netinet6/icmp6.c
 /usr/src/sys/netinet6/in6.h
 /usr/src/sys/netinet6/in6_proto.c
 /usr/src/sys/netinet6/nd6.h
 /usr/src/sys/netinet6/nd6_nbr.c
 Installing updates... done.


 I know freebs-update is getting the correct files for release 7.0, but i
 don't understand where i go wrong with csup. If anyone can point the
 obvious that i can't see here please do.

 Thank you,
   
 I'm not entirely clear what you're trying to do, but freebsd-update is a
 binary upgrade utility and cvsup is source based.  perhaps csup is
 borking w/ how freebsd-update is verifying the files to update. 
 however, you should use one or the other not both.  I only use csup when
 doing a major upgrade eg 7.0 - 7.1 and doing a buildworld. 
 freebsd-update keeps me up to date on latest patchset.
 

I'm not doing this on a regular basis, i'm using freebsd-update for
updates and csup for version changes also. But i thought that csup with
tag=RELENG_7_0 should keep me up to date with sources too.

-- 
Andrei Brezan
310280 Arad - Romania
mobile +40 740 089 315
email andrei [at] bsoft-company.ro
www http://www.bsoft-company.ro/
___
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


csup vs freebsd-update

2009-04-11 Thread Andrei Brezan
Hi all,

I have a strange problem with csup and freebsd-update. I'm using
7.0-RELEASE-p11. If i do:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.0-RELEASE-p11.

All seems ok, i'm up to date.

But if i do:
# csup -L 2 ./standard-supfile
Parsing supfile ./standard-supfile
Connecting to cvsup.hu.FreeBSD.org
Connected to 193.6.222.7
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/contrib/lukemftpd/src/ftpd.c
 Checkout src/contrib/telnet/telnetd/sys_term.c
 Checkout src/libexec/ftpd/extern.h
 Checkout src/libexec/ftpd/ftpcmd.y
 Checkout src/libexec/ftpd/ftpd.c
 Checkout src/sys/amd64/amd64/exception.S
 Checkout src/sys/conf/newvers.sh
 Checkout src/sys/dev/random/randomdev.c
 Checkout src/sys/dev/random/randomdev_soft.c
 Checkout src/sys/kern/kern_environment.c
 Checkout src/sys/kern/kern_time.c
 Checkout src/sys/kern/uipc_domain.c
 Checkout src/sys/kern/vfs_mount.c
 Checkout src/sys/netinet/tcp.h
 Checkout src/sys/netinet/tcp_output.c
 Checkout src/sys/netinet6/icmp6.c
 Checkout src/sys/netinet6/in6.h
 Checkout src/sys/netinet6/in6_proto.c
 Checkout src/sys/netinet6/nd6.h
 Checkout src/sys/netinet6/nd6_nbr.c
Shutting down connection to server
Finished successfully

./standard supfile is:
*default host=cvsup.hu.FreeBSD.org
*default base=/var/db
*default prefix=/usr

*default release=cvs tag=RELENG_7_0
*default delete use-rel-suffix

*default compress

src-all


If i do again a freebsd-update i get:
# freebsd-update fetch install
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 7.0-RELEASE-p11:
/usr/src/contrib/lukemftpd/src/ftpd.c
/usr/src/contrib/telnet/telnetd/sys_term.c
/usr/src/libexec/ftpd/extern.h
/usr/src/libexec/ftpd/ftpcmd.y
/usr/src/libexec/ftpd/ftpd.c
/usr/src/sys/amd64/amd64/exception.S
/usr/src/sys/conf/newvers.sh
/usr/src/sys/dev/random/randomdev.c
/usr/src/sys/dev/random/randomdev_soft.c
/usr/src/sys/kern/kern_environment.c
/usr/src/sys/kern/kern_time.c
/usr/src/sys/kern/uipc_domain.c
/usr/src/sys/kern/vfs_mount.c
/usr/src/sys/netinet/tcp.h
/usr/src/sys/netinet/tcp_output.c
/usr/src/sys/netinet6/icmp6.c
/usr/src/sys/netinet6/in6.h
/usr/src/sys/netinet6/in6_proto.c
/usr/src/sys/netinet6/nd6.h
/usr/src/sys/netinet6/nd6_nbr.c
Installing updates... done.


I know freebs-update is getting the correct files for release 7.0, but i
don't understand where i go wrong with csup. If anyone can point the
obvious that i can't see here please do.

Thank you,
-- 
Andrei Brezan
310280 Arad - Romania
mobile +40 740 089 315
email and...@bsoft-company.ro
www http://www.bsoft-company.ro/
___
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


Odd problem with DNS and IP change.

2009-02-28 Thread Andrei Brezan
Hello list,

I have a strange problem and I don't know what to relate it to. My ISP
changed my IP from (eg) 10.1.1.1 to 15.1.1.1. I have changed my zone
files to reflect that change.

dig -t mx domain.com results in mail.domain.com 3600 IN A 15.1.1.1
(the new ip). However when i try:

ping mail.domain.com it tries to get to 10.1.1.1 the old ip and gets
time to live exceeded fro an ip along the route. When i try to ping
domain.com it gets all ok as it pings the new ip. I've also tried dig
@(forwarders in named.conf) and they to got the correct mx dns entry for
domain.com.
In rc.conf i have hostname=mail.domain.com (eg), i haven't changed
it, i'm thinking it's something related to hostid or hostuid but i don't
know where to search for this topic.
If anyone has a clue what to try or where to look upon this behavior
please shed some light.

Thank you.


-- 
Andrei Brezan
310280 Arad - Romania
mobile +40 740 089 315
email andrei [at] bsoft-company.ro
www http://www.bsoft-company.ro/
___
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: Odd problem with DNS and IP change.

2009-02-28 Thread Andrei Brezan
Andrei Brezan wrote:
 Hello list,
 
   I have a strange problem and I don't know what to relate it to. My ISP
 changed my IP from (eg) 10.1.1.1 to 15.1.1.1. I have changed my zone
 files to reflect that change.
 
 dig -t mx domain.com results in mail.domain.com 3600 IN A 15.1.1.1
 (the new ip). However when i try:
 
 ping mail.domain.com it tries to get to 10.1.1.1 the old ip and gets
 time to live exceeded fro an ip along the route. When i try to ping
 domain.com it gets all ok as it pings the new ip. I've also tried dig
 @(forwarders in named.conf) and they to got the correct mx dns entry for
 domain.com.
   In rc.conf i have hostname=mail.domain.com (eg), i haven't changed
 it, i'm thinking it's something related to hostid or hostuid but i don't
 know where to search for this topic.
   If anyone has a clue what to try or where to look upon this behavior
 please shed some light.
 
 Thank you.
 
 

Disregard my noise. It was a file called hosts in /etc, changed there
the ip for mail.domain.com and now ping works ok.
Sorry about that.

-- 
Andrei Brezan
310280 Arad - Romania
mobile +40 740 089 315
email andrei [at] bsoft-company.ro
www http://www.bsoft-company.ro/
___
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


mysqldump no match issue

2008-10-02 Thread Andrei Brezan
Hello list,

I wanna do a
mysqldump -u user -ppasswd --all-databases  backup.sql

and all I get is
mysqldump: No match.

This happens either i put --all-databases or I specify any of the
databases. I want to do a backup as user root, that's why I use
all-databases opt.

If I use the command:
mysqldump -u root -p --all-databases backup.sql
I get the password prompt, I type the passwd and everythig works great.
It seems that there is a problem with -p, i've tried --password with
same result.

If anyone has any ideea please let me know about it.
I mention that i use Freebsd 7_0 and mysql 5.0.67

Thank you

-- 
Andrei Brezan
310280 Arad - Romania
mobile +40 740 089 315
email [EMAIL PROTECTED]
www http://www.bsoft-company.ro/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mysqldump password issue

2008-10-02 Thread Andrei Brezan
Hello list,

I wanna do a
mysqldump -u user -ppasswd --all-databases  backup.sql

and all I get is
mysqldump: No match.

This happens either i put --all-databases or I specify any of the
databases. I want to do a backup as user root, that's why I use
all-databases opt.

If I use the command:
mysqldump -u root -p --all-databases backup.sql
I get the password prompt, I type the passwd and everythig works great.
It seems that there is a problem with -p, i've tried --password with
same result.

If anyone has any ideea please let me know about it.
I mention that i use Freebsd 7_0 and mysql 5.0.67

Thank you


-- 
Andrei Brezan
310280 Arad - Romania
mobile +40 740 089 315
email [EMAIL PROTECTED]
www http://www.bsoft-company.ro/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mysqldump password issue

2008-10-02 Thread Andrei Brezan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matthew Seaman wrote:
 Andrei Brezan wrote:
 Hello list,

 I wanna do a
 mysqldump -u user -ppasswd --all-databases  backup.sql

 and all I get is
 mysqldump: No match.

 This happens either i put --all-databases or I specify any of the
 databases. I want to do a backup as user root, that's why I use
 all-databases opt.

 If I use the command:
 mysqldump -u root -p --all-databases backup.sql
 I get the password prompt, I type the passwd and everythig works great.
 It seems that there is a problem with -p, i've tried --password with
 same result.

 If anyone has any ideea please let me know about it.
 I mention that i use Freebsd 7_0 and mysql 5.0.67

 
 My guess is that the password (which you've obviously elided) contains
 characters of syntactic significance to the shell.  Any of the following
 will lead to wailing and gnashing of teeth:
 
  * ? [; ! | $
 
 Probably others as well.  The general way to get round this is to
 put 'quote' marks around your password -- but this will only work if
 the password is a separate word on the command line -- ie. whitespace
 between it and any other tokens.  I believe that the '-p' flag to MySQL
 is a bit painful in that regard as it doesn't allow whitespace between
 itself and the password.  Hmmm... untested, but it should work if you
 just quote around the -p like so: '-ppassword'.
 
 Alternatively, just change the password to one containing less
 troublesome characters: a-zA-Z0-9:@#~+=-_^%., I recommend use of
 'apg' to generate randomised but strangely memorable passwords.  Oh,
 and simply making the password longer makes it much more secure even
 if you're limited to a relatively small alphabet.
 
 Cheers,
 
 Matthew
 

Thank you Matthew, you were right. My password contains special
characters. It works now with '-ppasswd' or with --password='passwd'


- --
Andrei Brezan
310280 Arad - Romania
mobile +40 740 089 315
email [EMAIL PROTECTED]
www http://www.bsoft-company.ro/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjlLAwACgkQUmw8msqk48YKugCfasoH9/cfo/xgss7wmuAIlnK6
xS8An0idODUSkUnwKLlRKYKqoCQ5Cy3P
=UQ5J
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow internet conection with FreeBSD (PPPoE)

2008-06-26 Thread Andrei Brezan

Derek Ragona wrote:

At 01:17 PM 6/25/2008, Andrei Brezan wrote:

Hello list :)

I have a problem with my so called server, i'm using FreeBSD 
7.0-RELEASE. I connect to it trough ssh because i'm not in that 
location. Everything is ok i'm using /usr/sbin/ppp to connect to the 
internet as i have a pppoe account with static ip from my ISP. The 
problem is that on the FreeBSD box i have download/upload speeds 
between 30k/s and 150k/s wich is really low. I've checked with a 
laptop(windows) at that location and i got a download/upload speed 
~6MB/s (advertised by the ISP), so it's a really big difference.


Here's my ppp.conf file:

default:
set log Phase

rds:
set device PPPoE:rl0:
set mtu 1492
set mru 1492
set speed sync
set authname 
set authkey **
disable ipv6cp
add! default HISADDR

I've tried to play with several options here as:
disable acfcomp protocomp
deny acfcomp
but with no result. Everything is ok except the speed. If there is 
anyone who can at least point me in the right direction please do so.


P.S. I have to mention that i use pf as firewall but even with pfctl 
-d i get nowhere.


Thanks in advace ...

--
Andrei Brezan
310280 Arad - Romania
email [EMAIL PROTECTED]


I would first try replacing the ethernet with a better one.  You's has a 
realtek which is about the worst.  It is a cheap and easy thing to try.


-Derek

--
This message has been scanned for viruses and
dangerous content by *MailScanner* http://www.mailscanner.info/, and is
believed to be clean.


Thank you for your reply. You were right, wasn't ppp related, changed 
the nic and no goes with 5~6MB/s.


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


Slow internet conection with FreeBSD (PPPoE)

2008-06-25 Thread Andrei Brezan

Hello list :)

I have a problem with my so called server, i'm using FreeBSD 
7.0-RELEASE. I connect to it trough ssh because i'm not in that 
location. Everything is ok i'm using /usr/sbin/ppp to connect to the 
internet as i have a pppoe account with static ip from my ISP. The 
problem is that on the FreeBSD box i have download/upload speeds between 
30k/s and 150k/s wich is really low. I've checked with a laptop(windows) 
at that location and i got a download/upload speed ~6MB/s (advertised by 
the ISP), so it's a really big difference.


Here's my ppp.conf file:

default:
set log Phase

rds:
set device PPPoE:rl0:
set mtu 1492
set mru 1492
set speed sync
set authname 
set authkey **
disable ipv6cp
add! default HISADDR

I've tried to play with several options here as:
disable acfcomp protocomp
deny acfcomp
but with no result. Everything is ok except the speed. If there is 
anyone who can at least point me in the right direction please do so.


P.S. I have to mention that i use pf as firewall but even with pfctl -d 
i get nowhere.


Thanks in advace ...

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