Re: is there a utillity...?

2010-11-02 Thread Adam Vande More
On Wed, Nov 3, 2010 at 1:36 AM, Bas Smeelen  wrote:

> Or in Gnome put the system monitor thing on a panel
> I used to use vnstat for this on servers
> Path:/usr/ports/net/vnstat
> Info:A console-based network traffic monitor
>

If you want to avoid proc, try

net-mgmt/iftop
or
net/trafshow

I prefer trafshow, but haven't tried vnstat.

-- 
Adam Vande More
___
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: mount_smbfs problem after upgrade Samba 3.4 -> 3.5

2010-11-02 Thread Per olof Ljungmark
On 11/03/10 00:04, Bartosz Stec wrote:
> 
>> Hi,
> Hello!
>> I'm doing a major overhaul of our Samba servers including an upgrade to
>> the latest port version, 3.5.6. I'm getting most things in place but a
>> remaining problem is that I cannot any longer use mount_smbfs:
>>
>> mount_smbfs -I 192.168.1.8 //peo at mars 
>> /inter
>> /home/mnt
>> Password:
>> mount_smbfs: unable to open connection: syserr = Authentication error
>>
>> Samba server log says:
>> mbd/sesssetup.c:1703(reply_sesssetup_and_X)
>> reply_sesssetup_and_X:  Attempted encrypted session setup without
>> negprot denied!
>>
>>
>> smbclient works fine and so does connecting to the shares from Windows
>> and Konqerour like "smb://192.168.1.8/".  
>>
>> Anybody on the list with enough knowledge of Samba that could take a
>> shot at this? Apparently something changed between version 3.4 and 3.5
>> of Samba.
> My knowledge about Samba is limited at best, but it seems that I found
> possible couse and working override (solution?). Check this PR:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=151887
> If this fixes your problem too, please submit followup - more
> information port maintainer gets, less time he's gonna need to fix this.
> 

Yes, it fixed my problem. Submitting followup, thanks.
___
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: is there a utillity...?

2010-11-02 Thread Bas Smeelen
On 11/03/2010 06:55 AM, Dan Nelson wrote:
> In the last episode (Nov 02), Gary Kline said:
>> On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
>>> On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
googling around and trying things.  So far, not much.  ---It occured
that I _might_ be geting the full thru-put; that it is data that is
flowing in via the background that stalls things.  (I have just shut
off the automated flow.)
>>> You can run "systat -if" to see how much bandwidth is being used by the
>>> computer.  At 1M you should see around 120KB/s downlink.
>> Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
>> or histogram?
> Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> gives you little network histograms for each interface, but they're little :)
Or in Gnome put the system monitor thing on a panel
I used to use vnstat for this on servers
Path:/usr/ports/net/vnstat
Info:A console-based network traffic monitor


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: is there a utillity...?

2010-11-02 Thread Bas Smeelen
On 11/03/2010 06:55 AM, Dan Nelson wrote:
> In the last episode (Nov 02), Gary Kline said:
>> On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
>>> On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
googling around and trying things.  So far, not much.  ---It occured
that I _might_ be geting the full thru-put; that it is data that is
flowing in via the background that stalls things.  (I have just shut
off the automated flow.)
>>> You can run "systat -if" to see how much bandwidth is being used by the
>>> computer.  At 1M you should see around 120KB/s downlink.
>> Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
>> or histogram?
> Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
> activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
> gives you little network histograms for each interface, but they're little :)
>
You could setup mrtg and snmp to graph the network bandwidth usage and
integrate it in your website


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: is there a utillity...?

2010-11-02 Thread Dan Nelson
In the last episode (Nov 02), Gary Kline said:
> On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> > On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
> > >   The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
> > >   googling around and trying things.  So far, not much.  ---It occured
> > >   that I _might_ be geting the full thru-put; that it is data that is
> > >   flowing in via the background that stalls things.  (I have just shut
> > >   off the automated flow.)
> > 
> > You can run "systat -if" to see how much bandwidth is being used by the
> > computer.  At 1M you should see around 120KB/s downlink.
> 
> Yes... outstanding.  Is there any sort of GUI app tat has this in a geaph
> or histogram?

Not a gui app, but I use "netstat -I em0 1" a lot to watch my network
activity.  Replace em0 with your nic device.  Gkrellm is a gui app that
gives you little network histograms for each interface, but they're little :)

-- 
Dan Nelson
dnel...@allantgroup.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: is there a utillity...?

2010-11-02 Thread Gary Kline
On Wed, Nov 03, 2010 at 01:44:37AM +, Bruce Cran wrote:
> On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
> > The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
> > googling around and trying things.  So far, not much.   ---It
> > occured that I _might_ be geting the full thru-put; that it is
> > data that is flowing in  via the background that stalls things.
> > (I have just shut off the automated flow.)
> 
> You can run "systat -if" to see how much bandwidth is being used by the 
> computer.  At 1M you should see around 120KB/s downlink.


Yes... outstanding.  Is there any sort of GUI app tat has this
in a geaph or histogram?

:-)

gary


> 
> -- 
> Bruce Cran
> ___
> 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"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
An Open Letter to Stephen Hawking http://www.thought.org/#oL

___
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: is there a utillity...?

2010-11-02 Thread Bruce Cran
On Wednesday 03 November 2010 01:17:00 Gary Kline wrote:
>   The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
>   googling around and trying things.  So far, not much.   ---It
>   occured that I _might_ be geting the full thru-put; that it is
>   data that is flowing in  via the background that stalls things.
>   (I have just shut off the automated flow.)

You can run "systat -if" to see how much bandwidth is being used by the 
computer.  At 1M you should see around 120KB/s downlink.

-- 
Bruce Cran
___
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: is there a utillity...?

2010-11-02 Thread Gary Kline
On Tue, Nov 02, 2010 at 08:50:03AM +, RW wrote:
> On Mon, 1 Nov 2010 20:42:06 -0700
> Gary Kline  wrote:
> 
> > People, is there a utility to give me the rate of bps that I am
> > _supposed_ to be getting from my telco DSL?
> 
> If your modem or router has some means of configuring it, typically via
> a browser, you can get usually get that information there. 


The Bps Down is supposed to me 1M.  Up is 864Kbps.  I spent hours
googling around and trying things.  So far, not much.   ---It
occured that I _might_ be geting the full thru-put; that it is
data that is flowing in  via the background that stalls things.
(I have just shut off the automated flow.)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
An Open Letter to Stephen Hawking http://www.thought.org/#oL

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


Re0 driver or hardware problem?

2010-11-02 Thread Gabor Radnai
Hi,

I have an Asus M2NPV-VM motherboard with integrated Nvidia MCP51 Gigabit
Ethernet NIC and
TP-Link TG-3468 PCIe network card which is basically using Realtek chip.

I have several problems:

1. There is a boot time menu for tp-link card which says it is a 8111b/8111c
but re driver supports
RTL8139C+, RTL8169, RTL8169S, RTL8110S, RTL8168S, RTL8111S and RTL8101E. Is
it correct using the re driver?
2. The Nvidia network interface is working properly but the other though it
seems recognized by OS I cannot use.
Sporadically it remains down and if it gets up then does not get ip address
via DHCP nor help if I set static ip address.
Can manipulate via ifconfig but unreachable via IP.

I replaced cable, interchanged cable working with Nvidia, restarted
switch/router but no luck so far.

And advise please?

Thanks,
Gabor

uname -v
FreeBSD 8.1-RELEASE #0 r210200M: Wed Jul 21 14:21:18 CEST 2010
r...@neo.vx.sk:/usr/obj/usr/src/sys/GENERIC

