[P4-dev] Parsing Variable-Length Fields in HTTP Followup

Jeff Van jeff.van at netsia.com
Mon Jan 29 17:30:19 EST 2018


I wanted to follow up with this particular email thread <
that talks about using P4 to parse HTTP requests, and how it is challenging
because P4 currently does not allow for an easy way to process HTTP
headers. Since that inquiry was made in July of 2017, I wanted to know if a
way of easily processing HTTP headers had been implemented by P4, or if
anybody had been able to find a way of getting around this challenge?

I am currently trying to find a way to manipulate HTTP packets based on
their Host DNS name (eg. to create a firewall by dropping packets with that
host name, etc.)

Thank you!

*Jeff Van*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20180129/fb5c6ecb/attachment-0002.html>

More information about the P4-dev mailing list