General :: If Server Restarts Does Information In Iptables Get Lost?

Aug 9, 2009

If the server restarts, does the information in iptables get lost? I have seen a number of pages where people recommend readding lines or creating bash scripts to get it to work again. What about files like squid.conf, ncsa_auth files, etc.?

View 10 Replies


ADVERTISEMENT

Ubuntu :: Try `iptables -h' Or 'iptables --help' For More Information - ' Not Found.4.4: Host/network `98.200.58.73

Nov 3, 2010

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

[code]....

Safe.txt contains:

Code:

127.0.0.1
192.168.1.8
192.168.1.1
98.200.58.73
192.168.0.1

And the error message generated is:

Code:

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

[code]....

View 3 Replies View Related

General :: Crontab Saved In Case Of Server Restarts?

Aug 10, 2009

Is the crontab saved in case of server restarts?

View 2 Replies View Related

General :: OpenSSH Server Restarts Twice When Booting - Ubuntu 9.10

Mar 20, 2010

Changes I've made to the config files:

Connecting with PuTTy works fine with my public/private keys. But why does sshd start and then restart twice when booting? I tried looking in the logfiles under /var/log/ for anything with ssh/sshd but nothing shows up.

Ubuntu Server 9.10

View 6 Replies View Related

Ubuntu Servers :: Iptables -L Spitting Out Ufw Information?

Jun 16, 2011

Though I have uninstalled and rm -rf'ed everything I can find having to do with ufw, I am still getting weird output from iptables -L If I type in

Code:
iptables -F
iptables -Z
iptables -L
I should get

[Code]...

View 2 Replies View Related

Debian :: Domain Name - When Reboot The Computer - Information Lost ?

Aug 4, 2010

I insert the domain name "g3c" in menu: System->Administration->Network (file attach)

When i reboot the computer this information lost: why ?

Where i must insert this information ?

My s.o. is debian 5.05

View 2 Replies View Related

Fedora Networking :: 10 DNS Information Gets Lost After Changing IP Address To Static

Feb 21, 2009

I am using Fedora 10 and when I first installed my machine, I had a DHCP assigned address to my network card. Later on I decided that I wanted to give my machine more of a server role, so I switched to static IP using the system-config-network utility. What happened after that was that I did change the IP address and routing information, but DNS information gets lost at every reboot, so I need to type it back again.

View 5 Replies View Related

General :: Script For Getting Server Information

Apr 20, 2011

I am new to Scripting. My task is to create a script that would pull the old server(unix) and new server(linux) information and should display all the task information for migration/cutover purpose to the other areas. We already have a script that gives information about ip, subnet, gateway and other information as follows:
#readip ad30db01
Server IP Subnet Gateway VLAN
10.x.x.x 255.x.x.x 10.x.x.1 100

There is a main server which has info about all the servers and we execute the readip from the main server which gets info about any old or new server. So, in my script, I am calling this script, and I want to display only few contents of the readip output as follows:
Hostname: (I should display the server ip from the read ip only out)
Subnet: Should display the subnet from the readip output
Gateway: Same
Vlan: Same

View 1 Replies View Related

Fedora Networking :: Iptables Redirects And Prerouting Settings Lost After Reboot

Oct 31, 2009

Im new to fedora 11 and iptables, and i need to set the following set of instruction so VirtuaBox can accept request from lan, to the mailServer in the guest os, but after restart fedora i have to input it all again.How can it become permanent entry in iptables.

View 2 Replies View Related

General :: Move All The Information & Configuration Of DNS02 To The New Server?

Apr 5, 2011

We do have primary & backup DNS both are running in Linux. I'm planning install the 3rd DNS & move the DNS02 to this server(DNS03)& remove the DNS02 later. Ho can I do move all the information & configuration of DNS02 to the new server? configuring the DNS03 & removing DNS02.

View 13 Replies View Related

Ubuntu Servers :: Server Restarts When It Wants?

Jul 12, 2010

