Displaying 20 results from an estimated 300 matches similar to: "[PATCH 1/3] Only peek and discard packets from specified device."
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                  
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 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
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 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
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
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:
2011 Apr 15
2
[PATCH] Escape DHCP options written to /tmp/net-$DEVCICE.conf
DHCP options like domain-name or hostname are written to
/tmp/net-$DEVICE.conf which is typically later used by other scripts to
determine the network configuration. This is done by sourcing the
/tmp/net-$DEVICE.conf file to get all defined variables.
This patch escapes the DHCP options written to /tmp/net-$DEVICE.conf
to prevent arbitrary code execution.
Signed-off-by: Ulrich Dangel <uli at
2011 Jun 08
1
[PATCH] Don't try to guess the nameserver in ipconfig.
klibcs ipconfig tries to guess the nameserver if no nameserver is
provided. This may happen due to misconfigured dhcp or the use of
the ip= parameter.
This patch removes the guessing from ipconfig as it is not possible for
any other script to determine if the provided nameserver is valid or
a guessed one. If the old behavior is really needed this could be easily
implemented in an external script.
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 Aug 12
1
Bug#584583: [PATCH] Additional fix for ipconfig
[ adding relevant cc's ]
On Tue, 10 Aug 2010, Julien-externe BLACHE wrote:
> Hi,
> 
> Attached is a second patch for ipconfig, which further improves (actually, 
> restores) ipconfig's behaviour on busy LANs with UDP noise.
> 
> Commit 4efbcf90f60e27febe883ef052454d8cfded5c15 really is the root of all 
> evil, it badly broke ipconfig by doing a lot of changes all
2008 Jun 14
5
PATCH: ipconfig may accept DHCPOFFER as DHCPACK
Hello,
I found a bug in ipconfig and I'm sending a proposed patch for it.
I've only seen it happen in 2 dhcp-server environments. Scenario:
ipconfig sends a DHCP_DISCOVER,
server A answers with a DHCP_OFFER,
server B answers with a DHCP_OFFER,
ipconfig sends a DHCP_REQUEST for server A,
ipconfig accepts the DHCP_OFFER from server B instead of DHCP_ACK from
server A. <== BUG
The reason
2010 Apr 26
1
valgrind ipconfig work
this is just on the common path, need to checkout others too,
but a start:
commit 5501109f6597f2bbed17a264b247c36220362dfb
Author: maximilian attems <max at stro.at>
Date:   Mon Apr 26 08:07:51 2010 +0200
    [klibc] ipconfig: Fix valgrind errors
    
    valgrind was rightfully complaining on ipconfig eth0:
    ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
    
    all
2017 Sep 14
2
Live Register Spilling
> On Sep 13, 2017, at 9:03 PM, jin chuan see via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi All,
> 
> Thanks for the reply. I managed to identify and fixed a few errors in my implementation.
> 
> However, there are a few errors that i am not sure what is it indicating.
> For starters, i think i should explain what i am trying to achieve.
> 
> I am
2012 Jul 22
1
[LLVMdev] How to calculate the address in TableGen?
Hello everyone,
I would like to ask a question about the address calculation in TableGen.
I replace a definition in MipsInstrInfo.td:
def : Pat<(i32 (extloadi16_a addr:$src)), (LHu addr:$src)>;
to:
def : Pat<(i32 (extloadi16_a addr:$src)), (OR (LBu addr:$src), (SLL (LBu addr:($src+1)), 8))>;
However, it failed to compiled. It seems that ($src+1) is a wrong representation in TableGen.
2008 May 13
5
[LLVMdev] Preferring to use GCC instead of LLVM
me22.ca wrote:
> You said that if I have to install GCC, you might as well 
> just use it for everything.  That statement very clearly 
> doesn't apply anymore, since it's binutils that's the 
> dependency.  Or if you still stand by it, it means that 
> you consider GCC to also be "incomplete".
How do I get the necessary binutils on Windoze?  Install 
MinGW or
2009 Jun 04
1
[LLVMdev] endian issue of llvm-gcc and llvm backend
Hi, all
As I'm a Chinese, be patient of my poor description below.
I compiled libgcc into llvm bitcode in both big endian and little endian.
and got 2 different version of function: _ashldi3, the following is the
fragment of this function:
little endian:
=============================================
......
target datalayout =
2002 Nov 19
2
deny host and auth users not working over ssh
Hi-
I have a solaris 8 box with the latest ssl, ssh, and rsync all set up.
 ssh and an apache-sll site are running good - I feel confident that
ssl and ssh are set up correctly, but when I use rsync over ssh, it
(rsync) will allow me to sync as any (system) user from any host ecven
though the rsyncd.conf file in /etc has user auth = <one real system
user> and host deny = *
is there
2017 Sep 12
2
Live Register Spilling
Running llc with '-verify-machineinstrs' may tell you which instruction break the SSA form.
Ruiling
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of jin chuan see via llvm-dev
Sent: Monday, September 11, 2017 10:02 AM
To: Matthias Braun <mbraun at apple.com>
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] Live Register Spilling
Sorry about the