pciconf:
n...@pci0:0:20:0:class=0x068000 card=0x816a1043 chip=0x026910de rev=0xa3
hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'MCP51 Network Bus Enumerator'
class  = bridge
r...@pci0:1:0:0:class=0x02 card=0x816810ec chip=0x816810ec rev=0x01
hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)'
class  = network
subclass   = ethernet

rc.conf:
ifconfig_nfe0="inet 192.168.0.200 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
hostname="xxx"
ifconfig_re0="DHCP"

dmesg:
nfe0:  port 0xc800-0xc807 mem
0xfe02b000-0xfe02bfff irq 21 at device 20.0 on pci0
miibus1:  on nfe0
e1000phy0:  PHY 19 on miibus1
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
nfe0: Ethernet address: 00:1a:92:38:dc:95
nfe0: [FILTER]
re0:  port
0xac00-0xacff mem 0xfdbff000-0xfdbf irq 16 at device 0.0 on pci1
re0: Using 1 MSI messages
re0: Chip rev. 0x3800
re0: MAC rev. 0x
miibus0:  on re0
rgephy0:  PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
re0: Ethernet address: d8:5d:4c:80:b4:88
re0: [FILTER]
___
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: problems installing php (php5-spl) with portmaster

2010-11-02 Thread John R. Levine

is there a test i can run to see if my pcre is going to fail in any baffling
ways?


Just do a portupgrade on it to the current version, and it'll be find.

Regards,
John Levine, jo...@iecc.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. http://jl.ly
___
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: mount_smbfs problem after upgrade Samba 3.4 -> 3.5

2010-11-02 Thread Bartosz Stec



Hi,

Hello!

I'm doing a major overhaul of our Samba servers including an upgrade to
the latest port version, 3.5.6. I'm getting most things in place but a
remaining problem is that I cannot any longer use mount_smbfs:

mount_smbfs -I 192.168.1.8 //peo at mars  
/inter /home/mnt
Password:
mount_smbfs: unable to open connection: syserr = Authentication error

Samba server log says:
mbd/sesssetup.c:1703(reply_sesssetup_and_X)
reply_sesssetup_and_X:  Attempted encrypted session setup without
negprot denied!


smbclient works fine and so does connecting to the shares from Windows
and Konqerour like "smb://192.168.1.8/".  

Anybody on the list with enough knowledge of Samba that could take a
shot at this? Apparently something changed between version 3.4 and 3.5
of Samba.
My knowledge about Samba is limited at best, but it seems that I found 
possible couse and working override (solution?). Check this PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=151887
If this fixes your problem too, please submit followup - more 
information port maintainer gets, less time he's gonna need to fix this.


--
Bartosz Stec


___
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: Fetching distfiles via cron does not download...

2010-11-02 Thread Leslie Jensen



Lystic Emsen skrev 2010-11-02 12:44:



According to the handbook this command is supposed to do that.

portsnap -I cron update



Yeah, you are right, I missed that.  However, the problem is that you didn't
specify the full path to portsnap.  That will cause it to fail and the&&
operator won't let it proceed.  When using cron, you need to specify the
full path because cron doesn't have access to all the environment variables
your normal shell does.

-- Lystic

http://UnixNews.net


If what you say is correct then I shouldn't get the result of 
pkg_version -vIL telling me that there are ports that need an upgrade, 
should I?


/Leslie
___
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: problems installing php (php5-spl) with portmaster

2010-11-02 Thread Tom Worster
hi lystic,

finally i remembered to look in /usr/ports/UPDATING which says:

20100409:
  AFFECTS: users of lang/php5
  AUTHOR: a...@freebsd.org

  As of PHP 5.3, a few extensions were removed from or included into the
core
  PHP5 package.  Follow the steps below to update your installation.

  1) Delete the following packages (if installed):

 - php5-dbase
 - php5-ncurses
 - php5-pcre
 - php5-spl
 - php5-ming
 - php5-mhash

  2) Rebuild lang/php5 and all ports that depend on it.



On 11/1/10 8:16 PM, "Lystic Emsen"  wrote:

> I just upgrade my php5 port to php5.3 and ran into a similar problem with
> portupgrade.  However, I just unregistered php5-spl, because its no longer
> necessary.  I believe php5-spl and php5-pcre are now integrated into PHP-5.3
> by default.
> 
> I also ran into a couple of other problems.  These notes may be of some help
> later.
> 
> http://www.unixnews.net/2010/10/error-with-apr-parameter-is-incorrect.html
> http://www.unixnews.net/2010/10/pcre-error-with-php5-filter-and-php5.html
> 
> -Lystic
> 
> On Mon, Nov 1, 2010 at 5:52 PM, Tom Worster  wrote:
> 
>> portmaster is looping on devel/php5-spl. it seems as though php5-spl
>> depends
>> on itself. the excerpt below shows two cycles of the recursion. the list
>> ">>
>> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >>" gets one longer on each
>> interation.
>> 
>> any ideas how to fix this?
>> 
>> thanks
>> tom
>> 
>> 
>> ===>>> Port directory: /usr/ports/devel/php5-spl
>> 
>> ===>>> Gathering dependency list for devel/php5-spl from ports
>> ===>>> Starting dependency check
>> ===>>> Checking dependency: devel/autoconf268
>> ===>>> Checking dependency: lang/php5
>> 
>> ===>>> The dependency for lang/php5
>>   seems to be handled by php5-pcre-5.2.11_1
>> 
>> 
>> ===>>> The dependency for lang/php5
>>   seems to be handled by php5-spl-5.2.11_1
>> 
>> ===>>> Launching child to update php5-spl-5.2.11_1 to php5-spl-5.3.3_2
>>pear-1.9.0 >> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >>
>> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >>
>> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >>
>> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1
>> 
>> ===>>> Port directory: /usr/ports/devel/php5-spl
>> 
>> ===>>> Gathering dependency list for devel/php5-spl from ports
>> ===>>> Starting dependency check
>> ===>>> Checking dependency: devel/autoconf268
>> ===>>> Checking dependency: lang/php5
>> 
>> ===>>> The dependency for lang/php5
>>   seems to be handled by php5-pcre-5.2.11_1
>> 
>> 
>> ===>>> The dependency for lang/php5
>>   seems to be handled by php5-spl-5.2.11_1
>> 
>> ===>>> Launching child to update php5-spl-5.2.11_1 to php5-spl-5.3.3_2
>>pear-1.9.0 >> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >>
>> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >>
>> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >>
>> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >> php5-spl-5.2.11_1 >>
>> php5-spl-5.2.11_1
>> 
>> 
>> ___
>> 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: problems installing php (php5-spl) with portmaster

2010-11-02 Thread Tom Worster
On 11/1/10 9:14 PM, "John Levine"  wrote:

> 
>> portupgrade.  However, I just unregistered php5-spl, because its no longer
>> necessary.  I believe php5-spl and php5-pcre are now integrated into PHP-5.3
>> by default.
> 
> Yes and no.  pcre depends on the separate pcre package, and php will fail
> in baffling ways is your pcre is too old.
> 
> The maintainer of the php port is aware of this but has declined both
> to make a one-line change to the Makefile to use the bundled pcre
> package, or an alternate one-line change to document the version
> dependency.

gosh!

is there a test i can run to see if my pcre is going to fail in any baffling
ways?


___
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: SSHgaurd and PF

2010-11-02 Thread Bruce Cran
On Tuesday 02 November 2010 16:56:33 Rob Farmer wrote:

> I wouldn't waste your time trying to find out who they are - just
> block and move on. That site is probably a shared web hosting account
> that was compromised by a bad php script - even if you successfully
> complain (assuming it is a legit hoster that cares) and they do
> something about it, there are thousands more.

