* Re: set route LSRR/SSRR option by iptables or nftables
@ 2016-05-27 22:46 Bernhard Thaler
0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Thaler @ 2016-05-27 22:46 UTC (permalink / raw)
To: zh99998; +Cc: netfilter
depending on your setup/requirements, you could use NFQUEUE and e.g.
python nfqueue bindings and scapy to add source routing ip options
-> use NFQUEUE target in OUTPUT or POSTROUTING chain to send packets of
your choosing to a queue
-> write a python program
-> use nfqueue bindings to receive packets from queue
(https://www.wzdftpd.net/blog/nfqueue-bindings.html)
-> use scapy (http://www.secdev.org/projects/scapy/) to add IP Options
and LSRR/SSRR and update the packet
have a look here for some examples:
-> https://5d4a.wordpress.com/2011/08/25/having-fun-with-nfqueue-and-scapy/
-> http://allievi.sssup.it/techblog/archives/631
^ permalink raw reply [flat|nested] 2+ messages in thread
* set route LSRR/SSRR option by iptables or nftables
@ 2016-05-13 0:55 神楽坂玲奈
0 siblings, 0 replies; 2+ messages in thread
From: 神楽坂玲奈 @ 2016-05-13 0:55 UTC (permalink / raw)
To: netfilter
how could I set "strict source and record route" (SSRR) and "loose
source and record route" (LSRR) by iptables or nftables ?
if they can't do it, is there any other way to do it?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-27 22:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-27 22:46 set route LSRR/SSRR option by iptables or nftables Bernhard Thaler
-- strict thread matches above, loose matches on Subject: below --
2016-05-13 0:55 神楽坂玲奈
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox