[gentoo-user] How can I block incomming tor-traffic?

2015-06-06 Thread Jarry
Hi Gentoo-users, my web-server gets constantly abused by users which appear to be using tor-network (ip-lookup of source addresses always points to tor-exit.watever). How can I block this tor-traffic completely? I know I can get the list of tor exit-nodes on: check.torproject.org/exit-addresses

Re: [gentoo-user] How can I block incomming tor-traffic?

2015-06-06 Thread Rich Freeman
On Sat, Jun 6, 2015 at 7:04 AM, Jarry wrote: > Hi Gentoo-users, > > my web-server gets constantly abused by users which appear to be > using tor-network (ip-lookup of source addresses always points > to tor-exit.watever). How can I block this tor-traffic completely? > > I know I can get the list o

Re: [gentoo-user] which keymap and keyboard setup

2015-06-06 Thread Alan Mackenzie
Hello, Lee. On Fri, Jun 05, 2015 at 11:33:47PM +0200, lee wrote: > Hi, > which keymap are we supposed to use for a keyboard that has 122 keys? I think you might have to roll your own. As a warning, this can't be done in a single hour. As a matter of interest, what are all the extra keys for?

Re: [gentoo-user] How can I block incomming tor-traffic?

2015-06-06 Thread Stroller
On Sat, 6 June 2015, at 12:04 pm, Jarry wrote: > > … (ip-lookup of source addresses always points > to tor-exit.watever). How can I block this tor-traffic completely? > > How can I feed this list to iptables? Is there some ready-to-use > solution, or do I have to parse this list through some s

Re: [gentoo-user] How can I block incomming tor-traffic?

2015-06-06 Thread Jonathan Moseley
You have to configure it to block all tor proxies. I don't own any servers but that seems like the most logical thing to do. On Sat, Jun 6, 2015, 09:12 Stroller wrote: > > On Sat, 6 June 2015, at 12:04 pm, Jarry wrote: > > > > … (ip-lookup of source addresses always points > > to tor-exit.wate

Re: [gentoo-user] which keymap and keyboard setup

2015-06-06 Thread Peter Humphrey
On Saturday 06 June 2015 11:22:45 Alan Mackenzie wrote: > On Fri, Jun 05, 2015 at 11:33:47PM +0200, lee wrote: > > BTW, this keyboard is awesome. It's just as if you had a Model M, but > > still new, and there isn't anything better available new. I've been > > using those for about 20 years now a

Re: [gentoo-user] Dual OS clock issues

2015-06-06 Thread Daniel Frey
On 06/05/2015 03:29 PM, Fernando Rodriguez wrote: > The main problem is that Windows will change the local time twice a year on > DST zones, aside from NTP how can Linux tell if the time is adjusted? Windows can be set to not do DST updates, I've set this option in the time control panel for bot

Re: [gentoo-user] which keymap and keyboard setup

2015-06-06 Thread Alan Mackenzie
Hello, Peter On Sat, Jun 06, 2015 at 02:25:17PM +0100, Peter Humphrey wrote: > On Saturday 06 June 2015 11:22:45 Alan Mackenzie wrote: > > :-) I have a Filco mechanical keyboard, which works well. Does your new > > keyboard need more desk space than a standard one? That would be a > > negative

[gentoo-user] search files for "text string"

2015-06-06 Thread Joseph
I've bunch of php files in many directories and I need to file a text string in them "Check/Money Order" I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' it doesn't work. What is a better method of searching files? -- Joseph

Re: [gentoo-user] search files for "text string"

2015-06-06 Thread Alexander Kapshuk
On Sat, Jun 6, 2015 at 7:45 PM, Joseph wrote: > I've bunch of php files in many directories and I need to file a text > string in them "Check/Money Order" > > I've tried: > find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' > it doesn't work. > > What is a better method of searching fil

Re: [gentoo-user] search files for "text string"