Yes but it's one less. Most recently I emailed a VPS provider and got the 
owner's account suspended after they ran an ssh attack on my server.

-- 
Bruce Cran
___
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: SSHgaurd and PF

2010-11-02 Thread Justin V.



On Tue, 2 Nov 2010, Rob Farmer wrote:


On Tue, Nov 2, 2010 at 11:42, Justin V.  wrote:

So i added this:

auth.info;authpriv.info;ftp.info                /var/log/auth.log


This is existing:

ftp.info                                        /var/log/xferlog




I see my failed attempts going to auth.log and sshguard is still not
blocking or logging..

I restarted both syslog and sshguard.. I feel like we are almost there


thanks,

jv


Great - then try:

ftp.info |exec /usr/local/sbin/sshguard

in your /etc/syslog.conf (don't forget to restart syslog) and it
should be working - I'm not sure what the threshold for sshguard to
block someone is, but you could test it  - just make sure you have a
way to get back in if it works and your IP is blocked (or wait for the
next script kiddie).

--
Rob Farmer
___
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"




Your the man.. Worked like a charm.

Thanks for all your help!

jv___
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: SSHgaurd and PF

2010-11-02 Thread Rob Farmer
On Tue, Nov 2, 2010 at 11:42, Justin V.  wrote:
> So i added this:
>
> auth.info;authpriv.info;ftp.info                /var/log/auth.log
>
>
> This is existing:
>
> ftp.info                                        /var/log/xferlog
>
>
>
>
> I see my failed attempts going to auth.log and sshguard is still not
> blocking or logging..
>
> I restarted both syslog and sshguard.. I feel like we are almost there
>
>
> thanks,
>
> jv

Great - then try:

ftp.info |exec /usr/local/sbin/sshguard

in your /etc/syslog.conf (don't forget to restart syslog) and it
should be working - I'm not sure what the threshold for sshguard to
block someone is, but you could test it  - just make sure you have a
way to get back in if it works and your IP is blocked (or wait for the
next script kiddie).

-- 
Rob Farmer
___
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: SSHgaurd and PF

2010-11-02 Thread Justin V.



On Tue, 2 Nov 2010, Rob Farmer wrote:


On Tue, Nov 2, 2010 at 10:40, Justin V.  wrote:

Actually this was installed after the port completed:


yeaguy# grep sshg /etc/syslog.conf
auth.info;authpriv.info     |exec /usr/local/sbin/sshguard

But it is not exactly what the HOWTO ways, the HOWTO does not mention the
"exec" part.


Could be that the docs are written for Linux or another version of
syslog. The port and the man page say include the exec, so I would go
with that.



Put this line high into this file:

auth.info;authpriv.info    |/usr/local/sbin/sshguard


Ok - if that isn't working, then check to see if your ftp server is
logging to syslog under auth or authpriv. If not you'll need to change
the setup to get the logs from the right place.

--
Rob Farmer
___
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"



So i added this:

auth.info;authpriv.info;ftp.info/var/log/auth.log


This is existing:

ftp.info/var/log/xferlog




I see my failed attempts going to auth.log and sshguard is still not 
blocking or logging..


I restarted both syslog and sshguard.. I feel like we are almost there


thanks,

jv___
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: SSHgaurd and PF

2010-11-02 Thread Justin V.




On Tue, 2 Nov 2010, Rob Farmer wrote:


On Tue, Nov 2, 2010 at 10:40, Justin V.  wrote:

Actually this was installed after the port completed:


yeaguy# grep sshg /etc/syslog.conf
auth.info;authpriv.info     |exec /usr/local/sbin/sshguard

But it is not exactly what the HOWTO ways, the HOWTO does not mention the
"exec" part.


Could be that the docs are written for Linux or another version of
syslog. The port and the man page say include the exec, so I would go
with that.



Put this line high into this file:

auth.info;authpriv.info    |/usr/local/sbin/sshguard


Ok - if that isn't working, then check to see if your ftp server is
logging to syslog under auth or authpriv. If not you'll need to change
the setup to get the logs from the right place.

--
Rob Farmer
___
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 do not see ftp going to auth:

yeaguy# grep -i  pure /var/log/auth.log
yeaguy# grep -i ftp /var/log/auth.log
Oct 30 07:36:49 yeaguy sshd[74718]: subsystem request for sftp
Oct 30 08:37:25 yeaguy sshd[74942]: subsystem request for sftp
Oct 30 08:51:20 yeaguy sshd[74984]: subsystem request for sftp
Oct 30 12:49:04 yeaguy sshd[2301]: subsystem request for sftp
Oct 30 12:49:56 yeaguy sshd[2308]: subsystem request for sftp
Nov  2 08:44:42 yeaguy sshd[17190]: subsystem request for sftp
Nov  2 08:46:14 yeaguy sshd[17241]: subsystem request for sftp
yeaguy#


But I dont have pure-ftp looking at pam so that makes sense right?
Probably wouldnt show  up there then? I am doing virtual user for
pure-ftp.

Here is the passwd db for pure:

yeaguy# grep pure /etc/inetd.conf
ftp  stream tcp nowait root /usr/local/sbin/pure-ftpd pure-ftpd -l
puredb:/usr/local/etc/pureftpd.pdb
yeaguy#

so i need to pipe the pure db to auth?

thanks,


justin___
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: SSHgaurd and PF

2010-11-02 Thread Rob Farmer
On Tue, Nov 2, 2010 at 10:40, Justin V.  wrote:
> Actually this was installed after the port completed:
>
>
> yeaguy# grep sshg /etc/syslog.conf
> auth.info;authpriv.info     |exec /usr/local/sbin/sshguard
>
> But it is not exactly what the HOWTO ways, the HOWTO does not mention the
> "exec" part.

Could be that the docs are written for Linux or another version of
syslog. The port and the man page say include the exec, so I would go
with that.

>
> Put this line high into this file:
>
> auth.info;authpriv.info    |/usr/local/sbin/sshguard

Ok - if that isn't working, then check to see if your ftp server is
logging to syslog under auth or authpriv. If not you'll need to change
the setup to get the logs from the right place.

-- 
Rob Farmer
___
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: SSHgaurd and PF

2010-11-02 Thread Justin V.



On Tue, 2 Nov 2010, Rob Farmer wrote:


On Tue, Nov 2, 2010 at 10:03, Justin V.  wrote:

This is the guide I used:

http://www.sshguard.net/docs/setup/firewall/pf/

I followed this section to block all brute attempts:


Right, but did you do this part too?

http://www.sshguard.net/docs/setup/getlogs/syslog/

The part you mentioned sets up the table and has pf drop the
connection attempts, but you need to configure syslog to fill the
table with IPs of attackers.

--
Rob Farmer
___
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"




Actually this was installed after the port completed:


yeaguy# grep sshg /etc/syslog.conf
auth.info;authpriv.info |exec /usr/local/sbin/sshguard

But it is not exactly what the HOWTO ways, the HOWTO does not mention the 
"exec" part.


Put this line high into this file:

auth.info;authpriv.info|/usr/local/sbin/sshguard



___
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: SSHgaurd and PF

2010-11-02 Thread Rob Farmer
On Tue, Nov 2, 2010 at 10:03, Justin V.  wrote:
> This is the guide I used:
>
> http://www.sshguard.net/docs/setup/firewall/pf/
>
> I followed this section to block all brute attempts:

Right, but did you do this part too?

http://www.sshguard.net/docs/setup/getlogs/syslog/

The part you mentioned sets up the table and has pf drop the
connection attempts, but you need to configure syslog to fill the
table with IPs of attackers.

-- 
Rob Farmer
___
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: SSHgaurd and PF

2010-11-02 Thread Justin V.



On Tue, 2 Nov 2010, Rob Farmer wrote:


On Tue, Nov 2, 2010 at 09:34, Justin V.  wrote:

Hi,

Would this be considered bruteforce??


Yes



This goes on and on:


Nov  2 05:42:19 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING]
Authentication failed for user [Administrator]
Nov  2 05:42:53 yeaguy last message repeated 3 times

[...]


My sshgaurd config:


Something isn't set up right if you are getting that many attempts -
it should kill them right away:

Nov  1 10:47:51 peridot sshd[77847]: reverse mapping checking
getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed -
POSSIBLE BREAK-IN ATTEMPT!
Nov  1 10:47:53 peridot sshd[77967]: reverse mapping checking
getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed -
POSSIBLE BREAK-IN ATTEMPT!
Nov  1 10:47:54 peridot sshd[78123]: reverse mapping checking
getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed -
POSSIBLE BREAK-IN ATTEMPT!
Nov  1 10:47:56 peridot sshd[78228]: reverse mapping checking
getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed -
POSSIBLE BREAK-IN ATTEMPT!
Nov  1 10:47:56 peridot sshguard[49177]: Blocking 178.238.137.213:4
for >420secs: 4 failures over 5 seconds.

Do you have the syslog.conf part set up as well as the pf part? I've
only used it for ssh but something like the following needs to be
there:

auth.info;authpriv.info |exec /usr/local/sbin/sshguard


yeaguy#  nslookup  a214.amber.fastwebserver.de
Server:         10.1.1.1
Address:        10.1.1.1#53

Non-authoritative answer:
Name:   a214.amber.fastwebserver.de
Address: 217.79.189.214



I wouldn't waste your time trying to find out who they are - just
block and move on. That site is probably a shared web hosting account
that was compromised by a bad php script - even if you successfully
complain (assuming it is a legit hoster that cares) and they do
something about it, there are thousands more.

--
Rob Farmer
___
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"





This is the guide I used:

http://www.sshguard.net/docs/setup/firewall/pf/

I followed this section to block all brute attempts:

Add this line in the packet filtering (rules) section:

block in quick on $ext_if proto tcp from  to any port 22 label 
"ssh bruteforce"


Replace $ext_if with your WAN interface name if needed. Omit the proto tcp 
and the to any port 22 segment if you want to block all the traffic from 
attackers (not just ssh).



I really like this port, just keeps the logs from filling up..

Im not going to email their abuse desk just wishing that sshguard would do 
what I expected it to do via the how to..   :(


___
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: SSHgaurd and PF

2010-11-02 Thread Rob Farmer
On Tue, Nov 2, 2010 at 09:34, Justin V.  wrote:
> Hi,
>
> Would this be considered bruteforce??

Yes

>
> This goes on and on:
>
>
> Nov  2 05:42:19 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING]
> Authentication failed for user [Administrator]
> Nov  2 05:42:53 yeaguy last message repeated 3 times
[...]
>
> My sshgaurd config:

Something isn't set up right if you are getting that many attempts -
it should kill them right away:

Nov  1 10:47:51 peridot sshd[77847]: reverse mapping checking
getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed -
POSSIBLE BREAK-IN ATTEMPT!
Nov  1 10:47:53 peridot sshd[77967]: reverse mapping checking
getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed -
POSSIBLE BREAK-IN ATTEMPT!
Nov  1 10:47:54 peridot sshd[78123]: reverse mapping checking
getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed -
POSSIBLE BREAK-IN ATTEMPT!
Nov  1 10:47:56 peridot sshd[78228]: reverse mapping checking
getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed -
POSSIBLE BREAK-IN ATTEMPT!
Nov  1 10:47:56 peridot sshguard[49177]: Blocking 178.238.137.213:4
for >420secs: 4 failures over 5 seconds.

Do you have the syslog.conf part set up as well as the pf part? I've
only used it for ssh but something like the following needs to be
there:

auth.info;authpriv.info |exec /usr/local/sbin/sshguard

> yeaguy#  nslookup  a214.amber.fastwebserver.de
> Server:         10.1.1.1
> Address:        10.1.1.1#53
>
> Non-authoritative answer:
> Name:   a214.amber.fastwebserver.de
> Address: 217.79.189.214
>

I wouldn't waste your time trying to find out who they are - just
block and move on. That site is probably a shared web hosting account
that was compromised by a bad php script - even if you successfully
complain (assuming it is a legit hoster that cares) and they do
something about it, there are thousands more.

-- 
Rob Farmer
___
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"


SSHgaurd and PF

2010-11-02 Thread Justin V.

Hi,

Would this be considered bruteforce??

This goes on and on:


Nov  2 05:42:19 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]

