Ubuntu Networking :: How To Get Hosts.deny Work In 10.04

Sep 12, 2010

I have read the man files on hosts (deny/allow) and think I understand how they are supposed to work but reality has proven me wrong.

My simple test case was to add "ALL: ALL " to the end of hosts.deny which I though should make the Internet not work. I can still look up hosts fine so apparently I don't understand these files or Ubuntu is ignoring them.

This is my hosts.deny file

Code:

Code:

and hosts

Code:

hosts.deny is the only file I have edited (so far)

View 5 Replies


ADVERTISEMENT

Ubuntu :: No Hosts File - Just Hosts.allow And .deny?

Jan 26, 2011

Probably an easy (which means stoopid) question...I am trying to reroute a website using my hosts file so that it matches my servers certificate file for testing without effect dns and the live site.When I went to edit my /etc/hosts file it is non-existent. I have, I am assuming in it's place, hosts.allow and hosts.deny. Can anyone explain why I do not have a hosts file?

View 1 Replies View Related

Ubuntu Security :: Sshd And Hosts.deny Not Always Observed?

Jan 18, 2010

I'm having troubles trying to understand this problem:my homeserver until yesterday had a public IP, staying on network, with sshd running and all was fine;this evening I changed the IP, giving it a local lan address, and what happened if I tried to connect to it by ssh?I got an error about "Connection closed by remote host". Google helped me finding that was regarded to hosts.deny file, that was actually containing a lineALL:ALLthat I commented, and all was fine.My question is: why the hosts.deny (that has never changed) was observed only with the local IP?I tried to switch back to the public IP and leaving ALL:ALL, and it did connect without any problem

View 1 Replies View Related

Security :: Configure Deny.hosts For Opensuse 11.1?

Sep 7, 2010

I just downloaded the DenyHosts2.6python2.5.rpm for deny.hosts from sourceforge and would like to set it up. I normally use fish://, smb:// and ftp:// on the boxes on my lan. I already have files called hosts.allow and hosts.deny in the /etc folder. Will the rpm configure hosts.deny when first run?

View 1 Replies View Related

Ubuntu Security :: Deny Hosts Removing An Ip And Checking Tcpwrappers?

Oct 21, 2010

I could not find any where the documentation the only best which I got was [URL]

My question is the following blog says to remove an IP from /etc/hosts.deny which denyhost has blocked

[URL] you need to have a directory /usr/share/denyhosts/data I do not find any such directory

Also when I tried to check tcp wrapper configuration as given here

[URL]

tcpdchk -v Cannot find your inetd.conf or tlid.conf file. Please specify its location.

what does the above output mean? How do I make sure denyhosts is doing its job?

View 2 Replies View Related

General :: Denyhosts Keeps Adding IP Address To Hosts.deny?

Aug 10, 2010

I have setup Denyhosts to run on my server, and have been using it succesfully for the last few weeks, to allow me to ssh into my server from my home dev machine.

This morning, I accidentally typed my password incorrectly three times - and ended up being locked out of the system (tghat was ok, because that was what was supposed to happen). I logged into the server via another way and took the following actions (in the order given)

/etc/init.d/ssh stop
/etc/init.d/denyhosts stop
removed my IP address from /etc/hosts.deny
/etc/init.d/ssh start

[Code].....

View 1 Replies View Related

Ubuntu Security :: Denyhosts Working \ First Time Adding Lots Of Ips To The Hosts.deny?

May 16, 2011

I just set up denyhosts and it worked properly the first time adding lots of ips to the hosts.deny.I then set it to run every 12 hours noon and midnight.I wanted to see if ran properly and I got all this.Does it look like its working?

Code:
May 15 12:00:01 hyrule CRON[14286]: (root) CMD (python /usr/share/denyhosts/denyhosts_ctl.py -c /usr/share/denyhosts/denyhosts.cfg )

[code]...

View 4 Replies View Related

Security :: Invalid Login Attempts Not Refused Using Deny Hosts And Conf Of Denyhost Not Working?

Oct 28, 2010

I am using denyhosts on a server so in a config file/etc/denyhosts.confthe following value is setQuote:DENY_THRESHOLD_INVALID = 3which as per their configuration file saysQuote:

DENY_THRESHOLD_INVALID: block each host after the number of failed login
# attempts has exceeded this value. This value applies to invalid
# user login attempts (eg. non-existent user accounts)

[code]...

View 1 Replies View Related

Security :: Warning: /etc/hosts.deny, Line 20: Missing ":" Separator?

May 15, 2010

I am getting a warning from /etc/hosts.deny

Code:
ALL: 192.168.1.3
ALL: 172.68.11.204

[code]...

View 14 Replies View Related

Ubuntu Networking :: Proxy Settings: Allowed Hosts Instead Of Ignored Hosts

Aug 17, 2011

Well, as many proxy applications, GNOME Network Proxy Preferences only allow to ignore hosts. What I want to do is exactly the opposite. I only want to use the proxy for few sites. Is it possible to define only the allowed hosts in any way?

PS: I know FoxyProxy add-on for Firefox does this, but 1)I don't use Firefox and 2)I want the proxy settings system wide not only for browser.

