libmnl 1.0.3 release
Subsystems (3)
Pablo Neira Ayuso
maintainerHi!
The Netfilter project proudly presents:
libmnl 1.0.3
libmnl is a minimalistic (really!) library that provides simple abstractions to communicate using Netlink sockets.
If you're looking for a way to communicate some kernel subsystem and user-space, Netlink provides a nice method to do so. For those not yet familiar with Netlink, I suggest you to read:
http://1984.lsi.us.es/~pablo/docs/spae.pdf
This release include one fix and one new interface to allow to parse messages from some payload offset, skipping the Netlink header. See ChangeLog that comes attached to this email for more details.
You can download it from:
http://www.netfilter.org/projects/libmnl/downloads.html
ftp://ftp.netfilter.org/pub/libmnl/
Have fun!
Pablo Neira Ayuso
maintainerQuoted 13 lines · Pablo Neira Ayuso
Hi!
The Netfilter project proudly presents:
libmnl 1.0.3libmnl is a minimalistic (really!) library that provides simple abstractions to communicate using Netlink sockets.
If you're looking for a way to communicate some kernel subsystem and user-space, Netlink provides a nice method to do so. For those not yet familiar with Netlink, I suggest you to read:
Quoted 5 lines
http://1984.lsi.us.es/~pablo/docs/spae.pdf
This release include one fix and one new interface to allow to parse messages from some payload offset, skipping the Netlink header. See ChangeLog that comes attached to this email for more details.
Forgot to attach changelog, sorry.
Quoted 6 lines
You can download it from:
http://www.netfilter.org/projects/libmnl/downloads.html
ftp://ftp.netfilter.org/pub/libmnl/Have fun!
Pablo Neira Ayuso (1):
parse: add mnl_attr_for_each_payload
Stephen Hemminger (1):
nlmsg: fix valgrind warnings about padding
dun using l3tp
In reply to Pablo Neira AyusoHi,
I am having difficulty in PPP connection between 2 machines and not able to figure out how to solve it. I have a windows machine connected to my phone running 3.0 kernel though dial-up connection. The PPP connection terminates on Phone.
When I run below commands on phone, it shows below output.
-----------
#ip rule show
0: from all lookup local 32764: from all iif rmnet0 lookup PS_DUN 32765: from all iif ppp0 lookup PS_DUN 32766: from all lookup main 32767: from all lookup default # # ip route show # ip route show table PS_DUN default dev rmnet0 scope link 27.57.179.150 dev ppp0 scope link # # iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
all -- anywhere anywhere owner socket existsChain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
all -- anywhere anywhere owner socket existsChain costly_shared (0 references)
target prot opt source destination
all -- anywhere anywhere owner socket exists
ACCEPT all -- anywhere anywhere#ip route show table PS_DUN
Default dev rmnet0 scope link 223.228.243.29 de ppp0 scope link #ip rule show
--------------
On a setup (running 2.6.35 kernel) I have same output for above commands. But here the packets are forwarded out of phone correctly.
Is there any kernel configuration I am missing in 3.0?
Can anyone help in this?
Thanks,
Hemant