Nov  2 05:42:53 yeaguy last message repeated 3 times
Nov  2 05:43:11 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]
Nov  2 05:43:31 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] 
Too many authentication failures
Nov  2 05:43:35 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]

Nov  2 05:43:54 yeaguy last message repeated 2 times
Nov  2 05:44:27 yeaguy last message repeated 2 times
Nov  2 05:44:47 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] 
Too many authentication failures
Nov  2 05:44:53 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]

Nov  2 05:45:27 yeaguy last message repeated 3 times
Nov  2 05:45:44 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]
Nov  2 05:46:05 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] 
Too many authentication failures
Nov  2 05:46:12 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]

Nov  2 05:46:47 yeaguy last message repeated 3 times
Nov  2 05:47:03 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]
Nov  2 05:47:24 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] 
Too many authentication failures
Nov  2 05:47:31 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]

Nov  2 05:48:06 yeaguy last message repeated 3 times
Nov  2 05:48:24 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]
Nov  2 05:48:45 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] 
Too many authentication failures
Nov  2 05:48:50 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]

Nov  2 05:49:25 yeaguy last message repeated 3 times
Nov  2 05:49:42 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]
Nov  2 05:50:01 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] 
Too many authentication failures
Nov  2 05:50:08 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]

Nov  2 05:50:40 yeaguy last message repeated 3 times
Nov  2 05:50:58 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]
Nov  2 05:51:20 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] 
Too many authentication failures
Nov  2 05:51:25 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]

Nov  2 05:51:59 yeaguy last message repeated 3 times
Nov  2 05:52:16 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) 
[WARNING] Authentication failed for user [Administrator]




My sshgaurd config:



#   $FreeBSD: src/share/examples/pf/pf.conf,v 1.1.4.1.4.1 2010/06/14 
02:09:06 kensmith Exp $

#   $OpenBSD: pf.conf,v 1.34 2007/02/24 19:30:59 millert Exp $
#
# See pf.conf(5) and /usr/share/examples/pf for syntax and examples.
# Remember to set net.inet.ip.forwarding=1 and/or 
net.inet6.ip6.forwarding=1

# in /etc/sysctl.conf if packets are to be forwarded between interfaces.

ext_if="wlan0"
#int_if="int0"

#table  persist
table  persist

#set skip on lo

#scrub in

#nat-anchor "ftp-proxy/*"
#rdr-anchor "ftp-proxy/*"
#nat on $ext_if from !($ext_if) -> ($ext_if:0)
#rdr pass on $int_if proto tcp to port ftp -> 127.0.0.1 port 8021
#no rdr on $ext_if proto tcp from  to any port smtp
#rdr pass on $ext_if proto tcp from any to any port smtp \
#   -> 127.0.0.1 port spamd

#anchor "ftp-proxy/*"
#block in
block in log quick on $ext_if from  label "bruteforce"
#pass out

#pass quick on $int_if no state
#antispoof quick for { lo $int_if }

#pass in on $ext_if proto tcp to ($ext_if) port ssh
#pass in log on $ext_if proto tcp to ($ext_if) port smtp
#pass out log on $ext_if proto tcp from ($ext_if) to port smtp