View 9 Replies View Related

Networking :: Iptables To Deny UDP?

May 9, 2011

I just want to allow only some udp ports and deny all tcp access as my script below:

Code:
# Generated by iptables-save v1.3.5 on Sun May 8 17:33:16 2011
*filter

[code]....

View 3 Replies View Related

Networking :: Squid.conf Deny All Except 1 External Ip

Jul 3, 2010

I have encountered a problem using squid, I am currently configuring my squid to deny all http and https except 1 external dst ip address which I will use to connect trough RDP, how can I configure my squid with what I want to accomplish?

View 1 Replies View Related

Ubuntu Servers :: Virtual Hosts Don't Work With Any Web?

Jan 21, 2010

I don't know if I'm posting in the right box - I'm new to both Ubuntu and this forum so please bear with me. Thing is, I spent almost 2 days trying to find a web server that meets my likes. I tried like almost every well known web server, be it Apache, Lighttpd, Nginx, and Cherokee, one by one. For each I was successfully in getting PHP up and running, but was never able to configure the virtual hosts.

I'm 99.99% sure that I - for multiple times - followed correctly the online how-to's. Especially Cherokee, I did exactly the screencast (which is just 2 steps, as Cherokee has a GUI for virtual server setups). Strange enough, with each web server the virtual hosts thing never worked for me. I always received "Server not found" error. I tried with Firefox and Google Chrome. Currently I'm on an Ubuntu 9.10 (32bit) box - I reinstalled this one over the 64bit, to vain.

Don't know if it's a problem with my DNS, but I have another machine running Windows 7 with the same DHCP settings (means same DNS and IP range). Virtual hosts work fine there on an XAMPP installation.

View 9 Replies View Related

Ubuntu Networking :: Symbolic Links Deny Permission In Samba Share?

Oct 19, 2010

I have a Samba share that contains a symbolic link and when I try accessing it from the WinXP machine it denies permission. If I access it from the Linux account, it goes in with no problems. Is there a certain setting that needs to be set or enabled or is this just one of those things with Samba?

View 5 Replies View Related

Fedora Networking :: Deny Access To Wireless Routers?

Mar 26, 2009

Here's the issue: from time to time I have to take away my son's access to the internet, so I exclude his laptop from my wireless Linksys router. Works like a charm, or it did until he discovered that my neighbor also has a wireless router, and hasn't secured it.

So my son sits in the corner of the house closest to my neighbor and uses their internet.

Is there any way I can tell his laptop to NOT access a particular router? Or even better, to only access my router?

View 14 Replies View Related

Networking :: Run The Job Under A Root Account And Deny Read/write Access To A Normal User?

Jan 18, 2010

I'm setting up Ubuntu Karmic on my sister's old computer for my nephew, he's quite young so my sister asked to install some content filtering. I'll first setup an OpenDNS account and I've installed and managed to get dansguardian and squid working on a virtual machine to try it out. so far it's working pretty well, but I need to secure it form the inside out.

I was thinking of blocking specific outbound ports so he could not bypass the proxy. because by default the firefox configuration can be easily changed. so I have a couple of questions.

1. is it possible to block outgoing ports on Ubuntu?
2. is that the best method?
3. is there anything else I should be aware of to prevent subversion?

lastly, this question is probably unrelated to this board but I've set up a cron job to update a dynamic ip with OpenDNS, the problem is that the password is in clear text in the user's crontab, can I play with permissions? is it possible to run the job under a root account and deny read/write access to a normal user?

View 1 Replies View Related

Security :: Use Current /etc/hosts File To Do An Ssh-keyscan Instead Of Making A Special List Of Hosts?

May 2, 2011

I'm trying to use ssh-keyscan to get some known_host file population going on, but I have a ton of hosts I want to scan, all with multiple aliases in /etc/hosts. Is there a way to use my current /etc/hosts file to do an ssh-keyscan instead of making a special list of hosts that (from what I've read) ssh-keyscan needs?

View 2 Replies View Related

Ubuntu Servers :: Apache2: SNI & Virtual Hosts - Multiple Virtual Hosts With Ssl And Only 1 Ip Address

Jan 17, 2011

[Code]....

What I want: multiple virtual hosts with ssl and only 1 ip address: In my example: server = 192.168.227.129

[Code]....

View 9 Replies View Related

Ubuntu Networking :: 10.04 Can't Reach Some Hosts

Aug 31, 2010

I have a problem reaching some hosts on the Internet, namely newegg.com and djangoproject.com. On the same machine and network connection using Windows 7 the host names resolve properly and I can connect to them. The host names are resolving in Ubuntu, but I cannot connect to them.

View 9 Replies View Related

Ubuntu Networking :: Resolve Hosts By Name On SOHO

Aug 24, 2010

I bought a network printer, gave it a host name, address should be assigned by my cable or DSL router. Thats what DHCP and DNS is made for right?Now I will print to that printer from my (Lucid) Kubuntu box and resolve it by it's hostname.I can't ping it by printername, I can't ping it by printername.local.It works when I login my router, read out the IP address and hostname the printer registered at the routers DHCP-table and use that address.What can be done that a router transfers the hostnames it has in it's IP-table to clients upon DHCP resolve AND whenever a client get's a new IP-Address?

