search for: outdev

Displaying 20 results from an estimated 21 matches for "outdev".

Did you mean: outdec
2007 Apr 18
3
[Bridge] Re: do_IRQ: stack overflow: 872..
On Fri, 07 Jan 2005 17:05:59 +0000 David Woodhouse <dwmw2@infradead.org> wrote: > On Sat, 2004-12-18 at 08:50 +0100, Andi Kleen wrote: > > It's not really an oops, just a warning that stack space got quiet > > tight. > > > > The problem seems to be that the br netfilter code is nesting far too > > deeply and recursing several times. Looks like a design
2007 Apr 18
1
[Bridge] [PATCH/RFC] Reduce call chain length in netfilter (take 2)
...sed for protocol-flags. */ @@ -138,21 +139,32 @@ void nf_log_packet(int pf, /* This is gross, but inline doesn't cut it for avoiding the function call in fast path: gcc doesn't inline (needs value tracking?). --RR */ #ifdef CONFIG_NETFILTER_DEBUG -#define NF_HOOK(pf, hook, skb, indev, outdev, okfn) \ - nf_hook_slow((pf), (hook), (skb), (indev), (outdev), (okfn), INT_MIN) -#define NF_HOOK_THRESH nf_hook_slow +#define NF_HOOK(pf, hook, skb, indev, outdev, okfn) \ +({int __ret; \ +if ((__ret=nf_hook_slow(pf, hook, &(skb), indev, outdev, okfn, INT_MIN)) == 1) \...
2006 Jan 13
0
HTB not shaping correctly ? (or bad scripts...)
...unused band of class B must be given to C (if needed) The unused band of class C must be given to B (if needed) We started with the following HTB configuration: # DEV_RATE=530kbit DEV_CEIL=530kbit RT_RATE=240kbit RT_CEIL=240kbit MC_RATE=180kbit MC_CEIL=530kbit BE_RATE=80kbit BE_CEIL=530kbit OUTDEV=atm0 iptables -t mangle -F iptables -F tc qdisc del dev $OUTDEV root handle 1: # Classification of A iptables -t mangle -A PREROUTING -p udp --dport 50000 -j MARK --set-mark 100 iptables -t mangle -A PREROUTING -p udp --dport 50000 -j ACCEPT # Classification of B iptables -t mangle -A PREROUTING...
2007 Apr 18
1
[Bridge] bridge at start up
...ok = NF_IP_LOCAL_OUT, > }; > > ... > > /* Send it out. */ > return NF_HOOK(&nf_ip_local_out, skb, NULL, rt->u.dst.dev); > > This gets us down to 4 arguments from 6. I think we can kill > one more. > > It is never the case that both indev and outdev are both > set, so we can use some nf_hook_desc piece of state to > indicate which (in or out) the passed device pointer is. > > Oh yes, we can nicely add the thresh thing in here too > while we're at it. > > So the final nf_hook_desc might look something something...
2003 Dec 26
2
[Bug 84] Unaligned access in ip_tables.c:ip_packet_match
..._mask[i]; + } if (FWINV(ret != 0, IPT_INV_VIA_IN)) { dprintf("VIA in mismatch (%s vs %s).%s\n", @@ -164,11 +172,11 @@ ip_packet_match(const struct iphdr *ip, return 0; } - for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) { - ret |= (((const unsigned long *)outdev)[i] - ^ ((const unsigned long *)ipinfo->outiface)[i]) - & ((const unsigned long *)ipinfo->outiface_mask)[i]; - } + for (i = 0, ret = 0; i < IFNAMSIZ; i++) { + ret |= (outdev[i] + ^ ipinfo->outiface[i]) + & ipinfo->outiface_mask[i]; + } if (FWINV(ret != 0, IPT_...
2008 Oct 07
7
Looking for testers and advise about ISOLINUX within ISO 9660
...cat \ -no-emul-boot -boot-load-size 4 -boot-info-table \ /media/dvd \ | \ xorriso -as cdrecord -v dev=/dev/hdc - xorriso also serves as "cdrecord" here. One can have the same in xorriso's own command notation and with automatic blanking of media which need it: xorriso -outdev /dev/hdc \ -blank as_needed \ -map /media/dvd / \ -boot_image isolinux dir=/boot/isolinux xorriso is comprised of the following components: - libisofs under responsibility of Vreixo Formoso, - libburn, libisoburn, xorriso under responsibility of me, Thomas Schmitt. Neither Vreixo n...
2015 Oct 25
2
Isohybrid wiki page and UEFI
Thomas Schmitt via Syslinux said on Sat, Oct 24, 2015 at 12:56:49AM +0200: >Needed is a EFI FAT image > 32 MiB and a new xorriso (available >on demand). My test script on RHEL 7.1 creates that even if I could make it smaller as the kernel + initrd fits in less than 32 MB. So let me make that try first ! o I changed myline in the script to dd a 30 MB image file, burt the ISO with it, and
2003 Apr 13
1
Restrict access to certain ips.
Hello, I have a machine with several ips. My goal is to only allow access to one ip for a certain user. for example 192.168.1.11 may only be used by UID 1001 I have found in the man page for bind following errno numeric: > EACCES The address is protected, and the user is not the super-user. Is it possible to restrict access to certain ips to certain uids? - Thilo Schulz
2014 Apr 10
0
questions about ebtable ip extension
...b, brnf_get_logical_dev(skb, in), parent, br_nf_forward_finish); } here, let us suppose pf = NFPROTO_IPV4, i think the return value of brnf_get_logical_dev(skb, in) equals parent ? its comment 'This is the 'purely bridged' case. For IP, we pass the packet to * netfilter with indev and outdev set to the bridge device' so when calls hooks at ipv4 level like iptable_filter_hook,iptable_mangle_hook, we can not distinct in and out devices? in other word, we can not use in/out dev with ebtables's ip extension. thanks -------------- next part -------------- An HTML attachment was...
2014 Apr 10
0
questions about ebtable ip extension
...b, brnf_get_logical_dev(skb, in), parent, br_nf_forward_finish); } here, let us suppose pf = NFPROTO_IPV4, i think the return value of brnf_get_logical_dev(skb, in) equals parent ? its comment 'This is the 'purely bridged' case. For IP, we pass the packet to * netfilter with indev and outdev set to the bridge device' so when calls hooks at ipv4 level like iptable_filter_hook,iptable_mangle_hook, we can not distinct in and out devices? in other word, we can not use in/out dev with ebtables's ip extension. thanks -------------- next part -------------- An HTML attachment was...
2014 Apr 10
0
questions about ebtable ip extension
...b, brnf_get_logical_dev(skb, in), parent, br_nf_forward_finish); } here, let us suppose pf = NFPROTO_IPV4, i think the return value of brnf_get_logical_dev(skb, in) equals parent ? its comment 'This is the 'purely bridged' case. For IP, we pass the packet to * netfilter with indev and outdev set to the bridge device' so when calls hooks at ipv4 level like iptable_filter_hook,iptable_mangle_hook, we can not distinct in and out devices? in other word, we can not use in/out dev with ebtables's ip extension. thanks -------------- next part -------------- An HTML attachment was...
2018 Apr 29
1
formating DVR-RW
On Sun, 29 Apr 2018, Thomas Schmitt wrote: > Michael Hennebry wrote: >> The last time I use it [K3B], , it crapped out after writing, >> but before finalizing. > > Sounds like a growisofs problem. > > If it was with unformatted DVD-R or DVD-RW media, does it resemble this > error ? > https://bugzilla.redhat.com/show_bug.cgi?id=810483 > > Any message from
2015 Oct 28
3
Isohybrid wiki page and UEFI
...uments... >Let's see whether my emulation knows all your options. # ./mkisouefi 30000+0 records in 30000+0 records out 30720000 bytes (31 MB) copied, 0.0786484 s, 391 MB/s mkfs.fat 3.0.20 (12 Jun 2013) GNU xorriso 1.4.1 : RockRidge filesystem manipulator, libburnia project. Drive current: -outdev 'stdio:testuefi.iso' Media current: stdio file, overwriteable Media status : is blank Media summary: 0 sessions, 0 data blocks, 0 data, 33.0g free xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules xorriso : FAILURE : -as mkisofs: Unrecognized option '-efi-boot...
2018 Apr 27
0
formating DVR-RW
...ank you for flying xorriso. :)) It has a cdrecord-wodim-compatibility mode described in man 1 xorrecord. Formatting is done by: xorrecord -v dev=/dev/sr0 blank=format_overwrite The native command mode is more versatile but demands learning new names and new rules. See man 1 xorriso. xorriso -outdev /dev/sr0 -format as_needed The mode "as_needed" formats what can be formatted and is not formatted yet. It throws no error if the medium is not suitable for formatting. Have a nice day :) Thomas
2008 Oct 24
2
Failure to boot isohybrid image from USB stick
....2.9.tar.gz Example of writing a prepared file tree under /mnt as ISO image directly onto USB stick at /dev/sdb: xorriso -as mkisofs -o /dev/sdb \ -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \ -no-emul-boot -boot-load-size 4 -boot-info-table \ /mnt resp.: xorriso -outdev stdio:/dev/sdb \ -blank as_needed \ -boot_image isolinux dir=/boot/isolinux \ -map /mnt / The MBR feature may be disabled by adding option -as mkisofs ... isolinux_mbr=off ... resp. -boot_image isolinux isohybrid=off Default is mode "auto". Mode "o...
2012 Apr 25
1
forwarding packets to service in same host without using loopback network
...;hw_addr[i]); printf ("%02x ", hwph->hw_addr[hlen - 1]); } mark = nfq_get_nfmark (tb); if (mark) printf ("mark=%u ", mark); ifi = nfq_get_indev (tb); if (ifi) printf ("indev=%u ", ifi); ifi = nfq_get_outdev (tb); if (ifi) printf ("outdev=%u ", ifi); ifi = nfq_get_physindev (tb); if (ifi) printf ("physindev=%u ", ifi); ifi = nfq_get_physoutdev (tb); if (ifi) printf ("physoutdev=%u ", ifi); ret = nfq_get_payload...
2014 Feb 09
1
isohybrid --mac doesn't find the mac efi image
...tt wrote: > -eltorito-id "MAC" \ thanks a lot, that seems to allow isohybrid --mac to work \o/ for the curious this is the image before and after isohybrid as shown by gparted * output from xorriso xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project. Drive current: -outdev 'stdio:../image.iso' Media current: stdio file, overwriteable Media status : is blank Media summary: 0 sessions, 0 data blocks, 0 data, 16.5g free Added to ISO image: directory '/'='/chroot/livecd32/real-small' xorriso : UPDATE : 36 files added in 1 seconds xorriso : UPDATE...
2003 May 05
5
iproute2: gatewayed routes in ancillary tables
Hello all, Tomas Bonnedahl and I recently corresponded about a rather odd behaviour with routes in ancillary routing tables. We both receive a "Network is unreachable" error when we try to add gatewayed routes to ancillary tables and the main routing table does not contain an entry for the gateway IP. It seems that unless a route to the gateway IP exists in the main routing table, I
2002 May 23
1
Multiple Internet Connection, established connection dropping issues
To begin with I have not applied and am not using the patches provided by Julian Anastasov. http://www.linuxvirtualserver.org/~julian/ I do not believe at the moment they apply to the problem I am having. If they are I will go through the process of applying the patch. They mostly have to due with what happens when a connection dies. At the moment both of my connections are live, and I am having
2007 Apr 18
4
[Bridge] [PATCH/RFC] Let {ip, arp}tables "see" bridged VLAN tagged {I, AR}P packets
...art_xmit_p, because br_netfilter.c needs to know the address of vlan_dev_hard_start_xmit(). When the local machine sends a packet through br0.1000, we need to allow filtering in LOCAL_OUT/FILTER on the bridge out port, so we need to be able to postpone the iptables filtering. - add nf_bridge->netoutdev for vlan. When the local machine sends a packet through br0.1000, iptables -o br0.1000 should match instead of iptables -o br0. In the bridge code, it is not known that the out device was br0.1000, so we need to save this info in nf_bridge->netoutdev. - change nf_bridge->hh size to 18, which...