LOGS:

yeaguy#  nslookup  a214.amber.fastwebserver.de
Server: 10.1.1.1
Address:10.1.1.1#53

Non-authoritative answer:
Name:   a214.amber.fastwebserver.de
Address: 217.79.189.214

yeaguy# tcpdump -n -e -ttt -r /var/log/pflog | grep 217.79.189.214
reading from file /var/log/pflog, link-type PFLOG (OpenBSD pflog file)
yeaguy#


Thanks,

Justin
___
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: Continuing problem with "portsnap"

2010-11-02 Thread Vincent Hoffman
On 02/11/2010 14:33, Jerry wrote:
> On Tue, 02 Nov 2010 13:48:12 +
> Vincent Hoffman  articulated:
>
>>
>> Sounds like DNS to me.
>> what output do you get from
>> dig +trace portsnap.freebsd.org
> $ dig +trace portsnap.freebsd.org
>
> ; <<>> DiG 9.6.2-P2 <<>> +trace portsnap.freebsd.org
> ;; global options: +cmd
> . 18158   IN  NS  h.root-servers.net.
> . 18158   IN  NS  a.root-servers.net.
> . 18158   IN  NS  d.root-servers.net.
> . 18158   IN  NS  k.root-servers.net.
> . 18158   IN  NS  g.root-servers.net.
> . 18158   IN  NS  i.root-servers.net.
> . 18158   IN  NS  f.root-servers.net.
> . 18158   IN  NS  e.root-servers.net.
> . 18158   IN  NS  j.root-servers.net.
> . 18158   IN  NS  b.root-servers.net.
> . 18158   IN  NS  c.root-servers.net.
> . 18158   IN  NS  l.root-servers.net.
> . 18158   IN  NS  m.root-servers.net.
> ;; Received 228 bytes from 209.18.47.62#53(209.18.47.62) in 10 ms
>
> ;; connection timed out; no servers could be reached
>
Hmm you should be seeing something like
jh...@ostracod
(13:48:49 <~>) 0 $ dig +trace portsnap.freebsd.org

; <<>> DiG 9.6.2-P2 <<>> +trace portsnap.freebsd.org
;; global options: +cmd
.424412INNSc.root-servers.net.
.424412INNSl.root-servers.net.
.424412INNSf.root-servers.net.
.424412INNSg.root-servers.net.
.424412INNSk.root-servers.net.
.424412INNSh.root-servers.net.
.424412INNSb.root-servers.net.
.424412INNSi.root-servers.net.
.424412INNSj.root-servers.net.
.424412INNSd.root-servers.net.
.424412INNSa.root-servers.net.
.424412INNSm.root-servers.net.
.424412INNSe.root-servers.net.
;; Received 332 bytes from 127.0.0.1#53(127.0.0.1) in 1 ms

org.172800INNSd0.org.afilias-nst.org.
org.172800INNSc0.org.afilias-nst.info.
org.172800INNSb0.org.afilias-nst.org.
org.172800INNSa2.org.afilias-nst.info.
org.172800INNSb2.org.afilias-nst.org.
org.172800INNSa0.org.afilias-nst.info.
;; Received 440 bytes from 128.8.10.90#53(d.root-servers.net) in 125 ms

freebsd.org.86400INNSns3.isc-sns.info.
freebsd.org.86400INNSns2.isc-sns.com.
freebsd.org.86400INNSns1.isc-sns.net.
;; Received 126 bytes from 2001:500:b::1#53(c0.org.afilias-nst.info) in
69 ms

portsnap.freebsd.org.3600INA204.109.56.116
freebsd.org.3600INNSns1.isc-sns.net.
freebsd.org.3600INNSns3.isc-sns.info.
freebsd.org.3600INNSns2.isc-sns.com.
;; Received 246 bytes from 2001:5a0:10::1#53(ns3.isc-sns.info) in 47 ms


It should recurse through the DNS hierarchy, starting at the servers for
.  then the servers for org then the servers for freebsd and finally
give you a result.

I guess this means either you or your ISP is filtering access on port 53
other than to their severs, or else your ISP has a connectivity issue.
can you currently resolve any .org domains? (netbsd.org or openbsd.org
or apache.org spring to mind)


Vince

___
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: Continuing problem with "portsnap"

2010-11-02 Thread Jerry
On Tue, 02 Nov 2010 13:48:12 +
Vincent Hoffman  articulated:

> On 02/11/2010 13:37, Jerry wrote:
> > On Tue, 2 Nov 2010 05:32:44 -0700
> > Rob Farmer  articulated:
> >
> >>
> >> This is a separate issue due to bad DNS - the list of mirrors is
> >> obtained from:
> >>
> >> host -t srv _http._tcp.portsnap.freebsd.org
> >>
> >> and falls back to just portsnap.freebsd.org if it doesn't work.
> > Results:
> >
> > $ fetch http://portsnap1.freebsd.org/pub.ssl
> > fetch: http://portsnap1.freebsd.org/pub.ssl: No address record
> >
> > $ fetch http://portsnap1.freebsd.org/snapshot.ssl
> > fetch: http://portsnap1.freebsd.org/snapshot.ssl: No address record
> >
> > $ host -t srv _http._tcp.portsnap.freebsd.org
> > ;; connection timed out; no servers could be reached
> >
> > Yes, I would say that something is broken somewhere, I just am not
> > sure where.
> >
> Sounds like DNS to me.
> what output do you get from
> dig +trace portsnap.freebsd.org

$ dig +trace portsnap.freebsd.org

; <<>> DiG 9.6.2-P2 <<>> +trace portsnap.freebsd.org
;; global options: +cmd
.   18158   IN  NS  h.root-servers.net.
.   18158   IN  NS  a.root-servers.net.
.   18158   IN  NS  d.root-servers.net.
.   18158   IN  NS  k.root-servers.net.
.   18158   IN  NS  g.root-servers.net.
.   18158   IN  NS  i.root-servers.net.
.   18158   IN  NS  f.root-servers.net.
.   18158   IN  NS  e.root-servers.net.
.   18158   IN  NS  j.root-servers.net.
.   18158   IN  NS  b.root-servers.net.
.   18158   IN  NS  c.root-servers.net.
.   18158   IN  NS  l.root-servers.net.
.   18158   IN  NS  m.root-servers.net.
;; Received 228 bytes from 209.18.47.62#53(209.18.47.62) in 10 ms

;; connection timed out; no servers could be reached

-- 
Jerry ✌
freebsd.u...@seibercom.net

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: sysinstall(8) && bsdlabel a new disk

2010-11-02 Thread Ian Smith
In freebsd-questions Digest, Vol 335, Issue 3, Message: 2
On Tue, 2 Nov 2010 07:04:08 +0100 Matthias Apitz  wrote:
 > El día Monday, November 01, 2010 a las 10:03:58PM -0700, 
 > per...@pluto.rain.com escribió:
 > 
 > > Devin Teske  wrote:
 > > 
 > > > sysinstall probes hardware when it starts. Therefore, after making
 > > > changes (specifically after writing) to the disk in the FDISK
 > > > partition editor, you need to Ctrl-C and Abort-out and relaunch
 > > > sysinstall so that it probes the new disk devices (ad4s1, ad4s2,
 > > > etc.) before you can start adding BSD disklabels (ad4s1a, ad4s1b,
 > > > etc.) to the slice (aka partition).
 > > >
 > > > This has been an age-old problem (hmmm, perhaps get could some mad
 > > > karma for fixing it).
 > > 
 > > At least in 8.1, there is a sysinstall operation somewhere to
 > > re-probe devices, presumably to cover exactly this sort of
 > > situation.  Does it not work?

