Server :: Conditional (on Ip Address) /etc/issue.net Possible?

May 27, 2010

I'm running Debian with openssh 1:5.1p1-5 and I've got an operational and legal /etc/issue.net but I'd like to make it depend on the incoming IP address. To be more specific, I'd like to achieve that no banner is shown when logging in from my company's IP range(s) or when logging in from home, but any unknown address (potential intruder) should be confronted with our legal warning.Is this at all possible?The server is located off-site and only has one ethernet device active (i.e. I cannot say eth0 is external, eth1 is internal)

View 3 Replies


ADVERTISEMENT

Server :: Blocking Dhcpd Address Lease For Specific MAC Address?

Sep 4, 2009

I hv Cent OS 5.3 installed as server. I hv a network of approx 100 desktops and laptops. For a security purpose i want to block certain laptops from gaining a the network access using dhcp. Can we block the ip address leasing if a specific MAC address request for a ip lease?

View 7 Replies View Related

Server :: IP Address In Ubuntu \ Dont Find Inet Address?

Aug 4, 2011

If I give "ifconfig" in my laptop I get eth0,lo,wlan0.In that where do I find my Ip address in Ubuntu in 10.04. In eth0 I dont find inet address.Where can I find it?

View 2 Replies View Related

Software :: Conditional Operator In C?

Feb 24, 2010

if anyone knows plz explain this conditional operator timeout ? : MAX SCHEDULE_TIMEOUT

View 2 Replies View Related

Ubuntu :: Give Server A Actual Address And Not Ip Address?

Mar 15, 2011

i am pretty much brand new to ubuntu i have messed around with it a little and have gotten my apache2 server up and running what i have some questions on is

1. How can i give my server a actual address and not my ip address?

2. Is there any way i can put like forum software on part of it? if so how?

3. What is the best way to write web pages i know some html so thats how i was able to write what i have now just wondering what best way is

View 1 Replies View Related

Server :: Binding Of IP Address To Its Mac Address In Squid Proxy?

Jun 3, 2009

I want to know how to bind Ip addresses to its mac addresses in Squid Proxy

View 5 Replies View Related

Server :: Dhcpd To Give A Certain Ip Address Based On Mac Address?

Nov 24, 2010

Im trying to setup dhcpd to put certain systems witch have mac address starting with 08:00:* in a certain ip class. How can this be done?So any system with mac address starting with 08:00 to get an ip from this range 192.168.12.2-192.168.12.99.

View 11 Replies View Related

Ubuntu :: Bash If/then Conditional Syntax?

Feb 7, 2011

I pride myself on at least trying to help myself before I ask, but I've been staring at this a long time, I'm just not getting any traction.I've literally got 3 linux references on my desk right now that say that I should be able to use if conditionals, for example

[ -d FILE ]True if FILE exists and is a directory.
[ -e FILE ]True if FILE exists.
[ -f FILE ]True if FILE exists and is a regular file.

[code]....

View 7 Replies View Related

Software :: Makefile Conditional Does Not Work?

Jan 29, 2010

I'm trying to write a make file to deploy software in a production setup.

The first thing I'm trying to do is detect if the user running the make is root.

From the documentation scattered about, I came up with this:

Code:

USERID=$(shell id -u)
all:
$(info User Id is $(USERID))
ifeq ($(REQUIRED_USER),0)
$(info Running as root... OK)

[Code]....

As you can see, in both situations, make executes both branches of the conditional.

View 6 Replies View Related

Programming :: Conditional Foreach Loop In Perl?

Jun 1, 2010

#!/usr/bin/perl -w
use strict;
my @files = `ls -1`;

[code]...

View 2 Replies View Related

CentOS 5 :: Application Hangs In Conditional Wait?

Dec 18, 2009

