You are not logged in.

#1 2010-06-28 12:46:30

Toucanfan
Member
Registered: 2010-02-27
Posts: 7

How to enable source routing on outgoing packets?

Hi all smile

Perhaps some of you can help me with this. I recently read http://enclaveforensics.com/Blog/files/ … 8d9-5.html about loose source routing, and would like to do the experiment myself in an isolated network dedicated for testing purposes.

I know how to filter source routed traffic with firewalls (ip-tables), but have no idea of how to enable either loose or strict source routing in the ip-headers for those packets i'm sending out. Maybe there are some kind of setting in some configuration-file? Or are we talking the source code of an application? Kernel compilation setting? Please let me know, if you know how to do it.

And also please notice this: I've got no malicious intentions. I will only perform this in an isolated network dedicated for testing purposes. So please do not accuse me for beeing a cracker/hacker/whatever...

Thankyou

Offline

#2 2010-07-01 11:59:45

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: How to enable source routing on outgoing packets?

the best way to actually enable it system-wide is to use mangle table of iptables to manually enable the ipv4 options and adding the routing info with each packet, on the other hand, you can create a program with python's scapy that does LSRR and SSRR.

Last edited by Sin.citadel (2010-07-01 12:00:07)

Offline

#3 2010-07-01 17:28:56

Toucanfan
Member
Registered: 2010-02-27
Posts: 7

Re: How to enable source routing on outgoing packets?

Okay, thankyou!
I'll have a look into that.

Offline

Board footer

Powered by FluxBB