Options menu: Rescan Devices works to pick up devices like a USB disk or 
memstick that you may even have booted off but sysinstall then fails to 
find, as it does with some older kit and/or slow devices (here memsticks 
on USB1 ports).

 > My situation was in 9-CURRENT.

When running sysinstall(8) as init from a CD/DVD/memstick boot, you can 
do mostly what you like to the disk/s in terms of slicing - fdisk and 
like boot0cfg under the hood - and partitioning of slices - bsdlabel 
under the hood, or rather sysinstall's version of those utilities; it 
still uses libdisk(3) rather than libgeom(3), at 8-STABLE anyway.

When running sysinstall from a booted system (where you could exit after 
any committed steps and restart it, as mentioned above) you need to have 
previously set sysctl kern.geom.debugflags=16 (the 'foot-shooting' bit) 
if you want to be able to write to sector 0 (the boot sector including 
MBR) or to any non-boot slice - even unmounted - on the boot disk.

Sysinstall doesn't let you know when you've failed to modify the disk, 
sadly, hence mysterious problems such as the above.  It's fairly obvious 
when it fails to newfs some partitions you think you've nicely set up :)

Same goes for sade(8).  Neither manpage mentions kern.geom.debugflags, 
but boot0cfg(8) does, and points to the fuller description in geom(4).

I haven't checked up on new work on sysinstall on -CURRENT for a while, 
but suspect that you'll still have to set that flag to write to any disk 
that's in use.  Don't forget to set it back to 0 later!

cheers, Ian___
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: Continuing problem with "portsnap"

2010-11-02 Thread Vincent Hoffman
On 02/11/2010 13:37, Jerry wrote:
> On Tue, 2 Nov 2010 05:32:44 -0700
> Rob Farmer  articulated:
>
>>
>> This is a separate issue due to bad DNS - the list of mirrors is
>> obtained from:
>>
>> host -t srv _http._tcp.portsnap.freebsd.org
>>
>> and falls back to just portsnap.freebsd.org if it doesn't work.
> Results:
>
> $ fetch http://portsnap1.freebsd.org/pub.ssl
> fetch: http://portsnap1.freebsd.org/pub.ssl: No address record
>
> $ fetch http://portsnap1.freebsd.org/snapshot.ssl
> fetch: http://portsnap1.freebsd.org/snapshot.ssl: No address record
>
> $ host -t srv _http._tcp.portsnap.freebsd.org
> ;; connection timed out; no servers could be reached
>
> Yes, I would say that something is broken somewhere, I just am not sure
> where.
>
Sounds like DNS to me.
what output do you get from
dig +trace portsnap.freebsd.org


Vince


___
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] ZFS: can not import pool after export

2010-11-02 Thread Mikle Krutov
On Tue, Nov 02, 2010 at 06:17:17AM +0300, Mikle Krutov wrote:
> Hello, list!
> With latest 8-STABLE I can not import pool after exporting:
> sysctls for kern version:
> kern.osrelease: 8.1-STABLE
> kern.osrevision: 199506
> kern.osreldate: 801500
> 
> trying to import just-created pool:
> [neko][1]%sudo zpool create test /dev/gpt/test
> [neko][0]%sudo zpool list
> NAME   SIZE   USED  AVAILCAP  HEALTH  ALTROOT
> test   472M  79.5K   472M 0%  ONLINE  -
> [neko][0]%sudo zpool export test
> [neko][0]%sudo zpool import test
> cannot import 'test': pool is formatted using a newer ZFS version
> [neko][1]%
> 
> 
> WTF happens? How do i avoid that?
The thing was, i forgot to installworld, e.g. module version and
zfs-userland-tools version mismatch.
-- 

Old mercenaries never die. They go to hell and regroup.

With best regards, Mikle Krutov, Bercut ltd. Technical Support department
___
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: Continuing problem with "portsnap"

2010-11-02 Thread Jerry
On Tue, 2 Nov 2010 05:32:44 -0700
Rob Farmer  articulated:

> On Tue, Nov 2, 2010 at 05:21, Jerry 
> wrote:
> >> >> portsnap fetch extract
> >> >> Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
> >> >> Fetching snapshot tag from portsnap1.FreeBSD.org... failed.
> >> >> Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
> >> >> Fetching snapshot tag from portsnap2.FreeBSD.org... failed.
> >> >> Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
> >> >> Fetching snapshot tag from portsnap4.FreeBSD.org... failed.
> >> >> No mirrors remaining, giving up.
> 
> What does this give:
> 
> fetch http://portsnap1.freebsd.org/pub.ssl
> fetch http://portsnap1.freebsd.org/snapshot.ssl
> openssl rsautl -pubin -inkey pub.ssl -verify < snapshot.ssl
> 
> You should get something like:
> portsnap|1288656202|c4523276897a50ff0ca27add61344a4e96cc19a5f7e0bc8f8e17d138819e19a2
> 
> It seems like you are having a problem fetching the tag - can you ping
> the servers? are you behind a proxy?
> 
> >> Working from Sweden, maybe a little slow!
> >> As you can see it can't find any mirrors.
> >>
> >> portsnap fetch
> >> Looking up portsnap.FreeBSD.org mirrors... none found.
> 
> This is a separate issue due to bad DNS - the list of mirrors is
> obtained from:
> 
> host -t srv _http._tcp.portsnap.freebsd.org
> 
> and falls back to just portsnap.freebsd.org if it doesn't work.

Results:

$ fetch http://portsnap1.freebsd.org/pub.ssl
fetch: http://portsnap1.freebsd.org/pub.ssl: No address record

$ fetch http://portsnap1.freebsd.org/snapshot.ssl
fetch: http://portsnap1.freebsd.org/snapshot.ssl: No address record

$ host -t srv _http._tcp.portsnap.freebsd.org
;; connection timed out; no servers could be reached

Yes, I would say that something is broken somewhere, I just am not sure
where.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
I have a terrible headache, I was putting on toilet water and the lid
fell.


signature.asc
Description: PGP signature


Re: Continuing problem with "portsnap"

2010-11-02 Thread Rob Farmer
On Tue, Nov 2, 2010 at 05:21, Jerry  wrote:
>> >> portsnap fetch extract
>> >> Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
>> >> Fetching snapshot tag from portsnap1.FreeBSD.org... failed.
>> >> Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
>> >> Fetching snapshot tag from portsnap2.FreeBSD.org... failed.
>> >> Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
>> >> Fetching snapshot tag from portsnap4.FreeBSD.org... failed.
>> >> No mirrors remaining, giving up.

What does this give:

fetch http://portsnap1.freebsd.org/pub.ssl
fetch http://portsnap1.freebsd.org/snapshot.ssl
openssl rsautl -pubin -inkey pub.ssl -verify < snapshot.ssl

You should get something like:
portsnap|1288656202|c4523276897a50ff0ca27add61344a4e96cc19a5f7e0bc8f8e17d138819e19a2

It seems like you are having a problem fetching the tag - can you ping
the servers? are you behind a proxy?

>> Working from Sweden, maybe a little slow!
>> As you can see it can't find any mirrors.
>>
>> portsnap fetch
>> Looking up portsnap.FreeBSD.org mirrors... none found.

This is a separate issue due to bad DNS - the list of mirrors is obtained from:

host -t srv _http._tcp.portsnap.freebsd.org

and falls back to just portsnap.freebsd.org if it doesn't work.

-- 
Rob Farmer
___
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: Continuing problem with "portsnap"

2010-11-02 Thread Jerry
On Tue, 02 Nov 2010 12:44:03 +0100
Leslie Jensen  articulated:

