LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-26-2014, 07:48 PM   #1
k0ral78
LQ Newbie
 
Registered: Oct 2014
Posts: 1

Rep: Reputation: Disabled
Is it possible to modify a field of a packet which arrives in (INPUT) eth0?


Hi all,
this is my problem:

I use a Raspberry linux box with a service which does something magic.. This service bridges a Wireless Sensor Network (WSN) with a LAN (ethernet). To do this trick it bridges eth0....

After i start this service (6LBR for the most inquiring ones of you) i can also see br0 and tap0.

Now, correct me if i am wrong, it is br0 which bridges eth0 with tap0, isn't it?

tap0 is connected to the service.

This service doesn't work if some particular packets comes from my campus (ethernet) LAN. For the most inquiring ones of you these packets are from VRRP protocol.

In order to make 6LBR service work i know how to modify a field of a packet (the source link-layer option of IPv6 packet), BUT...i don't know if there is a way to modify a single field of a packet in INPUT in eth0.
I thought about iptables and i'm trying to learn to use it...or..any other suggestion?

Thanks in advance!
Carlo
 
Old 10-30-2014, 03:54 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,892

Rep: Reputation: 163Reputation: 163
It is easy if you can program code in netfilter.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modify ip option field by netfilter loadable kernel module kikilinux Programming 0 05-15-2014 11:44 PM
modify field tostay2003 Programming 10 08-01-2008 11:26 AM
dmesg Invalid packet / INPUT packet died flood H_TeXMeX_H Slackware 5 11-12-2007 03:52 PM
A packet filter using libipq which uses ether type field to capture the packet can26_manish Programming 2 10-16-2007 06:35 AM
perl input field separator Tinkster Programming 5 10-18-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration