I am facing a strange problem witht my iptables as there are some firewall entries stored somewhere which is displaying the below firewall entries even after flushing the iptables & when I restart the iptables service then the firewall entries are again shown in my iptables as shown below,
I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.
I've tried iptables save, iptables-save and iptables save active.
"iptables save" and "iptables save active" give me an invalid argument error. "iptables-save" isn't a valid command. "iptables --help" gives me a list of valid switches, none of which have to do with saving.
I've read in several places that it is recommended to bind-mount /var/tmp to /tmp.This can be done by adding the following line to /etc/fstab:/tmp /var/tmp none rw,noexec,nosuid,nodev,bind 0 0How can this be beneficial? In other words why should we bind-mount /var/tmp to /tmp ?
In programming and various terminal programs (Screen, Vim) the [, ], { and } tends to be used a lot. I'm using a Norwegian keyboard where these are placed such that I have to stretch my fingers a bit too long for whats comfortable. To make it easier I though I'd try to make alt+[some key] be one of these characters. Is there a way that I can bind, say alt+� (Norwegian letter) to '{' system wide?Btw, is such thing called binding, mapping or something else? I'm getting a bit confused by the terms...
I am unable to restore my iptables from iptables-save after upgrading Fedora. I cannot get iptables-restore to work, and I have resorted to entering rules manually using the GUI.
I recently installed a new Ubuntu PC that runs iptables and PSAD. I had the same script on another Ubuntu PC, but when I copied the script onto the new PC, I got this error. I don't remember where I found the tutorial for this, all I know is that this is the script (Edited for my usage):
Code:
#!/bin/bash # Script to check important ports on remote webserver # Copyright (c) 2009 blogama.org # This script is licensed under GNU GPL version 2.0 or above
root@NETWORK-SERVER:/var/ddosprotect# ./ipblock.sh ' not found.4.4: host/network `127.0.0.1 Try `iptables -h' or 'iptables --help' for more information. ' not found.4.4: host/network `192.168.1.8
why but on one of my boxes I am having trouble adding a new zone with the BIND Configuration GUI. When I click New->Zone, it'd pop up a long form for me to fill out various things like .....
Cache Time To Live Authoritative Name Server Responsible Person E-mail etc
I notice that on the working box, it'd populate the output of the "hostname" command onto the "Authoritative Name Server" field. However, on the box that doesn't allow me to add new zones, it uses something like localhost.
I've tried setting up BIND from a fresh install. I've followed a few tutorials (all seem to follow a similar routine), but it doesn't appear to work properly.
This is what happens when I query my domain: [URL]
This is my named.conf file:
Code: // // named.conf for Red Hat caching-nameserver // options { directory "/var/named";
[Code].....
I've compared both files to examples and they don't appear to be any different - I'm at a loss as to what is wrong or where I should start to troubleshoot it.
To expand: I'm trying to set up a box with l7-filter, and I need to patch and compile iptables 1.4.1.1 as part of the process. I ./configured it with the prefix= argument so it would install into /sbin instead of /usr/sbin, and I did a yum remove iptables before installing it so as not to get in the way of the original iptables, but I'm wondering if this is really necessary - it's kind of annoying, because removing the original iptables removes the init.d script, deregisters the service, etc. If I don't, is it possible that iptables 1.4.1.1 might get overwritten in a system update or something, or will yum see that I've got a custom/newer version in there and leave it be?
I have vps box with debian. I have two ip addresses, but first (default) is currently unavailable. In that case there is many problem. Fortunately wget has --bind-address option so I can download. My question is how can i configure apt-get, aptitude to use specific address?
I'm new to using a BIND DNS server. I currently have one set as a master zone on my LAN. My question is how can I add a record for my local lan that will resolve without typing in the FQDN? For example I want to be able to type "server" instead of "server.domain.com".
Ubuntu was a good choice for free server O/S. I am currently downloading it. My ISP wants to bind my static IP to a MAC address of the device that will be making my connection for me. Should my server be behind my router or in front of it? I kinda wanted it to be the access point and be able to monitor the usage from all the terminals in my house. We have 4 other PC's, a laptop and a PS3. My server is a Acer Altos G530 with 3.2 Xeon Processor, 4 gb of ECC DDR,
I have installated and configured Bind. But when I restart the named service, I am getting the following error.
31 14:29:16 Server avahi-daemon[2440]: Server startup complete. Host name is Server.local. Local service cookie is 1560939195. Mar 31 14:29:46 Server named: /etc/named.conf:3: change directory to '/var/lib/named' failed: file not found Mar 31 14:29:46 Server named: Mar 31 14:29:46 Server named: /etc/named.conf:3: parsing failed Mar 31 14:42:34 Server named: /etc/named.conf:3: change directory to '/var/lib/named' failed: file not found Mar 31 14:42:34 Server named: Mar 31 14:42:34 Server named: /etc/named.conf:3: parsing failed .....
I need to publish my local webserver from my lan to access outside using internet, I have public ips provided by ISP my local webserver address is 192.168.1.5 and I want to bind this local address to a public ip (Ex: 61.8.153.212) to use it out side my lan through squid.
From a scan with nmap,I saw that,on my desktop,3 services were visible,ssh(which I don't want to disable),rpc-bind and smtp.As far as I know rpc-bind and smtp aren't needed on a desktop pc(I don't plan on having a mail server,at least on this pc),but before disabling something I need,I am asking it here-do I need them for some vital service?I am running OpenSuse 11.
I want to let a regular user (not just root) restart apache on my Ubuntu machine.I was using /etc/init.d/apache2 so I figured this is what I have to set permissions for. I set the owner group for this file a group to which that user also belongs. I set the chmod to 775 but it didn't work. I then even set it to 4775 thinking this would totally make it work but it still didn't.I'm obviously giving permissions to the wrong file.
The error says:
Quote:
httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs But I didn't find httpd anywhere on my machine.
I am using Ubuntu linux, and I want fn + up key and fn + down key to change the brightness instead on fn + F4 and fn + F5. I've tried looking for something in the Keyboard Shortcuts menu, but there is no command or key specified to do that. I could make a custom key shortcut, but I can't find the command to change the brightness. Is there a way to make another key do this? My laptop is a Dell Inspiron 1545.
I've just configured a bind server for my home domain on Fedora 12. One thing that's buggering me is that Bind tries to do its lookups first with IPv6, which fails and then falls back to IPv4. This seems to me an unnecessary use of resources, so I'd like to turn this off. This is possible by using the option named -4, but there comes the part where. the Named start/stop script is defined in the /etc/rc.d/init.d dir, but how can I get Fedora to start this script with the named -4 option?
Need Bulk record creating for BIND DNS server. I have information in a file I need to crate a new zone and A-record. I have 10000 domains in a file. Is there any tool available to do this @ one go