Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th May 2008, 06:01 PM
heropage Offline
Registered User
 
Join Date: Sep 2006
Posts: 4
problem with apf to block an IP

I have blocked this IP 125.115.144.28

/etc/apf/apf -d 125.115.144.28
But

netstat -anp|grep tcp|awk '{print $5}'| cut -d : -f1 | sort | uniq -c | sort -n
It still showing

202 125.115.144.28
Why?
Is it supposed to blocked right away, or need some time to get blocked.

When I checked /etc/apf/deny_hosts.rules
The IP is in the file.
Reply With Quote
  #2  
Old 30th May 2008, 03:52 PM
heropage Offline
Registered User
 
Join Date: Sep 2006
Posts: 4
also when I use
Quote:
apf -d 117.81.0.0/16
to block Ip range

But
117.81.124.101
still exist.

Is it supposed to block all
117.81.xxx.xxx
Reply With Quote
  #3  
Old 30th May 2008, 05:46 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
it has been a while but i was using httpd.conf it block ip addresses
Code:
<Directory "/var/www/( my site)">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    Deny from 125.115.144.28
</Directory>
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #4  
Old 2nd June 2008, 03:09 PM
heropage Offline
Registered User
 
Join Date: Sep 2006
Posts: 4
Quote:
Originally Posted by JohnVV
it has been a while but i was using httpd.conf it block ip addresses
Code:
<Directory "/var/www/( my site)">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    Deny from 125.115.144.28
</Directory>
I am not using apache.
Will apf really work?
Reply With Quote
Reply

Tags
apf, block, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't get ip address..network admin block somehow block my MAC address rd813 Servers & Networking 4 23rd October 2008 10:19 AM
Block WAN except SSH, allow anything on LAN sej7278 Security and Privacy 3 14th October 2006 04:17 PM
New kid on the block kd7skx Using Fedora 4 29th September 2005 04:56 AM
block error HUGE PROBLEM wrightjj Using Fedora 4 10th September 2005 11:33 PM
Block P2P Dorival Boege Junior Servers & Networking 0 22nd July 2005 05:20 PM


Current GMT-time: 11:18 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat