Displaying 20 results from an estimated 1000 matches similar to: "[PATCH] Add configurable timeout to ipconfig"
2003 Apr 29
0
[PATCH] Fix busy-looping behaviour in ipconfig
The ipconfig code does not drop incoming packets that it can't handle.
Since the packet socket sends ipconfig its own broadcast requests,
ipconfig has the unfortunate behaviour of eating 100% of the CPU time
when it does not receive an immediate response to its outgoing requests.
This patch fixes the problem, by ensuring that packets are dropped if
they are not handled. It also introduces a
2017 Feb 04
0
[PATCH] ipconfig: handle multiple interfaces correctly
When configuring multiple interfaces, the existing logic in
ipconfig can fail if DHCP replies are received out of the expected order,
or if one or more interfaces never receive replies.
The current ipconfig logic uses a single packet socket to handle
all incoming DHCP replies. If, for example, the host has two interfaces,
A and B, and only B will be sent a DHCP reply, the order of events goes
2019 Jan 18
0
[klibc:master] ipconfig: handle multiple interfaces correctly
Commit-ID: 31810c21e6e7ee7c0478e80cee35b0b7e51de826
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=31810c21e6e7ee7c0478e80cee35b0b7e51de826
Author: Jay Vosburgh <jay.vosburgh at canonical.com>
AuthorDate: Fri, 3 Feb 2017 16:36:51 -0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 02:23:46 +0000
[klibc] ipconfig: handle
2008 Jun 14
2
PATCH: ipconfig may discard useful packets
Thank you Maximilian, this was much easier!
I still have problems with my email setup, I haven't found the time to
migrate my mailbox from Windows yet. And gmail (webmail) doesn't allow
many customizations, so I'm also uploading the patch to
http://users.sch.gr/alkisg/temp/0001-Signed-off-by.patch
I'm sending a patch regarding the discard_packet() function, please
consider it for
2010 Aug 24
0
[PATCH]: Exiting -1 if dhcp client failed
Hey,
I was scripting in klibc and wanted to make an action when the dhcp client
failed at grabing an IP after the defined timeout.
I found that klibc always exit 0 which isn't that convenient .
I wrote a stupid patch that solve this issue.
Cheers,
Erwan
From: Erwan Velu <erwan.velu at zodiacaerospace.com>
Date: Tue, 24 Aug 2010 10:00:23 +0000 (+0200)
Subject: Exiting -1 if ipconfig
2010 Aug 25
0
[patch] ipconfig fixes + run-init nit
hello,
Preparing my first klibc maintainenace release. :)
My plan is to have the patches cook in klibc-queue and once
everythings is fine deploy them in the main klibc repo.
Please test/review belows patches.
I plan to release the current queue really soon for klibc 1.5.20
due to the urgent ipconfig fixes. For now you find my patch queue on:
2005 Jan 06
0
skip unconnected interfaces
This patch makes it so that ipconfig only configures devices that are
connected:
--- klibc-0.194/ipconfig/main.c.orig 2005-01-06 15:20:24.749525888 -0700
+++ klibc-0.194/ipconfig/main.c 2005-01-06 15:24:48.038499880 -0700
@@ -27,6 +27,7 @@
static char do_not_config;
static unsigned int default_caps = CAP_DHCP | CAP_BOOTP | CAP_RARP;
static int loop_timeout = -1;
+static int only_connected = 0;
2011 Mar 28
5
[PATCH 1/3] Only peek and discard packets from specified device.
This patch fixes a bug on systems with multiple connected network devices.
As packet_peek uses all devices to receive data instead of a specific
device. As the return value was never reset it was possible that packets
from other devices were returned by packet_peek. That means that the
ifindex did not match any ifindex of the specified devices the packet was
never removed and packets for the
2009 Mar 12
1
the return value of packet_peek()
Hello, all:
I am executing ipconfig under a terminal and find one thing:
If I execute ipconfig the first time, it will get an ip address from
dhcp server, If I execute ipconfig the second time (or more times),
since my TP-LINK TL-R402M router will give an icmp(ping) packet before
DHCPOFFER,
the ipconfig will fail after it receive the packet and tries unpack
teh packet in packet_recv() since we
2008 May 24
3
ipconfig and boot filename option
Hi,
ipconfig is used in ltsp (thin clients) initramfs. Some of the users
have to have 2 dhcp servers in ltsp environments, so they hit on this
problem:
The first dhcp request is from the pxe rom boot code. This code
ignores any dhcp offers that don't have a filename field. So they
always get the correct address, from the ltsp server.
The second dhcp request (in initramfs) is done by
2017 Dec 31
4
[PATCH klibc 0/4] Fixes from Debian and Ubuntu
The following patches come from Debian and/or Ubuntu packages of
klibc.
Ben.
Ben Hutchings (1):
[klibc] run-init: Add dry-run mode
Jay Vosburgh (1):
[klibc] ipconfig: Use separate sockets for DHCP from multiple
interfaces
Mathieu Trudel-Lapierre (1):
[klibc] ipconfig: Set broadcast when sending DHCPREQUEST and
DHCPDISCOVER
YunQiang Su (1):
[klibc] mips: setjmp.S: don't
2011 Jun 14
0
[PATCH] ipconfig: do_pkt_recv() refix ret initialisation
fix:
usr/kinit/ipconfig/main.c: In function ?ipconfig_main?:
usr/kinit/ipconfig/main.c:350:7: warning: ?ret? may be used uninitialized in this function [-Wuninitialized]
usr/kinit/ipconfig/main.c:346:6: note: ?ret? was declared here
I think the initialisation change in 6df362216a2e5beb4f29feafeabc630034a76914
was unintentional.
Cc: Ulrich Dangel <uli at spamt.net>
Signed-off-by:
2003 Apr 29
0
[PATCH] ipconfig: fix memory leak, and exit if no interfaces to configure
Very small patch.
main.c | 30 +++++++++++++++++++++++++-----
1 files changed, 25 insertions(+), 5 deletions(-)
diff -Nru a/ipconfig/main.c b/ipconfig/main.c
--- a/ipconfig/main.c Tue Apr 29 13:22:55 2003
+++ b/ipconfig/main.c Tue Apr 29 13:22:55 2003
@@ -391,10 +391,10 @@
dev->name = devname;
if (netdev_init_if(dev) == -1)
- return;
+ goto bail;
if (bootp_init_if(dev) == -1)
-
2011 Mar 27
4
ipconfig problem if multiple devices are up
Hi,
it seems that ipconfig has a problem if multiple devices are up and
connected to the same network. It seems that it uses the wrong
socket/device index to compare it to incoming packet. To be more
precise, the packet gets discarded in do_pkt_recv as the ifindex from
state differs always from the incoming packet
To reproduce create two tap devices:
$ sudo tunctl -u uli -t tap0
2019 Jan 18
0
[klibc:master] ipconfig: Implement classless static routes
Commit-ID: ee59de58cd3ebe9e98d19aeaadb39915b0b235fc
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=ee59de58cd3ebe9e98d19aeaadb39915b0b235fc
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
AuthorDate: Wed, 13 Dec 2017 23:04:29 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 03:08:04 +0000
[klibc] ipconfig:
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:
2018 Feb 23
6
RFC 8305 Happy Eyeballs in OpenSSH
Hello,
I use hosts that are dual stack configured (IPv4 and IPv6) and it
happens that connectivity through one or the other is broken and
timeouts. In these case connection to the SSH server can take quite some
time as ssh waits for the first address to timeout before trying the
next.
So I gave a stab at implementing RFC 8305. This patch implements part of
it in sshconnect.c.
* It does not do
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about.
The goal is not to be 100% checkpatch compliant,
but to have more consistent coding style.
As this is a trivial patch serie, will land in 24 hours in klibc git,
unless of course ml review hits a bugger.
Checked with size(3) that the generated kinit, fstype, ipconfig and
nfsmount are the same.
maximilian attems (4):
[klibc] ipconfig: reduce
2010 Nov 28
2
[PATCH] Use canonical hostname for DNS SSHFP lookup
In the current implementation, ssh always uses the hostname supplied by
the user directly for the SSHFP DNS record lookup. This causes problems
when using the domain search path, e.g. I have "search example.com" in my
resolv.conf and then do a "ssh host", I will connect to host.example.com,
but ssh will query the DNS for an SSHFP record of "host.", not
2015 May 23
5
Name based SSH proxy
I am working on a proxy which can be hosted on a single
IP address and dispatch requests to different backends
depending on which hostname the client used to connect to
this IP address.
Currently such a proxy can be build to support HTTP, HTTPS,
SMTP, and DNS. However SSH support is impossible due to
the ssh client not sending the information such a proxy
would need.
I am not the first to want