search for: ip_addr

Displaying 20 results from an estimated 84 matches for "ip_addr".

2009 Jul 09
1
[PATCH 1/5 ovirt-server] Add glusterfs to task-omatic API for {task_storage,utils}
...d, 90 insertions(+), 0 deletions(-) diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb index 77363ac..97ae4fc 100644 --- a/src/task-omatic/task_storage.rb +++ b/src/task-omatic/task_storage.rb @@ -202,6 +202,8 @@ class LibvirtPool return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port], logger) elsif pool[:type] == "NfsStoragePool" return NFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger) + elsif pool[:type] == "GlusterfsStoragePool" + return GLUSTERFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger...
2009 May 28
0
[PATCH server] Use fixed mount points and add timeouts to various calls.
...2) raise "Error defining pool: #{result.text}" unless result.status == 0 # Refresh qpid object with new properties. @@ -195,7 +195,7 @@ class LibvirtPool def self.factory(pool) if pool[:type] == "IscsiStoragePool" - return IscsiLibvirtPool.new(pool.ip_addr, pool[:target]) + return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port]") elsif pool[:type] == "NfsStoragePool" return NFSLibvirtPool.new(pool.ip_addr, pool.export_path) elsif pool[:type] == "LvmStoragePool" @@ -220,8 +220,9 @@ class Lib...
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
...t;Error building pool: #{result.text}" unless result.status == 0 end @@ -193,11 +197,11 @@ class LibvirtPool return false end - def self.factory(pool) + def self.factory(pool, logger) if pool[:type] == "IscsiStoragePool" - return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port]) + return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port], logger) elsif pool[:type] == "NfsStoragePool" - return NFSLibvirtPool.new(pool.ip_addr, pool.export_path) + return NFSLibvirtPool.new(pool.ip_addr, pool.export_path, lo...
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client connected available to the authentication modules; i.e., the local IP address is available for substitution as %i for the mysql and pgsql modules. We needed this feature to support thousands of our legacy accounts which are authenticated by username/local_part (not the full email address) and IP address (one per domain). Timo,
2017 Jan 28
3
known_hosts question for Ubuntu Server 14.04 and 16.04 LTS
Hello & thanks for reading. I'm having a problem configuring known_hosts from scripts so an accept key yes/no prompt doesn't appear. I'm using this command to detect if the server is known and add it to known_hosts: if ! ssh-keygen -F ${IP_ADDR} -f ~/.ssh/known_hosts > /dev/null 2>&1; t hen ssh-keyscan -p ${PORT} ${IP_ADDR} >> ~/.ssh/known_hosts; fi This works fine for the machine that has only one port (22) in sshd_config, but for a machine that is being accessed on a non-standard port (they happen to be different versio...
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...vname+5, &e1, 10); diff --git a/usr/kinit/nfsroot.c b/usr/kinit/nfsroot.c index b5ab3bb..3b80773 100644 --- a/usr/kinit/nfsroot.c +++ b/usr/kinit/nfsroot.c @@ -56,9 +56,8 @@ int mount_nfs_root(int argc, char *argv[], int flags) dev_bootpath = dev->bootpath; break; } - if (dev->ip_addr != INADDR_NONE && dev->ip_addr != INADDR_ANY) { + if (dev->ip_addr != INADDR_NONE && dev->ip_addr != INADDR_ANY) client = dev->ip_addr; - } } /* @@ -107,6 +106,6 @@ int mount_nfs_root(int argc, char *argv[], int flags) goto done; } - done: +done:...
2009 Jul 31
0
[TAKE-2][PATCH 1/5] Add glusterfs to task-omatic API for task_storage
...d, 50 insertions(+), 0 deletions(-) diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb index 8165818..77b0166 100644 --- a/src/task-omatic/task_storage.rb +++ b/src/task-omatic/task_storage.rb @@ -202,6 +202,8 @@ class LibvirtPool return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port], logger) elsif pool[:type] == "NfsStoragePool" return NFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger) + elsif pool[:type] == "GlusterfsStoragePool" + return GLUSTERFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger...
2002 Jul 07
2
wins.dat to DNS
Hi, I'm wondering how to setup my DNS server (BIND 9.1.1) to read a zone from my wins.dat file. Is there a script I can use, or is there some other way to do it? I'm a linux newbie so a lot of info helps! Thanks, Jeff Nichols -------------- next part -------------- HTML attachment scrubbed and removed
2010 Jun 18
2
[PATCH] hdt & gcc -Werror
...more_printf("%s", buffer); snprintf(buffer, sizeof(buffer), " Product : %s \n", p->pci_device->dev_info->product_name); - more_printf(buffer); + more_printf("%s", buffer); } more_printf(" Addresses : %d.%d.%d.%d @ %s\n", p->ip_addr[0], p->ip_addr[1], p->ip_addr[2], p->ip_addr[3], p->mac_addr);
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
...te_pool_started - @remote_pool.destroy - end - if @remote_pool_defined - @remote_pool.undefine - end - end - - def xmlequal?(docroot) - return false - end - - def self.factory(pool) - if pool[:type] == "IscsiStoragePool" - return IscsiLibvirtPool.new(pool.ip_addr, pool[:target]) - elsif pool[:type] == "NfsStoragePool" - return NFSLibvirtPool.new(pool.ip_addr, pool.export_path) - elsif pool[:type] == "LvmStoragePool" - # OK, if this is LVM storage, there are two cases we need to care about: - # 1) this is a LUN with L...
2004 May 28
1
ipconfig related question (do not get static IP setting)
Hi!! I found your ipconfig stuff in the udev rpm in SuSE 9.1. I'm about to setup a initramfs (pretty cool - much better than initrd) to boot linux diskless clients over the net. All the tools I would need, seem to be there with ipconfig/nfsmount ... I like to use the information I get from PXE/syslinux or Etherboot writing something like:
2004 Jul 09
1
passing remote ip to pam
...ACE_H +#include "network.h" + /* max. size for auth_login_request_continue.data[] */ #define AUTH_LOGIN_MAX_REQUEST_DATA_SIZE 4096 @@ -57,6 +59,8 @@ struct auth_login_request_continue { enum auth_login_request_type type; /* AUTH_LOGIN_REQUEST_CONTINUE */ unsigned int id; + struct ip_addr remote_ip; + size_t data_size; /* unsigned char data[]; */ }; diff -rpu dovecot-0.99.10.6.deborig/src/auth/mech-plain.c dovecot-0.99.10.6/src/auth/mech-plain.c --- dovecot-0.99.10.6.deborig/src/auth/mech-plain.c 2003-05-18 05:26:28.000000000 -0700 +++ dovecot-0.99.10.6/src/auth/mech-plain.c 20...
2008 Mar 16
3
max connects per host?
Hi everyone! I want to manage mail server resource part (like it can CGP) and with it I have one question. Is any way to limit overall max simultaneous connections to imap/pop3 server from one(each) host, except use iptables/ipfw and so on? Like a patch to dovecot or, maybe, it can be released in future versions? I know about mail_max_userip_connections in dovecot 1.1 but it can't limit
2008 Jul 11
3
CUPS and system-config-printer question
I was tasked with migrating a bunch of printer entries from one box to another. What I did is I got a list of printer names along with IP addresses and using the CUPS lpadmin -p printer-name -E -v lpd://IP_ADDR/lp I loaded them onto the new machine running RHEL 4.6. Printer tests show that it works fine. And if I use the CUPS web interface at http://localhost:631 Everything shows up. But if I launch the RH (and presumably CentOS works the same way) system-config-printer interface after adding...
2007 Mar 28
2
Multiple IP(or Host) listen in dovecot.conf.
Hi. Does someone make update for `Multiple IP(or Host) listen in dovecot.conf'? I made trivial patch so. But this patch doesn't solve `Support listening in multiple sockets' in TODO. It appends only the capability as multiple listen in dovecot.conf. So, `login_processes_count' becomes ambiguous. In CASE1, login_processes_count = 2, forked imap-login processes are 8. -- samples
2005 Jan 05
1
[PATCH] kinit/nfsmount.c path from bootp
...39;; - argv[a++] = (char *) "-o"; - argv[a++] = opts; - } - for (dev = ifaces; dev; dev = dev->next) { print_device_config(dev); if (dev->ip_server != INADDR_NONE && dev->ip_server != INADDR_ANY) { addr.s_addr = dev->ip_server; client = dev->ip_addr; + dev_bootpath = dev->bootpath; break; } if (dev->ip_addr != INADDR_NONE && @@ -102,6 +89,25 @@ } } + /* + * if the "nfsroot" option is set then it overrides + * bootpath supplied by the boot server. + */ + if ((path = get_arg(argc, argv, "nfsroot...
2005 Mar 11
3
IP in rawlog
Hi, i'm using dovecot with rawlog enabled. Well, i need to log the IP of the user, too. Could you give me a hint, how this can be implemented? Thanks and regards, Andreas Goertz.
2007 Apr 17
2
IPv6 version specific classification in crossbow
Hi all, As part of IPv6 version specific classification support in crossbow we are introducing ip_version option in flowadm interface and associated classification functions. If ip_version option is not specified, but v4 or v6 address is passed as arg. to ip_addr option of flowadm cli that can also help to populate version specific bits in flow_mask to specify if policy (and flow entry instance) is for IPv6 type flow or IPv4 type flow. Here , lack of specification of ip_version and ip_addr options would result in ambiguity in classification. To be more...
2011 Apr 15
2
[PATCH] Escape DHCP options written to /tmp/net-$DEVCICE.conf
...103,22 +122,26 @@ static void dump_device_config(struct netdev *dev) snprintf(fn, sizeof(fn), "/tmp/net-%s.conf", dev->name); f = fopen(fn, "w"); if (f) { - fprintf(f, "DEVICE=%s\n", dev->name); - fprintf(f, "IPV4ADDR=%s\n", my_inet_ntoa(dev->ip_addr)); - fprintf(f, "IPV4BROADCAST=%s\n", - my_inet_ntoa(dev->ip_broadcast)); - fprintf(f, "IPV4NETMASK=%s\n", my_inet_ntoa(dev->ip_netmask)); - fprintf(f, "IPV4GATEWAY=%s\n", my_inet_ntoa(dev->ip_gateway)); - fprintf(f, "IPV4DNS0=%s\n", - my_ine...
2009 Aug 07
4
CentOS as a router
I am setting up a small CentOS-5.3 host to act as a router. I have the device configured and working. What I am trying to accomplish now is configuring the firewall so as to protect both the router and the LAN. The host configuration has the WAN attached to eth0 (IP_ADDR = A) and the LAN attached to eth1 (IP_ADDR = B). The default gateway for B is A. The default gateway for B is B-1. There is a static route set for eth0 (A) to route traffic for B/24 to B. My understanding is that INCOMING packets, for the purposes of iptables, originate outside the host interfa...