> 
> 
> On 2010-11-02 12:38, Vincent Hoffman wrote:
> > On 02/11/2010 11:34, Jerry wrote:
> >> Since "portsnap' has been failing on my system, I tried a different
> >> approach and decided to rebuild the port entirely rather than just
> >> download an updated snapshot. This is the result of just such a
> >> venture:
> >>
> >> portsnap fetch extract
> >> Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
> >> Fetching snapshot tag from portsnap1.FreeBSD.org... failed.
> >> Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
> >> Fetching snapshot tag from portsnap2.FreeBSD.org... failed.
> >> Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
> >> Fetching snapshot tag from portsnap4.FreeBSD.org... failed.
> >> No mirrors remaining, giving up.
> >>
> >> You will notice that all the mirrors appear broken. Now, I can
> >> reach the FreeBSD web site, and every other site I commonly visit
> >> without a problem; therefore, I believe the problem resides
> >> somewhere with the portsnap mirrors.
> >>
> >> Can anyone confirm or further thesis this thesis?
> >>
> > Working from the UK
> >
> > [r...@seaurchin ~]# portsnap fetch
> > Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
> > Fetching snapshot tag from portsnap1.FreeBSD.org... done.
> > Fetching snapshot metadata... done.
> > Updating from Tue Nov  2 02:25:26 GMT 2010 to Tue Nov  2 11:26:20
> > GMT 2010. Fetching 4 metadata patches... done.
> > Applying metadata patches... done.
> > Fetching 0 metadata files... done.
> > Fetching 9 patches. done.
> > Applying patches... done.
> > Fetching 3 new ports or files... done.
> 
> Working from Sweden, maybe a little slow!
> As you can see it can't find any mirrors.
> 
> portsnap fetch
> Looking up portsnap.FreeBSD.org mirrors... none found.
> Fetching snapshot tag from portsnap.FreeBSD.org... done.
> Fetching snapshot metadata... done.
> Updating from Tue Nov  2 09:57:27 CET 2010 to Tue Nov  2 12:26:20 CET
> 2010. Fetching 4 metadata patches... done.
> Applying metadata patches... done.
> Fetching 0 metadata files... done.
> Fetching 4 patches... done.
> Applying patches... done.
> Fetching 1 new ports or files... done.

I tried it eight times in quick succession and it finally worked.
Obviously, there is something wrong somewhere. I don't know who to
contact to get it looked at though. As you stated, it could not find
any mirrors either.


-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
If 1 in 10 people suffer from diarrhea, does that mean the other 9 enjoy
it?
___
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: Continuing problem with "portsnap"

2010-11-02 Thread Lystic Emsen
On Tue, Nov 2, 2010 at 6:44 AM, Leslie Jensen  wrote:

>
>
> On 2010-11-02 12:38, Vincent Hoffman wrote:
>
>> On 02/11/2010 11:34, Jerry wrote:
>>
>>> Since "portsnap' has been failing on my system, I tried a different
>>> approach and decided to rebuild the port entirely rather than just
>>> download an updated snapshot. This is the result of just such a
>>> venture:
>>>
>>> portsnap fetch extract
>>> Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
>>> Fetching snapshot tag from portsnap1.FreeBSD.org... failed.
>>> Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
>>> Fetching snapshot tag from portsnap2.FreeBSD.org... failed.
>>> Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
>>> Fetching snapshot tag from portsnap4.FreeBSD.org... failed.
>>> No mirrors remaining, giving up.
>>>
>>> You will notice that all the mirrors appear broken. Now, I can reach the
>>> FreeBSD web site, and every other site I commonly visit without a
>>> problem; therefore, I believe the problem resides somewhere with the
>>> portsnap mirrors.
>>>
>>> Can anyone confirm or further thesis this thesis?
>>>
>>>
Can you try editing your /etc/portsnap.conf ?

SERVERNAME=eu.portsnap.FreeBSD.org

That should make it look for servers closer to you first.


-- Lystic

http://UnixNews.net 



>  Working from the UK
>>
>> [r...@seaurchin ~]# portsnap fetch
>> Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
>> Fetching snapshot tag from portsnap1.FreeBSD.org... done.
>> Fetching snapshot metadata... done.
>> Updating from Tue Nov  2 02:25:26 GMT 2010 to Tue Nov  2 11:26:20 GMT
>> 2010.
>> Fetching 4 metadata patches... done.
>> Applying metadata patches... done.
>> Fetching 0 metadata files... done.
>> Fetching 9 patches. done.
>> Applying patches... done.
>> Fetching 3 new ports or files... done.
>>
>>
>>
>
> Working from Sweden, maybe a little slow!
> As you can see it can't find any mirrors.
>
>
> portsnap fetch
> Looking up portsnap.FreeBSD.org mirrors... none found.
> Fetching snapshot tag from portsnap.FreeBSD.org... done.
> Fetching snapshot metadata... done.
> Updating from Tue Nov  2 09:57:27 CET 2010 to Tue Nov  2 12:26:20 CET 2010.
>
> Fetching 4 metadata patches... done.
> Applying metadata patches... done.
> Fetching 0 metadata files... done.
> Fetching 4 patches... done.
> Applying patches... done.
> Fetching 1 new ports or files... done.
> ___
> 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: Fetching distfiles via cron does not download...

2010-11-02 Thread Lystic Emsen
On Tue, Nov 2, 2010 at 5:57 AM, Leslie Jensen  wrote:

>
>
> Lystic Emsen skrev 2010-11-02 11:53:
>
>  On Tue, Nov 2, 2010 at 4:08 AM, Leslie Jensen  wrote:
>>
>>  Hello list.
>>>
>>> I have the following in /etc/crontab
>>>
>>> @reboot root portsnap -I cron update&&  /root/bin/cv_portsnap_cron&&
>>> pkg_version -vIL=
>>>
>>>
>>> I don't see where you are doing a portsnap fetch first.  If you haven't
>>>
>> done a fetch, then the update will probably fail.  If the update fails,
>> because you are using&&  it won't execute the next part of your script.
>>
>
> According to the handbook this command is supposed to do that.
>
> portsnap -I cron update
>
>
Yeah, you are right, I missed that.  However, the problem is that you didn't
specify the full path to portsnap.  That will cause it to fail and the &&
operator won't let it proceed.  When using cron, you need to specify the
full path because cron doesn't have access to all the environment variables
your normal shell does.

-- Lystic

http://UnixNews.net 


> /Leslie
>
>
>
>
>
>
>
>>
>>
>>
>>> The script /root/bin/cv_portsnap_cron
>>>
>>> #!/bin/sh
>>> portmaster --clean-distfiles-all
>>> portmaster -aF
>>>
>>>
>>>
>>>
>>> Message received from cron:
>>>
>>>
>>> ===>>>  Gathering distinfo list for installed ports
>>>
>>> ===>>>  Checking for stale distfiles
>>> ]0;portmaster: All ===>>>  Starting check of installed ports for
>>> available
>>> updates
>>>
>>> ===>>>  Distfile fetching is complete
>>> libxul-1.9.2.9_1>> pciids-20101005>>
>>>
>>> Even so I do not get the distfiles downloaded.
>>>
>>> Where am I going wrong?
>>>
>>> Thanks
>>>
>>>
>>> /Leslie
>>>
>>>
>>> ___
>>> 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: Continuing problem with "portsnap"

2010-11-02 Thread Leslie Jensen



On 2010-11-02 12:38, Vincent Hoffman wrote:

On 02/11/2010 11:34, Jerry wrote:

Since "portsnap' has been failing on my system, I tried a different
approach and decided to rebuild the port entirely rather than just
download an updated snapshot. This is the result of just such a
venture:

