search for: spamt

Displaying 5 results from an estimated 5 matches for "spamt".

Did you mean: spam
2011 Mar 28
5
[PATCH 1/3] Only peek and discard packets from specified device.
...not match any ifindex of the specified devices the packet was never removed and packets for the correct device were never processed. This patch enhance packet_peek and packet_discard to only work on packages for the specified device instead of all packets. Signed-off-by: Ulrich Dangel <uli at spamt.net> --- usr/kinit/ipconfig/bootp_proto.c | 2 +- usr/kinit/ipconfig/dhcp_proto.c | 2 +- usr/kinit/ipconfig/main.c | 16 ++++++---------- usr/kinit/ipconfig/packet.c | 16 +++++++++------- usr/kinit/ipconfig/packet.h | 6 +++--- 5 files changed, 20 insertions(+),...
2011 Apr 15
2
[PATCH] Escape DHCP options written to /tmp/net-$DEVCICE.conf
...ter 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 spamt.net> --- usr/kinit/ipconfig/main.c | 55 +++++++++++++++++++++++++++++++------------- 1 files changed, 39 insertions(+), 16 deletions(-) diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c index 76708a9..e53e22c 100644 --- a/usr/kinit/ipconfig/main.c +++ b/usr/kinit/ipconfig/m...
2011 Jun 08
1
[PATCH] Don't try to guess the nameserver in ipconfig.
...tch 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. Closes: #594638 Signed-off-by: Ulrich Dangel <uli at spamt.net> --- usr/kinit/ipconfig/main.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c index 4833bb7..0fd35c1 100644 --- a/usr/kinit/ipconfig/main.c +++ b/usr/kinit/ipconfig/main.c @@ -176,11 +176,6 @@ static void po...
2011 Jun 14
0
[PATCH] ipconfig: do_pkt_recv() refix ret initialisation
...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: maximilian attems <max at stro.at> --- Need to field test it yet, haven't checked it on usage. usr/kinit/ipconfig/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c index 4833bb7.....
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