Ticket #660 (new Bug report)

Opened 8 years ago

Last modified 6 years ago

wifidog uses obsolete (PF_INET,SOCK_PACKET)

Reported by: gbastien Owned by: gbastien
Priority: normal Milestone: Not yet assigned to a Milestone
Component: Gateway Version: Gateway SVN
Keywords: Cc:

Description (last modified by gbastien) (diff)

This message appears in the kernel logs:

wifidog uses obsolete (PF_INET,SOCK_PACKET)

Change History

Changed 8 years ago by gbastien

  • description modified (diff)

"man packet" has more information about this. It appears that it should rater be (PF_PACKET, ...) and the PF_INET version is only used for compatibility with Linux 2.0

Can we safely assume no one who will use the future versions of wifidog is still with Linux 2.0 and update this? Or we keep it this way for backward-compatibility?

Changed 8 years ago by benoitg

Presumably this was inherited from libhttpd, we definitely don't target kernels < 2.4

Changed 6 years ago by dany

AF_INET is also obsolete and used in util.c and firewall.c wifidog

Changed 6 years ago by dany

So much modify to use pf_packet and create a patch for the rétrocompatibilité in a directory linux2.0

Who still uses linux2.0? That represents a minority which can use the patch if necessaire.

dany

Note: See TracTickets for help on using tickets.