2015-06-06 Thread Philip Webb
150606 Joseph wrote: > I've bunch of php files in many directories > and I need to find a text string in them "Check/Money Order" 'cd' to the lowest dir which contains them all, then 'grep -r "Check/Money Order" *.php'. -- ,, SU

Re: [gentoo-user] search files for "text string"

2015-06-06 Thread Joseph
On 06/06/15 20:09, Alexander Kapshuk wrote: On Sat, Jun 6, 2015 at 7:45 PM, Joseph <[1]syscon...@gmail.com> wrote: I've bunch of php files in many directories and I need to file a text string in them "Check/Money Order" I've tried: find -type f -print0 | xargs -r0 grep -F 'Chec

Re: [gentoo-user] search files for "text string"

2015-06-06 Thread Alexander Kapshuk
On Sat, Jun 6, 2015 at 8:46 PM, Joseph wrote: > On 06/06/15 20:09, Alexander Kapshuk wrote: > >On Sat, Jun 6, 2015 at 7:45 PM, Joseph <[1]syscon...@gmail.com> wrote: >> >> I've bunch of php files in many directories and I need to file a >> text string in them "Check/Money Order" >>

Re: [gentoo-user] Re: OT: is your metadata safe?

2015-06-06 Thread Bruce Hill
On Fri, Jun 05, 2015 at 05:38:57PM +, James wrote: > > SS7 (The north American "switching standard") where the tariffs are still > enforced is where the phone "meta-data" comes from regardless of how it is > originated. Now, All data from an ISP, Telco > web company, social media or anything e

Re: [gentoo-user] search files for "text string"

2015-06-06 Thread Alan McKinnon
On 06/06/2015 18:45, Joseph wrote: > I've bunch of php files in many directories and I need to file a text > string in them "Check/Money Order" > > I've tried: > find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' > it doesn't work. > > What is a better method of searching files? Defin

[gentoo-user] apcupsd - not emailing me when power down

2015-06-06 Thread Joseph
My remote box is connected direclty to apcups and it is running "apcupsd" However, when I pull the cord out of the wall the "onbattery" script is not email me anything. My configuration: apcupsd.conf UPSCABLE usb UPSTYPE usb DEVICE POLLTIME 60 LOCKFILE /var/lock SCRIPTDIR /etc/apcupsd PWRFAILD

Re: [gentoo-user] search files for "text string"

2015-06-06 Thread Neil Bothwick
On Sat, 6 Jun 2015 13:11:04 -0400, Philip Webb wrote: > > I've bunch of php files in many directories > > and I need to find a text string in them "Check/Money Order" > > 'cd' to the lowest dir which contains them all, > then 'grep -r "Check/Money Order" *.php'. That will only search *.php fil

Re: [gentoo-user] which keymap and keyboard setup

2015-06-06 Thread Peter Humphrey
On Saturday 06 June 2015 14:57:15 Alan Mackenzie wrote: > Hello, Peter > > On Sat, Jun 06, 2015 at 02:25:17PM +0100, Peter Humphrey wrote: > > On Saturday 06 June 2015 11:22:45 Alan Mackenzie wrote: > > > :-) I have a Filco mechanical keyboard, which works well. Does your > > > :new > > > > > >

Re: [gentoo-user] Dual OS clock issues

2015-06-06 Thread Volker Armin Hemmann
Am 04.06.2015 um 21:06 schrieb Derek Ellison: > I have two HDD in a UEFI system. Windows 8 on one and Gentoo on the > other. Currently I have to update the clock everytime I boot to the > other OS and I'm wondering if there is a way I can avoid this? It's > just starting to get to be a pain to have

Re: [gentoo-user] search files for "text string"

2015-06-06 Thread Joseph
On 06/06/15 23:04, Alan McKinnon wrote: On 06/06/2015 18:45, Joseph wrote: I've bunch of php files in many directories and I need to file a text string in them "Check/Money Order" I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' it doesn't work. What is a better method

Re: [gentoo-user] search files for "text string"

2015-06-06 Thread tlze
try: find . -type f -exec grep 'abcd' -l {} \;