Jump to content

How do I edit http headers en-route?


kcorey
 Share

Recommended Posts

Hi All,

Pineapple mark IV, (login says MK4 Ver. 3.0) uname -a says:

Linux Pineapple 3.3.8 #31 Tue Jul 04:26:43 BST 2013 mips GNU/Linux

I'm accessing the pineapple via a Windows 7 machine.

I'm using it to track the DLNA messages that are going back and forth for a work project.

I need to be able to modify the HTTP headers as they're going by. Is there a plugin for that?

I've updated opkg so that the Pineapplebar has hundreds of plugins. It's a little overwhelming.

If not, could someone tell me where to RTFM about how to do it?

Thanks,

-Ken

Link to comment
Share on other sites

I'll take a look into that. Thanks for writing back.

In my investigations, I found the ruby source for codeinject. It's a proxy and already handles some munging of the headers. If I were to add a couple lines by hand, I could modify the header on the fly without munging the content, I think.

Obviously, I wouldn't want to leave that in there, but it might be the quick and dirty method I'm looking for.

-Ken

Link to comment
Share on other sites

I managed to modify content passing by a router using squid + dansguardian

squid does the transparent proxying so client dont need to setup their browser for the proxy. it then pass the traffic to dansguardian

Dansguardian have several regular expression handler you can use to modify, content, get, post, header... everything...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...