I am facing the following issue. My application runs perfectly in red hat linux(32bit, 64bit physical m/c and 32 bit vmWare m/c) and in one version of centOS(32bit physical m/c - don't remember the version:Sorry). However when I am running the same application in CentOS 5.4 (64bit version) I face the following issues -

a. the application gets stuck in the conditional wait even though the signal is sent after the application has moved to conditional wait. b. vsftpd service start fails from within the application even though the service starts and stops peroperly from console.

View 6 Replies View Related

Server :: 98 - Address Already In Use - Make_sock - Could Not Bind To Address - 443

Oct 26, 2010

I dont know for what reason, I started having this message whenever I try to start httpd.
I commented "Listen 443", restarted httpd started correctly.

I issued "lsof -iTCP:443", I get

Quote:

I can not understand where this come from and why. It seems that it is IPV6 protocol which is in fact not enabled on the network card.

Also, I can not find or dont know where 443 is configured apart from ssl.conf or httpd.conf

Today, I have added xrdp applications in order to be able to connect using RDP.

View 3 Replies View Related

Server :: 98 - Address Already In Use - Make_sock: Could Not Bind To Address 0.0.0.0:80

Mar 10, 2010

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down. Unable to open logs

I am new to apache2 server i have been trying to start the server using the default httpd.conf file provided in the source code but when i give the following command sudo /usr/local/apache/bin/apachectl start i receive the above error and the server shuts down.

View 3 Replies View Related

Server :: Bind IP Address With MAC Address In Squid 3?

Jan 13, 2010

i have followed web site [URL] for MAC to IP bind but it dont work on my system

Code:

acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8

[code].....

View 3 Replies View Related

Programming :: Cannot Get Conditional Statements To Work In XDialog/Dialog

Feb 5, 2011

I cannot seem to get if else statements to work. if $choice == Dog then i want it to say "you selected Dog" The variable choice has the value Dog in it as proved at the end by echo "yes $choice is $choice" following the error Code: ./test.sh: 37: [$choice: not found How do i get the conditional statement to work? What's wrong here? This is the full script:

Code:

#! /bin/sh
: ${DIALOG=dialog}
: ${DIALOG_OK=0}

[code]....

View 7 Replies View Related

General :: BASH Script Alphabetical Conditional Operator Query?

Mar 14, 2010

I am using "if" to force a word under the condition that the first letter of that word must be a letter of the alphabet, regardless of capitalization, using the " "" != "" " syntax.

Like so:

Code:
if [[ "$interface" != "WHAT DO I PUT HERE?" ]] ; then
echo "Invalid input"
exit 1
fi

View 5 Replies View Related

CentOS 5 Server :: Centos And Xen: Lan Error - Vif0.0: Received Packet With Own Address The Source Address

Jun 18, 2010

I installed the Centos 5.5 and after the Xen. After I put a virtual machine named VM01.Initially it worked properly, I tried everything and it worked.When rebooted, I had problems with the network.I have two network cards eth0 and eth1, but eth1 does not have any ip and I use only eth0.The error that appears is:

vif0.0: received packet with own address the source address

View 3 Replies View Related

Server :: Server Refuses Mail With 550 5.1.1 : Recipient Address Rejected: User Unknown?

Nov 13, 2010

I'm having a problem whereby I'm able to send mail to a mailbox from several different email addresses and SMTP servers (gmail, RoadRunner broadband), but I'm unable to send mail to the same address from one particular account, the SMTP server for which runs on a mediaTemple (dv) 3.0 box with CentOS 5 Final.I've spent a full workday on the forums, trying to troubleshoot the issue, and I'm running out of ideas.The server on which I'm having the mail processing problem is a mediaTemple (ve) running Ubuntu 10.04 x64 (Linux 2.6.18-028stab070.7 #1 SMP Fri Oct 1 13:53:00 MSD 2010 x86_64 GNU/Linux), with ISPConfig 3. Here's how I setup the mail-related aspects of the Ubuntu box:

Code:
apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server openssl getmail4 rkhunter binutils dovecot-imapd dovecot-pop3d

[code]....

View 2 Replies View Related

CentOS 5 Server :: Qmail Server Is Not Notifying Email Address Does Not Exist

Oct 27, 2010

One of our client having issue with the qmail. The issue is if any one send email to abc@ourdomain.com (abc@ourdomain.com the email address which is not exist) it should send failure notification i.e."email does not exist" to the sender. The qmail server is not notifying that email address does not exist.

View 1 Replies View Related

Server :: Configure Address Of Next Level DNS In BIND Server?

Sep 24, 2009

I need to know how to configure the address of the next level DNS server in my BIND server. im in a FEDORA 10 system.

View 3 Replies View Related

Server :: Insert IP Address In Configuring DNS Server Using Bind9?

Jul 10, 2010

especially to ubuntu server 8.04 because it doesnt use a GUI. Now my question is on how to insert IP address in configuring DNS server using bind9. Actually i'm using this guideBut i m not sure on how to insert IP addresses on the primary master and secondary master. Should I insert the Ip address that i found when i type ifconfig ? or Should I assign a new IP address.I have set up a webserver, DNS server, File server and mail server on a virtual box. For now, at first, im working with the DNS server or should I work with the web server first?what should I do?

View 1 Replies View Related

Server :: Fixed Address In Dhcp Server

Jul 8, 2010

I want to set up a dhcp server such that the clients get same ip every time. Giving fixed address to every client would be a long process.

"I don't want to assign a specific ip to the client but what i want is the server provides same ip every time"

View 6 Replies View Related

Server :: LDAP Address Book Server

Jul 9, 2010

I have created a LDAP Address Book server for my organization. Now the situation is that everybody in my company is not using email clients but they also want to use centralized address book. So I am searching for any web interface tool which can show addresses from my LDAP Server on web browser. Please help me if anybody knows any web interface free tool for accessing address books.

View 1 Replies View Related

Server :: Server Ip Address Configuration

Jan 2, 2010

i recently built a server running openSUSE. when trying to connect via ssh or telnet or ftp etc etc on my LAN, everything is ok. i just recently found out that when i try to connect to my world ip address {the ip address everyone else sees,] it does not work. i recently came to the conclusion that since the server i built is running off a router connected to another computer, my world ip is the same as that one, and there is no server built on that computer. is there a way i can connect to the computer that is running the server on my network from outside my network i.e from somewhere else?

View 5 Replies View Related

Networking :: Run A Server And Want To Get IP Address

May 25, 2011

I'm trying to run a server, and want to get my IP address but when I run ifconfig, it shows my inet address as 10.0.1.9/10.0.1.4 which, if I recall correctly, is an internal address... my friends can't connect to the server on those ip addresses. My box is wired to the internet, no router, so there's no firewall or router that could be stopping it. Am I doing something wrong with a command, (reading wrong number, etc), or is it a system problem?

View 3 Replies View Related

Server :: Can Smtproutes Contain SRV Address?

Feb 20, 2010

Any way of using an srv smtp entry in the qmail smtproutes for fail over?

View 2 Replies View Related

Fedora Networking :: Specifying DNS Server Address

Aug 3, 2009

I have specified Primary DNS address in Network Manager's DNS tab and saved those settings. But when I restart my PC, Primary DNS address will go blank. How can I save this address premanently?

View 6 Replies View Related

Fedora :: Get An IP Address From The Dhcp Server?

Apr 13, 2011

I have a network with one of the server machine being under Fedora 14 and the clients machines being under Windows 7 and Fedora 14.

Quite often I get some difficulties for the clients to get an IP address from the dhcp server. If I look at the server logs, it looks like the server sees the requests and sends and answer:

Apr 12 19:33:18 dhcpd: DHCPDISCOVER from 00:21:70:c5:22:4e via eth1
Apr 12 19:33:18 dhcpd: DHCPOFFER on 192.168.28.52 to 00:21:70:c5:22:4e via eth1
Apr 12 19:33:23 dhcpd: DHCPDISCOVER from 00:21:70:c5:22:4e via eth1
Apr 12 19:33:23 dhcpd: DHCPOFFER on 192.168.28.52 to 00:21:70:c5:22:4e via eth1
Apr 12 19:33:33 dhcpd: DHCPDISCOVER from 00:21:70:c5:22:4e via eth1

[Code].....

View 8 Replies View Related

OpenSUSE Network :: How To Set IPs Address On My Server

Jan 25, 2010

How to set IPs address on my server using Linux Suse 10.0. Its an old system which was configured before, the type of the modem was changed were by i need also to change the some IPs on the server.

View 2 Replies View Related

General :: Add Allowed IP Address To FTP Server

Jan 13, 2010

I have a RHEL FTP server, which i'm told is setup to only allow certain IPs to connect to the FTP site. I have two questions though.1) what file would show what IPs are currently allowed?2) what command do I do to add another IP to it?

View 6 Replies View Related







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