Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 12:36:45 +1200
From:      Dave Preece <dave.preece@kbgroup.co.nz>
To:        freebsd-hackers@freebsd.org
Subject:   Re-inserting packets into firewall.
Message-ID:  <67B808B0DD93D211ABEE0000B498356B2B4E92@internet.kbgroup.co.nz>

next in thread | raw e-mail | index | archive | help
I'm having a go at writing a 'component' in the firewall chain. The
component may, or may not, readdress the packet and therefore I need to drop
it back into the chain at the next rule.

Should be simple.

So I've written some test code just to scoop up packets and drop them back
in unaltered using sendto. Doesn't seem to work though, it scoops up the
packets fine, and upon resending them they aren't being passed to the next
rule. Also so tried with net.inet.ip.fw.one_pass as both 1 and 0, with
little difference. 

Any ideas? I have loads of FM's to R, but can't seem to get much divert
socket specific stuff - pointers would be appreciated. Hmm, shall hit the
books and ip_fw.c some more.

Thanks,
Dave



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67B808B0DD93D211ABEE0000B498356B2B4E92>