I'm currently using ubuntu desktop 9.10 (without desktop - I've removed packages) as OS on my server.But there's going on some strange thing ... There are about 8 users, and the thing is they many times user rar or some other disk-demanding programs. What I've noticed is that sometimes server will go with load over 20 (I know that's not good ...) and it will come down in few minutes and everything is OK, but sometimes it just restarts itself. I would like to disable that so it won't restart

View 9 Replies View Related

Ubuntu Servers :: Server Restarts Continuously?

Jan 31, 2010

Recently, I updated the kernel to the latest version and also installed Ruby and the Passenger module for Apache. The server was fine for a few days.However, today, it's been restarting randomly (usually a minute after I can log in).I tried booting with recover mode so I could view the logs for a longer period of time, but that caused it to restart before even allowing me to log in. Now, all boot modes will just cause the server to restart right after the GRUB messages appear.Our server setup complicates things. We have a RAID-1 mirroring for the /boot partition and a RAID-5 (software) for the / partition

View 1 Replies View Related

Ubuntu Servers :: Server Restarts Randomly?

Jul 2, 2011

I`m using Ubuntu Server 10.10. The system randomly restarts each day.Here are the logs: http://paste2.org/p/1499309Everything seems normal except that UDP: short packet thingy but even Google didn`t help me to find what`s thatBy the way, I think reboots started after I configured this PC as a gateway between internet and my local network

View 2 Replies View Related

Red Hat / Fedora :: My Virtal Server Automatically Restarts

Sep 2, 2010

This is my first message. I manage a Virtual Web Server(provider Dattatec).

The problem is that the server automatically restarts... in /var/log/messages, i don't see any message:


I ask mi provider, and says that is because is out of memory... How can i check this? How can i know why my server restarts ?

View 5 Replies View Related

General :: Determine Whether Computer 'gets IP Address Information From Dhcp Server On Network'

Sep 24, 2010

First, (for samba) how do I determine whether my computer "gets IP address information from a dhcp server on the network," and whether "the dhcp server provides info about WINS servers ("NetBIOS name servers") present on the network," and consequently whether a change to my smb.conf file, "so that DHCP-provided WINS settings will automatically be read from /etc/samba/dhcp.conf," and whether the dhcp3-client package must be installed?

View 2 Replies View Related

General :: Monitoring Users' Download Information In The Proxy Server - OS Is CentOS

Jan 24, 2010

I have configured the proxy server. I want to observer users's download information. What should I need to do? Shall I install squint? what is the process? How do I monitor the users?

View 1 Replies View Related

Debian :: Alt+Ctrl+F1 Restarts X Server - No Virtual Console

Feb 8, 2010

I installed latest stable debian lenny. However when I want to switch to a virtual console by pressing Alt+Ctrl+F(1-6) the X server is restarted and I get the gdm login screen. When I kill gdm, virtual console switching works fine. How to switch a to a terminal and return to my X session by pressing Alt+Ctrl+F7?

View 10 Replies View Related

OpenSUSE Install :: 11.2 - User Information Entered At The Beginning Of The Install Gets Lost

Jan 2, 2010

When trying to install 11.2 from DVD, the user information I entered at the beginning of the install gets lost. I get to the Automatic Configuration step at the end of the install where the computer needs to reboot, and it asks for my user ID and password (it shouldn't do that). It won't accept the user I created (always says login failed), but it will accept root. That really doesn't matter, because the Automatic Configuration step has done anything, and I have a busted install. I've tried the install 4 or 5 times, but it is always the same problem. I eventually reinstalled 11.1 without any problem (though I did have to click Use Entire Disk on the partition section so it would delete the ext4 partitions created by the 11.2 install and create ext3 partitions).

View 3 Replies View Related

Ubuntu :: Data Lost - Open Office Or Pdfs - Have No Information And They Won't Open

Dec 14, 2010

I don't know if I'm doing something wrong but I've been running Ubuntu or a variant for about a year now and suddenly every now and then one or two of my documents (open office or pdfs) have no information and they won't open.

View 6 Replies View Related

General :: Allow Access To Server From Only 1 IP Address Using Iptables?

Aug 3, 2011

I have a server located remotely that I'd like to protect by allowing access to only my IP address (on any port). Currently anyone can access the server using ssh, http, and any other services that my server is running. (The reason I need to protect it for now is that it's a test/development server and really only needs to be accessed by me.)

The downside of doing this is every time my desktop IP address changes (from where I access the remote server), I would need to update the iptables configuration. (This could be a hassle, but based on my limited knowledge it seems to be the best way to allow access from only myself.)

Could anyone share how to allow access to my server using iptables from only my IP address and on any port?

View 4 Replies View Related

Fedora Networking :: Automount A Nfs Share When The Server Machine Restarts?

Mar 16, 2010

I'm making a clever backupsystem based on nfs and rsync.Basically, I export folders from the clients to a backup server, and the backup server processes them and makes backups.The backupserver mounts the folders during startup, but if a client restarts, then I guess it would unmount from my backupserver, right?What can I do to make it automount the folder whenever the client gets back up again?All the clients are static servers without much interferance, without any risk of external people tampering with them and without internet access. Security is not an issue, and any kind of shady compromisingcripts will do.However, installing software on them is tricky as I have to download packet for packet and transfer them via usb manually.

View 9 Replies View Related

Ubuntu :: Run From Cron Shutdown Command Restarts Server Instead Of Shutting It Down?

Jan 4, 2010

I want my server to automatically shutdown at 23:59 and startup at 8:00. The startup is handled through by bios but the shutdown is to be managed through cron. I thought I had this working, I actually swear I had it working because I thought the uptime command showed the appropriate uptime. I happened to be up and was streaming a movie from my server when at the time it should've shutdown it actually just restarted. If I run the shutdown -h now command by itself it works well but the scheduled command just restarts the server. Here is the what is shown when I enter crontab -e.

View 9 Replies View Related

General :: When Restart The Iptables Service Then The Firewall Entries Are Again Shown In Iptables?

Sep 17, 2010

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,

[root@myhome ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

[code]....

View 6 Replies View Related

General :: Make NIS User Information Override Local User Information On Client Systems?

Jul 30, 2011

How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?

View 1 Replies View Related

General :: Iptables Rules To Allow Nfs Clients Access To Nfs Server?

Jan 20, 2011

I'm curious but recently I was troubleshooting some iptables rules to allow nfs clients access to my nfs server. What was strange was that I setup a tcpdump session on my nfs server so that I can see which ports were being requested. I ran several tcpdump sessions with the following filters in place.

tcpdump -vv src ip_of_client and dst _ip_of_client
tcpdump -vv src hostname_of_client and dst hostname_of_client

However, the only packet I ever saw come over the wire to me was the client host asking for a arp resolution. Anyhow, I finally just ran 'rcpinfo -p' and added those ports to my iptables rules and it worked great. However, I would like to understand how nfs works in case I need to troubleshoot it in the future. I do understand that nfs uses portmappers, would this explain the behavior?

View 1 Replies View Related

General :: Settings - In My Server The Iptables And Ip6tables Services Are Not Running ?

Jan 25, 2011

In my server the iptables and ip6tables services are not running. But still i am getting some iptables and ip6tables related alerts on my /var/log/messages. My technical leader told me that there might be some mis-configuration in iptables configuration file. But i didnt see anything wrong.

Quote:

Quote:

What does it mean "Jan 25 11:01:32 beteduibsrv3 avahi-daemon[3308]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::226:b9ff:fefc:6ec4."

View 2 Replies View Related

General :: Installing VSFTPD And Configuring IPTables To Match Another Server?

Nov 11, 2009

I've been tasked with setting up a RHEL FTP server to mirror one we currently have. From what I've read, I need to install and configure VSFTPD and then configure IPTables. From what I've been able to come up with, I need to follow the steps in this article to install and setup VSFTPD. Is this a good complete article to follow you think?Also, how do I copy the iptables config from that server to my new one? I think that iptables on our current server only allows certain IPs or blocks certain IPs (not sure which), so I need to have it do that on my new server as well

View 14 Replies View Related

Server :: Ubuntu And Bind - Named Log File Is Not Logging Info After Syslogd Restarts

May 7, 2009

Ubuntu ver 8.04.1 and Bind ver 9.4.2

I've set this up as a primary dns server, Bind is the only thing running on it, no gui, etc. I followed the default settings so I have a named.conf, named.conf.options, and named.conf.local file.

I have a log file I labeled as named.log in this path /var/log/bind. I'm using logrotate to rotate out the file.

My problem is that after syslogd restarts in the morning. My named.log file don't start logging info until I restart Bind. The new named.log file gets created and the old files rotate out and compress. All of the other log files in /var/log, syslog, messages, mail, etc, rotate out and compress like they should, after syslogd restarts.

I know that I could restart Bind using Cron but I shouldn't have to.

Below are snips of the files I'm using.

I named this one 'bind' and it's in the directory /etc/logrotate.d

View 8 Replies View Related

General :: Making Mail Server Lost In Config

Apr 17, 2010

I have installed the following successfully.
Ubuntu Server 9.10
MySQL
Apache

Now I wish to make my own mail server for my organisation we already have a ISP server but would like to act this for our local delivery and store mails something like what a daemon does. For this I did the following:
Installed fetchmail
Installed send mail
Installed exim
Installed squirell

And now I am completely lost. How do I setup from here. So that I can configure the server.
My server spec are:
PIV 2.8GHZ, 512MB ram, 80GB HDD, HIS MOtherboard, lan card. I don't have any DNS or other stuff here in our office.

View 4 Replies View Related

General :: System Hangs Up Or Restarts?

May 10, 2011

I this problem where my laptop hangs up or suddenly restarts. Currently Iam using Fedora 15 but I had this problem when I was using fedora 13. I upgraded to 15 thinking that may be its been resolved in 15.

I have searched for possible solutions. my system software is up-to-date including the kernel which I took from the test repositeries..

I checked /var/log/messages for possible clues but I have not been able to figure it out. Below is the output of /var/log/messages files just before the laptop freezes or restarts.. so far the below output has been consistent with the event...

Code:
May 10 22:44:11 localhost ntpd[1622]: Listening on routing socket on fd #22 for interface updates
May 10 22:44:11 localhost ntpd[1622]: 0.0.0.0 c016 06 restart
May 10 22:44:11 localhost ntpd[1622]: 0.0.0.0 c012 02 freq_set kernel 16.857 PPM
May 10 22:44:18 localhost ntpd[1622]: 0.0.0.0 c61c 0c clock_step +0.160289 s
May 10 22:44:19 localhost ntpd[1622]: 0.0.0.0 c614 04 freq_mode

[Code]....

View 2 Replies View Related







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