Koozali.org: home of the SME Server

Block a country?

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Block a country?
« Reply #15 on: June 21, 2018, 04:43:29 PM »
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline mab974

  • *
  • 84
  • +1/-0
Re: Block a country?
« Reply #16 on: June 21, 2018, 07:30:38 PM »
Something already exists for xtables-addons : (download and build)

https://sourceforge.net/p/xtables-addons/xtables-addons/ci/256ac1a4f6fe8db66031948c80fb066de5695a6e/

not tested yet ....

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Block a country?
« Reply #17 on: June 21, 2018, 07:53:30 PM »
Good spot.

I'll check... perl-GeoiIP2 for smeserver-geoip drags in loads of deps so it will probably work.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Block a country?
« Reply #18 on: June 23, 2018, 11:39:05 PM »
FYI perl-Net-CIDR-Lite is in the openfusion repo.

So the patches ahould work if added to the rpm.

I'll have a look when I get a minute
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline mab974

  • *
  • 84
  • +1/-0
Re: Block a country?
« Reply #19 on: June 30, 2018, 08:20:37 PM »
New versions using GeoLite2 database are available for : 

    xtables-addons
    xtables-addons-kmod
    smeserver-xt_geoip

in http://repos.misouk.com/Sme_Testing/6/repoview/

Note that smedev repo is now required for Perl-Socket  package. (--enablerepo=smedev)
Of course your feedbacks are welcome.



Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Block a country?
« Reply #20 on: July 01, 2018, 12:05:47 AM »
Fantastic !!

Sorry. I'm away on business and had a boat load on at work.

Back in a week and will see if we can get this into the contribs repo.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Block a country?
« Reply #21 on: August 17, 2018, 08:54:27 PM »
Reminder to myself reallt.

I've not forgotten about this. Just waylaid with real life crap !!

I'm also stuck on importing new rpms (I can do an update to an existing one but buildsys is not playing with new). I'm liaising with JPP on this as I have some other stuff to add.

Keep you posted.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Block a country?
« Reply #22 on: February 07, 2019, 01:03:41 PM »
FYI Jean Phillipe has started importing these rpms to the smecontribs repo.

I'll post a link when it is finished
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Block a country?
« Reply #23 on: February 21, 2019, 09:55:10 PM »
As if by magic:

https://forums.contribs.org/index.php/topic,53917.0.html

Original build and kudos to mab974 and Jean Philippe for pulling it into contribs.

That'll keep a lot of the pesky buggers out.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline JeanFowler

  • 2
  • +0/-0
Re: Block a country?
« Reply #24 on: September 23, 2019, 09:26:56 PM »
Well, may be your IP is rather suspected? By anybody else.