portsnap fetch extract
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... failed.
Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
Fetching snapshot tag from portsnap2.FreeBSD.org... failed.
Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
Fetching snapshot tag from portsnap4.FreeBSD.org... failed.
No mirrors remaining, giving up.

You will notice that all the mirrors appear broken. Now, I can reach the
FreeBSD web site, and every other site I commonly visit without a
problem; therefore, I believe the problem resides somewhere with the
portsnap mirrors.

Can anyone confirm or further thesis this thesis?


Working from the UK

[r...@seaurchin ~]# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Tue Nov  2 02:25:26 GMT 2010 to Tue Nov  2 11:26:20 GMT 2010.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 9 patches. done.
Applying patches... done.
Fetching 3 new ports or files... done.





Working from Sweden, maybe a little slow!
As you can see it can't find any mirrors.


portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... none found.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Tue Nov  2 09:57:27 CET 2010 to Tue Nov  2 12:26:20 CET 2010.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 4 patches... done.
Applying patches... done.
Fetching 1 new ports or files... done.
___
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: Continuing problem with "portsnap"

2010-11-02 Thread Vincent Hoffman
On 02/11/2010 11:34, Jerry wrote:
> Since "portsnap' has been failing on my system, I tried a different
> approach and decided to rebuild the port entirely rather than just
> download an updated snapshot. This is the result of just such a
> venture:
>
> portsnap fetch extract   
> Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
> Fetching snapshot tag from portsnap1.FreeBSD.org... failed.
> Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
> Fetching snapshot tag from portsnap2.FreeBSD.org... failed.
> Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
> Fetching snapshot tag from portsnap4.FreeBSD.org... failed.
> No mirrors remaining, giving up.
>
> You will notice that all the mirrors appear broken. Now, I can reach the
> FreeBSD web site, and every other site I commonly visit without a
> problem; therefore, I believe the problem resides somewhere with the
> portsnap mirrors.
>
> Can anyone confirm or further thesis this thesis?
>
Working from the UK

[r...@seaurchin ~]# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Tue Nov  2 02:25:26 GMT 2010 to Tue Nov  2 11:26:20 GMT 2010.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 9 patches. done.
Applying patches... done.
Fetching 3 new ports or files... done.


Vince

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


Continuing problem with "portsnap"

2010-11-02 Thread Jerry
Since "portsnap' has been failing on my system, I tried a different
approach and decided to rebuild the port entirely rather than just
download an updated snapshot. This is the result of just such a
venture:

portsnap fetch extract   
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... failed.
Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
Fetching snapshot tag from portsnap2.FreeBSD.org... failed.
Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
Fetching snapshot tag from portsnap4.FreeBSD.org... failed.
No mirrors remaining, giving up.

You will notice that all the mirrors appear broken. Now, I can reach the
FreeBSD web site, and every other site I commonly visit without a
problem; therefore, I believe the problem resides somewhere with the
portsnap mirrors.

Can anyone confirm or further thesis this thesis?

-- 
Jerry ✌
freebsd.u...@seibercom.net

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

"Our enemies are innovative and resourceful, and so are we. They never stop
thinking about new ways to harm our country and our people, and neither do we."

George W. Bush
August 5, 2004
Washington, D.C.


signature.asc
Description: PGP signature


Re: Fetching distfiles via cron does not download...

2010-11-02 Thread Leslie Jensen



Lystic Emsen skrev 2010-11-02 11:53:

On Tue, Nov 2, 2010 at 4:08 AM, Leslie Jensen  wrote:


Hello list.

I have the following in /etc/crontab

@reboot root portsnap -I cron update&&  /root/bin/cv_portsnap_cron&&
pkg_version -vIL=


I don't see where you are doing a portsnap fetch first.  If you haven't

done a fetch, then the update will probably fail.  If the update fails,
because you are using&&  it won't execute the next part of your script.


According to the handbook this command is supposed to do that.

portsnap -I cron update

/Leslie











The script /root/bin/cv_portsnap_cron

#!/bin/sh
portmaster --clean-distfiles-all
portmaster -aF




Message received from cron:


===>>>  Gathering distinfo list for installed ports

===>>>  Checking for stale distfiles
]0;portmaster: All ===>>>  Starting check of installed ports for available
updates

===>>>  Distfile fetching is complete
libxul-1.9.2.9_1

Re: is there a utillity...?

2010-11-02 Thread Bruce Cran
On Tuesday 02 November 2010 03:42:06 Gary Kline wrote:
> People, is there a utility to give me the rate of bps that I am
> _supposed_ to be getting from my telco DSL?

You can normally find out what rate the modem has synced to your ISP at - that 
should tell you the theoretical maximum raw throughput. It's normally obtained 
via a web browser but some modems can also be configured to provide it over 
SNMP.  

By the way your subject lines could be improved - they don't tend to be very 
descriptive :)

-- 
Bruce Cran
___
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: Fetching distfiles via cron does not download...

2010-11-02 Thread Lystic Emsen
On Tue, Nov 2, 2010 at 4:08 AM, Leslie Jensen  wrote:

> Hello list.
>
> I have the following in /etc/crontab
>
> @reboot root portsnap -I cron update && /root/bin/cv_portsnap_cron &&
> pkg_version -vIL=
>
>
> I don't see where you are doing a portsnap fetch first.  If you haven't
done a fetch, then the update will probably fail.  If the update fails,
because you are using && it won't execute the next part of your script.



>
> The script /root/bin/cv_portsnap_cron
>
> #!/bin/sh
> portmaster --clean-distfiles-all
> portmaster -aF
>
>
>
>
> Message received from cron:
>
>
> ===>>> Gathering distinfo list for installed ports
>
> ===>>> Checking for stale distfiles
> ]0;portmaster: All ===>>> Starting check of installed ports for available
> updates
>
> ===>>> Distfile fetching is complete
> libxul-1.9.2.9_1<   needs updating (index has 1.9.2.12)
> pciids-20101005 <   needs updating (index has 20101020)
>
>
> Even so I do not get the distfiles downloaded.
>
> Where am I going wrong?
>
> Thanks
>
>
> /Leslie
>
>
> ___
> 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"
>



-- 
-- Lystic

http://UnixNews.net
___
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"


[Solved in a way] Sendmail as client via smarthost and ssl

2010-11-02 Thread Christopher Illies
On Thu, Oct 28, 2010 at 02:49:34PM +0200, Christopher Illies wrote:
>> To send email from my computer at work I need to send through a
>> smarthost.
<...>

After having had no success with sendmail and sasl, I switched to
mail/dma and it worked right away.


Christopher

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


Fetching distfiles via cron does not download...

2010-11-02 Thread Leslie Jensen

Hello list.

I have the following in /etc/crontab

@reboot root portsnap -I cron update && /root/bin/cv_portsnap_cron && 
pkg_version -vIL=




The script /root/bin/cv_portsnap_cron

#!/bin/sh
portmaster --clean-distfiles-all
portmaster -aF




Message received from cron:


===>>> Gathering distinfo list for installed ports

===>>> Checking for stale distfiles
]0;portmaster: All===>>> Starting check of installed ports for 
available updates


===>>> Distfile fetching is complete
libxul-1.9.2.9_1<   needs updating (index has 1.9.2.12)
pciids-20101005 <   needs updating (index has 20101020)


Even so I do not get the distfiles downloaded.

Where am I going wrong?

Thanks


/Leslie


___
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: is there a utillity...?

2010-11-02 Thread RW
On Mon, 1 Nov 2010 20:42:06 -0700
Gary Kline  wrote:

> People, is there a utility to give me the rate of bps that I am
> _supposed_ to be getting from my telco DSL?

If your modem or router has some means of configuring it, typically via
a browser, you can get usually get that information there. 
___
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"