Re: RSync exclusion

2013-04-18 Thread Daniel O'Callaghan
On 18/04/2013 9:30 PM, Jos Chrispijn wrote: rsync -avrz -e ssh /files/ backupr@x.x.x.x:/vol1/FreeBSD/$DATE/ Just a thought, but have you looked at rsnapshot? http://www.rsnapshot.org/ http://www.freshports.org/sysutils/rsnapshot/ It uses rsync, but manages a directory tree with hard links to u

Re: Fwd: how access inside from outside when nat is done from inside to outside

2013-04-04 Thread Daniel O'Callaghan
On 4/04/2013 6:41 PM, s m wrote: request packets: src:192.168.2.1> dst: 192.168.1.1 reply packets: src: 192.168.2.50> dst:192.168.2.1 This sort of thing tends to happen when the the packets are not being sent via divert socket properly. Look carefully, step by step, at your ipf

Re: Where's the metadata?

2013-03-28 Thread Daniel O'Callaghan
On 29/03/2013 12:29 PM, Ronald F. Guilmette wrote: So what_is_ the best tool for just simply taking some sort of drive... like a USB flash drive, or any other kind of drive for that matter... and returning it to it's actual size? Did you try using fdisk? It is probably a standard MBR boot recor

Re: Copying memstick image to a USB (flash/thumb) drive

2013-03-27 Thread Daniel O'Callaghan
On 28/03/2013 8:10 AM, Ronald F. Guilmette wrote: Question: Why exactly is "conv=sync" is there? I found this on http://www.mkssoftware.com/docs/man1/dd.1.asp If you specified conv=sync and this input block is smaller than the specified input block size, dd pads it to the specified si

Re: Client Authentication

2013-03-26 Thread Daniel O'Callaghan
On 27/03/2013 12:59 PM, Michael Ross wrote: I'd like to be able to change the time window: http://gurder.ross.cx/misc/ratelimit.patch Neat. Thanks for that. Danny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listin

Re: Client Authentication

2013-03-26 Thread Daniel O'Callaghan
On 27/03/2013 10:37 AM, Michael Ross wrote: I'm happy to share a program I wrote which slows down the brute force attackers. It simply counts the SYN packets from a given IP and limits the rate per minute by dropping the packet if they are coming too fast. Uses ipfw divert sockets, so would wo

Re: Client Authentication

2013-03-26 Thread Daniel O'Callaghan
On 27/03/2013 4:18 AM, Joseph Olatt wrote: Any ideas/suggestions on this will be appreciated. Thanks, > >-- Doug A little while back I wrote a system to do a simple Two Factor Authentication and dynamic manipulation of PF (Packet Filter) Tables. I created it to prevent brute-force attacks on th

Re: Remote IP to script over inetd

2013-03-25 Thread Daniel O'Callaghan
Hi Radek, On 25/03/2013 10:09 PM, Radek Krejc(a wrote: #!/bin/sh echo $REMOTEHOST getpeername() info is not available in Bourne shell directly. You need to use perl or C or So you can do something like this: -- #!/usr/bin/perl # Example code from http://perld

Re: route BGP

2013-03-21 Thread Daniel O'Callaghan
Hi, On 22/03/2013 12:28 PM, just man man wrote: do you have configuration routing BGP in freebsd ? thank you I use quagga, because that's what I have been using for the last 10 years. http://www.freshports.org/net/quagga-re/ http://www.freshports.org/net/quagga/ You might also like to try O

Re: "Leaking" disk space

2013-03-20 Thread Daniel O'Callaghan
On 21/03/2013 3:55 AM, Dan Thomas wrote: Stopping Postgres doesn't fix it, but rebooting does which points at Have you used fstat to identify the big growing file which is taking up the space, and which process has the file open? A file which has been unlinked from all directories won't be seen

Re: Jail question

2013-02-26 Thread Daniel O'Callaghan
Bernt Hansson wrote: I would like to install an old version of freebsd let's say 4.6 in a jail. Is that possible. Host is 8.3-stable amd64 Things like ps won't run, but you can copy static binaries from host:/rescue to jail:/{bin,sbin} as appropriate and that helps a lot. I just installed a 5

Re: I made a mess. libc

2013-02-22 Thread Daniel O'Callaghan
On 22/02/2013 4:44 PM, Shane Ambler wrote: You missed the earlier suggestion - at the single user prompt for a shell don't just hit enter - type in /rescue/sh This suggestion was gold for me, but in a different way. I have for years lamented the passing of static binaries in /bin and /sbin. I

Re: http://localhost/phpmyadmin

2013-02-20 Thread Daniel O'Callaghan
On 21/02/2013 9:09 AM, Armando Palax wrote: sorry as I can access my localhost from my phpmyadmin, what happens is that I need to create a database and I can not enter because the strip http://localhost/phpmyadmin error. would help me thanks More information is needed. What error do you get?

amd64 and COMPAT_AOUT

2013-02-19 Thread Daniel O'Callaghan
I'm migrating a lot of services to a new server running 9.1 amd64. I have a VMWare FreeBSD 3.3 server I want to decommission, which is running a client's website with a shopping cart system in an a.out binary (source code lost long ago). I have just tried to build a new kernel on the 9.1/amd64