View 9 Replies View Related

Ubuntu Networking :: Windows Hosts IP Conflict?

Aug 30, 2010

What happen if we assign a static IP address to both linux and windows host?Consider host A is a ubuntu machine and host B is a windows machine. I first set a static IP for host A (W.X.Y.Z) and connect to it through ssh. Then I duplicate that IP for host B (W.X.Y.Z).The result was that I could no longer connect to the ubuntu machine!

View 9 Replies View Related

Ubuntu Networking :: IP Address Is Wrong /etc/hosts Not Working?

Jan 2, 2011

Something is definitely odd here:Quote:

[rena@mercury:~ 500]
$ hostname
mercury

[code]....

View 9 Replies View Related

Ubuntu Networking :: Way To Have / Etc / Hosts File Re-read Sooner?

Feb 28, 2011

I often manually add a troublesome domain (e.g., advertisements, fake virus alerts, etc.) to my /etc/hosts file on Ubuntu 10.04 Lucid; but the effect isn't immediate.My hosts file is already fifteen thousand lines long (having combined all the hosts files I could find on the net, including the MVP one); but I still, almost daily, find a new irritant to add to my /etc/hosts file.My problem is I do not understand WHEN the /etc/hosts file is next read after a change.I've been rebooting to make sure the hosts is re-read; but there must be a simpler way.My question:

- WHEN is the /etc/hosts file reconsidered in Ubuntu?
- Is there a way to have the /etc/hosts file re-read sooner?

View 9 Replies View Related

Ubuntu Networking :: Vbox Guests On 2 Different Hosts Need To Connect?

Jul 15, 2011

In my home network I have two ubuntu desktops that are connected to a router. On each pc I have installed Virtual Box 3.2 and various OSes. I need to sometimes run multiple vm's at the same time which is very RAM intensive so I was wondering if there is any way to connect VM's on different hosts so that they appear they are in the same network? Various articles that show up as search results hardly pertain to what I want to do. Basically, I would like to make vm's visible in the network but on different hosts and with ip addresses that would reflect that those vm's are on a same network. Like ubuntu 1 has vm's a and b and ubuntu 2 has c and d. When I start all of the vm's, I would like them to connect to each other just like they are in the same network without "knowing" they are on different hosts.

View 3 Replies View Related

Fedora Networking :: Can't Ping Some Hosts?

Jun 25, 2011

Not sure what iis going on, I can ping some hosts on the internet but not others see below (adobe is not the only example) Works OK from another host on the same network with same GW and DNS iptables is turned off

[root@havoc init.d]# ping www.arrl.org
PING www.arrl.org (184.106.62.248) 56(84) bytes of data.
64 bytes from www.arrl.org (184.106.62.248): icmp_req=1 ttl=55 time=94.1 ms
64 bytes from www.arrl.org (184.106.62.248): icmp_req=2 ttl=55 time=93.0 ms
64 bytes from www.arrl.org (184.106.62.248): icmp_req=3 ttl=55 time=99.4 ms
64 bytes from www.arrl.org (184.106.62.248): icmp_req=4 ttl=55 time=96.8 ms

[Code]...

View 2 Replies View Related

Networking :: Can I Use NAT And Some Local Hosts Without It On System Box

Aug 7, 2010

I'm using NAT on an AP with linux. Is it possible to route an OUTGOING host not over NAT?

I'm using SNAT but could also use MAQUERADING I think. Because both are in POSTROUTING table and this table is the last one I don't think there is a solution or is there any solution?

Background:
I'm using a local VoIp client which I want to have an own ip for routing question in my network but don't want all other local machines as seperate ip's because if done so i.e. without NAT the routing table is very complicated ...

View 1 Replies View Related

Networking :: /etc/hosts Modification Isn't Affected

Apr 26, 2011

I have embedded linux (apm distributive). I modify /etc/hosts file and that changes not affected.

What could be the problem?

Example
/etc/hosts
127.0.0.1 localhost
127.0.0.1 hana-009
ping hana-009
ping: bad address 'hana-009'

View 7 Replies View Related

Networking :: Find All Devices/hosts?

Mar 31, 2010

How can I find all the devices(printers,etc...) and computers along with their OS if any installed that are connected in my intranet (devices/computers may be down here)?

I did this earlier using netstat or nmap not sure what I used and how I did.

View 3 Replies View Related

Networking :: Hosts Not Able To Resolve IP Address?

May 28, 2010

I have to build a netwrok for small lab and office setup.Setup as belowI have a PC running with Centos 5.4 and has 4 NIC cards. eth0, eth1, eth2 and eth3

View 3 Replies View Related

Networking :: How To Monitoring Network Hosts

May 6, 2010

I have a small office network with windows machines and a Linux Internet access server (CentOS 5.4). For Internet access I use masquerade, so everione can access every Internet service.
I periodicali have quite big traffic from one of the hosts, but I can't figure out which one is that?

Is there any linux command which will show me the bytes/packets (or any useful infos) going to specific hosts?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved